` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `
` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: _propTypes.default.any,\n\n /**\n * A set of `` components, that are toggled `in` and out as they\n * leave. the `` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `` as\n * with our `` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: _propTypes.default.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: _propTypes.default.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: _propTypes.default.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: _propTypes.default.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: _propTypes.default.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\n\nvar _default = (0, _reactLifecyclesCompat.polyfill)(TransitionGroup);\n\nexports.default = _default;\nmodule.exports = exports[\"default\"];","var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n\n\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n\n return result;\n}\n\nmodule.exports = baseFlatten;","var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n\n\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n baseEach(collection, function (value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;","/**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\nfunction baseGt(value, other) {\n return value > other;\n}\n\nmodule.exports = baseGt;","/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nmodule.exports = baseLt;","/*! decimal.js-light v2.5.0 https://github.com/MikeMcl/decimal.js-light/LICENCE */\n;\n\n(function (globalScope) {\n 'use strict';\n /*\r\n * decimal.js-light v2.5.0\r\n * An arbitrary-precision Decimal type for JavaScript.\r\n * https://github.com/MikeMcl/decimal.js-light\r\n * Copyright (c) 2018 Michael Mclaughlin \r\n * MIT Expat Licence\r\n */\n // ----------------------------------- EDITABLE DEFAULTS ------------------------------------ //\n // The limit on the value of `precision`, and on the value of the first argument to\n // `toDecimalPlaces`, `toExponential`, `toFixed`, `toPrecision` and `toSignificantDigits`.\n\n var MAX_DIGITS = 1e9,\n // 0 to 1e9\n // The initial configuration properties of the Decimal constructor.\n Decimal = {\n // These values must be integers within the stated ranges (inclusive).\n // Most of these values can be changed during run-time using `Decimal.config`.\n // The maximum number of significant digits of the result of a calculation or base conversion.\n // E.g. `Decimal.config({ precision: 20 });`\n precision: 20,\n // 1 to MAX_DIGITS\n // The rounding mode used by default by `toInteger`, `toDecimalPlaces`, `toExponential`,\n // `toFixed`, `toPrecision` and `toSignificantDigits`.\n //\n // ROUND_UP 0 Away from zero.\n // ROUND_DOWN 1 Towards zero.\n // ROUND_CEIL 2 Towards +Infinity.\n // ROUND_FLOOR 3 Towards -Infinity.\n // ROUND_HALF_UP 4 Towards nearest neighbour. If equidistant, up.\n // ROUND_HALF_DOWN 5 Towards nearest neighbour. If equidistant, down.\n // ROUND_HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour.\n // ROUND_HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity.\n // ROUND_HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity.\n //\n // E.g.\n // `Decimal.rounding = 4;`\n // `Decimal.rounding = Decimal.ROUND_HALF_UP;`\n rounding: 4,\n // 0 to 8\n // The exponent value at and beneath which `toString` returns exponential notation.\n // JavaScript numbers: -7\n toExpNeg: -7,\n // 0 to -MAX_E\n // The exponent value at and above which `toString` returns exponential notation.\n // JavaScript numbers: 21\n toExpPos: 21,\n // 0 to MAX_E\n // The natural logarithm of 10.\n // 115 digits\n LN10: '2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286'\n },\n // ----------------------------------- END OF EDITABLE DEFAULTS ------------------------------- //\n external = true,\n decimalError = '[DecimalError] ',\n invalidArgument = decimalError + 'Invalid argument: ',\n exponentOutOfRange = decimalError + 'Exponent out of range: ',\n mathfloor = Math.floor,\n mathpow = Math.pow,\n isDecimal = /^(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$/i,\n ONE,\n BASE = 1e7,\n LOG_BASE = 7,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_E = mathfloor(MAX_SAFE_INTEGER / LOG_BASE),\n // 1286742750677284\n // Decimal.prototype object\n P = {}; // Decimal prototype methods\n\n /*\r\n * absoluteValue abs\r\n * comparedTo cmp\r\n * decimalPlaces dp\r\n * dividedBy div\r\n * dividedToIntegerBy idiv\r\n * equals eq\r\n * exponent\r\n * greaterThan gt\r\n * greaterThanOrEqualTo gte\r\n * isInteger isint\r\n * isNegative isneg\r\n * isPositive ispos\r\n * isZero\r\n * lessThan lt\r\n * lessThanOrEqualTo lte\r\n * logarithm log\r\n * minus sub\r\n * modulo mod\r\n * naturalExponential exp\r\n * naturalLogarithm ln\r\n * negated neg\r\n * plus add\r\n * precision sd\r\n * squareRoot sqrt\r\n * times mul\r\n * toDecimalPlaces todp\r\n * toExponential\r\n * toFixed\r\n * toInteger toint\r\n * toNumber\r\n * toPower pow\r\n * toPrecision\r\n * toSignificantDigits tosd\r\n * toString\r\n * valueOf val\r\n */\n\n /*\r\n * Return a new Decimal whose value is the absolute value of this Decimal.\r\n *\r\n */\n\n P.absoluteValue = P.abs = function () {\n var x = new this.constructor(this);\n if (x.s) x.s = 1;\n return x;\n };\n /*\r\n * Return\r\n * 1 if the value of this Decimal is greater than the value of `y`,\r\n * -1 if the value of this Decimal is less than the value of `y`,\r\n * 0 if they have the same value\r\n *\r\n */\n\n\n P.comparedTo = P.cmp = function (y) {\n var i,\n j,\n xdL,\n ydL,\n x = this;\n y = new x.constructor(y); // Signs differ?\n\n if (x.s !== y.s) return x.s || -y.s; // Compare exponents.\n\n if (x.e !== y.e) return x.e > y.e ^ x.s < 0 ? 1 : -1;\n xdL = x.d.length;\n ydL = y.d.length; // Compare digit by digit.\n\n for (i = 0, j = xdL < ydL ? xdL : ydL; i < j; ++i) {\n if (x.d[i] !== y.d[i]) return x.d[i] > y.d[i] ^ x.s < 0 ? 1 : -1;\n } // Compare lengths.\n\n\n return xdL === ydL ? 0 : xdL > ydL ^ x.s < 0 ? 1 : -1;\n };\n /*\r\n * Return the number of decimal places of the value of this Decimal.\r\n *\r\n */\n\n\n P.decimalPlaces = P.dp = function () {\n var x = this,\n w = x.d.length - 1,\n dp = (w - x.e) * LOG_BASE; // Subtract the number of trailing zeros of the last word.\n\n w = x.d[w];\n if (w) for (; w % 10 == 0; w /= 10) {\n dp--;\n }\n return dp < 0 ? 0 : dp;\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal divided by `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\n\n\n P.dividedBy = P.div = function (y) {\n return divide(this, new this.constructor(y));\n };\n /*\r\n * Return a new Decimal whose value is the integer part of dividing the value of this Decimal\r\n * by the value of `y`, truncated to `precision` significant digits.\r\n *\r\n */\n\n\n P.dividedToIntegerBy = P.idiv = function (y) {\n var x = this,\n Ctor = x.constructor;\n return round(divide(x, new Ctor(y), 0, 1), Ctor.precision);\n };\n /*\r\n * Return true if the value of this Decimal is equal to the value of `y`, otherwise return false.\r\n *\r\n */\n\n\n P.equals = P.eq = function (y) {\n return !this.cmp(y);\n };\n /*\r\n * Return the (base 10) exponent value of this Decimal (this.e is the base 10000000 exponent).\r\n *\r\n */\n\n\n P.exponent = function () {\n return getBase10Exponent(this);\n };\n /*\r\n * Return true if the value of this Decimal is greater than the value of `y`, otherwise return\r\n * false.\r\n *\r\n */\n\n\n P.greaterThan = P.gt = function (y) {\n return this.cmp(y) > 0;\n };\n /*\r\n * Return true if the value of this Decimal is greater than or equal to the value of `y`,\r\n * otherwise return false.\r\n *\r\n */\n\n\n P.greaterThanOrEqualTo = P.gte = function (y) {\n return this.cmp(y) >= 0;\n };\n /*\r\n * Return true if the value of this Decimal is an integer, otherwise return false.\r\n *\r\n */\n\n\n P.isInteger = P.isint = function () {\n return this.e > this.d.length - 2;\n };\n /*\r\n * Return true if the value of this Decimal is negative, otherwise return false.\r\n *\r\n */\n\n\n P.isNegative = P.isneg = function () {\n return this.s < 0;\n };\n /*\r\n * Return true if the value of this Decimal is positive, otherwise return false.\r\n *\r\n */\n\n\n P.isPositive = P.ispos = function () {\n return this.s > 0;\n };\n /*\r\n * Return true if the value of this Decimal is 0, otherwise return false.\r\n *\r\n */\n\n\n P.isZero = function () {\n return this.s === 0;\n };\n /*\r\n * Return true if the value of this Decimal is less than `y`, otherwise return false.\r\n *\r\n */\n\n\n P.lessThan = P.lt = function (y) {\n return this.cmp(y) < 0;\n };\n /*\r\n * Return true if the value of this Decimal is less than or equal to `y`, otherwise return false.\r\n *\r\n */\n\n\n P.lessThanOrEqualTo = P.lte = function (y) {\n return this.cmp(y) < 1;\n };\n /*\r\n * Return the logarithm of the value of this Decimal to the specified base, truncated to\r\n * `precision` significant digits.\r\n *\r\n * If no base is specified, return log[10](x).\r\n *\r\n * log[base](x) = ln(x) / ln(base)\r\n *\r\n * The maximum error of the result is 1 ulp (unit in the last place).\r\n *\r\n * [base] {number|string|Decimal} The base of the logarithm.\r\n *\r\n */\n\n\n P.logarithm = P.log = function (base) {\n var r,\n x = this,\n Ctor = x.constructor,\n pr = Ctor.precision,\n wpr = pr + 5; // Default base is 10.\n\n if (base === void 0) {\n base = new Ctor(10);\n } else {\n base = new Ctor(base); // log[-b](x) = NaN\n // log[0](x) = NaN\n // log[1](x) = NaN\n\n if (base.s < 1 || base.eq(ONE)) throw Error(decimalError + 'NaN');\n } // log[b](-x) = NaN\n // log[b](0) = -Infinity\n\n\n if (x.s < 1) throw Error(decimalError + (x.s ? 'NaN' : '-Infinity')); // log[b](1) = 0\n\n if (x.eq(ONE)) return new Ctor(0);\n external = false;\n r = divide(ln(x, wpr), ln(base, wpr), wpr);\n external = true;\n return round(r, pr);\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal minus `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\n\n\n P.minus = P.sub = function (y) {\n var x = this;\n y = new x.constructor(y);\n return x.s == y.s ? subtract(x, y) : add(x, (y.s = -y.s, y));\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal modulo `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\n\n\n P.modulo = P.mod = function (y) {\n var q,\n x = this,\n Ctor = x.constructor,\n pr = Ctor.precision;\n y = new Ctor(y); // x % 0 = NaN\n\n if (!y.s) throw Error(decimalError + 'NaN'); // Return x if x is 0.\n\n if (!x.s) return round(new Ctor(x), pr); // Prevent rounding of intermediate calculations.\n\n external = false;\n q = divide(x, y, 0, 1).times(y);\n external = true;\n return x.minus(q);\n };\n /*\r\n * Return a new Decimal whose value is the natural exponential of the value of this Decimal,\r\n * i.e. the base e raised to the power the value of this Decimal, truncated to `precision`\r\n * significant digits.\r\n *\r\n */\n\n\n P.naturalExponential = P.exp = function () {\n return exp(this);\n };\n /*\r\n * Return a new Decimal whose value is the natural logarithm of the value of this Decimal,\r\n * truncated to `precision` significant digits.\r\n *\r\n */\n\n\n P.naturalLogarithm = P.ln = function () {\n return ln(this);\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal negated, i.e. as if multiplied by\r\n * -1.\r\n *\r\n */\n\n\n P.negated = P.neg = function () {\n var x = new this.constructor(this);\n x.s = -x.s || 0;\n return x;\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal plus `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\n\n\n P.plus = P.add = function (y) {\n var x = this;\n y = new x.constructor(y);\n return x.s == y.s ? add(x, y) : subtract(x, (y.s = -y.s, y));\n };\n /*\r\n * Return the number of significant digits of the value of this Decimal.\r\n *\r\n * [z] {boolean|number} Whether to count integer-part trailing zeros: true, false, 1 or 0.\r\n *\r\n */\n\n\n P.precision = P.sd = function (z) {\n var e,\n sd,\n w,\n x = this;\n if (z !== void 0 && z !== !!z && z !== 1 && z !== 0) throw Error(invalidArgument + z);\n e = getBase10Exponent(x) + 1;\n w = x.d.length - 1;\n sd = w * LOG_BASE + 1;\n w = x.d[w]; // If non-zero...\n\n if (w) {\n // Subtract the number of trailing zeros of the last word.\n for (; w % 10 == 0; w /= 10) {\n sd--;\n } // Add the number of digits of the first word.\n\n\n for (w = x.d[0]; w >= 10; w /= 10) {\n sd++;\n }\n }\n\n return z && e > sd ? e : sd;\n };\n /*\r\n * Return a new Decimal whose value is the square root of this Decimal, truncated to `precision`\r\n * significant digits.\r\n *\r\n */\n\n\n P.squareRoot = P.sqrt = function () {\n var e,\n n,\n pr,\n r,\n s,\n t,\n wpr,\n x = this,\n Ctor = x.constructor; // Negative or zero?\n\n if (x.s < 1) {\n if (!x.s) return new Ctor(0); // sqrt(-x) = NaN\n\n throw Error(decimalError + 'NaN');\n }\n\n e = getBase10Exponent(x);\n external = false; // Initial estimate.\n\n s = Math.sqrt(+x); // Math.sqrt underflow/overflow?\n // Pass x to Math.sqrt as integer, then adjust the exponent of the result.\n\n if (s == 0 || s == 1 / 0) {\n n = digitsToString(x.d);\n if ((n.length + e) % 2 == 0) n += '0';\n s = Math.sqrt(n);\n e = mathfloor((e + 1) / 2) - (e < 0 || e % 2);\n\n if (s == 1 / 0) {\n n = '1e' + e;\n } else {\n n = s.toExponential();\n n = n.slice(0, n.indexOf('e') + 1) + e;\n }\n\n r = new Ctor(n);\n } else {\n r = new Ctor(s.toString());\n }\n\n pr = Ctor.precision;\n s = wpr = pr + 3; // Newton-Raphson iteration.\n\n for (;;) {\n t = r;\n r = t.plus(divide(x, t, wpr + 2)).times(0.5);\n\n if (digitsToString(t.d).slice(0, wpr) === (n = digitsToString(r.d)).slice(0, wpr)) {\n n = n.slice(wpr - 3, wpr + 1); // The 4th rounding digit may be in error by -1 so if the 4 rounding digits are 9999 or\n // 4999, i.e. approaching a rounding boundary, continue the iteration.\n\n if (s == wpr && n == '4999') {\n // On the first iteration only, check to see if rounding up gives the exact result as the\n // nines may infinitely repeat.\n round(t, pr + 1, 0);\n\n if (t.times(t).eq(x)) {\n r = t;\n break;\n }\n } else if (n != '9999') {\n break;\n }\n\n wpr += 4;\n }\n }\n\n external = true;\n return round(r, pr);\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal times `y`, truncated to\r\n * `precision` significant digits.\r\n *\r\n */\n\n\n P.times = P.mul = function (y) {\n var carry,\n e,\n i,\n k,\n r,\n rL,\n t,\n xdL,\n ydL,\n x = this,\n Ctor = x.constructor,\n xd = x.d,\n yd = (y = new Ctor(y)).d; // Return 0 if either is 0.\n\n if (!x.s || !y.s) return new Ctor(0);\n y.s *= x.s;\n e = x.e + y.e;\n xdL = xd.length;\n ydL = yd.length; // Ensure xd points to the longer array.\n\n if (xdL < ydL) {\n r = xd;\n xd = yd;\n yd = r;\n rL = xdL;\n xdL = ydL;\n ydL = rL;\n } // Initialise the result array with zeros.\n\n\n r = [];\n rL = xdL + ydL;\n\n for (i = rL; i--;) {\n r.push(0);\n } // Multiply!\n\n\n for (i = ydL; --i >= 0;) {\n carry = 0;\n\n for (k = xdL + i; k > i;) {\n t = r[k] + yd[i] * xd[k - i - 1] + carry;\n r[k--] = t % BASE | 0;\n carry = t / BASE | 0;\n }\n\n r[k] = (r[k] + carry) % BASE | 0;\n } // Remove trailing zeros.\n\n\n for (; !r[--rL];) {\n r.pop();\n }\n\n if (carry) ++e;else r.shift();\n y.d = r;\n y.e = e;\n return external ? round(y, Ctor.precision) : y;\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `dp`\r\n * decimal places using rounding mode `rm` or `rounding` if `rm` is omitted.\r\n *\r\n * If `dp` is omitted, return a new Decimal whose value is the value of this Decimal.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\n\n\n P.toDecimalPlaces = P.todp = function (dp, rm) {\n var x = this,\n Ctor = x.constructor;\n x = new Ctor(x);\n if (dp === void 0) return x;\n checkInt32(dp, 0, MAX_DIGITS);\n if (rm === void 0) rm = Ctor.rounding;else checkInt32(rm, 0, 8);\n return round(x, dp + getBase10Exponent(x) + 1, rm);\n };\n /*\r\n * Return a string representing the value of this Decimal in exponential notation rounded to\r\n * `dp` fixed decimal places using rounding mode `rounding`.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\n\n\n P.toExponential = function (dp, rm) {\n var str,\n x = this,\n Ctor = x.constructor;\n\n if (dp === void 0) {\n str = toString(x, true);\n } else {\n checkInt32(dp, 0, MAX_DIGITS);\n if (rm === void 0) rm = Ctor.rounding;else checkInt32(rm, 0, 8);\n x = round(new Ctor(x), dp + 1, rm);\n str = toString(x, true, dp + 1);\n }\n\n return str;\n };\n /*\r\n * Return a string representing the value of this Decimal in normal (fixed-point) notation to\r\n * `dp` fixed decimal places and rounded using rounding mode `rm` or `rounding` if `rm` is\r\n * omitted.\r\n *\r\n * As with JavaScript numbers, (-0).toFixed(0) is '0', but e.g. (-0.00001).toFixed(0) is '-0'.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.\r\n * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.\r\n * (-0).toFixed(3) is '0.000'.\r\n * (-0.5).toFixed(0) is '-0'.\r\n *\r\n */\n\n\n P.toFixed = function (dp, rm) {\n var str,\n y,\n x = this,\n Ctor = x.constructor;\n if (dp === void 0) return toString(x);\n checkInt32(dp, 0, MAX_DIGITS);\n if (rm === void 0) rm = Ctor.rounding;else checkInt32(rm, 0, 8);\n y = round(new Ctor(x), dp + getBase10Exponent(x) + 1, rm);\n str = toString(y.abs(), false, dp + getBase10Exponent(y) + 1); // To determine whether to add the minus sign look at the value before it was rounded,\n // i.e. look at `x` rather than `y`.\n\n return x.isneg() && !x.isZero() ? '-' + str : str;\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal rounded to a whole number using\r\n * rounding mode `rounding`.\r\n *\r\n */\n\n\n P.toInteger = P.toint = function () {\n var x = this,\n Ctor = x.constructor;\n return round(new Ctor(x), getBase10Exponent(x) + 1, Ctor.rounding);\n };\n /*\r\n * Return the value of this Decimal converted to a number primitive.\r\n *\r\n */\n\n\n P.toNumber = function () {\n return +this;\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal raised to the power `y`,\r\n * truncated to `precision` significant digits.\r\n *\r\n * For non-integer or very large exponents pow(x, y) is calculated using\r\n *\r\n * x^y = exp(y*ln(x))\r\n *\r\n * The maximum error is 1 ulp (unit in last place).\r\n *\r\n * y {number|string|Decimal} The power to which to raise this Decimal.\r\n *\r\n */\n\n\n P.toPower = P.pow = function (y) {\n var e,\n k,\n pr,\n r,\n sign,\n yIsInt,\n x = this,\n Ctor = x.constructor,\n guard = 12,\n yn = +(y = new Ctor(y)); // pow(x, 0) = 1\n\n if (!y.s) return new Ctor(ONE);\n x = new Ctor(x); // pow(0, y > 0) = 0\n // pow(0, y < 0) = Infinity\n\n if (!x.s) {\n if (y.s < 1) throw Error(decimalError + 'Infinity');\n return x;\n } // pow(1, y) = 1\n\n\n if (x.eq(ONE)) return x;\n pr = Ctor.precision; // pow(x, 1) = x\n\n if (y.eq(ONE)) return round(x, pr);\n e = y.e;\n k = y.d.length - 1;\n yIsInt = e >= k;\n sign = x.s;\n\n if (!yIsInt) {\n // pow(x < 0, y non-integer) = NaN\n if (sign < 0) throw Error(decimalError + 'NaN'); // If y is a small integer use the 'exponentiation by squaring' algorithm.\n } else if ((k = yn < 0 ? -yn : yn) <= MAX_SAFE_INTEGER) {\n r = new Ctor(ONE); // Max k of 9007199254740991 takes 53 loop iterations.\n // Maximum digits array length; leaves [28, 34] guard digits.\n\n e = Math.ceil(pr / LOG_BASE + 4);\n external = false;\n\n for (;;) {\n if (k % 2) {\n r = r.times(x);\n truncate(r.d, e);\n }\n\n k = mathfloor(k / 2);\n if (k === 0) break;\n x = x.times(x);\n truncate(x.d, e);\n }\n\n external = true;\n return y.s < 0 ? new Ctor(ONE).div(r) : round(r, pr);\n } // Result is negative if x is negative and the last digit of integer y is odd.\n\n\n sign = sign < 0 && y.d[Math.max(e, k)] & 1 ? -1 : 1;\n x.s = 1;\n external = false;\n r = y.times(ln(x, pr + guard));\n external = true;\n r = exp(r);\n r.s = sign;\n return r;\n };\n /*\r\n * Return a string representing the value of this Decimal rounded to `sd` significant digits\r\n * using rounding mode `rounding`.\r\n *\r\n * Return exponential notation if `sd` is less than the number of digits necessary to represent\r\n * the integer part of the value in normal notation.\r\n *\r\n * [sd] {number} Significant digits. Integer, 1 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\n\n\n P.toPrecision = function (sd, rm) {\n var e,\n str,\n x = this,\n Ctor = x.constructor;\n\n if (sd === void 0) {\n e = getBase10Exponent(x);\n str = toString(x, e <= Ctor.toExpNeg || e >= Ctor.toExpPos);\n } else {\n checkInt32(sd, 1, MAX_DIGITS);\n if (rm === void 0) rm = Ctor.rounding;else checkInt32(rm, 0, 8);\n x = round(new Ctor(x), sd, rm);\n e = getBase10Exponent(x);\n str = toString(x, sd <= e || e <= Ctor.toExpNeg, sd);\n }\n\n return str;\n };\n /*\r\n * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `sd`\r\n * significant digits using rounding mode `rm`, or to `precision` and `rounding` respectively if\r\n * omitted.\r\n *\r\n * [sd] {number} Significant digits. Integer, 1 to MAX_DIGITS inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n */\n\n\n P.toSignificantDigits = P.tosd = function (sd, rm) {\n var x = this,\n Ctor = x.constructor;\n\n if (sd === void 0) {\n sd = Ctor.precision;\n rm = Ctor.rounding;\n } else {\n checkInt32(sd, 1, MAX_DIGITS);\n if (rm === void 0) rm = Ctor.rounding;else checkInt32(rm, 0, 8);\n }\n\n return round(new Ctor(x), sd, rm);\n };\n /*\r\n * Return a string representing the value of this Decimal.\r\n *\r\n * Return exponential notation if this Decimal has a positive exponent equal to or greater than\r\n * `toExpPos`, or a negative exponent equal to or less than `toExpNeg`.\r\n *\r\n */\n\n\n P.toString = P.valueOf = P.val = P.toJSON = function () {\n var x = this,\n e = getBase10Exponent(x),\n Ctor = x.constructor;\n return toString(x, e <= Ctor.toExpNeg || e >= Ctor.toExpPos);\n }; // Helper functions for Decimal.prototype (P) and/or Decimal methods, and their callers.\n\n /*\r\n * add P.minus, P.plus\r\n * checkInt32 P.todp, P.toExponential, P.toFixed, P.toPrecision, P.tosd\r\n * digitsToString P.log, P.sqrt, P.pow, toString, exp, ln\r\n * divide P.div, P.idiv, P.log, P.mod, P.sqrt, exp, ln\r\n * exp P.exp, P.pow\r\n * getBase10Exponent P.exponent, P.sd, P.toint, P.sqrt, P.todp, P.toFixed, P.toPrecision,\r\n * P.toString, divide, round, toString, exp, ln\r\n * getLn10 P.log, ln\r\n * getZeroString digitsToString, toString\r\n * ln P.log, P.ln, P.pow, exp\r\n * parseDecimal Decimal\r\n * round P.abs, P.idiv, P.log, P.minus, P.mod, P.neg, P.plus, P.toint, P.sqrt,\r\n * P.times, P.todp, P.toExponential, P.toFixed, P.pow, P.toPrecision, P.tosd,\r\n * divide, getLn10, exp, ln\r\n * subtract P.minus, P.plus\r\n * toString P.toExponential, P.toFixed, P.toPrecision, P.toString, P.valueOf\r\n * truncate P.pow\r\n *\r\n * Throws: P.log, P.mod, P.sd, P.sqrt, P.pow, checkInt32, divide, round,\r\n * getLn10, exp, ln, parseDecimal, Decimal, config\r\n */\n\n\n function add(x, y) {\n var carry,\n d,\n e,\n i,\n k,\n len,\n xd,\n yd,\n Ctor = x.constructor,\n pr = Ctor.precision; // If either is zero...\n\n if (!x.s || !y.s) {\n // Return x if y is zero.\n // Return y if y is non-zero.\n if (!y.s) y = new Ctor(x);\n return external ? round(y, pr) : y;\n }\n\n xd = x.d;\n yd = y.d; // x and y are finite, non-zero numbers with the same sign.\n\n k = x.e;\n e = y.e;\n xd = xd.slice();\n i = k - e; // If base 1e7 exponents differ...\n\n if (i) {\n if (i < 0) {\n d = xd;\n i = -i;\n len = yd.length;\n } else {\n d = yd;\n e = k;\n len = xd.length;\n } // Limit number of zeros prepended to max(ceil(pr / LOG_BASE), len) + 1.\n\n\n k = Math.ceil(pr / LOG_BASE);\n len = k > len ? k + 1 : len + 1;\n\n if (i > len) {\n i = len;\n d.length = 1;\n } // Prepend zeros to equalise exponents. Note: Faster to use reverse then do unshifts.\n\n\n d.reverse();\n\n for (; i--;) {\n d.push(0);\n }\n\n d.reverse();\n }\n\n len = xd.length;\n i = yd.length; // If yd is longer than xd, swap xd and yd so xd points to the longer array.\n\n if (len - i < 0) {\n i = len;\n d = yd;\n yd = xd;\n xd = d;\n } // Only start adding at yd.length - 1 as the further digits of xd can be left as they are.\n\n\n for (carry = 0; i;) {\n carry = (xd[--i] = xd[i] + yd[i] + carry) / BASE | 0;\n xd[i] %= BASE;\n }\n\n if (carry) {\n xd.unshift(carry);\n ++e;\n } // Remove trailing zeros.\n // No need to check for zero, as +x + +y != 0 && -x + -y != 0\n\n\n for (len = xd.length; xd[--len] == 0;) {\n xd.pop();\n }\n\n y.d = xd;\n y.e = e;\n return external ? round(y, pr) : y;\n }\n\n function checkInt32(i, min, max) {\n if (i !== ~~i || i < min || i > max) {\n throw Error(invalidArgument + i);\n }\n }\n\n function digitsToString(d) {\n var i,\n k,\n ws,\n indexOfLastWord = d.length - 1,\n str = '',\n w = d[0];\n\n if (indexOfLastWord > 0) {\n str += w;\n\n for (i = 1; i < indexOfLastWord; i++) {\n ws = d[i] + '';\n k = LOG_BASE - ws.length;\n if (k) str += getZeroString(k);\n str += ws;\n }\n\n w = d[i];\n ws = w + '';\n k = LOG_BASE - ws.length;\n if (k) str += getZeroString(k);\n } else if (w === 0) {\n return '0';\n } // Remove trailing zeros of last w.\n\n\n for (; w % 10 === 0;) {\n w /= 10;\n }\n\n return str + w;\n }\n\n var divide = function () {\n // Assumes non-zero x and k, and hence non-zero result.\n function multiplyInteger(x, k) {\n var temp,\n carry = 0,\n i = x.length;\n\n for (x = x.slice(); i--;) {\n temp = x[i] * k + carry;\n x[i] = temp % BASE | 0;\n carry = temp / BASE | 0;\n }\n\n if (carry) x.unshift(carry);\n return x;\n }\n\n function compare(a, b, aL, bL) {\n var i, r;\n\n if (aL != bL) {\n r = aL > bL ? 1 : -1;\n } else {\n for (i = r = 0; i < aL; i++) {\n if (a[i] != b[i]) {\n r = a[i] > b[i] ? 1 : -1;\n break;\n }\n }\n }\n\n return r;\n }\n\n function subtract(a, b, aL) {\n var i = 0; // Subtract b from a.\n\n for (; aL--;) {\n a[aL] -= i;\n i = a[aL] < b[aL] ? 1 : 0;\n a[aL] = i * BASE + a[aL] - b[aL];\n } // Remove leading zeros.\n\n\n for (; !a[0] && a.length > 1;) {\n a.shift();\n }\n }\n\n return function (x, y, pr, dp) {\n var cmp,\n e,\n i,\n k,\n prod,\n prodL,\n q,\n qd,\n rem,\n remL,\n rem0,\n sd,\n t,\n xi,\n xL,\n yd0,\n yL,\n yz,\n Ctor = x.constructor,\n sign = x.s == y.s ? 1 : -1,\n xd = x.d,\n yd = y.d; // Either 0?\n\n if (!x.s) return new Ctor(x);\n if (!y.s) throw Error(decimalError + 'Division by zero');\n e = x.e - y.e;\n yL = yd.length;\n xL = xd.length;\n q = new Ctor(sign);\n qd = q.d = []; // Result exponent may be one less than e.\n\n for (i = 0; yd[i] == (xd[i] || 0);) {\n ++i;\n }\n\n if (yd[i] > (xd[i] || 0)) --e;\n\n if (pr == null) {\n sd = pr = Ctor.precision;\n } else if (dp) {\n sd = pr + (getBase10Exponent(x) - getBase10Exponent(y)) + 1;\n } else {\n sd = pr;\n }\n\n if (sd < 0) return new Ctor(0); // Convert precision in number of base 10 digits to base 1e7 digits.\n\n sd = sd / LOG_BASE + 2 | 0;\n i = 0; // divisor < 1e7\n\n if (yL == 1) {\n k = 0;\n yd = yd[0];\n sd++; // k is the carry.\n\n for (; (i < xL || k) && sd--; i++) {\n t = k * BASE + (xd[i] || 0);\n qd[i] = t / yd | 0;\n k = t % yd | 0;\n } // divisor >= 1e7\n\n } else {\n // Normalise xd and yd so highest order digit of yd is >= BASE/2\n k = BASE / (yd[0] + 1) | 0;\n\n if (k > 1) {\n yd = multiplyInteger(yd, k);\n xd = multiplyInteger(xd, k);\n yL = yd.length;\n xL = xd.length;\n }\n\n xi = yL;\n rem = xd.slice(0, yL);\n remL = rem.length; // Add zeros to make remainder as long as divisor.\n\n for (; remL < yL;) {\n rem[remL++] = 0;\n }\n\n yz = yd.slice();\n yz.unshift(0);\n yd0 = yd[0];\n if (yd[1] >= BASE / 2) ++yd0;\n\n do {\n k = 0; // Compare divisor and remainder.\n\n cmp = compare(yd, rem, yL, remL); // If divisor < remainder.\n\n if (cmp < 0) {\n // Calculate trial digit, k.\n rem0 = rem[0];\n if (yL != remL) rem0 = rem0 * BASE + (rem[1] || 0); // k will be how many times the divisor goes into the current remainder.\n\n k = rem0 / yd0 | 0; // Algorithm:\n // 1. product = divisor * trial digit (k)\n // 2. if product > remainder: product -= divisor, k--\n // 3. remainder -= product\n // 4. if product was < remainder at 2:\n // 5. compare new remainder and divisor\n // 6. If remainder > divisor: remainder -= divisor, k++\n\n if (k > 1) {\n if (k >= BASE) k = BASE - 1; // product = divisor * trial digit.\n\n prod = multiplyInteger(yd, k);\n prodL = prod.length;\n remL = rem.length; // Compare product and remainder.\n\n cmp = compare(prod, rem, prodL, remL); // product > remainder.\n\n if (cmp == 1) {\n k--; // Subtract divisor from product.\n\n subtract(prod, yL < prodL ? yz : yd, prodL);\n }\n } else {\n // cmp is -1.\n // If k is 0, there is no need to compare yd and rem again below, so change cmp to 1\n // to avoid it. If k is 1 there is a need to compare yd and rem again below.\n if (k == 0) cmp = k = 1;\n prod = yd.slice();\n }\n\n prodL = prod.length;\n if (prodL < remL) prod.unshift(0); // Subtract product from remainder.\n\n subtract(rem, prod, remL); // If product was < previous remainder.\n\n if (cmp == -1) {\n remL = rem.length; // Compare divisor and new remainder.\n\n cmp = compare(yd, rem, yL, remL); // If divisor < new remainder, subtract divisor from remainder.\n\n if (cmp < 1) {\n k++; // Subtract divisor from remainder.\n\n subtract(rem, yL < remL ? yz : yd, remL);\n }\n }\n\n remL = rem.length;\n } else if (cmp === 0) {\n k++;\n rem = [0];\n } // if cmp === 1, k will be 0\n // Add the next digit, k, to the result array.\n\n\n qd[i++] = k; // Update the remainder.\n\n if (cmp && rem[0]) {\n rem[remL++] = xd[xi] || 0;\n } else {\n rem = [xd[xi]];\n remL = 1;\n }\n } while ((xi++ < xL || rem[0] !== void 0) && sd--);\n } // Leading zero?\n\n\n if (!qd[0]) qd.shift();\n q.e = e;\n return round(q, dp ? pr + getBase10Exponent(q) + 1 : pr);\n };\n }();\n /*\r\n * Return a new Decimal whose value is the natural exponential of `x` truncated to `sd`\r\n * significant digits.\r\n *\r\n * Taylor/Maclaurin series.\r\n *\r\n * exp(x) = x^0/0! + x^1/1! + x^2/2! + x^3/3! + ...\r\n *\r\n * Argument reduction:\r\n * Repeat x = x / 32, k += 5, until |x| < 0.1\r\n * exp(x) = exp(x / 2^k)^(2^k)\r\n *\r\n * Previously, the argument was initially reduced by\r\n * exp(x) = exp(r) * 10^k where r = x - k * ln10, k = floor(x / ln10)\r\n * to first put r in the range [0, ln10], before dividing by 32 until |x| < 0.1, but this was\r\n * found to be slower than just dividing repeatedly by 32 as above.\r\n *\r\n * (Math object integer min/max: Math.exp(709) = 8.2e+307, Math.exp(-745) = 5e-324)\r\n *\r\n * exp(x) is non-terminating for any finite, non-zero x.\r\n *\r\n */\n\n\n function exp(x, sd) {\n var denominator,\n guard,\n pow,\n sum,\n t,\n wpr,\n i = 0,\n k = 0,\n Ctor = x.constructor,\n pr = Ctor.precision;\n if (getBase10Exponent(x) > 16) throw Error(exponentOutOfRange + getBase10Exponent(x)); // exp(0) = 1\n\n if (!x.s) return new Ctor(ONE);\n\n if (sd == null) {\n external = false;\n wpr = pr;\n } else {\n wpr = sd;\n }\n\n t = new Ctor(0.03125);\n\n while (x.abs().gte(0.1)) {\n x = x.times(t); // x = x / 2^5\n\n k += 5;\n } // Estimate the precision increase necessary to ensure the first 4 rounding digits are correct.\n\n\n guard = Math.log(mathpow(2, k)) / Math.LN10 * 2 + 5 | 0;\n wpr += guard;\n denominator = pow = sum = new Ctor(ONE);\n Ctor.precision = wpr;\n\n for (;;) {\n pow = round(pow.times(x), wpr);\n denominator = denominator.times(++i);\n t = sum.plus(divide(pow, denominator, wpr));\n\n if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum.d).slice(0, wpr)) {\n while (k--) {\n sum = round(sum.times(sum), wpr);\n }\n\n Ctor.precision = pr;\n return sd == null ? (external = true, round(sum, pr)) : sum;\n }\n\n sum = t;\n }\n } // Calculate the base 10 exponent from the base 1e7 exponent.\n\n\n function getBase10Exponent(x) {\n var e = x.e * LOG_BASE,\n w = x.d[0]; // Add the number of digits of the first word of the digits array.\n\n for (; w >= 10; w /= 10) {\n e++;\n }\n\n return e;\n }\n\n function getLn10(Ctor, sd, pr) {\n if (sd > Ctor.LN10.sd()) {\n // Reset global state in case the exception is caught.\n external = true;\n if (pr) Ctor.precision = pr;\n throw Error(decimalError + 'LN10 precision limit exceeded');\n }\n\n return round(new Ctor(Ctor.LN10), sd);\n }\n\n function getZeroString(k) {\n var zs = '';\n\n for (; k--;) {\n zs += '0';\n }\n\n return zs;\n }\n /*\r\n * Return a new Decimal whose value is the natural logarithm of `x` truncated to `sd` significant\r\n * digits.\r\n *\r\n * ln(n) is non-terminating (n != 1)\r\n *\r\n */\n\n\n function ln(y, sd) {\n var c,\n c0,\n denominator,\n e,\n numerator,\n sum,\n t,\n wpr,\n x2,\n n = 1,\n guard = 10,\n x = y,\n xd = x.d,\n Ctor = x.constructor,\n pr = Ctor.precision; // ln(-x) = NaN\n // ln(0) = -Infinity\n\n if (x.s < 1) throw Error(decimalError + (x.s ? 'NaN' : '-Infinity')); // ln(1) = 0\n\n if (x.eq(ONE)) return new Ctor(0);\n\n if (sd == null) {\n external = false;\n wpr = pr;\n } else {\n wpr = sd;\n }\n\n if (x.eq(10)) {\n if (sd == null) external = true;\n return getLn10(Ctor, wpr);\n }\n\n wpr += guard;\n Ctor.precision = wpr;\n c = digitsToString(xd);\n c0 = c.charAt(0);\n e = getBase10Exponent(x);\n\n if (Math.abs(e) < 1.5e15) {\n // Argument reduction.\n // The series converges faster the closer the argument is to 1, so using\n // ln(a^b) = b * ln(a), ln(a) = ln(a^b) / b\n // multiply the argument by itself until the leading digits of the significand are 7, 8, 9,\n // 10, 11, 12 or 13, recording the number of multiplications so the sum of the series can\n // later be divided by this number, then separate out the power of 10 using\n // ln(a*10^b) = ln(a) + b*ln(10).\n // max n is 21 (gives 0.9, 1.0 or 1.1) (9e15 / 21 = 4.2e14).\n //while (c0 < 9 && c0 != 1 || c0 == 1 && c.charAt(1) > 1) {\n // max n is 6 (gives 0.7 - 1.3)\n while (c0 < 7 && c0 != 1 || c0 == 1 && c.charAt(1) > 3) {\n x = x.times(y);\n c = digitsToString(x.d);\n c0 = c.charAt(0);\n n++;\n }\n\n e = getBase10Exponent(x);\n\n if (c0 > 1) {\n x = new Ctor('0.' + c);\n e++;\n } else {\n x = new Ctor(c0 + '.' + c.slice(1));\n }\n } else {\n // The argument reduction method above may result in overflow if the argument y is a massive\n // number with exponent >= 1500000000000000 (9e15 / 6 = 1.5e15), so instead recall this\n // function using ln(x*10^e) = ln(x) + e*ln(10).\n t = getLn10(Ctor, wpr + 2, pr).times(e + '');\n x = ln(new Ctor(c0 + '.' + c.slice(1)), wpr - guard).plus(t);\n Ctor.precision = pr;\n return sd == null ? (external = true, round(x, pr)) : x;\n } // x is reduced to a value near 1.\n // Taylor series.\n // ln(y) = ln((1 + x)/(1 - x)) = 2(x + x^3/3 + x^5/5 + x^7/7 + ...)\n // where x = (y - 1)/(y + 1) (|x| < 1)\n\n\n sum = numerator = x = divide(x.minus(ONE), x.plus(ONE), wpr);\n x2 = round(x.times(x), wpr);\n denominator = 3;\n\n for (;;) {\n numerator = round(numerator.times(x2), wpr);\n t = sum.plus(divide(numerator, new Ctor(denominator), wpr));\n\n if (digitsToString(t.d).slice(0, wpr) === digitsToString(sum.d).slice(0, wpr)) {\n sum = sum.times(2); // Reverse the argument reduction.\n\n if (e !== 0) sum = sum.plus(getLn10(Ctor, wpr + 2, pr).times(e + ''));\n sum = divide(sum, new Ctor(n), wpr);\n Ctor.precision = pr;\n return sd == null ? (external = true, round(sum, pr)) : sum;\n }\n\n sum = t;\n denominator += 2;\n }\n }\n /*\r\n * Parse the value of a new Decimal `x` from string `str`.\r\n */\n\n\n function parseDecimal(x, str) {\n var e, i, len; // Decimal point?\n\n if ((e = str.indexOf('.')) > -1) str = str.replace('.', ''); // Exponential form?\n\n if ((i = str.search(/e/i)) > 0) {\n // Determine exponent.\n if (e < 0) e = i;\n e += +str.slice(i + 1);\n str = str.substring(0, i);\n } else if (e < 0) {\n // Integer.\n e = str.length;\n } // Determine leading zeros.\n\n\n for (i = 0; str.charCodeAt(i) === 48;) {\n ++i;\n } // Determine trailing zeros.\n\n\n for (len = str.length; str.charCodeAt(len - 1) === 48;) {\n --len;\n }\n\n str = str.slice(i, len);\n\n if (str) {\n len -= i;\n e = e - i - 1;\n x.e = mathfloor(e / LOG_BASE);\n x.d = []; // Transform base\n // e is the base 10 exponent.\n // i is where to slice str to get the first word of the digits array.\n\n i = (e + 1) % LOG_BASE;\n if (e < 0) i += LOG_BASE;\n\n if (i < len) {\n if (i) x.d.push(+str.slice(0, i));\n\n for (len -= LOG_BASE; i < len;) {\n x.d.push(+str.slice(i, i += LOG_BASE));\n }\n\n str = str.slice(i);\n i = LOG_BASE - str.length;\n } else {\n i -= len;\n }\n\n for (; i--;) {\n str += '0';\n }\n\n x.d.push(+str);\n if (external && (x.e > MAX_E || x.e < -MAX_E)) throw Error(exponentOutOfRange + e);\n } else {\n // Zero.\n x.s = 0;\n x.e = 0;\n x.d = [0];\n }\n\n return x;\n }\n /*\r\n * Round `x` to `sd` significant digits, using rounding mode `rm` if present (truncate otherwise).\r\n */\n\n\n function round(x, sd, rm) {\n var i,\n j,\n k,\n n,\n rd,\n doRound,\n w,\n xdi,\n xd = x.d; // rd: the rounding digit, i.e. the digit after the digit that may be rounded up.\n // w: the word of xd which contains the rounding digit, a base 1e7 number.\n // xdi: the index of w within xd.\n // n: the number of digits of w.\n // i: what would be the index of rd within w if all the numbers were 7 digits long (i.e. if\n // they had leading zeros)\n // j: if > 0, the actual index of rd within w (if < 0, rd is a leading zero).\n // Get the length of the first word of the digits array xd.\n\n for (n = 1, k = xd[0]; k >= 10; k /= 10) {\n n++;\n }\n\n i = sd - n; // Is the rounding digit in the first word of xd?\n\n if (i < 0) {\n i += LOG_BASE;\n j = sd;\n w = xd[xdi = 0];\n } else {\n xdi = Math.ceil((i + 1) / LOG_BASE);\n k = xd.length;\n if (xdi >= k) return x;\n w = k = xd[xdi]; // Get the number of digits of w.\n\n for (n = 1; k >= 10; k /= 10) {\n n++;\n } // Get the index of rd within w.\n\n\n i %= LOG_BASE; // Get the index of rd within w, adjusted for leading zeros.\n // The number of leading zeros of w is given by LOG_BASE - n.\n\n j = i - LOG_BASE + n;\n }\n\n if (rm !== void 0) {\n k = mathpow(10, n - j - 1); // Get the rounding digit at index j of w.\n\n rd = w / k % 10 | 0; // Are there any non-zero digits after the rounding digit?\n\n doRound = sd < 0 || xd[xdi + 1] !== void 0 || w % k; // The expression `w % mathpow(10, n - j - 1)` returns all the digits of w to the right of the\n // digit at (left-to-right) index j, e.g. if w is 908714 and j is 2, the expression will give\n // 714.\n\n doRound = rm < 4 ? (rd || doRound) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) : rd > 5 || rd == 5 && (rm == 4 || doRound || rm == 6 && // Check whether the digit to the left of the rounding digit is odd.\n (i > 0 ? j > 0 ? w / mathpow(10, n - j) : 0 : xd[xdi - 1]) % 10 & 1 || rm == (x.s < 0 ? 8 : 7));\n }\n\n if (sd < 1 || !xd[0]) {\n if (doRound) {\n k = getBase10Exponent(x);\n xd.length = 1; // Convert sd to decimal places.\n\n sd = sd - k - 1; // 1, 0.1, 0.01, 0.001, 0.0001 etc.\n\n xd[0] = mathpow(10, (LOG_BASE - sd % LOG_BASE) % LOG_BASE);\n x.e = mathfloor(-sd / LOG_BASE) || 0;\n } else {\n xd.length = 1; // Zero.\n\n xd[0] = x.e = x.s = 0;\n }\n\n return x;\n } // Remove excess digits.\n\n\n if (i == 0) {\n xd.length = xdi;\n k = 1;\n xdi--;\n } else {\n xd.length = xdi + 1;\n k = mathpow(10, LOG_BASE - i); // E.g. 56700 becomes 56000 if 7 is the rounding digit.\n // j > 0 means i > number of leading zeros of w.\n\n xd[xdi] = j > 0 ? (w / mathpow(10, n - j) % mathpow(10, j) | 0) * k : 0;\n }\n\n if (doRound) {\n for (;;) {\n // Is the digit to be rounded up in the first word of xd?\n if (xdi == 0) {\n if ((xd[0] += k) == BASE) {\n xd[0] = 1;\n ++x.e;\n }\n\n break;\n } else {\n xd[xdi] += k;\n if (xd[xdi] != BASE) break;\n xd[xdi--] = 0;\n k = 1;\n }\n }\n } // Remove trailing zeros.\n\n\n for (i = xd.length; xd[--i] === 0;) {\n xd.pop();\n }\n\n if (external && (x.e > MAX_E || x.e < -MAX_E)) {\n throw Error(exponentOutOfRange + getBase10Exponent(x));\n }\n\n return x;\n }\n\n function subtract(x, y) {\n var d,\n e,\n i,\n j,\n k,\n len,\n xd,\n xe,\n xLTy,\n yd,\n Ctor = x.constructor,\n pr = Ctor.precision; // Return y negated if x is zero.\n // Return x if y is zero and x is non-zero.\n\n if (!x.s || !y.s) {\n if (y.s) y.s = -y.s;else y = new Ctor(x);\n return external ? round(y, pr) : y;\n }\n\n xd = x.d;\n yd = y.d; // x and y are non-zero numbers with the same sign.\n\n e = y.e;\n xe = x.e;\n xd = xd.slice();\n k = xe - e; // If exponents differ...\n\n if (k) {\n xLTy = k < 0;\n\n if (xLTy) {\n d = xd;\n k = -k;\n len = yd.length;\n } else {\n d = yd;\n e = xe;\n len = xd.length;\n } // Numbers with massively different exponents would result in a very high number of zeros\n // needing to be prepended, but this can be avoided while still ensuring correct rounding by\n // limiting the number of zeros to `Math.ceil(pr / LOG_BASE) + 2`.\n\n\n i = Math.max(Math.ceil(pr / LOG_BASE), len) + 2;\n\n if (k > i) {\n k = i;\n d.length = 1;\n } // Prepend zeros to equalise exponents.\n\n\n d.reverse();\n\n for (i = k; i--;) {\n d.push(0);\n }\n\n d.reverse(); // Base 1e7 exponents equal.\n } else {\n // Check digits to determine which is the bigger number.\n i = xd.length;\n len = yd.length;\n xLTy = i < len;\n if (xLTy) len = i;\n\n for (i = 0; i < len; i++) {\n if (xd[i] != yd[i]) {\n xLTy = xd[i] < yd[i];\n break;\n }\n }\n\n k = 0;\n }\n\n if (xLTy) {\n d = xd;\n xd = yd;\n yd = d;\n y.s = -y.s;\n }\n\n len = xd.length; // Append zeros to xd if shorter.\n // Don't add zeros to yd if shorter as subtraction only needs to start at yd length.\n\n for (i = yd.length - len; i > 0; --i) {\n xd[len++] = 0;\n } // Subtract yd from xd.\n\n\n for (i = yd.length; i > k;) {\n if (xd[--i] < yd[i]) {\n for (j = i; j && xd[--j] === 0;) {\n xd[j] = BASE - 1;\n }\n\n --xd[j];\n xd[i] += BASE;\n }\n\n xd[i] -= yd[i];\n } // Remove trailing zeros.\n\n\n for (; xd[--len] === 0;) {\n xd.pop();\n } // Remove leading zeros and adjust exponent accordingly.\n\n\n for (; xd[0] === 0; xd.shift()) {\n --e;\n } // Zero?\n\n\n if (!xd[0]) return new Ctor(0);\n y.d = xd;\n y.e = e; //return external && xd.length >= pr / LOG_BASE ? round(y, pr) : y;\n\n return external ? round(y, pr) : y;\n }\n\n function toString(x, isExp, sd) {\n var k,\n e = getBase10Exponent(x),\n str = digitsToString(x.d),\n len = str.length;\n\n if (isExp) {\n if (sd && (k = sd - len) > 0) {\n str = str.charAt(0) + '.' + str.slice(1) + getZeroString(k);\n } else if (len > 1) {\n str = str.charAt(0) + '.' + str.slice(1);\n }\n\n str = str + (e < 0 ? 'e' : 'e+') + e;\n } else if (e < 0) {\n str = '0.' + getZeroString(-e - 1) + str;\n if (sd && (k = sd - len) > 0) str += getZeroString(k);\n } else if (e >= len) {\n str += getZeroString(e + 1 - len);\n if (sd && (k = sd - e - 1) > 0) str = str + '.' + getZeroString(k);\n } else {\n if ((k = e + 1) < len) str = str.slice(0, k) + '.' + str.slice(k);\n\n if (sd && (k = sd - len) > 0) {\n if (e + 1 === len) str += '.';\n str += getZeroString(k);\n }\n }\n\n return x.s < 0 ? '-' + str : str;\n } // Does not strip trailing zeros.\n\n\n function truncate(arr, len) {\n if (arr.length > len) {\n arr.length = len;\n return true;\n }\n } // Decimal methods\n\n /*\r\n * clone\r\n * config/set\r\n */\n\n /*\r\n * Create and return a Decimal constructor with the same configuration properties as this Decimal\r\n * constructor.\r\n *\r\n */\n\n\n function clone(obj) {\n var i, p, ps;\n /*\r\n * The Decimal constructor and exported function.\r\n * Return a new Decimal instance.\r\n *\r\n * value {number|string|Decimal} A numeric value.\r\n *\r\n */\n\n function Decimal(value) {\n var x = this; // Decimal called without new.\n\n if (!(x instanceof Decimal)) return new Decimal(value); // Retain a reference to this Decimal constructor, and shadow Decimal.prototype.constructor\n // which points to Object.\n\n x.constructor = Decimal; // Duplicate.\n\n if (value instanceof Decimal) {\n x.s = value.s;\n x.e = value.e;\n x.d = (value = value.d) ? value.slice() : value;\n return;\n }\n\n if (typeof value === 'number') {\n // Reject Infinity/NaN.\n if (value * 0 !== 0) {\n throw Error(invalidArgument + value);\n }\n\n if (value > 0) {\n x.s = 1;\n } else if (value < 0) {\n value = -value;\n x.s = -1;\n } else {\n x.s = 0;\n x.e = 0;\n x.d = [0];\n return;\n } // Fast path for small integers.\n\n\n if (value === ~~value && value < 1e7) {\n x.e = 0;\n x.d = [value];\n return;\n }\n\n return parseDecimal(x, value.toString());\n } else if (typeof value !== 'string') {\n throw Error(invalidArgument + value);\n } // Minus sign?\n\n\n if (value.charCodeAt(0) === 45) {\n value = value.slice(1);\n x.s = -1;\n } else {\n x.s = 1;\n }\n\n if (isDecimal.test(value)) parseDecimal(x, value);else throw Error(invalidArgument + value);\n }\n\n Decimal.prototype = P;\n Decimal.ROUND_UP = 0;\n Decimal.ROUND_DOWN = 1;\n Decimal.ROUND_CEIL = 2;\n Decimal.ROUND_FLOOR = 3;\n Decimal.ROUND_HALF_UP = 4;\n Decimal.ROUND_HALF_DOWN = 5;\n Decimal.ROUND_HALF_EVEN = 6;\n Decimal.ROUND_HALF_CEIL = 7;\n Decimal.ROUND_HALF_FLOOR = 8;\n Decimal.clone = clone;\n Decimal.config = Decimal.set = config;\n if (obj === void 0) obj = {};\n\n if (obj) {\n ps = ['precision', 'rounding', 'toExpNeg', 'toExpPos', 'LN10'];\n\n for (i = 0; i < ps.length;) {\n if (!obj.hasOwnProperty(p = ps[i++])) obj[p] = this[p];\n }\n }\n\n Decimal.config(obj);\n return Decimal;\n }\n /*\r\n * Configure global settings for a Decimal constructor.\r\n *\r\n * `obj` is an object with one or more of the following properties,\r\n *\r\n * precision {number}\r\n * rounding {number}\r\n * toExpNeg {number}\r\n * toExpPos {number}\r\n *\r\n * E.g. Decimal.config({ precision: 20, rounding: 4 })\r\n *\r\n */\n\n\n function config(obj) {\n if (!obj || typeof obj !== 'object') {\n throw Error(decimalError + 'Object expected');\n }\n\n var i,\n p,\n v,\n ps = ['precision', 1, MAX_DIGITS, 'rounding', 0, 8, 'toExpNeg', -1 / 0, 0, 'toExpPos', 0, 1 / 0];\n\n for (i = 0; i < ps.length; i += 3) {\n if ((v = obj[p = ps[i]]) !== void 0) {\n if (mathfloor(v) === v && v >= ps[i + 1] && v <= ps[i + 2]) this[p] = v;else throw Error(invalidArgument + p + ': ' + v);\n }\n }\n\n if ((v = obj[p = 'LN10']) !== void 0) {\n if (v == Math.LN10) this[p] = new this(v);else throw Error(invalidArgument + p + ': ' + v);\n }\n\n return this;\n } // Create and configure initial Decimal constructor.\n\n\n Decimal = clone(Decimal);\n Decimal['default'] = Decimal.Decimal = Decimal; // Internal constant.\n\n ONE = new Decimal(1); // Export.\n // AMD.\n\n if (typeof define == 'function' && define.amd) {\n define(function () {\n return Decimal;\n }); // Node and other environments that support module.exports.\n } else if (typeof module != 'undefined' && module.exports) {\n module.exports = Decimal; // Browser.\n } else {\n if (!globalScope) {\n globalScope = typeof self != 'undefined' && self && self.self == self ? self : Function('return this')();\n }\n\n globalScope.Decimal = Decimal;\n }\n})(this);","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.memoize = exports.reverse = exports.compose = exports.map = exports.range = exports.curry = exports.PLACE_HOLDER = void 0;\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}\n\nfunction _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n}\n\nvar identity = function identity(i) {\n return i;\n};\n\nvar PLACE_HOLDER = {\n '@@functional/placeholder': true\n};\nexports.PLACE_HOLDER = PLACE_HOLDER;\n\nvar isPlaceHolder = function isPlaceHolder(val) {\n return val === PLACE_HOLDER;\n};\n\nvar curry0 = function curry0(fn) {\n return function _curried() {\n if (arguments.length === 0 || arguments.length === 1 && isPlaceHolder(arguments.length <= 0 ? undefined : arguments[0])) {\n return _curried;\n }\n\n return fn.apply(void 0, arguments);\n };\n};\n\nvar curryN = function curryN(n, fn) {\n if (n === 1) {\n return fn;\n }\n\n return curry0(function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var argsLength = args.filter(function (arg) {\n return arg !== PLACE_HOLDER;\n }).length;\n\n if (argsLength >= n) {\n return fn.apply(void 0, args);\n }\n\n return curryN(n - argsLength, curry0(function () {\n for (var _len2 = arguments.length, restArgs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n restArgs[_key2] = arguments[_key2];\n }\n\n var newArgs = args.map(function (arg) {\n return isPlaceHolder(arg) ? restArgs.shift() : arg;\n });\n return fn.apply(void 0, _toConsumableArray(newArgs).concat(restArgs));\n }));\n });\n};\n\nvar curry = function curry(fn) {\n return curryN(fn.length, fn);\n};\n\nexports.curry = curry;\n\nvar range = function range(begin, end) {\n var arr = [];\n\n for (var i = begin; i < end; ++i) {\n arr[i - begin] = i;\n }\n\n return arr;\n};\n\nexports.range = range;\nvar map = curry(function (fn, arr) {\n if (Array.isArray(arr)) {\n return arr.map(fn);\n }\n\n return Object.keys(arr).map(function (key) {\n return arr[key];\n }).map(fn);\n});\nexports.map = map;\n\nvar compose = function compose() {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n if (!args.length) {\n return identity;\n }\n\n var fns = args.reverse(); // first function can receive multiply arguments\n\n var firstFn = fns[0];\n var tailsFn = fns.slice(1);\n return function () {\n return tailsFn.reduce(function (res, fn) {\n return fn(res);\n }, firstFn.apply(void 0, arguments));\n };\n};\n\nexports.compose = compose;\n\nvar reverse = function reverse(arr) {\n if (Array.isArray(arr)) {\n return arr.reverse();\n } // can be string\n\n\n return arr.split('').reverse.join('');\n};\n\nexports.reverse = reverse;\n\nvar memoize = function memoize(fn) {\n var lastArgs = null;\n var lastResult = null;\n return function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n if (lastArgs && args.every(function (val, i) {\n return val === lastArgs[i];\n })) {\n return lastResult;\n }\n\n lastArgs = args;\n lastResult = fn.apply(void 0, args);\n return lastResult;\n };\n};\n\nexports.memoize = memoize;","var toNumber = require('./toNumber');\n/** Used as references for various `Number` constants. */\n\n\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n\n value = toNumber(value);\n\n if (value === INFINITY || value === -INFINITY) {\n var sign = value < 0 ? -1 : 1;\n return sign * MAX_INTEGER;\n }\n\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;","var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n/** Used as references for various `Number` constants. */\n\n\nvar NAN = 0 / 0;\n/** Used to match leading and trailing whitespace. */\n\nvar reTrim = /^\\s+|\\s+$/g;\n/** Used to detect bad signed hexadecimal string values. */\n\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n/** Used to detect binary string values. */\n\nvar reIsBinary = /^0b[01]+$/i;\n/** Used to detect octal string values. */\n\nvar reIsOctal = /^0o[0-7]+$/i;\n/** Built-in method references without a dependency on `root`. */\n\nvar freeParseInt = parseInt;\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n\n if (isSymbol(value)) {\n return NAN;\n }\n\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? other + '' : other;\n }\n\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n}\n\nmodule.exports = toNumber;","\"use strict\";\n\nvar __extends = this && this.__extends || function () {\n var extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return function (d, b) {\n extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nvar __assign = this && this.__assign || Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n};\n\nexports.__esModule = true;\n\nvar React = require(\"react\");\n\nvar PropTypes = require(\"prop-types\");\n\nvar TextRow =\n/** @class */\nfunction (_super) {\n __extends(TextRow, _super);\n\n function TextRow() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n TextRow.prototype.render = function () {\n var _a = this.props,\n className = _a.className,\n maxHeight = _a.maxHeight,\n color = _a.color,\n lineSpacing = _a.lineSpacing,\n style = _a.style;\n var defaultStyles = {\n maxHeight: maxHeight,\n width: '100%',\n height: '1em',\n backgroundColor: color,\n marginTop: lineSpacing\n };\n var classes = ['text-row', className].filter(function (c) {\n return c;\n }).join(' ');\n return React.createElement(\"div\", {\n className: classes,\n style: __assign({}, defaultStyles, style)\n });\n };\n\n TextRow.propTypes = {\n maxHeight: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n className: PropTypes.string,\n color: PropTypes.string.isRequired,\n lineSpacing: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n style: PropTypes.object\n };\n TextRow.defaultProps = {\n lineSpacing: '0.7em'\n };\n return TextRow;\n}(React.Component);\n\nexports[\"default\"] = TextRow;","\"use strict\";\n\nvar __extends = this && this.__extends || function () {\n var extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return function (d, b) {\n extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nvar __assign = this && this.__assign || Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n};\n\nexports.__esModule = true;\n\nvar React = require(\"react\");\n\nvar PropTypes = require(\"prop-types\");\n\nvar RoundShape =\n/** @class */\nfunction (_super) {\n __extends(RoundShape, _super);\n\n function RoundShape() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n RoundShape.prototype.render = function () {\n var _a = this.props,\n className = _a.className,\n style = _a.style,\n color = _a.color;\n var defaultStyles = {\n backgroundColor: color,\n borderRadius: '500rem',\n width: '100%',\n height: '100%'\n };\n var classes = ['round-shape', className].filter(function (c) {\n return c;\n }).join(' ');\n return React.createElement(\"div\", {\n className: classes,\n style: __assign({}, defaultStyles, style)\n });\n };\n\n RoundShape.propTypes = {\n color: PropTypes.string.isRequired,\n className: PropTypes.string,\n style: PropTypes.object\n };\n return RoundShape;\n}(React.Component);\n\nexports[\"default\"] = RoundShape;","\"use strict\";\n\nvar __extends = this && this.__extends || function () {\n var extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return function (d, b) {\n extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n}();\n\nvar __assign = this && this.__assign || Object.assign || function (t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n};\n\nexports.__esModule = true;\n\nvar React = require(\"react\");\n\nvar PropTypes = require(\"prop-types\");\n\nvar TextRow_1 = require(\"./TextRow\");\n\nvar TextBlock =\n/** @class */\nfunction (_super) {\n __extends(TextBlock, _super);\n\n function TextBlock() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.getRowStyle = function (i) {\n var _a = _this.props,\n rows = _a.rows,\n widths = _a.widths;\n return {\n maxHeight: 100 / (rows * 2 - 1) + \"%\",\n width: widths[(i + widths.length) % widths.length] + \"%\"\n };\n };\n\n _this.getRows = function () {\n var _a = _this.props,\n rows = _a.rows,\n lineSpacing = _a.lineSpacing,\n color = _a.color;\n var range = Array.apply(null, Array(rows));\n return range.map(function (_, i) {\n return React.createElement(TextRow_1[\"default\"], {\n color: color,\n style: _this.getRowStyle(i),\n lineSpacing: i !== 0 ? lineSpacing : 0,\n key: i\n });\n });\n };\n\n return _this;\n }\n\n TextBlock.prototype.render = function () {\n var _a = this.props,\n style = _a.style,\n className = _a.className;\n var defaultStyles = {\n width: '100%'\n };\n var classes = ['text-block', className].filter(function (c) {\n return c;\n }).join(' ');\n return React.createElement(\"div\", {\n className: classes,\n style: __assign({}, defaultStyles, style)\n }, this.getRows());\n };\n\n TextBlock.propTypes = {\n rows: PropTypes.number.isRequired,\n color: PropTypes.string.isRequired,\n lineSpacing: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n widths: PropTypes.arrayOf(PropTypes.number),\n style: PropTypes.object,\n className: PropTypes.string\n };\n TextBlock.defaultProps = {\n widths: [97, 100, 94, 90, 98, 95, 98, 40]\n };\n return TextBlock;\n}(React.Component);\n\nexports[\"default\"] = TextBlock;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/extends\";\n\nvar processProps = function processProps(type, props, _value, deepEqual) {\n var value = props.value;\n\n if (type === 'checkbox') {\n return _extends({}, props, {\n checked: !!value\n });\n }\n\n if (type === 'radio') {\n return _extends({}, props, {\n checked: deepEqual(value, _value),\n value: _value\n });\n }\n\n if (type === 'select-multiple') {\n return _extends({}, props, {\n value: value || []\n });\n }\n\n if (type === 'file') {\n return _extends({}, props, {\n value: value || undefined\n });\n }\n\n return props;\n};\n\nexport default function createFieldProps(_ref, name, _ref2) {\n var getIn = _ref.getIn,\n toJS = _ref.toJS,\n deepEqual = _ref.deepEqual;\n\n var asyncError = _ref2.asyncError,\n asyncValidating = _ref2.asyncValidating,\n onBlur = _ref2.onBlur,\n onChange = _ref2.onChange,\n onDrop = _ref2.onDrop,\n onDragStart = _ref2.onDragStart,\n dirty = _ref2.dirty,\n dispatch = _ref2.dispatch,\n onFocus = _ref2.onFocus,\n form = _ref2.form,\n format = _ref2.format,\n initial = _ref2.initial,\n parse = _ref2.parse,\n pristine = _ref2.pristine,\n props = _ref2.props,\n state = _ref2.state,\n submitError = _ref2.submitError,\n submitFailed = _ref2.submitFailed,\n submitting = _ref2.submitting,\n syncError = _ref2.syncError,\n syncWarning = _ref2.syncWarning,\n validate = _ref2.validate,\n value = _ref2.value,\n _value = _ref2._value,\n warn = _ref2.warn,\n custom = _objectWithoutPropertiesLoose(_ref2, [\"asyncError\", \"asyncValidating\", \"onBlur\", \"onChange\", \"onDrop\", \"onDragStart\", \"dirty\", \"dispatch\", \"onFocus\", \"form\", \"format\", \"initial\", \"parse\", \"pristine\", \"props\", \"state\", \"submitError\", \"submitFailed\", \"submitting\", \"syncError\", \"syncWarning\", \"validate\", \"value\", \"_value\", \"warn\"]);\n\n var error = syncError || asyncError || submitError;\n var warning = syncWarning;\n\n var formatFieldValue = function formatFieldValue(value, format) {\n if (format === null) {\n return value;\n }\n\n var defaultFormattedValue = value == null ? '' : value;\n return format ? format(value, name) : defaultFormattedValue;\n };\n\n var formattedFieldValue = formatFieldValue(value, format);\n return {\n input: processProps(custom.type, {\n name: name,\n onBlur: onBlur,\n onChange: onChange,\n onDragStart: onDragStart,\n onDrop: onDrop,\n onFocus: onFocus,\n value: formattedFieldValue\n }, _value, deepEqual),\n meta: _extends({}, toJS(state), {\n active: !!(state && getIn(state, 'active')),\n asyncValidating: asyncValidating,\n autofilled: !!(state && getIn(state, 'autofilled')),\n dirty: dirty,\n dispatch: dispatch,\n error: error,\n form: form,\n initial: initial,\n warning: warning,\n invalid: !!error,\n pristine: pristine,\n submitting: !!submitting,\n submitFailed: !!submitFailed,\n touched: !!(state && getIn(state, 'touched')),\n valid: !error,\n visited: !!(state && getIn(state, 'visited'))\n }),\n custom: _extends({}, custom, {}, props)\n };\n}","import isEvent from './isEvent';\n\nvar getSelectedValues = function getSelectedValues(options) {\n var result = [];\n\n if (options) {\n for (var index = 0; index < options.length; index++) {\n var option = options[index];\n\n if (option.selected) {\n result.push(option.value);\n }\n }\n }\n\n return result;\n};\n\nvar getValue = function getValue(event, isReactNative) {\n if (isEvent(event)) {\n if (!isReactNative && event.nativeEvent && event.nativeEvent.text !== undefined) {\n return event.nativeEvent.text;\n }\n\n if (isReactNative && event.nativeEvent !== undefined) {\n return event.nativeEvent.text;\n }\n\n var detypedEvent = event;\n var _detypedEvent$target = detypedEvent.target,\n type = _detypedEvent$target.type,\n value = _detypedEvent$target.value,\n checked = _detypedEvent$target.checked,\n files = _detypedEvent$target.files,\n dataTransfer = detypedEvent.dataTransfer;\n\n if (type === 'checkbox') {\n return !!checked;\n }\n\n if (type === 'file') {\n return files || dataTransfer && dataTransfer.files;\n }\n\n if (type === 'select-multiple') {\n return getSelectedValues(event.target.options);\n }\n\n return value;\n }\n\n return event;\n};\n\nexport default getValue;","var isReactNative = typeof window !== 'undefined' && window.navigator && window.navigator.product && window.navigator.product === 'ReactNative';\nexport default isReactNative;","import getValue from './getValue';\nimport isReactNative from '../isReactNative';\n\nvar onChangeValue = function onChangeValue(event, _ref) {\n var name = _ref.name,\n parse = _ref.parse,\n normalize = _ref.normalize; // read value from input\n\n var value = getValue(event, isReactNative); // parse value if we have a parser\n\n if (parse) {\n value = parse(value, name);\n } // normalize value\n\n\n if (normalize) {\n value = normalize(name, value);\n }\n\n return value;\n};\n\nexport default onChangeValue;","export var dataKey = 'text';","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _inheritsLoose from \"@babel/runtime/helpers/inheritsLoose\";\nimport React, { Component, createElement } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport createFieldProps from './createFieldProps';\nimport onChangeValue from './events/onChangeValue';\nimport { dataKey } from './util/eventConsts';\nimport plain from './structure/plain';\nimport isReactNative from './isReactNative';\nimport validateComponentProp from './util/validateComponentProp';\nimport isEvent from './events/isEvent';\nvar propsToNotUpdateFor = ['_reduxForm'];\n\nvar isObject = function isObject(entity) {\n return entity && typeof entity === 'object';\n};\n\nvar isFunction = function isFunction(entity) {\n return entity && typeof entity === 'function';\n};\n\nvar eventPreventDefault = function eventPreventDefault(event) {\n if (isObject(event) && isFunction(event.preventDefault)) {\n event.preventDefault();\n }\n};\n\nvar eventDataTransferGetData = function eventDataTransferGetData(event, key) {\n if (isObject(event) && isObject(event.dataTransfer) && isFunction(event.dataTransfer.getData)) {\n return event.dataTransfer.getData(key);\n }\n};\n\nvar eventDataTransferSetData = function eventDataTransferSetData(event, key, value) {\n if (isObject(event) && isObject(event.dataTransfer) && isFunction(event.dataTransfer.setData)) {\n event.dataTransfer.setData(key, value);\n }\n};\n\nfunction createConnectedField(structure) {\n var deepEqual = structure.deepEqual,\n getIn = structure.getIn;\n\n var getSyncError = function getSyncError(syncErrors, name) {\n var error = plain.getIn(syncErrors, name); // Because the error for this field might not be at a level in the error structure where\n // it can be set directly, it might need to be unwrapped from the _error property\n\n return error && error._error ? error._error : error;\n };\n\n var getSyncWarning = function getSyncWarning(syncWarnings, name) {\n var warning = getIn(syncWarnings, name); // Because the warning for this field might not be at a level in the warning structure where\n // it can be set directly, it might need to be unwrapped from the _warning property\n\n return warning && warning._warning ? warning._warning : warning;\n };\n\n var ConnectedField =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(ConnectedField, _Component);\n\n function ConnectedField() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.ref = React.createRef();\n\n _this.isPristine = function () {\n return _this.props.pristine;\n };\n\n _this.getValue = function () {\n return _this.props.value;\n };\n\n _this.handleChange = function (event) {\n var _this$props = _this.props,\n name = _this$props.name,\n dispatch = _this$props.dispatch,\n parse = _this$props.parse,\n normalize = _this$props.normalize,\n onChange = _this$props.onChange,\n _reduxForm = _this$props._reduxForm,\n previousValue = _this$props.value;\n var newValue = onChangeValue(event, {\n name: name,\n parse: parse,\n normalize: normalize\n });\n var defaultPrevented = false;\n\n if (onChange) {\n // Can't seem to find a way to extend Event in React Native,\n // thus I simply avoid adding preventDefault() in a RN environment\n // to prevent the following error:\n // `One of the sources for assign has an enumerable key on the prototype chain`\n // Reference: https://github.com/facebook/react-native/issues/5507\n if (!isReactNative && isEvent(event)) {\n onChange(_extends({}, event, {\n preventDefault: function preventDefault() {\n defaultPrevented = true;\n return eventPreventDefault(event);\n }\n }), newValue, previousValue, name);\n } else {\n var onChangeResult = onChange(event, newValue, previousValue, name); // Return value of change handler affecting preventDefault is RN\n // specific behavior.\n\n if (isReactNative) {\n defaultPrevented = onChangeResult;\n }\n }\n }\n\n if (!defaultPrevented) {\n // dispatch change action\n dispatch(_reduxForm.change(name, newValue)); // call post-change callback\n\n if (_reduxForm.asyncValidate) {\n _reduxForm.asyncValidate(name, newValue, 'change');\n }\n }\n };\n\n _this.handleFocus = function (event) {\n var _this$props2 = _this.props,\n name = _this$props2.name,\n dispatch = _this$props2.dispatch,\n onFocus = _this$props2.onFocus,\n _reduxForm = _this$props2._reduxForm;\n var defaultPrevented = false;\n\n if (onFocus) {\n if (!isReactNative) {\n onFocus(_extends({}, event, {\n preventDefault: function preventDefault() {\n defaultPrevented = true;\n return eventPreventDefault(event);\n }\n }), name);\n } else {\n defaultPrevented = onFocus(event, name);\n }\n }\n\n if (!defaultPrevented) {\n dispatch(_reduxForm.focus(name));\n }\n };\n\n _this.handleBlur = function (event) {\n var _this$props3 = _this.props,\n name = _this$props3.name,\n dispatch = _this$props3.dispatch,\n parse = _this$props3.parse,\n normalize = _this$props3.normalize,\n onBlur = _this$props3.onBlur,\n _reduxForm = _this$props3._reduxForm,\n _value = _this$props3._value,\n previousValue = _this$props3.value;\n var newValue = onChangeValue(event, {\n name: name,\n parse: parse,\n normalize: normalize\n }); // for checkbox and radio, if the value property of checkbox or radio equals\n // the value passed by blur event, then fire blur action with previousValue.\n\n if (newValue === _value && _value !== undefined) {\n newValue = previousValue;\n }\n\n var defaultPrevented = false;\n\n if (onBlur) {\n if (!isReactNative) {\n onBlur(_extends({}, event, {\n preventDefault: function preventDefault() {\n defaultPrevented = true;\n return eventPreventDefault(event);\n }\n }), newValue, previousValue, name);\n } else {\n defaultPrevented = onBlur(event, newValue, previousValue, name);\n }\n }\n\n if (!defaultPrevented) {\n // dispatch blur action\n dispatch(_reduxForm.blur(name, newValue)); // call post-blur callback\n\n if (_reduxForm.asyncValidate) {\n _reduxForm.asyncValidate(name, newValue, 'blur');\n }\n }\n };\n\n _this.handleDragStart = function (event) {\n var _this$props4 = _this.props,\n name = _this$props4.name,\n onDragStart = _this$props4.onDragStart,\n value = _this$props4.value;\n eventDataTransferSetData(event, dataKey, value == null ? '' : value);\n\n if (onDragStart) {\n onDragStart(event, name);\n }\n };\n\n _this.handleDrop = function (event) {\n var _this$props5 = _this.props,\n name = _this$props5.name,\n dispatch = _this$props5.dispatch,\n onDrop = _this$props5.onDrop,\n _reduxForm = _this$props5._reduxForm,\n previousValue = _this$props5.value;\n var newValue = eventDataTransferGetData(event, dataKey);\n var defaultPrevented = false;\n\n if (onDrop) {\n onDrop(_extends({}, event, {\n preventDefault: function preventDefault() {\n defaultPrevented = true;\n return eventPreventDefault(event);\n }\n }), newValue, previousValue, name);\n }\n\n if (!defaultPrevented) {\n // dispatch change action\n dispatch(_reduxForm.change(name, newValue));\n eventPreventDefault(event);\n }\n };\n\n return _this;\n }\n\n var _proto = ConnectedField.prototype;\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n var _this2 = this;\n\n var nextPropsKeys = Object.keys(nextProps);\n var thisPropsKeys = Object.keys(this.props); // if we have children, we MUST update in React 16\n // https://twitter.com/erikras/status/915866544558788608\n\n return !!(this.props.children || nextProps.children || nextPropsKeys.length !== thisPropsKeys.length || nextPropsKeys.some(function (prop) {\n if (~(nextProps.immutableProps || []).indexOf(prop)) {\n return _this2.props[prop] !== nextProps[prop];\n }\n\n return !~propsToNotUpdateFor.indexOf(prop) && !deepEqual(_this2.props[prop], nextProps[prop]);\n }));\n };\n\n _proto.getRenderedComponent = function getRenderedComponent() {\n return this.ref.current;\n };\n\n _proto.render = function render() {\n var _this$props6 = this.props,\n component = _this$props6.component,\n forwardRef = _this$props6.forwardRef,\n name = _this$props6.name,\n _reduxForm = _this$props6._reduxForm,\n normalize = _this$props6.normalize,\n onBlur = _this$props6.onBlur,\n onChange = _this$props6.onChange,\n onFocus = _this$props6.onFocus,\n onDragStart = _this$props6.onDragStart,\n onDrop = _this$props6.onDrop,\n immutableProps = _this$props6.immutableProps,\n rest = _objectWithoutPropertiesLoose(_this$props6, [\"component\", \"forwardRef\", \"name\", \"_reduxForm\", \"normalize\", \"onBlur\", \"onChange\", \"onFocus\", \"onDragStart\", \"onDrop\", \"immutableProps\"]);\n\n var _createFieldProps = createFieldProps(structure, name, _extends({}, rest, {\n form: _reduxForm.form,\n onBlur: this.handleBlur,\n onChange: this.handleChange,\n onDrop: this.handleDrop,\n onDragStart: this.handleDragStart,\n onFocus: this.handleFocus\n })),\n custom = _createFieldProps.custom,\n props = _objectWithoutPropertiesLoose(_createFieldProps, [\"custom\"]);\n\n if (forwardRef) {\n custom.ref = this.ref;\n }\n\n if (typeof component === 'string') {\n var input = props.input,\n meta = props.meta; // eslint-disable-line no-unused-vars\n // flatten input into other props\n\n return createElement(component, _extends({}, input, {}, custom));\n } else {\n return createElement(component, _extends({}, props, {}, custom));\n }\n };\n\n return ConnectedField;\n }(Component);\n\n ConnectedField.propTypes = {\n component: validateComponentProp,\n props: PropTypes.object\n };\n var connector = connect(function (state, ownProps) {\n var name = ownProps.name,\n _ownProps$_reduxForm = ownProps._reduxForm,\n initialValues = _ownProps$_reduxForm.initialValues,\n getFormState = _ownProps$_reduxForm.getFormState;\n var formState = getFormState(state);\n var initialState = getIn(formState, \"initial.\" + name);\n var initial = initialState !== undefined ? initialState : initialValues && getIn(initialValues, name);\n var value = getIn(formState, \"values.\" + name);\n var submitting = getIn(formState, 'submitting');\n var syncError = getSyncError(getIn(formState, 'syncErrors'), name);\n var syncWarning = getSyncWarning(getIn(formState, 'syncWarnings'), name);\n var pristine = deepEqual(value, initial);\n return {\n asyncError: getIn(formState, \"asyncErrors.\" + name),\n asyncValidating: getIn(formState, 'asyncValidating') === name,\n dirty: !pristine,\n pristine: pristine,\n state: getIn(formState, \"fields.\" + name),\n submitError: getIn(formState, \"submitErrors.\" + name),\n submitFailed: getIn(formState, 'submitFailed'),\n submitting: submitting,\n syncError: syncError,\n syncWarning: syncWarning,\n initial: initial,\n value: value,\n _value: ownProps.value // save value passed in (for radios)\n\n };\n }, undefined, undefined, {\n forwardRef: true\n });\n return connector(ConnectedField);\n}\n\nexport default createConnectedField;","import _isEqualWith from \"lodash/isEqualWith\";\n\nvar customizer = function customizer(objectValue, otherValue, indexOrkey, object, other, stack) {\n // https://lodash.com/docs/4.17.4#isEqualWith\n if (stack) {\n // Shallow compares\n // For 1st level, stack === undefined.\n // -> Do nothing (and implicitly return undefined so that it goes to compare 2nd level)\n // For 2nd level and up, stack !== undefined.\n // -> Compare by === operator\n return objectValue === otherValue;\n }\n};\n\nvar shallowCompare = function shallowCompare(instance, nextProps, nextState) {\n var propsEqual = _isEqualWith(instance.props, nextProps, customizer);\n\n var stateEqual = _isEqualWith(instance.state, nextState, customizer);\n\n return !propsEqual || !stateEqual;\n};\n\nexport default shallowCompare;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inheritsLoose from \"@babel/runtime/helpers/inheritsLoose\";\nimport React, { Component, createElement } from 'react';\nimport PropTypes from 'prop-types';\nimport invariant from 'invariant';\nimport createConnectedField from './ConnectedField';\nimport shallowCompare from './util/shallowCompare';\nimport prefixName from './util/prefixName';\nimport plain from './structure/plain';\nimport { withReduxForm } from './ReduxFormContext';\nimport validateComponentProp from './util/validateComponentProp';\n\nfunction createField(structure) {\n var ConnectedField = createConnectedField(structure);\n var setIn = structure.setIn;\n\n var Field =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(Field, _Component);\n\n function Field(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.ref = React.createRef();\n\n _this.normalize = function (name, value) {\n var normalize = _this.props.normalize;\n\n if (!normalize) {\n return value;\n }\n\n var previousValues = _this.props._reduxForm.getValues();\n\n var previousValue = _this.value;\n var nextValues = setIn(previousValues, name, value);\n return normalize(value, previousValue, nextValues, previousValues, name);\n };\n\n if (!props._reduxForm) {\n throw new Error('Field must be inside a component decorated with reduxForm()');\n }\n\n return _this;\n }\n\n var _proto = Field.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n var _this2 = this;\n\n this.props._reduxForm.register(this.name, 'Field', function () {\n return _this2.props.validate;\n }, function () {\n return _this2.props.warn;\n });\n };\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState);\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n var oldName = prefixName(this.props, this.props.name);\n var newName = prefixName(nextProps, nextProps.name);\n\n if (oldName !== newName || // use deepEqual here because they could be a function or an array of functions\n !plain.deepEqual(this.props.validate, nextProps.validate) || !plain.deepEqual(this.props.warn, nextProps.warn)) {\n // unregister old name\n this.props._reduxForm.unregister(oldName); // register new name\n\n\n this.props._reduxForm.register(newName, 'Field', function () {\n return nextProps.validate;\n }, function () {\n return nextProps.warn;\n });\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.props._reduxForm.unregister(this.name);\n };\n\n _proto.getRenderedComponent = function getRenderedComponent() {\n invariant(this.props.forwardRef, 'If you want to access getRenderedComponent(), ' + 'you must specify a forwardRef prop to Field');\n return this.ref.current ? this.ref.current.getRenderedComponent() : undefined;\n };\n\n _proto.render = function render() {\n return createElement(ConnectedField, _extends({}, this.props, {\n name: this.name,\n normalize: this.normalize,\n ref: this.ref\n }));\n };\n\n _createClass(Field, [{\n key: \"name\",\n get: function get() {\n return prefixName(this.props, this.props.name);\n }\n }, {\n key: \"dirty\",\n get: function get() {\n return !this.pristine;\n }\n }, {\n key: \"pristine\",\n get: function get() {\n return !!(this.ref.current && this.ref.current.isPristine());\n }\n }, {\n key: \"value\",\n get: function get() {\n return this.ref.current && this.ref.current.getValue();\n }\n }]);\n\n return Field;\n }(Component);\n\n Field.propTypes = {\n name: PropTypes.string.isRequired,\n component: validateComponentProp,\n format: PropTypes.func,\n normalize: PropTypes.func,\n onBlur: PropTypes.func,\n onChange: PropTypes.func,\n onFocus: PropTypes.func,\n onDragStart: PropTypes.func,\n onDrop: PropTypes.func,\n parse: PropTypes.func,\n props: PropTypes.object,\n validate: PropTypes.oneOfType([PropTypes.func, PropTypes.arrayOf(PropTypes.func)]),\n warn: PropTypes.oneOfType([PropTypes.func, PropTypes.arrayOf(PropTypes.func)]),\n forwardRef: PropTypes.bool,\n immutableProps: PropTypes.arrayOf(PropTypes.string),\n _reduxForm: PropTypes.object\n };\n return withReduxForm(Field);\n}\n\nexport default createField;","import createField from './createField';\nimport plain from './structure/plain';\nexport default createField(plain);","import isPromise from 'is-promise';\n\nvar asyncValidation = function asyncValidation(fn, start, stop, field) {\n start(field);\n var promise = fn();\n\n if (!isPromise(promise)) {\n throw new Error('asyncValidate function passed to reduxForm must return a promise');\n }\n\n var handleErrors = function handleErrors(rejected) {\n return function (errors) {\n if (rejected) {\n if (errors && Object.keys(errors).length) {\n stop(errors);\n return errors;\n } else {\n stop();\n throw new Error('Asynchronous validation promise was rejected without errors.');\n }\n }\n\n stop();\n return Promise.resolve();\n };\n };\n\n return promise.then(handleErrors(false), handleErrors(true));\n};\n\nexport default asyncValidation;","import isEvent from './isEvent';\n\nvar silenceEvent = function silenceEvent(event) {\n var is = isEvent(event);\n\n if (is) {\n event.preventDefault();\n }\n\n return is;\n};\n\nexport default silenceEvent;","import silenceEvent from './silenceEvent';\n\nvar silenceEvents = function silenceEvents(fn) {\n return function (event) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return silenceEvent(event) ? fn.apply(void 0, args) : fn.apply(void 0, [event].concat(args));\n };\n};\n\nexport default silenceEvents;","import plain from './structure/plain';\n\nvar toArray = function toArray(value) {\n return Array.isArray(value) ? value : [value];\n};\n\nvar getError = function getError(value, values, props, validators, name) {\n var array = toArray(validators);\n\n for (var i = 0; i < array.length; i++) {\n var error = array[i](value, values, props, name);\n\n if (error) {\n return error;\n }\n }\n};\n\nexport default function generateValidator(validators, _ref) {\n var getIn = _ref.getIn;\n return function (values, props) {\n var errors = {};\n Object.keys(validators).forEach(function (name) {\n var value = getIn(values, name);\n var error = getError(value, values, props, validators[name], name);\n\n if (error) {\n errors = plain.setIn(errors, name, error);\n }\n });\n return errors;\n };\n}","import _extends from \"@babel/runtime/helpers/extends\";\nimport isPromise from 'is-promise';\nimport { isSubmissionError } from './SubmissionError';\n\nvar mergeErrors = function mergeErrors(_ref) {\n var asyncErrors = _ref.asyncErrors,\n syncErrors = _ref.syncErrors;\n return asyncErrors && typeof asyncErrors.merge === 'function' ? asyncErrors.merge(syncErrors).toJS() : _extends({}, asyncErrors, {}, syncErrors);\n};\n\nvar executeSubmit = function executeSubmit(submit, fields, props) {\n var dispatch = props.dispatch,\n submitAsSideEffect = props.submitAsSideEffect,\n onSubmitFail = props.onSubmitFail,\n onSubmitSuccess = props.onSubmitSuccess,\n startSubmit = props.startSubmit,\n stopSubmit = props.stopSubmit,\n setSubmitFailed = props.setSubmitFailed,\n setSubmitSucceeded = props.setSubmitSucceeded,\n values = props.values;\n var result;\n\n try {\n result = submit(values, dispatch, props);\n } catch (submitError) {\n var error = isSubmissionError(submitError) ? submitError.errors : undefined;\n stopSubmit(error);\n setSubmitFailed.apply(void 0, fields);\n\n if (onSubmitFail) {\n onSubmitFail(error, dispatch, submitError, props);\n }\n\n if (error || onSubmitFail) {\n // if you've provided an onSubmitFail callback, don't re-throw the error\n return error;\n } else {\n throw submitError;\n }\n }\n\n if (submitAsSideEffect) {\n if (result) {\n dispatch(result);\n }\n } else {\n if (isPromise(result)) {\n startSubmit();\n return result.then(function (submitResult) {\n stopSubmit();\n setSubmitSucceeded();\n\n if (onSubmitSuccess) {\n onSubmitSuccess(submitResult, dispatch, props);\n }\n\n return submitResult;\n }, function (submitError) {\n var error = isSubmissionError(submitError) ? submitError.errors : undefined;\n stopSubmit(error);\n setSubmitFailed.apply(void 0, fields);\n\n if (onSubmitFail) {\n onSubmitFail(error, dispatch, submitError, props);\n }\n\n if (error || onSubmitFail) {\n // if you've provided an onSubmitFail callback, don't re-throw the error\n return error;\n } else {\n throw submitError;\n }\n });\n } else {\n setSubmitSucceeded();\n\n if (onSubmitSuccess) {\n onSubmitSuccess(result, dispatch, props);\n }\n }\n }\n\n return result;\n};\n\nvar handleSubmit = function handleSubmit(submit, props, valid, asyncValidate, fields) {\n var dispatch = props.dispatch,\n onSubmitFail = props.onSubmitFail,\n setSubmitFailed = props.setSubmitFailed,\n syncErrors = props.syncErrors,\n asyncErrors = props.asyncErrors,\n touch = props.touch,\n persistentSubmitErrors = props.persistentSubmitErrors;\n touch.apply(void 0, fields);\n\n if (valid || persistentSubmitErrors) {\n var asyncValidateResult = asyncValidate && asyncValidate();\n\n if (asyncValidateResult) {\n return asyncValidateResult.then(function (asyncErrors) {\n if (asyncErrors) {\n throw asyncErrors;\n }\n\n return executeSubmit(submit, fields, props);\n })[\"catch\"](function (asyncErrors) {\n setSubmitFailed.apply(void 0, fields);\n\n if (onSubmitFail) {\n onSubmitFail(asyncErrors, dispatch, null, props);\n }\n\n return Promise.reject(asyncErrors);\n });\n } else {\n return executeSubmit(submit, fields, props);\n }\n } else {\n setSubmitFailed.apply(void 0, fields);\n var errors = mergeErrors({\n asyncErrors: asyncErrors,\n syncErrors: syncErrors\n });\n\n if (onSubmitFail) {\n onSubmitFail(errors, dispatch, null, props);\n }\n\n return errors;\n }\n};\n\nexport default handleSubmit;","var getDisplayName = function getDisplayName(Comp) {\n return Comp.displayName || Comp.name || 'Component';\n};\n\nexport default getDisplayName;","import _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inheritsLoose from \"@babel/runtime/helpers/inheritsLoose\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nimport _merge from \"lodash/merge\";\nimport _mapValues from \"lodash/mapValues\";\nimport hoistStatics from 'hoist-non-react-statics';\nimport invariant from 'invariant';\nimport isPromise from 'is-promise';\nimport PropTypes from 'prop-types';\nimport React, { createElement } from 'react';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport importedActions from './actions';\nimport asyncValidation from './asyncValidation';\nimport defaultShouldAsyncValidate from './defaultShouldAsyncValidate';\nimport defaultShouldValidate from './defaultShouldValidate';\nimport defaultShouldError from './defaultShouldError';\nimport defaultShouldWarn from './defaultShouldWarn';\nimport silenceEvent from './events/silenceEvent';\nimport silenceEvents from './events/silenceEvents';\nimport generateValidator from './generateValidator';\nimport handleSubmit from './handleSubmit';\nimport createIsValid from './selectors/isValid';\nimport plain from './structure/plain';\nimport getDisplayName from './util/getDisplayName';\nimport isHotReloading from './util/isHotReloading';\nimport { withReduxForm, ReduxFormContext } from './ReduxFormContext';\n\nvar isClassComponent = function isClassComponent(Component) {\n return Boolean(Component && Component.prototype && typeof Component.prototype.isReactComponent === 'object');\n}; // extract field-specific actions\n\n\nvar arrayInsert = importedActions.arrayInsert,\n arrayMove = importedActions.arrayMove,\n arrayPop = importedActions.arrayPop,\n arrayPush = importedActions.arrayPush,\n arrayRemove = importedActions.arrayRemove,\n arrayRemoveAll = importedActions.arrayRemoveAll,\n arrayShift = importedActions.arrayShift,\n arraySplice = importedActions.arraySplice,\n arraySwap = importedActions.arraySwap,\n arrayUnshift = importedActions.arrayUnshift,\n blur = importedActions.blur,\n change = importedActions.change,\n focus = importedActions.focus,\n formActions = _objectWithoutPropertiesLoose(importedActions, [\"arrayInsert\", \"arrayMove\", \"arrayPop\", \"arrayPush\", \"arrayRemove\", \"arrayRemoveAll\", \"arrayShift\", \"arraySplice\", \"arraySwap\", \"arrayUnshift\", \"blur\", \"change\", \"focus\"]);\n\nvar arrayActions = {\n arrayInsert: arrayInsert,\n arrayMove: arrayMove,\n arrayPop: arrayPop,\n arrayPush: arrayPush,\n arrayRemove: arrayRemove,\n arrayRemoveAll: arrayRemoveAll,\n arrayShift: arrayShift,\n arraySplice: arraySplice,\n arraySwap: arraySwap,\n arrayUnshift: arrayUnshift\n};\nvar propsToNotUpdateFor = [].concat(Object.keys(importedActions), ['array', 'asyncErrors', 'initialValues', 'syncErrors', 'syncWarnings', 'values', 'registeredFields']);\n\nvar checkSubmit = function checkSubmit(submit) {\n if (!submit || typeof submit !== 'function') {\n throw new Error('You must either pass handleSubmit() an onSubmit function or pass onSubmit as a prop');\n }\n\n return submit;\n};\n/**\n * The decorator that is the main API to redux-form\n */\n\n\nexport default function createReduxForm(structure) {\n var deepEqual = structure.deepEqual,\n empty = structure.empty,\n getIn = structure.getIn,\n setIn = structure.setIn,\n keys = structure.keys,\n fromJS = structure.fromJS,\n toJS = structure.toJS;\n var isValid = createIsValid(structure);\n return function (initialConfig) {\n var config = _extends({\n touchOnBlur: true,\n touchOnChange: false,\n persistentSubmitErrors: false,\n destroyOnUnmount: true,\n shouldAsyncValidate: defaultShouldAsyncValidate,\n shouldValidate: defaultShouldValidate,\n shouldError: defaultShouldError,\n shouldWarn: defaultShouldWarn,\n enableReinitialize: false,\n keepDirtyOnReinitialize: false,\n updateUnregisteredFields: false,\n getFormState: function getFormState(state) {\n return getIn(state, 'form');\n },\n pure: true,\n forceUnregisterOnUnmount: false,\n submitAsSideEffect: false\n }, initialConfig);\n\n return function (WrappedComponent) {\n var Form =\n /*#__PURE__*/\n function (_React$Component) {\n _inheritsLoose(Form, _React$Component);\n\n function Form() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.wrapped = React.createRef();\n _this.destroyed = false;\n _this.fieldCounts = {};\n _this.fieldValidators = {};\n _this.lastFieldValidatorKeys = [];\n _this.fieldWarners = {};\n _this.lastFieldWarnerKeys = [];\n _this.innerOnSubmit = undefined;\n _this.submitPromise = undefined;\n\n _this.initIfNeeded = function (nextProps) {\n var enableReinitialize = _this.props.enableReinitialize;\n\n if (nextProps) {\n if ((enableReinitialize || !nextProps.initialized) && !deepEqual(_this.props.initialValues, nextProps.initialValues)) {\n var _keepDirty = nextProps.initialized && _this.props.keepDirtyOnReinitialize;\n\n _this.props.initialize(nextProps.initialValues, _keepDirty, {\n keepValues: nextProps.keepValues,\n lastInitialValues: _this.props.initialValues,\n updateUnregisteredFields: nextProps.updateUnregisteredFields\n });\n }\n } else if (_this.props.initialValues && (!_this.props.initialized || enableReinitialize)) {\n _this.props.initialize(_this.props.initialValues, _this.props.keepDirtyOnReinitialize, {\n keepValues: _this.props.keepValues,\n updateUnregisteredFields: _this.props.updateUnregisteredFields\n });\n }\n };\n\n _this.updateSyncErrorsIfNeeded = function (nextSyncErrors, nextError, lastSyncErrors) {\n var _this$props = _this.props,\n error = _this$props.error,\n updateSyncErrors = _this$props.updateSyncErrors;\n var noErrors = (!lastSyncErrors || !Object.keys(lastSyncErrors).length) && !error;\n var nextNoErrors = (!nextSyncErrors || !Object.keys(nextSyncErrors).length) && !nextError;\n\n if (!(noErrors && nextNoErrors) && (!plain.deepEqual(lastSyncErrors, nextSyncErrors) || !plain.deepEqual(error, nextError))) {\n updateSyncErrors(nextSyncErrors, nextError);\n }\n };\n\n _this.clearSubmitPromiseIfNeeded = function (nextProps) {\n var submitting = _this.props.submitting;\n\n if (_this.submitPromise && submitting && !nextProps.submitting) {\n delete _this.submitPromise;\n }\n };\n\n _this.submitIfNeeded = function (nextProps) {\n var _this$props2 = _this.props,\n clearSubmit = _this$props2.clearSubmit,\n triggerSubmit = _this$props2.triggerSubmit;\n\n if (!triggerSubmit && nextProps.triggerSubmit) {\n clearSubmit();\n\n _this.submit();\n }\n };\n\n _this.shouldErrorFunction = function () {\n var _this$props3 = _this.props,\n shouldValidate = _this$props3.shouldValidate,\n shouldError = _this$props3.shouldError;\n var shouldValidateOverridden = shouldValidate !== defaultShouldValidate;\n var shouldErrorOverridden = shouldError !== defaultShouldError;\n return shouldValidateOverridden && !shouldErrorOverridden ? shouldValidate : shouldError;\n };\n\n _this.validateIfNeeded = function (nextProps) {\n var _this$props4 = _this.props,\n validate = _this$props4.validate,\n values = _this$props4.values;\n\n var shouldError = _this.shouldErrorFunction();\n\n var fieldLevelValidate = _this.generateValidator();\n\n if (validate || fieldLevelValidate) {\n var initialRender = nextProps === undefined;\n var fieldValidatorKeys = Object.keys(_this.getValidators());\n var validateParams = {\n values: values,\n nextProps: nextProps,\n props: _this.props,\n initialRender: initialRender,\n lastFieldValidatorKeys: _this.lastFieldValidatorKeys,\n fieldValidatorKeys: fieldValidatorKeys,\n structure: structure\n };\n\n if (shouldError(validateParams)) {\n var propsToValidate = initialRender || !nextProps ? _this.props : nextProps;\n\n var _merge2 = _merge(validate ? validate(propsToValidate.values, propsToValidate) || {} : {}, fieldLevelValidate ? fieldLevelValidate(propsToValidate.values, propsToValidate) || {} : {}),\n _error = _merge2._error,\n nextSyncErrors = _objectWithoutPropertiesLoose(_merge2, [\"_error\"]);\n\n _this.lastFieldValidatorKeys = fieldValidatorKeys;\n\n _this.updateSyncErrorsIfNeeded(nextSyncErrors, _error, propsToValidate.syncErrors);\n }\n } else {\n _this.lastFieldValidatorKeys = [];\n }\n };\n\n _this.updateSyncWarningsIfNeeded = function (nextSyncWarnings, nextWarning, lastSyncWarnings) {\n var _this$props5 = _this.props,\n warning = _this$props5.warning,\n updateSyncWarnings = _this$props5.updateSyncWarnings;\n var noWarnings = (!lastSyncWarnings || !Object.keys(lastSyncWarnings).length) && !warning;\n var nextNoWarnings = (!nextSyncWarnings || !Object.keys(nextSyncWarnings).length) && !nextWarning;\n\n if (!(noWarnings && nextNoWarnings) && (!plain.deepEqual(lastSyncWarnings, nextSyncWarnings) || !plain.deepEqual(warning, nextWarning))) {\n updateSyncWarnings(nextSyncWarnings, nextWarning);\n }\n };\n\n _this.shouldWarnFunction = function () {\n var _this$props6 = _this.props,\n shouldValidate = _this$props6.shouldValidate,\n shouldWarn = _this$props6.shouldWarn;\n var shouldValidateOverridden = shouldValidate !== defaultShouldValidate;\n var shouldWarnOverridden = shouldWarn !== defaultShouldWarn;\n return shouldValidateOverridden && !shouldWarnOverridden ? shouldValidate : shouldWarn;\n };\n\n _this.warnIfNeeded = function (nextProps) {\n var _this$props7 = _this.props,\n warn = _this$props7.warn,\n values = _this$props7.values;\n\n var shouldWarn = _this.shouldWarnFunction();\n\n var fieldLevelWarn = _this.generateWarner();\n\n if (warn || fieldLevelWarn) {\n var initialRender = nextProps === undefined;\n var fieldWarnerKeys = Object.keys(_this.getWarners());\n var validateParams = {\n values: values,\n nextProps: nextProps,\n props: _this.props,\n initialRender: initialRender,\n lastFieldValidatorKeys: _this.lastFieldWarnerKeys,\n fieldValidatorKeys: fieldWarnerKeys,\n structure: structure\n };\n\n if (shouldWarn(validateParams)) {\n var propsToWarn = initialRender || !nextProps ? _this.props : nextProps;\n\n var _merge3 = _merge(warn ? warn(propsToWarn.values, propsToWarn) : {}, fieldLevelWarn ? fieldLevelWarn(propsToWarn.values, propsToWarn) : {}),\n _warning = _merge3._warning,\n nextSyncWarnings = _objectWithoutPropertiesLoose(_merge3, [\"_warning\"]);\n\n _this.lastFieldWarnerKeys = fieldWarnerKeys;\n\n _this.updateSyncWarningsIfNeeded(nextSyncWarnings, _warning, propsToWarn.syncWarnings);\n }\n }\n };\n\n _this.getValues = function () {\n return _this.props.values;\n };\n\n _this.isValid = function () {\n return _this.props.valid;\n };\n\n _this.isPristine = function () {\n return _this.props.pristine;\n };\n\n _this.register = function (name, type, getValidator, getWarner) {\n var lastCount = _this.fieldCounts[name];\n var nextCount = (lastCount || 0) + 1;\n _this.fieldCounts[name] = nextCount;\n\n _this.props.registerField(name, type);\n\n if (getValidator) {\n _this.fieldValidators[name] = getValidator;\n }\n\n if (getWarner) {\n _this.fieldWarners[name] = getWarner;\n }\n };\n\n _this.unregister = function (name) {\n var lastCount = _this.fieldCounts[name];\n if (lastCount === 1) delete _this.fieldCounts[name];else if (lastCount != null) _this.fieldCounts[name] = lastCount - 1;\n\n if (!_this.destroyed) {\n var _this$props8 = _this.props,\n _destroyOnUnmount = _this$props8.destroyOnUnmount,\n forceUnregisterOnUnmount = _this$props8.forceUnregisterOnUnmount,\n unregisterField = _this$props8.unregisterField;\n\n if (_destroyOnUnmount || forceUnregisterOnUnmount) {\n unregisterField(name, _destroyOnUnmount);\n\n if (!_this.fieldCounts[name]) {\n delete _this.fieldValidators[name];\n delete _this.fieldWarners[name];\n _this.lastFieldValidatorKeys = _this.lastFieldValidatorKeys.filter(function (key) {\n return key !== name;\n });\n }\n } else {\n unregisterField(name, false);\n }\n }\n };\n\n _this.getFieldList = function (options) {\n var registeredFields = _this.props.registeredFields;\n\n if (!registeredFields) {\n return [];\n }\n\n var keySeq = keys(registeredFields);\n\n if (options) {\n if (options.excludeFieldArray) {\n keySeq = keySeq.filter(function (name) {\n return getIn(registeredFields, \"['\" + name + \"'].type\") !== 'FieldArray';\n });\n }\n\n if (options.excludeUnregistered) {\n keySeq = keySeq.filter(function (name) {\n return getIn(registeredFields, \"['\" + name + \"'].count\") !== 0;\n });\n }\n }\n\n return toJS(keySeq);\n };\n\n _this.getValidators = function () {\n var validators = {};\n Object.keys(_this.fieldValidators).forEach(function (name) {\n var validator = _this.fieldValidators[name]();\n\n if (validator) {\n validators[name] = validator;\n }\n });\n return validators;\n };\n\n _this.generateValidator = function () {\n var validators = _this.getValidators();\n\n return Object.keys(validators).length ? generateValidator(validators, structure) : undefined;\n };\n\n _this.getWarners = function () {\n var warners = {};\n Object.keys(_this.fieldWarners).forEach(function (name) {\n var warner = _this.fieldWarners[name]();\n\n if (warner) {\n warners[name] = warner;\n }\n });\n return warners;\n };\n\n _this.generateWarner = function () {\n var warners = _this.getWarners();\n\n return Object.keys(warners).length ? generateValidator(warners, structure) : undefined;\n };\n\n _this.asyncValidate = function (name, value, trigger) {\n var _this$props9 = _this.props,\n asyncBlurFields = _this$props9.asyncBlurFields,\n asyncChangeFields = _this$props9.asyncChangeFields,\n asyncErrors = _this$props9.asyncErrors,\n asyncValidate = _this$props9.asyncValidate,\n dispatch = _this$props9.dispatch,\n initialized = _this$props9.initialized,\n pristine = _this$props9.pristine,\n shouldAsyncValidate = _this$props9.shouldAsyncValidate,\n startAsyncValidation = _this$props9.startAsyncValidation,\n stopAsyncValidation = _this$props9.stopAsyncValidation,\n syncErrors = _this$props9.syncErrors,\n values = _this$props9.values;\n var submitting = !name;\n\n var fieldNeedsValidation = function fieldNeedsValidation() {\n var fieldNeedsValidationForBlur = asyncBlurFields && name && ~asyncBlurFields.indexOf(name.replace(/\\[[0-9]+]/g, '[]'));\n var fieldNeedsValidationForChange = asyncChangeFields && name && ~asyncChangeFields.indexOf(name.replace(/\\[[0-9]+]/g, '[]'));\n var asyncValidateByDefault = !(asyncBlurFields || asyncChangeFields);\n return submitting || asyncValidateByDefault || (trigger === 'blur' ? fieldNeedsValidationForBlur : fieldNeedsValidationForChange);\n };\n\n if (asyncValidate) {\n var valuesToValidate = submitting ? values : setIn(values, name, value);\n var syncValidationPasses = submitting || !getIn(syncErrors, name);\n\n if (fieldNeedsValidation() && shouldAsyncValidate({\n asyncErrors: asyncErrors,\n initialized: initialized,\n trigger: submitting ? 'submit' : trigger,\n blurredField: name,\n pristine: pristine,\n syncValidationPasses: syncValidationPasses\n })) {\n return asyncValidation(function () {\n return asyncValidate(valuesToValidate, dispatch, _this.props, name);\n }, startAsyncValidation, stopAsyncValidation, name);\n }\n }\n };\n\n _this.submitCompleted = function (result) {\n delete _this.submitPromise;\n return result;\n };\n\n _this.submitFailed = function (error) {\n delete _this.submitPromise;\n throw error;\n };\n\n _this.listenToSubmit = function (promise) {\n if (!isPromise(promise)) {\n return promise;\n }\n\n _this.submitPromise = promise;\n return promise.then(_this.submitCompleted, _this.submitFailed);\n };\n\n _this.submit = function (submitOrEvent) {\n var _this$props10 = _this.props,\n onSubmit = _this$props10.onSubmit,\n blur = _this$props10.blur,\n change = _this$props10.change,\n dispatch = _this$props10.dispatch;\n\n if (!submitOrEvent || silenceEvent(submitOrEvent)) {\n // submitOrEvent is an event: fire submit if not already submitting\n if (!_this.submitPromise) {\n // avoid recursive stack trace if use Form with onSubmit as handleSubmit\n if (_this.innerOnSubmit && _this.innerOnSubmit !== _this.submit) {\n // will call \"submitOrEvent is the submit function\" block below\n return _this.innerOnSubmit();\n } else {\n return _this.listenToSubmit(handleSubmit(checkSubmit(onSubmit), _extends({}, _this.props, {}, bindActionCreators({\n blur: blur,\n change: change\n }, dispatch)), // TODO: fix type, should be `Props`\n _this.props.validExceptSubmit, _this.asyncValidate, _this.getFieldList({\n excludeFieldArray: true,\n excludeUnregistered: true\n })));\n }\n }\n } else {\n // submitOrEvent is the submit function: return deferred submit thunk\n return silenceEvents(function () {\n return !_this.submitPromise && _this.listenToSubmit(handleSubmit(checkSubmit(submitOrEvent), _extends({}, _this.props, {}, bindActionCreators({\n blur: blur,\n change: change\n }, dispatch)), // TODO: fix type, should be `Props`\n _this.props.validExceptSubmit, _this.asyncValidate, _this.getFieldList({\n excludeFieldArray: true,\n excludeUnregistered: true\n })));\n });\n }\n };\n\n _this.reset = function () {\n return _this.props.reset();\n };\n\n return _this;\n }\n\n var _proto = Form.prototype;\n\n _proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {\n if (!isHotReloading()) {\n this.initIfNeeded();\n this.validateIfNeeded();\n this.warnIfNeeded();\n }\n\n invariant(this.props.shouldValidate, 'shouldValidate() is deprecated and will be removed in v9.0.0. Use shouldWarn() or shouldError() instead.');\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n this.initIfNeeded(nextProps);\n this.validateIfNeeded(nextProps);\n this.warnIfNeeded(nextProps);\n this.clearSubmitPromiseIfNeeded(nextProps);\n this.submitIfNeeded(nextProps);\n var onChange = nextProps.onChange,\n values = nextProps.values,\n dispatch = nextProps.dispatch;\n\n if (onChange && !deepEqual(values, this.props.values)) {\n onChange(values, dispatch, nextProps, this.props.values);\n }\n };\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n var _this2 = this;\n\n if (!this.props.pure) return true;\n var _config$immutableProp = config.immutableProps,\n immutableProps = _config$immutableProp === void 0 ? [] : _config$immutableProp; // if we have children, we MUST update in React 16\n // https://twitter.com/erikras/status/915866544558788608\n\n return !!(this.props.children || nextProps.children || Object.keys(nextProps).some(function (prop) {\n // useful to debug rerenders\n // if (!plain.deepEqual(this.props[ prop ], nextProps[ prop ])) {\n // console.info(prop, 'changed', this.props[ prop ], '==>', nextProps[ prop ])\n // }\n if (~immutableProps.indexOf(prop)) {\n return _this2.props[prop] !== nextProps[prop];\n }\n\n return !~propsToNotUpdateFor.indexOf(prop) && !deepEqual(_this2.props[prop], nextProps[prop]);\n }));\n };\n\n _proto.componentDidMount = function componentDidMount() {\n if (!isHotReloading()) {\n this.initIfNeeded(this.props);\n this.validateIfNeeded();\n this.warnIfNeeded();\n }\n\n invariant(this.props.shouldValidate, 'shouldValidate() is deprecated and will be removed in v9.0.0. Use shouldWarn() or shouldError() instead.');\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var _this$props11 = this.props,\n destroyOnUnmount = _this$props11.destroyOnUnmount,\n destroy = _this$props11.destroy;\n\n if (destroyOnUnmount && !isHotReloading()) {\n this.destroyed = true;\n destroy();\n }\n };\n\n _proto.render = function render() {\n var _ref,\n _this3 = this; // remove some redux-form config-only props\n\n /* eslint-disable no-unused-vars */\n\n\n var _this$props12 = this.props,\n anyTouched = _this$props12.anyTouched,\n array = _this$props12.array,\n arrayInsert = _this$props12.arrayInsert,\n arrayMove = _this$props12.arrayMove,\n arrayPop = _this$props12.arrayPop,\n arrayPush = _this$props12.arrayPush,\n arrayRemove = _this$props12.arrayRemove,\n arrayRemoveAll = _this$props12.arrayRemoveAll,\n arrayShift = _this$props12.arrayShift,\n arraySplice = _this$props12.arraySplice,\n arraySwap = _this$props12.arraySwap,\n arrayUnshift = _this$props12.arrayUnshift,\n asyncErrors = _this$props12.asyncErrors,\n asyncValidate = _this$props12.asyncValidate,\n asyncValidating = _this$props12.asyncValidating,\n blur = _this$props12.blur,\n change = _this$props12.change,\n clearSubmit = _this$props12.clearSubmit,\n destroy = _this$props12.destroy,\n destroyOnUnmount = _this$props12.destroyOnUnmount,\n forceUnregisterOnUnmount = _this$props12.forceUnregisterOnUnmount,\n dirty = _this$props12.dirty,\n dispatch = _this$props12.dispatch,\n enableReinitialize = _this$props12.enableReinitialize,\n error = _this$props12.error,\n focus = _this$props12.focus,\n form = _this$props12.form,\n getFormState = _this$props12.getFormState,\n immutableProps = _this$props12.immutableProps,\n initialize = _this$props12.initialize,\n initialized = _this$props12.initialized,\n initialValues = _this$props12.initialValues,\n invalid = _this$props12.invalid,\n keepDirtyOnReinitialize = _this$props12.keepDirtyOnReinitialize,\n keepValues = _this$props12.keepValues,\n updateUnregisteredFields = _this$props12.updateUnregisteredFields,\n pristine = _this$props12.pristine,\n propNamespace = _this$props12.propNamespace,\n registeredFields = _this$props12.registeredFields,\n registerField = _this$props12.registerField,\n reset = _this$props12.reset,\n resetSection = _this$props12.resetSection,\n setSubmitFailed = _this$props12.setSubmitFailed,\n setSubmitSucceeded = _this$props12.setSubmitSucceeded,\n shouldAsyncValidate = _this$props12.shouldAsyncValidate,\n shouldValidate = _this$props12.shouldValidate,\n shouldError = _this$props12.shouldError,\n shouldWarn = _this$props12.shouldWarn,\n startAsyncValidation = _this$props12.startAsyncValidation,\n startSubmit = _this$props12.startSubmit,\n stopAsyncValidation = _this$props12.stopAsyncValidation,\n stopSubmit = _this$props12.stopSubmit,\n submitAsSideEffect = _this$props12.submitAsSideEffect,\n submitting = _this$props12.submitting,\n submitFailed = _this$props12.submitFailed,\n submitSucceeded = _this$props12.submitSucceeded,\n touch = _this$props12.touch,\n touchOnBlur = _this$props12.touchOnBlur,\n touchOnChange = _this$props12.touchOnChange,\n persistentSubmitErrors = _this$props12.persistentSubmitErrors,\n syncErrors = _this$props12.syncErrors,\n syncWarnings = _this$props12.syncWarnings,\n unregisterField = _this$props12.unregisterField,\n untouch = _this$props12.untouch,\n updateSyncErrors = _this$props12.updateSyncErrors,\n updateSyncWarnings = _this$props12.updateSyncWarnings,\n valid = _this$props12.valid,\n validExceptSubmit = _this$props12.validExceptSubmit,\n values = _this$props12.values,\n warning = _this$props12.warning,\n rest = _objectWithoutPropertiesLoose(_this$props12, [\"anyTouched\", \"array\", \"arrayInsert\", \"arrayMove\", \"arrayPop\", \"arrayPush\", \"arrayRemove\", \"arrayRemoveAll\", \"arrayShift\", \"arraySplice\", \"arraySwap\", \"arrayUnshift\", \"asyncErrors\", \"asyncValidate\", \"asyncValidating\", \"blur\", \"change\", \"clearSubmit\", \"destroy\", \"destroyOnUnmount\", \"forceUnregisterOnUnmount\", \"dirty\", \"dispatch\", \"enableReinitialize\", \"error\", \"focus\", \"form\", \"getFormState\", \"immutableProps\", \"initialize\", \"initialized\", \"initialValues\", \"invalid\", \"keepDirtyOnReinitialize\", \"keepValues\", \"updateUnregisteredFields\", \"pristine\", \"propNamespace\", \"registeredFields\", \"registerField\", \"reset\", \"resetSection\", \"setSubmitFailed\", \"setSubmitSucceeded\", \"shouldAsyncValidate\", \"shouldValidate\", \"shouldError\", \"shouldWarn\", \"startAsyncValidation\", \"startSubmit\", \"stopAsyncValidation\", \"stopSubmit\", \"submitAsSideEffect\", \"submitting\", \"submitFailed\", \"submitSucceeded\", \"touch\", \"touchOnBlur\", \"touchOnChange\", \"persistentSubmitErrors\", \"syncErrors\", \"syncWarnings\", \"unregisterField\", \"untouch\", \"updateSyncErrors\", \"updateSyncWarnings\", \"valid\", \"validExceptSubmit\", \"values\", \"warning\"]);\n /* eslint-enable no-unused-vars */\n\n\n var reduxFormProps = _extends({\n array: array,\n anyTouched: anyTouched,\n asyncValidate: this.asyncValidate,\n asyncValidating: asyncValidating\n }, bindActionCreators({\n blur: blur,\n change: change\n }, dispatch), {\n clearSubmit: clearSubmit,\n destroy: destroy,\n dirty: dirty,\n dispatch: dispatch,\n error: error,\n form: form,\n handleSubmit: this.submit,\n initialize: initialize,\n initialized: initialized,\n initialValues: initialValues,\n invalid: invalid,\n pristine: pristine,\n reset: reset,\n resetSection: resetSection,\n submitting: submitting,\n submitAsSideEffect: submitAsSideEffect,\n submitFailed: submitFailed,\n submitSucceeded: submitSucceeded,\n touch: touch,\n untouch: untouch,\n valid: valid,\n warning: warning\n });\n\n var propsToPass = _extends({}, propNamespace ? (_ref = {}, _ref[propNamespace] = reduxFormProps, _ref) : reduxFormProps, {}, rest);\n\n if (isClassComponent(WrappedComponent)) {\n ;\n propsToPass.ref = this.wrapped;\n }\n\n var _reduxForm = _extends({}, this.props, {\n getFormState: function getFormState(state) {\n return getIn(_this3.props.getFormState(state), _this3.props.form);\n },\n asyncValidate: this.asyncValidate,\n getValues: this.getValues,\n sectionPrefix: undefined,\n register: this.register,\n unregister: this.unregister,\n registerInnerOnSubmit: function registerInnerOnSubmit(innerOnSubmit) {\n return _this3.innerOnSubmit = innerOnSubmit;\n }\n });\n\n return createElement(ReduxFormContext.Provider, {\n value: _reduxForm,\n children: createElement(WrappedComponent, propsToPass)\n });\n };\n\n return Form;\n }(React.Component);\n\n Form.displayName = \"Form(\" + getDisplayName(WrappedComponent) + \")\";\n Form.WrappedComponent = WrappedComponent;\n Form.propTypes = {\n destroyOnUnmount: PropTypes.bool,\n forceUnregisterOnUnmount: PropTypes.bool,\n form: PropTypes.string.isRequired,\n immutableProps: PropTypes.arrayOf(PropTypes.string),\n initialValues: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n getFormState: PropTypes.func,\n onSubmitFail: PropTypes.func,\n onSubmitSuccess: PropTypes.func,\n propNamespace: PropTypes.string,\n validate: PropTypes.func,\n warn: PropTypes.func,\n touchOnBlur: PropTypes.bool,\n touchOnChange: PropTypes.bool,\n triggerSubmit: PropTypes.bool,\n persistentSubmitErrors: PropTypes.bool,\n registeredFields: PropTypes.any\n };\n var connector = connect(function (state, props) {\n var form = props.form,\n getFormState = props.getFormState,\n initialValues = props.initialValues,\n enableReinitialize = props.enableReinitialize,\n keepDirtyOnReinitialize = props.keepDirtyOnReinitialize;\n var formState = getIn(getFormState(state) || empty, form) || empty;\n var stateInitial = getIn(formState, 'initial');\n var initialized = !!stateInitial;\n var shouldUpdateInitialValues = enableReinitialize && initialized && !deepEqual(initialValues, stateInitial);\n var shouldResetValues = shouldUpdateInitialValues && !keepDirtyOnReinitialize;\n var initial = initialValues || stateInitial || empty;\n\n if (!shouldUpdateInitialValues) {\n initial = stateInitial || empty;\n }\n\n var values = getIn(formState, 'values') || initial;\n\n if (shouldResetValues) {\n values = initial;\n }\n\n var pristine = shouldResetValues || deepEqual(initial, values);\n var asyncErrors = getIn(formState, 'asyncErrors');\n var syncErrors = getIn(formState, 'syncErrors') || plain.empty;\n var syncWarnings = getIn(formState, 'syncWarnings') || plain.empty;\n var registeredFields = getIn(formState, 'registeredFields');\n var valid = isValid(form, getFormState, false)(state);\n var validExceptSubmit = isValid(form, getFormState, true)(state);\n var anyTouched = !!getIn(formState, 'anyTouched');\n var submitting = !!getIn(formState, 'submitting');\n var submitFailed = !!getIn(formState, 'submitFailed');\n var submitSucceeded = !!getIn(formState, 'submitSucceeded');\n var error = getIn(formState, 'error');\n var warning = getIn(formState, 'warning');\n var triggerSubmit = getIn(formState, 'triggerSubmit');\n return {\n anyTouched: anyTouched,\n asyncErrors: asyncErrors,\n asyncValidating: getIn(formState, 'asyncValidating') || false,\n dirty: !pristine,\n error: error,\n initialized: initialized,\n invalid: !valid,\n pristine: pristine,\n registeredFields: registeredFields,\n submitting: submitting,\n submitFailed: submitFailed,\n submitSucceeded: submitSucceeded,\n syncErrors: syncErrors,\n syncWarnings: syncWarnings,\n triggerSubmit: triggerSubmit,\n values: values,\n valid: valid,\n validExceptSubmit: validExceptSubmit,\n warning: warning\n };\n }, function (dispatch, initialProps) {\n var bindForm = function bindForm(actionCreator) {\n return actionCreator.bind(null, initialProps.form);\n }; // Bind the first parameter on `props.form`\n\n\n var boundFormACs = _mapValues(formActions, bindForm);\n\n var boundArrayACs = _mapValues(arrayActions, bindForm);\n\n var boundBlur = function boundBlur(field, value) {\n return blur(initialProps.form, field, value, !!initialProps.touchOnBlur);\n };\n\n var boundChange = function boundChange(field, value) {\n return change(initialProps.form, field, value, !!initialProps.touchOnChange, !!initialProps.persistentSubmitErrors);\n };\n\n var boundFocus = bindForm(focus); // Wrap action creators with `dispatch`\n\n var connectedFormACs = bindActionCreators(boundFormACs, dispatch);\n var connectedArrayACs = {\n insert: bindActionCreators(boundArrayACs.arrayInsert, dispatch),\n move: bindActionCreators(boundArrayACs.arrayMove, dispatch),\n pop: bindActionCreators(boundArrayACs.arrayPop, dispatch),\n push: bindActionCreators(boundArrayACs.arrayPush, dispatch),\n remove: bindActionCreators(boundArrayACs.arrayRemove, dispatch),\n removeAll: bindActionCreators(boundArrayACs.arrayRemoveAll, dispatch),\n shift: bindActionCreators(boundArrayACs.arrayShift, dispatch),\n splice: bindActionCreators(boundArrayACs.arraySplice, dispatch),\n swap: bindActionCreators(boundArrayACs.arraySwap, dispatch),\n unshift: bindActionCreators(boundArrayACs.arrayUnshift, dispatch)\n };\n return _extends({}, connectedFormACs, {}, boundArrayACs, {\n blur: boundBlur,\n change: boundChange,\n array: connectedArrayACs,\n focus: boundFocus,\n dispatch: dispatch\n });\n }, undefined, {\n forwardRef: true\n });\n var ConnectedForm = hoistStatics(connector(Form), WrappedComponent);\n ConnectedForm.defaultProps = config; // build outer component to expose instance api\n\n var ReduxForm =\n /*#__PURE__*/\n function (_React$Component2) {\n _inheritsLoose(ReduxForm, _React$Component2);\n\n function ReduxForm() {\n var _this4;\n\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n _this4 = _React$Component2.call.apply(_React$Component2, [this].concat(args)) || this;\n _this4.ref = React.createRef();\n return _this4;\n }\n\n var _proto2 = ReduxForm.prototype;\n\n _proto2.submit = function submit() {\n return this.ref.current && this.ref.current.submit();\n };\n\n _proto2.reset = function reset() {\n if (this.ref) {\n this.ref.current.reset();\n }\n };\n\n _proto2.render = function render() {\n var _this$props13 = this.props,\n initialValues = _this$props13.initialValues,\n rest = _objectWithoutPropertiesLoose(_this$props13, [\"initialValues\"]);\n\n return createElement(ConnectedForm, _extends({}, rest, {\n ref: this.ref,\n // convert initialValues if need to\n initialValues: fromJS(initialValues)\n }));\n };\n\n _createClass(ReduxForm, [{\n key: \"valid\",\n get: function get() {\n return !!(this.ref.current && this.ref.current.isValid());\n }\n }, {\n key: \"invalid\",\n get: function get() {\n return !this.valid;\n }\n }, {\n key: \"pristine\",\n get: function get() {\n return !!(this.ref.current && this.ref.current.isPristine());\n }\n }, {\n key: \"dirty\",\n get: function get() {\n return !this.pristine;\n }\n }, {\n key: \"values\",\n get: function get() {\n return this.ref.current ? this.ref.current.getValues() : empty;\n }\n }, {\n key: \"fieldList\",\n get: function get() {\n // mainly provided for testing\n return this.ref.current ? this.ref.current.getFieldList() : [];\n }\n }, {\n key: \"wrappedInstance\",\n get: function get() {\n // for testing\n return this.ref.current && this.ref.current.wrapped.current;\n }\n }]);\n\n return ReduxForm;\n }(React.Component);\n\n var WithContext = hoistStatics(withReduxForm(ReduxForm), WrappedComponent);\n WithContext.defaultProps = config;\n return WithContext;\n };\n };\n}","import createReduxForm from './createReduxForm';\nimport plain from './structure/plain';\nexport default createReduxForm(plain);","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inheritsLoose from \"@babel/runtime/helpers/inheritsLoose\";\nimport _mapValues from \"lodash/mapValues\";\nimport React, { Component, createElement } from 'react';\nimport PropTypes from 'prop-types';\nimport { connect } from 'react-redux';\nimport { bindActionCreators } from 'redux';\nimport createFieldArrayProps from './createFieldArrayProps';\nimport plain from './structure/plain';\nimport validateComponentProp from './util/validateComponentProp';\nvar propsToNotUpdateFor = ['_reduxForm', 'value'];\nexport default function createConnectedFieldArray(structure) {\n var deepEqual = structure.deepEqual,\n getIn = structure.getIn,\n size = structure.size,\n equals = structure.equals,\n orderChanged = structure.orderChanged;\n\n var getSyncError = function getSyncError(syncErrors, name) {\n // For an array, the error can _ONLY_ be under _error.\n // This is why this getSyncError is not the same as the\n // one in Field.\n return plain.getIn(syncErrors, name + \"._error\");\n };\n\n var getSyncWarning = function getSyncWarning(syncWarnings, name) {\n // For an array, the warning can _ONLY_ be under _warning.\n // This is why this getSyncError is not the same as the\n // one in Field.\n return getIn(syncWarnings, name + \"._warning\");\n };\n\n var ConnectedFieldArray =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(ConnectedFieldArray, _Component);\n\n function ConnectedFieldArray() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _Component.call.apply(_Component, [this].concat(args)) || this;\n _this.ref = React.createRef();\n\n _this.getValue = function (index) {\n return _this.props.value && getIn(_this.props.value, String(index));\n };\n\n return _this;\n }\n\n var _proto = ConnectedFieldArray.prototype;\n\n _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {\n var _this2 = this; // Update if the elements of the value array was updated.\n\n\n var thisValue = this.props.value;\n var nextValue = nextProps.value;\n\n if (thisValue && nextValue) {\n var nextValueItemsSame = equals(nextValue, thisValue); //.every(val => ~thisValue.indexOf(val))\n\n var nextValueItemsOrderChanged = orderChanged(thisValue, nextValue);\n var thisValueLength = thisValue.length || thisValue.size;\n var nextValueLength = nextValue.length || nextValue.size;\n\n if (thisValueLength !== nextValueLength || nextValueItemsSame && nextValueItemsOrderChanged || nextProps.rerenderOnEveryChange && thisValue.some(function (val, index) {\n return !deepEqual(val, nextValue[index]);\n })) {\n return true;\n }\n }\n\n var nextPropsKeys = Object.keys(nextProps);\n var thisPropsKeys = Object.keys(this.props); // if we have children, we MUST update in React 16\n // https://twitter.com/erikras/status/915866544558788608\n\n return !!(this.props.children || nextProps.children || nextPropsKeys.length !== thisPropsKeys.length || nextPropsKeys.some(function (prop) {\n // useful to debug rerenders\n // if (!plain.deepEqual(this.props[ prop ], nextProps[ prop ])) {\n // console.info(prop, 'changed', this.props[ prop ], '==>', nextProps[ prop ])\n // }\n return !~propsToNotUpdateFor.indexOf(prop) && !deepEqual(_this2.props[prop], nextProps[prop]);\n }));\n };\n\n _proto.getRenderedComponent = function getRenderedComponent() {\n return this.ref.current;\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n component = _this$props.component,\n forwardRef = _this$props.forwardRef,\n name = _this$props.name,\n _reduxForm = _this$props._reduxForm,\n validate = _this$props.validate,\n warn = _this$props.warn,\n rerenderOnEveryChange = _this$props.rerenderOnEveryChange,\n rest = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"forwardRef\", \"name\", \"_reduxForm\", \"validate\", \"warn\", \"rerenderOnEveryChange\"]);\n\n var props = createFieldArrayProps(structure, name, _reduxForm.form, _reduxForm.sectionPrefix, this.getValue, rest);\n\n if (forwardRef) {\n props.ref = this.ref;\n }\n\n return createElement(component, props);\n };\n\n _createClass(ConnectedFieldArray, [{\n key: \"dirty\",\n get: function get() {\n return this.props.dirty;\n }\n }, {\n key: \"pristine\",\n get: function get() {\n return this.props.pristine;\n }\n }, {\n key: \"value\",\n get: function get() {\n return this.props.value;\n }\n }]);\n\n return ConnectedFieldArray;\n }(Component);\n\n ConnectedFieldArray.propTypes = {\n component: validateComponentProp,\n props: PropTypes.object,\n rerenderOnEveryChange: PropTypes.bool\n };\n ConnectedFieldArray.defaultProps = {\n rerenderOnEveryChange: false\n };\n var connector = connect(function (state, ownProps) {\n var name = ownProps.name,\n _ownProps$_reduxForm = ownProps._reduxForm,\n initialValues = _ownProps$_reduxForm.initialValues,\n getFormState = _ownProps$_reduxForm.getFormState;\n var formState = getFormState(state);\n var initial = getIn(formState, \"initial.\" + name) || initialValues && getIn(initialValues, name);\n var value = getIn(formState, \"values.\" + name);\n var submitting = getIn(formState, 'submitting');\n var syncError = getSyncError(getIn(formState, 'syncErrors'), name);\n var syncWarning = getSyncWarning(getIn(formState, 'syncWarnings'), name);\n var pristine = deepEqual(value, initial);\n return {\n asyncError: getIn(formState, \"asyncErrors.\" + name + \"._error\"),\n dirty: !pristine,\n pristine: pristine,\n state: getIn(formState, \"fields.\" + name),\n submitError: getIn(formState, \"submitErrors.\" + name + \"._error\"),\n submitFailed: getIn(formState, 'submitFailed'),\n submitting: submitting,\n syncError: syncError,\n syncWarning: syncWarning,\n value: value,\n length: size(value)\n };\n }, function (dispatch, ownProps) {\n var name = ownProps.name,\n _reduxForm = ownProps._reduxForm;\n var arrayInsert = _reduxForm.arrayInsert,\n arrayMove = _reduxForm.arrayMove,\n arrayPop = _reduxForm.arrayPop,\n arrayPush = _reduxForm.arrayPush,\n arrayRemove = _reduxForm.arrayRemove,\n arrayRemoveAll = _reduxForm.arrayRemoveAll,\n arrayShift = _reduxForm.arrayShift,\n arraySplice = _reduxForm.arraySplice,\n arraySwap = _reduxForm.arraySwap,\n arrayUnshift = _reduxForm.arrayUnshift;\n return _mapValues({\n arrayInsert: arrayInsert,\n arrayMove: arrayMove,\n arrayPop: arrayPop,\n arrayPush: arrayPush,\n arrayRemove: arrayRemove,\n arrayRemoveAll: arrayRemoveAll,\n arrayShift: arrayShift,\n arraySplice: arraySplice,\n arraySwap: arraySwap,\n arrayUnshift: arrayUnshift\n }, function (actionCreator) {\n return bindActionCreators(actionCreator.bind(null, name), dispatch);\n });\n }, undefined, {\n forwardRef: true\n });\n return connector(ConnectedFieldArray);\n}","import _extends from \"@babel/runtime/helpers/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nexport default function createFieldArrayProps(_ref, name, form, sectionPrefix, getValue, _ref2) {\n var getIn = _ref.getIn;\n\n var arrayInsert = _ref2.arrayInsert,\n arrayMove = _ref2.arrayMove,\n arrayPop = _ref2.arrayPop,\n arrayPush = _ref2.arrayPush,\n arrayRemove = _ref2.arrayRemove,\n arrayRemoveAll = _ref2.arrayRemoveAll,\n arrayShift = _ref2.arrayShift,\n arraySplice = _ref2.arraySplice,\n arraySwap = _ref2.arraySwap,\n arrayUnshift = _ref2.arrayUnshift,\n asyncError = _ref2.asyncError,\n dirty = _ref2.dirty,\n length = _ref2.length,\n pristine = _ref2.pristine,\n submitError = _ref2.submitError,\n state = _ref2.state,\n submitFailed = _ref2.submitFailed,\n submitting = _ref2.submitting,\n syncError = _ref2.syncError,\n syncWarning = _ref2.syncWarning,\n value = _ref2.value,\n props = _ref2.props,\n rest = _objectWithoutPropertiesLoose(_ref2, [\"arrayInsert\", \"arrayMove\", \"arrayPop\", \"arrayPush\", \"arrayRemove\", \"arrayRemoveAll\", \"arrayShift\", \"arraySplice\", \"arraySwap\", \"arrayUnshift\", \"asyncError\", \"dirty\", \"length\", \"pristine\", \"submitError\", \"state\", \"submitFailed\", \"submitting\", \"syncError\", \"syncWarning\", \"value\", \"props\"]);\n\n var error = syncError || asyncError || submitError;\n var warning = syncWarning;\n var fieldName = sectionPrefix ? name.replace(sectionPrefix + \".\", '') : name;\n\n var finalProps = _extends({\n fields: {\n _isFieldArray: true,\n forEach: function forEach(callback) {\n return (value || []).forEach(function (item, index) {\n return callback(fieldName + \"[\" + index + \"]\", index, finalProps.fields);\n });\n },\n get: getValue,\n getAll: function getAll() {\n return value;\n },\n insert: arrayInsert,\n length: length,\n map: function map(callback) {\n return (value || []).map(function (item, index) {\n return callback(fieldName + \"[\" + index + \"]\", index, finalProps.fields);\n });\n },\n move: arrayMove,\n name: name,\n pop: function pop() {\n arrayPop();\n return getIn(value, String(length - 1));\n },\n push: arrayPush,\n reduce: function reduce(callback, initial) {\n return (value || []).reduce(function (accumulator, item, index) {\n return callback(accumulator, fieldName + \"[\" + index + \"]\", index, finalProps.fields);\n }, initial);\n },\n remove: arrayRemove,\n removeAll: arrayRemoveAll,\n shift: function shift() {\n arrayShift();\n return getIn(value, '0');\n },\n splice: arraySplice,\n swap: arraySwap,\n unshift: arrayUnshift\n },\n meta: {\n dirty: dirty,\n error: error,\n form: form,\n warning: warning,\n invalid: !!error,\n pristine: pristine,\n submitting: submitting,\n submitFailed: submitFailed,\n valid: !error\n }\n }, props, {}, rest);\n\n return finalProps;\n}","import _extends from \"@babel/runtime/helpers/extends\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _inheritsLoose from \"@babel/runtime/helpers/inheritsLoose\";\nimport React, { Component, createElement } from 'react';\nimport PropTypes from 'prop-types';\nimport invariant from 'invariant';\nimport createConnectedFieldArray from './ConnectedFieldArray';\nimport prefixName from './util/prefixName';\nimport { withReduxForm } from './ReduxFormContext';\nimport validateComponentProp from './util/validateComponentProp';\n\nvar toArray = function toArray(value) {\n return Array.isArray(value) ? value : [value];\n};\n\nvar wrapError = function wrapError(fn, key) {\n return fn && function () {\n var validators = toArray(fn);\n\n for (var i = 0; i < validators.length; i++) {\n var result = validators[i].apply(validators, arguments);\n\n if (result) {\n var _ref;\n\n return _ref = {}, _ref[key] = result, _ref;\n }\n }\n };\n};\n\nexport default function createFieldArray(structure) {\n var ConnectedFieldArray = createConnectedFieldArray(structure);\n\n var FieldArray =\n /*#__PURE__*/\n function (_Component) {\n _inheritsLoose(FieldArray, _Component);\n\n function FieldArray(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.ref = React.createRef();\n\n if (!props._reduxForm) {\n throw new Error('FieldArray must be inside a component decorated with reduxForm()');\n }\n\n return _this;\n }\n\n var _proto = FieldArray.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n var _this2 = this;\n\n this.props._reduxForm.register(this.name, 'FieldArray', function () {\n return wrapError(_this2.props.validate, '_error');\n }, function () {\n return wrapError(_this2.props.warn, '_warning');\n });\n };\n\n _proto.UNSAFE_componentWillReceiveProps = function UNSAFE_componentWillReceiveProps(nextProps) {\n var oldName = prefixName(this.props, this.props.name);\n var newName = prefixName(nextProps, nextProps.name);\n\n if (oldName !== newName) {\n // unregister old name\n this.props._reduxForm.unregister(oldName); // register new name\n\n\n this.props._reduxForm.register(newName, 'FieldArray');\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.props._reduxForm.unregister(this.name);\n };\n\n _proto.getRenderedComponent = function getRenderedComponent() {\n invariant(this.props.forwardRef, 'If you want to access getRenderedComponent(), ' + 'you must specify a forwardRef prop to FieldArray');\n return this.ref && this.ref.current.getRenderedComponent();\n };\n\n _proto.render = function render() {\n return createElement(ConnectedFieldArray, _extends({}, this.props, {\n name: this.name,\n ref: this.ref\n }));\n };\n\n _createClass(FieldArray, [{\n key: \"name\",\n get: function get() {\n return prefixName(this.props, this.props.name);\n }\n }, {\n key: \"dirty\",\n get: function get() {\n return !this.ref || this.ref.current.dirty;\n }\n }, {\n key: \"pristine\",\n get: function get() {\n return !!(this.ref && this.ref.current.pristine);\n }\n }, {\n key: \"value\",\n get: function get() {\n return this.ref ? this.ref.current.value : undefined;\n }\n }]);\n\n return FieldArray;\n }(Component);\n\n FieldArray.propTypes = {\n name: PropTypes.string.isRequired,\n component: validateComponentProp,\n props: PropTypes.object,\n validate: PropTypes.oneOfType([PropTypes.func, PropTypes.arrayOf(PropTypes.func)]),\n warn: PropTypes.oneOfType([PropTypes.func, PropTypes.arrayOf(PropTypes.func)]),\n forwardRef: PropTypes.bool,\n _reduxForm: PropTypes.object\n };\n return withReduxForm(FieldArray);\n}","import createFieldArray from './createFieldArray';\nimport plain from './structure/plain';\nexport default createFieldArray(plain);","import createIsPristine from './isPristine';\nexport default function createIsDirty(structure) {\n return function (form, getFormState) {\n var isPristine = createIsPristine(structure)(form, getFormState);\n return function (state) {\n for (var _len = arguments.length, fields = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n fields[_key - 1] = arguments[_key];\n }\n\n return !isPristine.apply(void 0, [state].concat(fields));\n };\n };\n}","import createIsDirty from './selectors/isDirty';\nimport plain from './structure/plain';\nexport default createIsDirty(plain);","export default function createIsPristine(_ref) {\n var deepEqual = _ref.deepEqual,\n empty = _ref.empty,\n getIn = _ref.getIn;\n return function (form, getFormState) {\n return function (state) {\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n var formState = nonNullGetFormState(state);\n\n for (var _len = arguments.length, fields = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n fields[_key - 1] = arguments[_key];\n }\n\n if (fields && fields.length) {\n return fields.every(function (field) {\n var fieldInitial = getIn(formState, form + \".initial.\" + field);\n var fieldValue = getIn(formState, form + \".values.\" + field);\n return deepEqual(fieldInitial, fieldValue);\n });\n }\n\n var initial = getIn(formState, form + \".initial\") || empty;\n var values = getIn(formState, form + \".values\") || initial;\n return deepEqual(initial, values);\n };\n };\n}","import _toPath from \"lodash/toPath\";\n\nfunction createDeleteInWithCleanUp(structure) {\n var shouldDeleteDefault = function shouldDeleteDefault(structure) {\n return function (state, path) {\n return structure.getIn(state, path) !== undefined;\n };\n };\n\n var deepEqual = structure.deepEqual,\n empty = structure.empty,\n getIn = structure.getIn,\n deleteIn = structure.deleteIn,\n setIn = structure.setIn;\n return function (shouldDelete) {\n if (shouldDelete === void 0) {\n shouldDelete = shouldDeleteDefault;\n }\n\n var deleteInWithCleanUp = function deleteInWithCleanUp(state, path) {\n if (path[path.length - 1] === ']') {\n // array path\n var pathTokens = _toPath(path);\n\n pathTokens.pop();\n var parent = getIn(state, pathTokens.join('.'));\n return parent ? setIn(state, path) : state;\n }\n\n var result = state;\n\n if (shouldDelete(structure)(state, path)) {\n result = deleteIn(state, path);\n }\n\n var dotIndex = path.lastIndexOf('.');\n\n if (dotIndex > 0) {\n var parentPath = path.substring(0, dotIndex);\n\n if (parentPath[parentPath.length - 1] !== ']') {\n var _parent = getIn(result, parentPath);\n\n if (deepEqual(_parent, empty)) {\n return deleteInWithCleanUp(result, parentPath);\n }\n }\n }\n\n return result;\n };\n\n return deleteInWithCleanUp;\n };\n}\n\nexport default createDeleteInWithCleanUp;","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nimport _isFunction from \"lodash/isFunction\";\nimport { ARRAY_INSERT, ARRAY_MOVE, ARRAY_POP, ARRAY_PUSH, ARRAY_REMOVE, ARRAY_REMOVE_ALL, ARRAY_SHIFT, ARRAY_SPLICE, ARRAY_SWAP, ARRAY_UNSHIFT, AUTOFILL, BLUR, CHANGE, CLEAR_ASYNC_ERROR, CLEAR_SUBMIT, CLEAR_SUBMIT_ERRORS, DESTROY, FOCUS, INITIALIZE, prefix, REGISTER_FIELD, RESET, RESET_SECTION, SET_SUBMIT_FAILED, SET_SUBMIT_SUCCEEDED, START_ASYNC_VALIDATION, START_SUBMIT, STOP_ASYNC_VALIDATION, STOP_SUBMIT, SUBMIT, TOUCH, UNREGISTER_FIELD, UNTOUCH, UPDATE_SYNC_ERRORS, CLEAR_FIELDS, UPDATE_SYNC_WARNINGS } from './actionTypes';\nimport createDeleteInWithCleanUp from './deleteInWithCleanUp';\nimport plain from './structure/plain';\n\nvar shouldDelete = function shouldDelete(_ref) {\n var getIn = _ref.getIn;\n return function (state, path) {\n var initialValuesPath = null;\n\n if (/^values/.test(path)) {\n initialValuesPath = path.replace('values', 'initial');\n }\n\n var initialValueComparison = initialValuesPath ? getIn(state, initialValuesPath) === undefined : true;\n return getIn(state, path) !== undefined && initialValueComparison;\n };\n};\n\nvar isReduxFormAction = function isReduxFormAction(action) {\n return action && action.type && action.type.length > prefix.length && action.type.substring(0, prefix.length) === prefix;\n};\n\nfunction createReducer(structure) {\n var _behaviors;\n\n var deepEqual = structure.deepEqual,\n empty = structure.empty,\n forEach = structure.forEach,\n getIn = structure.getIn,\n setIn = structure.setIn,\n deleteIn = structure.deleteIn,\n fromJS = structure.fromJS,\n keys = structure.keys,\n size = structure.size,\n some = structure.some,\n splice = structure.splice;\n var deleteInWithCleanUp = createDeleteInWithCleanUp(structure)(shouldDelete);\n var plainDeleteInWithCleanUp = createDeleteInWithCleanUp(plain)(shouldDelete);\n\n var doSplice = function doSplice(state, key, field, index, removeNum, value, force) {\n var existing = getIn(state, key + \".\" + field);\n return existing || force ? setIn(state, key + \".\" + field, splice(existing, index, removeNum, value)) : state;\n };\n\n var doPlainSplice = function doPlainSplice(state, key, field, index, removeNum, value, force) {\n var slice = getIn(state, key);\n var existing = plain.getIn(slice, field);\n return existing || force ? setIn(state, key, plain.setIn(slice, field, plain.splice(existing, index, removeNum, value))) : state;\n };\n\n var rootKeys = ['values', 'fields', 'submitErrors', 'asyncErrors'];\n\n var arraySplice = function arraySplice(state, field, index, removeNum, value) {\n var result = state;\n var nonValuesValue = value != null ? empty : undefined;\n result = doSplice(result, 'values', field, index, removeNum, value, true);\n result = doSplice(result, 'fields', field, index, removeNum, nonValuesValue);\n result = doPlainSplice(result, 'syncErrors', field, index, removeNum, undefined);\n result = doPlainSplice(result, 'syncWarnings', field, index, removeNum, undefined);\n result = doSplice(result, 'submitErrors', field, index, removeNum, undefined);\n result = doSplice(result, 'asyncErrors', field, index, removeNum, undefined);\n return result;\n };\n\n var behaviors = (_behaviors = {}, _behaviors[ARRAY_INSERT] = function (state, _ref2) {\n var _ref2$meta = _ref2.meta,\n field = _ref2$meta.field,\n index = _ref2$meta.index,\n payload = _ref2.payload;\n return arraySplice(state, field, index, 0, payload);\n }, _behaviors[ARRAY_MOVE] = function (state, _ref3) {\n var _ref3$meta = _ref3.meta,\n field = _ref3$meta.field,\n from = _ref3$meta.from,\n to = _ref3$meta.to;\n var array = getIn(state, \"values.\" + field);\n var length = array ? size(array) : 0;\n var result = state;\n\n if (length) {\n rootKeys.forEach(function (key) {\n var path = key + \".\" + field;\n\n if (getIn(result, path)) {\n var value = getIn(result, path + \"[\" + from + \"]\");\n result = setIn(result, path, splice(getIn(result, path), from, 1)); // remove\n\n result = setIn(result, path, splice(getIn(result, path), to, 0, value)); // insert\n }\n });\n }\n\n return result;\n }, _behaviors[ARRAY_POP] = function (state, _ref4) {\n var field = _ref4.meta.field;\n var array = getIn(state, \"values.\" + field);\n var length = array ? size(array) : 0;\n return length ? arraySplice(state, field, length - 1, 1) : state;\n }, _behaviors[ARRAY_PUSH] = function (state, _ref5) {\n var field = _ref5.meta.field,\n payload = _ref5.payload;\n var array = getIn(state, \"values.\" + field);\n var length = array ? size(array) : 0;\n return arraySplice(state, field, length, 0, payload);\n }, _behaviors[ARRAY_REMOVE] = function (state, _ref6) {\n var _ref6$meta = _ref6.meta,\n field = _ref6$meta.field,\n index = _ref6$meta.index;\n return arraySplice(state, field, index, 1);\n }, _behaviors[ARRAY_REMOVE_ALL] = function (state, _ref7) {\n var field = _ref7.meta.field;\n var array = getIn(state, \"values.\" + field);\n var length = array ? size(array) : 0;\n return length ? arraySplice(state, field, 0, length) : state;\n }, _behaviors[ARRAY_SHIFT] = function (state, _ref8) {\n var field = _ref8.meta.field;\n return arraySplice(state, field, 0, 1);\n }, _behaviors[ARRAY_SPLICE] = function (state, _ref9) {\n var _ref9$meta = _ref9.meta,\n field = _ref9$meta.field,\n index = _ref9$meta.index,\n removeNum = _ref9$meta.removeNum,\n payload = _ref9.payload;\n return arraySplice(state, field, index, removeNum, payload);\n }, _behaviors[ARRAY_SWAP] = function (state, _ref10) {\n var _ref10$meta = _ref10.meta,\n field = _ref10$meta.field,\n indexA = _ref10$meta.indexA,\n indexB = _ref10$meta.indexB;\n var result = state;\n rootKeys.forEach(function (key) {\n var valueA = getIn(result, key + \".\" + field + \"[\" + indexA + \"]\");\n var valueB = getIn(result, key + \".\" + field + \"[\" + indexB + \"]\");\n\n if (valueA !== undefined || valueB !== undefined) {\n result = setIn(result, key + \".\" + field + \"[\" + indexA + \"]\", valueB);\n result = setIn(result, key + \".\" + field + \"[\" + indexB + \"]\", valueA);\n }\n });\n return result;\n }, _behaviors[ARRAY_UNSHIFT] = function (state, _ref11) {\n var field = _ref11.meta.field,\n payload = _ref11.payload;\n return arraySplice(state, field, 0, 0, payload);\n }, _behaviors[AUTOFILL] = function (state, _ref12) {\n var field = _ref12.meta.field,\n payload = _ref12.payload;\n var result = state;\n result = deleteInWithCleanUp(result, \"asyncErrors.\" + field);\n result = deleteInWithCleanUp(result, \"submitErrors.\" + field);\n result = setIn(result, \"fields.\" + field + \".autofilled\", true);\n result = setIn(result, \"values.\" + field, payload);\n return result;\n }, _behaviors[BLUR] = function (state, _ref13) {\n var _ref13$meta = _ref13.meta,\n field = _ref13$meta.field,\n touch = _ref13$meta.touch,\n payload = _ref13.payload;\n var result = state;\n var initial = getIn(result, \"initial.\" + field);\n\n if (initial === undefined && payload === '') {\n result = deleteInWithCleanUp(result, \"values.\" + field);\n } else if (payload !== undefined) {\n result = setIn(result, \"values.\" + field, payload);\n }\n\n if (field === getIn(result, 'active')) {\n result = deleteIn(result, 'active');\n }\n\n result = deleteIn(result, \"fields.\" + field + \".active\");\n\n if (touch) {\n result = setIn(result, \"fields.\" + field + \".touched\", true);\n result = setIn(result, 'anyTouched', true);\n }\n\n return result;\n }, _behaviors[CHANGE] = function (state, _ref14) {\n var _ref14$meta = _ref14.meta,\n field = _ref14$meta.field,\n touch = _ref14$meta.touch,\n persistentSubmitErrors = _ref14$meta.persistentSubmitErrors,\n payload = _ref14.payload;\n var result = state;\n var initial = getIn(result, \"initial.\" + field);\n\n if (initial === undefined && payload === '' || payload === undefined) {\n result = deleteInWithCleanUp(result, \"values.\" + field);\n } else if (_isFunction(payload)) {\n var fieldCurrentValue = getIn(state, \"values.\" + field);\n result = setIn(result, \"values.\" + field, payload(fieldCurrentValue, state.values));\n } else {\n result = setIn(result, \"values.\" + field, payload);\n }\n\n result = deleteInWithCleanUp(result, \"asyncErrors.\" + field);\n\n if (!persistentSubmitErrors) {\n result = deleteInWithCleanUp(result, \"submitErrors.\" + field);\n }\n\n result = deleteInWithCleanUp(result, \"fields.\" + field + \".autofilled\");\n\n if (touch) {\n result = setIn(result, \"fields.\" + field + \".touched\", true);\n result = setIn(result, 'anyTouched', true);\n }\n\n return result;\n }, _behaviors[CLEAR_SUBMIT] = function (state) {\n return deleteIn(state, 'triggerSubmit');\n }, _behaviors[CLEAR_SUBMIT_ERRORS] = function (state) {\n var result = state;\n result = deleteInWithCleanUp(result, 'submitErrors');\n result = deleteIn(result, 'error');\n return result;\n }, _behaviors[CLEAR_ASYNC_ERROR] = function (state, _ref15) {\n var field = _ref15.meta.field;\n return deleteIn(state, \"asyncErrors.\" + field);\n }, _behaviors[CLEAR_FIELDS] = function (state, _ref16) {\n var _ref16$meta = _ref16.meta,\n keepTouched = _ref16$meta.keepTouched,\n persistentSubmitErrors = _ref16$meta.persistentSubmitErrors,\n fields = _ref16$meta.fields;\n var result = state;\n fields.forEach(function (field) {\n result = deleteInWithCleanUp(result, \"asyncErrors.\" + field);\n\n if (!persistentSubmitErrors) {\n result = deleteInWithCleanUp(result, \"submitErrors.\" + field);\n }\n\n result = deleteInWithCleanUp(result, \"fields.\" + field + \".autofilled\");\n\n if (!keepTouched) {\n result = deleteIn(result, \"fields.\" + field + \".touched\");\n }\n\n var values = getIn(state, \"initial.\" + field);\n result = values ? setIn(result, \"values.\" + field, values) : deleteInWithCleanUp(result, \"values.\" + field);\n });\n var anyTouched = some(keys(getIn(result, 'registeredFields')), function (key) {\n return getIn(result, \"fields.\" + key + \".touched\");\n });\n result = anyTouched ? setIn(result, 'anyTouched', true) : deleteIn(result, 'anyTouched');\n return result;\n }, _behaviors[FOCUS] = function (state, _ref17) {\n var field = _ref17.meta.field;\n var result = state;\n var previouslyActive = getIn(state, 'active');\n result = deleteIn(result, \"fields.\" + previouslyActive + \".active\");\n result = setIn(result, \"fields.\" + field + \".visited\", true);\n result = setIn(result, \"fields.\" + field + \".active\", true);\n result = setIn(result, 'active', field);\n return result;\n }, _behaviors[INITIALIZE] = function (state, _ref18) {\n var payload = _ref18.payload,\n _ref18$meta = _ref18.meta,\n keepDirty = _ref18$meta.keepDirty,\n keepSubmitSucceeded = _ref18$meta.keepSubmitSucceeded,\n updateUnregisteredFields = _ref18$meta.updateUnregisteredFields,\n keepValues = _ref18$meta.keepValues;\n var mapData = fromJS(payload);\n var result = empty; // clean all field state\n // persist old warnings, they will get recalculated if the new form values are different from the old values\n\n var warning = getIn(state, 'warning');\n\n if (warning) {\n result = setIn(result, 'warning', warning);\n }\n\n var syncWarnings = getIn(state, 'syncWarnings');\n\n if (syncWarnings) {\n result = setIn(result, 'syncWarnings', syncWarnings);\n } // persist old errors, they will get recalculated if the new form values are different from the old values\n\n\n var error = getIn(state, 'error');\n\n if (error) {\n result = setIn(result, 'error', error);\n }\n\n var syncErrors = getIn(state, 'syncErrors');\n\n if (syncErrors) {\n result = setIn(result, 'syncErrors', syncErrors);\n }\n\n var registeredFields = getIn(state, 'registeredFields');\n\n if (registeredFields) {\n result = setIn(result, 'registeredFields', registeredFields);\n }\n\n var previousValues = getIn(state, 'values');\n var previousInitialValues = getIn(state, 'initial');\n var newInitialValues = mapData;\n var newValues = previousValues;\n\n if (keepDirty && registeredFields) {\n if (!deepEqual(newInitialValues, previousInitialValues)) {\n //\n // Keep the value of dirty fields while updating the value of\n // pristine fields. This way, apps can reinitialize forms while\n // avoiding stomping on user edits.\n //\n // Note 1: The initialize action replaces all initial values\n // regardless of keepDirty.\n //\n // Note 2: When a field is dirty, keepDirty is enabled, and the field\n // value is the same as the new initial value for the field, the\n // initialize action causes the field to become pristine. That effect\n // is what we want.\n //\n var overwritePristineValue = function overwritePristineValue(name) {\n var previousInitialValue = getIn(previousInitialValues, name);\n var previousValue = getIn(previousValues, name);\n\n if (deepEqual(previousValue, previousInitialValue)) {\n // Overwrite the old pristine value with the new pristine value\n var newInitialValue = getIn(newInitialValues, name); // This check prevents any 'setIn' call that would create useless\n // nested objects, since the path to the new field value would\n // evaluate to the same (especially for undefined values)\n\n if (getIn(newValues, name) !== newInitialValue) {\n newValues = setIn(newValues, name, newInitialValue);\n }\n }\n };\n\n if (!updateUnregisteredFields) {\n forEach(keys(registeredFields), function (name) {\n return overwritePristineValue(name);\n });\n }\n\n forEach(keys(newInitialValues), function (name) {\n var previousInitialValue = getIn(previousInitialValues, name);\n\n if (typeof previousInitialValue === 'undefined') {\n // Add new values at the root level.\n var newInitialValue = getIn(newInitialValues, name);\n newValues = setIn(newValues, name, newInitialValue);\n }\n\n if (updateUnregisteredFields) {\n overwritePristineValue(name);\n }\n });\n }\n } else {\n newValues = newInitialValues;\n }\n\n if (keepValues) {\n forEach(keys(previousValues), function (name) {\n var previousValue = getIn(previousValues, name);\n newValues = setIn(newValues, name, previousValue);\n });\n forEach(keys(previousInitialValues), function (name) {\n var previousInitialValue = getIn(previousInitialValues, name);\n newInitialValues = setIn(newInitialValues, name, previousInitialValue);\n });\n }\n\n if (keepSubmitSucceeded && getIn(state, 'submitSucceeded')) {\n result = setIn(result, 'submitSucceeded', true);\n }\n\n result = setIn(result, 'values', newValues);\n result = setIn(result, 'initial', newInitialValues);\n return result;\n }, _behaviors[REGISTER_FIELD] = function (state, _ref19) {\n var _ref19$payload = _ref19.payload,\n name = _ref19$payload.name,\n type = _ref19$payload.type;\n var key = \"registeredFields['\" + name + \"']\";\n var field = getIn(state, key);\n\n if (field) {\n var count = getIn(field, 'count') + 1;\n field = setIn(field, 'count', count);\n } else {\n field = fromJS({\n name: name,\n type: type,\n count: 1\n });\n }\n\n return setIn(state, key, field);\n }, _behaviors[RESET] = function (state) {\n var result = empty;\n var registeredFields = getIn(state, 'registeredFields');\n\n if (registeredFields) {\n result = setIn(result, 'registeredFields', registeredFields);\n }\n\n var values = getIn(state, 'initial');\n\n if (values) {\n result = setIn(result, 'values', values);\n result = setIn(result, 'initial', values);\n }\n\n return result;\n }, _behaviors[RESET_SECTION] = function (state, _ref20) {\n var sections = _ref20.meta.sections;\n var result = state;\n sections.forEach(function (section) {\n result = deleteInWithCleanUp(result, \"asyncErrors.\" + section);\n result = deleteInWithCleanUp(result, \"submitErrors.\" + section);\n result = deleteInWithCleanUp(result, \"fields.\" + section);\n var values = getIn(state, \"initial.\" + section);\n result = values ? setIn(result, \"values.\" + section, values) : deleteInWithCleanUp(result, \"values.\" + section);\n });\n var anyTouched = some(keys(getIn(result, 'registeredFields')), function (key) {\n return getIn(result, \"fields.\" + key + \".touched\");\n });\n result = anyTouched ? setIn(result, 'anyTouched', true) : deleteIn(result, 'anyTouched');\n return result;\n }, _behaviors[SUBMIT] = function (state) {\n return setIn(state, 'triggerSubmit', true);\n }, _behaviors[START_ASYNC_VALIDATION] = function (state, _ref21) {\n var field = _ref21.meta.field;\n return setIn(state, 'asyncValidating', field || true);\n }, _behaviors[START_SUBMIT] = function (state) {\n return setIn(state, 'submitting', true);\n }, _behaviors[STOP_ASYNC_VALIDATION] = function (state, _ref22) {\n var payload = _ref22.payload;\n var result = state;\n result = deleteIn(result, 'asyncValidating');\n\n if (payload && Object.keys(payload).length) {\n var _error = payload._error,\n fieldErrors = _objectWithoutPropertiesLoose(payload, [\"_error\"]);\n\n if (_error) {\n result = setIn(result, 'error', _error);\n }\n\n if (Object.keys(fieldErrors).length) {\n result = setIn(result, 'asyncErrors', fromJS(fieldErrors));\n }\n } else {\n result = deleteIn(result, 'error');\n result = deleteIn(result, 'asyncErrors');\n }\n\n return result;\n }, _behaviors[STOP_SUBMIT] = function (state, _ref23) {\n var payload = _ref23.payload;\n var result = state;\n result = deleteIn(result, 'submitting');\n result = deleteIn(result, 'submitFailed');\n result = deleteIn(result, 'submitSucceeded');\n\n if (payload && Object.keys(payload).length) {\n var _error = payload._error,\n fieldErrors = _objectWithoutPropertiesLoose(payload, [\"_error\"]);\n\n if (_error) {\n result = setIn(result, 'error', _error);\n } else {\n result = deleteIn(result, 'error');\n }\n\n if (Object.keys(fieldErrors).length) {\n result = setIn(result, 'submitErrors', fromJS(fieldErrors));\n } else {\n result = deleteIn(result, 'submitErrors');\n }\n\n result = setIn(result, 'submitFailed', true);\n } else {\n result = deleteIn(result, 'error');\n result = deleteIn(result, 'submitErrors');\n }\n\n return result;\n }, _behaviors[SET_SUBMIT_FAILED] = function (state, _ref24) {\n var fields = _ref24.meta.fields;\n var result = state;\n result = setIn(result, 'submitFailed', true);\n result = deleteIn(result, 'submitSucceeded');\n result = deleteIn(result, 'submitting');\n fields.forEach(function (field) {\n return result = setIn(result, \"fields.\" + field + \".touched\", true);\n });\n\n if (fields.length) {\n result = setIn(result, 'anyTouched', true);\n }\n\n return result;\n }, _behaviors[SET_SUBMIT_SUCCEEDED] = function (state) {\n var result = state;\n result = deleteIn(result, 'submitFailed');\n result = setIn(result, 'submitSucceeded', true);\n return result;\n }, _behaviors[TOUCH] = function (state, _ref25) {\n var fields = _ref25.meta.fields;\n var result = state;\n fields.forEach(function (field) {\n return result = setIn(result, \"fields.\" + field + \".touched\", true);\n });\n result = setIn(result, 'anyTouched', true);\n return result;\n }, _behaviors[UNREGISTER_FIELD] = function (state, _ref26) {\n var _ref26$payload = _ref26.payload,\n name = _ref26$payload.name,\n destroyOnUnmount = _ref26$payload.destroyOnUnmount;\n var result = state;\n var key = \"registeredFields['\" + name + \"']\";\n var field = getIn(result, key);\n\n if (!field) {\n return result;\n }\n\n var count = getIn(field, 'count') - 1;\n\n if (count <= 0 && destroyOnUnmount) {\n // Note: Cannot use deleteWithCleanUp here because of the flat nature of registeredFields\n result = deleteIn(result, key);\n\n if (deepEqual(getIn(result, 'registeredFields'), empty)) {\n result = deleteIn(result, 'registeredFields');\n }\n\n var syncErrors = getIn(result, 'syncErrors');\n\n if (syncErrors) {\n syncErrors = plainDeleteInWithCleanUp(syncErrors, name);\n\n if (plain.deepEqual(syncErrors, plain.empty)) {\n result = deleteIn(result, 'syncErrors');\n } else {\n result = setIn(result, 'syncErrors', syncErrors);\n }\n }\n\n var syncWarnings = getIn(result, 'syncWarnings');\n\n if (syncWarnings) {\n syncWarnings = plainDeleteInWithCleanUp(syncWarnings, name);\n\n if (plain.deepEqual(syncWarnings, plain.empty)) {\n result = deleteIn(result, 'syncWarnings');\n } else {\n result = setIn(result, 'syncWarnings', syncWarnings);\n }\n }\n\n result = deleteInWithCleanUp(result, \"submitErrors.\" + name);\n result = deleteInWithCleanUp(result, \"asyncErrors.\" + name);\n } else {\n field = setIn(field, 'count', count);\n result = setIn(result, key, field);\n }\n\n return result;\n }, _behaviors[UNTOUCH] = function (state, _ref27) {\n var fields = _ref27.meta.fields;\n var result = state;\n fields.forEach(function (field) {\n return result = deleteIn(result, \"fields.\" + field + \".touched\");\n });\n var anyTouched = some(keys(getIn(result, 'registeredFields')), function (key) {\n return getIn(result, \"fields.\" + key + \".touched\");\n });\n result = anyTouched ? setIn(result, 'anyTouched', true) : deleteIn(result, 'anyTouched');\n return result;\n }, _behaviors[UPDATE_SYNC_ERRORS] = function (state, _ref28) {\n var _ref28$payload = _ref28.payload,\n syncErrors = _ref28$payload.syncErrors,\n error = _ref28$payload.error;\n var result = state;\n\n if (error) {\n result = setIn(result, 'error', error);\n result = setIn(result, 'syncError', true);\n } else {\n result = deleteIn(result, 'error');\n result = deleteIn(result, 'syncError');\n }\n\n if (Object.keys(syncErrors).length) {\n result = setIn(result, 'syncErrors', syncErrors);\n } else {\n result = deleteIn(result, 'syncErrors');\n }\n\n return result;\n }, _behaviors[UPDATE_SYNC_WARNINGS] = function (state, _ref29) {\n var _ref29$payload = _ref29.payload,\n syncWarnings = _ref29$payload.syncWarnings,\n warning = _ref29$payload.warning;\n var result = state;\n\n if (warning) {\n result = setIn(result, 'warning', warning);\n } else {\n result = deleteIn(result, 'warning');\n }\n\n if (Object.keys(syncWarnings).length) {\n result = setIn(result, 'syncWarnings', syncWarnings);\n } else {\n result = deleteIn(result, 'syncWarnings');\n }\n\n return result;\n }, _behaviors);\n\n var reducer = function reducer(state, action) {\n if (state === void 0) {\n state = empty;\n }\n\n var behavior = behaviors[action.type];\n return behavior ? behavior(state, action) : state;\n };\n\n var byForm = function byForm(reducer) {\n return function (state, action) {\n if (state === void 0) {\n state = empty;\n }\n\n if (action === void 0) {\n action = {\n type: 'NONE'\n };\n }\n\n var form = action && action.meta && action.meta.form;\n\n if (!form || !isReduxFormAction(action)) {\n return state;\n }\n\n if (action.type === DESTROY && action.meta && action.meta.form) {\n return action.meta.form.reduce(function (result, form) {\n return deleteInWithCleanUp(result, form);\n }, state);\n }\n\n var formState = getIn(state, form);\n var result = reducer(formState, action);\n return result === formState ? state : setIn(state, form, result);\n };\n };\n /**\n * Adds additional functionality to the reducer\n */\n\n\n function decorate(target) {\n target.plugin = function (reducers, config) {\n var _this = this;\n\n if (config === void 0) {\n config = {};\n } // use 'function' keyword to enable 'this'\n\n\n return decorate(function (state, action) {\n if (state === void 0) {\n state = empty;\n }\n\n if (action === void 0) {\n action = {\n type: 'NONE'\n };\n }\n\n var callPlugin = function callPlugin(processed, key) {\n var previousState = getIn(processed, key);\n var nextState = reducers[key](previousState, action, getIn(state, key));\n return nextState !== previousState ? setIn(processed, key, nextState) : processed;\n };\n\n var processed = _this(state, action); // run through redux-form reducer\n\n\n var form = action && action.meta && action.meta.form;\n\n if (form && !config.receiveAllFormActions) {\n // this is an action aimed at forms, so only give it to the specified form's plugin\n return reducers[form] ? callPlugin(processed, form) : processed;\n } else {\n // this is not a form-specific action, so send it to all the plugins\n return Object.keys(reducers).reduce(callPlugin, processed);\n }\n });\n };\n\n return target;\n }\n\n return decorate(byForm(reducer));\n}\n\nexport default createReducer;","import createReducer from './createReducer';\nimport plain from './structure/plain';\nexport default createReducer(plain);","import createIsSubmitting from './selectors/isSubmitting';\nimport plain from './structure/plain';\nexport default createIsSubmitting(plain);","export default function createIsSubmitting(_ref) {\n var getIn = _ref.getIn;\n return function (form, getFormState) {\n return function (state) {\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n return !!getIn(nonNullGetFormState(state), form + \".submitting\");\n };\n };\n}","import createHasSubmitSucceeded from './selectors/hasSubmitSucceeded';\nimport plain from './structure/plain';\nexport default createHasSubmitSucceeded(plain);","export default function createHasSubmitSucceeded(_ref) {\n var getIn = _ref.getIn;\n return function (form, getFormState) {\n return function (state) {\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n return !!getIn(nonNullGetFormState(state), form + \".submitSucceeded\");\n };\n };\n}","import createFormValueSelector from './createFormValueSelector';\nimport plain from './structure/plain';\nexport default createFormValueSelector(plain);","import invariant from 'invariant';\nimport plain from './structure/plain';\nexport default function createFormValueSelector(_ref) {\n var getIn = _ref.getIn;\n return function (form, getFormState) {\n invariant(form, 'Form value must be specified');\n\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n return function (state) {\n for (var _len = arguments.length, fields = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n fields[_key - 1] = arguments[_key];\n }\n\n invariant(fields.length, 'No fields specified');\n return fields.length === 1 ? // only selecting one field, so return its value\n getIn(nonNullGetFormState(state), form + \".values.\" + fields[0]) : // selecting many fields, so return an object of field values\n fields.reduce(function (accumulator, field) {\n var value = getIn(nonNullGetFormState(state), form + \".values.\" + field);\n return value === undefined ? accumulator : plain.setIn(accumulator, field, value);\n }, {});\n };\n };\n}","import createIsValid from './isValid';\nexport default function createIsInvalid(structure) {\n return function (form, getFormState) {\n var isValid = createIsValid(structure)(form, getFormState);\n return function (state) {\n return !isValid(state);\n };\n };\n}","import createIsInvalid from './selectors/isInvalid';\nimport plain from './structure/plain';\nexport default createIsInvalid(plain);","import createGetFormSyncWarnings from './selectors/getFormSyncWarnings';\nimport plain from './structure/plain';\nexport default createGetFormSyncWarnings(plain);","export default function createGetFormSyncWarnings(_ref) {\n var getIn = _ref.getIn,\n empty = _ref.empty;\n return function (form, getFormState) {\n return function (state) {\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n return getIn(nonNullGetFormState(state), form + \".syncWarnings\") || empty;\n };\n };\n}","import createGetFormSyncErrors from './selectors/getFormSyncErrors';\nimport plain from './structure/plain';\nexport default createGetFormSyncErrors(plain);","export default function createGetFormSyncErrors(_ref) {\n var getIn = _ref.getIn,\n empty = _ref.empty;\n return function (form, getFormState) {\n return function (state) {\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n return getIn(nonNullGetFormState(state), form + \".syncErrors\") || empty;\n };\n };\n}","import createGetFormValues from './selectors/getFormValues';\nimport plain from './structure/plain';\nexport default createGetFormValues(plain);","export default function createGetFormValues(_ref) {\n var getIn = _ref.getIn;\n return function (form, getFormState) {\n return function (state) {\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n return getIn(nonNullGetFormState(state), form + \".values\");\n };\n };\n}","import createGetFormError from './selectors/getFormError';\nimport plain from './structure/plain';\nexport default createGetFormError(plain);","export default function createGetFormError(_ref) {\n var getIn = _ref.getIn;\n return function (form, getFormState) {\n return function (state) {\n var nonNullGetFormState = getFormState || function (state) {\n return getIn(state, 'form');\n };\n\n return getIn(nonNullGetFormState(state), form + \".error\");\n };\n };\n}","import defaultMoment from 'moment';\n\nvar MomentUtils =\n/** @class */\nfunction () {\n function MomentUtils(_a) {\n var _b = _a === void 0 ? {} : _a,\n locale = _b.locale,\n instance = _b.instance,\n moment = _b.moment;\n\n this.yearFormat = \"YYYY\";\n this.yearMonthFormat = \"MMMM YYYY\";\n this.dateTime12hFormat = \"MMMM Do hh:mm a\";\n this.dateTime24hFormat = \"MMMM Do HH:mm\";\n this.time12hFormat = \"hh:mm A\";\n this.time24hFormat = \"HH:mm\";\n this.dateFormat = \"MMMM Do\";\n this.moment = instance || moment || defaultMoment;\n this.locale = locale;\n }\n\n MomentUtils.prototype.parse = function (value, format) {\n if (value === \"\") {\n return null;\n }\n\n return this.moment(value, format, true);\n };\n\n MomentUtils.prototype.date = function (value) {\n if (value === null) {\n return null;\n }\n\n return this.moment(value);\n };\n\n MomentUtils.prototype.isValid = function (value) {\n return this.moment(value).isValid();\n };\n\n MomentUtils.prototype.isNull = function (date) {\n return date === null;\n };\n\n MomentUtils.prototype.getDiff = function (date, comparing) {\n return date.diff(comparing);\n };\n\n MomentUtils.prototype.isAfter = function (date, value) {\n return date.isAfter(value);\n };\n\n MomentUtils.prototype.isBefore = function (date, value) {\n return date.isBefore(value);\n };\n\n MomentUtils.prototype.isAfterDay = function (date, value) {\n return date.isAfter(value, \"day\");\n };\n\n MomentUtils.prototype.isBeforeDay = function (date, value) {\n return date.isBefore(value, \"day\");\n };\n\n MomentUtils.prototype.isBeforeYear = function (date, value) {\n return date.isBefore(value, \"year\");\n };\n\n MomentUtils.prototype.isAfterYear = function (date, value) {\n return date.isAfter(value, \"year\");\n };\n\n MomentUtils.prototype.startOfDay = function (date) {\n return date.clone().startOf(\"day\");\n };\n\n MomentUtils.prototype.endOfDay = function (date) {\n return date.clone().endOf(\"day\");\n };\n\n MomentUtils.prototype.format = function (date, formatString) {\n date.locale(this.locale);\n return date.format(formatString);\n };\n\n MomentUtils.prototype.formatNumber = function (numberToFormat) {\n return numberToFormat;\n };\n\n MomentUtils.prototype.getHours = function (date) {\n return date.get(\"hours\");\n };\n\n MomentUtils.prototype.addDays = function (date, count) {\n return count < 0 ? date.clone().subtract(Math.abs(count), \"days\") : date.clone().add(count, \"days\");\n };\n\n MomentUtils.prototype.setHours = function (date, count) {\n return date.clone().hours(count);\n };\n\n MomentUtils.prototype.getMinutes = function (date) {\n return date.get(\"minutes\");\n };\n\n MomentUtils.prototype.setMinutes = function (date, count) {\n return date.clone().minutes(count);\n };\n\n MomentUtils.prototype.getSeconds = function (date) {\n return date.get(\"seconds\");\n };\n\n MomentUtils.prototype.setSeconds = function (date, count) {\n return date.clone().seconds(count);\n };\n\n MomentUtils.prototype.getMonth = function (date) {\n return date.get(\"month\");\n };\n\n MomentUtils.prototype.isSameDay = function (date, comparing) {\n return date.isSame(comparing, \"day\");\n };\n\n MomentUtils.prototype.setMonth = function (date, count) {\n return date.clone().month(count);\n };\n\n MomentUtils.prototype.getMeridiemText = function (ampm) {\n return ampm === \"am\" ? \"AM\" : \"PM\";\n };\n\n MomentUtils.prototype.startOfMonth = function (date) {\n return date.clone().startOf(\"month\");\n };\n\n MomentUtils.prototype.endOfMonth = function (date) {\n return date.clone().endOf(\"month\");\n };\n\n MomentUtils.prototype.getNextMonth = function (date) {\n return date.clone().add(1, \"month\");\n };\n\n MomentUtils.prototype.getPreviousMonth = function (date) {\n return date.clone().subtract(1, \"month\");\n };\n\n MomentUtils.prototype.getMonthArray = function (date) {\n var firstMonth = date.clone().startOf(\"year\");\n var monthArray = [firstMonth];\n\n while (monthArray.length < 12) {\n var prevMonth = monthArray[monthArray.length - 1];\n monthArray.push(this.getNextMonth(prevMonth));\n }\n\n return monthArray;\n };\n\n MomentUtils.prototype.getYear = function (date) {\n return date.get(\"year\");\n };\n\n MomentUtils.prototype.setYear = function (date, year) {\n return date.clone().set(\"year\", year);\n };\n\n MomentUtils.prototype.mergeDateAndTime = function (date, time) {\n return this.setMinutes(this.setHours(date, this.getHours(time)), this.getMinutes(time));\n };\n\n MomentUtils.prototype.getWeekdays = function () {\n var _this = this;\n\n return [0, 1, 2, 3, 4, 5, 6].map(function (dayOfWeek) {\n return _this.format(_this.moment().weekday(dayOfWeek), \"dd\");\n });\n };\n\n MomentUtils.prototype.isEqual = function (value, comparing) {\n if (value === null && comparing === null) {\n return true;\n }\n\n return this.moment(value).isSame(comparing);\n };\n\n MomentUtils.prototype.getWeekArray = function (date) {\n var start = date.clone().startOf(\"month\").startOf(\"week\");\n var end = date.clone().endOf(\"month\").endOf(\"week\");\n var count = 0;\n var current = start;\n var nestedWeeks = [];\n\n while (current.isBefore(end)) {\n var weekNumber = Math.floor(count / 7);\n nestedWeeks[weekNumber] = nestedWeeks[weekNumber] || [];\n nestedWeeks[weekNumber].push(current);\n current = current.clone().add(1, \"day\");\n count += 1;\n }\n\n return nestedWeeks;\n };\n\n MomentUtils.prototype.getYearRange = function (start, end) {\n var startDate = this.moment(start).startOf(\"year\");\n var endDate = this.moment(end).endOf(\"year\");\n var years = [];\n var current = startDate;\n\n while (current.isBefore(endDate)) {\n years.push(current);\n current = current.clone().add(1, \"year\");\n }\n\n return years;\n }; // displaying methods\n\n\n MomentUtils.prototype.getCalendarHeaderText = function (date) {\n return this.format(date, this.yearMonthFormat);\n };\n\n MomentUtils.prototype.getYearText = function (date) {\n return this.format(date, \"YYYY\");\n };\n\n MomentUtils.prototype.getDatePickerHeaderText = function (date) {\n return this.format(date, \"ddd, MMM D\");\n };\n\n MomentUtils.prototype.getDateTimePickerHeaderText = function (date) {\n return this.format(date, \"MMM D\");\n };\n\n MomentUtils.prototype.getMonthText = function (date) {\n return this.format(date, \"MMMM\");\n };\n\n MomentUtils.prototype.getDayText = function (date) {\n return this.format(date, \"D\");\n };\n\n MomentUtils.prototype.getHourText = function (date, ampm) {\n return this.format(date, ampm ? \"hh\" : \"HH\");\n };\n\n MomentUtils.prototype.getMinuteText = function (date) {\n return this.format(date, \"mm\");\n };\n\n MomentUtils.prototype.getSecondText = function (date) {\n return this.format(date, \"ss\");\n };\n\n return MomentUtils;\n}();\n\nexport default MomentUtils;","export default function symbolObservablePonyfill(root) {\n var result;\n var Symbol = root.Symbol;\n\n if (typeof Symbol === 'function') {\n if (Symbol.observable) {\n result = Symbol.observable;\n } else {\n result = Symbol('observable');\n Symbol.observable = result;\n }\n } else {\n result = '@@observable';\n }\n\n return result;\n}\n;","function createThunkMiddleware(extraArgument) {\n return function (_ref) {\n var dispatch = _ref.dispatch,\n getState = _ref.getState;\n return function (next) {\n return function (action) {\n if (typeof action === 'function') {\n return action(dispatch, getState, extraArgument);\n }\n\n return next(action);\n };\n };\n };\n}\n\nvar thunk = createThunkMiddleware();\nthunk.withExtraArgument = createThunkMiddleware;\nexport default thunk;","// @flow\n'use strict';\n\nvar key = '__global_unique_id__';\n\nmodule.exports = function () {\n return global[key] = (global[key] || 0) + 1;\n};","'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n return isNonNullObject(value) && !isSpecial(value);\n};\n\nfunction isNonNullObject(value) {\n return !!value && typeof value === 'object';\n}\n\nfunction isSpecial(value) {\n var stringValue = Object.prototype.toString.call(value);\n return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isReactElement(value);\n} // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\n\n\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n return value.$$typeof === REACT_ELEMENT_TYPE;\n}\n\nfunction emptyTarget(val) {\n return Array.isArray(val) ? [] : {};\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;\n}\n\nfunction defaultArrayMerge(target, source, options) {\n return target.concat(source).map(function (element) {\n return cloneUnlessOtherwiseSpecified(element, options);\n });\n}\n\nfunction getMergeFunction(key, options) {\n if (!options.customMerge) {\n return deepmerge;\n }\n\n var customMerge = options.customMerge(key);\n return typeof customMerge === 'function' ? customMerge : deepmerge;\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function (symbol) {\n return target.propertyIsEnumerable(symbol);\n }) : [];\n}\n\nfunction getKeys(target) {\n return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));\n}\n\nfunction mergeObject(target, source, options) {\n var destination = {};\n\n if (options.isMergeableObject(target)) {\n getKeys(target).forEach(function (key) {\n destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n });\n }\n\n getKeys(source).forEach(function (key) {\n if (!options.isMergeableObject(source[key]) || !target[key]) {\n destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n } else {\n destination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n }\n });\n return destination;\n}\n\nfunction deepmerge(target, source, options) {\n options = options || {};\n options.arrayMerge = options.arrayMerge || defaultArrayMerge;\n options.isMergeableObject = options.isMergeableObject || isMergeableObject;\n var sourceIsArray = Array.isArray(source);\n var targetIsArray = Array.isArray(target);\n var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n if (!sourceAndTargetTypesMatch) {\n return cloneUnlessOtherwiseSpecified(source, options);\n } else if (sourceIsArray) {\n return options.arrayMerge(target, source, options);\n } else {\n return mergeObject(target, source, options);\n }\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n if (!Array.isArray(array)) {\n throw new Error('first argument should be an array');\n }\n\n return array.reduce(function (prev, next) {\n return deepmerge(prev, next, options);\n }, {});\n};\n\nvar deepmerge_1 = deepmerge;\nmodule.exports = deepmerge_1;","/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.15.0\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';\nvar longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\nvar timeoutDuration = 0;\n\nfor (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n timeoutDuration = 1;\n break;\n }\n}\n\nfunction microtaskDebounce(fn) {\n var called = false;\n return function () {\n if (called) {\n return;\n }\n\n called = true;\n window.Promise.resolve().then(function () {\n called = false;\n fn();\n });\n };\n}\n\nfunction taskDebounce(fn) {\n var scheduled = false;\n return function () {\n if (!scheduled) {\n scheduled = true;\n setTimeout(function () {\n scheduled = false;\n fn();\n }, timeoutDuration);\n }\n };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\n\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\n\nfunction isFunction(functionToCheck) {\n var getType = {};\n return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\n\n\nfunction getStyleComputedProperty(element, property) {\n if (element.nodeType !== 1) {\n return [];\n } // NOTE: 1 DOM access here\n\n\n var window = element.ownerDocument.defaultView;\n var css = window.getComputedStyle(element, null);\n return property ? css[property] : css;\n}\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\n\n\nfunction getParentNode(element) {\n if (element.nodeName === 'HTML') {\n return element;\n }\n\n return element.parentNode || element.host;\n}\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\n\n\nfunction getScrollParent(element) {\n // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n if (!element) {\n return document.body;\n }\n\n switch (element.nodeName) {\n case 'HTML':\n case 'BODY':\n return element.ownerDocument.body;\n\n case '#document':\n return element.body;\n } // Firefox want us to check `-x` and `-y` variations as well\n\n\n var _getStyleComputedProp = getStyleComputedProperty(element),\n overflow = _getStyleComputedProp.overflow,\n overflowX = _getStyleComputedProp.overflowX,\n overflowY = _getStyleComputedProp.overflowY;\n\n if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n return element;\n }\n\n return getScrollParent(getParentNode(element));\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\n\nfunction isIE(version) {\n if (version === 11) {\n return isIE11;\n }\n\n if (version === 10) {\n return isIE10;\n }\n\n return isIE11 || isIE10;\n}\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\n\n\nfunction getOffsetParent(element) {\n if (!element) {\n return document.documentElement;\n }\n\n var noOffsetParent = isIE(10) ? document.body : null; // NOTE: 1 DOM access here\n\n var offsetParent = element.offsetParent || null; // Skip hidden elements which don't have an offsetParent\n\n while (offsetParent === noOffsetParent && element.nextElementSibling) {\n offsetParent = (element = element.nextElementSibling).offsetParent;\n }\n\n var nodeName = offsetParent && offsetParent.nodeName;\n\n if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n return element ? element.ownerDocument.documentElement : document.documentElement;\n } // .offsetParent will return the closest TH, TD or TABLE in case\n // no offsetParent is present, I hate this job...\n\n\n if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n return getOffsetParent(offsetParent);\n }\n\n return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY') {\n return false;\n }\n\n return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\n\n\nfunction getRoot(node) {\n if (node.parentNode !== null) {\n return getRoot(node.parentNode);\n }\n\n return node;\n}\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\n\n\nfunction findCommonOffsetParent(element1, element2) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n return document.documentElement;\n } // Here we make sure to give as \"start\" the element that comes first in the DOM\n\n\n var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n var start = order ? element1 : element2;\n var end = order ? element2 : element1; // Get common ancestor container\n\n var range = document.createRange();\n range.setStart(start, 0);\n range.setEnd(end, 0);\n var commonAncestorContainer = range.commonAncestorContainer; // Both nodes are inside #document\n\n if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n if (isOffsetContainer(commonAncestorContainer)) {\n return commonAncestorContainer;\n }\n\n return getOffsetParent(commonAncestorContainer);\n } // one of the nodes is inside shadowDOM, find which one\n\n\n var element1root = getRoot(element1);\n\n if (element1root.host) {\n return findCommonOffsetParent(element1root.host, element2);\n } else {\n return findCommonOffsetParent(element1, getRoot(element2).host);\n }\n}\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\n\n\nfunction getScroll(element) {\n var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n var html = element.ownerDocument.documentElement;\n var scrollingElement = element.ownerDocument.scrollingElement || html;\n return scrollingElement[upperSide];\n }\n\n return element[upperSide];\n}\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\n\n\nfunction includeScroll(rect, element) {\n var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n var modifier = subtract ? -1 : 1;\n rect.top += scrollTop * modifier;\n rect.bottom += scrollTop * modifier;\n rect.left += scrollLeft * modifier;\n rect.right += scrollLeft * modifier;\n return rect;\n}\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\n\nfunction getBordersSize(styles, axis) {\n var sideA = axis === 'x' ? 'Left' : 'Top';\n var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n return parseFloat(styles['border' + sideA + 'Width'], 10) + parseFloat(styles['border' + sideB + 'Width'], 10);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n var body = document.body;\n var html = document.documentElement;\n var computedStyle = isIE(10) && getComputedStyle(html);\n return {\n height: getSize('Height', body, html, computedStyle),\n width: getSize('Width', body, html, computedStyle)\n };\n}\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar defineProperty = function defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\n\n\nfunction getClientRect(offsets) {\n return _extends({}, offsets, {\n right: offsets.left + offsets.width,\n bottom: offsets.top + offsets.height\n });\n}\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\n\n\nfunction getBoundingClientRect(element) {\n var rect = {}; // IE10 10 FIX: Please, don't ask, the element isn't\n // considered in DOM in some circumstances...\n // This isn't reproducible in IE10 compatibility mode of IE11\n\n try {\n if (isIE(10)) {\n rect = element.getBoundingClientRect();\n var scrollTop = getScroll(element, 'top');\n var scrollLeft = getScroll(element, 'left');\n rect.top += scrollTop;\n rect.left += scrollLeft;\n rect.bottom += scrollTop;\n rect.right += scrollLeft;\n } else {\n rect = element.getBoundingClientRect();\n }\n } catch (e) {}\n\n var result = {\n left: rect.left,\n top: rect.top,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n }; // subtract scrollbar size from sizes\n\n var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n var width = sizes.width || element.clientWidth || result.right - result.left;\n var height = sizes.height || element.clientHeight || result.bottom - result.top;\n var horizScrollbar = element.offsetWidth - width;\n var vertScrollbar = element.offsetHeight - height; // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n // we make this check conditional for performance reasons\n\n if (horizScrollbar || vertScrollbar) {\n var styles = getStyleComputedProperty(element);\n horizScrollbar -= getBordersSize(styles, 'x');\n vertScrollbar -= getBordersSize(styles, 'y');\n result.width -= horizScrollbar;\n result.height -= vertScrollbar;\n }\n\n return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n var isIE10 = isIE(10);\n var isHTML = parent.nodeName === 'HTML';\n var childrenRect = getBoundingClientRect(children);\n var parentRect = getBoundingClientRect(parent);\n var scrollParent = getScrollParent(children);\n var styles = getStyleComputedProperty(parent);\n var borderTopWidth = parseFloat(styles.borderTopWidth, 10);\n var borderLeftWidth = parseFloat(styles.borderLeftWidth, 10); // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n\n if (fixedPosition && isHTML) {\n parentRect.top = Math.max(parentRect.top, 0);\n parentRect.left = Math.max(parentRect.left, 0);\n }\n\n var offsets = getClientRect({\n top: childrenRect.top - parentRect.top - borderTopWidth,\n left: childrenRect.left - parentRect.left - borderLeftWidth,\n width: childrenRect.width,\n height: childrenRect.height\n });\n offsets.marginTop = 0;\n offsets.marginLeft = 0; // Subtract margins of documentElement in case it's being used as parent\n // we do this only on HTML because it's the only element that behaves\n // differently when margins are applied to it. The margins are included in\n // the box of the documentElement, in the other cases not.\n\n if (!isIE10 && isHTML) {\n var marginTop = parseFloat(styles.marginTop, 10);\n var marginLeft = parseFloat(styles.marginLeft, 10);\n offsets.top -= borderTopWidth - marginTop;\n offsets.bottom -= borderTopWidth - marginTop;\n offsets.left -= borderLeftWidth - marginLeft;\n offsets.right -= borderLeftWidth - marginLeft; // Attach marginTop and marginLeft because in some circumstances we may need them\n\n offsets.marginTop = marginTop;\n offsets.marginLeft = marginLeft;\n }\n\n if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n offsets = includeScroll(offsets, parent);\n }\n\n return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var html = element.ownerDocument.documentElement;\n var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n var width = Math.max(html.clientWidth, window.innerWidth || 0);\n var height = Math.max(html.clientHeight, window.innerHeight || 0);\n var scrollTop = !excludeScroll ? getScroll(html) : 0;\n var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n var offset = {\n top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n width: width,\n height: height\n };\n return getClientRect(offset);\n}\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\n\n\nfunction isFixed(element) {\n var nodeName = element.nodeName;\n\n if (nodeName === 'BODY' || nodeName === 'HTML') {\n return false;\n }\n\n if (getStyleComputedProperty(element, 'position') === 'fixed') {\n return true;\n }\n\n var parentNode = getParentNode(element);\n\n if (!parentNode) {\n return false;\n }\n\n return isFixed(parentNode);\n}\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\n\nfunction getFixedPositionOffsetParent(element) {\n // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n if (!element || !element.parentElement || isIE()) {\n return document.documentElement;\n }\n\n var el = element.parentElement;\n\n while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n el = el.parentElement;\n }\n\n return el || document.documentElement;\n}\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\n\n\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false; // NOTE: 1 DOM access here\n\n var boundaries = {\n top: 0,\n left: 0\n };\n var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference); // Handle viewport case\n\n if (boundariesElement === 'viewport') {\n boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n } else {\n // Handle other cases based on DOM element used as boundaries\n var boundariesNode = void 0;\n\n if (boundariesElement === 'scrollParent') {\n boundariesNode = getScrollParent(getParentNode(reference));\n\n if (boundariesNode.nodeName === 'BODY') {\n boundariesNode = popper.ownerDocument.documentElement;\n }\n } else if (boundariesElement === 'window') {\n boundariesNode = popper.ownerDocument.documentElement;\n } else {\n boundariesNode = boundariesElement;\n }\n\n var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition); // In case of HTML, we need a different computation\n\n if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n height = _getWindowSizes.height,\n width = _getWindowSizes.width;\n\n boundaries.top += offsets.top - offsets.marginTop;\n boundaries.bottom = height + offsets.top;\n boundaries.left += offsets.left - offsets.marginLeft;\n boundaries.right = width + offsets.left;\n } else {\n // for all the other DOM elements, this one is good\n boundaries = offsets;\n }\n } // Add paddings\n\n\n padding = padding || 0;\n var isPaddingNumber = typeof padding === 'number';\n boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n return boundaries;\n}\n\nfunction getArea(_ref) {\n var width = _ref.width,\n height = _ref.height;\n return width * height;\n}\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n if (placement.indexOf('auto') === -1) {\n return placement;\n }\n\n var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n var rects = {\n top: {\n width: boundaries.width,\n height: refRect.top - boundaries.top\n },\n right: {\n width: boundaries.right - refRect.right,\n height: boundaries.height\n },\n bottom: {\n width: boundaries.width,\n height: boundaries.bottom - refRect.bottom\n },\n left: {\n width: refRect.left - boundaries.left,\n height: boundaries.height\n }\n };\n var sortedAreas = Object.keys(rects).map(function (key) {\n return _extends({\n key: key\n }, rects[key], {\n area: getArea(rects[key])\n });\n }).sort(function (a, b) {\n return b.area - a.area;\n });\n var filteredAreas = sortedAreas.filter(function (_ref2) {\n var width = _ref2.width,\n height = _ref2.height;\n return width >= popper.clientWidth && height >= popper.clientHeight;\n });\n var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n var variation = placement.split('-')[1];\n return computedPlacement + (variation ? '-' + variation : '');\n}\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\n\n\nfunction getReferenceOffsets(state, popper, reference) {\n var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, reference);\n return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\n\n\nfunction getOuterSizes(element) {\n var window = element.ownerDocument.defaultView;\n var styles = window.getComputedStyle(element);\n var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n var result = {\n width: element.offsetWidth + y,\n height: element.offsetHeight + x\n };\n return result;\n}\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\n\n\nfunction getOppositePlacement(placement) {\n var hash = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n };\n return placement.replace(/left|right|bottom|top/g, function (matched) {\n return hash[matched];\n });\n}\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\n\n\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n placement = placement.split('-')[0]; // Get popper node sizes\n\n var popperRect = getOuterSizes(popper); // Add position, width and height to our offsets object\n\n var popperOffsets = {\n width: popperRect.width,\n height: popperRect.height\n }; // depending by the popper placement we have to compute its offsets slightly differently\n\n var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n var mainSide = isHoriz ? 'top' : 'left';\n var secondarySide = isHoriz ? 'left' : 'top';\n var measurement = isHoriz ? 'height' : 'width';\n var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n\n if (placement === secondarySide) {\n popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n } else {\n popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n }\n\n return popperOffsets;\n}\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\n\n\nfunction find(arr, check) {\n // use native find if supported\n if (Array.prototype.find) {\n return arr.find(check);\n } // use `filter` to obtain the same behavior of `find`\n\n\n return arr.filter(check)[0];\n}\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\n\n\nfunction findIndex(arr, prop, value) {\n // use native findIndex if supported\n if (Array.prototype.findIndex) {\n return arr.findIndex(function (cur) {\n return cur[prop] === value;\n });\n } // use `find` + `indexOf` if `findIndex` isn't supported\n\n\n var match = find(arr, function (obj) {\n return obj[prop] === value;\n });\n return arr.indexOf(match);\n}\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\n\n\nfunction runModifiers(modifiers, data, ends) {\n var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n modifiersToRun.forEach(function (modifier) {\n if (modifier['function']) {\n // eslint-disable-line dot-notation\n console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n }\n\n var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n\n if (modifier.enabled && isFunction(fn)) {\n // Add properties to offsets to make them a complete clientRect object\n // we do this before each modifier to make sure the previous one doesn't\n // mess with these values\n data.offsets.popper = getClientRect(data.offsets.popper);\n data.offsets.reference = getClientRect(data.offsets.reference);\n data = fn(data, modifier);\n }\n });\n return data;\n}\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.
\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\n\n\nfunction update() {\n // if popper is destroyed, don't perform any further update\n if (this.state.isDestroyed) {\n return;\n }\n\n var data = {\n instance: this,\n styles: {},\n arrowStyles: {},\n attributes: {},\n flipped: false,\n offsets: {}\n }; // compute reference element offsets\n\n data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed); // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n\n data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding); // store the computed placement inside `originalPlacement`\n\n data.originalPlacement = data.placement;\n data.positionFixed = this.options.positionFixed; // compute the popper offsets\n\n data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute'; // run the modifiers\n\n data = runModifiers(this.modifiers, data); // the first `update` will call `onCreate` callback\n // the other ones will call `onUpdate` callback\n\n if (!this.state.isCreated) {\n this.state.isCreated = true;\n this.options.onCreate(data);\n } else {\n this.options.onUpdate(data);\n }\n}\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\n\n\nfunction isModifierEnabled(modifiers, modifierName) {\n return modifiers.some(function (_ref) {\n var name = _ref.name,\n enabled = _ref.enabled;\n return enabled && name === modifierName;\n });\n}\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\n\n\nfunction getSupportedPropertyName(property) {\n var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n for (var i = 0; i < prefixes.length; i++) {\n var prefix = prefixes[i];\n var toCheck = prefix ? '' + prefix + upperProp : property;\n\n if (typeof document.body.style[toCheck] !== 'undefined') {\n return toCheck;\n }\n }\n\n return null;\n}\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\n\n\nfunction destroy() {\n this.state.isDestroyed = true; // touch DOM only if `applyStyle` modifier is enabled\n\n if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n this.popper.removeAttribute('x-placement');\n this.popper.style.position = '';\n this.popper.style.top = '';\n this.popper.style.left = '';\n this.popper.style.right = '';\n this.popper.style.bottom = '';\n this.popper.style.willChange = '';\n this.popper.style[getSupportedPropertyName('transform')] = '';\n }\n\n this.disableEventListeners(); // remove the popper if user explicity asked for the deletion on destroy\n // do not use `remove` because IE11 doesn't support it\n\n if (this.options.removeOnDestroy) {\n this.popper.parentNode.removeChild(this.popper);\n }\n\n return this;\n}\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\n\n\nfunction getWindow(element) {\n var ownerDocument = element.ownerDocument;\n return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n var isBody = scrollParent.nodeName === 'BODY';\n var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n target.addEventListener(event, callback, {\n passive: true\n });\n\n if (!isBody) {\n attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n }\n\n scrollParents.push(target);\n}\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\n\n\nfunction setupEventListeners(reference, options, state, updateBound) {\n // Resize event listener on window\n state.updateBound = updateBound;\n getWindow(reference).addEventListener('resize', state.updateBound, {\n passive: true\n }); // Scroll event listener on scroll parents\n\n var scrollElement = getScrollParent(reference);\n attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n state.scrollElement = scrollElement;\n state.eventsEnabled = true;\n return state;\n}\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\n\n\nfunction enableEventListeners() {\n if (!this.state.eventsEnabled) {\n this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n }\n}\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\n\n\nfunction removeEventListeners(reference, state) {\n // Remove resize event listener on window\n getWindow(reference).removeEventListener('resize', state.updateBound); // Remove scroll event listener on scroll parents\n\n state.scrollParents.forEach(function (target) {\n target.removeEventListener('scroll', state.updateBound);\n }); // Reset state\n\n state.updateBound = null;\n state.scrollParents = [];\n state.scrollElement = null;\n state.eventsEnabled = false;\n return state;\n}\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\n\n\nfunction disableEventListeners() {\n if (this.state.eventsEnabled) {\n cancelAnimationFrame(this.scheduleUpdate);\n this.state = removeEventListeners(this.reference, this.state);\n }\n}\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\n\n\nfunction isNumeric(n) {\n return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\n\n\nfunction setStyles(element, styles) {\n Object.keys(styles).forEach(function (prop) {\n var unit = ''; // add unit if the value is numeric and is one of the following\n\n if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n unit = 'px';\n }\n\n element.style[prop] = styles[prop] + unit;\n });\n}\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\n\n\nfunction setAttributes(element, attributes) {\n Object.keys(attributes).forEach(function (prop) {\n var value = attributes[prop];\n\n if (value !== false) {\n element.setAttribute(prop, attributes[prop]);\n } else {\n element.removeAttribute(prop);\n }\n });\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\n\n\nfunction applyStyle(data) {\n // any property present in `data.styles` will be applied to the popper,\n // in this way we can make the 3rd party modifiers add custom styles to it\n // Be aware, modifiers could override the properties defined in the previous\n // lines of this modifier!\n setStyles(data.instance.popper, data.styles); // any property present in `data.attributes` will be applied to the popper,\n // they will be set as HTML attributes of the element\n\n setAttributes(data.instance.popper, data.attributes); // if arrowElement is defined and arrowStyles has some properties\n\n if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n setStyles(data.arrowElement, data.arrowStyles);\n }\n\n return data;\n}\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\n\n\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n // compute reference element offsets\n var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed); // compute auto placement, store placement inside the data object,\n // modifiers will be able to edit `placement` if needed\n // and refer to originalPlacement to know the original value\n\n var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n popper.setAttribute('x-placement', placement); // Apply `position` to popper before anything else because\n // without the position applied we can't guarantee correct computations\n\n setStyles(popper, {\n position: options.positionFixed ? 'fixed' : 'absolute'\n });\n return options;\n}\n/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\n\n\nfunction getRoundedOffsets(data, shouldRound) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n var round = Math.round,\n floor = Math.floor;\n\n var noRound = function noRound(v) {\n return v;\n };\n\n var referenceWidth = round(reference.width);\n var popperWidth = round(popper.width);\n var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n var isVariation = data.placement.indexOf('-') !== -1;\n var sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor;\n var verticalToInteger = !shouldRound ? noRound : round;\n return {\n left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),\n top: verticalToInteger(popper.top),\n bottom: verticalToInteger(popper.bottom),\n right: horizontalToInteger(popper.right)\n };\n}\n\nvar isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\nfunction computeStyle(data, options) {\n var x = options.x,\n y = options.y;\n var popper = data.offsets.popper; // Remove this legacy support in Popper.js v2\n\n var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'applyStyle';\n }).gpuAcceleration;\n\n if (legacyGpuAccelerationOption !== undefined) {\n console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n }\n\n var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n var offsetParent = getOffsetParent(data.instance.popper);\n var offsetParentRect = getBoundingClientRect(offsetParent); // Styles\n\n var styles = {\n position: popper.position\n };\n var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);\n var sideA = x === 'bottom' ? 'top' : 'bottom';\n var sideB = y === 'right' ? 'left' : 'right'; // if gpuAcceleration is set to `true` and transform is supported,\n // we use `translate3d` to apply the position to the popper we\n // automatically use the supported prefixed version if needed\n\n var prefixedProperty = getSupportedPropertyName('transform'); // now, let's make a step back and look at this code closely (wtf?)\n // If the content of the popper grows once it's been positioned, it\n // may happen that the popper gets misplaced because of the new content\n // overflowing its reference element\n // To avoid this problem, we provide two options (x and y), which allow\n // the consumer to define the offset origin.\n // If we position a popper on top of a reference element, we can set\n // `x` to `top` to make the popper grow towards its top instead of\n // its bottom.\n\n var left = void 0,\n top = void 0;\n\n if (sideA === 'bottom') {\n // when offsetParent is the positioning is relative to the bottom of the screen (excluding the scrollbar)\n // and not the bottom of the html element\n if (offsetParent.nodeName === 'HTML') {\n top = -offsetParent.clientHeight + offsets.bottom;\n } else {\n top = -offsetParentRect.height + offsets.bottom;\n }\n } else {\n top = offsets.top;\n }\n\n if (sideB === 'right') {\n if (offsetParent.nodeName === 'HTML') {\n left = -offsetParent.clientWidth + offsets.right;\n } else {\n left = -offsetParentRect.width + offsets.right;\n }\n } else {\n left = offsets.left;\n }\n\n if (gpuAcceleration && prefixedProperty) {\n styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n styles[sideA] = 0;\n styles[sideB] = 0;\n styles.willChange = 'transform';\n } else {\n // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n var invertTop = sideA === 'bottom' ? -1 : 1;\n var invertLeft = sideB === 'right' ? -1 : 1;\n styles[sideA] = top * invertTop;\n styles[sideB] = left * invertLeft;\n styles.willChange = sideA + ', ' + sideB;\n } // Attributes\n\n\n var attributes = {\n 'x-placement': data.placement\n }; // Update `data` attributes, styles and arrowStyles\n\n data.attributes = _extends({}, attributes, data.attributes);\n data.styles = _extends({}, styles, data.styles);\n data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n return data;\n}\n/**\n * Helper used to know if the given modifier depends from another one.
\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\n\n\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n var requesting = find(modifiers, function (_ref) {\n var name = _ref.name;\n return name === requestingName;\n });\n var isRequired = !!requesting && modifiers.some(function (modifier) {\n return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n });\n\n if (!isRequired) {\n var _requesting = '`' + requestingName + '`';\n\n var requested = '`' + requestedName + '`';\n console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n }\n\n return isRequired;\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction arrow(data, options) {\n var _data$offsets$arrow; // arrow depends on keepTogether in order to work\n\n\n if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n return data;\n }\n\n var arrowElement = options.element; // if arrowElement is a string, suppose it's a CSS selector\n\n if (typeof arrowElement === 'string') {\n arrowElement = data.instance.popper.querySelector(arrowElement); // if arrowElement is not found, don't run the modifier\n\n if (!arrowElement) {\n return data;\n }\n } else {\n // if the arrowElement isn't a query selector we must check that the\n // provided DOM node is child of its popper node\n if (!data.instance.popper.contains(arrowElement)) {\n console.warn('WARNING: `arrow.element` must be child of its popper element!');\n return data;\n }\n }\n\n var placement = data.placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n var len = isVertical ? 'height' : 'width';\n var sideCapitalized = isVertical ? 'Top' : 'Left';\n var side = sideCapitalized.toLowerCase();\n var altSide = isVertical ? 'left' : 'top';\n var opSide = isVertical ? 'bottom' : 'right';\n var arrowElementSize = getOuterSizes(arrowElement)[len]; //\n // extends keepTogether behavior making sure the popper and its\n // reference have enough pixels in conjunction\n //\n // top/left side\n\n if (reference[opSide] - arrowElementSize < popper[side]) {\n data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n } // bottom/right side\n\n\n if (reference[side] + arrowElementSize > popper[opSide]) {\n data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n }\n\n data.offsets.popper = getClientRect(data.offsets.popper); // compute center of the popper\n\n var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; // Compute the sideValue using the updated popper offsets\n // take popper margin in account because we don't have this info available\n\n var css = getStyleComputedProperty(data.instance.popper);\n var popperMarginSide = parseFloat(css['margin' + sideCapitalized], 10);\n var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width'], 10);\n var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide; // prevent arrowElement from being placed not contiguously to its popper\n\n sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n data.arrowElement = arrowElement;\n data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n return data;\n}\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\n\n\nfunction getOppositeVariation(variation) {\n if (variation === 'end') {\n return 'start';\n } else if (variation === 'start') {\n return 'end';\n }\n\n return variation;\n}\n/**\n * List of accepted placements to use as values of the `placement` option.
\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.
\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\n\n\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']; // Get rid of `auto` `auto-start` and `auto-end`\n\nvar validPlacements = placements.slice(3);\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\n\nfunction clockwise(placement) {\n var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n var index = validPlacements.indexOf(placement);\n var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n FLIP: 'flip',\n CLOCKWISE: 'clockwise',\n COUNTERCLOCKWISE: 'counterclockwise'\n};\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\nfunction flip(data, options) {\n // if `inner` modifier is enabled, we can't use the `flip` modifier\n if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n return data;\n }\n\n if (data.flipped && data.placement === data.originalPlacement) {\n // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n return data;\n }\n\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n var placement = data.placement.split('-')[0];\n var placementOpposite = getOppositePlacement(placement);\n var variation = data.placement.split('-')[1] || '';\n var flipOrder = [];\n\n switch (options.behavior) {\n case BEHAVIORS.FLIP:\n flipOrder = [placement, placementOpposite];\n break;\n\n case BEHAVIORS.CLOCKWISE:\n flipOrder = clockwise(placement);\n break;\n\n case BEHAVIORS.COUNTERCLOCKWISE:\n flipOrder = clockwise(placement, true);\n break;\n\n default:\n flipOrder = options.behavior;\n }\n\n flipOrder.forEach(function (step, index) {\n if (placement !== step || flipOrder.length === index + 1) {\n return data;\n }\n\n placement = data.placement.split('-')[0];\n placementOpposite = getOppositePlacement(placement);\n var popperOffsets = data.offsets.popper;\n var refOffsets = data.offsets.reference; // using floor because the reference offsets may contain decimals we are not going to consider here\n\n var floor = Math.floor;\n var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom; // flip the variation if required\n\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; // flips variation if reference element overflows boundaries\n\n var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom); // flips variation if popper content overflows boundaries\n\n var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop);\n var flippedVariation = flippedVariationByRef || flippedVariationByContent;\n\n if (overlapsRef || overflowsBoundaries || flippedVariation) {\n // this boolean to detect any flip loop\n data.flipped = true;\n\n if (overlapsRef || overflowsBoundaries) {\n placement = flipOrder[index + 1];\n }\n\n if (flippedVariation) {\n variation = getOppositeVariation(variation);\n }\n\n data.placement = placement + (variation ? '-' + variation : ''); // this object contains `position`, we want to preserve it along with\n // any additional property we may add in the future\n\n data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n data = runModifiers(data.instance.modifiers, data, 'flip');\n }\n });\n return data;\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction keepTogether(data) {\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n var placement = data.placement.split('-')[0];\n var floor = Math.floor;\n var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n var side = isVertical ? 'right' : 'bottom';\n var opSide = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n\n if (popper[side] < floor(reference[opSide])) {\n data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n }\n\n if (popper[opSide] > floor(reference[side])) {\n data.offsets.popper[opSide] = floor(reference[side]);\n }\n\n return data;\n}\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\n\n\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n // separate value from unit\n var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n var value = +split[1];\n var unit = split[2]; // If it's not a number it's an operator, I guess\n\n if (!value) {\n return str;\n }\n\n if (unit.indexOf('%') === 0) {\n var element = void 0;\n\n switch (unit) {\n case '%p':\n element = popperOffsets;\n break;\n\n case '%':\n case '%r':\n default:\n element = referenceOffsets;\n }\n\n var rect = getClientRect(element);\n return rect[measurement] / 100 * value;\n } else if (unit === 'vh' || unit === 'vw') {\n // if is a vh or vw, we calculate the size based on the viewport\n var size = void 0;\n\n if (unit === 'vh') {\n size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n } else {\n size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n }\n\n return size / 100 * value;\n } else {\n // if is an explicit pixel unit, we get rid of the unit and keep the value\n // if is an implicit unit, it's px, and we return just the value\n return value;\n }\n}\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\n\n\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n var offsets = [0, 0]; // Use height if placement is left or right and index is 0 otherwise use width\n // in this way the first offset will use an axis and the second one\n // will use the other one\n\n var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; // Split the offset string to obtain a list of values and operands\n // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n\n var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n return frag.trim();\n }); // Detect if the offset string contains a pair of values or a single one\n // they could be separated by comma or space\n\n var divider = fragments.indexOf(find(fragments, function (frag) {\n return frag.search(/,|\\s/) !== -1;\n }));\n\n if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n } // If divider is found, we divide the list of values and operands to divide\n // them by ofset X and Y.\n\n\n var splitRegex = /\\s*,\\s*|\\s+/;\n var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments]; // Convert the values with units to absolute pixels to allow our computations\n\n ops = ops.map(function (op, index) {\n // Most of the units rely on the orientation of the popper\n var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n var mergeWithPrevious = false;\n return op // This aggregates any `+` or `-` sign that aren't considered operators\n // e.g.: 10 + +5 => [10, +, +5]\n .reduce(function (a, b) {\n if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n a[a.length - 1] = b;\n mergeWithPrevious = true;\n return a;\n } else if (mergeWithPrevious) {\n a[a.length - 1] += b;\n mergeWithPrevious = false;\n return a;\n } else {\n return a.concat(b);\n }\n }, []) // Here we convert the string values into number values (in px)\n .map(function (str) {\n return toValue(str, measurement, popperOffsets, referenceOffsets);\n });\n }); // Loop trough the offsets arrays and execute the operations\n\n ops.forEach(function (op, index) {\n op.forEach(function (frag, index2) {\n if (isNumeric(frag)) {\n offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n }\n });\n });\n return offsets;\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction offset(data, _ref) {\n var offset = _ref.offset;\n var placement = data.placement,\n _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n var basePlacement = placement.split('-')[0];\n var offsets = void 0;\n\n if (isNumeric(+offset)) {\n offsets = [+offset, 0];\n } else {\n offsets = parseOffset(offset, popper, reference, basePlacement);\n }\n\n if (basePlacement === 'left') {\n popper.top += offsets[0];\n popper.left -= offsets[1];\n } else if (basePlacement === 'right') {\n popper.top += offsets[0];\n popper.left += offsets[1];\n } else if (basePlacement === 'top') {\n popper.left += offsets[0];\n popper.top -= offsets[1];\n } else if (basePlacement === 'bottom') {\n popper.left += offsets[0];\n popper.top += offsets[1];\n }\n\n data.popper = popper;\n return data;\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction preventOverflow(data, options) {\n var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); // If offsetParent is the reference element, we really want to\n // go one step up and use the next offsetParent as reference to\n // avoid to make this modifier completely useless and look like broken\n\n if (data.instance.reference === boundariesElement) {\n boundariesElement = getOffsetParent(boundariesElement);\n } // NOTE: DOM access here\n // resets the popper's position so that the document size can be calculated excluding\n // the size of the popper element itself\n\n\n var transformProp = getSupportedPropertyName('transform');\n var popperStyles = data.instance.popper.style; // assignment to help minification\n\n var top = popperStyles.top,\n left = popperStyles.left,\n transform = popperStyles[transformProp];\n popperStyles.top = '';\n popperStyles.left = '';\n popperStyles[transformProp] = '';\n var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed); // NOTE: DOM access here\n // restores the original style properties after the offsets have been computed\n\n popperStyles.top = top;\n popperStyles.left = left;\n popperStyles[transformProp] = transform;\n options.boundaries = boundaries;\n var order = options.priority;\n var popper = data.offsets.popper;\n var check = {\n primary: function primary(placement) {\n var value = popper[placement];\n\n if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n value = Math.max(popper[placement], boundaries[placement]);\n }\n\n return defineProperty({}, placement, value);\n },\n secondary: function secondary(placement) {\n var mainSide = placement === 'right' ? 'left' : 'top';\n var value = popper[mainSide];\n\n if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n }\n\n return defineProperty({}, mainSide, value);\n }\n };\n order.forEach(function (placement) {\n var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n popper = _extends({}, popper, check[side](placement));\n });\n data.offsets.popper = popper;\n return data;\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction shift(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var shiftvariation = placement.split('-')[1]; // if shift shiftvariation is specified, run the modifier\n\n if (shiftvariation) {\n var _data$offsets = data.offsets,\n reference = _data$offsets.reference,\n popper = _data$offsets.popper;\n var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n var side = isVertical ? 'left' : 'top';\n var measurement = isVertical ? 'width' : 'height';\n var shiftOffsets = {\n start: defineProperty({}, side, reference[side]),\n end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n };\n data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n }\n\n return data;\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction hide(data) {\n if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n return data;\n }\n\n var refRect = data.offsets.reference;\n var bound = find(data.instance.modifiers, function (modifier) {\n return modifier.name === 'preventOverflow';\n }).boundaries;\n\n if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === true) {\n return data;\n }\n\n data.hide = true;\n data.attributes['x-out-of-boundaries'] = '';\n } else {\n // Avoid unnecessary DOM access if visibility hasn't changed\n if (data.hide === false) {\n return data;\n }\n\n data.hide = false;\n data.attributes['x-out-of-boundaries'] = false;\n }\n\n return data;\n}\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\n\n\nfunction inner(data) {\n var placement = data.placement;\n var basePlacement = placement.split('-')[0];\n var _data$offsets = data.offsets,\n popper = _data$offsets.popper,\n reference = _data$offsets.reference;\n var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n data.placement = getOppositePlacement(placement);\n data.offsets.popper = getClientRect(popper);\n return data;\n}\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.
\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.
\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\n\n\nvar modifiers = {\n /**\n * Modifier used to shift the popper on the start or end of its reference\n * element.
\n * It will read the variation of the `placement` property.
\n * It can be one either `-end` or `-start`.\n * @memberof modifiers\n * @inner\n */\n shift: {\n /** @prop {number} order=100 - Index used to define the order of execution */\n order: 100,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: shift\n },\n\n /**\n * The `offset` modifier can shift your popper on both its axis.\n *\n * It accepts the following units:\n * - `px` or unit-less, interpreted as pixels\n * - `%` or `%r`, percentage relative to the length of the reference element\n * - `%p`, percentage relative to the length of the popper element\n * - `vw`, CSS viewport width unit\n * - `vh`, CSS viewport height unit\n *\n * For length is intended the main axis relative to the placement of the popper.
\n * This means that if the placement is `top` or `bottom`, the length will be the\n * `width`. In case of `left` or `right`, it will be the `height`.\n *\n * You can provide a single value (as `Number` or `String`), or a pair of values\n * as `String` divided by a comma or one (or more) white spaces.
\n * The latter is a deprecated method because it leads to confusion and will be\n * removed in v2.
\n * Additionally, it accepts additions and subtractions between different units.\n * Note that multiplications and divisions aren't supported.\n *\n * Valid examples are:\n * ```\n * 10\n * '10%'\n * '10, 10'\n * '10%, 10'\n * '10 + 10%'\n * '10 - 5vh + 3%'\n * '-10px + 5vh, 5px - 6%'\n * ```\n * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n *\n * @memberof modifiers\n * @inner\n */\n offset: {\n /** @prop {number} order=200 - Index used to define the order of execution */\n order: 200,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: offset,\n\n /** @prop {Number|String} offset=0\n * The offset value as described in the modifier description\n */\n offset: 0\n },\n\n /**\n * Modifier used to prevent the popper from being positioned outside the boundary.\n *\n * A scenario exists where the reference itself is not within the boundaries.
\n * We can say it has \"escaped the boundaries\" — or just \"escaped\".
\n * In this case we need to decide whether the popper should either:\n *\n * - detach from the reference and remain \"trapped\" in the boundaries, or\n * - if it should ignore the boundary and \"escape with its reference\"\n *\n * When `escapeWithReference` is set to`true` and reference is completely\n * outside its boundaries, the popper will overflow (or completely leave)\n * the boundaries in order to remain attached to the edge of the reference.\n *\n * @memberof modifiers\n * @inner\n */\n preventOverflow: {\n /** @prop {number} order=300 - Index used to define the order of execution */\n order: 300,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: preventOverflow,\n\n /**\n * @prop {Array} [priority=['left','right','top','bottom']]\n * Popper will try to prevent overflow following these priorities by default,\n * then, it could overflow on the left and on top of the `boundariesElement`\n */\n priority: ['left', 'right', 'top', 'bottom'],\n\n /**\n * @prop {number} padding=5\n * Amount of pixel used to define a minimum distance between the boundaries\n * and the popper. This makes sure the popper always has a little padding\n * between the edges of its container\n */\n padding: 5,\n\n /**\n * @prop {String|HTMLElement} boundariesElement='scrollParent'\n * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n * `viewport` or any DOM element.\n */\n boundariesElement: 'scrollParent'\n },\n\n /**\n * Modifier used to make sure the reference and its popper stay near each other\n * without leaving any gap between the two. Especially useful when the arrow is\n * enabled and you want to ensure that it points to its reference element.\n * It cares only about the first axis. You can still have poppers with margin\n * between the popper and its reference element.\n * @memberof modifiers\n * @inner\n */\n keepTogether: {\n /** @prop {number} order=400 - Index used to define the order of execution */\n order: 400,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: keepTogether\n },\n\n /**\n * This modifier is used to move the `arrowElement` of the popper to make\n * sure it is positioned between the reference element and its popper element.\n * It will read the outer size of the `arrowElement` node to detect how many\n * pixels of conjunction are needed.\n *\n * It has no effect if no `arrowElement` is provided.\n * @memberof modifiers\n * @inner\n */\n arrow: {\n /** @prop {number} order=500 - Index used to define the order of execution */\n order: 500,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: arrow,\n\n /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n element: '[x-arrow]'\n },\n\n /**\n * Modifier used to flip the popper's placement when it starts to overlap its\n * reference element.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n *\n * **NOTE:** this modifier will interrupt the current update cycle and will\n * restart it if it detects the need to flip the placement.\n * @memberof modifiers\n * @inner\n */\n flip: {\n /** @prop {number} order=600 - Index used to define the order of execution */\n order: 600,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: flip,\n\n /**\n * @prop {String|Array} behavior='flip'\n * The behavior used to change the popper's placement. It can be one of\n * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n * placements (with optional variations)\n */\n behavior: 'flip',\n\n /**\n * @prop {number} padding=5\n * The popper will flip if it hits the edges of the `boundariesElement`\n */\n padding: 5,\n\n /**\n * @prop {String|HTMLElement} boundariesElement='viewport'\n * The element which will define the boundaries of the popper position.\n * The popper will never be placed outside of the defined boundaries\n * (except if `keepTogether` is enabled)\n */\n boundariesElement: 'viewport',\n\n /**\n * @prop {Boolean} flipVariations=false\n * The popper will switch placement variation between `-start` and `-end` when\n * the reference element overlaps its boundaries.\n *\n * The original placement should have a set variation.\n */\n flipVariations: false,\n\n /**\n * @prop {Boolean} flipVariationsByContent=false\n * The popper will switch placement variation between `-start` and `-end` when\n * the popper element overlaps its reference boundaries.\n *\n * The original placement should have a set variation.\n */\n flipVariationsByContent: false\n },\n\n /**\n * Modifier used to make the popper flow toward the inner of the reference element.\n * By default, when this modifier is disabled, the popper will be placed outside\n * the reference element.\n * @memberof modifiers\n * @inner\n */\n inner: {\n /** @prop {number} order=700 - Index used to define the order of execution */\n order: 700,\n\n /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n enabled: false,\n\n /** @prop {ModifierFn} */\n fn: inner\n },\n\n /**\n * Modifier used to hide the popper when its reference element is outside of the\n * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n * be used to hide with a CSS selector the popper when its reference is\n * out of boundaries.\n *\n * Requires the `preventOverflow` modifier before it in order to work.\n * @memberof modifiers\n * @inner\n */\n hide: {\n /** @prop {number} order=800 - Index used to define the order of execution */\n order: 800,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: hide\n },\n\n /**\n * Computes the style that will be applied to the popper element to gets\n * properly positioned.\n *\n * Note that this modifier will not touch the DOM, it just prepares the styles\n * so that `applyStyle` modifier can apply it. This separation is useful\n * in case you need to replace `applyStyle` with a custom implementation.\n *\n * This modifier has `850` as `order` value to maintain backward compatibility\n * with previous versions of Popper.js. Expect the modifiers ordering method\n * to change in future major versions of the library.\n *\n * @memberof modifiers\n * @inner\n */\n computeStyle: {\n /** @prop {number} order=850 - Index used to define the order of execution */\n order: 850,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: computeStyle,\n\n /**\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: true,\n\n /**\n * @prop {string} [x='bottom']\n * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n * Change this if your popper should grow in a direction different from `bottom`\n */\n x: 'bottom',\n\n /**\n * @prop {string} [x='left']\n * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n * Change this if your popper should grow in a direction different from `right`\n */\n y: 'right'\n },\n\n /**\n * Applies the computed styles to the popper element.\n *\n * All the DOM manipulations are limited to this modifier. This is useful in case\n * you want to integrate Popper.js inside a framework or view library and you\n * want to delegate all the DOM manipulations to it.\n *\n * Note that if you disable this modifier, you must make sure the popper element\n * has its position set to `absolute` before Popper.js can do its work!\n *\n * Just disable this modifier and define your own to achieve the desired effect.\n *\n * @memberof modifiers\n * @inner\n */\n applyStyle: {\n /** @prop {number} order=900 - Index used to define the order of execution */\n order: 900,\n\n /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n enabled: true,\n\n /** @prop {ModifierFn} */\n fn: applyStyle,\n\n /** @prop {Function} */\n onLoad: applyStyleOnLoad,\n\n /**\n * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n * @prop {Boolean} gpuAcceleration=true\n * If true, it uses the CSS 3D transformation to position the popper.\n * Otherwise, it will use the `top` and `left` properties\n */\n gpuAcceleration: undefined\n }\n};\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor.
\n * These can be overridden using the `options` argument of Popper.js.
\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n * modifiers: {\n * preventOverflow: { enabled: false }\n * }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\n\nvar Defaults = {\n /**\n * Popper's placement.\n * @prop {Popper.placements} placement='bottom'\n */\n placement: 'bottom',\n\n /**\n * Set this to true if you want popper to position it self in 'fixed' mode\n * @prop {Boolean} positionFixed=false\n */\n positionFixed: false,\n\n /**\n * Whether events (resize, scroll) are initially enabled.\n * @prop {Boolean} eventsEnabled=true\n */\n eventsEnabled: true,\n\n /**\n * Set to true if you want to automatically remove the popper when\n * you call the `destroy` method.\n * @prop {Boolean} removeOnDestroy=false\n */\n removeOnDestroy: false,\n\n /**\n * Callback called when the popper is created.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onCreate}\n */\n onCreate: function onCreate() {},\n\n /**\n * Callback called when the popper is updated. This callback is not called\n * on the initialization/creation of the popper, but only on subsequent\n * updates.
\n * By default, it is set to no-op.
\n * Access Popper.js instance with `data.instance`.\n * @prop {onUpdate}\n */\n onUpdate: function onUpdate() {},\n\n /**\n * List of modifiers used to modify the offsets before they are applied to the popper.\n * They provide most of the functionalities of Popper.js.\n * @prop {modifiers}\n */\n modifiers: modifiers\n};\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n// Utils\n// Methods\n\nvar Popper = function () {\n /**\n * Creates a new Popper.js instance.\n * @class Popper\n * @param {Element|referenceObject} reference - The reference element used to position the popper\n * @param {Element} popper - The HTML / XML element used as the popper\n * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n * @return {Object} instance - The generated Popper.js instance\n */\n function Popper(reference, popper) {\n var _this = this;\n\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n classCallCheck(this, Popper);\n\n this.scheduleUpdate = function () {\n return requestAnimationFrame(_this.update);\n }; // make update() debounced, so that it only runs at most once-per-tick\n\n\n this.update = debounce(this.update.bind(this)); // with {} we create a new object with the options inside it\n\n this.options = _extends({}, Popper.Defaults, options); // init state\n\n this.state = {\n isDestroyed: false,\n isCreated: false,\n scrollParents: []\n }; // get reference and popper elements (allow jQuery wrappers)\n\n this.reference = reference && reference.jquery ? reference[0] : reference;\n this.popper = popper && popper.jquery ? popper[0] : popper; // Deep merge modifiers options\n\n this.options.modifiers = {};\n Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n }); // Refactoring modifiers' list (Object => Array)\n\n this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n return _extends({\n name: name\n }, _this.options.modifiers[name]);\n }) // sort the modifiers by order\n .sort(function (a, b) {\n return a.order - b.order;\n }); // modifiers have the ability to execute arbitrary code when Popper.js get inited\n // such code is executed in the same order of its modifier\n // they could add new properties to their options configuration\n // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n\n this.modifiers.forEach(function (modifierOptions) {\n if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n }\n }); // fire the first update to position the popper in the right place\n\n this.update();\n var eventsEnabled = this.options.eventsEnabled;\n\n if (eventsEnabled) {\n // setup event listeners, they will take care of update the position in specific situations\n this.enableEventListeners();\n }\n\n this.state.eventsEnabled = eventsEnabled;\n } // We can't use class properties because they don't get listed in the\n // class prototype and break stuff like Sinon stubs\n\n\n createClass(Popper, [{\n key: 'update',\n value: function update$$1() {\n return update.call(this);\n }\n }, {\n key: 'destroy',\n value: function destroy$$1() {\n return destroy.call(this);\n }\n }, {\n key: 'enableEventListeners',\n value: function enableEventListeners$$1() {\n return enableEventListeners.call(this);\n }\n }, {\n key: 'disableEventListeners',\n value: function disableEventListeners$$1() {\n return disableEventListeners.call(this);\n }\n /**\n * Schedules an update. It will run on the next UI update available.\n * @method scheduleUpdate\n * @memberof Popper\n */\n\n /**\n * Collection of utilities useful when writing custom modifiers.\n * Starting from version 1.7, this method is available only if you\n * include `popper-utils.js` before `popper.js`.\n *\n * **DEPRECATION**: This way to access PopperUtils is deprecated\n * and will be removed in v2! Use the PopperUtils module directly instead.\n * Due to the high instability of the methods contained in Utils, we can't\n * guarantee them to follow semver. Use them at your own risk!\n * @static\n * @private\n * @type {Object}\n * @deprecated since version 1.8\n * @member Utils\n * @memberof Popper\n */\n\n }]);\n return Popper;\n}();\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.
\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\nexport default Popper;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9h-4v4h-2v-4H9V9h4V5h2v4h4v2z\"\n}), 'Queue');\n\nexports.default = _default;","'use strict';\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;","/**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\nfunction isNil(value) {\n return value == null;\n}\n\nmodule.exports = isNil;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z\"\n}), 'AccountCircle');\n\nexports.default = _default;","\"use strict\";\n\nexports.__esModule = true;\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nexports.default = makeAsyncScript;\n\nvar _react = require(\"react\");\n\nvar _propTypes = require(\"prop-types\");\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _hoistNonReactStatics = require(\"hoist-non-react-statics\");\n\nvar _hoistNonReactStatics2 = _interopRequireDefault(_hoistNonReactStatics);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n}\n\nvar SCRIPT_MAP = {}; // A counter used to generate a unique id for each component that uses the function\n\nvar idCount = 0;\n\nfunction makeAsyncScript(getScriptURL, options) {\n options = options || {};\n return function wrapWithAsyncScript(WrappedComponent) {\n var wrappedComponentName = WrappedComponent.displayName || WrappedComponent.name || \"Component\";\n\n var AsyncScriptLoader = function (_Component) {\n _inherits(AsyncScriptLoader, _Component);\n\n function AsyncScriptLoader(props, context) {\n _classCallCheck(this, AsyncScriptLoader);\n\n var _this = _possibleConstructorReturn(this, _Component.call(this, props, context));\n\n _this.state = {};\n _this.__scriptURL = \"\";\n return _this;\n }\n\n AsyncScriptLoader.prototype.asyncScriptLoaderGetScriptLoaderID = function asyncScriptLoaderGetScriptLoaderID() {\n if (!this.__scriptLoaderID) {\n this.__scriptLoaderID = \"async-script-loader-\" + idCount++;\n }\n\n return this.__scriptLoaderID;\n };\n\n AsyncScriptLoader.prototype.setupScriptURL = function setupScriptURL() {\n this.__scriptURL = typeof getScriptURL === \"function\" ? getScriptURL() : getScriptURL;\n return this.__scriptURL;\n };\n\n AsyncScriptLoader.prototype.asyncScriptLoaderHandleLoad = function asyncScriptLoaderHandleLoad(state) {\n var _this2 = this; // use reacts setState callback to fire props.asyncScriptOnLoad with new state/entry\n\n\n this.setState(state, function () {\n return _this2.props.asyncScriptOnLoad && _this2.props.asyncScriptOnLoad(_this2.state);\n });\n };\n\n AsyncScriptLoader.prototype.asyncScriptLoaderTriggerOnScriptLoaded = function asyncScriptLoaderTriggerOnScriptLoaded() {\n var mapEntry = SCRIPT_MAP[this.__scriptURL];\n\n if (!mapEntry || !mapEntry.loaded) {\n throw new Error(\"Script is not loaded.\");\n }\n\n for (var obsKey in mapEntry.observers) {\n mapEntry.observers[obsKey](mapEntry);\n }\n\n delete window[options.callbackName];\n };\n\n AsyncScriptLoader.prototype.componentDidMount = function componentDidMount() {\n var _this3 = this;\n\n var scriptURL = this.setupScriptURL();\n var key = this.asyncScriptLoaderGetScriptLoaderID();\n var _options = options,\n globalName = _options.globalName,\n callbackName = _options.callbackName,\n scriptId = _options.scriptId; // check if global object already attached to window\n\n if (globalName && typeof window[globalName] !== \"undefined\") {\n SCRIPT_MAP[scriptURL] = {\n loaded: true,\n observers: {}\n };\n } // check if script loading already\n\n\n if (SCRIPT_MAP[scriptURL]) {\n var entry = SCRIPT_MAP[scriptURL]; // if loaded or errored then \"finish\"\n\n if (entry && (entry.loaded || entry.errored)) {\n this.asyncScriptLoaderHandleLoad(entry);\n return;\n } // if still loading then callback to observer queue\n\n\n entry.observers[key] = function (entry) {\n return _this3.asyncScriptLoaderHandleLoad(entry);\n };\n\n return;\n }\n /*\n * hasn't started loading\n * start the \"magic\"\n * setup script to load and observers\n */\n\n\n var observers = {};\n\n observers[key] = function (entry) {\n return _this3.asyncScriptLoaderHandleLoad(entry);\n };\n\n SCRIPT_MAP[scriptURL] = {\n loaded: false,\n observers: observers\n };\n var script = document.createElement(\"script\");\n script.src = scriptURL;\n script.async = true;\n\n if (scriptId) {\n script.id = scriptId;\n }\n\n var callObserverFuncAndRemoveObserver = function callObserverFuncAndRemoveObserver(func) {\n if (SCRIPT_MAP[scriptURL]) {\n var mapEntry = SCRIPT_MAP[scriptURL];\n var observersMap = mapEntry.observers;\n\n for (var obsKey in observersMap) {\n if (func(observersMap[obsKey])) {\n delete observersMap[obsKey];\n }\n }\n }\n };\n\n if (callbackName && typeof window !== \"undefined\") {\n window[callbackName] = function () {\n return _this3.asyncScriptLoaderTriggerOnScriptLoaded();\n };\n }\n\n script.onload = function () {\n var mapEntry = SCRIPT_MAP[scriptURL];\n\n if (mapEntry) {\n mapEntry.loaded = true;\n callObserverFuncAndRemoveObserver(function (observer) {\n if (callbackName) {\n return false;\n }\n\n observer(mapEntry);\n return true;\n });\n }\n };\n\n script.onerror = function () {\n var mapEntry = SCRIPT_MAP[scriptURL];\n\n if (mapEntry) {\n mapEntry.errored = true;\n callObserverFuncAndRemoveObserver(function (observer) {\n observer(mapEntry);\n return true;\n });\n }\n };\n\n document.body.appendChild(script);\n };\n\n AsyncScriptLoader.prototype.componentWillUnmount = function componentWillUnmount() {\n // Remove tag script\n var scriptURL = this.__scriptURL;\n\n if (options.removeOnUnmount === true) {\n var allScripts = document.getElementsByTagName(\"script\");\n\n for (var i = 0; i < allScripts.length; i += 1) {\n if (allScripts[i].src.indexOf(scriptURL) > -1) {\n if (allScripts[i].parentNode) {\n allScripts[i].parentNode.removeChild(allScripts[i]);\n }\n }\n }\n } // Clean the observer entry\n\n\n var mapEntry = SCRIPT_MAP[scriptURL];\n\n if (mapEntry) {\n delete mapEntry.observers[this.asyncScriptLoaderGetScriptLoaderID()];\n\n if (options.removeOnUnmount === true) {\n delete SCRIPT_MAP[scriptURL];\n }\n }\n };\n\n AsyncScriptLoader.prototype.render = function render() {\n var globalName = options.globalName; // remove asyncScriptOnLoad from childProps\n\n var _props = this.props,\n asyncScriptOnLoad = _props.asyncScriptOnLoad,\n forwardedRef = _props.forwardedRef,\n childProps = _objectWithoutProperties(_props, [\"asyncScriptOnLoad\", \"forwardedRef\"]); // eslint-disable-line no-unused-vars\n\n\n if (globalName && typeof window !== \"undefined\") {\n childProps[globalName] = typeof window[globalName] !== \"undefined\" ? window[globalName] : undefined;\n }\n\n childProps.ref = forwardedRef;\n return (0, _react.createElement)(WrappedComponent, childProps);\n };\n\n return AsyncScriptLoader;\n }(_react.Component); // Note the second param \"ref\" provided by React.forwardRef.\n // We can pass it along to AsyncScriptLoader as a regular prop, e.g. \"forwardedRef\"\n // And it can then be attached to the Component.\n\n\n var ForwardedComponent = (0, _react.forwardRef)(function (props, ref) {\n return (0, _react.createElement)(AsyncScriptLoader, _extends({}, props, {\n forwardedRef: ref\n }));\n });\n ForwardedComponent.displayName = \"AsyncScriptLoader(\" + wrappedComponentName + \")\";\n ForwardedComponent.propTypes = {\n asyncScriptOnLoad: _propTypes2.default.func\n };\n return (0, _hoistNonReactStatics2.default)(ForwardedComponent, WrappedComponent);\n };\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"\n}), 'ChevronRight');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z\"\n}), 'StarBorder');\n\nexports.default = _default;","var arrayMap = require('./_arrayMap'),\n baseIntersection = require('./_baseIntersection'),\n baseRest = require('./_baseRest'),\n castArrayLikeObject = require('./_castArrayLikeObject');\n/**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n\n\nvar intersection = baseRest(function (arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped) : [];\n});\nmodule.exports = intersection;","var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\n\n\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;","var baseFlatten = require('./_baseFlatten'),\n map = require('./map');\n/**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n\n\nfunction flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n}\n\nmodule.exports = flatMap;","var arraySome = require('./_arraySome'),\n baseIteratee = require('./_baseIteratee'),\n baseSome = require('./_baseSome'),\n isArray = require('./isArray'),\n isIterateeCall = require('./_isIterateeCall');\n/**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n\n\nfunction some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = some;","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;","var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n\n\nvar find = createFind(findIndex);\nmodule.exports = find;","var debounce = require('./debounce'),\n isObject = require('./isObject');\n/** Error message constants. */\n\n\nvar FUNC_ERROR_TEXT = 'Expected a function';\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n'use strict';\n\nvar R = typeof Reflect === 'object' ? Reflect : null;\nvar ReflectApply = R && typeof R.apply === 'function' ? R.apply : function ReflectApply(target, receiver, args) {\n return Function.prototype.apply.call(target, receiver, args);\n};\nvar ReflectOwnKeys;\n\nif (R && typeof R.ownKeys === 'function') {\n ReflectOwnKeys = R.ownKeys;\n} else if (Object.getOwnPropertySymbols) {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));\n };\n} else {\n ReflectOwnKeys = function ReflectOwnKeys(target) {\n return Object.getOwnPropertyNames(target);\n };\n}\n\nfunction ProcessEmitWarning(warning) {\n if (console && console.warn) console.warn(warning);\n}\n\nvar NumberIsNaN = Number.isNaN || function NumberIsNaN(value) {\n return value !== value;\n};\n\nfunction EventEmitter() {\n EventEmitter.init.call(this);\n}\n\nmodule.exports = EventEmitter; // Backwards-compat with node 0.10.x\n\nEventEmitter.EventEmitter = EventEmitter;\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._eventsCount = 0;\nEventEmitter.prototype._maxListeners = undefined; // By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\n\nvar defaultMaxListeners = 10;\nObject.defineProperty(EventEmitter, 'defaultMaxListeners', {\n enumerable: true,\n get: function get() {\n return defaultMaxListeners;\n },\n set: function set(arg) {\n if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) {\n throw new RangeError('The value of \"defaultMaxListeners\" is out of range. It must be a non-negative number. Received ' + arg + '.');\n }\n\n defaultMaxListeners = arg;\n }\n});\n\nEventEmitter.init = function () {\n if (this._events === undefined || this._events === Object.getPrototypeOf(this)._events) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n }\n\n this._maxListeners = this._maxListeners || undefined;\n}; // Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\n\n\nEventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {\n if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) {\n throw new RangeError('The value of \"n\" is out of range. It must be a non-negative number. Received ' + n + '.');\n }\n\n this._maxListeners = n;\n return this;\n};\n\nfunction $getMaxListeners(that) {\n if (that._maxListeners === undefined) return EventEmitter.defaultMaxListeners;\n return that._maxListeners;\n}\n\nEventEmitter.prototype.getMaxListeners = function getMaxListeners() {\n return $getMaxListeners(this);\n};\n\nEventEmitter.prototype.emit = function emit(type) {\n var args = [];\n\n for (var i = 1; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n\n var doError = type === 'error';\n var events = this._events;\n if (events !== undefined) doError = doError && events.error === undefined;else if (!doError) return false; // If there is no 'error' event listener then throw.\n\n if (doError) {\n var er;\n if (args.length > 0) er = args[0];\n\n if (er instanceof Error) {\n // Note: The comments on the `throw` lines are intentional, they show\n // up in Node's output if this results in an unhandled exception.\n throw er; // Unhandled 'error' event\n } // At least give some kind of context to the user\n\n\n var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : ''));\n err.context = er;\n throw err; // Unhandled 'error' event\n }\n\n var handler = events[type];\n if (handler === undefined) return false;\n\n if (typeof handler === 'function') {\n ReflectApply(handler, this, args);\n } else {\n var len = handler.length;\n var listeners = arrayClone(handler, len);\n\n for (var i = 0; i < len; ++i) {\n ReflectApply(listeners[i], this, args);\n }\n }\n\n return true;\n};\n\nfunction _addListener(target, type, listener, prepend) {\n var m;\n var events;\n var existing;\n\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n\n events = target._events;\n\n if (events === undefined) {\n events = target._events = Object.create(null);\n target._eventsCount = 0;\n } else {\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (events.newListener !== undefined) {\n target.emit('newListener', type, listener.listener ? listener.listener : listener); // Re-assign `events` because a newListener handler could have caused the\n // this._events to be assigned to a new object\n\n events = target._events;\n }\n\n existing = events[type];\n }\n\n if (existing === undefined) {\n // Optimize the case of one listener. Don't need the extra array object.\n existing = events[type] = listener;\n ++target._eventsCount;\n } else {\n if (typeof existing === 'function') {\n // Adding the second element, need to change to array.\n existing = events[type] = prepend ? [listener, existing] : [existing, listener]; // If we've already got an array, just append.\n } else if (prepend) {\n existing.unshift(listener);\n } else {\n existing.push(listener);\n } // Check for listener leak\n\n\n m = $getMaxListeners(target);\n\n if (m > 0 && existing.length > m && !existing.warned) {\n existing.warned = true; // No error code for this since it is a Warning\n // eslint-disable-next-line no-restricted-syntax\n\n var w = new Error('Possible EventEmitter memory leak detected. ' + existing.length + ' ' + String(type) + ' listeners ' + 'added. Use emitter.setMaxListeners() to ' + 'increase limit');\n w.name = 'MaxListenersExceededWarning';\n w.emitter = target;\n w.type = type;\n w.count = existing.length;\n ProcessEmitWarning(w);\n }\n }\n\n return target;\n}\n\nEventEmitter.prototype.addListener = function addListener(type, listener) {\n return _addListener(this, type, listener, false);\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.prependListener = function prependListener(type, listener) {\n return _addListener(this, type, listener, true);\n};\n\nfunction onceWrapper() {\n var args = [];\n\n for (var i = 0; i < arguments.length; i++) {\n args.push(arguments[i]);\n }\n\n if (!this.fired) {\n this.target.removeListener(this.type, this.wrapFn);\n this.fired = true;\n ReflectApply(this.listener, this.target, args);\n }\n}\n\nfunction _onceWrap(target, type, listener) {\n var state = {\n fired: false,\n wrapFn: undefined,\n target: target,\n type: type,\n listener: listener\n };\n var wrapped = onceWrapper.bind(state);\n wrapped.listener = listener;\n state.wrapFn = wrapped;\n return wrapped;\n}\n\nEventEmitter.prototype.once = function once(type, listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n\n this.on(type, _onceWrap(this, type, listener));\n return this;\n};\n\nEventEmitter.prototype.prependOnceListener = function prependOnceListener(type, listener) {\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n\n this.prependListener(type, _onceWrap(this, type, listener));\n return this;\n}; // Emits a 'removeListener' event if and only if the listener was removed.\n\n\nEventEmitter.prototype.removeListener = function removeListener(type, listener) {\n var list, events, position, i, originalListener;\n\n if (typeof listener !== 'function') {\n throw new TypeError('The \"listener\" argument must be of type Function. Received type ' + typeof listener);\n }\n\n events = this._events;\n if (events === undefined) return this;\n list = events[type];\n if (list === undefined) return this;\n\n if (list === listener || list.listener === listener) {\n if (--this._eventsCount === 0) this._events = Object.create(null);else {\n delete events[type];\n if (events.removeListener) this.emit('removeListener', type, list.listener || listener);\n }\n } else if (typeof list !== 'function') {\n position = -1;\n\n for (i = list.length - 1; i >= 0; i--) {\n if (list[i] === listener || list[i].listener === listener) {\n originalListener = list[i].listener;\n position = i;\n break;\n }\n }\n\n if (position < 0) return this;\n if (position === 0) list.shift();else {\n spliceOne(list, position);\n }\n if (list.length === 1) events[type] = list[0];\n if (events.removeListener !== undefined) this.emit('removeListener', type, originalListener || listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\n\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(type) {\n var listeners, events, i;\n events = this._events;\n if (events === undefined) return this; // not listening for removeListener, no need to emit\n\n if (events.removeListener === undefined) {\n if (arguments.length === 0) {\n this._events = Object.create(null);\n this._eventsCount = 0;\n } else if (events[type] !== undefined) {\n if (--this._eventsCount === 0) this._events = Object.create(null);else delete events[type];\n }\n\n return this;\n } // emit removeListener for all listeners on all events\n\n\n if (arguments.length === 0) {\n var keys = Object.keys(events);\n var key;\n\n for (i = 0; i < keys.length; ++i) {\n key = keys[i];\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n\n this.removeAllListeners('removeListener');\n this._events = Object.create(null);\n this._eventsCount = 0;\n return this;\n }\n\n listeners = events[type];\n\n if (typeof listeners === 'function') {\n this.removeListener(type, listeners);\n } else if (listeners !== undefined) {\n // LIFO order\n for (i = listeners.length - 1; i >= 0; i--) {\n this.removeListener(type, listeners[i]);\n }\n }\n\n return this;\n};\n\nfunction _listeners(target, type, unwrap) {\n var events = target._events;\n if (events === undefined) return [];\n var evlistener = events[type];\n if (evlistener === undefined) return [];\n if (typeof evlistener === 'function') return unwrap ? [evlistener.listener || evlistener] : [evlistener];\n return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length);\n}\n\nEventEmitter.prototype.listeners = function listeners(type) {\n return _listeners(this, type, true);\n};\n\nEventEmitter.prototype.rawListeners = function rawListeners(type) {\n return _listeners(this, type, false);\n};\n\nEventEmitter.listenerCount = function (emitter, type) {\n if (typeof emitter.listenerCount === 'function') {\n return emitter.listenerCount(type);\n } else {\n return listenerCount.call(emitter, type);\n }\n};\n\nEventEmitter.prototype.listenerCount = listenerCount;\n\nfunction listenerCount(type) {\n var events = this._events;\n\n if (events !== undefined) {\n var evlistener = events[type];\n\n if (typeof evlistener === 'function') {\n return 1;\n } else if (evlistener !== undefined) {\n return evlistener.length;\n }\n }\n\n return 0;\n}\n\nEventEmitter.prototype.eventNames = function eventNames() {\n return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : [];\n};\n\nfunction arrayClone(arr, n) {\n var copy = new Array(n);\n\n for (var i = 0; i < n; ++i) {\n copy[i] = arr[i];\n }\n\n return copy;\n}\n\nfunction spliceOne(list, index) {\n for (; index + 1 < list.length; index++) {\n list[index] = list[index + 1];\n }\n\n list.pop();\n}\n\nfunction unwrapListeners(arr) {\n var ret = new Array(arr.length);\n\n for (var i = 0; i < ret.length; ++i) {\n ret[i] = arr[i].listener || arr[i];\n }\n\n return ret;\n}","var baseExtremum = require('./_baseExtremum'),\n baseIteratee = require('./_baseIteratee'),\n baseLt = require('./_baseLt');\n/**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\n\n\nfunction minBy(array, iteratee) {\n return array && array.length ? baseExtremum(array, baseIteratee(iteratee, 2), baseLt) : undefined;\n}\n\nmodule.exports = minBy;","var baseExtremum = require('./_baseExtremum'),\n baseGt = require('./_baseGt'),\n baseIteratee = require('./_baseIteratee');\n/**\n * This method is like `_.max` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\n\n\nfunction maxBy(array, iteratee) {\n return array && array.length ? baseExtremum(array, baseIteratee(iteratee, 2), baseGt) : undefined;\n}\n\nmodule.exports = maxBy;","export default function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}","export default function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z\"\n}), 'ExpandMore');\n\nexports.default = _default;","!function (e, t) {\n \"object\" == typeof exports && \"object\" == typeof module ? module.exports = t() : \"function\" == typeof define && define.amd ? define([], t) : \"object\" == typeof exports ? exports.bowser = t() : e.bowser = t();\n}(this, function () {\n return function (e) {\n var t = {};\n\n function r(n) {\n if (t[n]) return t[n].exports;\n var i = t[n] = {\n i: n,\n l: !1,\n exports: {}\n };\n return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports;\n }\n\n return r.m = e, r.c = t, r.d = function (e, t, n) {\n r.o(e, t) || Object.defineProperty(e, t, {\n enumerable: !0,\n get: n\n });\n }, r.r = function (e) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(e, \"__esModule\", {\n value: !0\n });\n }, r.t = function (e, t) {\n if (1 & t && (e = r(e)), 8 & t) return e;\n if (4 & t && \"object\" == typeof e && e && e.__esModule) return e;\n var n = Object.create(null);\n if (r.r(n), Object.defineProperty(n, \"default\", {\n enumerable: !0,\n value: e\n }), 2 & t && \"string\" != typeof e) for (var i in e) {\n r.d(n, i, function (t) {\n return e[t];\n }.bind(null, i));\n }\n return n;\n }, r.n = function (e) {\n var t = e && e.__esModule ? function () {\n return e.default;\n } : function () {\n return e;\n };\n return r.d(t, \"a\", t), t;\n }, r.o = function (e, t) {\n return Object.prototype.hasOwnProperty.call(e, t);\n }, r.p = \"\", r(r.s = 86);\n }({\n 17: function _(e, t, r) {\n var n, i, s;\n i = [t, r(89)], void 0 === (s = \"function\" == typeof (n = function n(r, _n) {\n \"use strict\";\n\n function i(e, t) {\n for (var r = 0; r < t.length; r++) {\n var n = t[r];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.default = void 0;\n\n var s = function () {\n function e() {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e);\n }\n\n return t = e, s = [{\n key: \"getFirstMatch\",\n value: function value(e, t) {\n var r = t.match(e);\n return r && r.length > 0 && r[1] || \"\";\n }\n }, {\n key: \"getSecondMatch\",\n value: function value(e, t) {\n var r = t.match(e);\n return r && r.length > 1 && r[2] || \"\";\n }\n }, {\n key: \"matchAndReturnConst\",\n value: function value(e, t, r) {\n if (e.test(t)) return r;\n }\n }, {\n key: \"getWindowsVersionName\",\n value: function value(e) {\n switch (e) {\n case \"NT\":\n return \"NT\";\n\n case \"XP\":\n return \"XP\";\n\n case \"NT 5.0\":\n return \"2000\";\n\n case \"NT 5.1\":\n return \"XP\";\n\n case \"NT 5.2\":\n return \"2003\";\n\n case \"NT 6.0\":\n return \"Vista\";\n\n case \"NT 6.1\":\n return \"7\";\n\n case \"NT 6.2\":\n return \"8\";\n\n case \"NT 6.3\":\n return \"8.1\";\n\n case \"NT 10.0\":\n return \"10\";\n\n default:\n return;\n }\n }\n }, {\n key: \"getAndroidVersionName\",\n value: function value(e) {\n var t = e.split(\".\").splice(0, 2).map(function (e) {\n return parseInt(e, 10) || 0;\n });\n if (t.push(0), !(1 === t[0] && t[1] < 5)) return 1 === t[0] && t[1] < 6 ? \"Cupcake\" : 1 === t[0] && t[1] >= 6 ? \"Donut\" : 2 === t[0] && t[1] < 2 ? \"Eclair\" : 2 === t[0] && 2 === t[1] ? \"Froyo\" : 2 === t[0] && t[1] > 2 ? \"Gingerbread\" : 3 === t[0] ? \"Honeycomb\" : 4 === t[0] && t[1] < 1 ? \"Ice Cream Sandwich\" : 4 === t[0] && t[1] < 4 ? \"Jelly Bean\" : 4 === t[0] && t[1] >= 4 ? \"KitKat\" : 5 === t[0] ? \"Lollipop\" : 6 === t[0] ? \"Marshmallow\" : 7 === t[0] ? \"Nougat\" : 8 === t[0] ? \"Oreo\" : void 0;\n }\n }, {\n key: \"getVersionPrecision\",\n value: function value(e) {\n return e.split(\".\").length;\n }\n }, {\n key: \"compareVersions\",\n value: function value(t, r) {\n var n = arguments.length > 2 && void 0 !== arguments[2] && arguments[2],\n i = e.getVersionPrecision(t),\n s = e.getVersionPrecision(r),\n a = Math.max(i, s),\n o = 0,\n u = e.map([t, r], function (t) {\n var r = a - e.getVersionPrecision(t),\n n = t + new Array(r + 1).join(\".0\");\n return e.map(n.split(\".\"), function (e) {\n return new Array(20 - e.length).join(\"0\") + e;\n }).reverse();\n });\n\n for (n && (o = a - Math.min(i, s)), a -= 1; a >= o;) {\n if (u[0][a] > u[1][a]) return 1;\n\n if (u[0][a] === u[1][a]) {\n if (a === o) return 0;\n a -= 1;\n } else if (u[0][a] < u[1][a]) return -1;\n }\n }\n }, {\n key: \"map\",\n value: function value(e, t) {\n var r,\n n = [];\n if (Array.prototype.map) return Array.prototype.map.call(e, t);\n\n for (r = 0; r < e.length; r += 1) {\n n.push(t(e[r]));\n }\n\n return n;\n }\n }, {\n key: \"getBrowserAlias\",\n value: function value(e) {\n return _n.BROWSER_ALIASES_MAP[e];\n }\n }], (r = null) && i(t.prototype, r), s && i(t, s), e;\n var t, r, s;\n }();\n\n r.default = s, e.exports = t.default;\n }) ? n.apply(t, i) : n) || (e.exports = s);\n },\n 86: function _(e, t, r) {\n var n, i, s;\n i = [t, r(87)], void 0 === (s = \"function\" == typeof (n = function n(r, _n2) {\n \"use strict\";\n\n function i(e, t) {\n for (var r = 0; r < t.length; r++) {\n var n = t[r];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n var s;\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.default = void 0, _n2 = (s = _n2) && s.__esModule ? s : {\n default: s\n };\n\n var a = function () {\n function e() {\n !function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e);\n }\n\n return t = e, s = [{\n key: \"getParser\",\n value: function value(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n if (\"string\" != typeof e) throw new Error(\"UserAgent should be a string\");\n return new _n2.default(e, t);\n }\n }, {\n key: \"parse\",\n value: function value(e) {\n return new _n2.default(e).getResult();\n }\n }], (r = null) && i(t.prototype, r), s && i(t, s), e;\n var t, r, s;\n }();\n\n r.default = a, e.exports = t.default;\n }) ? n.apply(t, i) : n) || (e.exports = s);\n },\n 87: function _(e, t, r) {\n var n, i, s;\n i = [t, r(88), r(90), r(91), r(92), r(17)], void 0 === (s = \"function\" == typeof (n = function n(r, _n3, i, s, a, o) {\n \"use strict\";\n\n function u(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n\n function d(e) {\n return (d = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (e) {\n return typeof e;\n } : function (e) {\n return e && \"function\" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? \"symbol\" : typeof e;\n })(e);\n }\n\n function c(e, t) {\n for (var r = 0; r < t.length; r++) {\n var n = t[r];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.default = void 0, _n3 = u(_n3), i = u(i), s = u(s), a = u(a), o = u(o);\n\n var f = function () {\n function e(t) {\n var r = arguments.length > 1 && void 0 !== arguments[1] && arguments[1];\n if (function (e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }(this, e), null == t || \"\" === t) throw new Error(\"UserAgent parameter can't be empty\");\n this._ua = t, this.parsedResult = {}, !0 !== r && this.parse();\n }\n\n return t = e, (r = [{\n key: \"getUA\",\n value: function value() {\n return this._ua;\n }\n }, {\n key: \"test\",\n value: function value(e) {\n return e.test(this._ua);\n }\n }, {\n key: \"parseBrowser\",\n value: function value() {\n var e = this;\n this.parsedResult.browser = {};\n\n var t = _n3.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n\n return t && (this.parsedResult.browser = t.describe(this.getUA())), this.parsedResult.browser;\n }\n }, {\n key: \"getBrowser\",\n value: function value() {\n return this.parsedResult.browser ? this.parsedResult.browser : this.parseBrowser();\n }\n }, {\n key: \"getBrowserName\",\n value: function value(e) {\n return e ? String(this.getBrowser().name).toLowerCase() || \"\" : this.getBrowser().name || \"\";\n }\n }, {\n key: \"getBrowserVersion\",\n value: function value() {\n return this.getBrowser().version;\n }\n }, {\n key: \"getOS\",\n value: function value() {\n return this.parsedResult.os ? this.parsedResult.os : this.parseOS();\n }\n }, {\n key: \"parseOS\",\n value: function value() {\n var e = this;\n this.parsedResult.os = {};\n var t = i.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n return t && (this.parsedResult.os = t.describe(this.getUA())), this.parsedResult.os;\n }\n }, {\n key: \"getOSName\",\n value: function value(e) {\n var t = this.getOS(),\n r = t.name;\n return e ? String(r).toLowerCase() || \"\" : r || \"\";\n }\n }, {\n key: \"getOSVersion\",\n value: function value() {\n return this.getOS().version;\n }\n }, {\n key: \"getPlatform\",\n value: function value() {\n return this.parsedResult.platform ? this.parsedResult.platform : this.parsePlatform();\n }\n }, {\n key: \"getPlatformType\",\n value: function value() {\n var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0],\n t = this.getPlatform(),\n r = t.type;\n return e ? String(r).toLowerCase() || \"\" : r || \"\";\n }\n }, {\n key: \"parsePlatform\",\n value: function value() {\n var e = this;\n this.parsedResult.platform = {};\n var t = s.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n return t && (this.parsedResult.platform = t.describe(this.getUA())), this.parsedResult.platform;\n }\n }, {\n key: \"getEngine\",\n value: function value() {\n return this.parsedResult.engine ? this.parsedResult.engine : this.parseEngine();\n }\n }, {\n key: \"getEngineName\",\n value: function value(e) {\n return e ? String(this.getEngine().name).toLowerCase() || \"\" : this.getEngine().name || \"\";\n }\n }, {\n key: \"parseEngine\",\n value: function value() {\n var e = this;\n this.parsedResult.engine = {};\n var t = a.default.find(function (t) {\n if (\"function\" == typeof t.test) return t.test(e);\n if (t.test instanceof Array) return t.test.some(function (t) {\n return e.test(t);\n });\n throw new Error(\"Browser's test function is not valid\");\n });\n return t && (this.parsedResult.engine = t.describe(this.getUA())), this.parsedResult.engine;\n }\n }, {\n key: \"parse\",\n value: function value() {\n return this.parseBrowser(), this.parseOS(), this.parsePlatform(), this.parseEngine(), this;\n }\n }, {\n key: \"getResult\",\n value: function value() {\n return Object.assign({}, this.parsedResult);\n }\n }, {\n key: \"satisfies\",\n value: function value(e) {\n var t = this,\n r = {},\n n = 0,\n i = {},\n s = 0,\n a = Object.keys(e);\n\n if (a.forEach(function (t) {\n var a = e[t];\n \"string\" == typeof a ? (i[t] = a, s += 1) : \"object\" === d(a) && (r[t] = a, n += 1);\n }), n > 0) {\n var o = Object.keys(r),\n u = o.find(function (e) {\n return t.isOS(e);\n });\n\n if (u) {\n var c = this.satisfies(r[u]);\n if (void 0 !== c) return c;\n }\n\n var f = o.find(function (e) {\n return t.isPlatform(e);\n });\n\n if (f) {\n var l = this.satisfies(r[f]);\n if (void 0 !== l) return l;\n }\n }\n\n if (s > 0) {\n var v = Object.keys(i),\n p = v.find(function (e) {\n return t.isBrowser(e, !0);\n });\n if (void 0 !== p) return this.compareVersion(i[p]);\n }\n }\n }, {\n key: \"isBrowser\",\n value: function value(e) {\n var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],\n r = this.getBrowserName(),\n n = [r.toLowerCase()],\n i = o.default.getBrowserAlias(r);\n return t && void 0 !== i && n.push(i.toLowerCase()), -1 !== n.indexOf(e.toLowerCase());\n }\n }, {\n key: \"compareVersion\",\n value: function value(e) {\n var t = [0],\n r = e,\n n = !1,\n i = this.getBrowserVersion();\n if (\"string\" == typeof i) return \">\" === e[0] || \"<\" === e[0] ? (r = e.substr(1), \"=\" === e[1] ? (n = !0, r = e.substr(2)) : t = [], \">\" === e[0] ? t.push(1) : t.push(-1)) : \"=\" === e[0] ? r = e.substr(1) : \"~\" === e[0] && (n = !0, r = e.substr(1)), t.indexOf(o.default.compareVersions(i, r, n)) > -1;\n }\n }, {\n key: \"isOS\",\n value: function value(e) {\n return this.getOSName(!0) === String(e).toLowerCase();\n }\n }, {\n key: \"isPlatform\",\n value: function value(e) {\n return this.getPlatformType(!0) === String(e).toLowerCase();\n }\n }, {\n key: \"isEngine\",\n value: function value(e) {\n return this.getEngineName(!0) === String(e).toLowerCase();\n }\n }, {\n key: \"is\",\n value: function value(e) {\n return this.isBrowser(e) || this.isOS(e) || this.isPlatform(e);\n }\n }, {\n key: \"some\",\n value: function value() {\n var e = this,\n t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [];\n return t.some(function (t) {\n return e.is(t);\n });\n }\n }]) && c(t.prototype, r), u && c(t, u), e;\n var t, r, u;\n }();\n\n r.default = f, e.exports = t.default;\n }) ? n.apply(t, i) : n) || (e.exports = s);\n },\n 88: function _(e, t, r) {\n var n, i, s;\n i = [t, r(17)], void 0 === (s = \"function\" == typeof (n = function n(r, _n4) {\n \"use strict\";\n\n var i;\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.default = void 0, _n4 = (i = _n4) && i.__esModule ? i : {\n default: i\n };\n var s = /version\\/(\\d+(\\.?_?\\d+)+)/i,\n a = [{\n test: [/googlebot/i],\n describe: function describe(e) {\n var t = {\n name: \"Googlebot\"\n },\n r = _n4.default.getFirstMatch(/googlebot\\/(\\d+(\\.\\d+))/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/opera/i],\n describe: function describe(e) {\n var t = {\n name: \"Opera\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:opera)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/opr\\/|opios/i],\n describe: function describe(e) {\n var t = {\n name: \"Opera\"\n },\n r = _n4.default.getFirstMatch(/(?:opr|opios)[\\s\\/](\\S+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/SamsungBrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"Samsung Internet for Android\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:SamsungBrowser)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/Whale/i],\n describe: function describe(e) {\n var t = {\n name: \"NAVER Whale Browser\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:whale)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/MZBrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"MZ Browser\"\n },\n r = _n4.default.getFirstMatch(/(?:MZBrowser)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/focus/i],\n describe: function describe(e) {\n var t = {\n name: \"Focus\"\n },\n r = _n4.default.getFirstMatch(/(?:focus)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/swing/i],\n describe: function describe(e) {\n var t = {\n name: \"Swing\"\n },\n r = _n4.default.getFirstMatch(/(?:swing)[\\s\\/](\\d+(?:\\.\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/coast/i],\n describe: function describe(e) {\n var t = {\n name: \"Opera Coast\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:coast)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/yabrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"Yandex Browser\"\n },\n r = _n4.default.getFirstMatch(/(?:yabrowser)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/ucbrowser/i],\n describe: function describe(e) {\n var t = {\n name: \"UC Browser\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:ucbrowser)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/Maxthon|mxios/i],\n describe: function describe(e) {\n var t = {\n name: \"Maxthon\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:Maxthon|mxios)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/epiphany/i],\n describe: function describe(e) {\n var t = {\n name: \"Epiphany\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:epiphany)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/puffin/i],\n describe: function describe(e) {\n var t = {\n name: \"Puffin\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:puffin)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/sleipnir/i],\n describe: function describe(e) {\n var t = {\n name: \"Sleipnir\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:sleipnir)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/k-meleon/i],\n describe: function describe(e) {\n var t = {\n name: \"K-Meleon\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/(?:k-meleon)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/micromessenger/i],\n describe: function describe(e) {\n var t = {\n name: \"WeChat\"\n },\n r = _n4.default.getFirstMatch(/(?:micromessenger)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/msie|trident/i],\n describe: function describe(e) {\n var t = {\n name: \"Internet Explorer\"\n },\n r = _n4.default.getFirstMatch(/(?:msie |rv:)(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/\\sedg\\//i],\n describe: function describe(e) {\n var t = {\n name: \"Microsoft Edge\"\n },\n r = _n4.default.getFirstMatch(/\\sedg\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/edg([ea]|ios)/i],\n describe: function describe(e) {\n var t = {\n name: \"Microsoft Edge\"\n },\n r = _n4.default.getSecondMatch(/edg([ea]|ios)\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/vivaldi/i],\n describe: function describe(e) {\n var t = {\n name: \"Vivaldi\"\n },\n r = _n4.default.getFirstMatch(/vivaldi\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/seamonkey/i],\n describe: function describe(e) {\n var t = {\n name: \"SeaMonkey\"\n },\n r = _n4.default.getFirstMatch(/seamonkey\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/sailfish/i],\n describe: function describe(e) {\n var t = {\n name: \"Sailfish\"\n },\n r = _n4.default.getFirstMatch(/sailfish\\s?browser\\/(\\d+(\\.\\d+)?)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/silk/i],\n describe: function describe(e) {\n var t = {\n name: \"Amazon Silk\"\n },\n r = _n4.default.getFirstMatch(/silk\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/phantom/i],\n describe: function describe(e) {\n var t = {\n name: \"PhantomJS\"\n },\n r = _n4.default.getFirstMatch(/phantomjs\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/slimerjs/i],\n describe: function describe(e) {\n var t = {\n name: \"SlimerJS\"\n },\n r = _n4.default.getFirstMatch(/slimerjs\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/blackberry|\\bbb\\d+/i, /rim\\stablet/i],\n describe: function describe(e) {\n var t = {\n name: \"BlackBerry\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/blackberry[\\d]+\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/(web|hpw)[o0]s/i],\n describe: function describe(e) {\n var t = {\n name: \"WebOS Browser\"\n },\n r = _n4.default.getFirstMatch(s, e) || _n4.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/bada/i],\n describe: function describe(e) {\n var t = {\n name: \"Bada\"\n },\n r = _n4.default.getFirstMatch(/dolfin\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/tizen/i],\n describe: function describe(e) {\n var t = {\n name: \"Tizen\"\n },\n r = _n4.default.getFirstMatch(/(?:tizen\\s?)?browser\\/(\\d+(\\.?_?\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/qupzilla/i],\n describe: function describe(e) {\n var t = {\n name: \"QupZilla\"\n },\n r = _n4.default.getFirstMatch(/(?:qupzilla)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/firefox|iceweasel|fxios/i],\n describe: function describe(e) {\n var t = {\n name: \"Firefox\"\n },\n r = _n4.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/chromium/i],\n describe: function describe(e) {\n var t = {\n name: \"Chromium\"\n },\n r = _n4.default.getFirstMatch(/(?:chromium)[\\s\\/](\\d+(\\.?_?\\d+)+)/i, e) || _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/chrome|crios|crmo/i],\n describe: function describe(e) {\n var t = {\n name: \"Chrome\"\n },\n r = _n4.default.getFirstMatch(/(?:chrome|crios|crmo)\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: function test(e) {\n var t = !e.test(/like android/i),\n r = e.test(/android/i);\n return t && r;\n },\n describe: function describe(e) {\n var t = {\n name: \"Android Browser\"\n },\n r = _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/playstation 4/i],\n describe: function describe(e) {\n var t = {\n name: \"PlayStation 4\"\n },\n r = _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/safari|applewebkit/i],\n describe: function describe(e) {\n var t = {\n name: \"Safari\"\n },\n r = _n4.default.getFirstMatch(s, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/.*/i],\n describe: function describe(e) {\n var t = -1 !== e.search(\"\\\\(\"),\n r = t ? /^(.*)\\/(.*)[ \\t]\\((.*)/ : /^(.*)\\/(.*) /;\n return {\n name: _n4.default.getFirstMatch(r, e),\n version: _n4.default.getSecondMatch(r, e)\n };\n }\n }];\n r.default = a, e.exports = t.default;\n }) ? n.apply(t, i) : n) || (e.exports = s);\n },\n 89: function _(e, t, r) {\n var n, i, s;\n i = [t], void 0 === (s = \"function\" == typeof (n = function n(e) {\n \"use strict\";\n\n Object.defineProperty(e, \"__esModule\", {\n value: !0\n }), e.BROWSER_ALIASES_MAP = void 0, e.BROWSER_ALIASES_MAP = {\n \"Amazon Silk\": \"amazon_silk\",\n \"Android Browser\": \"android\",\n Bada: \"bada\",\n BlackBerry: \"blackberry\",\n Chrome: \"chrome\",\n Chromium: \"chromium\",\n Epiphany: \"epiphany\",\n Firefox: \"firefox\",\n Focus: \"focus\",\n Generic: \"generic\",\n Googlebot: \"googlebot\",\n \"Internet Explorer\": \"ie\",\n \"K-Meleon\": \"k_meleon\",\n Maxthon: \"maxthon\",\n \"Microsoft Edge\": \"edge\",\n \"MZ Browser\": \"mz\",\n \"NAVER Whale Browser\": \"naver\",\n Opera: \"opera\",\n \"Opera Coast\": \"opera_coast\",\n PhantomJS: \"phantomjs\",\n Puffin: \"puffin\",\n QupZilla: \"qupzilla\",\n Safari: \"safari\",\n Sailfish: \"sailfish\",\n \"Samsung Internet for Android\": \"samsung_internet\",\n SeaMonkey: \"seamonkey\",\n Sleipnir: \"sleipnir\",\n Swing: \"swing\",\n Tizen: \"tizen\",\n \"UC Browser\": \"uc\",\n Vivaldi: \"vivaldi\",\n \"WebOS Browser\": \"webos\",\n WeChat: \"wechat\",\n \"Yandex Browser\": \"yandex\"\n };\n }) ? n.apply(t, i) : n) || (e.exports = s);\n },\n 90: function _(e, t, r) {\n var n, i, s;\n i = [t, r(17)], void 0 === (s = \"function\" == typeof (n = function n(r, _n5) {\n \"use strict\";\n\n var i;\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.default = void 0, _n5 = (i = _n5) && i.__esModule ? i : {\n default: i\n };\n var s = [{\n test: [/windows phone/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/windows phone (?:os)?\\s?(\\d+(\\.\\d+)*)/i, e);\n\n return {\n name: \"Windows Phone\",\n version: t\n };\n }\n }, {\n test: [/windows/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/Windows ((NT|XP)( \\d\\d?.\\d)?)/i, e),\n r = _n5.default.getWindowsVersionName(t);\n\n return {\n name: \"Windows\",\n version: t,\n versionName: r\n };\n }\n }, {\n test: [/macintosh/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/mac os x (\\d+(\\.?_?\\d+)+)/i, e).replace(/[_\\s]/g, \".\");\n\n return {\n name: \"macOS\",\n version: t\n };\n }\n }, {\n test: [/(ipod|iphone|ipad)/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/os (\\d+([_\\s]\\d+)*) like mac os x/i, e).replace(/[_\\s]/g, \".\");\n\n return {\n name: \"iOS\",\n version: t\n };\n }\n }, {\n test: function test(e) {\n var t = !e.test(/like android/i),\n r = e.test(/android/i);\n return t && r;\n },\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/android[\\s\\/-](\\d+(\\.\\d+)*)/i, e),\n r = _n5.default.getAndroidVersionName(t),\n i = {\n name: \"Android\",\n version: t\n };\n\n return r && (i.versionName = r), i;\n }\n }, {\n test: [/(web|hpw)[o0]s/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/(?:web|hpw)[o0]s\\/(\\d+(\\.\\d+)*)/i, e),\n r = {\n name: \"WebOS\"\n };\n\n return t && t.length && (r.version = t), r;\n }\n }, {\n test: [/blackberry|\\bbb\\d+/i, /rim\\stablet/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/rim\\stablet\\sos\\s(\\d+(\\.\\d+)*)/i, e) || _n5.default.getFirstMatch(/blackberry\\d+\\/(\\d+([_\\s]\\d+)*)/i, e) || _n5.default.getFirstMatch(/\\bbb(\\d+)/i, e);\n\n return {\n name: \"BlackBerry\",\n version: t\n };\n }\n }, {\n test: [/bada/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/bada\\/(\\d+(\\.\\d+)*)/i, e);\n\n return {\n name: \"Bada\",\n version: t\n };\n }\n }, {\n test: [/tizen/i],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/tizen[\\/\\s](\\d+(\\.\\d+)*)/i, e);\n\n return {\n name: \"Tizen\",\n version: t\n };\n }\n }, {\n test: [/linux/i],\n describe: function describe() {\n return {\n name: \"Linux\"\n };\n }\n }, {\n test: [/CrOS/],\n describe: function describe() {\n return {\n name: \"Chrome OS\"\n };\n }\n }, {\n test: [/PlayStation 4/],\n describe: function describe(e) {\n var t = _n5.default.getFirstMatch(/PlayStation 4[\\/\\s](\\d+(\\.\\d+)*)/i, e);\n\n return {\n name: \"PlayStation 4\",\n version: t\n };\n }\n }];\n r.default = s, e.exports = t.default;\n }) ? n.apply(t, i) : n) || (e.exports = s);\n },\n 91: function _(e, t, r) {\n var n, i, s;\n i = [t, r(17)], void 0 === (s = \"function\" == typeof (n = function n(r, _n6) {\n \"use strict\";\n\n var i;\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.default = void 0, _n6 = (i = _n6) && i.__esModule ? i : {\n default: i\n };\n var s = {\n tablet: \"tablet\",\n mobile: \"mobile\",\n desktop: \"desktop\",\n tv: \"tv\"\n },\n a = [{\n test: [/googlebot/i],\n describe: function describe() {\n return {\n type: \"bot\",\n vendor: \"Google\"\n };\n }\n }, {\n test: [/huawei/i],\n describe: function describe(e) {\n var t = _n6.default.getFirstMatch(/(can-l01)/i, e) && \"Nova\",\n r = {\n type: s.mobile,\n vendor: \"Huawei\"\n };\n return t && (r.model = t), r;\n }\n }, {\n test: [/nexus\\s*(?:7|8|9|10).*/i],\n describe: function describe() {\n return {\n type: s.tablet,\n vendor: \"Nexus\"\n };\n }\n }, {\n test: [/ipad/i],\n describe: function describe() {\n return {\n type: s.tablet,\n vendor: \"Apple\",\n model: \"iPad\"\n };\n }\n }, {\n test: [/kftt build/i],\n describe: function describe() {\n return {\n type: s.tablet,\n vendor: \"Amazon\",\n model: \"Kindle Fire HD 7\"\n };\n }\n }, {\n test: [/silk/i],\n describe: function describe() {\n return {\n type: s.tablet,\n vendor: \"Amazon\"\n };\n }\n }, {\n test: [/tablet/i],\n describe: function describe() {\n return {\n type: s.tablet\n };\n }\n }, {\n test: function test(e) {\n var t = e.test(/ipod|iphone/i),\n r = e.test(/like (ipod|iphone)/i);\n return t && !r;\n },\n describe: function describe(e) {\n var t = _n6.default.getFirstMatch(/(ipod|iphone)/i, e);\n\n return {\n type: s.mobile,\n vendor: \"Apple\",\n model: t\n };\n }\n }, {\n test: [/nexus\\s*[0-6].*/i, /galaxy nexus/i],\n describe: function describe() {\n return {\n type: s.mobile,\n vendor: \"Nexus\"\n };\n }\n }, {\n test: [/[^-]mobi/i],\n describe: function describe() {\n return {\n type: s.mobile\n };\n }\n }, {\n test: function test(e) {\n return \"blackberry\" === e.getBrowserName(!0);\n },\n describe: function describe() {\n return {\n type: s.mobile,\n vendor: \"BlackBerry\"\n };\n }\n }, {\n test: function test(e) {\n return \"bada\" === e.getBrowserName(!0);\n },\n describe: function describe() {\n return {\n type: s.mobile\n };\n }\n }, {\n test: function test(e) {\n return \"windows phone\" === e.getBrowserName();\n },\n describe: function describe() {\n return {\n type: s.mobile,\n vendor: \"Microsoft\"\n };\n }\n }, {\n test: function test(e) {\n var t = Number(String(e.getOSVersion()).split(\".\")[0]);\n return \"android\" === e.getOSName(!0) && t >= 3;\n },\n describe: function describe() {\n return {\n type: s.tablet\n };\n }\n }, {\n test: function test(e) {\n return \"android\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: s.mobile\n };\n }\n }, {\n test: function test(e) {\n return \"macos\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: s.desktop,\n vendor: \"Apple\"\n };\n }\n }, {\n test: function test(e) {\n return \"windows\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: s.desktop\n };\n }\n }, {\n test: function test(e) {\n return \"linux\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: s.desktop\n };\n }\n }, {\n test: function test(e) {\n return \"playstation 4\" === e.getOSName(!0);\n },\n describe: function describe() {\n return {\n type: s.tv\n };\n }\n }];\n r.default = a, e.exports = t.default;\n }) ? n.apply(t, i) : n) || (e.exports = s);\n },\n 92: function _(e, t, r) {\n var n, i, s;\n i = [t, r(17)], void 0 === (s = \"function\" == typeof (n = function n(r, _n7) {\n \"use strict\";\n\n var i;\n Object.defineProperty(r, \"__esModule\", {\n value: !0\n }), r.default = void 0, _n7 = (i = _n7) && i.__esModule ? i : {\n default: i\n };\n var s = [{\n test: function test(e) {\n return \"microsoft edge\" === e.getBrowserName(!0);\n },\n describe: function describe(e) {\n var t = /\\sedg\\//i.test(e);\n if (t) return {\n name: \"Blink\"\n };\n\n var r = _n7.default.getFirstMatch(/edge\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return {\n name: \"EdgeHTML\",\n version: r\n };\n }\n }, {\n test: [/trident/i],\n describe: function describe(e) {\n var t = {\n name: \"Trident\"\n },\n r = _n7.default.getFirstMatch(/trident\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: function test(e) {\n return e.test(/presto/i);\n },\n describe: function describe(e) {\n var t = {\n name: \"Presto\"\n },\n r = _n7.default.getFirstMatch(/presto\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: function test(e) {\n var t = e.test(/gecko/i),\n r = e.test(/like gecko/i);\n return t && !r;\n },\n describe: function describe(e) {\n var t = {\n name: \"Gecko\"\n },\n r = _n7.default.getFirstMatch(/gecko\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }, {\n test: [/(apple)?webkit\\/537\\.36/i],\n describe: function describe() {\n return {\n name: \"Blink\"\n };\n }\n }, {\n test: [/(apple)?webkit/i],\n describe: function describe(e) {\n var t = {\n name: \"WebKit\"\n },\n r = _n7.default.getFirstMatch(/webkit\\/(\\d+(\\.?_?\\d+)+)/i, e);\n\n return r && (t.version = r), t;\n }\n }];\n r.default = s, e.exports = t.default;\n }) ? n.apply(t, i) : n) || (e.exports = s);\n }\n });\n});","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z\"\n}), 'InsertChart');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z\"\n}), 'CloudUpload');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z\"\n}), 'Assignment');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z\"\n}), 'Mail');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z\"\n}), 'Store');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z\"\n}), 'ArrowBack');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z\"\n}), 'InsertInvitation');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z\"\n}), 'FileCopyOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 4.99L4 6h16zm0 12H4V8l8 5 8-5v10z\"\n}), 'MailOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'RadioButtonChecked');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M16.59 7.58L10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), 'CheckCircleOutline');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\n}), 'Cancel');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z\"\n}), 'HighlightOff');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z\"\n}), 'HelpOutlineOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M19.07 4.93l-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07z\"\n}), 'TrackChanges');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"path\", {\n d: \"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z\"\n}), _react.default.createElement(\"path\", {\n d: \"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z\"\n})), 'AccessTime');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.51.88 4.93 1.78C15.57 19.36 13.86 20 12 20s-3.57-.64-4.93-1.72zm11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33C4.62 15.49 4 13.82 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.49-1.64 4.83zM12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6zm0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11z\"\n}), 'AccountCircleOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z\"\n}), 'People');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z\"\n}), 'InfoOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 4c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H6v-1.4c0-2 4-3.1 6-3.1s6 1.1 6 3.1V19z\"\n}), 'AssignmentInd');\n\nexports.default = _default;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nexport default function createMixins(breakpoints, spacing, mixins) {\n var _toolbar;\n\n return _extends({\n gutters: function gutters() {\n var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; // To deprecate in v4.1\n // warning(\n // false,\n // [\n // 'Material-UI: theme.mixins.gutters() is deprecated.',\n // 'You can use the source of the mixin directly:',\n // `\n // paddingLeft: theme.spacing(2),\n // paddingRight: theme.spacing(2),\n // [theme.breakpoints.up('sm')]: {\n // paddingLeft: theme.spacing(3),\n // paddingRight: theme.spacing(3),\n // },\n // `,\n // ].join('\\n'),\n // );\n\n return _extends({\n paddingLeft: spacing(2),\n paddingRight: spacing(2)\n }, styles, _defineProperty({}, breakpoints.up('sm'), _extends({\n paddingLeft: spacing(3),\n paddingRight: spacing(3)\n }, styles[breakpoints.up('sm')])));\n },\n toolbar: (_toolbar = {\n minHeight: 56\n }, _defineProperty(_toolbar, \"\".concat(breakpoints.up('xs'), \" and (orientation: landscape)\"), {\n minHeight: 48\n }), _defineProperty(_toolbar, breakpoints.up('sm'), {\n minHeight: 64\n }), _toolbar)\n }, mixins);\n}","var indigo = {\n 50: '#e8eaf6',\n 100: '#c5cae9',\n 200: '#9fa8da',\n 300: '#7986cb',\n 400: '#5c6bc0',\n 500: '#3f51b5',\n 600: '#3949ab',\n 700: '#303f9f',\n 800: '#283593',\n 900: '#1a237e',\n A100: '#8c9eff',\n A200: '#536dfe',\n A400: '#3d5afe',\n A700: '#304ffe'\n};\nexport default indigo;","var pink = {\n 50: '#fce4ec',\n 100: '#f8bbd0',\n 200: '#f48fb1',\n 300: '#f06292',\n 400: '#ec407a',\n 500: '#e91e63',\n 600: '#d81b60',\n 700: '#c2185b',\n 800: '#ad1457',\n 900: '#880e4f',\n A100: '#ff80ab',\n A200: '#ff4081',\n A400: '#f50057',\n A700: '#c51162'\n};\nexport default pink;","var grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#d5d5d5',\n A200: '#aaaaaa',\n A400: '#303030',\n A700: '#616161'\n};\nexport default grey;","var red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nexport default red;","var common = {\n black: '#000',\n white: '#fff'\n};\nexport default common;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport deepmerge from 'deepmerge'; // < 1kb payload overhead when lodash/merge is > 3kb.\n\nimport indigo from '../colors/indigo';\nimport pink from '../colors/pink';\nimport grey from '../colors/grey';\nimport red from '../colors/red';\nimport common from '../colors/common';\nimport { getContrastRatio, darken, lighten } from './colorManipulator';\nexport var light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.54)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)',\n // Text hints.\n hint: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: common.white,\n default: grey[50]\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.08)',\n hoverOpacity: 0.08,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.14)',\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)'\n }\n};\nexport var dark = {\n text: {\n primary: common.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n hint: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: grey[800],\n default: '#303030'\n },\n action: {\n active: common.white,\n hover: 'rgba(255, 255, 255, 0.1)',\n hoverOpacity: 0.1,\n selected: 'rgba(255, 255, 255, 0.2)',\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)'\n }\n};\n\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = lighten(intent.main, tonalOffset);\n } else if (direction === 'dark') {\n intent.dark = darken(intent.main, tonalOffset * 1.5);\n }\n }\n}\n\nexport default function createPalette(palette) {\n var _palette$primary = palette.primary,\n primary = _palette$primary === void 0 ? {\n light: indigo[300],\n main: indigo[500],\n dark: indigo[700]\n } : _palette$primary,\n _palette$secondary = palette.secondary,\n secondary = _palette$secondary === void 0 ? {\n light: pink.A200,\n main: pink.A400,\n dark: pink.A700\n } : _palette$secondary,\n _palette$error = palette.error,\n error = _palette$error === void 0 ? {\n light: red[300],\n main: red[500],\n dark: red[700]\n } : _palette$error,\n _palette$type = palette.type,\n type = _palette$type === void 0 ? 'light' : _palette$type,\n _palette$contrastThre = palette.contrastThreshold,\n contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,\n _palette$tonalOffset = palette.tonalOffset,\n tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,\n other = _objectWithoutProperties(palette, [\"primary\", \"secondary\", \"error\", \"type\", \"contrastThreshold\", \"tonalOffset\"]); // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n\n\n function getContrastText(background) {\n if (process.env.NODE_ENV !== 'production') {\n if (!background) {\n console.error(\"Material-UI: missing background argument in getContrastText(\".concat(background, \").\"));\n }\n }\n\n var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n\n if (process.env.NODE_ENV !== 'production') {\n var contrast = getContrastRatio(background, contrastText);\n\n if (process.env.NODE_ENV !== 'production') {\n if (contrast < 3) {\n console.error([\"Material-UI: the contrast ratio of \".concat(contrast, \":1 for \").concat(contrastText, \" on \").concat(background), 'falls below the WACG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n'));\n }\n }\n }\n\n return contrastText;\n }\n\n function augmentColor(color) {\n var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;\n var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;\n color = _extends({}, color);\n\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!color.main) {\n throw new Error(['Material-UI: the color provided to augmentColor(color) is invalid.', \"The color object needs to have a `main` property or a `\".concat(mainShade, \"` property.\")].join('\\n'));\n }\n }\n\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n\n return color;\n }\n\n var types = {\n dark: dark,\n light: light\n };\n\n if (process.env.NODE_ENV !== 'production') {\n if (!types[type]) {\n console.error(\"Material-UI: the palette type `\".concat(type, \"` is not supported.\"));\n }\n }\n\n var paletteOutput = deepmerge(_extends({\n // A collection of common colors.\n common: common,\n // The palette type, can be light or dark.\n type: type,\n // The colors used to represent primary interface elements for a user.\n primary: augmentColor(primary),\n // The colors used to represent secondary interface elements for a user.\n secondary: augmentColor(secondary, 'A400', 'A200', 'A700'),\n // The colors used to represent interface elements that the user should be made aware of.\n error: augmentColor(error),\n // The grey colors.\n grey: grey,\n // Used by `getContrastText()` to maximize the contrast between the background and\n // the text.\n contrastThreshold: contrastThreshold,\n // Take a background color and return the color of the text to maximize the contrast.\n getContrastText: getContrastText,\n // Generate a rich color object.\n augmentColor: augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset: tonalOffset\n }, types[type]), other, {\n clone: false // No need to clone deep\n\n });\n return paletteOutput;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport deepmerge from 'deepmerge'; // < 1kb payload overhead when lodash/merge is > 3kb.\n\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nvar caseAllCaps = {\n textTransform: 'uppercase'\n};\nvar defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n/**\n * @see @link{https://material.io/design/typography/the-type-system.html}\n * @see @link{https://material.io/design/typography/understanding-typography.html}\n */\n\nexport default function createTypography(palette, typography) {\n var _ref = typeof typography === 'function' ? typography(palette) : typography,\n _ref$fontFamily = _ref.fontFamily,\n fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily,\n _ref$fontSize = _ref.fontSize,\n fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,\n _ref$fontWeightLight = _ref.fontWeightLight,\n fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,\n _ref$fontWeightRegula = _ref.fontWeightRegular,\n fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,\n _ref$fontWeightMedium = _ref.fontWeightMedium,\n fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,\n _ref$fontWeightBold = _ref.fontWeightBold,\n fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold,\n _ref$htmlFontSize = _ref.htmlFontSize,\n htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,\n allVariants = _ref.allVariants,\n pxToRem2 = _ref.pxToRem,\n other = _objectWithoutProperties(_ref, [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"fontWeightBold\", \"htmlFontSize\", \"allVariants\", \"pxToRem\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error(\"Material-UI: 'fontSize' is required to be a number.\");\n }\n\n if (typeof htmlFontSize !== 'number') {\n console.error(\"Material-UI: 'htmlFontSize' is required to be a number.\");\n }\n }\n\n var coef = fontSize / 14;\n\n var pxToRem = pxToRem2 || function (size) {\n return \"\".concat(size / htmlFontSize * coef, \"rem\");\n };\n\n var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) {\n return _extends({\n fontFamily: fontFamily,\n fontWeight: fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight: lineHeight\n }, fontFamily === defaultFontFamily ? {\n letterSpacing: \"\".concat(round(letterSpacing / size), \"em\")\n } : {}, {}, casing, {}, allVariants);\n };\n\n var variants = {\n h1: buildVariant(fontWeightLight, 96, 1, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.04, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.17, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.33, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)\n };\n return deepmerge(_extends({\n htmlFontSize: htmlFontSize,\n pxToRem: pxToRem,\n round: round,\n // TODO To remove in v5?\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeightLight: fontWeightLight,\n fontWeightRegular: fontWeightRegular,\n fontWeightMedium: fontWeightMedium,\n fontWeightBold: fontWeightBold\n }, variants), other, {\n clone: false // No need to clone deep\n\n });\n}","var shadowKeyUmbraOpacity = 0.2;\nvar shadowKeyPenumbraOpacity = 0.14;\nvar shadowAmbientShadowOpacity = 0.12;\n\nfunction createShadow() {\n return [\"\".concat(arguments.length <= 0 ? undefined : arguments[0], \"px \").concat(arguments.length <= 1 ? undefined : arguments[1], \"px \").concat(arguments.length <= 2 ? undefined : arguments[2], \"px \").concat(arguments.length <= 3 ? undefined : arguments[3], \"px rgba(0,0,0,\").concat(shadowKeyUmbraOpacity, \")\"), \"\".concat(arguments.length <= 4 ? undefined : arguments[4], \"px \").concat(arguments.length <= 5 ? undefined : arguments[5], \"px \").concat(arguments.length <= 6 ? undefined : arguments[6], \"px \").concat(arguments.length <= 7 ? undefined : arguments[7], \"px rgba(0,0,0,\").concat(shadowKeyPenumbraOpacity, \")\"), \"\".concat(arguments.length <= 8 ? undefined : arguments[8], \"px \").concat(arguments.length <= 9 ? undefined : arguments[9], \"px \").concat(arguments.length <= 10 ? undefined : arguments[10], \"px \").concat(arguments.length <= 11 ? undefined : arguments[11], \"px rgba(0,0,0,\").concat(shadowAmbientShadowOpacity, \")\")].join(',');\n}\n\nvar shadows = ['none', createShadow(0, 1, 3, 0, 0, 1, 1, 0, 0, 2, 1, -1), createShadow(0, 1, 5, 0, 0, 2, 2, 0, 0, 3, 1, -2), createShadow(0, 1, 8, 0, 0, 3, 4, 0, 0, 3, 3, -2), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nexport default shadows;","var shape = {\n borderRadius: 4\n};\nexport default shape;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport deepmerge from 'deepmerge'; // < 1kb payload overhead when lodash/merge is > 3kb.\n\nimport isPlainObject from 'is-plain-object';\nimport createBreakpoints from './createBreakpoints';\nimport createMixins from './createMixins';\nimport createPalette from './createPalette';\nimport createTypography from './createTypography';\nimport shadows from './shadows';\nimport shape from './shape';\nimport createSpacing from './createSpacing';\nimport transitions from './transitions';\nimport zIndex from './zIndex';\n\nfunction createMuiTheme() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var _options$breakpoints = options.breakpoints,\n breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,\n _options$mixins = options.mixins,\n mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,\n _options$palette = options.palette,\n paletteInput = _options$palette === void 0 ? {} : _options$palette,\n shadowsInput = options.shadows,\n spacingInput = options.spacing,\n _options$typography = options.typography,\n typographyInput = _options$typography === void 0 ? {} : _options$typography,\n other = _objectWithoutProperties(options, [\"breakpoints\", \"mixins\", \"palette\", \"shadows\", \"spacing\", \"typography\"]);\n\n var palette = createPalette(paletteInput);\n var breakpoints = createBreakpoints(breakpointsInput);\n var spacing = createSpacing(spacingInput);\n\n var muiTheme = _extends({\n breakpoints: breakpoints,\n direction: 'ltr',\n mixins: createMixins(breakpoints, spacing, mixinsInput),\n overrides: {},\n // Inject custom styles\n palette: palette,\n props: {},\n // Inject custom props\n shadows: shadowsInput || shadows,\n typography: createTypography(palette, typographyInput),\n spacing: spacing\n }, deepmerge({\n shape: shape,\n transitions: transitions,\n zIndex: zIndex\n }, other, {\n isMergeableObject: isPlainObject\n }));\n\n if (process.env.NODE_ENV !== 'production') {\n var pseudoClasses = ['checked', 'disabled', 'error', 'focused', 'focusVisible', 'required', 'expanded', 'selected'];\n\n var traverse = function traverse(node, parentKey) {\n var depth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n var key; // eslint-disable-next-line guard-for-in, no-restricted-syntax\n\n for (key in node) {\n var child = node[key];\n\n if (depth === 1) {\n if (key.indexOf('Mui') === 0 && child) {\n traverse(child, key, depth + 1);\n }\n } else if (pseudoClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n console.error([\"Material-UI: the `\".concat(parentKey, \"` component increases \") + \"the CSS specificity of the `\".concat(key, \"` internal state.\"), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({\n root: _defineProperty({}, \"&$\".concat(key), child)\n }, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\\n'));\n } // Remove the style to prevent global conflicts.\n\n\n node[key] = {};\n }\n }\n };\n\n traverse(muiTheme.overrides);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (muiTheme.shadows.length !== 25) {\n console.error('Material-UI: the shadows array provided to createMuiTheme should support 25 elevations.');\n }\n }\n\n return muiTheme;\n}\n\nexport default createMuiTheme;","var warnOnce;\nexport default function createSpacing() {\n var spacingInput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 8; // Already transformed.\n\n if (spacingInput.mui) {\n return spacingInput;\n } // All components align to an 8dp square baseline grid for mobile, tablet, and desktop.\n // https://material.io/design/layout/understanding-layout.html#pixel-density\n\n\n var transform;\n\n if (typeof spacingInput === 'function') {\n transform = spacingInput;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof spacingInput !== 'number') {\n console.error([\"Material-UI: the `theme.spacing` value (\".concat(spacingInput, \") is invalid.\"), 'It should be a number or a function.'].join('\\n'));\n }\n }\n\n transform = function transform(factor) {\n if (process.env.NODE_ENV !== 'production') {\n if (typeof factor !== 'number') {\n console.error(\"Expected spacing argument to be a number, got \".concat(factor));\n }\n }\n\n return spacingInput * factor;\n };\n }\n\n var spacing = function spacing() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (!(args.length <= 4)) {\n console.error(\"Material-UI: Too many arguments provided, expected between 0 and 4, got \".concat(args.length));\n }\n }\n\n if (args.length === 0) {\n return transform(1);\n }\n\n if (args.length === 1) {\n return transform(args[0]);\n }\n\n return args.map(function (factor) {\n var output = transform(factor);\n return typeof output === 'number' ? \"\".concat(output, \"px\") : output;\n }).join(' ');\n }; // Backward compatibility, to remove in v5.\n\n\n Object.defineProperty(spacing, 'unit', {\n get: function get() {\n if (process.env.NODE_ENV !== 'production') {\n if (!warnOnce || process.env.NODE_ENV === 'test') {\n console.error(['Material-UI: theme.spacing.unit usage has been deprecated.', 'It will be removed in v5.', 'You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.', '', 'You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother.'].join('\\n'));\n }\n\n warnOnce = true;\n }\n\n return spacingInput;\n }\n });\n spacing.mui = true;\n return spacing;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport ReactDOM from 'react-dom';\nimport ownerDocument from '../utils/ownerDocument';\nimport List from '../List';\nimport getScrollbarSize from '../utils/getScrollbarSize';\nimport { useForkRef } from '../utils/reactHelpers';\n\nfunction nextItem(list, item, disableListWrap) {\n if (list === item) {\n return list.firstChild;\n }\n\n if (item && item.nextElementSibling) {\n return item.nextElementSibling;\n }\n\n return disableListWrap ? null : list.firstChild;\n}\n\nfunction previousItem(list, item, disableListWrap) {\n if (list === item) {\n return disableListWrap ? list.firstChild : list.lastChild;\n }\n\n if (item && item.previousElementSibling) {\n return item.previousElementSibling;\n }\n\n return disableListWrap ? null : list.lastChild;\n}\n\nfunction textCriteriaMatches(nextFocus, textCriteria) {\n if (textCriteria === undefined) {\n return true;\n }\n\n var text = nextFocus.innerText;\n\n if (text === undefined) {\n // jsdom doesn't support innerText\n text = nextFocus.textContent;\n }\n\n if (text === undefined) {\n return false;\n }\n\n text = text.trim().toLowerCase();\n\n if (text.length === 0) {\n return false;\n }\n\n if (textCriteria.repeating) {\n return text[0] === textCriteria.keys[0];\n }\n\n return text.indexOf(textCriteria.keys.join('')) === 0;\n}\n\nfunction moveFocus(list, currentFocus, disableListWrap, traversalFunction, textCriteria) {\n var wrappedOnce = false;\n var nextFocus = traversalFunction(list, currentFocus, currentFocus ? disableListWrap : false);\n\n while (nextFocus) {\n // Prevent infinite loop.\n if (nextFocus === list.firstChild) {\n if (wrappedOnce) {\n return false;\n }\n\n wrappedOnce = true;\n } // Move to the next element.\n\n\n if (!nextFocus.hasAttribute('tabindex') || nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true' || !textCriteriaMatches(nextFocus, textCriteria)) {\n nextFocus = traversalFunction(list, nextFocus, disableListWrap);\n } else {\n nextFocus.focus();\n return true;\n }\n }\n\n return false;\n}\n\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\nvar MenuList = React.forwardRef(function MenuList(props, ref) {\n var actions = props.actions,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n className = props.className,\n onKeyDown = props.onKeyDown,\n _props$disableListWra = props.disableListWrap,\n disableListWrap = _props$disableListWra === void 0 ? false : _props$disableListWra,\n other = _objectWithoutProperties(props, [\"actions\", \"autoFocus\", \"className\", \"onKeyDown\", \"disableListWrap\"]);\n\n var listRef = React.useRef(null);\n var textCriteriaRef = React.useRef({\n keys: [],\n repeating: true,\n previousKeyMatched: true,\n lastTime: null\n });\n useEnhancedEffect(function () {\n if (autoFocus) {\n listRef.current.focus();\n }\n }, [autoFocus]);\n React.useImperativeHandle(actions, function () {\n return {\n adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement, theme) {\n // Let's ignore that piece of logic if users are already overriding the width\n // of the menu.\n var noExplicitWidth = !listRef.current.style.width;\n\n if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {\n var scrollbarSize = \"\".concat(getScrollbarSize(true), \"px\");\n listRef.current.style[theme.direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;\n listRef.current.style.width = \"calc(100% + \".concat(scrollbarSize, \")\");\n }\n\n return listRef.current;\n }\n };\n }, []);\n\n var handleKeyDown = function handleKeyDown(event) {\n var list = listRef.current;\n var key = event.key;\n /**\n * @type {Element} - will always be defined since we are in a keydown handler\n * attached to an element. A keydown event is either dispatched to the activeElement\n * or document.body or document.documentElement. Only the first case will\n * trigger this specific handler.\n */\n\n var currentFocus = ownerDocument(list).activeElement;\n\n if (key === 'ArrowDown') {\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, nextItem);\n } else if (key === 'ArrowUp') {\n event.preventDefault();\n moveFocus(list, currentFocus, disableListWrap, previousItem);\n } else if (key === 'Home') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, nextItem);\n } else if (key === 'End') {\n event.preventDefault();\n moveFocus(list, null, disableListWrap, previousItem);\n } else if (key.length === 1) {\n var criteria = textCriteriaRef.current;\n var lowerKey = key.toLowerCase();\n var currTime = performance.now();\n\n if (criteria.keys.length > 0) {\n // Reset\n if (currTime - criteria.lastTime > 500) {\n criteria.keys = [];\n criteria.repeating = true;\n criteria.previousKeyMatched = true;\n } else if (criteria.repeating && lowerKey !== criteria.keys[0]) {\n criteria.repeating = false;\n }\n }\n\n criteria.lastTime = currTime;\n criteria.keys.push(lowerKey);\n var keepFocusOnCurrent = currentFocus && !criteria.repeating && textCriteriaMatches(currentFocus, criteria);\n\n if (criteria.previousKeyMatched && (keepFocusOnCurrent || moveFocus(list, currentFocus, false, nextItem, criteria))) {\n event.preventDefault();\n } else {\n criteria.previousKeyMatched = false;\n }\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n return React.createElement(List, _extends({\n role: \"menu\",\n ref: handleRef,\n className: className,\n onKeyDown: handleKeyDown,\n tabIndex: autoFocus ? 0 : -1\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuList.propTypes = {\n /**\n * @ignore\n */\n actions: PropTypes.shape({\n current: PropTypes.object\n }),\n\n /**\n * If `true`, the list will be focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * MenuList contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the menu items will not wrap focus.\n */\n disableListWrap: PropTypes.bool,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func\n} : void 0;\nexport default MenuList;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Popover from '../Popover';\nimport MenuList from '../MenuList';\nimport ReactDOM from 'react-dom';\nimport { setRef } from '../utils/reactHelpers';\nimport useTheme from '../styles/useTheme';\nvar RTL_ORIGIN = {\n vertical: 'top',\n horizontal: 'right'\n};\nvar LTR_ORIGIN = {\n vertical: 'top',\n horizontal: 'left'\n};\nexport var styles = {\n /* Styles applied to the `Paper` component. */\n paper: {\n // specZ: The maximum height of a simple menu should be one or more rows less than the view\n // height. This ensures a tapable area outside of the simple menu with which to dismiss\n // the menu.\n maxHeight: 'calc(100% - 96px)',\n // Add iOS momentum scrolling.\n WebkitOverflowScrolling: 'touch'\n },\n\n /* Styles applied to the `List` component via `MenuList`. */\n list: {\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0\n }\n};\nvar Menu = React.forwardRef(function Menu(props, ref) {\n var autoFocusProp = props.autoFocus,\n children = props.children,\n classes = props.classes,\n _props$disableAutoFoc = props.disableAutoFocusItem,\n disableAutoFocusItem = _props$disableAutoFoc === void 0 ? false : _props$disableAutoFoc,\n _props$MenuListProps = props.MenuListProps,\n MenuListProps = _props$MenuListProps === void 0 ? {} : _props$MenuListProps,\n onClose = props.onClose,\n onEntering = props.onEntering,\n open = props.open,\n _props$PaperProps = props.PaperProps,\n PaperProps = _props$PaperProps === void 0 ? {} : _props$PaperProps,\n PopoverClasses = props.PopoverClasses,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'selectedMenu' : _props$variant,\n other = _objectWithoutProperties(props, [\"autoFocus\", \"children\", \"classes\", \"disableAutoFocusItem\", \"MenuListProps\", \"onClose\", \"onEntering\", \"open\", \"PaperProps\", \"PopoverClasses\", \"transitionDuration\", \"variant\"]);\n\n var theme = useTheme();\n var autoFocus = (autoFocusProp !== undefined ? autoFocusProp : !disableAutoFocusItem) && open;\n var menuListActionsRef = React.useRef(null);\n var firstValidItemRef = React.useRef(null);\n var firstSelectedItemRef = React.useRef(null);\n\n var getContentAnchorEl = function getContentAnchorEl() {\n return firstSelectedItemRef.current || firstValidItemRef.current;\n };\n\n var handleEntering = function handleEntering(element, isAppearing) {\n if (menuListActionsRef.current) {\n menuListActionsRef.current.adjustStyleForScrollbar(element, theme);\n }\n\n if (onEntering) {\n onEntering(element, isAppearing);\n }\n };\n\n var handleListKeyDown = function handleListKeyDown(event) {\n if (event.key === 'Tab') {\n event.preventDefault();\n\n if (onClose) {\n onClose(event, 'tabKeyDown');\n }\n }\n };\n\n var firstValidElementIndex = null;\n var firstSelectedIndex = null;\n var items = React.Children.map(children, function (child, index) {\n if (!React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (child.type === React.Fragment) {\n console.error([\"Material-UI: the Menu component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n if (firstValidElementIndex === null) {\n firstValidElementIndex = index;\n }\n\n var newChildProps = null;\n\n if (variant !== \"menu\" && firstSelectedIndex === null && child.props.selected && !child.props.disabled) {\n firstSelectedIndex = index;\n newChildProps = {};\n\n if (autoFocus) {\n newChildProps.autoFocus = true;\n }\n\n if (child.props.tabIndex === undefined) {\n newChildProps.tabIndex = 0;\n }\n\n newChildProps.ref = function (instance) {\n // #StrictMode ready\n firstSelectedItemRef.current = ReactDOM.findDOMNode(instance);\n setRef(child.ref, instance);\n };\n } else if (index === firstValidElementIndex) {\n newChildProps = {\n ref: function ref(instance) {\n // #StrictMode ready\n firstValidItemRef.current = ReactDOM.findDOMNode(instance);\n setRef(child.ref, instance);\n }\n };\n }\n\n if (newChildProps !== null) {\n return React.cloneElement(child, newChildProps);\n }\n\n return child;\n });\n return React.createElement(Popover, _extends({\n getContentAnchorEl: getContentAnchorEl,\n classes: PopoverClasses,\n onClose: onClose,\n onEntering: handleEntering,\n anchorOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n transformOrigin: theme.direction === 'rtl' ? RTL_ORIGIN : LTR_ORIGIN,\n PaperProps: _extends({}, PaperProps, {\n classes: _extends({}, PaperProps.classes, {\n root: classes.paper\n })\n }),\n open: open,\n ref: ref,\n transitionDuration: transitionDuration\n }, other), React.createElement(MenuList, _extends({\n onKeyDown: handleListKeyDown,\n actions: menuListActionsRef,\n autoFocus: autoFocus && firstSelectedIndex === null\n }, MenuListProps, {\n className: clsx(classes.list, MenuListProps.className)\n }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? Menu.propTypes = {\n /**\n * The DOM element used to set the position of the menu.\n */\n anchorEl: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\n\n /**\n * If `true` (default), the menu list (possibly a particular item depending on the menu variant) will receive focus on open.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Menu contents, normally `MenuItem`s.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * Same as `autoFocus=false`.\n * @deprecated Use `autoFocus` instead.\n */\n disableAutoFocusItem: PropTypes.bool,\n\n /**\n * Props applied to the [`MenuList`](/api/menu-list/) element.\n */\n MenuListProps: PropTypes.object,\n\n /**\n * Callback fired when the component requests to be closed.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be:`\"escapeKeyDown\"`, `\"backdropClick\"`, `\"tabKeyDown\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the Menu enters.\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired when the Menu has entered.\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired when the Menu is entering.\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired before the Menu exits.\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired when the Menu has exited.\n */\n onExited: PropTypes.func,\n\n /**\n * Callback fired when the Menu is exiting.\n */\n onExiting: PropTypes.func,\n\n /**\n * If `true`, the menu is visible.\n */\n open: PropTypes.bool.isRequired,\n\n /**\n * @ignore\n */\n PaperProps: PropTypes.object,\n\n /**\n * `classes` prop applied to the [`Popover`](/api/popover/) element.\n */\n PopoverClasses: PropTypes.object,\n\n /**\n * The length of the transition in `ms`, or 'auto'\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number\n }), PropTypes.oneOf(['auto'])]),\n\n /**\n * The variant to use. Use `menu` to prevent selected items from impacting the initial focus\n * and the vertical alignment relative to the anchor element.\n */\n variant: PropTypes.oneOf(['menu', 'selectedMenu'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiMenu'\n})(Menu);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport { fade } from '../styles/colorManipulator';\nimport ButtonBase from '../ButtonBase';\nimport { capitalize } from '../utils/helpers';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 12,\n borderRadius: '50%',\n overflow: 'visible',\n // Explicitly set the default value to solve a bug on IE 11.\n color: theme.palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n backgroundColor: fade(theme.palette.action.active, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&$disabled': {\n backgroundColor: 'transparent',\n color: theme.palette.action.disabled\n }\n },\n\n /* Styles applied to the root element if `edge=\"start\"`. */\n edgeStart: {\n marginLeft: -12,\n '$sizeSmall&': {\n marginLeft: -3\n }\n },\n\n /* Styles applied to the root element if `edge=\"end\"`. */\n edgeEnd: {\n marginRight: -12,\n '$sizeSmall&': {\n marginRight: -3\n }\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n color: theme.palette.primary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main,\n '&:hover': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n padding: 3,\n fontSize: theme.typography.pxToRem(18)\n },\n\n /* Styles applied to the children container element. */\n label: {\n width: '100%',\n display: 'flex',\n alignItems: 'inherit',\n justifyContent: 'inherit'\n }\n };\n};\n/**\n * Refer to the [Icons](/components/icons/) section of the documentation\n * regarding the available icon options.\n */\n\nvar IconButton = React.forwardRef(function IconButton(props, ref) {\n var _props$edge = props.edge,\n edge = _props$edge === void 0 ? false : _props$edge,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableFocusRi = props.disableFocusRipple,\n disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n other = _objectWithoutProperties(props, [\"edge\", \"children\", \"classes\", \"className\", \"color\", \"disabled\", \"disableFocusRipple\", \"size\"]);\n\n return React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, color !== 'default' && classes[\"color\".concat(capitalize(color))], disabled && classes.disabled, {\n small: classes[\"size\".concat(capitalize(size))]\n }[size], {\n start: classes.edgeStart,\n end: classes.edgeEnd\n }[edge]),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled,\n ref: ref\n }, other), React.createElement(\"span\", {\n className: classes.label\n }, children));\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.propTypes = {\n /**\n * The icon element.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var found = React.Children.toArray(props.children).some(function (child) {\n return React.isValidElement(child) && child.props.onClick;\n });\n\n if (found) {\n return new Error(['Material-UI: you are providing an onClick event listener ' + 'to a child of a button element.', 'Firefox will never trigger the event.', 'You should move the onClick listener to the parent button element.', 'https://github.com/mui-org/material-ui/issues/13957'].join('\\n'));\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary']),\n\n /**\n * If `true`, the button will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the keyboard focus ripple will be disabled.\n * `disableRipple` must also be true.\n */\n disableFocusRipple: PropTypes.bool,\n\n /**\n * If `true`, the ripple effect will be disabled.\n */\n disableRipple: PropTypes.bool,\n\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n */\n edge: PropTypes.oneOf(['start', 'end', false]),\n\n /**\n * The size of the button.\n * `small` is equivalent to the dense button styling.\n */\n size: PropTypes.oneOf(['small', 'medium'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiIconButton'\n})(IconButton);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport debounce from '../utils/debounce';\nimport { useForkRef } from '../utils/reactHelpers';\n\nfunction getStyleValue(computedStyle, property) {\n return parseInt(computedStyle[property], 10) || 0;\n}\n\nvar useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar styles = {\n /* Styles applied to the shadow textarea element. */\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0\n }\n};\nvar TextareaAutosize = React.forwardRef(function TextareaAutosize(props, ref) {\n var onChange = props.onChange,\n rows = props.rows,\n rowsMax = props.rowsMax,\n style = props.style,\n value = props.value,\n other = _objectWithoutProperties(props, [\"onChange\", \"rows\", \"rowsMax\", \"style\", \"value\"]);\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef(null);\n var handleRef = useForkRef(ref, inputRef);\n var shadowRef = React.useRef(null);\n\n var _React$useState = React.useState({}),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var syncHeight = React.useCallback(function () {\n var input = inputRef.current;\n var computedStyle = window.getComputedStyle(input);\n var inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n var boxSizing = computedStyle['box-sizing'];\n var padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');\n var border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content\n\n var innerHeight = inputShallow.scrollHeight - padding; // Measure height of a textarea with a single row\n\n inputShallow.value = 'x';\n var singleRowHeight = inputShallow.scrollHeight - padding; // The height of the outer content\n\n var outerHeight = innerHeight;\n\n if (rows != null) {\n outerHeight = Math.max(Number(rows) * singleRowHeight, outerHeight);\n }\n\n if (rowsMax != null) {\n outerHeight = Math.min(Number(rowsMax) * singleRowHeight, outerHeight);\n }\n\n outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.\n\n var outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n var overflow = Math.abs(outerHeight - innerHeight) <= 1;\n setState(function (prevState) {\n // Need a large enough different to update the height.\n // This prevents infinite rendering loop.\n if (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow) {\n return {\n overflow: overflow,\n outerHeightStyle: outerHeightStyle\n };\n }\n\n return prevState;\n });\n }, [setState, rows, rowsMax, props.placeholder]);\n React.useEffect(function () {\n var handleResize = debounce(function () {\n syncHeight();\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [syncHeight]);\n useEnhancedEffect(function () {\n syncHeight();\n });\n\n var handleChange = function handleChange(event) {\n if (!isControlled) {\n syncHeight();\n }\n\n if (onChange) {\n onChange(event);\n }\n };\n\n return React.createElement(React.Fragment, null, React.createElement(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: rows || 1,\n style: _extends({\n height: state.outerHeightStyle,\n // Need a large enough different to allow scrolling.\n // This prevents infinite rendering loop.\n overflow: state.overflow ? 'hidden' : null\n }, style)\n }, other)), React.createElement(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends({}, styles.shadow, {}, style)\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes = {\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n\n /**\n * Minimum number of rows to display.\n */\n rows: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\n /**\n * Maximum number of rows to display.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * @ignore\n */\n value: PropTypes.any\n} : void 0;\nexport default TextareaAutosize;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\n/* eslint-disable jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { refType } from '@material-ui/utils';\nimport formControlState from '../FormControl/formControlState';\nimport FormControlContext, { useFormControl } from '../FormControl/FormControlContext';\nimport withStyles from '../styles/withStyles';\nimport { useForkRef } from '../utils/reactHelpers';\nimport TextareaAutosize from '../TextareaAutosize';\nimport { isFilled } from './utils';\nexport var styles = function styles(theme) {\n var light = theme.palette.type === 'light';\n var placeholder = {\n color: 'currentColor',\n opacity: light ? 0.42 : 0.5,\n transition: theme.transitions.create('opacity', {\n duration: theme.transitions.duration.shorter\n })\n };\n var placeholderHidden = {\n opacity: '0 !important'\n };\n var placeholderVisible = {\n opacity: light ? 0.42 : 0.5\n };\n return {\n /* Styles applied to the root element. */\n root: {\n // Mimics the default input display property used by browsers for an input.\n fontFamily: theme.typography.fontFamily,\n color: theme.palette.text.primary,\n fontSize: theme.typography.pxToRem(16),\n lineHeight: '1.1875em',\n // Reset (19px), match the native input line-height\n boxSizing: 'border-box',\n // Prevent padding issue with fullWidth.\n position: 'relative',\n cursor: 'text',\n display: 'inline-flex',\n alignItems: 'center',\n '&$disabled': {\n color: theme.palette.text.disabled,\n cursor: 'default'\n }\n },\n\n /* Styles applied to the root element if the component is a descendant of `FormControl`. */\n formControl: {},\n\n /* Styles applied to the root element if the component is focused. */\n focused: {},\n\n /* Styles applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `startAdornment` is provided. */\n adornedStart: {},\n\n /* Styles applied to the root element if `endAdornment` is provided. */\n adornedEnd: {},\n\n /* Styles applied to the root element if `error={true}`. */\n error: {},\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n marginDense: {},\n\n /* Styles applied to the root element if `multiline={true}`. */\n multiline: {\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n '&$marginDense': {\n paddingTop: 4 - 1\n }\n },\n\n /* Styles applied to the root element if `fullWidth={true}`. */\n fullWidth: {\n width: '100%'\n },\n\n /* Styles applied to the `input` element. */\n input: {\n font: 'inherit',\n color: 'currentColor',\n padding: \"\".concat(8 - 2, \"px 0 \").concat(8 - 1, \"px\"),\n border: 0,\n boxSizing: 'content-box',\n background: 'none',\n height: '1.1875em',\n // Reset (19px), match the native input line-height\n margin: 0,\n // Reset for Safari\n // Remove grey highlight\n WebkitTapHighlightColor: 'transparent',\n display: 'block',\n // Make the flex item shrink with Firefox\n minWidth: 0,\n width: '100%',\n // Fix IE 11 width issue\n '&::-webkit-input-placeholder': placeholder,\n '&::-moz-placeholder': placeholder,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholder,\n // IE 11\n '&::-ms-input-placeholder': placeholder,\n // Edge\n '&:focus': {\n outline: 0\n },\n // Reset Firefox invalid required input style\n '&:invalid': {\n boxShadow: 'none'\n },\n '&::-webkit-search-decoration': {\n // Remove the padding when type=search.\n '-webkit-appearance': 'none'\n },\n // Show and hide the placeholder logic\n 'label[data-shrink=false] + $formControl &': {\n '&::-webkit-input-placeholder': placeholderHidden,\n '&::-moz-placeholder': placeholderHidden,\n // Firefox 19+\n '&:-ms-input-placeholder': placeholderHidden,\n // IE 11\n '&::-ms-input-placeholder': placeholderHidden,\n // Edge\n '&:focus::-webkit-input-placeholder': placeholderVisible,\n '&:focus::-moz-placeholder': placeholderVisible,\n // Firefox 19+\n '&:focus:-ms-input-placeholder': placeholderVisible,\n // IE 11\n '&:focus::-ms-input-placeholder': placeholderVisible // Edge\n\n },\n '&$disabled': {\n opacity: 1 // Reset iOS opacity\n\n },\n '&:-webkit-autofill': {\n animationDuration: '5000s',\n animationName: '$auto-fill'\n }\n },\n '@keyframes auto-fill': {\n from: {}\n },\n\n /* Styles applied to the `input` element if `margin=\"dense\"`. */\n inputMarginDense: {\n paddingTop: 4 - 1\n },\n\n /* Styles applied to the `input` element if `select={true}`. */\n inputSelect: {\n paddingRight: 24\n },\n\n /* Styles applied to the `input` element if `multiline={true}`. */\n inputMultiline: {\n height: 'auto',\n resize: 'none',\n padding: 0\n },\n\n /* Styles applied to the `input` element if `type=\"search\"`. */\n inputTypeSearch: {\n // Improve type search style.\n '-moz-appearance': 'textfield',\n '-webkit-appearance': 'textfield'\n },\n\n /* Styles applied to the `input` element if `startAdornment` is provided. */\n inputAdornedStart: {},\n\n /* Styles applied to the `input` element if `endAdornment` is provided. */\n inputAdornedEnd: {},\n\n /* Styles applied to the `input` element if `hiddenLabel={true}`. */\n inputHiddenLabel: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * `InputBase` contains as few styles as possible.\n * It aims to be a simple building block for creating an input.\n * It contains a load of style reset and some state logic.\n */\n\nvar InputBase = React.forwardRef(function InputBase(props, ref) {\n var ariaDescribedby = props['aria-describedby'],\n autoComplete = props.autoComplete,\n autoFocus = props.autoFocus,\n classes = props.classes,\n classNameProp = props.className,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n endAdornment = props.endAdornment,\n error = props.error,\n _props$fullWidth = props.fullWidth,\n fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth,\n id = props.id,\n _props$inputComponent = props.inputComponent,\n inputComponent = _props$inputComponent === void 0 ? 'input' : _props$inputComponent,\n _props$inputProps = props.inputProps;\n _props$inputProps = _props$inputProps === void 0 ? {} : _props$inputProps;\n\n var inputPropsClassName = _props$inputProps.className,\n inputPropsProp = _objectWithoutProperties(_props$inputProps, [\"className\"]),\n inputRefProp = props.inputRef,\n margin = props.margin,\n _props$multiline = props.multiline,\n multiline = _props$multiline === void 0 ? false : _props$multiline,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClick = props.onClick,\n onFocus = props.onFocus,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n placeholder = props.placeholder,\n readOnly = props.readOnly,\n renderSuffix = props.renderSuffix,\n rows = props.rows,\n rowsMax = props.rowsMax,\n _props$select = props.select,\n select = _props$select === void 0 ? false : _props$select,\n startAdornment = props.startAdornment,\n _props$type = props.type,\n type = _props$type === void 0 ? 'text' : _props$type,\n value = props.value,\n other = _objectWithoutProperties(props, [\"aria-describedby\", \"autoComplete\", \"autoFocus\", \"classes\", \"className\", \"defaultValue\", \"disabled\", \"endAdornment\", \"error\", \"fullWidth\", \"id\", \"inputComponent\", \"inputProps\", \"inputRef\", \"margin\", \"multiline\", \"name\", \"onBlur\", \"onChange\", \"onClick\", \"onFocus\", \"onKeyDown\", \"onKeyUp\", \"placeholder\", \"readOnly\", \"renderSuffix\", \"rows\", \"rowsMax\", \"select\", \"startAdornment\", \"type\", \"value\"]);\n\n var _React$useRef = React.useRef(value != null),\n isControlled = _React$useRef.current;\n\n var inputRef = React.useRef();\n var handleInputRefWarning = React.useCallback(function (instance) {\n if (process.env.NODE_ENV !== 'production') {\n if (instance && !(instance instanceof HTMLInputElement) && !instance.focus) {\n console.error(['Material-UI: you have provided a `inputComponent` to the input component', 'that does not correctly handle the `inputRef` prop.', 'Make sure the `inputRef` prop is called with a HTMLInputElement.'].join('\\n'));\n }\n }\n }, []);\n var handleInputPropsRefProp = useForkRef(inputPropsProp.ref, handleInputRefWarning);\n var handleInputRefProp = useForkRef(inputRefProp, handleInputPropsRefProp);\n var handleInputRef = useForkRef(inputRef, handleInputRefProp);\n\n var _React$useState = React.useState(false),\n focused = _React$useState[0],\n setFocused = _React$useState[1];\n\n var muiFormControl = useFormControl();\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (muiFormControl) {\n return muiFormControl.registerEffect();\n }\n\n return undefined;\n }, [muiFormControl]);\n }\n\n var fcs = formControlState({\n props: props,\n muiFormControl: muiFormControl,\n states: ['disabled', 'error', 'hiddenLabel', 'margin', 'required', 'filled']\n });\n fcs.focused = muiFormControl ? muiFormControl.focused : focused; // The blur won't fire when the disabled state is set on a focused input.\n // We need to book keep the focused state manually.\n\n React.useEffect(function () {\n if (!muiFormControl && disabled && focused) {\n setFocused(false);\n\n if (onBlur) {\n onBlur();\n }\n }\n }, [muiFormControl, disabled, focused, onBlur]);\n var onFilled = muiFormControl && muiFormControl.onFilled;\n var onEmpty = muiFormControl && muiFormControl.onEmpty;\n var checkDirty = React.useCallback(function (obj) {\n if (isFilled(obj)) {\n if (onFilled) {\n onFilled();\n }\n } else if (onEmpty) {\n onEmpty();\n }\n }, [onFilled, onEmpty]);\n useEnhancedEffect(function () {\n if (isControlled) {\n checkDirty({\n value: value\n });\n }\n }, [value, checkDirty, isControlled]);\n\n var handleFocus = function handleFocus(event) {\n // Fix a bug with IE 11 where the focus/blur events are triggered\n // while the input is disabled.\n if (fcs.disabled) {\n event.stopPropagation();\n return;\n }\n\n if (onFocus) {\n onFocus(event);\n }\n\n if (muiFormControl && muiFormControl.onFocus) {\n muiFormControl.onFocus(event);\n } else {\n setFocused(true);\n }\n };\n\n var handleBlur = function handleBlur(event) {\n if (onBlur) {\n onBlur(event);\n }\n\n if (muiFormControl && muiFormControl.onBlur) {\n muiFormControl.onBlur(event);\n } else {\n setFocused(false);\n }\n };\n\n var handleChange = function handleChange(event) {\n if (!isControlled) {\n var element = event.target || inputRef.current;\n\n if (element == null) {\n throw new TypeError('Material-UI: Expected valid input target. ' + 'Did you use a custom `inputComponent` and forget to forward refs? ' + 'See https://material-ui.com/r/input-component-ref-interface for more info.');\n }\n\n checkDirty({\n value: element.value\n });\n } // Perform in the willUpdate\n\n\n if (onChange) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n onChange.apply(void 0, [event].concat(args));\n }\n }; // Check the input state on mount, in case it was filled by the user\n // or auto filled by the browser before the hydration (for SSR).\n\n\n React.useEffect(function () {\n checkDirty(inputRef.current);\n }, []); // eslint-disable-line react-hooks/exhaustive-deps\n\n var handleClick = function handleClick(event) {\n if (inputRef.current && event.currentTarget === event.target) {\n inputRef.current.focus();\n }\n\n if (onClick) {\n onClick(event);\n }\n };\n\n var InputComponent = inputComponent;\n\n var inputProps = _extends({}, inputPropsProp, {\n ref: handleInputRef\n });\n\n if (typeof InputComponent !== 'string') {\n inputProps = _extends({\n // Rename ref to inputRef as we don't know the\n // provided `inputComponent` structure.\n inputRef: handleInputRef,\n type: type\n }, inputProps, {\n ref: null\n });\n } else if (multiline) {\n if (rows && !rowsMax) {\n InputComponent = 'textarea';\n } else {\n inputProps = _extends({\n rows: rows,\n rowsMax: rowsMax\n }, inputProps);\n InputComponent = TextareaAutosize;\n }\n } else {\n inputProps = _extends({\n type: type\n }, inputProps);\n }\n\n var handleAutoFill = function handleAutoFill() {\n // Provide a fake value as Chrome might not let you access it for security reasons.\n checkDirty({\n value: 'x'\n });\n };\n\n return React.createElement(\"div\", _extends({\n className: clsx(classes.root, classNameProp, fcs.disabled && classes.disabled, fcs.error && classes.error, fullWidth && classes.fullWidth, fcs.focused && classes.focused, muiFormControl && classes.formControl, multiline && classes.multiline, startAdornment && classes.adornedStart, endAdornment && classes.adornedEnd, {\n dense: classes.marginDense\n }[fcs.margin]),\n onClick: handleClick,\n ref: ref\n }, other), startAdornment, React.createElement(FormControlContext.Provider, {\n value: null\n }, React.createElement(InputComponent, _extends({\n \"aria-invalid\": fcs.error,\n \"aria-describedby\": ariaDescribedby,\n autoComplete: autoComplete,\n autoFocus: autoFocus,\n className: clsx(classes.input, inputPropsClassName, fcs.disabled && classes.disabled, multiline && classes.inputMultiline, select && classes.inputSelect, fcs.hiddenLabel && classes.inputHiddenLabel, startAdornment && classes.inputAdornedStart, endAdornment && classes.inputAdornedEnd, {\n search: classes.inputTypeSearch\n }[type], {\n dense: classes.inputMarginDense\n }[fcs.margin]),\n defaultValue: defaultValue,\n disabled: fcs.disabled,\n id: id,\n onAnimationStart: handleAutoFill,\n name: name,\n onBlur: handleBlur,\n onChange: handleChange,\n onFocus: handleFocus,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n placeholder: placeholder,\n readOnly: readOnly,\n required: fcs.required,\n rows: rows,\n value: value\n }, inputProps))), endAdornment, renderSuffix ? renderSuffix(_extends({}, fcs, {\n startAdornment: startAdornment\n })) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? InputBase.propTypes = {\n /**\n * @ignore\n */\n 'aria-describedby': PropTypes.string,\n\n /**\n * This prop helps users to fill forms faster, especially on mobile devices.\n * The name can be confusing, as it's more like an autofill.\n * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).\n */\n autoComplete: PropTypes.string,\n\n /**\n * If `true`, the `input` element will be focused during the first mount.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the wrapper element.\n */\n className: PropTypes.string,\n\n /**\n * The default `input` element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the `input` element will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * End `InputAdornment` for this component.\n */\n endAdornment: PropTypes.node,\n\n /**\n * If `true`, the input will indicate an error. This is normally obtained via context from\n * FormControl.\n */\n error: PropTypes.bool,\n\n /**\n * If `true`, the input will take up the full width of its container.\n */\n fullWidth: PropTypes.bool,\n\n /**\n * The id of the `input` element.\n */\n id: PropTypes.string,\n\n /**\n * The component used for the `input` element.\n * Either a string to use a DOM element or a component.\n */\n inputComponent: PropTypes.elementType,\n\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.\n */\n inputProps: PropTypes.object,\n\n /**\n * Pass a ref to the `input` element.\n */\n inputRef: refType,\n\n /**\n * If `dense`, will adjust vertical spacing. This is normally obtained via context from\n * FormControl.\n */\n margin: PropTypes.oneOf(['dense', 'none']),\n\n /**\n * If `true`, a textarea element will be rendered.\n */\n multiline: PropTypes.bool,\n\n /**\n * Name attribute of the `input` element.\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback fired when the value is changed.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (string).\n */\n onChange: PropTypes.func,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * The short hint displayed in the input before the user enters a value.\n */\n placeholder: PropTypes.string,\n\n /**\n * It prevents the user from changing the value of the field\n * (not from interacting with the field).\n */\n readOnly: PropTypes.bool,\n\n /**\n * @ignore\n */\n renderSuffix: PropTypes.func,\n\n /**\n * If `true`, the `input` element will be required.\n */\n required: PropTypes.bool,\n\n /**\n * Number of rows to display when multiline option is set to true.\n */\n rows: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\n /**\n * Maximum number of rows to display when multiline option is set to true.\n */\n rowsMax: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\n /**\n * Should be `true` when the component hosts a select.\n */\n select: PropTypes.bool,\n\n /**\n * Start `InputAdornment` for this component.\n */\n startAdornment: PropTypes.node,\n\n /**\n * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).\n */\n type: PropTypes.string,\n\n /**\n * The value of the `input` element, required for a controlled component.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiInputBase'\n})(InputBase);","/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nrequire(\"core-js/modules/es.symbol\");\n\nrequire(\"core-js/modules/es.symbol.description\");\n\nrequire(\"core-js/modules/es.symbol.async-iterator\");\n\nrequire(\"core-js/modules/es.symbol.has-instance\");\n\nrequire(\"core-js/modules/es.symbol.is-concat-spreadable\");\n\nrequire(\"core-js/modules/es.symbol.iterator\");\n\nrequire(\"core-js/modules/es.symbol.match\");\n\nrequire(\"core-js/modules/es.symbol.replace\");\n\nrequire(\"core-js/modules/es.symbol.search\");\n\nrequire(\"core-js/modules/es.symbol.species\");\n\nrequire(\"core-js/modules/es.symbol.split\");\n\nrequire(\"core-js/modules/es.symbol.to-primitive\");\n\nrequire(\"core-js/modules/es.symbol.to-string-tag\");\n\nrequire(\"core-js/modules/es.symbol.unscopables\");\n\nrequire(\"core-js/modules/es.array.concat\");\n\nrequire(\"core-js/modules/es.array.from\");\n\nrequire(\"core-js/modules/es.json.to-string-tag\");\n\nrequire(\"core-js/modules/es.math.to-string-tag\");\n\nrequire(\"core-js/modules/es.object.to-string\");\n\nrequire(\"core-js/modules/es.string.iterator\");\n\nrequire(\"core-js/modules/esnext.symbol.dispose\");\n\nrequire(\"core-js/modules/esnext.symbol.observable\");\n\nrequire(\"core-js/modules/esnext.symbol.pattern-match\");\n\nif (typeof Promise === 'undefined') {\n // Rejection tracking prevents a common issue where React gets into an\n // inconsistent state due to an error, but it gets swallowed by a Promise,\n // and the user has no idea what causes React's erratic future behavior.\n require('promise/lib/rejection-tracking').enable();\n\n window.Promise = require('promise/lib/es6-extensions.js');\n} // Make sure we're in a Browser-like environment before importing polyfills\n// This prevents `fetch()` from being imported in a Node test environment\n\n\nif (typeof window !== 'undefined') {\n // fetch() polyfill for making API calls.\n require('whatwg-fetch');\n} // Object.assign() is commonly used with React.\n// It will use the native implementation if it's present and isn't buggy.\n\n\nObject.assign = require('object-assign'); // Support for...of (a commonly used syntax feature that requires Symbols)","var objectKeys = require('../internals/object-keys');\n\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\n\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable'); // all enumerable object keys, includes symbols\n\n\nmodule.exports = function (it) {\n var result = objectKeys(it);\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n\n if (getOwnPropertySymbols) {\n var symbols = getOwnPropertySymbols(it);\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n var i = 0;\n var key;\n\n while (symbols.length > i) {\n if (propertyIsEnumerable.call(it, key = symbols[i++])) result.push(key);\n }\n }\n\n return result;\n};","'use strict';\n\nvar classof = require('../internals/classof');\n\nvar TO_STRING_TAG = require('../internals/well-known-symbol')('toStringTag');\n\nvar test = {};\ntest[TO_STRING_TAG] = 'z'; // `Object.prototype.toString` method implementation\n// https://tc39.github.io/ecma262/#sec-object.prototype.tostring\n\nmodule.exports = String(test) !== '[object z]' ? function toString() {\n return '[object ' + classof(this) + ']';\n} : test.toString;","// `Symbol.patternMatch` well-known symbol\n// https://github.com/tc39/proposal-using-statement\nrequire('../internals/define-well-known-symbol')('dispose');","// https://github.com/tc39/proposal-observable\nrequire('../internals/define-well-known-symbol')('observable');","// `Symbol.patternMatch` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\nrequire('../internals/define-well-known-symbol')('patternMatch');","'use strict';\n\nvar Promise = require('./core');\n\nvar DEFAULT_WHITELIST = [ReferenceError, TypeError, RangeError];\nvar enabled = false;\nexports.disable = disable;\n\nfunction disable() {\n enabled = false;\n Promise._l = null;\n Promise._m = null;\n}\n\nexports.enable = enable;\n\nfunction enable(options) {\n options = options || {};\n if (enabled) disable();\n enabled = true;\n var id = 0;\n var displayId = 0;\n var rejections = {};\n\n Promise._l = function (promise) {\n if (promise._i === 2 && // IS REJECTED\n rejections[promise._o]) {\n if (rejections[promise._o].logged) {\n onHandled(promise._o);\n } else {\n clearTimeout(rejections[promise._o].timeout);\n }\n\n delete rejections[promise._o];\n }\n };\n\n Promise._m = function (promise, err) {\n if (promise._h === 0) {\n // not yet handled\n promise._o = id++;\n rejections[promise._o] = {\n displayId: null,\n error: err,\n timeout: setTimeout(onUnhandled.bind(null, promise._o), // For reference errors and type errors, this almost always\n // means the programmer made a mistake, so log them after just\n // 100ms\n // otherwise, wait 2 seconds to see if they get handled\n matchWhitelist(err, DEFAULT_WHITELIST) ? 100 : 2000),\n logged: false\n };\n }\n };\n\n function onUnhandled(id) {\n if (options.allRejections || matchWhitelist(rejections[id].error, options.whitelist || DEFAULT_WHITELIST)) {\n rejections[id].displayId = displayId++;\n\n if (options.onUnhandled) {\n rejections[id].logged = true;\n options.onUnhandled(rejections[id].displayId, rejections[id].error);\n } else {\n rejections[id].logged = true;\n logError(rejections[id].displayId, rejections[id].error);\n }\n }\n }\n\n function onHandled(id) {\n if (rejections[id].logged) {\n if (options.onHandled) {\n options.onHandled(rejections[id].displayId, rejections[id].error);\n } else if (!rejections[id].onUnhandled) {\n console.warn('Promise Rejection Handled (id: ' + rejections[id].displayId + '):');\n console.warn(' This means you can ignore any previous messages of the form \"Possible Unhandled Promise Rejection\" with id ' + rejections[id].displayId + '.');\n }\n }\n }\n}\n\nfunction logError(id, error) {\n console.warn('Possible Unhandled Promise Rejection (id: ' + id + '):');\n var errStr = (error && (error.stack || error)) + '';\n errStr.split('\\n').forEach(function (line) {\n console.warn(' ' + line);\n });\n}\n\nfunction matchWhitelist(error, list) {\n return list.some(function (cls) {\n return error instanceof cls;\n });\n}","\"use strict\"; // Use the fastest means possible to execute a task in its own turn, with\n// priority over other events including IO, animation, reflow, and redraw\n// events in browsers.\n//\n// An exception thrown by a task will permanently interrupt the processing of\n// subsequent tasks. The higher level `asap` function ensures that if an\n// exception is thrown by a task, that the task queue will continue flushing as\n// soon as possible, but if you use `rawAsap` directly, you are responsible to\n// either ensure that no exceptions are thrown from your task, or to manually\n// call `rawAsap.requestFlush` if an exception is thrown.\n\nmodule.exports = rawAsap;\n\nfunction rawAsap(task) {\n if (!queue.length) {\n requestFlush();\n flushing = true;\n } // Equivalent to push, but avoids a function call.\n\n\n queue[queue.length] = task;\n}\n\nvar queue = []; // Once a flush has been requested, no further calls to `requestFlush` are\n// necessary until the next `flush` completes.\n\nvar flushing = false; // `requestFlush` is an implementation-specific method that attempts to kick\n// off a `flush` event as quickly as possible. `flush` will attempt to exhaust\n// the event queue before yielding to the browser's own event loop.\n\nvar requestFlush; // The position of the next task to execute in the task queue. This is\n// preserved between calls to `flush` so that it can be resumed if\n// a task throws an exception.\n\nvar index = 0; // If a task schedules additional tasks recursively, the task queue can grow\n// unbounded. To prevent memory exhaustion, the task queue will periodically\n// truncate already-completed tasks.\n\nvar capacity = 1024; // The flush function processes all tasks that have been scheduled with\n// `rawAsap` unless and until one of those tasks throws an exception.\n// If a task throws an exception, `flush` ensures that its state will remain\n// consistent and will resume where it left off when called again.\n// However, `flush` does not make any arrangements to be called again if an\n// exception is thrown.\n\nfunction flush() {\n while (index < queue.length) {\n var currentIndex = index; // Advance the index before calling the task. This ensures that we will\n // begin flushing on the next task the task throws an error.\n\n index = index + 1;\n queue[currentIndex].call(); // Prevent leaking memory for long chains of recursive calls to `asap`.\n // If we call `asap` within tasks scheduled by `asap`, the queue will\n // grow, but to avoid an O(n) walk for every task we execute, we don't\n // shift tasks off the queue after they have been executed.\n // Instead, we periodically shift 1024 tasks off the queue.\n\n if (index > capacity) {\n // Manually shift all values starting at the index back to the\n // beginning of the queue.\n for (var scan = 0, newLength = queue.length - index; scan < newLength; scan++) {\n queue[scan] = queue[scan + index];\n }\n\n queue.length -= index;\n index = 0;\n }\n }\n\n queue.length = 0;\n index = 0;\n flushing = false;\n} // `requestFlush` is implemented using a strategy based on data collected from\n// every available SauceLabs Selenium web driver worker at time of writing.\n// https://docs.google.com/spreadsheets/d/1mG-5UYGup5qxGdEMWkhP6BWCz053NUb2E1QoUTU16uA/edit#gid=783724593\n// Safari 6 and 6.1 for desktop, iPad, and iPhone are the only browsers that\n// have WebKitMutationObserver but not un-prefixed MutationObserver.\n// Must use `global` or `self` instead of `window` to work in both frames and web\n// workers. `global` is a provision of Browserify, Mr, Mrs, or Mop.\n\n/* globals self */\n\n\nvar scope = typeof global !== \"undefined\" ? global : self;\nvar BrowserMutationObserver = scope.MutationObserver || scope.WebKitMutationObserver; // MutationObservers are desirable because they have high priority and work\n// reliably everywhere they are implemented.\n// They are implemented in all modern browsers.\n//\n// - Android 4-4.3\n// - Chrome 26-34\n// - Firefox 14-29\n// - Internet Explorer 11\n// - iPad Safari 6-7.1\n// - iPhone Safari 7-7.1\n// - Safari 6-7\n\nif (typeof BrowserMutationObserver === \"function\") {\n requestFlush = makeRequestCallFromMutationObserver(flush); // MessageChannels are desirable because they give direct access to the HTML\n // task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera\n // 11-12, and in web workers in many engines.\n // Although message channels yield to any queued rendering and IO tasks, they\n // would be better than imposing the 4ms delay of timers.\n // However, they do not work reliably in Internet Explorer or Safari.\n // Internet Explorer 10 is the only browser that has setImmediate but does\n // not have MutationObservers.\n // Although setImmediate yields to the browser's renderer, it would be\n // preferrable to falling back to setTimeout since it does not have\n // the minimum 4ms penalty.\n // Unfortunately there appears to be a bug in Internet Explorer 10 Mobile (and\n // Desktop to a lesser extent) that renders both setImmediate and\n // MessageChannel useless for the purposes of ASAP.\n // https://github.com/kriskowal/q/issues/396\n // Timers are implemented universally.\n // We fall back to timers in workers in most engines, and in foreground\n // contexts in the following browsers.\n // However, note that even this simple case requires nuances to operate in a\n // broad spectrum of browsers.\n //\n // - Firefox 3-13\n // - Internet Explorer 6-9\n // - iPad Safari 4.3\n // - Lynx 2.8.7\n} else {\n requestFlush = makeRequestCallFromTimer(flush);\n} // `requestFlush` requests that the high priority event queue be flushed as\n// soon as possible.\n// This is useful to prevent an error thrown in a task from stalling the event\n// queue if the exception handled by Node.js’s\n// `process.on(\"uncaughtException\")` or by a domain.\n\n\nrawAsap.requestFlush = requestFlush; // To request a high priority event, we induce a mutation observer by toggling\n// the text of a text node between \"1\" and \"-1\".\n\nfunction makeRequestCallFromMutationObserver(callback) {\n var toggle = 1;\n var observer = new BrowserMutationObserver(callback);\n var node = document.createTextNode(\"\");\n observer.observe(node, {\n characterData: true\n });\n return function requestCall() {\n toggle = -toggle;\n node.data = toggle;\n };\n} // The message channel technique was discovered by Malte Ubl and was the\n// original foundation for this library.\n// http://www.nonblocking.io/2011/06/windownexttick.html\n// Safari 6.0.5 (at least) intermittently fails to create message ports on a\n// page's first load. Thankfully, this version of Safari supports\n// MutationObservers, so we don't need to fall back in that case.\n// function makeRequestCallFromMessageChannel(callback) {\n// var channel = new MessageChannel();\n// channel.port1.onmessage = callback;\n// return function requestCall() {\n// channel.port2.postMessage(0);\n// };\n// }\n// For reasons explained above, we are also unable to use `setImmediate`\n// under any circumstances.\n// Even if we were, there is another bug in Internet Explorer 10.\n// It is not sufficient to assign `setImmediate` to `requestFlush` because\n// `setImmediate` must be called *by name* and therefore must be wrapped in a\n// closure.\n// Never forget.\n// function makeRequestCallFromSetImmediate(callback) {\n// return function requestCall() {\n// setImmediate(callback);\n// };\n// }\n// Safari 6.0 has a problem where timers will get lost while the user is\n// scrolling. This problem does not impact ASAP because Safari 6.0 supports\n// mutation observers, so that implementation is used instead.\n// However, if we ever elect to use timers in Safari, the prevalent work-around\n// is to add a scroll event listener that calls for a flush.\n// `setTimeout` does not call the passed callback if the delay is less than\n// approximately 7 in web workers in Firefox 8 through 18, and sometimes not\n// even then.\n\n\nfunction makeRequestCallFromTimer(callback) {\n return function requestCall() {\n // We dispatch a timeout with a specified delay of 0 for engines that\n // can reliably accommodate that request. This will usually be snapped\n // to a 4 milisecond delay, but once we're flushing, there's no delay\n // between events.\n var timeoutHandle = setTimeout(handleTimer, 0); // However, since this timer gets frequently dropped in Firefox\n // workers, we enlist an interval handle that will try to fire\n // an event 20 times per second until it succeeds.\n\n var intervalHandle = setInterval(handleTimer, 50);\n\n function handleTimer() {\n // Whichever timer succeeds will cancel both timers and\n // execute the callback.\n clearTimeout(timeoutHandle);\n clearInterval(intervalHandle);\n callback();\n }\n };\n} // This is for `asap.js` only.\n// Its name will be periodically randomized to break any code that depends on\n// its existence.\n\n\nrawAsap.makeRequestCallFromTimer = makeRequestCallFromTimer; // ASAP was originally a nextTick shim included in Q. This was factored out\n// into this ASAP package. It was later adapted to RSVP which made further\n// amendments. These decisions, particularly to marginalize MessageChannel and\n// to capture the MutationObserver implementation in a closure, were integrated\n// back into ASAP proper.\n// https://github.com/tildeio/rsvp.js/blob/cddf7232546a9cf858524b75cde6f9edf72620a7/lib/rsvp/asap.js","'use strict'; //This file contains the ES6 extensions to the core Promises/A+ API\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\n/* Static Functions */\n\nvar TRUE = valuePromise(true);\nvar FALSE = valuePromise(false);\nvar NULL = valuePromise(null);\nvar UNDEFINED = valuePromise(undefined);\nvar ZERO = valuePromise(0);\nvar EMPTYSTRING = valuePromise('');\n\nfunction valuePromise(value) {\n var p = new Promise(Promise._n);\n p._i = 1;\n p._j = value;\n return p;\n}\n\nPromise.resolve = function (value) {\n if (value instanceof Promise) return value;\n if (value === null) return NULL;\n if (value === undefined) return UNDEFINED;\n if (value === true) return TRUE;\n if (value === false) return FALSE;\n if (value === 0) return ZERO;\n if (value === '') return EMPTYSTRING;\n\n if (typeof value === 'object' || typeof value === 'function') {\n try {\n var then = value.then;\n\n if (typeof then === 'function') {\n return new Promise(then.bind(value));\n }\n } catch (ex) {\n return new Promise(function (resolve, reject) {\n reject(ex);\n });\n }\n }\n\n return valuePromise(value);\n};\n\nPromise.all = function (arr) {\n var args = Array.prototype.slice.call(arr);\n return new Promise(function (resolve, reject) {\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n if (val instanceof Promise && val.then === Promise.prototype.then) {\n while (val._i === 3) {\n val = val._j;\n }\n\n if (val._i === 1) return res(i, val._j);\n if (val._i === 2) reject(val._j);\n val.then(function (val) {\n res(i, val);\n }, reject);\n return;\n } else {\n var then = val.then;\n\n if (typeof then === 'function') {\n var p = new Promise(then.bind(val));\n p.then(function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n }\n\n args[i] = val;\n\n if (--remaining === 0) {\n resolve(args);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\n\nPromise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n};\n\nPromise.race = function (values) {\n return new Promise(function (resolve, reject) {\n values.forEach(function (value) {\n Promise.resolve(value).then(resolve, reject);\n });\n });\n};\n/* Prototype Methods */\n\n\nPromise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n};","var support = {\n searchParams: 'URLSearchParams' in self,\n iterable: 'Symbol' in self && 'iterator' in Symbol,\n blob: 'FileReader' in self && 'Blob' in self && function () {\n try {\n new Blob();\n return true;\n } catch (e) {\n return false;\n }\n }(),\n formData: 'FormData' in self,\n arrayBuffer: 'ArrayBuffer' in self\n};\n\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj);\n}\n\nif (support.arrayBuffer) {\n var viewClasses = ['[object Int8Array]', '[object Uint8Array]', '[object Uint8ClampedArray]', '[object Int16Array]', '[object Uint16Array]', '[object Int32Array]', '[object Uint32Array]', '[object Float32Array]', '[object Float64Array]'];\n\n var isArrayBufferView = ArrayBuffer.isView || function (obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;\n };\n}\n\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n\n if (/[^a-z0-9\\-#$%&'*+.^_`|~]/i.test(name)) {\n throw new TypeError('Invalid character in header field name');\n }\n\n return name.toLowerCase();\n}\n\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n\n return value;\n} // Build a destructive iterator for the value list\n\n\nfunction iteratorFor(items) {\n var iterator = {\n next: function next() {\n var value = items.shift();\n return {\n done: value === undefined,\n value: value\n };\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function () {\n return iterator;\n };\n }\n\n return iterator;\n}\n\nexport function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function (value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function (header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function (name) {\n this.append(name, headers[name]);\n }, this);\n }\n}\n\nHeaders.prototype.append = function (name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n};\n\nHeaders.prototype['delete'] = function (name) {\n delete this.map[normalizeName(name)];\n};\n\nHeaders.prototype.get = function (name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null;\n};\n\nHeaders.prototype.has = function (name) {\n return this.map.hasOwnProperty(normalizeName(name));\n};\n\nHeaders.prototype.set = function (name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n};\n\nHeaders.prototype.forEach = function (callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n};\n\nHeaders.prototype.keys = function () {\n var items = [];\n this.forEach(function (value, name) {\n items.push(name);\n });\n return iteratorFor(items);\n};\n\nHeaders.prototype.values = function () {\n var items = [];\n this.forEach(function (value) {\n items.push(value);\n });\n return iteratorFor(items);\n};\n\nHeaders.prototype.entries = function () {\n var items = [];\n this.forEach(function (value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items);\n};\n\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n}\n\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'));\n }\n\n body.bodyUsed = true;\n}\n\nfunction fileReaderReady(reader) {\n return new Promise(function (resolve, reject) {\n reader.onload = function () {\n resolve(reader.result);\n };\n\n reader.onerror = function () {\n reject(reader.error);\n };\n });\n}\n\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise;\n}\n\nfunction readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise;\n}\n\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n\n return chars.join('');\n}\n\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0);\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer;\n }\n}\n\nfunction Body() {\n this.bodyUsed = false;\n\n this._initBody = function (body) {\n this._bodyInit = body;\n\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer); // IE 10-11 can't handle a DataView body.\n\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function () {\n var rejected = consumed(this);\n\n if (rejected) {\n return rejected;\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob);\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]));\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob');\n } else {\n return Promise.resolve(new Blob([this._bodyText]));\n }\n };\n\n this.arrayBuffer = function () {\n if (this._bodyArrayBuffer) {\n return consumed(this) || Promise.resolve(this._bodyArrayBuffer);\n } else {\n return this.blob().then(readBlobAsArrayBuffer);\n }\n };\n }\n\n this.text = function () {\n var rejected = consumed(this);\n\n if (rejected) {\n return rejected;\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob);\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text');\n } else {\n return Promise.resolve(this._bodyText);\n }\n };\n\n if (support.formData) {\n this.formData = function () {\n return this.text().then(decode);\n };\n }\n\n this.json = function () {\n return this.text().then(JSON.parse);\n };\n\n return this;\n} // HTTP methods whose capitalization should be normalized\n\n\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method;\n}\n\nexport function Request(input, options) {\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read');\n }\n\n this.url = input.url;\n this.credentials = input.credentials;\n\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests');\n }\n\n this._initBody(body);\n}\n\nRequest.prototype.clone = function () {\n return new Request(this, {\n body: this._bodyInit\n });\n};\n\nfunction decode(body) {\n var form = new FormData();\n body.trim().split('&').forEach(function (bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form;\n}\n\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers(); // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n preProcessedHeaders.split(/\\r?\\n/).forEach(function (line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers;\n}\n\nBody.call(Request.prototype);\nexport function Response(bodyInit, options) {\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = 'statusText' in options ? options.statusText : 'OK';\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n\n this._initBody(bodyInit);\n}\nBody.call(Response.prototype);\n\nResponse.prototype.clone = function () {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n });\n};\n\nResponse.error = function () {\n var response = new Response(null, {\n status: 0,\n statusText: ''\n });\n response.type = 'error';\n return response;\n};\n\nvar redirectStatuses = [301, 302, 303, 307, 308];\n\nResponse.redirect = function (url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code');\n }\n\n return new Response(null, {\n status: status,\n headers: {\n location: url\n }\n });\n};\n\nexport var DOMException = self.DOMException;\n\ntry {\n new DOMException();\n} catch (err) {\n DOMException = function DOMException(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n\n DOMException.prototype = Object.create(Error.prototype);\n DOMException.prototype.constructor = DOMException;\n}\n\nexport function fetch(input, init) {\n return new Promise(function (resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'));\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function () {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n resolve(new Response(body, options));\n };\n\n xhr.onerror = function () {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.ontimeout = function () {\n reject(new TypeError('Network request failed'));\n };\n\n xhr.onabort = function () {\n reject(new DOMException('Aborted', 'AbortError'));\n };\n\n xhr.open(request.method, request.url, true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr && support.blob) {\n xhr.responseType = 'blob';\n }\n\n request.headers.forEach(function (value, name) {\n xhr.setRequestHeader(name, value);\n });\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function () {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n });\n}\nfetch.polyfill = true;\n\nif (!self.fetch) {\n self.fetch = fetch;\n self.Headers = Headers;\n self.Request = Request;\n self.Response = Response;\n}","/**\r\n * Copyright (c) 2015-present, Facebook, Inc.\r\n *\r\n * This source code is licensed under the MIT license found in the\r\n * LICENSE file in the root directory of this source tree.\r\n */\n'use strict'; // Polyfill stable language features.\n// It's recommended to use @babel/preset-env and browserslist\n// to only include the polyfills necessary for the target browsers.\n\nrequire(\"core-js/modules/es.symbol\");\n\nrequire(\"core-js/modules/es.symbol.description\");\n\nrequire(\"core-js/modules/es.symbol.async-iterator\");\n\nrequire(\"core-js/modules/es.symbol.has-instance\");\n\nrequire(\"core-js/modules/es.symbol.is-concat-spreadable\");\n\nrequire(\"core-js/modules/es.symbol.iterator\");\n\nrequire(\"core-js/modules/es.symbol.match\");\n\nrequire(\"core-js/modules/es.symbol.replace\");\n\nrequire(\"core-js/modules/es.symbol.search\");\n\nrequire(\"core-js/modules/es.symbol.species\");\n\nrequire(\"core-js/modules/es.symbol.split\");\n\nrequire(\"core-js/modules/es.symbol.to-primitive\");\n\nrequire(\"core-js/modules/es.symbol.to-string-tag\");\n\nrequire(\"core-js/modules/es.symbol.unscopables\");\n\nrequire(\"core-js/modules/es.array.concat\");\n\nrequire(\"core-js/modules/es.array.copy-within\");\n\nrequire(\"core-js/modules/es.array.every\");\n\nrequire(\"core-js/modules/es.array.fill\");\n\nrequire(\"core-js/modules/es.array.filter\");\n\nrequire(\"core-js/modules/es.array.find\");\n\nrequire(\"core-js/modules/es.array.find-index\");\n\nrequire(\"core-js/modules/es.array.flat\");\n\nrequire(\"core-js/modules/es.array.flat-map\");\n\nrequire(\"core-js/modules/es.array.for-each\");\n\nrequire(\"core-js/modules/es.array.from\");\n\nrequire(\"core-js/modules/es.array.includes\");\n\nrequire(\"core-js/modules/es.array.index-of\");\n\nrequire(\"core-js/modules/es.array.iterator\");\n\nrequire(\"core-js/modules/es.array.join\");\n\nrequire(\"core-js/modules/es.array.last-index-of\");\n\nrequire(\"core-js/modules/es.array.map\");\n\nrequire(\"core-js/modules/es.array.of\");\n\nrequire(\"core-js/modules/es.array.reduce\");\n\nrequire(\"core-js/modules/es.array.reduce-right\");\n\nrequire(\"core-js/modules/es.array.reverse\");\n\nrequire(\"core-js/modules/es.array.slice\");\n\nrequire(\"core-js/modules/es.array.some\");\n\nrequire(\"core-js/modules/es.array.sort\");\n\nrequire(\"core-js/modules/es.array.species\");\n\nrequire(\"core-js/modules/es.array.splice\");\n\nrequire(\"core-js/modules/es.array.unscopables.flat\");\n\nrequire(\"core-js/modules/es.array.unscopables.flat-map\");\n\nrequire(\"core-js/modules/es.array-buffer.constructor\");\n\nrequire(\"core-js/modules/es.array-buffer.is-view\");\n\nrequire(\"core-js/modules/es.array-buffer.slice\");\n\nrequire(\"core-js/modules/es.data-view\");\n\nrequire(\"core-js/modules/es.date.to-iso-string\");\n\nrequire(\"core-js/modules/es.date.to-json\");\n\nrequire(\"core-js/modules/es.date.to-primitive\");\n\nrequire(\"core-js/modules/es.date.to-string\");\n\nrequire(\"core-js/modules/es.function.has-instance\");\n\nrequire(\"core-js/modules/es.function.name\");\n\nrequire(\"core-js/modules/es.json.to-string-tag\");\n\nrequire(\"core-js/modules/es.map\");\n\nrequire(\"core-js/modules/es.math.acosh\");\n\nrequire(\"core-js/modules/es.math.asinh\");\n\nrequire(\"core-js/modules/es.math.atanh\");\n\nrequire(\"core-js/modules/es.math.cbrt\");\n\nrequire(\"core-js/modules/es.math.clz32\");\n\nrequire(\"core-js/modules/es.math.cosh\");\n\nrequire(\"core-js/modules/es.math.expm1\");\n\nrequire(\"core-js/modules/es.math.fround\");\n\nrequire(\"core-js/modules/es.math.hypot\");\n\nrequire(\"core-js/modules/es.math.imul\");\n\nrequire(\"core-js/modules/es.math.log10\");\n\nrequire(\"core-js/modules/es.math.log1p\");\n\nrequire(\"core-js/modules/es.math.log2\");\n\nrequire(\"core-js/modules/es.math.sign\");\n\nrequire(\"core-js/modules/es.math.sinh\");\n\nrequire(\"core-js/modules/es.math.tanh\");\n\nrequire(\"core-js/modules/es.math.to-string-tag\");\n\nrequire(\"core-js/modules/es.math.trunc\");\n\nrequire(\"core-js/modules/es.number.constructor\");\n\nrequire(\"core-js/modules/es.number.epsilon\");\n\nrequire(\"core-js/modules/es.number.is-finite\");\n\nrequire(\"core-js/modules/es.number.is-integer\");\n\nrequire(\"core-js/modules/es.number.is-nan\");\n\nrequire(\"core-js/modules/es.number.is-safe-integer\");\n\nrequire(\"core-js/modules/es.number.max-safe-integer\");\n\nrequire(\"core-js/modules/es.number.min-safe-integer\");\n\nrequire(\"core-js/modules/es.number.parse-float\");\n\nrequire(\"core-js/modules/es.number.parse-int\");\n\nrequire(\"core-js/modules/es.number.to-fixed\");\n\nrequire(\"core-js/modules/es.number.to-precision\");\n\nrequire(\"core-js/modules/es.object.assign\");\n\nrequire(\"core-js/modules/es.object.define-getter\");\n\nrequire(\"core-js/modules/es.object.define-properties\");\n\nrequire(\"core-js/modules/es.object.define-property\");\n\nrequire(\"core-js/modules/es.object.define-setter\");\n\nrequire(\"core-js/modules/es.object.entries\");\n\nrequire(\"core-js/modules/es.object.freeze\");\n\nrequire(\"core-js/modules/es.object.from-entries\");\n\nrequire(\"core-js/modules/es.object.get-own-property-descriptor\");\n\nrequire(\"core-js/modules/es.object.get-own-property-descriptors\");\n\nrequire(\"core-js/modules/es.object.get-own-property-names\");\n\nrequire(\"core-js/modules/es.object.get-prototype-of\");\n\nrequire(\"core-js/modules/es.object.is\");\n\nrequire(\"core-js/modules/es.object.is-extensible\");\n\nrequire(\"core-js/modules/es.object.is-frozen\");\n\nrequire(\"core-js/modules/es.object.is-sealed\");\n\nrequire(\"core-js/modules/es.object.keys\");\n\nrequire(\"core-js/modules/es.object.lookup-getter\");\n\nrequire(\"core-js/modules/es.object.lookup-setter\");\n\nrequire(\"core-js/modules/es.object.prevent-extensions\");\n\nrequire(\"core-js/modules/es.object.seal\");\n\nrequire(\"core-js/modules/es.object.set-prototype-of\");\n\nrequire(\"core-js/modules/es.object.to-string\");\n\nrequire(\"core-js/modules/es.object.values\");\n\nrequire(\"core-js/modules/es.parse-float\");\n\nrequire(\"core-js/modules/es.parse-int\");\n\nrequire(\"core-js/modules/es.promise\");\n\nrequire(\"core-js/modules/es.promise.finally\");\n\nrequire(\"core-js/modules/es.reflect.apply\");\n\nrequire(\"core-js/modules/es.reflect.construct\");\n\nrequire(\"core-js/modules/es.reflect.define-property\");\n\nrequire(\"core-js/modules/es.reflect.delete-property\");\n\nrequire(\"core-js/modules/es.reflect.get\");\n\nrequire(\"core-js/modules/es.reflect.get-own-property-descriptor\");\n\nrequire(\"core-js/modules/es.reflect.get-prototype-of\");\n\nrequire(\"core-js/modules/es.reflect.has\");\n\nrequire(\"core-js/modules/es.reflect.is-extensible\");\n\nrequire(\"core-js/modules/es.reflect.own-keys\");\n\nrequire(\"core-js/modules/es.reflect.prevent-extensions\");\n\nrequire(\"core-js/modules/es.reflect.set\");\n\nrequire(\"core-js/modules/es.reflect.set-prototype-of\");\n\nrequire(\"core-js/modules/es.regexp.constructor\");\n\nrequire(\"core-js/modules/es.regexp.exec\");\n\nrequire(\"core-js/modules/es.regexp.flags\");\n\nrequire(\"core-js/modules/es.regexp.to-string\");\n\nrequire(\"core-js/modules/es.set\");\n\nrequire(\"core-js/modules/es.string.code-point-at\");\n\nrequire(\"core-js/modules/es.string.ends-with\");\n\nrequire(\"core-js/modules/es.string.from-code-point\");\n\nrequire(\"core-js/modules/es.string.includes\");\n\nrequire(\"core-js/modules/es.string.iterator\");\n\nrequire(\"core-js/modules/es.string.match\");\n\nrequire(\"core-js/modules/es.string.pad-end\");\n\nrequire(\"core-js/modules/es.string.pad-start\");\n\nrequire(\"core-js/modules/es.string.raw\");\n\nrequire(\"core-js/modules/es.string.repeat\");\n\nrequire(\"core-js/modules/es.string.replace\");\n\nrequire(\"core-js/modules/es.string.search\");\n\nrequire(\"core-js/modules/es.string.split\");\n\nrequire(\"core-js/modules/es.string.starts-with\");\n\nrequire(\"core-js/modules/es.string.trim\");\n\nrequire(\"core-js/modules/es.string.trim-end\");\n\nrequire(\"core-js/modules/es.string.trim-start\");\n\nrequire(\"core-js/modules/es.string.anchor\");\n\nrequire(\"core-js/modules/es.string.big\");\n\nrequire(\"core-js/modules/es.string.blink\");\n\nrequire(\"core-js/modules/es.string.bold\");\n\nrequire(\"core-js/modules/es.string.fixed\");\n\nrequire(\"core-js/modules/es.string.fontcolor\");\n\nrequire(\"core-js/modules/es.string.fontsize\");\n\nrequire(\"core-js/modules/es.string.italics\");\n\nrequire(\"core-js/modules/es.string.link\");\n\nrequire(\"core-js/modules/es.string.small\");\n\nrequire(\"core-js/modules/es.string.strike\");\n\nrequire(\"core-js/modules/es.string.sub\");\n\nrequire(\"core-js/modules/es.string.sup\");\n\nrequire(\"core-js/modules/es.typed-array.float32-array\");\n\nrequire(\"core-js/modules/es.typed-array.float64-array\");\n\nrequire(\"core-js/modules/es.typed-array.int8-array\");\n\nrequire(\"core-js/modules/es.typed-array.int16-array\");\n\nrequire(\"core-js/modules/es.typed-array.int32-array\");\n\nrequire(\"core-js/modules/es.typed-array.uint8-array\");\n\nrequire(\"core-js/modules/es.typed-array.uint8-clamped-array\");\n\nrequire(\"core-js/modules/es.typed-array.uint16-array\");\n\nrequire(\"core-js/modules/es.typed-array.uint32-array\");\n\nrequire(\"core-js/modules/es.typed-array.copy-within\");\n\nrequire(\"core-js/modules/es.typed-array.every\");\n\nrequire(\"core-js/modules/es.typed-array.fill\");\n\nrequire(\"core-js/modules/es.typed-array.filter\");\n\nrequire(\"core-js/modules/es.typed-array.find\");\n\nrequire(\"core-js/modules/es.typed-array.find-index\");\n\nrequire(\"core-js/modules/es.typed-array.for-each\");\n\nrequire(\"core-js/modules/es.typed-array.from\");\n\nrequire(\"core-js/modules/es.typed-array.includes\");\n\nrequire(\"core-js/modules/es.typed-array.index-of\");\n\nrequire(\"core-js/modules/es.typed-array.iterator\");\n\nrequire(\"core-js/modules/es.typed-array.join\");\n\nrequire(\"core-js/modules/es.typed-array.last-index-of\");\n\nrequire(\"core-js/modules/es.typed-array.map\");\n\nrequire(\"core-js/modules/es.typed-array.of\");\n\nrequire(\"core-js/modules/es.typed-array.reduce\");\n\nrequire(\"core-js/modules/es.typed-array.reduce-right\");\n\nrequire(\"core-js/modules/es.typed-array.reverse\");\n\nrequire(\"core-js/modules/es.typed-array.set\");\n\nrequire(\"core-js/modules/es.typed-array.slice\");\n\nrequire(\"core-js/modules/es.typed-array.some\");\n\nrequire(\"core-js/modules/es.typed-array.sort\");\n\nrequire(\"core-js/modules/es.typed-array.subarray\");\n\nrequire(\"core-js/modules/es.typed-array.to-locale-string\");\n\nrequire(\"core-js/modules/es.typed-array.to-string\");\n\nrequire(\"core-js/modules/es.weak-map\");\n\nrequire(\"core-js/modules/es.weak-set\");\n\nrequire(\"core-js/modules/web.dom-collections.for-each\");\n\nrequire(\"core-js/modules/web.dom-collections.iterator\");\n\nrequire(\"core-js/modules/web.immediate\");\n\nrequire(\"core-js/modules/web.queue-microtask\");\n\nrequire(\"core-js/modules/web.url\");\n\nrequire(\"core-js/modules/web.url.to-json\");\n\nrequire(\"core-js/modules/web.url-search-params\");\n\nrequire('regenerator-runtime/runtime');","// `Array.prototype.copyWithin` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.copywithin\nrequire('../internals/export')({\n target: 'Array',\n proto: true\n}, {\n copyWithin: require('../internals/array-copy-within')\n}); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n\nrequire('../internals/add-to-unscopables')('copyWithin');","'use strict';\n\nvar internalEvery = require('../internals/array-methods')(4);\n\nvar SLOPPY_METHOD = require('../internals/sloppy-array-method')('every'); // `Array.prototype.every` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.every\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: SLOPPY_METHOD\n}, {\n every: function every(callbackfn\n /* , thisArg */\n ) {\n return internalEvery(this, callbackfn, arguments[1]);\n }\n});","// `Array.prototype.fill` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.fill\nrequire('../internals/export')({\n target: 'Array',\n proto: true\n}, {\n fill: require('../internals/array-fill')\n}); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n\nrequire('../internals/add-to-unscopables')('fill');","'use strict';\n\nvar internalFilter = require('../internals/array-methods')(2);\n\nvar SPECIES_SUPPORT = require('../internals/array-method-has-species-support')('filter'); // `Array.prototype.filter` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: !SPECIES_SUPPORT\n}, {\n filter: function filter(callbackfn\n /* , thisArg */\n ) {\n return internalFilter(this, callbackfn, arguments[1]);\n }\n});","'use strict';\n\nvar internalFind = require('../internals/array-methods')(5);\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true; // Shouldn't skip holes\n\nif (FIND in []) Array(1)[FIND](function () {\n SKIPS_HOLES = false;\n}); // `Array.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.find\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: SKIPS_HOLES\n}, {\n find: function find(callbackfn\n /* , that = undefined */\n ) {\n return internalFind(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n}); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n\nrequire('../internals/add-to-unscopables')(FIND);","'use strict';\n\nvar internalFindIndex = require('../internals/array-methods')(6);\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true; // Shouldn't skip holes\n\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () {\n SKIPS_HOLES = false;\n}); // `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: SKIPS_HOLES\n}, {\n findIndex: function findIndex(callbackfn\n /* , that = undefined */\n ) {\n return internalFindIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n}); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n\nrequire('../internals/add-to-unscopables')(FIND_INDEX);","'use strict';\n\nvar flattenIntoArray = require('../internals/flatten-into-array');\n\nvar toObject = require('../internals/to-object');\n\nvar toLength = require('../internals/to-length');\n\nvar toInteger = require('../internals/to-integer');\n\nvar arraySpeciesCreate = require('../internals/array-species-create'); // `Array.prototype.flat` method\n// https://github.com/tc39/proposal-flatMap\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true\n}, {\n flat: function flat()\n /* depthArg = 1 */\n {\n var depthArg = arguments[0];\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg));\n return A;\n }\n});","'use strict';\n\nvar flattenIntoArray = require('../internals/flatten-into-array');\n\nvar toObject = require('../internals/to-object');\n\nvar toLength = require('../internals/to-length');\n\nvar aFunction = require('../internals/a-function');\n\nvar arraySpeciesCreate = require('../internals/array-species-create'); // `Array.prototype.flatMap` method\n// https://github.com/tc39/proposal-flatMap\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true\n}, {\n flatMap: function flatMap(callbackfn\n /* , thisArg */\n ) {\n var O = toObject(this);\n var sourceLen = toLength(O.length);\n var A;\n aFunction(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n return A;\n }\n});","'use strict';\n\nvar forEach = require('../internals/array-for-each'); // `Array.prototype.forEach` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.foreach\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: [].forEach != forEach\n}, {\n forEach: forEach\n});","'use strict';\n\nvar internalIncludes = require('../internals/array-includes')(true); // `Array.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.includes\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true\n}, {\n includes: function includes(el\n /* , fromIndex = 0 */\n ) {\n return internalIncludes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n}); // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\n\n\nrequire('../internals/add-to-unscopables')('includes');","'use strict';\n\nvar internalIndexOf = require('../internals/array-includes')(false);\n\nvar nativeIndexOf = [].indexOf;\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0;\n\nvar SLOPPY_METHOD = require('../internals/sloppy-array-method')('indexOf'); // `Array.prototype.indexOf` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.indexof\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: NEGATIVE_ZERO || SLOPPY_METHOD\n}, {\n indexOf: function indexOf(searchElement\n /* , fromIndex = 0 */\n ) {\n return NEGATIVE_ZERO // convert -0 to +0\n ? nativeIndexOf.apply(this, arguments) || 0 : internalIndexOf(this, searchElement, arguments[1]);\n }\n});","'use strict';\n\nvar toIndexedObject = require('../internals/to-indexed-object');\n\nvar nativeJoin = [].join;\nvar ES3_STRINGS = require('../internals/indexed-object') != Object;\n\nvar SLOPPY_METHOD = require('../internals/sloppy-array-method')('join', ','); // `Array.prototype.join` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.join\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: ES3_STRINGS || SLOPPY_METHOD\n}, {\n join: function join(separator) {\n return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});","var arrayLastIndexOf = require('../internals/array-last-index-of'); // `Array.prototype.lastIndexOf` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: arrayLastIndexOf !== [].lastIndexOf\n}, {\n lastIndexOf: arrayLastIndexOf\n});","'use strict';\n\nvar internalMap = require('../internals/array-methods')(1);\n\nvar SPECIES_SUPPORT = require('../internals/array-method-has-species-support')('map'); // `Array.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: !SPECIES_SUPPORT\n}, {\n map: function map(callbackfn\n /* , thisArg */\n ) {\n return internalMap(this, callbackfn, arguments[1]);\n }\n});","'use strict';\n\nvar createProperty = require('../internals/create-property');\n\nvar ISNT_GENERIC = require('../internals/fails')(function () {\n function F() {\n /* empty */\n }\n\n return !(Array.of.call(F) instanceof F);\n}); // `Array.of` method\n// https://tc39.github.io/ecma262/#sec-array.of\n// WebKit Array.of isn't generic\n\n\nrequire('../internals/export')({\n target: 'Array',\n stat: true,\n forced: ISNT_GENERIC\n}, {\n of: function of()\n /* ...args */\n {\n var index = 0;\n var argumentsLength = arguments.length;\n var result = new (typeof this == 'function' ? this : Array)(argumentsLength);\n\n while (argumentsLength > index) {\n createProperty(result, index, arguments[index++]);\n }\n\n result.length = argumentsLength;\n return result;\n }\n});","'use strict';\n\nvar internalReduce = require('../internals/array-reduce');\n\nvar SLOPPY_METHOD = require('../internals/sloppy-array-method')('reduce'); // `Array.prototype.reduce` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: SLOPPY_METHOD\n}, {\n reduce: function reduce(callbackfn\n /* , initialValue */\n ) {\n return internalReduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});","'use strict';\n\nvar internalReduceRight = require('../internals/array-reduce');\n\nvar SLOPPY_METHOD = require('../internals/sloppy-array-method')('reduceRight'); // `Array.prototype.reduceRight` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reduceright\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: SLOPPY_METHOD\n}, {\n reduceRight: function reduceRight(callbackfn\n /* , initialValue */\n ) {\n return internalReduceRight(this, callbackfn, arguments.length, arguments[1], true);\n }\n});","'use strict';\n\nvar isArray = require('../internals/is-array');\n\nvar nativeReverse = [].reverse;\nvar test = [1, 2]; // `Array.prototype.reverse` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: String(test) === String(test.reverse())\n}, {\n reverse: function reverse() {\n if (isArray(this)) this.length = this.length;\n return nativeReverse.call(this);\n }\n});","'use strict';\n\nvar isObject = require('../internals/is-object');\n\nvar isArray = require('../internals/is-array');\n\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar toLength = require('../internals/to-length');\n\nvar toIndexedObject = require('../internals/to-indexed-object');\n\nvar createProperty = require('../internals/create-property');\n\nvar SPECIES = require('../internals/well-known-symbol')('species');\n\nvar nativeSlice = [].slice;\nvar max = Math.max;\n\nvar SPECIES_SUPPORT = require('../internals/array-method-has-species-support')('slice'); // `Array.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: !SPECIES_SUPPORT\n}, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = toLength(O.length);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n\n var Constructor, result, n;\n\n if (isArray(O)) {\n Constructor = O.constructor; // cross-realm fallback\n\n if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n\n if (Constructor === Array || Constructor === undefined) {\n return nativeSlice.call(O, k, fin);\n }\n }\n\n result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0));\n\n for (n = 0; k < fin; k++, n++) {\n if (k in O) createProperty(result, n, O[k]);\n }\n\n result.length = n;\n return result;\n }\n});","'use strict';\n\nvar internalSome = require('../internals/array-methods')(3);\n\nvar SLOPPY_METHOD = require('../internals/sloppy-array-method')('some'); // `Array.prototype.some` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.some\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: SLOPPY_METHOD\n}, {\n some: function some(callbackfn\n /* , thisArg */\n ) {\n return internalSome(this, callbackfn, arguments[1]);\n }\n});","'use strict';\n\nvar aFunction = require('../internals/a-function');\n\nvar toObject = require('../internals/to-object');\n\nvar fails = require('../internals/fails');\n\nvar nativeSort = [].sort;\nvar test = [1, 2, 3]; // IE8-\n\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n}); // V8 bug\n\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n}); // Old WebKit\n\nvar SLOPPY_METHOD = require('../internals/sloppy-array-method')('sort');\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || SLOPPY_METHOD; // `Array.prototype.sort` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.sort\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: FORCED\n}, {\n sort: function sort(comparefn) {\n return comparefn === undefined ? nativeSort.call(toObject(this)) : nativeSort.call(toObject(this), aFunction(comparefn));\n }\n});","// `Array[@@species]` getter\n// https://tc39.github.io/ecma262/#sec-get-array-@@species\nrequire('../internals/set-species')('Array');","'use strict';\n\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar toInteger = require('../internals/to-integer');\n\nvar toLength = require('../internals/to-length');\n\nvar toObject = require('../internals/to-object');\n\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\nvar createProperty = require('../internals/create-property');\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\nvar SPECIES_SUPPORT = require('../internals/array-method-has-species-support')('splice'); // `Array.prototype.splice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n\n\nrequire('../internals/export')({\n target: 'Array',\n proto: true,\n forced: !SPECIES_SUPPORT\n}, {\n splice: function splice(start, deleteCount\n /* , ...items */\n ) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n\n A = arraySpeciesCreate(O, actualDeleteCount);\n\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n\n A.length = actualDeleteCount;\n\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];else delete O[to];\n }\n\n for (k = len; k > len - actualDeleteCount + insertCount; k--) {\n delete O[k - 1];\n }\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];else delete O[to];\n }\n }\n\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nrequire('../internals/add-to-unscopables')('flat');","// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nrequire('../internals/add-to-unscopables')('flatMap');","'use strict';\n\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\nvar ArrayBuffer = require('../internals/array-buffer')[ARRAY_BUFFER];\n\nvar NativeArrayBuffer = require('../internals/global')[ARRAY_BUFFER]; // `ArrayBuffer` constructor\n// https://tc39.github.io/ecma262/#sec-arraybuffer-constructor\n\n\nrequire('../internals/export')({\n global: true,\n forced: NativeArrayBuffer !== ArrayBuffer\n}, {\n ArrayBuffer: ArrayBuffer\n});\n\nrequire('../internals/set-species')(ARRAY_BUFFER);","var ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; // `ArrayBuffer.isView` method\n// https://tc39.github.io/ecma262/#sec-arraybuffer.isview\n\nrequire('../internals/export')({\n target: 'ArrayBuffer',\n stat: true,\n forced: !NATIVE_ARRAY_BUFFER_VIEWS\n}, {\n isView: ArrayBufferViewCore.isView\n});","'use strict';\n\nvar ArrayBufferModule = require('../internals/array-buffer');\n\nvar anObject = require('../internals/an-object');\n\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar toLength = require('../internals/to-length');\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar DataView = ArrayBufferModule.DataView;\nvar nativeArrayBufferSlice = ArrayBuffer.prototype.slice;\n\nvar INCORRECT_SLICE = require('../internals/fails')(function () {\n return !new ArrayBuffer(2).slice(1, undefined).byteLength;\n}); // `ArrayBuffer.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-arraybuffer.prototype.slice\n\n\nrequire('../internals/export')({\n target: 'ArrayBuffer',\n proto: true,\n unsafe: true,\n forced: INCORRECT_SLICE\n}, {\n slice: function slice(start, end) {\n if (nativeArrayBufferSlice !== undefined && end === undefined) {\n return nativeArrayBufferSlice.call(anObject(this), start); // FF fix\n }\n\n var length = anObject(this).byteLength;\n var first = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first));\n var viewSource = new DataView(this);\n var viewTarget = new DataView(result);\n var index = 0;\n\n while (first < fin) {\n viewTarget.setUint8(index++, viewSource.getUint8(first++));\n }\n\n return result;\n }\n});","var NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER; // `DataView` constructor\n// https://tc39.github.io/ecma262/#sec-dataview-constructor\n\n\nrequire('../internals/export')({\n global: true,\n forced: !NATIVE_ARRAY_BUFFER\n}, {\n DataView: require('../internals/array-buffer').DataView\n});","var toISOString = require('../internals/date-to-iso-string'); // `Date.prototype.toISOString` method\n// https://tc39.github.io/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit has a broken implementations\n\n\nrequire('../internals/export')({\n target: 'Date',\n proto: true,\n forced: Date.prototype.toISOString !== toISOString\n}, {\n toISOString: toISOString\n});","'use strict';\n\nvar fails = require('../internals/fails');\n\nvar prototype = Date.prototype;\nvar getTime = prototype.getTime;\nvar nativeDateToISOString = prototype.toISOString;\n\nvar leadingZero = function leadingZero(number) {\n return number > 9 ? number : '0' + number;\n}; // `Date.prototype.toISOString` method implementation\n// https://tc39.github.io/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit fails here:\n\n\nmodule.exports = fails(function () {\n return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n nativeDateToISOString.call(new Date(NaN));\n}) ? function toISOString() {\n if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n var date = this;\n var year = date.getUTCFullYear();\n var milliseconds = date.getUTCMilliseconds();\n var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n return sign + ('00000' + Math.abs(year)).slice(sign ? -6 : -4) + '-' + leadingZero(date.getUTCMonth() + 1) + '-' + leadingZero(date.getUTCDate()) + 'T' + leadingZero(date.getUTCHours()) + ':' + leadingZero(date.getUTCMinutes()) + ':' + leadingZero(date.getUTCSeconds()) + '.' + (milliseconds > 99 ? milliseconds : '0' + leadingZero(milliseconds)) + 'Z';\n} : nativeDateToISOString;","'use strict';\n\nvar toObject = require('../internals/to-object');\n\nvar toPrimitive = require('../internals/to-primitive');\n\nvar FORCED = require('../internals/fails')(function () {\n return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({\n toISOString: function toISOString() {\n return 1;\n }\n }) !== 1;\n}); // `Date.prototype.toJSON` method\n// https://tc39.github.io/ecma262/#sec-date.prototype.tojson\n\n\nrequire('../internals/export')({\n target: 'Date',\n proto: true,\n forced: FORCED\n}, {\n // eslint-disable-next-line no-unused-vars\n toJSON: function toJSON(key) {\n var O = toObject(this);\n var pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});","var hide = require('../internals/hide');\n\nvar TO_PRIMITIVE = require('../internals/well-known-symbol')('toPrimitive');\n\nvar dateToPrimitive = require('../internals/date-to-primitive');\n\nvar DatePrototype = Date.prototype; // `Date.prototype[@@toPrimitive]` method\n// https://tc39.github.io/ecma262/#sec-date.prototype-@@toprimitive\n\nif (!(TO_PRIMITIVE in DatePrototype)) hide(DatePrototype, TO_PRIMITIVE, dateToPrimitive);","'use strict';\n\nvar anObject = require('../internals/an-object');\n\nvar toPrimitive = require('../internals/to-primitive');\n\nmodule.exports = function (hint) {\n if (hint !== 'string' && hint !== 'number' && hint !== 'default') {\n throw TypeError('Incorrect hint');\n }\n\n return toPrimitive(anObject(this), hint !== 'number');\n};","var DatePrototype = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar nativeDateToString = DatePrototype[TO_STRING];\nvar getTime = DatePrototype.getTime; // `Date.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-date.prototype.tostring\n\nif (new Date(NaN) + '' != INVALID_DATE) {\n require('../internals/redefine')(DatePrototype, TO_STRING, function toString() {\n var value = getTime.call(this); // eslint-disable-next-line no-self-compare\n\n return value === value ? nativeDateToString.call(this) : INVALID_DATE;\n });\n}","'use strict';\n\nvar isObject = require('../internals/is-object');\n\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar HAS_INSTANCE = require('../internals/well-known-symbol')('hasInstance');\n\nvar FunctionPrototype = Function.prototype; // `Function.prototype[@@hasInstance]` method\n// https://tc39.github.io/ecma262/#sec-function.prototype-@@hasinstance\n\nif (!(HAS_INSTANCE in FunctionPrototype)) {\n definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, {\n value: function value(O) {\n if (typeof this != 'function' || !isObject(O)) return false;\n if (!isObject(this.prototype)) return O instanceof this; // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n\n while (O = getPrototypeOf(O)) {\n if (this.prototype === O) return true;\n }\n\n return false;\n }\n });\n}","var DESCRIPTORS = require('../internals/descriptors');\n\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar FunctionPrototype = Function.prototype;\nvar FunctionPrototypeToString = FunctionPrototype.toString;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name'; // Function instances `.name` property\n// https://tc39.github.io/ecma262/#sec-function-instances-name\n\nif (DESCRIPTORS && !(NAME in FunctionPrototype)) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function get() {\n try {\n return FunctionPrototypeToString.call(this).match(nameRE)[1];\n } catch (error) {\n return '';\n }\n }\n });\n}","'use strict'; // `Map` constructor\n// https://tc39.github.io/ecma262/#sec-map-objects\n\nmodule.exports = require('../internals/collection')('Map', function (get) {\n return function Map() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}, require('../internals/collection-strong'), true);","var log1p = require('../internals/math-log1p');\n\nvar nativeAcosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\nvar FORCED = !nativeAcosh // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n|| Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710 // Tor Browser bug: Math.acosh(Infinity) -> NaN\n|| nativeAcosh(Infinity) != Infinity; // `Math.acosh` method\n// https://tc39.github.io/ecma262/#sec-math.acosh\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true,\n forced: FORCED\n}, {\n acosh: function acosh(x) {\n return (x = +x) < 1 ? NaN : x > 94906265.62425156 ? log(x) + LN2 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});","var nativeAsinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\n\nfunction asinh(x) {\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1));\n} // `Math.asinh` method\n// https://tc39.github.io/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true,\n forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0)\n}, {\n asinh: asinh\n});","var nativeAtanh = Math.atanh;\nvar log = Math.log; // `Math.atanh` method\n// https://tc39.github.io/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true,\n forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0)\n}, {\n atanh: function atanh(x) {\n return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2;\n }\n});","var sign = require('../internals/math-sign');\n\nvar abs = Math.abs;\nvar pow = Math.pow; // `Math.cbrt` method\n// https://tc39.github.io/ecma262/#sec-math.cbrt\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n cbrt: function cbrt(x) {\n return sign(x = +x) * pow(abs(x), 1 / 3);\n }\n});","var floor = Math.floor;\nvar log = Math.log;\nvar LOG2E = Math.LOG2E; // `Math.clz32` method\n// https://tc39.github.io/ecma262/#sec-math.clz32\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n clz32: function clz32(x) {\n return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32;\n }\n});","var expm1 = require('../internals/math-expm1');\n\nvar nativeCosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E; // `Math.cosh` method\n// https://tc39.github.io/ecma262/#sec-math.cosh\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true,\n forced: !nativeCosh || nativeCosh(710) === Infinity\n}, {\n cosh: function cosh(x) {\n var t = expm1(abs(x) - 1) + 1;\n return (t + 1 / (t * E * E)) * (E / 2);\n }\n});","var expm1Implementation = require('../internals/math-expm1'); // `Math.expm1` method\n// https://tc39.github.io/ecma262/#sec-math.expm1\n\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true,\n forced: expm1Implementation != Math.expm1\n}, {\n expm1: expm1Implementation\n});","// `Math.fround` method\n// https://tc39.github.io/ecma262/#sec-math.fround\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n fround: require('../internals/math-fround')\n});","var sign = require('../internals/math-sign');\n\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function roundTiesToEven(n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n}; // `Math.fround` method implementation\n// https://tc39.github.io/ecma262/#sec-math.fround\n\n\nmodule.exports = Math.fround || function fround(x) {\n var $abs = Math.abs(x);\n var $sign = sign(x);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs); // eslint-disable-next-line no-self-compare\n\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};","var abs = Math.abs;\nvar sqrt = Math.sqrt; // `Math.hypot` method\n// https://tc39.github.io/ecma262/#sec-math.hypot\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n hypot: function hypot(value1, value2) {\n // eslint-disable-line no-unused-vars\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n\n while (i < aLen) {\n arg = abs(arguments[i++]);\n\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n\n return larg === Infinity ? Infinity : larg * sqrt(sum);\n }\n});","var nativeImul = Math.imul;\n\nvar FORCED = require('../internals/fails')(function () {\n return nativeImul(0xFFFFFFFF, 5) != -5 || nativeImul.length != 2;\n}); // `Math.imul` method\n// https://tc39.github.io/ecma262/#sec-math.imul\n// some WebKit versions fails with big numbers, some has wrong arity\n\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true,\n forced: FORCED\n}, {\n imul: function imul(x, y) {\n var UINT16 = 0xFFFF;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});","var log = Math.log;\nvar LOG10E = Math.LOG10E; // `Math.log10` method\n// https://tc39.github.io/ecma262/#sec-math.log10\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n log10: function log10(x) {\n return log(x) * LOG10E;\n }\n});","// `Math.log1p` method\n// https://tc39.github.io/ecma262/#sec-math.log1p\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n log1p: require('../internals/math-log1p')\n});","var log = Math.log;\nvar LN2 = Math.LN2; // `Math.log2` method\n// https://tc39.github.io/ecma262/#sec-math.log2\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n log2: function log2(x) {\n return log(x) / LN2;\n }\n});","// `Math.sign` method\n// https://tc39.github.io/ecma262/#sec-math.sign\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n sign: require('../internals/math-sign')\n});","var expm1 = require('../internals/math-expm1');\n\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\n\nvar FORCED = require('../internals/fails')(function () {\n return Math.sinh(-2e-17) != -2e-17;\n}); // `Math.sinh` method\n// https://tc39.github.io/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true,\n forced: FORCED\n}, {\n sinh: function sinh(x) {\n return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2);\n }\n});","var expm1 = require('../internals/math-expm1');\n\nvar exp = Math.exp; // `Math.tanh` method\n// https://tc39.github.io/ecma262/#sec-math.tanh\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n tanh: function tanh(x) {\n var a = expm1(x = +x);\n var b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});","var ceil = Math.ceil;\nvar floor = Math.floor; // `Math.trunc` method\n// https://tc39.github.io/ecma262/#sec-math.trunc\n\nrequire('../internals/export')({\n target: 'Math',\n stat: true\n}, {\n trunc: function trunc(it) {\n return (it > 0 ? floor : ceil)(it);\n }\n});","'use strict';\n\nvar global = require('../internals/global');\n\nvar isForced = require('../internals/is-forced');\n\nvar has = require('../internals/has');\n\nvar classof = require('../internals/classof-raw');\n\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar toPrimitive = require('../internals/to-primitive');\n\nvar fails = require('../internals/fails');\n\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar internalStringTrim = require('../internals/string-trim');\n\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype; // Opera ~12 has broken Object#toString\n\nvar BROKEN_CLASSOF = classof(require('../internals/object-create')(NumberPrototype)) == NUMBER;\nvar NATIVE_TRIM = 'trim' in String.prototype; // `ToNumber` abstract operation\n// https://tc39.github.io/ecma262/#sec-tonumber\n\nvar toNumber = function toNumber(argument) {\n var it = toPrimitive(argument, false);\n var first, third, radix, maxCode, digits, length, i, code;\n\n if (typeof it == 'string' && it.length > 2) {\n it = NATIVE_TRIM ? it.trim() : internalStringTrim(it, 3);\n first = it.charCodeAt(0);\n\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0b[01]+$/i\n\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n // fast equal of /^0o[0-7]+$/i\n\n default:\n return +it;\n }\n\n digits = it.slice(2);\n length = digits.length;\n\n for (i = 0; i < length; i++) {\n code = digits.charCodeAt(i); // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n\n if (code < 48 || code > maxCode) return NaN;\n }\n\n return parseInt(digits, radix);\n }\n }\n\n return +it;\n}; // `Number` constructor\n// https://tc39.github.io/ecma262/#sec-number-constructor\n\n\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof NumberWrapper // check on 1..constructor(foo) case\n && (BROKEN_CLASSOF ? fails(function () {\n NumberPrototype.valueOf.call(that);\n }) : classof(that) != NUMBER) ? inheritIfRequired(new NativeNumber(toNumber(it)), that, NumberWrapper) : toNumber(it);\n };\n\n for (var keys = require('../internals/descriptors') ? getOwnPropertyNames(NativeNumber) : ( // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger').split(','), j = 0, key; keys.length > j; j++) {\n if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n\n require('../internals/redefine')(global, NUMBER, NumberWrapper);\n}","// `Number.EPSILON` constant\n// https://tc39.github.io/ecma262/#sec-number.epsilon\nrequire('../internals/export')({\n target: 'Number',\n stat: true\n}, {\n EPSILON: Math.pow(2, -52)\n});","// `Number.isFinite` method\n// https://tc39.github.io/ecma262/#sec-number.isfinite\nrequire('../internals/export')({\n target: 'Number',\n stat: true\n}, {\n isFinite: require('../internals/number-is-finite')\n});","var globalIsFinite = require('../internals/global').isFinite; // `Number.isFinite` method\n// https://tc39.github.io/ecma262/#sec-number.isfinite\n\n\nmodule.exports = Number.isFinite || function isFinite(it) {\n return typeof it == 'number' && globalIsFinite(it);\n};","// `Number.isInteger` method\n// https://tc39.github.io/ecma262/#sec-number.isinteger\nrequire('../internals/export')({\n target: 'Number',\n stat: true\n}, {\n isInteger: require('../internals/is-integer')\n});","// `Number.isNaN` method\n// https://tc39.github.io/ecma262/#sec-number.isnan\nrequire('../internals/export')({\n target: 'Number',\n stat: true\n}, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare\n return number != number;\n }\n});","var isInteger = require('../internals/is-integer');\n\nvar abs = Math.abs; // `Number.isSafeInteger` method\n// https://tc39.github.io/ecma262/#sec-number.issafeinteger\n\nrequire('../internals/export')({\n target: 'Number',\n stat: true\n}, {\n isSafeInteger: function isSafeInteger(number) {\n return isInteger(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n }\n});","// `Number.MAX_SAFE_INTEGER` constant\n// https://tc39.github.io/ecma262/#sec-number.max_safe_integer\nrequire('../internals/export')({\n target: 'Number',\n stat: true\n}, {\n MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n});","// `Number.MIN_SAFE_INTEGER` constant\n// https://tc39.github.io/ecma262/#sec-number.min_safe_integer\nrequire('../internals/export')({\n target: 'Number',\n stat: true\n}, {\n MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n});","var parseFloat = require('../internals/parse-float'); // `Number.parseFloat` method\n// https://tc39.github.io/ecma262/#sec-number.parseFloat\n\n\nrequire('../internals/export')({\n target: 'Number',\n stat: true,\n forced: Number.parseFloat != parseFloat\n}, {\n parseFloat: parseFloat\n});","var parseInt = require('../internals/parse-int'); // `Number.parseInt` method\n// https://tc39.github.io/ecma262/#sec-number.parseint\n\n\nrequire('../internals/export')({\n target: 'Number',\n stat: true,\n forced: Number.parseInt != parseInt\n}, {\n parseInt: parseInt\n});","'use strict';\n\nvar toInteger = require('../internals/to-integer');\n\nvar thisNumberValue = require('../internals/this-number-value');\n\nvar repeat = require('../internals/string-repeat');\n\nvar nativeToFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\n\nvar multiply = function multiply(n, c) {\n var i = -1;\n var c2 = c;\n\n while (++i < 6) {\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\n\nvar divide = function divide(n) {\n var i = 6;\n var c = 0;\n\n while (--i >= 0) {\n c += data[i];\n data[i] = floor(c / n);\n c = c % n * 1e7;\n }\n};\n\nvar numToString = function numToString() {\n var i = 6;\n var s = '';\n\n while (--i >= 0) {\n if (s !== '' || i === 0 || data[i] !== 0) {\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t;\n }\n }\n\n return s;\n};\n\nvar pow = function pow(x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\n\nvar log = function log(x) {\n var n = 0;\n var x2 = x;\n\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n }\n\n return n;\n}; // `Number.prototype.toFixed` method\n// https://tc39.github.io/ecma262/#sec-number.prototype.tofixed\n\n\nrequire('../internals/export')({\n target: 'Number',\n proto: true,\n forced: nativeToFixed && (0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || 1000000000000000128.0.toFixed(0) !== '1000000000000000128') || !require('../internals/fails')(function () {\n // V8 ~ Android 4.3-\n nativeToFixed.call({});\n })\n}, {\n toFixed: function toFixed(fractionDigits) {\n var x = thisNumberValue(this);\n var f = toInteger(fractionDigits);\n var s = '';\n var m = '0';\n var e, z, j, k;\n if (f < 0 || f > 20) throw RangeError('Incorrect fraction digits'); // eslint-disable-next-line no-self-compare\n\n if (x != x) return 'NaN';\n if (x <= -1e21 || x >= 1e21) return String(x);\n\n if (x < 0) {\n s = '-';\n x = -x;\n }\n\n if (x > 1e-21) {\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n\n if (e > 0) {\n multiply(0, z);\n j = f;\n\n while (j >= 7) {\n multiply(1e7, 0);\n j -= 7;\n }\n\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n\n while (j >= 23) {\n divide(1 << 23);\n j -= 23;\n }\n\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call('0', f);\n }\n }\n\n if (f > 0) {\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call('0', f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n }\n\n return m;\n }\n});","'use strict';\n\nvar fails = require('../internals/fails');\n\nvar thisNumberValue = require('../internals/this-number-value');\n\nvar nativeToPrecision = 1.0.toPrecision; // `Number.prototype.toPrecision` method\n// https://tc39.github.io/ecma262/#sec-number.prototype.toprecision\n\nrequire('../internals/export')({\n target: 'Number',\n proto: true,\n forced: fails(function () {\n // IE7-\n return nativeToPrecision.call(1, undefined) !== '1';\n }) || !fails(function () {\n // V8 ~ Android 4.3-\n nativeToPrecision.call({});\n })\n}, {\n toPrecision: function toPrecision(precision) {\n return precision === undefined ? nativeToPrecision.call(thisNumberValue(this)) : nativeToPrecision.call(thisNumberValue(this), precision);\n }\n});","var assign = require('../internals/object-assign'); // `Object.assign` method\n// https://tc39.github.io/ecma262/#sec-object.assign\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: Object.assign !== assign\n}, {\n assign: assign\n});","'use strict';\n\nvar toObject = require('../internals/to-object');\n\nvar aFunction = require('../internals/a-function');\n\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar FORCED = require('../internals/forced-object-prototype-accessors-methods'); // `Object.prototype.__defineGetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__\n\n\nif (require('../internals/descriptors')) {\n require('../internals/export')({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __defineGetter__: function __defineGetter__(P, getter) {\n definePropertyModule.f(toObject(this), P, {\n get: aFunction(getter),\n enumerable: true,\n configurable: true\n });\n }\n });\n}","var DESCRIPTORS = require('../internals/descriptors'); // `Object.defineProperties` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperties\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: !DESCRIPTORS,\n sham: !DESCRIPTORS\n}, {\n defineProperties: require('../internals/object-define-properties')\n});","var DESCRIPTORS = require('../internals/descriptors'); // `Object.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-object.defineproperty\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: !DESCRIPTORS,\n sham: !DESCRIPTORS\n}, {\n defineProperty: require('../internals/object-define-property').f\n});","'use strict';\n\nvar toObject = require('../internals/to-object');\n\nvar aFunction = require('../internals/a-function');\n\nvar definePropertyModule = require('../internals/object-define-property');\n\nvar FORCED = require('../internals/forced-object-prototype-accessors-methods'); // `Object.prototype.__defineSetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__defineSetter__\n\n\nif (require('../internals/descriptors')) {\n require('../internals/export')({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __defineSetter__: function __defineSetter__(P, setter) {\n definePropertyModule.f(toObject(this), P, {\n set: aFunction(setter),\n enumerable: true,\n configurable: true\n });\n }\n });\n}","var objectToArray = require('../internals/object-to-array'); // `Object.entries` method\n// https://tc39.github.io/ecma262/#sec-object.entries\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true\n}, {\n entries: function entries(O) {\n return objectToArray(O, true);\n }\n});","var isObject = require('../internals/is-object');\n\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\nvar nativeFreeze = Object.freeze;\n\nvar FREEZING = require('../internals/freezing');\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeFreeze(1);\n}); // `Object.freeze` method\n// https://tc39.github.io/ecma262/#sec-object.freeze\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !FREEZING\n}, {\n freeze: function freeze(it) {\n return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it;\n }\n});","var iterate = require('../internals/iterate');\n\nvar createProperty = require('../internals/create-property'); // `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true\n}, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, undefined, true);\n return obj;\n }\n});","var toIndexedObject = require('../internals/to-indexed-object');\n\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeGetOwnPropertyDescriptor(1);\n});\n\nvar FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; // `Object.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FORCED,\n sham: !DESCRIPTORS\n}, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});","var DESCRIPTORS = require('../internals/descriptors');\n\nvar ownKeys = require('../internals/own-keys');\n\nvar toIndexedObject = require('../internals/to-indexed-object');\n\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\nvar createProperty = require('../internals/create-property'); // `Object.getOwnPropertyDescriptors` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n sham: !DESCRIPTORS\n}, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var i = 0;\n var key, descriptor;\n\n while (keys.length > i) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[i++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n\n return result;\n }\n});","var nativeGetOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n Object.getOwnPropertyNames(1);\n}); // `Object.getOwnPropertyNames` method\n// https://tc39.github.io/ecma262/#sec-object.getownpropertynames\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES\n}, {\n getOwnPropertyNames: nativeGetOwnPropertyNames\n});","var toObject = require('../internals/to-object');\n\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeGetPrototypeOf(1);\n}); // `Object.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.getprototypeof\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !CORRECT_PROTOTYPE_GETTER\n}, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});","// `Object.is` method\n// https://tc39.github.io/ecma262/#sec-object.is\nrequire('../internals/export')({\n target: 'Object',\n stat: true\n}, {\n is: require('../internals/same-value')\n});","var isObject = require('../internals/is-object');\n\nvar nativeIsExtensible = Object.isExtensible;\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeIsExtensible(1);\n}); // `Object.isExtensible` method\n// https://tc39.github.io/ecma262/#sec-object.isextensible\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES\n}, {\n isExtensible: function isExtensible(it) {\n return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false;\n }\n});","var isObject = require('../internals/is-object');\n\nvar nativeIsFrozen = Object.isFrozen;\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeIsFrozen(1);\n}); // `Object.isFrozen` method\n// https://tc39.github.io/ecma262/#sec-object.isfrozen\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES\n}, {\n isFrozen: function isFrozen(it) {\n return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true;\n }\n});","var isObject = require('../internals/is-object');\n\nvar nativeIsSealed = Object.isSealed;\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeIsSealed(1);\n}); // `Object.isSealed` method\n// https://tc39.github.io/ecma262/#sec-object.issealed\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES\n}, {\n isSealed: function isSealed(it) {\n return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true;\n }\n});","var toObject = require('../internals/to-object');\n\nvar nativeKeys = require('../internals/object-keys');\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeKeys(1);\n}); // `Object.keys` method\n// https://tc39.github.io/ecma262/#sec-object.keys\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES\n}, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});","'use strict';\n\nvar toObject = require('../internals/to-object');\n\nvar toPrimitive = require('../internals/to-primitive');\n\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\nvar FORCED = require('../internals/forced-object-prototype-accessors-methods'); // `Object.prototype.__lookupGetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__lookupGetter__\n\n\nif (require('../internals/descriptors')) {\n require('../internals/export')({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __lookupGetter__: function __lookupGetter__(P) {\n var O = toObject(this);\n var key = toPrimitive(P, true);\n var desc;\n\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;\n } while (O = getPrototypeOf(O));\n }\n });\n}","'use strict';\n\nvar toObject = require('../internals/to-object');\n\nvar toPrimitive = require('../internals/to-primitive');\n\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\nvar FORCED = require('../internals/forced-object-prototype-accessors-methods'); // `Object.prototype.__lookupSetter__` method\n// https://tc39.github.io/ecma262/#sec-object.prototype.__lookupSetter__\n\n\nif (require('../internals/descriptors')) {\n require('../internals/export')({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __lookupSetter__: function __lookupSetter__(P) {\n var O = toObject(this);\n var key = toPrimitive(P, true);\n var desc;\n\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;\n } while (O = getPrototypeOf(O));\n }\n });\n}","var isObject = require('../internals/is-object');\n\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\nvar nativePreventExtensions = Object.preventExtensions;\n\nvar FREEZING = require('../internals/freezing');\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativePreventExtensions(1);\n}); // `Object.preventExtensions` method\n// https://tc39.github.io/ecma262/#sec-object.preventextensions\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !FREEZING\n}, {\n preventExtensions: function preventExtensions(it) {\n return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it;\n }\n});","var isObject = require('../internals/is-object');\n\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\nvar nativeSeal = Object.seal;\n\nvar FREEZING = require('../internals/freezing');\n\nvar FAILS_ON_PRIMITIVES = require('../internals/fails')(function () {\n nativeSeal(1);\n}); // `Object.seal` method\n// https://tc39.github.io/ecma262/#sec-object.seal\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !FREEZING\n}, {\n seal: function seal(it) {\n return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it;\n }\n});","// `Object.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-object.setprototypeof\nrequire('../internals/export')({\n target: 'Object',\n stat: true\n}, {\n setPrototypeOf: require('../internals/object-set-prototype-of')\n});","var objectToArray = require('../internals/object-to-array'); // `Object.values` method\n// https://tc39.github.io/ecma262/#sec-object.values\n\n\nrequire('../internals/export')({\n target: 'Object',\n stat: true\n}, {\n values: function values(O) {\n return objectToArray(O);\n }\n});","var parseFloatImplementation = require('../internals/parse-float'); // `parseFloat` method\n// https://tc39.github.io/ecma262/#sec-parsefloat-string\n\n\nrequire('../internals/export')({\n global: true,\n forced: parseFloat != parseFloatImplementation\n}, {\n parseFloat: parseFloatImplementation\n});","var parseIntImplementation = require('../internals/parse-int'); // `parseInt` method\n// https://tc39.github.io/ecma262/#sec-parseint-string-radix\n\n\nrequire('../internals/export')({\n global: true,\n forced: parseInt != parseIntImplementation\n}, {\n parseInt: parseIntImplementation\n});","'use strict';\n\nvar PROMISE = 'Promise';\n\nvar IS_PURE = require('../internals/is-pure');\n\nvar global = require('../internals/global');\n\nvar $export = require('../internals/export');\n\nvar isObject = require('../internals/is-object');\n\nvar aFunction = require('../internals/a-function');\n\nvar anInstance = require('../internals/an-instance');\n\nvar classof = require('../internals/classof-raw');\n\nvar iterate = require('../internals/iterate');\n\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar task = require('../internals/task').set;\n\nvar microtask = require('../internals/microtask');\n\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar hostReportErrors = require('../internals/host-report-errors');\n\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar perform = require('../internals/perform');\n\nvar userAgent = require('../internals/user-agent');\n\nvar SPECIES = require('../internals/well-known-symbol')('species');\n\nvar InternalStateModule = require('../internals/internal-state');\n\nvar isForced = require('../internals/is-forced');\n\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar PromiseConstructor = global[PROMISE];\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar $fetch = global.fetch;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\nvar IS_NODE = classof(process) == 'process';\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar Internal, OwnPromiseCapability, PromiseWrapper;\nvar FORCED = isForced(PROMISE, function () {\n // correct subclassing with @@species support\n var promise = PromiseConstructor.resolve(1);\n\n var empty = function empty() {\n /* empty */\n };\n\n var FakePromise = (promise.constructor = {})[SPECIES] = function (exec) {\n exec(empty, empty);\n }; // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n\n\n return !((IS_NODE || typeof PromiseRejectionEvent == 'function') && (!IS_PURE || promise['finally']) && promise.then(empty) instanceof FakePromise // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // we can't detect it synchronously, so just check versions\n && v8.indexOf('6.6') !== 0 && userAgent.indexOf('Chrome/66') === -1);\n});\nvar INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) {\n PromiseConstructor.all(iterable)['catch'](function () {\n /* empty */\n });\n}); // helpers\n\nvar isThenable = function isThenable(it) {\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\n\nvar notify = function notify(promise, state, isReject) {\n if (state.notified) return;\n state.notified = true;\n var chain = state.reactions;\n microtask(function () {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var i = 0;\n\n var run = function run(reaction) {\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state);\n state.rejection = HANDLED;\n }\n\n if (handler === true) result = value;else {\n if (domain) domain.enter();\n result = handler(value); // may throw\n\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n };\n\n while (chain.length > i) {\n run(chain[i++]);\n } // variable length - can't use forEach\n\n\n state.reactions = [];\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(promise, state);\n });\n};\n\nvar dispatchEvent = function dispatchEvent(name, promise, reason) {\n var event, handler;\n\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = {\n promise: promise,\n reason: reason\n };\n\n if (handler = global['on' + name]) handler(event);else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function onUnhandled(promise, state) {\n task.call(global, function () {\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function isUnhandled(state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function onHandleUnhandled(promise, state) {\n task.call(global, function () {\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function bind(fn, promise, state, unwrap) {\n return function (value) {\n fn(promise, state, value, unwrap);\n };\n};\n\nvar internalReject = function internalReject(promise, state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(promise, state, true);\n};\n\nvar internalResolve = function internalResolve(promise, state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n\n try {\n if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n\n if (then) {\n microtask(function () {\n var wrapper = {\n done: false\n };\n\n try {\n then.call(value, bind(internalResolve, promise, wrapper, state), bind(internalReject, promise, wrapper, state));\n } catch (error) {\n internalReject(promise, wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(promise, state, false);\n }\n } catch (error) {\n internalReject(promise, {\n done: false\n }, error, state);\n }\n}; // constructor polyfill\n\n\nif (FORCED) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromiseConstructor, PROMISE);\n aFunction(executor);\n Internal.call(this);\n var state = getInternalState(this);\n\n try {\n executor(bind(internalResolve, this, state), bind(internalReject, this, state));\n } catch (error) {\n internalReject(this, state, error);\n }\n }; // eslint-disable-next-line no-unused-vars\n\n\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: [],\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n Internal.prototype = require('../internals/redefine-all')(PromiseConstructor.prototype, {\n // `Promise.prototype.then` method\n // https://tc39.github.io/ecma262/#sec-promise.prototype.then\n then: function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n state.parent = true;\n state.reactions.push(reaction);\n if (state.state != PENDING) notify(this, state, false);\n return reaction.promise;\n },\n // `Promise.prototype.catch` method\n // https://tc39.github.io/ecma262/#sec-promise.prototype.catch\n 'catch': function _catch(onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n\n OwnPromiseCapability = function OwnPromiseCapability() {\n var promise = new Internal();\n var state = getInternalState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, promise, state);\n this.reject = bind(internalReject, promise, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function newPromiseCapability(C) {\n return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);\n }; // wrap fetch result\n\n\n if (!IS_PURE && typeof $fetch == 'function') $export({\n global: true,\n enumerable: true,\n forced: true\n }, {\n // eslint-disable-next-line no-unused-vars\n fetch: function fetch(input) {\n return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments));\n }\n });\n}\n\n$export({\n global: true,\n wrap: true,\n forced: FORCED\n}, {\n Promise: PromiseConstructor\n});\n\nrequire('../internals/set-to-string-tag')(PromiseConstructor, PROMISE, false, true);\n\nrequire('../internals/set-species')(PROMISE);\n\nPromiseWrapper = require('../internals/path')[PROMISE]; // statics\n\n$export({\n target: PROMISE,\n stat: true,\n forced: FORCED\n}, {\n // `Promise.reject` method\n // https://tc39.github.io/ecma262/#sec-promise.reject\n reject: function reject(r) {\n var capability = newPromiseCapability(this);\n capability.reject.call(undefined, r);\n return capability.promise;\n }\n});\n$export({\n target: PROMISE,\n stat: true,\n forced: IS_PURE || FORCED\n}, {\n // `Promise.resolve` method\n // https://tc39.github.io/ecma262/#sec-promise.resolve\n resolve: function resolve(x) {\n return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x);\n }\n});\n$export({\n target: PROMISE,\n stat: true,\n forced: INCORRECT_ITERATION\n}, {\n // `Promise.all` method\n // https://tc39.github.io/ecma262/#sec-promise.all\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n },\n // `Promise.race` method\n // https://tc39.github.io/ecma262/#sec-promise.race\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapability(C);\n var reject = capability.reject;\n var result = perform(function () {\n iterate(iterable, function (promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n\n if (console && console.error) {\n arguments.length === 1 ? console.error(a) : console.error(a, b);\n }\n};","module.exports = function (exec) {\n try {\n return {\n error: false,\n value: exec()\n };\n } catch (error) {\n return {\n error: true,\n value: error\n };\n }\n};","'use strict';\n\nvar getBuiltIn = require('../internals/get-built-in');\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar promiseResolve = require('../internals/promise-resolve'); // `Promise.prototype.finally` method\n// https://tc39.github.io/ecma262/#sec-promise.prototype.finally\n\n\nrequire('../internals/export')({\n target: 'Promise',\n proto: true,\n real: true\n}, {\n 'finally': function _finally(onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = typeof onFinally == 'function';\n return this.then(isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () {\n return x;\n });\n } : onFinally, isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () {\n throw e;\n });\n } : onFinally);\n }\n});","var aFunction = require('../internals/a-function');\n\nvar anObject = require('../internals/an-object');\n\nvar nativeApply = (require('../internals/global').Reflect || {}).apply;\nvar functionApply = Function.apply; // MS Edge argumentsList argument is optional\n\nvar OPTIONAL_ARGUMENTS_LIST = !require('../internals/fails')(function () {\n nativeApply(function () {\n /* empty */\n });\n}); // `Reflect.apply` method\n// https://tc39.github.io/ecma262/#sec-reflect.apply\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true,\n forced: OPTIONAL_ARGUMENTS_LIST\n}, {\n apply: function apply(target, thisArgument, argumentsList) {\n aFunction(target);\n anObject(argumentsList);\n return nativeApply ? nativeApply(target, thisArgument, argumentsList) : functionApply.call(target, thisArgument, argumentsList);\n }\n});","var create = require('../internals/object-create');\n\nvar aFunction = require('../internals/a-function');\n\nvar anObject = require('../internals/an-object');\n\nvar isObject = require('../internals/is-object');\n\nvar fails = require('../internals/fails');\n\nvar bind = require('../internals/function-bind');\n\nvar nativeConstruct = (require('../internals/global').Reflect || {}).construct; // `Reflect.construct` method\n// https://tc39.github.io/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\n\nvar NEW_TARGET_BUG = fails(function () {\n function F() {\n /* empty */\n }\n\n return !(nativeConstruct(function () {\n /* empty */\n }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () {\n /* empty */\n });\n});\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true,\n forced: FORCED,\n sham: FORCED\n}, {\n construct: function construct(Target, args\n /* , newTarget */\n ) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0:\n return new Target();\n\n case 1:\n return new Target(args[0]);\n\n case 2:\n return new Target(args[0], args[1]);\n\n case 3:\n return new Target(args[0], args[1], args[2]);\n\n case 4:\n return new Target(args[0], args[1], args[2], args[3]);\n } // w/o altered newTarget, lot of arguments case\n\n\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n } // with altered newTarget, not support built-in constructors\n\n\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});","'use strict';\n\nvar aFunction = require('../internals/a-function');\n\nvar isObject = require('../internals/is-object');\n\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function construct(C, argsLength, args) {\n if (!(argsLength in factories)) {\n for (var list = [], i = 0; i < argsLength; i++) {\n list[i] = 'a[' + i + ']';\n } // eslint-disable-next-line no-new-func\n\n\n factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')');\n }\n\n return factories[argsLength](C, args);\n}; // `Function.prototype.bind` method implementation\n// https://tc39.github.io/ecma262/#sec-function.prototype.bind\n\n\nmodule.exports = Function.bind || function bind(that\n/* , ...args */\n) {\n var fn = aFunction(this);\n var partArgs = arraySlice.call(arguments, 1);\n\n var boundFunction = function bound()\n /* args... */\n {\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args);\n };\n\n if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype;\n return boundFunction;\n};","var definePropertyModule = require('../internals/object-define-property');\n\nvar anObject = require('../internals/an-object');\n\nvar toPrimitive = require('../internals/to-primitive');\n\nvar DESCRIPTORS = require('../internals/descriptors'); // MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n\n\nvar ERROR_INSTEAD_OF_FALSE = require('../internals/fails')(function () {\n // eslint-disable-next-line no-undef\n Reflect.defineProperty(definePropertyModule.f({}, 1, {\n value: 1\n }), 1, {\n value: 2\n });\n}); // `Reflect.defineProperty` method\n// https://tc39.github.io/ecma262/#sec-reflect.defineproperty\n\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true,\n forced: ERROR_INSTEAD_OF_FALSE,\n sham: !DESCRIPTORS\n}, {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n\n try {\n definePropertyModule.f(target, propertyKey, attributes);\n return true;\n } catch (error) {\n return false;\n }\n }\n});","var getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\nvar anObject = require('../internals/an-object'); // `Reflect.deleteProperty` method\n// https://tc39.github.io/ecma262/#sec-reflect.deleteproperty\n\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true\n}, {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n }\n});","var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar has = require('../internals/has');\n\nvar isObject = require('../internals/is-object');\n\nvar anObject = require('../internals/an-object'); // `Reflect.get` method\n// https://tc39.github.io/ecma262/#sec-reflect.get\n\n\nfunction get(target, propertyKey\n/* , receiver */\n) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value') ? descriptor.value : descriptor.get === undefined ? undefined : descriptor.get.call(receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true\n}, {\n get: get\n});","var getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\nvar anObject = require('../internals/an-object');\n\nvar DESCRIPTORS = require('../internals/descriptors'); // `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor\n\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true,\n sham: !DESCRIPTORS\n}, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n }\n});","var objectGetPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar anObject = require('../internals/an-object');\n\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter'); // `Reflect.getPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-reflect.getprototypeof\n\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true,\n sham: !CORRECT_PROTOTYPE_GETTER\n}, {\n getPrototypeOf: function getPrototypeOf(target) {\n return objectGetPrototypeOf(anObject(target));\n }\n});","// `Reflect.has` method\n// https://tc39.github.io/ecma262/#sec-reflect.has\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true\n}, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});","var anObject = require('../internals/an-object');\n\nvar objectIsExtensible = Object.isExtensible; // `Reflect.isExtensible` method\n// https://tc39.github.io/ecma262/#sec-reflect.isextensible\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true\n}, {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return objectIsExtensible ? objectIsExtensible(target) : true;\n }\n});","// `Reflect.ownKeys` method\n// https://tc39.github.io/ecma262/#sec-reflect.ownkeys\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true\n}, {\n ownKeys: require('../internals/own-keys')\n});","var getBuiltIn = require('../internals/get-built-in');\n\nvar anObject = require('../internals/an-object');\n\nvar FREEZING = require('../internals/freezing'); // `Reflect.preventExtensions` method\n// https://tc39.github.io/ecma262/#sec-reflect.preventextensions\n\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true,\n sham: !FREEZING\n}, {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n\n try {\n var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n if (objectPreventExtensions) objectPreventExtensions(target);\n return true;\n } catch (error) {\n return false;\n }\n }\n});","var definePropertyModule = require('../internals/object-define-property');\n\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\nvar has = require('../internals/has');\n\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nvar anObject = require('../internals/an-object');\n\nvar isObject = require('../internals/is-object'); // `Reflect.set` method\n// https://tc39.github.io/ecma262/#sec-reflect.set\n\n\nfunction set(target, propertyKey, V\n/* , receiver */\n) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n var existingDescriptor, prototype;\n\n if (!ownDescriptor) {\n if (isObject(prototype = getPrototypeOf(target))) {\n return set(prototype, propertyKey, V, receiver);\n }\n\n ownDescriptor = createPropertyDescriptor(0);\n }\n\n if (has(ownDescriptor, 'value')) {\n if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n\n if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n\n return true;\n }\n\n return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true);\n}\n\nrequire('../internals/export')({\n target: 'Reflect',\n stat: true\n}, {\n set: set\n});","var objectSetPrototypeOf = require('../internals/object-set-prototype-of');\n\nvar validateSetPrototypeOfArguments = require('../internals/validate-set-prototype-of-arguments'); // `Reflect.setPrototypeOf` method\n// https://tc39.github.io/ecma262/#sec-reflect.setprototypeof\n\n\nif (objectSetPrototypeOf) require('../internals/export')({\n target: 'Reflect',\n stat: true\n}, {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n validateSetPrototypeOfArguments(target, proto);\n\n try {\n objectSetPrototypeOf(target, proto);\n return true;\n } catch (error) {\n return false;\n }\n }\n});","var DESCRIPTORS = require('../internals/descriptors');\n\nvar MATCH = require('../internals/well-known-symbol')('match');\n\nvar global = require('../internals/global');\n\nvar isForced = require('../internals/is-forced');\n\nvar inheritIfRequired = require('../internals/inherit-if-required');\n\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\n\nvar isRegExp = require('../internals/is-regexp');\n\nvar getFlags = require('../internals/regexp-flags');\n\nvar redefine = require('../internals/redefine');\n\nvar fails = require('../internals/fails');\n\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g; // \"new\" should create a new object, old webkit bug\n\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\nvar FORCED = isForced('RegExp', DESCRIPTORS && (!CORRECT_NEW || fails(function () {\n re2[MATCH] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match\n\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n}))); // `RegExp` constructor\n// https://tc39.github.io/ecma262/#sec-regexp-constructor\n\nif (FORCED) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = this instanceof RegExpWrapper;\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n return !thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined ? pattern : inheritIfRequired(CORRECT_NEW ? new NativeRegExp(patternIsRegExp && !flagsAreUndefined ? pattern.source : pattern, flags) : NativeRegExp((patternIsRegExp = pattern instanceof RegExpWrapper) ? pattern.source : pattern, patternIsRegExp && flagsAreUndefined ? getFlags.call(pattern) : flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);\n };\n\n var proxy = function proxy(key) {\n key in RegExpWrapper || defineProperty(RegExpWrapper, key, {\n configurable: true,\n get: function get() {\n return NativeRegExp[key];\n },\n set: function set(it) {\n NativeRegExp[key] = it;\n }\n });\n };\n\n var keys = getOwnPropertyNames(NativeRegExp);\n var i = 0;\n\n while (i < keys.length) {\n proxy(keys[i++]);\n }\n\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n redefine(global, 'RegExp', RegExpWrapper);\n} // https://tc39.github.io/ecma262/#sec-get-regexp-@@species\n\n\nrequire('../internals/set-species')('RegExp');","'use strict';\n\nvar regexpExec = require('../internals/regexp-exec');\n\nrequire('../internals/export')({\n target: 'RegExp',\n proto: true,\n forced: /./.exec !== regexpExec\n}, {\n exec: regexpExec\n});","// `RegExp.prototype.flags` getter\n// https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags\nif (require('../internals/descriptors') && /./g.flags != 'g') {\n require('../internals/object-define-property').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('../internals/regexp-flags')\n });\n}","'use strict';\n\nvar anObject = require('../internals/an-object');\n\nvar fails = require('../internals/fails');\n\nvar flags = require('../internals/regexp-flags');\n\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar TO_STRING = 'toString';\nvar nativeToString = /./[TO_STRING];\nvar NOT_GENERIC = fails(function () {\n return nativeToString.call({\n source: 'a',\n flags: 'b'\n }) != '/a/b';\n}); // FF44- RegExp#toString has a wrong name\n\nvar INCORRECT_NAME = nativeToString.name != TO_STRING; // `RegExp.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring\n\nif (NOT_GENERIC || INCORRECT_NAME) {\n require('../internals/redefine')(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n return '/'.concat(R.source, '/', 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? flags.call(R) : undefined);\n }, {\n unsafe: true\n });\n}","'use strict'; // `Set` constructor\n// https://tc39.github.io/ecma262/#sec-set-objects\n\nmodule.exports = require('../internals/collection')('Set', function (get) {\n return function Set() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}, require('../internals/collection-strong'));","'use strict';\n\nvar internalCodePointAt = require('../internals/string-at'); // `String.prototype.codePointAt` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.codepointat\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true\n}, {\n codePointAt: function codePointAt(pos) {\n return internalCodePointAt(this, pos);\n }\n});","'use strict';\n\nvar toLength = require('../internals/to-length');\n\nvar validateArguments = require('../internals/validate-string-method-arguments');\n\nvar ENDS_WITH = 'endsWith';\nvar nativeEndsWith = ''[ENDS_WITH];\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = require('../internals/correct-is-regexp-logic')(ENDS_WITH); // `String.prototype.endsWith` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.endswith\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: !CORRECT_IS_REGEXP_LOGIC\n}, {\n endsWith: function endsWith(searchString\n /* , endPosition = @length */\n ) {\n var that = validateArguments(this, searchString, ENDS_WITH);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = toLength(that.length);\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = String(searchString);\n return nativeEndsWith ? nativeEndsWith.call(that, search, end) : that.slice(end - search.length, end) === search;\n }\n});","var toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar fromCharCode = String.fromCharCode;\nvar nativeFromCodePoint = String.fromCodePoint; // length should be 1, old FF problem\n\nvar INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1; // `String.fromCodePoint` method\n// https://tc39.github.io/ecma262/#sec-string.fromcodepoint\n\nrequire('../internals/export')({\n target: 'String',\n stat: true,\n forced: INCORRECT_LENGTH\n}, {\n fromCodePoint: function fromCodePoint(x) {\n // eslint-disable-line no-unused-vars\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point');\n elements.push(code < 0x10000 ? fromCharCode(code) : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00));\n }\n\n return elements.join('');\n }\n});","'use strict';\n\nvar validateArguments = require('../internals/validate-string-method-arguments');\n\nvar INCLUDES = 'includes';\n\nvar CORRECT_IS_REGEXP_LOGIC = require('../internals/correct-is-regexp-logic')(INCLUDES); // `String.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.includes\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: !CORRECT_IS_REGEXP_LOGIC\n}, {\n includes: function includes(searchString\n /* , position = 0 */\n ) {\n return !!~validateArguments(this, searchString, INCLUDES).indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});","'use strict';\n\nvar anObject = require('../internals/an-object');\n\nvar toLength = require('../internals/to-length');\n\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar advanceStringIndex = require('../internals/advance-string-index');\n\nvar regExpExec = require('../internals/regexp-exec-abstract'); // @@match logic\n\n\nrequire('../internals/fix-regexp-well-known-symbol-logic')('match', 1, function (MATCH, nativeMatch, maybeCallNative) {\n return [// `String.prototype.match` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : regexp[MATCH];\n return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n }, // `RegExp.prototype[@@match]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n function (regexp) {\n var res = maybeCallNative(nativeMatch, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = String(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n\n return n === 0 ? null : A;\n }];\n});","'use strict';\n\nvar internalStringPad = require('../internals/string-pad');\n\nvar WEBKIT_BUG = require('../internals/webkit-string-pad-bug'); // `String.prototype.padEnd` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.padend\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: WEBKIT_BUG\n}, {\n padEnd: function padEnd(maxLength\n /* , fillString = ' ' */\n ) {\n return internalStringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});","'use strict';\n\nvar internalStringPad = require('../internals/string-pad');\n\nvar WEBKIT_BUG = require('../internals/webkit-string-pad-bug'); // `String.prototype.padStart` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.padstart\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: WEBKIT_BUG\n}, {\n padStart: function padStart(maxLength\n /* , fillString = ' ' */\n ) {\n return internalStringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});","var toIndexedObject = require('../internals/to-indexed-object');\n\nvar toLength = require('../internals/to-length'); // `String.raw` method\n// https://tc39.github.io/ecma262/#sec-string.raw\n\n\nrequire('../internals/export')({\n target: 'String',\n stat: true\n}, {\n raw: function raw(template) {\n var rawTemplate = toIndexedObject(template.raw);\n var literalSegments = toLength(rawTemplate.length);\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n\n while (literalSegments > i) {\n elements.push(String(rawTemplate[i++]));\n if (i < argumentsLength) elements.push(String(arguments[i]));\n }\n\n return elements.join('');\n }\n});","// `String.prototype.repeat` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.repeat\nrequire('../internals/export')({\n target: 'String',\n proto: true\n}, {\n repeat: require('../internals/string-repeat')\n});","'use strict';\n\nvar anObject = require('../internals/an-object');\n\nvar toObject = require('../internals/to-object');\n\nvar toLength = require('../internals/to-length');\n\nvar toInteger = require('../internals/to-integer');\n\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar advanceStringIndex = require('../internals/advance-string-index');\n\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function maybeToString(it) {\n return it === undefined ? it : String(it);\n}; // @@replace logic\n\n\nrequire('../internals/fix-regexp-well-known-symbol-logic')('replace', 2, function (REPLACE, nativeReplace, maybeCallNative) {\n return [// `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : searchValue[REPLACE];\n return replacer !== undefined ? replacer.call(searchValue, O, replaceValue) : nativeReplace.call(String(O), searchValue, replaceValue);\n }, // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative(nativeReplace, regexp, this, replaceValue);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n\n var results = [];\n\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = []; // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n\n for (var j = 1; j < result.length; j++) {\n captures.push(maybeToString(result[j]));\n }\n\n var namedCaptures = result.groups;\n\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n\n return accumulatedResult + S.slice(nextSourcePosition);\n }]; // https://tc39.github.io/ecma262/#sec-getsubstitution\n\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n\n return nativeReplace.call(replacement, symbols, function (match, ch) {\n var capture;\n\n switch (ch.charAt(0)) {\n case '$':\n return '$';\n\n case '&':\n return matched;\n\n case '`':\n return str.slice(0, position);\n\n case \"'\":\n return str.slice(tailPos);\n\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n\n default:\n // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n\n capture = captures[n - 1];\n }\n\n return capture === undefined ? '' : capture;\n });\n }\n});","'use strict';\n\nvar anObject = require('../internals/an-object');\n\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar sameValue = require('../internals/same-value');\n\nvar regExpExec = require('../internals/regexp-exec-abstract'); // @@search logic\n\n\nrequire('../internals/fix-regexp-well-known-symbol-logic')('search', 1, function (SEARCH, nativeSearch, maybeCallNative) {\n return [// `String.prototype.search` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : regexp[SEARCH];\n return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n }, // `RegExp.prototype[@@search]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n function (regexp) {\n var res = maybeCallNative(nativeSearch, regexp, this);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }];\n});","'use strict';\n\nvar isRegExp = require('../internals/is-regexp');\n\nvar anObject = require('../internals/an-object');\n\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar advanceStringIndex = require('../internals/advance-string-index');\n\nvar toLength = require('../internals/to-length');\n\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\n\nvar regexpExec = require('../internals/regexp-exec');\n\nvar fails = require('../internals/fails');\n\nvar arrayPush = [].push;\nvar min = Math.min;\nvar MAX_UINT32 = 0xFFFFFFFF; // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\n\nvar SUPPORTS_Y = !fails(function () {\n return !RegExp(MAX_UINT32, 'y');\n}); // @@split logic\n\nrequire('../internals/fix-regexp-well-known-symbol-logic')('split', 2, function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n\n if ('abbc'.split(/(b)*/)[1] == 'c' || 'test'.split(/(?:)/, -1).length != 4 || 'ab'.split(/(?:ab)*/).length != 2 || '.'.split(/(.?)(.?)/).length != 4 || '.'.split(/()()/).length > 1 || ''.split(/.?/).length) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function internalSplit(separator, limit) {\n var string = String(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string]; // If `separator` is not a regex, use native split\n\n if (!isRegExp(separator)) {\n return nativeSplit.call(string, separator, lim);\n }\n\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : '');\n var lastLastIndex = 0; // Make `global` and avoid `lastIndex` issues by working with a copy\n\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n\n while (match = regexpExec.call(separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n\n if (lastIndex > lastLastIndex) {\n output.push(string.slice(lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n\n if (lastLastIndex === string.length) {\n if (lastLength || !separatorCopy.test('')) output.push('');\n } else output.push(string.slice(lastLastIndex));\n\n return output.length > lim ? output.slice(0, lim) : output;\n }; // Chakra, V8\n\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function internalSplit(separator, limit) {\n return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [// `String.prototype.split` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : separator[SPLIT];\n return splitter !== undefined ? splitter.call(separator, O, limit) : internalSplit.call(String(O), separator, limit);\n }, // `RegExp.prototype[@@split]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (regexp, limit) {\n var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var C = speciesConstructor(rx, RegExp);\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + (SUPPORTS_Y ? 'y' : 'g'); // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n\n var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n\n while (q < S.length) {\n splitter.lastIndex = SUPPORTS_Y ? q : 0;\n var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n var e;\n\n if (z === null || (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n A.push(S.slice(p, q));\n if (A.length === lim) return A;\n\n for (var i = 1; i <= z.length - 1; i++) {\n A.push(z[i]);\n if (A.length === lim) return A;\n }\n\n q = p = e;\n }\n }\n\n A.push(S.slice(p));\n return A;\n }];\n}, !SUPPORTS_Y);","'use strict';\n\nvar toLength = require('../internals/to-length');\n\nvar validateArguments = require('../internals/validate-string-method-arguments');\n\nvar STARTS_WITH = 'startsWith';\n\nvar CORRECT_IS_REGEXP_LOGIC = require('../internals/correct-is-regexp-logic')(STARTS_WITH);\n\nvar nativeStartsWith = ''[STARTS_WITH]; // `String.prototype.startsWith` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.startswith\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: !CORRECT_IS_REGEXP_LOGIC\n}, {\n startsWith: function startsWith(searchString\n /* , position = 0 */\n ) {\n var that = validateArguments(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return nativeStartsWith ? nativeStartsWith.call(that, search, index) : that.slice(index, index + search.length) === search;\n }\n});","'use strict';\n\nvar internalStringTrim = require('../internals/string-trim');\n\nvar FORCED = require('../internals/forced-string-trim-method')('trim'); // `String.prototype.trim` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.trim\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n trim: function trim() {\n return internalStringTrim(this, 3);\n }\n});","'use strict';\n\nvar internalStringTrim = require('../internals/string-trim');\n\nvar FORCED = require('../internals/forced-string-trim-method')('trimEnd');\n\nvar trimEnd = FORCED ? function trimEnd() {\n return internalStringTrim(this, 2);\n} : ''.trimEnd; // `String.prototype.{ trimEnd, trimRight }` methods\n// https://github.com/tc39/ecmascript-string-left-right-trim\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n trimEnd: trimEnd,\n trimRight: trimEnd\n});","'use strict';\n\nvar internalStringTrim = require('../internals/string-trim');\n\nvar FORCED = require('../internals/forced-string-trim-method')('trimStart');\n\nvar trimStart = FORCED ? function trimStart() {\n return internalStringTrim(this, 1);\n} : ''.trimStart; // `String.prototype.{ trimStart, trimLeft }` methods\n// https://github.com/tc39/ecmascript-string-left-right-trim\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n trimStart: trimStart,\n trimLeft: trimStart\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('anchor'); // `String.prototype.anchor` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.anchor\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('big'); // `String.prototype.big` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.big\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('blink'); // `String.prototype.blink` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.blink\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n blink: function blink() {\n return createHTML(this, 'blink', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('bold'); // `String.prototype.bold` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.bold\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n bold: function bold() {\n return createHTML(this, 'b', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('fixed'); // `String.prototype.fixed` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.fixed\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n fixed: function fixed() {\n return createHTML(this, 'tt', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('fontcolor'); // `String.prototype.fontcolor` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n fontcolor: function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('fontsize'); // `String.prototype.fontsize` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.fontsize\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n fontsize: function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('italics'); // `String.prototype.italics` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.italics\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n italics: function italics() {\n return createHTML(this, 'i', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('link'); // `String.prototype.link` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.link\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('small'); // `String.prototype.small` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.small\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('strike'); // `String.prototype.strike` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.strike\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n strike: function strike() {\n return createHTML(this, 'strike', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('sub'); // `String.prototype.sub` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.sub\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n sub: function sub() {\n return createHTML(this, 'sub', '', '');\n }\n});","'use strict';\n\nvar createHTML = require('../internals/create-html');\n\nvar FORCED = require('../internals/forced-string-html-method')('sup'); // `String.prototype.sup` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.sup\n\n\nrequire('../internals/export')({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n sup: function sup() {\n return createHTML(this, 'sup', '', '');\n }\n});","// `Float32Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Float32', 4, function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","// `Float64Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Float64', 8, function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","// `Int8Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Int8', 1, function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","// `Int16Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Int16', 2, function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","// `Int32Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Int32', 4, function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","// `Uint8Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Uint8', 1, function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","// `Uint8ClampedArray` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Uint8', 1, function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);","// `Uint16Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Uint16', 2, function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","// `Uint32Array` constructor\n// https://tc39.github.io/ecma262/#sec-typedarray-objects\nrequire('../internals/typed-array-constructor')('Uint32', 4, function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});","'use strict';\n\nvar arrayCopyWithin = require('../internals/array-copy-within');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.copyWithin` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.copywithin\n\nArrayBufferViewCore.exportProto('copyWithin', function copyWithin(target, start\n/* , end */\n) {\n return arrayCopyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});","'use strict';\n\nvar arrayEvery = require('../internals/array-methods')(4);\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.every` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.every\n\nArrayBufferViewCore.exportProto('every', function every(callbackfn\n/* , thisArg */\n) {\n return arrayEvery(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar arrayFill = require('../internals/array-fill');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.fill` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.fill\n// eslint-disable-next-line no-unused-vars\n\nArrayBufferViewCore.exportProto('fill', function fill(value\n/* , start, end */\n) {\n return arrayFill.apply(aTypedArray(this), arguments);\n});","'use strict';\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar arrayFilter = require('../internals/array-methods')(2);\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; // `%TypedArray%.prototype.filter` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.filter\n\nArrayBufferViewCore.exportProto('filter', function filter(callbackfn\n/* , thisArg */\n) {\n var list = arrayFilter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var C = speciesConstructor(this, this.constructor);\n var index = 0;\n var length = list.length;\n var result = new (aTypedArrayConstructor(C))(length);\n\n while (length > index) {\n result[index] = list[index++];\n }\n\n return result;\n});","'use strict';\n\nvar arrayFind = require('../internals/array-methods')(5);\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.find` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.find\n\nArrayBufferViewCore.exportProto('find', function find(predicate\n/* , thisArg */\n) {\n return arrayFind(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar arrayFindIndex = require('../internals/array-methods')(6);\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.findindex\n\nArrayBufferViewCore.exportProto('findIndex', function findIndex(predicate\n/* , thisArg */\n) {\n return arrayFindIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar arrayForEach = require('../internals/array-methods')(0);\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.forEach` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.foreach\n\nArrayBufferViewCore.exportProto('forEach', function forEach(callbackfn\n/* , thisArg */\n) {\n arrayForEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-arrays-constructors-requires-wrappers');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar typedArrayFrom = require('../internals/typed-array-from'); // `%TypedArray%.from` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.from\n\n\nArrayBufferViewCore.exportStatic('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);","'use strict';\n\nvar arrayIncludes = require('../internals/array-includes')(true);\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.includes` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.includes\n\nArrayBufferViewCore.exportProto('includes', function includes(searchElement\n/* , fromIndex */\n) {\n return arrayIncludes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar arrayIndexOf = require('../internals/array-includes')(false);\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.indexOf` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.indexof\n\nArrayBufferViewCore.exportProto('indexOf', function indexOf(searchElement\n/* , fromIndex */\n) {\n return arrayIndexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar ArrayIterators = require('../modules/es.array.iterator');\n\nvar Uint8Array = require('../internals/global').Uint8Array;\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar ITERATOR = require('../internals/well-known-symbol')('iterator');\n\nvar arrayValues = ArrayIterators.values;\nvar arrayKeys = ArrayIterators.keys;\nvar arrayEntries = ArrayIterators.entries;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportProto = ArrayBufferViewCore.exportProto;\nvar nativeTypedArrayIterator = Uint8Array && Uint8Array.prototype[ITERATOR];\nvar CORRECT_ITER_NAME = !!nativeTypedArrayIterator && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined);\n\nvar typedArrayValues = function values() {\n return arrayValues.call(aTypedArray(this));\n}; // `%TypedArray%.prototype.entries` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.entries\n\n\nexportProto('entries', function entries() {\n return arrayEntries.call(aTypedArray(this));\n}); // `%TypedArray%.prototype.keys` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.keys\n\nexportProto('keys', function keys() {\n return arrayKeys.call(aTypedArray(this));\n}); // `%TypedArray%.prototype.values` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.values\n\nexportProto('values', typedArrayValues, !CORRECT_ITER_NAME); // `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype-@@iterator\n\nexportProto(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME);","'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar arrayJoin = [].join; // `%TypedArray%.prototype.join` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.join\n// eslint-disable-next-line no-unused-vars\n\nArrayBufferViewCore.exportProto('join', function join(separator) {\n return arrayJoin.apply(aTypedArray(this), arguments);\n});","'use strict';\n\nvar arrayLastIndexOf = require('../internals/array-last-index-of');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.lastindexof\n// eslint-disable-next-line no-unused-vars\n\nArrayBufferViewCore.exportProto('lastIndexOf', function lastIndexOf(searchElement\n/* , fromIndex */\n) {\n return arrayLastIndexOf.apply(aTypedArray(this), arguments);\n});","'use strict';\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\n\nvar internalTypedArrayMap = require('../internals/array-methods')(1, function (O, length) {\n return new (aTypedArrayConstructor(speciesConstructor(O, O.constructor)))(length);\n}); // `%TypedArray%.prototype.map` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.map\n\n\nArrayBufferViewCore.exportProto('map', function map(mapfn\n/* , thisArg */\n) {\n return internalTypedArrayMap(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-arrays-constructors-requires-wrappers');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; // `%TypedArray%.of` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.of\n\nArrayBufferViewCore.exportStatic('of', function of()\n/* ...items */\n{\n var index = 0;\n var length = arguments.length;\n var result = new (aTypedArrayConstructor(this))(length);\n\n while (length > index) {\n result[index] = arguments[index++];\n }\n\n return result;\n}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);","'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar arrayReduce = [].reduce; // `%TypedArray%.prototype.reduce` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduce\n// eslint-disable-next-line no-unused-vars\n\nArrayBufferViewCore.exportProto('reduce', function reduce(callbackfn\n/* , initialValue */\n) {\n return arrayReduce.apply(aTypedArray(this), arguments);\n});","'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar arrayReduceRight = [].reduceRight; // `%TypedArray%.prototype.reduceRicht` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduceright\n// eslint-disable-next-line no-unused-vars\n\nArrayBufferViewCore.exportProto('reduceRight', function reduceRight(callbackfn\n/* , initialValue */\n) {\n return arrayReduceRight.apply(aTypedArray(this), arguments);\n});","'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.reverse` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reverse\n\nArrayBufferViewCore.exportProto('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = Math.floor(length / 2);\n var index = 0;\n var value;\n\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n }\n\n return that;\n});","'use strict';\n\nvar toLength = require('../internals/to-length');\n\nvar toOffset = require('../internals/to-offset');\n\nvar toObject = require('../internals/to-object');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\n\nvar FORCED = require('../internals/fails')(function () {\n // eslint-disable-next-line no-undef\n new Int8Array(1).set({});\n}); // `%TypedArray%.prototype.set` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.set\n\n\nArrayBufferViewCore.exportProto('set', function set(arrayLike\n/* , offset */\n) {\n aTypedArray(this);\n var offset = toOffset(arguments[1], 1);\n var length = this.length;\n var src = toObject(arrayLike);\n var len = toLength(src.length);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n\n while (index < len) {\n this[offset + index] = src[index++];\n }\n}, FORCED);","'use strict';\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar arraySlice = [].slice;\n\nvar FORCED = require('../internals/fails')(function () {\n // eslint-disable-next-line no-undef\n new Int8Array(1).slice();\n}); // `%TypedArray%.prototype.slice` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.slice\n\n\nArrayBufferViewCore.exportProto('slice', function slice(start, end) {\n var list = arraySlice.call(aTypedArray(this), start, end);\n var C = speciesConstructor(this, this.constructor);\n var index = 0;\n var length = list.length;\n var result = new (aTypedArrayConstructor(C))(length);\n\n while (length > index) {\n result[index] = list[index++];\n }\n\n return result;\n}, FORCED);","'use strict';\n\nvar arraySome = require('../internals/array-methods')(3);\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.some` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.some\n\nArrayBufferViewCore.exportProto('some', function some(callbackfn\n/* , thisArg */\n) {\n return arraySome(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});","'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar arraySort = [].sort; // `%TypedArray%.prototype.sort` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.sort\n\nArrayBufferViewCore.exportProto('sort', function sort(comparefn) {\n return arraySort.call(aTypedArray(this), comparefn);\n});","'use strict';\n\nvar toLength = require('../internals/to-length');\n\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\n\nvar speciesConstructor = require('../internals/species-constructor');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray; // `%TypedArray%.prototype.subarray` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.subarray\n\nArrayBufferViewCore.exportProto('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n return new (speciesConstructor(O, O.constructor))(O.buffer, O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex));\n});","'use strict';\n\nvar Int8Array = require('../internals/global').Int8Array;\n\nvar fails = require('../internals/fails');\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar arrayToLocaleString = [].toLocaleString;\nvar arraySlice = [].slice; // iOS Safari 6.x fails here\n\nvar TO_LOCALE_BUG = !!Int8Array && fails(function () {\n arrayToLocaleString.call(new Int8Array(1));\n});\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n}); // `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tolocalestring\n\nArrayBufferViewCore.exportProto('toLocaleString', function toLocaleString() {\n return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(aTypedArray(this)) : aTypedArray(this), arguments);\n}, FORCED);","'use strict';\n\nvar Uint8Array = require('../internals/global').Uint8Array;\n\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype;\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\n\nvar arrayToString = [].toString;\nvar arrayJoin = [].join;\n\nif (require('../internals/fails')(function () {\n arrayToString.call({});\n})) {\n arrayToString = function toString() {\n return arrayJoin.call(this);\n };\n} // `%TypedArray%.prototype.toString` method\n// https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tostring\n\n\nArrayBufferViewCore.exportProto('toString', arrayToString, (Uint8ArrayPrototype || {}).toString != arrayToString);","'use strict';\n\nvar global = require('../internals/global');\n\nvar redefineAll = require('../internals/redefine-all');\n\nvar InternalMetadataModule = require('../internals/internal-metadata');\n\nvar weak = require('../internals/collection-weak');\n\nvar isObject = require('../internals/is-object');\n\nvar enforceIternalState = require('../internals/internal-state').enforce;\n\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\n\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar isExtensible = Object.isExtensible;\nvar InternalWeakMap;\n\nvar wrapper = function wrapper(get) {\n return function WeakMap() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}; // `WeakMap` constructor\n// https://tc39.github.io/ecma262/#sec-weakmap-constructor\n\n\nvar $WeakMap = module.exports = require('../internals/collection')('WeakMap', wrapper, weak, true, true); // IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\n\n\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalWeakMap = weak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.REQUIRED = true;\n var WeakMapPrototype = $WeakMap.prototype;\n var nativeDelete = WeakMapPrototype['delete'];\n var nativeHas = WeakMapPrototype.has;\n var nativeGet = WeakMapPrototype.get;\n var nativeSet = WeakMapPrototype.set;\n redefineAll(WeakMapPrototype, {\n 'delete': function _delete(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete.call(this, key) || state.frozen['delete'](key);\n }\n\n return nativeDelete.call(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas.call(this, key) || state.frozen.has(key);\n }\n\n return nativeHas.call(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key);\n }\n\n return nativeGet.call(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceIternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value);\n } else nativeSet.call(this, key, value);\n\n return this;\n }\n });\n}","'use strict'; // `WeakSet` constructor\n// https://tc39.github.io/ecma262/#sec-weakset-constructor\n\nrequire('../internals/collection')('WeakSet', function (get) {\n return function WeakSet() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}, require('../internals/collection-weak'), false, true);","var DOMIterables = require('../internals/dom-iterables');\n\nvar forEach = require('../internals/array-for-each');\n\nvar hide = require('../internals/hide');\n\nvar global = require('../internals/global');\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype; // some Chrome versions have non-configurable methods on DOMTokenList\n\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n hide(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n}","var DOMIterables = require('../internals/dom-iterables');\n\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\n\nvar global = require('../internals/global');\n\nvar hide = require('../internals/hide');\n\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\n\nfor (var COLLECTION_NAME in DOMIterables) {\n var Collection = global[COLLECTION_NAME];\n var CollectionPrototype = Collection && Collection.prototype;\n\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n hide(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) hide(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n hide(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n}","var global = require('../internals/global');\n\nvar task = require('../internals/task');\n\nvar FORCED = !global.setImmediate || !global.clearImmediate;\n\nrequire('../internals/export')({\n global: true,\n bind: true,\n enumerable: true,\n forced: FORCED\n}, {\n setImmediate: task.set,\n clearImmediate: task.clear\n});","// `queueMicrotask` method\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\nvar microtask = require('../internals/microtask');\n\nvar process = require('../internals/global').process;\n\nvar isNode = require('../internals/classof-raw')(process) == 'process';\n\nrequire('../internals/export')({\n global: true,\n enumerable: true,\n noTargetGet: true\n}, {\n queueMicrotask: function queueMicrotask(fn) {\n var domain = isNode && process.domain;\n microtask(domain ? domain.bind(fn) : fn);\n }\n});","'use strict';\n\nrequire('../modules/es.string.iterator');\n\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar USE_NATIVE_URL = require('../internals/native-url');\n\nvar NativeURL = require('../internals/global').URL;\n\nvar defineProperties = require('../internals/object-define-properties');\n\nvar redefine = require('../internals/redefine');\n\nvar anInstance = require('../internals/an-instance');\n\nvar has = require('../internals/has');\n\nvar assign = require('../internals/object-assign');\n\nvar arrayFrom = require('../internals/array-from');\n\nvar codePointAt = require('../internals/string-at');\n\nvar toASCII = require('../internals/punycode-to-ascii');\n\nvar URLSearchParamsModule = require('../modules/web.url-search-params');\n\nvar URLSearchParams = URLSearchParamsModule.URLSearchParams;\nvar getInternalSearchParamsState = URLSearchParamsModule.getState;\n\nvar InternalStateModule = require('../internals/internal-state');\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalURLState = InternalStateModule.getterFor('URL');\nvar pow = Math.pow;\nvar INVALID_AUTHORITY = 'Invalid authority';\nvar INVALID_SCHEME = 'Invalid scheme';\nvar INVALID_HOST = 'Invalid host';\nvar INVALID_PORT = 'Invalid port';\nvar ALPHA = /[a-zA-Z]/;\nvar ALPHANUMERIC = /[a-zA-Z0-9+\\-.]/;\nvar DIGIT = /\\d/;\nvar HEX_START = /^(0x|0X)/;\nvar OCT = /^[0-7]+$/;\nvar DEC = /^\\d+$/;\nvar HEX = /^[0-9A-Fa-f]+$/; // eslint-disable-next-line no-control-regex\n\nvar FORBIDDEN_HOST_CODE_POINT = /\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|%|\\/|:|\\?|@|\\[|\\\\|\\]/; // eslint-disable-next-line no-control-regex\n\nvar FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|\\/|:|\\?|@|\\[|\\\\|\\]/; // eslint-disable-next-line no-control-regex\n\nvar LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\\u0000-\\u001F\\u0020]+|[\\u0000-\\u001F\\u0020]+$/g; // eslint-disable-next-line no-control-regex\n\nvar TAB_AND_NEW_LINE = /\\u0009|\\u000A|\\u000D/g;\nvar EOF;\n\nvar parseHost = function parseHost(url, input) {\n var result, codePoints, i;\n\n if (input.charAt(0) == '[') {\n if (input.charAt(input.length - 1) != ']') return INVALID_HOST;\n result = parseIPv6(input.slice(1, -1));\n if (!result) return INVALID_HOST;\n url.host = result; // opaque host\n } else if (!isSpecial(url)) {\n if (FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input)) return INVALID_HOST;\n result = '';\n codePoints = arrayFrom(input);\n\n for (i = 0; i < codePoints.length; i++) {\n result += percentEncode(codePoints[i], C0ControlPercentEncodeSet);\n }\n\n url.host = result;\n } else {\n input = toASCII(input);\n if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST;\n result = parseIPv4(input);\n if (result === null) return INVALID_HOST;\n url.host = result;\n }\n};\n\nvar parseIPv4 = function parseIPv4(input) {\n var parts = input.split('.');\n var partsLength, numbers, i, part, R, n, ipv4;\n\n if (parts[parts.length - 1] == '') {\n if (parts.length) parts.pop();\n }\n\n partsLength = parts.length;\n if (partsLength > 4) return input;\n numbers = [];\n\n for (i = 0; i < partsLength; i++) {\n part = parts[i];\n if (part == '') return input;\n R = 10;\n\n if (part.length > 1 && part.charAt(0) == '0') {\n R = HEX_START.test(part) ? 16 : 8;\n part = part.slice(R == 8 ? 1 : 2);\n }\n\n if (part === '') {\n n = 0;\n } else {\n if (!(R == 10 ? DEC : R == 8 ? OCT : HEX).test(part)) return input;\n n = parseInt(part, R);\n }\n\n numbers.push(n);\n }\n\n for (i = 0; i < partsLength; i++) {\n n = numbers[i];\n\n if (i == partsLength - 1) {\n if (n >= pow(256, 5 - partsLength)) return null;\n } else if (n > 255) return null;\n }\n\n ipv4 = numbers.pop();\n\n for (i = 0; i < numbers.length; i++) {\n ipv4 += numbers[i] * pow(256, 3 - i);\n }\n\n return ipv4;\n}; // eslint-disable-next-line max-statements\n\n\nvar parseIPv6 = function parseIPv6(input) {\n var address = [0, 0, 0, 0, 0, 0, 0, 0];\n var pieceIndex = 0;\n var compress = null;\n var pointer = 0;\n var value, length, numbersSeen, ipv4Piece, number, swaps, swap;\n\n var char = function char() {\n return input.charAt(pointer);\n };\n\n if (char() == ':') {\n if (input.charAt(1) != ':') return;\n pointer += 2;\n pieceIndex++;\n compress = pieceIndex;\n }\n\n while (char()) {\n if (pieceIndex == 8) return;\n\n if (char() == ':') {\n if (compress !== null) return;\n pointer++;\n pieceIndex++;\n compress = pieceIndex;\n continue;\n }\n\n value = length = 0;\n\n while (length < 4 && HEX.test(char())) {\n value = value * 16 + parseInt(char(), 16);\n pointer++;\n length++;\n }\n\n if (char() == '.') {\n if (length == 0) return;\n pointer -= length;\n if (pieceIndex > 6) return;\n numbersSeen = 0;\n\n while (char()) {\n ipv4Piece = null;\n\n if (numbersSeen > 0) {\n if (char() == '.' && numbersSeen < 4) pointer++;else return;\n }\n\n if (!DIGIT.test(char())) return;\n\n while (DIGIT.test(char())) {\n number = parseInt(char(), 10);\n if (ipv4Piece === null) ipv4Piece = number;else if (ipv4Piece == 0) return;else ipv4Piece = ipv4Piece * 10 + number;\n if (ipv4Piece > 255) return;\n pointer++;\n }\n\n address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;\n numbersSeen++;\n if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++;\n }\n\n if (numbersSeen != 4) return;\n break;\n } else if (char() == ':') {\n pointer++;\n if (!char()) return;\n } else if (char()) return;\n\n address[pieceIndex++] = value;\n }\n\n if (compress !== null) {\n swaps = pieceIndex - compress;\n pieceIndex = 7;\n\n while (pieceIndex != 0 && swaps > 0) {\n swap = address[pieceIndex];\n address[pieceIndex--] = address[compress + swaps - 1];\n address[compress + --swaps] = swap;\n }\n } else if (pieceIndex != 8) return;\n\n return address;\n};\n\nvar findLongestZeroSequence = function findLongestZeroSequence(ipv6) {\n var maxIndex = null;\n var maxLength = 1;\n var currStart = null;\n var currLength = 0;\n var i = 0;\n\n for (; i < 8; i++) {\n if (ipv6[i] !== 0) {\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n\n currStart = null;\n currLength = 0;\n } else {\n if (currStart === null) currStart = i;\n ++currLength;\n }\n }\n\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n\n return maxIndex;\n};\n\nvar serializeHost = function serializeHost(host) {\n var result, i, compress, ignore0; // ipv4\n\n if (typeof host == 'number') {\n result = [];\n\n for (i = 0; i < 4; i++) {\n result.unshift(host % 256);\n host = Math.floor(host / 256);\n }\n\n return result.join('.'); // ipv6\n } else if (typeof host == 'object') {\n result = '';\n compress = findLongestZeroSequence(host);\n\n for (i = 0; i < 8; i++) {\n if (ignore0 && host[i] === 0) continue;\n if (ignore0) ignore0 = false;\n\n if (compress === i) {\n result += i ? ':' : '::';\n ignore0 = true;\n } else {\n result += host[i].toString(16);\n if (i < 7) result += ':';\n }\n }\n\n return '[' + result + ']';\n }\n\n return host;\n};\n\nvar C0ControlPercentEncodeSet = {};\nvar fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {\n ' ': 1,\n '\"': 1,\n '<': 1,\n '>': 1,\n '`': 1\n});\nvar pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {\n '#': 1,\n '?': 1,\n '{': 1,\n '}': 1\n});\nvar userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {\n '/': 1,\n ':': 1,\n ';': 1,\n '=': 1,\n '@': 1,\n '[': 1,\n '\\\\': 1,\n ']': 1,\n '^': 1,\n '|': 1\n});\n\nvar percentEncode = function percentEncode(char, set) {\n var code = codePointAt(char, 0);\n return code > 0x20 && code < 0x7F && !has(set, char) ? char : encodeURIComponent(char);\n};\n\nvar specialSchemes = {\n ftp: 21,\n file: null,\n gopher: 70,\n http: 80,\n https: 443,\n ws: 80,\n wss: 443\n};\n\nvar isSpecial = function isSpecial(url) {\n return has(specialSchemes, url.scheme);\n};\n\nvar includesCredentials = function includesCredentials(url) {\n return url.username != '' || url.password != '';\n};\n\nvar cannotHaveUsernamePasswordPort = function cannotHaveUsernamePasswordPort(url) {\n return !url.host || url.cannotBeABaseURL || url.scheme == 'file';\n};\n\nvar isWindowsDriveLetter = function isWindowsDriveLetter(string, normalized) {\n var second;\n return string.length == 2 && ALPHA.test(string.charAt(0)) && ((second = string.charAt(1)) == ':' || !normalized && second == '|');\n};\n\nvar startsWithWindowsDriveLetter = function startsWithWindowsDriveLetter(string) {\n var third;\n return string.length > 1 && isWindowsDriveLetter(string.slice(0, 2)) && (string.length == 2 || (third = string.charAt(2)) === '/' || third === '\\\\' || third === '?' || third === '#');\n};\n\nvar shortenURLsPath = function shortenURLsPath(url) {\n var path = url.path;\n var pathSize = path.length;\n\n if (pathSize && (url.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) {\n path.pop();\n }\n};\n\nvar isSingleDot = function isSingleDot(segment) {\n return segment === '.' || segment.toLowerCase() === '%2e';\n};\n\nvar isDoubleDot = function isDoubleDot(segment) {\n segment = segment.toLowerCase();\n return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';\n}; // States:\n\n\nvar SCHEME_START = {};\nvar SCHEME = {};\nvar NO_SCHEME = {};\nvar SPECIAL_RELATIVE_OR_AUTHORITY = {};\nvar PATH_OR_AUTHORITY = {};\nvar RELATIVE = {};\nvar RELATIVE_SLASH = {};\nvar SPECIAL_AUTHORITY_SLASHES = {};\nvar SPECIAL_AUTHORITY_IGNORE_SLASHES = {};\nvar AUTHORITY = {};\nvar HOST = {};\nvar HOSTNAME = {};\nvar PORT = {};\nvar FILE = {};\nvar FILE_SLASH = {};\nvar FILE_HOST = {};\nvar PATH_START = {};\nvar PATH = {};\nvar CANNOT_BE_A_BASE_URL_PATH = {};\nvar QUERY = {};\nvar FRAGMENT = {}; // eslint-disable-next-line max-statements\n\nvar parseURL = function parseURL(url, input, stateOverride, base) {\n var state = stateOverride || SCHEME_START;\n var pointer = 0;\n var buffer = '';\n var seenAt = false;\n var seenBracket = false;\n var seenPasswordToken = false;\n var codePoints, char, bufferCodePoints, failure;\n\n if (!stateOverride) {\n url.scheme = '';\n url.username = '';\n url.password = '';\n url.host = null;\n url.port = null;\n url.path = [];\n url.query = null;\n url.fragment = null;\n url.cannotBeABaseURL = false;\n input = input.replace(LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');\n }\n\n input = input.replace(TAB_AND_NEW_LINE, '');\n codePoints = arrayFrom(input);\n\n while (pointer <= codePoints.length) {\n char = codePoints[pointer];\n\n switch (state) {\n case SCHEME_START:\n if (char && ALPHA.test(char)) {\n buffer += char.toLowerCase();\n state = SCHEME;\n } else if (!stateOverride) {\n state = NO_SCHEME;\n continue;\n } else return INVALID_SCHEME;\n\n break;\n\n case SCHEME:\n if (char && (ALPHANUMERIC.test(char) || char == '+' || char == '-' || char == '.')) {\n buffer += char.toLowerCase();\n } else if (char == ':') {\n if (stateOverride) {\n if (isSpecial(url) != has(specialSchemes, buffer) || buffer == 'file' && (includesCredentials(url) || url.port !== null) || url.scheme == 'file' && !url.host) return;\n }\n\n url.scheme = buffer;\n\n if (stateOverride) {\n if (isSpecial(url) && specialSchemes[url.scheme] == url.port) url.port = null;\n return;\n }\n\n buffer = '';\n\n if (url.scheme == 'file') {\n state = FILE;\n } else if (isSpecial(url) && base && base.scheme == url.scheme) {\n state = SPECIAL_RELATIVE_OR_AUTHORITY;\n } else if (isSpecial(url)) {\n state = SPECIAL_AUTHORITY_SLASHES;\n } else if (codePoints[pointer + 1] == '/') {\n state = PATH_OR_AUTHORITY;\n pointer++;\n } else {\n url.cannotBeABaseURL = true;\n url.path.push('');\n state = CANNOT_BE_A_BASE_URL_PATH;\n }\n } else if (!stateOverride) {\n buffer = '';\n state = NO_SCHEME;\n pointer = 0;\n continue;\n } else return INVALID_SCHEME;\n\n break;\n\n case NO_SCHEME:\n if (!base || base.cannotBeABaseURL && char != '#') return INVALID_SCHEME;\n\n if (base.cannotBeABaseURL && char == '#') {\n url.scheme = base.scheme;\n url.path = base.path.slice();\n url.query = base.query;\n url.fragment = '';\n url.cannotBeABaseURL = true;\n state = FRAGMENT;\n break;\n }\n\n state = base.scheme == 'file' ? FILE : RELATIVE;\n continue;\n\n case SPECIAL_RELATIVE_OR_AUTHORITY:\n if (char == '/' && codePoints[pointer + 1] == '/') {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n pointer++;\n } else {\n state = RELATIVE;\n continue;\n }\n\n break;\n\n case PATH_OR_AUTHORITY:\n if (char == '/') {\n state = AUTHORITY;\n break;\n } else {\n state = PATH;\n continue;\n }\n\n case RELATIVE:\n url.scheme = base.scheme;\n\n if (char == EOF) {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = base.path.slice();\n url.query = base.query;\n } else if (char == '/' || char == '\\\\' && isSpecial(url)) {\n state = RELATIVE_SLASH;\n } else if (char == '?') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = base.path.slice();\n url.query = '';\n state = QUERY;\n } else if (char == '#') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = base.path.slice();\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = base.path.slice();\n url.path.pop();\n state = PATH;\n continue;\n }\n\n break;\n\n case RELATIVE_SLASH:\n if (isSpecial(url) && (char == '/' || char == '\\\\')) {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n } else if (char == '/') {\n state = AUTHORITY;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n state = PATH;\n continue;\n }\n\n break;\n\n case SPECIAL_AUTHORITY_SLASHES:\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n if (char != '/' || buffer.charAt(pointer + 1) != '/') continue;\n pointer++;\n break;\n\n case SPECIAL_AUTHORITY_IGNORE_SLASHES:\n if (char != '/' && char != '\\\\') {\n state = AUTHORITY;\n continue;\n }\n\n break;\n\n case AUTHORITY:\n if (char == '@') {\n if (seenAt) buffer = '%40' + buffer;\n seenAt = true;\n bufferCodePoints = arrayFrom(buffer);\n\n for (var i = 0; i < bufferCodePoints.length; i++) {\n var codePoint = bufferCodePoints[i];\n\n if (codePoint == ':' && !seenPasswordToken) {\n seenPasswordToken = true;\n continue;\n }\n\n var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);\n if (seenPasswordToken) url.password += encodedCodePoints;else url.username += encodedCodePoints;\n }\n\n buffer = '';\n } else if (char == EOF || char == '/' || char == '?' || char == '#' || char == '\\\\' && isSpecial(url)) {\n if (seenAt && buffer == '') return INVALID_AUTHORITY;\n pointer -= arrayFrom(buffer).length + 1;\n buffer = '';\n state = HOST;\n } else buffer += char;\n\n break;\n\n case HOST:\n case HOSTNAME:\n if (stateOverride && url.scheme == 'file') {\n state = FILE_HOST;\n continue;\n } else if (char == ':' && !seenBracket) {\n if (buffer == '') return INVALID_HOST;\n failure = parseHost(url, buffer);\n if (failure) return failure;\n buffer = '';\n state = PORT;\n if (stateOverride == HOSTNAME) return;\n } else if (char == EOF || char == '/' || char == '?' || char == '#' || char == '\\\\' && isSpecial(url)) {\n if (isSpecial(url) && buffer == '') return INVALID_HOST;\n if (stateOverride && buffer == '' && (includesCredentials(url) || url.port !== null)) return;\n failure = parseHost(url, buffer);\n if (failure) return failure;\n buffer = '';\n state = PATH_START;\n if (stateOverride) return;\n continue;\n } else {\n if (char == '[') seenBracket = true;else if (char == ']') seenBracket = false;\n buffer += char;\n }\n\n break;\n\n case PORT:\n if (DIGIT.test(char)) {\n buffer += char;\n } else if (char == EOF || char == '/' || char == '?' || char == '#' || char == '\\\\' && isSpecial(url) || stateOverride) {\n if (buffer != '') {\n var port = parseInt(buffer, 10);\n if (port > 0xFFFF) return INVALID_PORT;\n url.port = isSpecial(url) && port === specialSchemes[url.scheme] ? null : port;\n buffer = '';\n }\n\n if (stateOverride) return;\n state = PATH_START;\n continue;\n } else return INVALID_PORT;\n\n break;\n\n case FILE:\n url.scheme = 'file';\n if (char == '/' || char == '\\\\') state = FILE_SLASH;else if (base && base.scheme == 'file') {\n if (char == EOF) {\n url.host = base.host;\n url.path = base.path.slice();\n url.query = base.query;\n } else if (char == '?') {\n url.host = base.host;\n url.path = base.path.slice();\n url.query = '';\n state = QUERY;\n } else if (char == '#') {\n url.host = base.host;\n url.path = base.path.slice();\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n if (!startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) {\n url.host = base.host;\n url.path = base.path.slice();\n shortenURLsPath(url);\n }\n\n state = PATH;\n continue;\n }\n } else {\n state = PATH;\n continue;\n }\n break;\n\n case FILE_SLASH:\n if (char == '/' || char == '\\\\') {\n state = FILE_HOST;\n break;\n }\n\n if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) {\n if (isWindowsDriveLetter(base.path[0], true)) url.path.push(base.path[0]);else url.host = base.host;\n }\n\n state = PATH;\n continue;\n\n case FILE_HOST:\n if (char == EOF || char == '/' || char == '\\\\' || char == '?' || char == '#') {\n if (!stateOverride && isWindowsDriveLetter(buffer)) {\n state = PATH;\n } else if (buffer == '') {\n url.host = '';\n if (stateOverride) return;\n state = PATH_START;\n } else {\n failure = parseHost(url, buffer);\n if (failure) return failure;\n if (url.host == 'localhost') url.host = '';\n if (stateOverride) return;\n buffer = '';\n state = PATH_START;\n }\n\n continue;\n } else buffer += char;\n\n break;\n\n case PATH_START:\n if (isSpecial(url)) {\n state = PATH;\n if (char != '/' && char != '\\\\') continue;\n } else if (!stateOverride && char == '?') {\n url.query = '';\n state = QUERY;\n } else if (!stateOverride && char == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (char != EOF) {\n state = PATH;\n if (char != '/') continue;\n }\n\n break;\n\n case PATH:\n if (char == EOF || char == '/' || char == '\\\\' && isSpecial(url) || !stateOverride && (char == '?' || char == '#')) {\n if (isDoubleDot(buffer)) {\n shortenURLsPath(url);\n\n if (char != '/' && !(char == '\\\\' && isSpecial(url))) {\n url.path.push('');\n }\n } else if (isSingleDot(buffer)) {\n if (char != '/' && !(char == '\\\\' && isSpecial(url))) {\n url.path.push('');\n }\n } else {\n if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {\n if (url.host) url.host = '';\n buffer = buffer.charAt(0) + ':'; // normalize windows drive letter\n }\n\n url.path.push(buffer);\n }\n\n buffer = '';\n\n if (url.scheme == 'file' && (char == EOF || char == '?' || char == '#')) {\n while (url.path.length > 1 && url.path[0] === '') {\n url.path.shift();\n }\n }\n\n if (char == '?') {\n url.query = '';\n state = QUERY;\n } else if (char == '#') {\n url.fragment = '';\n state = FRAGMENT;\n }\n } else {\n buffer += percentEncode(char, pathPercentEncodeSet);\n }\n\n break;\n\n case CANNOT_BE_A_BASE_URL_PATH:\n if (char == '?') {\n url.query = '';\n state = QUERY;\n } else if (char == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (char != EOF) {\n url.path[0] += percentEncode(char, C0ControlPercentEncodeSet);\n }\n\n break;\n\n case QUERY:\n if (!stateOverride && char == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (char != EOF) {\n if (char == \"'\" && isSpecial(url)) url.query += '%27';else if (char == '#') url.query += '%23';else url.query += percentEncode(char, C0ControlPercentEncodeSet);\n }\n\n break;\n\n case FRAGMENT:\n if (char != EOF) url.fragment += percentEncode(char, fragmentPercentEncodeSet);\n break;\n }\n\n pointer++;\n }\n}; // `URL` constructor\n// https://url.spec.whatwg.org/#url-class\n\n\nvar URLConstructor = function URL(url\n/* , base */\n) {\n var that = anInstance(this, URLConstructor, 'URL');\n var base = arguments.length > 1 ? arguments[1] : undefined;\n var urlString = String(url);\n var state = setInternalState(that, {\n type: 'URL'\n });\n var baseState, failure;\n\n if (base !== undefined) {\n if (base instanceof URLConstructor) baseState = getInternalURLState(base);else {\n failure = parseURL(baseState = {}, String(base));\n if (failure) throw TypeError(failure);\n }\n }\n\n failure = parseURL(state, urlString, null, baseState);\n if (failure) throw TypeError(failure);\n var searchParams = state.searchParams = new URLSearchParams();\n var searchParamsState = getInternalSearchParamsState(searchParams);\n searchParamsState.updateSearchParams(state.query);\n\n searchParamsState.updateURL = function () {\n state.query = String(searchParams) || null;\n };\n\n if (!DESCRIPTORS) {\n that.href = serializeURL.call(that);\n that.origin = getOrigin.call(that);\n that.protocol = getProtocol.call(that);\n that.username = getUsername.call(that);\n that.password = getPassword.call(that);\n that.host = getHost.call(that);\n that.hostname = getHostname.call(that);\n that.port = getPort.call(that);\n that.pathname = getPathname.call(that);\n that.search = getSearch.call(that);\n that.searchParams = getSearchParams.call(that);\n that.hash = getHash.call(that);\n }\n};\n\nvar URLPrototype = URLConstructor.prototype;\n\nvar serializeURL = function serializeURL() {\n var url = getInternalURLState(this);\n var scheme = url.scheme;\n var username = url.username;\n var password = url.password;\n var host = url.host;\n var port = url.port;\n var path = url.path;\n var query = url.query;\n var fragment = url.fragment;\n var output = scheme + ':';\n\n if (host !== null) {\n output += '//';\n\n if (includesCredentials(url)) {\n output += username + (password ? ':' + password : '') + '@';\n }\n\n output += serializeHost(host);\n if (port !== null) output += ':' + port;\n } else if (scheme == 'file') output += '//';\n\n output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : '';\n if (query !== null) output += '?' + query;\n if (fragment !== null) output += '#' + fragment;\n return output;\n};\n\nvar getOrigin = function getOrigin() {\n var url = getInternalURLState(this);\n var scheme = url.scheme;\n var port = url.port;\n if (scheme == 'blob') try {\n return new URL(scheme.path[0]).origin;\n } catch (error) {\n return 'null';\n }\n if (scheme == 'file' || !isSpecial(url)) return 'null';\n return scheme + '://' + serializeHost(url.host) + (port !== null ? ':' + port : '');\n};\n\nvar getProtocol = function getProtocol() {\n return getInternalURLState(this).scheme + ':';\n};\n\nvar getUsername = function getUsername() {\n return getInternalURLState(this).username;\n};\n\nvar getPassword = function getPassword() {\n return getInternalURLState(this).password;\n};\n\nvar getHost = function getHost() {\n var url = getInternalURLState(this);\n var host = url.host;\n var port = url.port;\n return host === null ? '' : port === null ? serializeHost(host) : serializeHost(host) + ':' + port;\n};\n\nvar getHostname = function getHostname() {\n var host = getInternalURLState(this).host;\n return host === null ? '' : serializeHost(host);\n};\n\nvar getPort = function getPort() {\n var port = getInternalURLState(this).port;\n return port === null ? '' : String(port);\n};\n\nvar getPathname = function getPathname() {\n var url = getInternalURLState(this);\n var path = url.path;\n return url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : '';\n};\n\nvar getSearch = function getSearch() {\n var query = getInternalURLState(this).query;\n return query ? '?' + query : '';\n};\n\nvar getSearchParams = function getSearchParams() {\n return getInternalURLState(this).searchParams;\n};\n\nvar getHash = function getHash() {\n var fragment = getInternalURLState(this).fragment;\n return fragment ? '#' + fragment : '';\n};\n\nvar accessorDescriptor = function accessorDescriptor(getter, setter) {\n return {\n get: getter,\n set: setter,\n configurable: true,\n enumerable: true\n };\n};\n\nif (DESCRIPTORS) {\n defineProperties(URLPrototype, {\n // `URL.prototype.href` accessors pair\n // https://url.spec.whatwg.org/#dom-url-href\n href: accessorDescriptor(serializeURL, function (href) {\n var url = getInternalURLState(this);\n var urlString = String(href);\n var failure = parseURL(url, urlString);\n if (failure) throw TypeError(failure);\n getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query);\n }),\n // `URL.prototype.origin` getter\n // https://url.spec.whatwg.org/#dom-url-origin\n origin: accessorDescriptor(getOrigin),\n // `URL.prototype.protocol` accessors pair\n // https://url.spec.whatwg.org/#dom-url-protocol\n protocol: accessorDescriptor(getProtocol, function (protocol) {\n var url = getInternalURLState(this);\n parseURL(url, String(protocol) + ':', SCHEME_START);\n }),\n // `URL.prototype.username` accessors pair\n // https://url.spec.whatwg.org/#dom-url-username\n username: accessorDescriptor(getUsername, function (username) {\n var url = getInternalURLState(this);\n var codePoints = arrayFrom(String(username));\n if (cannotHaveUsernamePasswordPort(url)) return;\n url.username = '';\n\n for (var i = 0; i < codePoints.length; i++) {\n url.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n }),\n // `URL.prototype.password` accessors pair\n // https://url.spec.whatwg.org/#dom-url-password\n password: accessorDescriptor(getPassword, function (password) {\n var url = getInternalURLState(this);\n var codePoints = arrayFrom(String(password));\n if (cannotHaveUsernamePasswordPort(url)) return;\n url.password = '';\n\n for (var i = 0; i < codePoints.length; i++) {\n url.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n }),\n // `URL.prototype.host` accessors pair\n // https://url.spec.whatwg.org/#dom-url-host\n host: accessorDescriptor(getHost, function (host) {\n var url = getInternalURLState(this);\n if (url.cannotBeABaseURL) return;\n parseURL(url, String(host), HOST);\n }),\n // `URL.prototype.hostname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hostname\n hostname: accessorDescriptor(getHostname, function (hostname) {\n var url = getInternalURLState(this);\n if (url.cannotBeABaseURL) return;\n parseURL(url, String(hostname), HOSTNAME);\n }),\n // `URL.prototype.port` accessors pair\n // https://url.spec.whatwg.org/#dom-url-port\n port: accessorDescriptor(getPort, function (port) {\n var url = getInternalURLState(this);\n if (cannotHaveUsernamePasswordPort(url)) return;\n port = String(port);\n if (port == '') url.port = null;else parseURL(url, port, PORT);\n }),\n // `URL.prototype.pathname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-pathname\n pathname: accessorDescriptor(getPathname, function (pathname) {\n var url = getInternalURLState(this);\n if (url.cannotBeABaseURL) return;\n url.path = [];\n parseURL(url, pathname + '', PATH_START);\n }),\n // `URL.prototype.search` accessors pair\n // https://url.spec.whatwg.org/#dom-url-search\n search: accessorDescriptor(getSearch, function (search) {\n var url = getInternalURLState(this);\n search = String(search);\n\n if (search == '') {\n url.query = null;\n } else {\n if ('?' == search.charAt(0)) search = search.slice(1);\n url.query = '';\n parseURL(url, search, QUERY);\n }\n\n getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query);\n }),\n // `URL.prototype.searchParams` getter\n // https://url.spec.whatwg.org/#dom-url-searchparams\n searchParams: accessorDescriptor(getSearchParams),\n // `URL.prototype.hash` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hash\n hash: accessorDescriptor(getHash, function (hash) {\n var url = getInternalURLState(this);\n hash = String(hash);\n\n if (hash == '') {\n url.fragment = null;\n return;\n }\n\n if ('#' == hash.charAt(0)) hash = hash.slice(1);\n url.fragment = '';\n parseURL(url, hash, FRAGMENT);\n })\n });\n} // `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\n\n\nredefine(URLPrototype, 'toJSON', function toJSON() {\n return serializeURL.call(this);\n}, {\n enumerable: true\n}); // `URL.prototype.toString` method\n// https://url.spec.whatwg.org/#URL-stringification-behavior\n\nredefine(URLPrototype, 'toString', function toString() {\n return serializeURL.call(this);\n}, {\n enumerable: true\n});\n\nif (NativeURL) {\n var nativeCreateObjectURL = NativeURL.createObjectURL;\n var nativeRevokeObjectURL = NativeURL.revokeObjectURL; // `URL.createObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL\n // eslint-disable-next-line no-unused-vars\n\n if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', function createObjectURL(blob) {\n return nativeCreateObjectURL.apply(NativeURL, arguments);\n }); // `URL.revokeObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL\n // eslint-disable-next-line no-unused-vars\n\n if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) {\n return nativeRevokeObjectURL.apply(NativeURL, arguments);\n });\n}\n\nrequire('../internals/set-to-string-tag')(URLConstructor, 'URL');\n\nrequire('../internals/export')({\n global: true,\n forced: !USE_NATIVE_URL,\n sham: !DESCRIPTORS\n}, {\n URL: URLConstructor\n});","'use strict'; // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js\n\nvar maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\n\nvar base = 36;\nvar tMin = 1;\nvar tMax = 26;\nvar skew = 38;\nvar damp = 700;\nvar initialBias = 72;\nvar initialN = 128; // 0x80\n\nvar delimiter = '-'; // '\\x2D'\n\nvar regexNonASCII = /[^\\0-\\u007E]/; // non-ASCII chars\n\nvar regexSeparators = /[\\u002E\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\n\nvar OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';\nvar baseMinusTMin = base - tMin;\nvar floor = Math.floor;\nvar stringFromCharCode = String.fromCharCode;\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n */\n\nvar ucs2decode = function ucs2decode(string) {\n var output = [];\n var counter = 0;\n var length = string.length;\n\n while (counter < length) {\n var value = string.charCodeAt(counter++);\n\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // It's a high surrogate, and there is a next character.\n var extra = string.charCodeAt(counter++);\n\n if ((extra & 0xFC00) == 0xDC00) {\n // Low surrogate.\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // It's an unmatched surrogate; only append this code unit, in case the\n // next code unit is the high surrogate of a surrogate pair.\n output.push(value);\n counter--;\n }\n } else {\n output.push(value);\n }\n }\n\n return output;\n};\n/**\n * Converts a digit/integer into a basic code point.\n */\n\n\nvar digitToBasic = function digitToBasic(digit) {\n // 0..25 map to ASCII a..z or A..Z\n // 26..35 map to ASCII 0..9\n return digit + 22 + 75 * (digit < 26);\n};\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n */\n\n\nvar adapt = function adapt(delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n\n for (;\n /* no initialization */\n delta > baseMinusTMin * tMax >> 1; k += base) {\n delta = floor(delta / baseMinusTMin);\n }\n\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n */\n// eslint-disable-next-line max-statements\n\n\nvar encode = function encode(input) {\n var output = []; // Convert the input in UCS-2 to an array of Unicode code points.\n\n input = ucs2decode(input); // Cache the length.\n\n var inputLength = input.length; // Initialize the state.\n\n var n = initialN;\n var delta = 0;\n var bias = initialBias;\n var i, currentValue; // Handle the basic code points.\n\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n\n if (currentValue < 0x80) {\n output.push(stringFromCharCode(currentValue));\n }\n }\n\n var basicLength = output.length; // number of basic code points.\n\n var handledCPCount = basicLength; // number of code points that have been handled;\n // Finish the basic string with a delimiter unless it's empty.\n\n if (basicLength) {\n output.push(delimiter);\n } // Main encoding loop:\n\n\n while (handledCPCount < inputLength) {\n // All non-basic code points < n have been handled already. Find the next larger one:\n var m = maxInt;\n\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n } // Increase `delta` enough to advance the decoder's state to , but guard against overflow.\n\n\n var handledCPCountPlusOne = handledCPCount + 1;\n\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n throw RangeError(OVERFLOW_ERROR);\n }\n\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n\n if (currentValue < n && ++delta > maxInt) {\n throw RangeError(OVERFLOW_ERROR);\n }\n\n if (currentValue == n) {\n // Represent delta as a generalized variable-length integer.\n var q = delta;\n\n for (var k = base;;\n /* no condition */\n k += base) {\n var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;\n\n if (q < t) {\n break;\n }\n\n var qMinusT = q - t;\n var baseMinusT = base - t;\n output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT)));\n q = floor(qMinusT / baseMinusT);\n }\n\n output.push(stringFromCharCode(digitToBasic(q)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n delta = 0;\n ++handledCPCount;\n }\n }\n\n ++delta;\n ++n;\n }\n\n return output.join('');\n};\n\nmodule.exports = function (input) {\n var encoded = [];\n var labels = input.toLowerCase().replace(regexSeparators, \".\").split('.');\n var i, label;\n\n for (i = 0; i < labels.length; i++) {\n label = labels[i];\n encoded.push(regexNonASCII.test(label) ? 'xn--' + encode(label) : label);\n }\n\n return encoded.join('.');\n};","var anObject = require('../internals/an-object');\n\nvar getIteratorMethod = require('../internals/get-iterator-method');\n\nmodule.exports = function (it) {\n var iteratorMethod = getIteratorMethod(it);\n\n if (typeof iteratorMethod != 'function') {\n throw TypeError(String(it) + ' is not iterable');\n }\n\n return anObject(iteratorMethod.call(it));\n};","'use strict'; // `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\n\nrequire('../internals/export')({\n target: 'URL',\n proto: true,\n enumerable: true\n}, {\n toJSON: function toJSON() {\n return URL.prototype.toString.call(this);\n }\n});","/** @license React v16.8.6\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar k = require(\"object-assign\"),\n n = \"function\" === typeof Symbol && Symbol.for,\n p = n ? Symbol.for(\"react.element\") : 60103,\n q = n ? Symbol.for(\"react.portal\") : 60106,\n r = n ? Symbol.for(\"react.fragment\") : 60107,\n t = n ? Symbol.for(\"react.strict_mode\") : 60108,\n u = n ? Symbol.for(\"react.profiler\") : 60114,\n v = n ? Symbol.for(\"react.provider\") : 60109,\n w = n ? Symbol.for(\"react.context\") : 60110,\n x = n ? Symbol.for(\"react.concurrent_mode\") : 60111,\n y = n ? Symbol.for(\"react.forward_ref\") : 60112,\n z = n ? Symbol.for(\"react.suspense\") : 60113,\n aa = n ? Symbol.for(\"react.memo\") : 60115,\n ba = n ? Symbol.for(\"react.lazy\") : 60116,\n A = \"function\" === typeof Symbol && Symbol.iterator;\n\nfunction ca(a, b, d, c, e, g, h, f) {\n if (!a) {\n a = void 0;\n if (void 0 === b) a = Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n var l = [d, c, e, g, h, f],\n m = 0;\n a = Error(b.replace(/%s/g, function () {\n return l[m++];\n }));\n a.name = \"Invariant Violation\";\n }\n a.framesToPop = 1;\n throw a;\n }\n}\n\nfunction B(a) {\n for (var b = arguments.length - 1, d = \"https://reactjs.org/docs/error-decoder.html?invariant=\" + a, c = 0; c < b; c++) {\n d += \"&args[]=\" + encodeURIComponent(arguments[c + 1]);\n }\n\n ca(!1, \"Minified React error #\" + a + \"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \", d);\n}\n\nvar C = {\n isMounted: function isMounted() {\n return !1;\n },\n enqueueForceUpdate: function enqueueForceUpdate() {},\n enqueueReplaceState: function enqueueReplaceState() {},\n enqueueSetState: function enqueueSetState() {}\n},\n D = {};\n\nfunction E(a, b, d) {\n this.props = a;\n this.context = b;\n this.refs = D;\n this.updater = d || C;\n}\n\nE.prototype.isReactComponent = {};\n\nE.prototype.setState = function (a, b) {\n \"object\" !== typeof a && \"function\" !== typeof a && null != a ? B(\"85\") : void 0;\n this.updater.enqueueSetState(this, a, b, \"setState\");\n};\n\nE.prototype.forceUpdate = function (a) {\n this.updater.enqueueForceUpdate(this, a, \"forceUpdate\");\n};\n\nfunction F() {}\n\nF.prototype = E.prototype;\n\nfunction G(a, b, d) {\n this.props = a;\n this.context = b;\n this.refs = D;\n this.updater = d || C;\n}\n\nvar H = G.prototype = new F();\nH.constructor = G;\nk(H, E.prototype);\nH.isPureReactComponent = !0;\nvar I = {\n current: null\n},\n J = {\n current: null\n},\n K = Object.prototype.hasOwnProperty,\n L = {\n key: !0,\n ref: !0,\n __self: !0,\n __source: !0\n};\n\nfunction M(a, b, d) {\n var c = void 0,\n e = {},\n g = null,\n h = null;\n if (null != b) for (c in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (g = \"\" + b.key), b) {\n K.call(b, c) && !L.hasOwnProperty(c) && (e[c] = b[c]);\n }\n var f = arguments.length - 2;\n if (1 === f) e.children = d;else if (1 < f) {\n for (var l = Array(f), m = 0; m < f; m++) {\n l[m] = arguments[m + 2];\n }\n\n e.children = l;\n }\n if (a && a.defaultProps) for (c in f = a.defaultProps, f) {\n void 0 === e[c] && (e[c] = f[c]);\n }\n return {\n $$typeof: p,\n type: a,\n key: g,\n ref: h,\n props: e,\n _owner: J.current\n };\n}\n\nfunction da(a, b) {\n return {\n $$typeof: p,\n type: a.type,\n key: b,\n ref: a.ref,\n props: a.props,\n _owner: a._owner\n };\n}\n\nfunction N(a) {\n return \"object\" === typeof a && null !== a && a.$$typeof === p;\n}\n\nfunction escape(a) {\n var b = {\n \"=\": \"=0\",\n \":\": \"=2\"\n };\n return \"$\" + (\"\" + a).replace(/[=:]/g, function (a) {\n return b[a];\n });\n}\n\nvar O = /\\/+/g,\n P = [];\n\nfunction Q(a, b, d, c) {\n if (P.length) {\n var e = P.pop();\n e.result = a;\n e.keyPrefix = b;\n e.func = d;\n e.context = c;\n e.count = 0;\n return e;\n }\n\n return {\n result: a,\n keyPrefix: b,\n func: d,\n context: c,\n count: 0\n };\n}\n\nfunction R(a) {\n a.result = null;\n a.keyPrefix = null;\n a.func = null;\n a.context = null;\n a.count = 0;\n 10 > P.length && P.push(a);\n}\n\nfunction S(a, b, d, c) {\n var e = typeof a;\n if (\"undefined\" === e || \"boolean\" === e) a = null;\n var g = !1;\n if (null === a) g = !0;else switch (e) {\n case \"string\":\n case \"number\":\n g = !0;\n break;\n\n case \"object\":\n switch (a.$$typeof) {\n case p:\n case q:\n g = !0;\n }\n\n }\n if (g) return d(c, a, \"\" === b ? \".\" + T(a, 0) : b), 1;\n g = 0;\n b = \"\" === b ? \".\" : b + \":\";\n if (Array.isArray(a)) for (var h = 0; h < a.length; h++) {\n e = a[h];\n var f = b + T(e, h);\n g += S(e, f, d, c);\n } else if (null === a || \"object\" !== typeof a ? f = null : (f = A && a[A] || a[\"@@iterator\"], f = \"function\" === typeof f ? f : null), \"function\" === typeof f) for (a = f.call(a), h = 0; !(e = a.next()).done;) {\n e = e.value, f = b + T(e, h++), g += S(e, f, d, c);\n } else \"object\" === e && (d = \"\" + a, B(\"31\", \"[object Object]\" === d ? \"object with keys {\" + Object.keys(a).join(\", \") + \"}\" : d, \"\"));\n return g;\n}\n\nfunction U(a, b, d) {\n return null == a ? 0 : S(a, \"\", b, d);\n}\n\nfunction T(a, b) {\n return \"object\" === typeof a && null !== a && null != a.key ? escape(a.key) : b.toString(36);\n}\n\nfunction ea(a, b) {\n a.func.call(a.context, b, a.count++);\n}\n\nfunction fa(a, b, d) {\n var c = a.result,\n e = a.keyPrefix;\n a = a.func.call(a.context, b, a.count++);\n Array.isArray(a) ? V(a, c, d, function (a) {\n return a;\n }) : null != a && (N(a) && (a = da(a, e + (!a.key || b && b.key === a.key ? \"\" : (\"\" + a.key).replace(O, \"$&/\") + \"/\") + d)), c.push(a));\n}\n\nfunction V(a, b, d, c, e) {\n var g = \"\";\n null != d && (g = (\"\" + d).replace(O, \"$&/\") + \"/\");\n b = Q(b, g, c, e);\n U(a, fa, b);\n R(b);\n}\n\nfunction W() {\n var a = I.current;\n null === a ? B(\"321\") : void 0;\n return a;\n}\n\nvar X = {\n Children: {\n map: function map(a, b, d) {\n if (null == a) return a;\n var c = [];\n V(a, c, null, b, d);\n return c;\n },\n forEach: function forEach(a, b, d) {\n if (null == a) return a;\n b = Q(null, null, b, d);\n U(a, ea, b);\n R(b);\n },\n count: function count(a) {\n return U(a, function () {\n return null;\n }, null);\n },\n toArray: function toArray(a) {\n var b = [];\n V(a, b, null, function (a) {\n return a;\n });\n return b;\n },\n only: function only(a) {\n N(a) ? void 0 : B(\"143\");\n return a;\n }\n },\n createRef: function createRef() {\n return {\n current: null\n };\n },\n Component: E,\n PureComponent: G,\n createContext: function createContext(a, b) {\n void 0 === b && (b = null);\n a = {\n $$typeof: w,\n _calculateChangedBits: b,\n _currentValue: a,\n _currentValue2: a,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n a.Provider = {\n $$typeof: v,\n _context: a\n };\n return a.Consumer = a;\n },\n forwardRef: function forwardRef(a) {\n return {\n $$typeof: y,\n render: a\n };\n },\n lazy: function lazy(a) {\n return {\n $$typeof: ba,\n _ctor: a,\n _status: -1,\n _result: null\n };\n },\n memo: function memo(a, b) {\n return {\n $$typeof: aa,\n type: a,\n compare: void 0 === b ? null : b\n };\n },\n useCallback: function useCallback(a, b) {\n return W().useCallback(a, b);\n },\n useContext: function useContext(a, b) {\n return W().useContext(a, b);\n },\n useEffect: function useEffect(a, b) {\n return W().useEffect(a, b);\n },\n useImperativeHandle: function useImperativeHandle(a, b, d) {\n return W().useImperativeHandle(a, b, d);\n },\n useDebugValue: function useDebugValue() {},\n useLayoutEffect: function useLayoutEffect(a, b) {\n return W().useLayoutEffect(a, b);\n },\n useMemo: function useMemo(a, b) {\n return W().useMemo(a, b);\n },\n useReducer: function useReducer(a, b, d) {\n return W().useReducer(a, b, d);\n },\n useRef: function useRef(a) {\n return W().useRef(a);\n },\n useState: function useState(a) {\n return W().useState(a);\n },\n Fragment: r,\n StrictMode: t,\n Suspense: z,\n createElement: M,\n cloneElement: function cloneElement(a, b, d) {\n null === a || void 0 === a ? B(\"267\", a) : void 0;\n var c = void 0,\n e = k({}, a.props),\n g = a.key,\n h = a.ref,\n f = a._owner;\n\n if (null != b) {\n void 0 !== b.ref && (h = b.ref, f = J.current);\n void 0 !== b.key && (g = \"\" + b.key);\n var l = void 0;\n a.type && a.type.defaultProps && (l = a.type.defaultProps);\n\n for (c in b) {\n K.call(b, c) && !L.hasOwnProperty(c) && (e[c] = void 0 === b[c] && void 0 !== l ? l[c] : b[c]);\n }\n }\n\n c = arguments.length - 2;\n if (1 === c) e.children = d;else if (1 < c) {\n l = Array(c);\n\n for (var m = 0; m < c; m++) {\n l[m] = arguments[m + 2];\n }\n\n e.children = l;\n }\n return {\n $$typeof: p,\n type: a.type,\n key: g,\n ref: h,\n props: e,\n _owner: f\n };\n },\n createFactory: function createFactory(a) {\n var b = M.bind(null, a);\n b.type = a;\n return b;\n },\n isValidElement: N,\n version: \"16.8.6\",\n unstable_ConcurrentMode: x,\n unstable_Profiler: u,\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {\n ReactCurrentDispatcher: I,\n ReactCurrentOwner: J,\n assign: k\n }\n},\n Y = {\n default: X\n},\n Z = Y && X || Y;\nmodule.exports = Z.default || Z;","/** @license React v16.8.6\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';\n\nvar aa = require(\"react\"),\n n = require(\"object-assign\"),\n r = require(\"scheduler\");\n\nfunction ba(a, b, c, d, e, f, g, h) {\n if (!a) {\n a = void 0;\n if (void 0 === b) a = Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n var l = [c, d, e, f, g, h],\n k = 0;\n a = Error(b.replace(/%s/g, function () {\n return l[k++];\n }));\n a.name = \"Invariant Violation\";\n }\n a.framesToPop = 1;\n throw a;\n }\n}\n\nfunction x(a) {\n for (var b = arguments.length - 1, c = \"https://reactjs.org/docs/error-decoder.html?invariant=\" + a, d = 0; d < b; d++) {\n c += \"&args[]=\" + encodeURIComponent(arguments[d + 1]);\n }\n\n ba(!1, \"Minified React error #\" + a + \"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \", c);\n}\n\naa ? void 0 : x(\"227\");\n\nfunction ca(a, b, c, d, e, f, g, h, l) {\n var k = Array.prototype.slice.call(arguments, 3);\n\n try {\n b.apply(c, k);\n } catch (m) {\n this.onError(m);\n }\n}\n\nvar da = !1,\n ea = null,\n fa = !1,\n ha = null,\n ia = {\n onError: function onError(a) {\n da = !0;\n ea = a;\n }\n};\n\nfunction ja(a, b, c, d, e, f, g, h, l) {\n da = !1;\n ea = null;\n ca.apply(ia, arguments);\n}\n\nfunction ka(a, b, c, d, e, f, g, h, l) {\n ja.apply(this, arguments);\n\n if (da) {\n if (da) {\n var k = ea;\n da = !1;\n ea = null;\n } else x(\"198\"), k = void 0;\n\n fa || (fa = !0, ha = k);\n }\n}\n\nvar la = null,\n ma = {};\n\nfunction na() {\n if (la) for (var a in ma) {\n var b = ma[a],\n c = la.indexOf(a);\n -1 < c ? void 0 : x(\"96\", a);\n\n if (!oa[c]) {\n b.extractEvents ? void 0 : x(\"97\", a);\n oa[c] = b;\n c = b.eventTypes;\n\n for (var d in c) {\n var e = void 0;\n var f = c[d],\n g = b,\n h = d;\n pa.hasOwnProperty(h) ? x(\"99\", h) : void 0;\n pa[h] = f;\n var l = f.phasedRegistrationNames;\n\n if (l) {\n for (e in l) {\n l.hasOwnProperty(e) && qa(l[e], g, h);\n }\n\n e = !0;\n } else f.registrationName ? (qa(f.registrationName, g, h), e = !0) : e = !1;\n\n e ? void 0 : x(\"98\", d, a);\n }\n }\n }\n}\n\nfunction qa(a, b, c) {\n ra[a] ? x(\"100\", a) : void 0;\n ra[a] = b;\n sa[a] = b.eventTypes[c].dependencies;\n}\n\nvar oa = [],\n pa = {},\n ra = {},\n sa = {},\n ta = null,\n ua = null,\n va = null;\n\nfunction wa(a, b, c) {\n var d = a.type || \"unknown-event\";\n a.currentTarget = va(c);\n ka(d, b, void 0, a);\n a.currentTarget = null;\n}\n\nfunction xa(a, b) {\n null == b ? x(\"30\") : void 0;\n if (null == a) return b;\n\n if (Array.isArray(a)) {\n if (Array.isArray(b)) return a.push.apply(a, b), a;\n a.push(b);\n return a;\n }\n\n return Array.isArray(b) ? [a].concat(b) : [a, b];\n}\n\nfunction ya(a, b, c) {\n Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a);\n}\n\nvar za = null;\n\nfunction Aa(a) {\n if (a) {\n var b = a._dispatchListeners,\n c = a._dispatchInstances;\n if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) {\n wa(a, b[d], c[d]);\n } else b && wa(a, b, c);\n a._dispatchListeners = null;\n a._dispatchInstances = null;\n a.isPersistent() || a.constructor.release(a);\n }\n}\n\nvar Ba = {\n injectEventPluginOrder: function injectEventPluginOrder(a) {\n la ? x(\"101\") : void 0;\n la = Array.prototype.slice.call(a);\n na();\n },\n injectEventPluginsByName: function injectEventPluginsByName(a) {\n var b = !1,\n c;\n\n for (c in a) {\n if (a.hasOwnProperty(c)) {\n var d = a[c];\n ma.hasOwnProperty(c) && ma[c] === d || (ma[c] ? x(\"102\", c) : void 0, ma[c] = d, b = !0);\n }\n }\n\n b && na();\n }\n};\n\nfunction Ca(a, b) {\n var c = a.stateNode;\n if (!c) return null;\n var d = ta(c);\n if (!d) return null;\n c = d[b];\n\n a: switch (b) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n (d = !d.disabled) || (a = a.type, d = !(\"button\" === a || \"input\" === a || \"select\" === a || \"textarea\" === a));\n a = !d;\n break a;\n\n default:\n a = !1;\n }\n\n if (a) return null;\n c && \"function\" !== typeof c ? x(\"231\", b, typeof c) : void 0;\n return c;\n}\n\nfunction Da(a) {\n null !== a && (za = xa(za, a));\n a = za;\n za = null;\n if (a && (ya(a, Aa), za ? x(\"95\") : void 0, fa)) throw a = ha, fa = !1, ha = null, a;\n}\n\nvar Ea = Math.random().toString(36).slice(2),\n Fa = \"__reactInternalInstance$\" + Ea,\n Ga = \"__reactEventHandlers$\" + Ea;\n\nfunction Ha(a) {\n if (a[Fa]) return a[Fa];\n\n for (; !a[Fa];) {\n if (a.parentNode) a = a.parentNode;else return null;\n }\n\n a = a[Fa];\n return 5 === a.tag || 6 === a.tag ? a : null;\n}\n\nfunction Ia(a) {\n a = a[Fa];\n return !a || 5 !== a.tag && 6 !== a.tag ? null : a;\n}\n\nfunction Ja(a) {\n if (5 === a.tag || 6 === a.tag) return a.stateNode;\n x(\"33\");\n}\n\nfunction Ka(a) {\n return a[Ga] || null;\n}\n\nfunction La(a) {\n do {\n a = a.return;\n } while (a && 5 !== a.tag);\n\n return a ? a : null;\n}\n\nfunction Ma(a, b, c) {\n if (b = Ca(a, c.dispatchConfig.phasedRegistrationNames[b])) c._dispatchListeners = xa(c._dispatchListeners, b), c._dispatchInstances = xa(c._dispatchInstances, a);\n}\n\nfunction Na(a) {\n if (a && a.dispatchConfig.phasedRegistrationNames) {\n for (var b = a._targetInst, c = []; b;) {\n c.push(b), b = La(b);\n }\n\n for (b = c.length; 0 < b--;) {\n Ma(c[b], \"captured\", a);\n }\n\n for (b = 0; b < c.length; b++) {\n Ma(c[b], \"bubbled\", a);\n }\n }\n}\n\nfunction Oa(a, b, c) {\n a && c && c.dispatchConfig.registrationName && (b = Ca(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = xa(c._dispatchListeners, b), c._dispatchInstances = xa(c._dispatchInstances, a));\n}\n\nfunction Pa(a) {\n a && a.dispatchConfig.registrationName && Oa(a._targetInst, null, a);\n}\n\nfunction Qa(a) {\n ya(a, Na);\n}\n\nvar Ra = !(\"undefined\" === typeof window || !window.document || !window.document.createElement);\n\nfunction Sa(a, b) {\n var c = {};\n c[a.toLowerCase()] = b.toLowerCase();\n c[\"Webkit\" + a] = \"webkit\" + b;\n c[\"Moz\" + a] = \"moz\" + b;\n return c;\n}\n\nvar Ta = {\n animationend: Sa(\"Animation\", \"AnimationEnd\"),\n animationiteration: Sa(\"Animation\", \"AnimationIteration\"),\n animationstart: Sa(\"Animation\", \"AnimationStart\"),\n transitionend: Sa(\"Transition\", \"TransitionEnd\")\n},\n Ua = {},\n Va = {};\nRa && (Va = document.createElement(\"div\").style, \"AnimationEvent\" in window || (delete Ta.animationend.animation, delete Ta.animationiteration.animation, delete Ta.animationstart.animation), \"TransitionEvent\" in window || delete Ta.transitionend.transition);\n\nfunction Wa(a) {\n if (Ua[a]) return Ua[a];\n if (!Ta[a]) return a;\n var b = Ta[a],\n c;\n\n for (c in b) {\n if (b.hasOwnProperty(c) && c in Va) return Ua[a] = b[c];\n }\n\n return a;\n}\n\nvar Xa = Wa(\"animationend\"),\n Ya = Wa(\"animationiteration\"),\n Za = Wa(\"animationstart\"),\n $a = Wa(\"transitionend\"),\n ab = \"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),\n bb = null,\n cb = null,\n db = null;\n\nfunction eb() {\n if (db) return db;\n var a,\n b = cb,\n c = b.length,\n d,\n e = \"value\" in bb ? bb.value : bb.textContent,\n f = e.length;\n\n for (a = 0; a < c && b[a] === e[a]; a++) {\n ;\n }\n\n var g = c - a;\n\n for (d = 1; d <= g && b[c - d] === e[f - d]; d++) {\n ;\n }\n\n return db = e.slice(a, 1 < d ? 1 - d : void 0);\n}\n\nfunction fb() {\n return !0;\n}\n\nfunction gb() {\n return !1;\n}\n\nfunction y(a, b, c, d) {\n this.dispatchConfig = a;\n this._targetInst = b;\n this.nativeEvent = c;\n a = this.constructor.Interface;\n\n for (var e in a) {\n a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : \"target\" === e ? this.target = d : this[e] = c[e]);\n }\n\n this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? fb : gb;\n this.isPropagationStopped = gb;\n return this;\n}\n\nn(y.prototype, {\n preventDefault: function preventDefault() {\n this.defaultPrevented = !0;\n var a = this.nativeEvent;\n a && (a.preventDefault ? a.preventDefault() : \"unknown\" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = fb);\n },\n stopPropagation: function stopPropagation() {\n var a = this.nativeEvent;\n a && (a.stopPropagation ? a.stopPropagation() : \"unknown\" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = fb);\n },\n persist: function persist() {\n this.isPersistent = fb;\n },\n isPersistent: gb,\n destructor: function destructor() {\n var a = this.constructor.Interface,\n b;\n\n for (b in a) {\n this[b] = null;\n }\n\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = gb;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\ny.Interface = {\n type: null,\n target: null,\n currentTarget: function currentTarget() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function timeStamp(a) {\n return a.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\n\ny.extend = function (a) {\n function b() {}\n\n function c() {\n return d.apply(this, arguments);\n }\n\n var d = this;\n b.prototype = d.prototype;\n var e = new b();\n n(e, c.prototype);\n c.prototype = e;\n c.prototype.constructor = c;\n c.Interface = n({}, d.Interface, a);\n c.extend = d.extend;\n hb(c);\n return c;\n};\n\nhb(y);\n\nfunction ib(a, b, c, d) {\n if (this.eventPool.length) {\n var e = this.eventPool.pop();\n this.call(e, a, b, c, d);\n return e;\n }\n\n return new this(a, b, c, d);\n}\n\nfunction jb(a) {\n a instanceof this ? void 0 : x(\"279\");\n a.destructor();\n 10 > this.eventPool.length && this.eventPool.push(a);\n}\n\nfunction hb(a) {\n a.eventPool = [];\n a.getPooled = ib;\n a.release = jb;\n}\n\nvar kb = y.extend({\n data: null\n}),\n lb = y.extend({\n data: null\n}),\n mb = [9, 13, 27, 32],\n nb = Ra && \"CompositionEvent\" in window,\n ob = null;\nRa && \"documentMode\" in document && (ob = document.documentMode);\nvar pb = Ra && \"TextEvent\" in window && !ob,\n qb = Ra && (!nb || ob && 8 < ob && 11 >= ob),\n rb = String.fromCharCode(32),\n sb = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: \"onBeforeInput\",\n captured: \"onBeforeInputCapture\"\n },\n dependencies: [\"compositionend\", \"keypress\", \"textInput\", \"paste\"]\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionEnd\",\n captured: \"onCompositionEndCapture\"\n },\n dependencies: \"blur compositionend keydown keypress keyup mousedown\".split(\" \")\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionStart\",\n captured: \"onCompositionStartCapture\"\n },\n dependencies: \"blur compositionstart keydown keypress keyup mousedown\".split(\" \")\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionUpdate\",\n captured: \"onCompositionUpdateCapture\"\n },\n dependencies: \"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")\n }\n},\n tb = !1;\n\nfunction ub(a, b) {\n switch (a) {\n case \"keyup\":\n return -1 !== mb.indexOf(b.keyCode);\n\n case \"keydown\":\n return 229 !== b.keyCode;\n\n case \"keypress\":\n case \"mousedown\":\n case \"blur\":\n return !0;\n\n default:\n return !1;\n }\n}\n\nfunction vb(a) {\n a = a.detail;\n return \"object\" === typeof a && \"data\" in a ? a.data : null;\n}\n\nvar wb = !1;\n\nfunction xb(a, b) {\n switch (a) {\n case \"compositionend\":\n return vb(b);\n\n case \"keypress\":\n if (32 !== b.which) return null;\n tb = !0;\n return rb;\n\n case \"textInput\":\n return a = b.data, a === rb && tb ? null : a;\n\n default:\n return null;\n }\n}\n\nfunction yb(a, b) {\n if (wb) return \"compositionend\" === a || !nb && ub(a, b) ? (a = eb(), db = cb = bb = null, wb = !1, a) : null;\n\n switch (a) {\n case \"paste\":\n return null;\n\n case \"keypress\":\n if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {\n if (b.char && 1 < b.char.length) return b.char;\n if (b.which) return String.fromCharCode(b.which);\n }\n\n return null;\n\n case \"compositionend\":\n return qb && \"ko\" !== b.locale ? null : b.data;\n\n default:\n return null;\n }\n}\n\nvar zb = {\n eventTypes: sb,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = void 0;\n var f = void 0;\n if (nb) b: {\n switch (a) {\n case \"compositionstart\":\n e = sb.compositionStart;\n break b;\n\n case \"compositionend\":\n e = sb.compositionEnd;\n break b;\n\n case \"compositionupdate\":\n e = sb.compositionUpdate;\n break b;\n }\n\n e = void 0;\n } else wb ? ub(a, c) && (e = sb.compositionEnd) : \"keydown\" === a && 229 === c.keyCode && (e = sb.compositionStart);\n e ? (qb && \"ko\" !== c.locale && (wb || e !== sb.compositionStart ? e === sb.compositionEnd && wb && (f = eb()) : (bb = d, cb = \"value\" in bb ? bb.value : bb.textContent, wb = !0)), e = kb.getPooled(e, b, c, d), f ? e.data = f : (f = vb(c), null !== f && (e.data = f)), Qa(e), f = e) : f = null;\n (a = pb ? xb(a, c) : yb(a, c)) ? (b = lb.getPooled(sb.beforeInput, b, c, d), b.data = a, Qa(b)) : b = null;\n return null === f ? b : null === b ? f : [f, b];\n }\n},\n Ab = null,\n Bb = null,\n Cb = null;\n\nfunction Db(a) {\n if (a = ua(a)) {\n \"function\" !== typeof Ab ? x(\"280\") : void 0;\n var b = ta(a.stateNode);\n Ab(a.stateNode, a.type, b);\n }\n}\n\nfunction Eb(a) {\n Bb ? Cb ? Cb.push(a) : Cb = [a] : Bb = a;\n}\n\nfunction Fb() {\n if (Bb) {\n var a = Bb,\n b = Cb;\n Cb = Bb = null;\n Db(a);\n if (b) for (a = 0; a < b.length; a++) {\n Db(b[a]);\n }\n }\n}\n\nfunction Gb(a, b) {\n return a(b);\n}\n\nfunction Hb(a, b, c) {\n return a(b, c);\n}\n\nfunction Ib() {}\n\nvar Jb = !1;\n\nfunction Kb(a, b) {\n if (Jb) return a(b);\n Jb = !0;\n\n try {\n return Gb(a, b);\n } finally {\n if (Jb = !1, null !== Bb || null !== Cb) Ib(), Fb();\n }\n}\n\nvar Lb = {\n color: !0,\n date: !0,\n datetime: !0,\n \"datetime-local\": !0,\n email: !0,\n month: !0,\n number: !0,\n password: !0,\n range: !0,\n search: !0,\n tel: !0,\n text: !0,\n time: !0,\n url: !0,\n week: !0\n};\n\nfunction Mb(a) {\n var b = a && a.nodeName && a.nodeName.toLowerCase();\n return \"input\" === b ? !!Lb[a.type] : \"textarea\" === b ? !0 : !1;\n}\n\nfunction Nb(a) {\n a = a.target || a.srcElement || window;\n a.correspondingUseElement && (a = a.correspondingUseElement);\n return 3 === a.nodeType ? a.parentNode : a;\n}\n\nfunction Ob(a) {\n if (!Ra) return !1;\n a = \"on\" + a;\n var b = a in document;\n b || (b = document.createElement(\"div\"), b.setAttribute(a, \"return;\"), b = \"function\" === typeof b[a]);\n return b;\n}\n\nfunction Pb(a) {\n var b = a.type;\n return (a = a.nodeName) && \"input\" === a.toLowerCase() && (\"checkbox\" === b || \"radio\" === b);\n}\n\nfunction Qb(a) {\n var b = Pb(a) ? \"checked\" : \"value\",\n c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),\n d = \"\" + a[b];\n\n if (!a.hasOwnProperty(b) && \"undefined\" !== typeof c && \"function\" === typeof c.get && \"function\" === typeof c.set) {\n var e = c.get,\n f = c.set;\n Object.defineProperty(a, b, {\n configurable: !0,\n get: function get() {\n return e.call(this);\n },\n set: function set(a) {\n d = \"\" + a;\n f.call(this, a);\n }\n });\n Object.defineProperty(a, b, {\n enumerable: c.enumerable\n });\n return {\n getValue: function getValue() {\n return d;\n },\n setValue: function setValue(a) {\n d = \"\" + a;\n },\n stopTracking: function stopTracking() {\n a._valueTracker = null;\n delete a[b];\n }\n };\n }\n}\n\nfunction Rb(a) {\n a._valueTracker || (a._valueTracker = Qb(a));\n}\n\nfunction Sb(a) {\n if (!a) return !1;\n var b = a._valueTracker;\n if (!b) return !0;\n var c = b.getValue();\n var d = \"\";\n a && (d = Pb(a) ? a.checked ? \"true\" : \"false\" : a.value);\n a = d;\n return a !== c ? (b.setValue(a), !0) : !1;\n}\n\nvar Tb = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\nTb.hasOwnProperty(\"ReactCurrentDispatcher\") || (Tb.ReactCurrentDispatcher = {\n current: null\n});\nvar Ub = /^(.*)[\\\\\\/]/,\n z = \"function\" === typeof Symbol && Symbol.for,\n Vb = z ? Symbol.for(\"react.element\") : 60103,\n Wb = z ? Symbol.for(\"react.portal\") : 60106,\n Xb = z ? Symbol.for(\"react.fragment\") : 60107,\n Yb = z ? Symbol.for(\"react.strict_mode\") : 60108,\n Zb = z ? Symbol.for(\"react.profiler\") : 60114,\n $b = z ? Symbol.for(\"react.provider\") : 60109,\n ac = z ? Symbol.for(\"react.context\") : 60110,\n bc = z ? Symbol.for(\"react.concurrent_mode\") : 60111,\n cc = z ? Symbol.for(\"react.forward_ref\") : 60112,\n dc = z ? Symbol.for(\"react.suspense\") : 60113,\n ec = z ? Symbol.for(\"react.memo\") : 60115,\n fc = z ? Symbol.for(\"react.lazy\") : 60116,\n gc = \"function\" === typeof Symbol && Symbol.iterator;\n\nfunction hc(a) {\n if (null === a || \"object\" !== typeof a) return null;\n a = gc && a[gc] || a[\"@@iterator\"];\n return \"function\" === typeof a ? a : null;\n}\n\nfunction ic(a) {\n if (null == a) return null;\n if (\"function\" === typeof a) return a.displayName || a.name || null;\n if (\"string\" === typeof a) return a;\n\n switch (a) {\n case bc:\n return \"ConcurrentMode\";\n\n case Xb:\n return \"Fragment\";\n\n case Wb:\n return \"Portal\";\n\n case Zb:\n return \"Profiler\";\n\n case Yb:\n return \"StrictMode\";\n\n case dc:\n return \"Suspense\";\n }\n\n if (\"object\" === typeof a) switch (a.$$typeof) {\n case ac:\n return \"Context.Consumer\";\n\n case $b:\n return \"Context.Provider\";\n\n case cc:\n var b = a.render;\n b = b.displayName || b.name || \"\";\n return a.displayName || (\"\" !== b ? \"ForwardRef(\" + b + \")\" : \"ForwardRef\");\n\n case ec:\n return ic(a.type);\n\n case fc:\n if (a = 1 === a._status ? a._result : null) return ic(a);\n }\n return null;\n}\n\nfunction jc(a) {\n var b = \"\";\n\n do {\n a: switch (a.tag) {\n case 3:\n case 4:\n case 6:\n case 7:\n case 10:\n case 9:\n var c = \"\";\n break a;\n\n default:\n var d = a._debugOwner,\n e = a._debugSource,\n f = ic(a.type);\n c = null;\n d && (c = ic(d.type));\n d = f;\n f = \"\";\n e ? f = \" (at \" + e.fileName.replace(Ub, \"\") + \":\" + e.lineNumber + \")\" : c && (f = \" (created by \" + c + \")\");\n c = \"\\n in \" + (d || \"Unknown\") + f;\n }\n\n b += c;\n a = a.return;\n } while (a);\n\n return b;\n}\n\nvar kc = /^[: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]*$/,\n lc = Object.prototype.hasOwnProperty,\n mc = {},\n nc = {};\n\nfunction oc(a) {\n if (lc.call(nc, a)) return !0;\n if (lc.call(mc, a)) return !1;\n if (kc.test(a)) return nc[a] = !0;\n mc[a] = !0;\n return !1;\n}\n\nfunction pc(a, b, c, d) {\n if (null !== c && 0 === c.type) return !1;\n\n switch (typeof b) {\n case \"function\":\n case \"symbol\":\n return !0;\n\n case \"boolean\":\n if (d) return !1;\n if (null !== c) return !c.acceptsBooleans;\n a = a.toLowerCase().slice(0, 5);\n return \"data-\" !== a && \"aria-\" !== a;\n\n default:\n return !1;\n }\n}\n\nfunction qc(a, b, c, d) {\n if (null === b || \"undefined\" === typeof b || pc(a, b, c, d)) return !0;\n if (d) return !1;\n if (null !== c) switch (c.type) {\n case 3:\n return !b;\n\n case 4:\n return !1 === b;\n\n case 5:\n return isNaN(b);\n\n case 6:\n return isNaN(b) || 1 > b;\n }\n return !1;\n}\n\nfunction C(a, b, c, d, e) {\n this.acceptsBooleans = 2 === b || 3 === b || 4 === b;\n this.attributeName = d;\n this.attributeNamespace = e;\n this.mustUseProperty = c;\n this.propertyName = a;\n this.type = b;\n}\n\nvar D = {};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function (a) {\n D[a] = new C(a, 0, !1, a, null);\n});\n[[\"acceptCharset\", \"accept-charset\"], [\"className\", \"class\"], [\"htmlFor\", \"for\"], [\"httpEquiv\", \"http-equiv\"]].forEach(function (a) {\n var b = a[0];\n D[b] = new C(b, 1, !1, a[1], null);\n});\n[\"contentEditable\", \"draggable\", \"spellCheck\", \"value\"].forEach(function (a) {\n D[a] = new C(a, 2, !1, a.toLowerCase(), null);\n});\n[\"autoReverse\", \"externalResourcesRequired\", \"focusable\", \"preserveAlpha\"].forEach(function (a) {\n D[a] = new C(a, 2, !1, a, null);\n});\n\"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function (a) {\n D[a] = new C(a, 3, !1, a.toLowerCase(), null);\n});\n[\"checked\", \"multiple\", \"muted\", \"selected\"].forEach(function (a) {\n D[a] = new C(a, 3, !0, a, null);\n});\n[\"capture\", \"download\"].forEach(function (a) {\n D[a] = new C(a, 4, !1, a, null);\n});\n[\"cols\", \"rows\", \"size\", \"span\"].forEach(function (a) {\n D[a] = new C(a, 6, !1, a, null);\n});\n[\"rowSpan\", \"start\"].forEach(function (a) {\n D[a] = new C(a, 5, !1, a.toLowerCase(), null);\n});\nvar rc = /[\\-:]([a-z])/g;\n\nfunction sc(a) {\n return a[1].toUpperCase();\n}\n\n\"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) {\n var b = a.replace(rc, sc);\n D[b] = new C(b, 1, !1, a, null);\n});\n\"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function (a) {\n var b = a.replace(rc, sc);\n D[b] = new C(b, 1, !1, a, \"http://www.w3.org/1999/xlink\");\n});\n[\"xml:base\", \"xml:lang\", \"xml:space\"].forEach(function (a) {\n var b = a.replace(rc, sc);\n D[b] = new C(b, 1, !1, a, \"http://www.w3.org/XML/1998/namespace\");\n});\n[\"tabIndex\", \"crossOrigin\"].forEach(function (a) {\n D[a] = new C(a, 1, !1, a.toLowerCase(), null);\n});\n\nfunction tc(a, b, c, d) {\n var e = D.hasOwnProperty(b) ? D[b] : null;\n 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;\n f || (qc(b, c, e, d) && (c = null), d || null === e ? oc(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))));\n}\n\nfunction uc(a) {\n switch (typeof a) {\n case \"boolean\":\n case \"number\":\n case \"object\":\n case \"string\":\n case \"undefined\":\n return a;\n\n default:\n return \"\";\n }\n}\n\nfunction vc(a, b) {\n var c = b.checked;\n return n({}, b, {\n defaultChecked: void 0,\n defaultValue: void 0,\n value: void 0,\n checked: null != c ? c : a._wrapperState.initialChecked\n });\n}\n\nfunction wc(a, b) {\n var c = null == b.defaultValue ? \"\" : b.defaultValue,\n d = null != b.checked ? b.checked : b.defaultChecked;\n c = uc(null != b.value ? b.value : c);\n a._wrapperState = {\n initialChecked: d,\n initialValue: c,\n controlled: \"checkbox\" === b.type || \"radio\" === b.type ? null != b.checked : null != b.value\n };\n}\n\nfunction xc(a, b) {\n b = b.checked;\n null != b && tc(a, \"checked\", b, !1);\n}\n\nfunction yc(a, b) {\n xc(a, b);\n var c = uc(b.value),\n d = b.type;\n if (null != c) {\n if (\"number\" === d) {\n if (0 === c && \"\" === a.value || a.value != c) a.value = \"\" + c;\n } else a.value !== \"\" + c && (a.value = \"\" + c);\n } else if (\"submit\" === d || \"reset\" === d) {\n a.removeAttribute(\"value\");\n return;\n }\n b.hasOwnProperty(\"value\") ? zc(a, b.type, c) : b.hasOwnProperty(\"defaultValue\") && zc(a, b.type, uc(b.defaultValue));\n null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);\n}\n\nfunction Ac(a, b, c) {\n if (b.hasOwnProperty(\"value\") || b.hasOwnProperty(\"defaultValue\")) {\n var d = b.type;\n if (!(\"submit\" !== d && \"reset\" !== d || void 0 !== b.value && null !== b.value)) return;\n b = \"\" + a._wrapperState.initialValue;\n c || b === a.value || (a.value = b);\n a.defaultValue = b;\n }\n\n c = a.name;\n \"\" !== c && (a.name = \"\");\n a.defaultChecked = !a.defaultChecked;\n a.defaultChecked = !!a._wrapperState.initialChecked;\n \"\" !== c && (a.name = c);\n}\n\nfunction zc(a, b, c) {\n if (\"number\" !== b || a.ownerDocument.activeElement !== a) null == c ? a.defaultValue = \"\" + a._wrapperState.initialValue : a.defaultValue !== \"\" + c && (a.defaultValue = \"\" + c);\n}\n\nvar Bc = {\n change: {\n phasedRegistrationNames: {\n bubbled: \"onChange\",\n captured: \"onChangeCapture\"\n },\n dependencies: \"blur change click focus input keydown keyup selectionchange\".split(\" \")\n }\n};\n\nfunction Cc(a, b, c) {\n a = y.getPooled(Bc.change, a, b, c);\n a.type = \"change\";\n Eb(c);\n Qa(a);\n return a;\n}\n\nvar Dc = null,\n Ec = null;\n\nfunction Fc(a) {\n Da(a);\n}\n\nfunction Gc(a) {\n var b = Ja(a);\n if (Sb(b)) return a;\n}\n\nfunction Hc(a, b) {\n if (\"change\" === a) return b;\n}\n\nvar Ic = !1;\nRa && (Ic = Ob(\"input\") && (!document.documentMode || 9 < document.documentMode));\n\nfunction Jc() {\n Dc && (Dc.detachEvent(\"onpropertychange\", Kc), Ec = Dc = null);\n}\n\nfunction Kc(a) {\n \"value\" === a.propertyName && Gc(Ec) && (a = Cc(Ec, a, Nb(a)), Kb(Fc, a));\n}\n\nfunction Lc(a, b, c) {\n \"focus\" === a ? (Jc(), Dc = b, Ec = c, Dc.attachEvent(\"onpropertychange\", Kc)) : \"blur\" === a && Jc();\n}\n\nfunction Mc(a) {\n if (\"selectionchange\" === a || \"keyup\" === a || \"keydown\" === a) return Gc(Ec);\n}\n\nfunction Nc(a, b) {\n if (\"click\" === a) return Gc(b);\n}\n\nfunction Oc(a, b) {\n if (\"input\" === a || \"change\" === a) return Gc(b);\n}\n\nvar Pc = {\n eventTypes: Bc,\n _isInputEventSupported: Ic,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = b ? Ja(b) : window,\n f = void 0,\n g = void 0,\n h = e.nodeName && e.nodeName.toLowerCase();\n \"select\" === h || \"input\" === h && \"file\" === e.type ? f = Hc : Mb(e) ? Ic ? f = Oc : (f = Mc, g = Lc) : (h = e.nodeName) && \"input\" === h.toLowerCase() && (\"checkbox\" === e.type || \"radio\" === e.type) && (f = Nc);\n if (f && (f = f(a, b))) return Cc(f, c, d);\n g && g(a, e, b);\n \"blur\" === a && (a = e._wrapperState) && a.controlled && \"number\" === e.type && zc(e, \"number\", e.value);\n }\n},\n Qc = y.extend({\n view: null,\n detail: null\n}),\n Rc = {\n Alt: \"altKey\",\n Control: \"ctrlKey\",\n Meta: \"metaKey\",\n Shift: \"shiftKey\"\n};\n\nfunction Sc(a) {\n var b = this.nativeEvent;\n return b.getModifierState ? b.getModifierState(a) : (a = Rc[a]) ? !!b[a] : !1;\n}\n\nfunction Tc() {\n return Sc;\n}\n\nvar Uc = 0,\n Vc = 0,\n Wc = !1,\n Xc = !1,\n Yc = Qc.extend({\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n pageX: null,\n pageY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: Tc,\n button: null,\n buttons: null,\n relatedTarget: function relatedTarget(a) {\n return a.relatedTarget || (a.fromElement === a.srcElement ? a.toElement : a.fromElement);\n },\n movementX: function movementX(a) {\n if (\"movementX\" in a) return a.movementX;\n var b = Uc;\n Uc = a.screenX;\n return Wc ? \"mousemove\" === a.type ? a.screenX - b : 0 : (Wc = !0, 0);\n },\n movementY: function movementY(a) {\n if (\"movementY\" in a) return a.movementY;\n var b = Vc;\n Vc = a.screenY;\n return Xc ? \"mousemove\" === a.type ? a.screenY - b : 0 : (Xc = !0, 0);\n }\n}),\n Zc = Yc.extend({\n pointerId: null,\n width: null,\n height: null,\n pressure: null,\n tangentialPressure: null,\n tiltX: null,\n tiltY: null,\n twist: null,\n pointerType: null,\n isPrimary: null\n}),\n $c = {\n mouseEnter: {\n registrationName: \"onMouseEnter\",\n dependencies: [\"mouseout\", \"mouseover\"]\n },\n mouseLeave: {\n registrationName: \"onMouseLeave\",\n dependencies: [\"mouseout\", \"mouseover\"]\n },\n pointerEnter: {\n registrationName: \"onPointerEnter\",\n dependencies: [\"pointerout\", \"pointerover\"]\n },\n pointerLeave: {\n registrationName: \"onPointerLeave\",\n dependencies: [\"pointerout\", \"pointerover\"]\n }\n},\n ad = {\n eventTypes: $c,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = \"mouseover\" === a || \"pointerover\" === a,\n f = \"mouseout\" === a || \"pointerout\" === a;\n if (e && (c.relatedTarget || c.fromElement) || !f && !e) return null;\n e = d.window === d ? d : (e = d.ownerDocument) ? e.defaultView || e.parentWindow : window;\n f ? (f = b, b = (b = c.relatedTarget || c.toElement) ? Ha(b) : null) : f = null;\n if (f === b) return null;\n var g = void 0,\n h = void 0,\n l = void 0,\n k = void 0;\n if (\"mouseout\" === a || \"mouseover\" === a) g = Yc, h = $c.mouseLeave, l = $c.mouseEnter, k = \"mouse\";else if (\"pointerout\" === a || \"pointerover\" === a) g = Zc, h = $c.pointerLeave, l = $c.pointerEnter, k = \"pointer\";\n var m = null == f ? e : Ja(f);\n e = null == b ? e : Ja(b);\n a = g.getPooled(h, f, c, d);\n a.type = k + \"leave\";\n a.target = m;\n a.relatedTarget = e;\n c = g.getPooled(l, b, c, d);\n c.type = k + \"enter\";\n c.target = e;\n c.relatedTarget = m;\n d = b;\n if (f && d) a: {\n b = f;\n e = d;\n k = 0;\n\n for (g = b; g; g = La(g)) {\n k++;\n }\n\n g = 0;\n\n for (l = e; l; l = La(l)) {\n g++;\n }\n\n for (; 0 < k - g;) {\n b = La(b), k--;\n }\n\n for (; 0 < g - k;) {\n e = La(e), g--;\n }\n\n for (; k--;) {\n if (b === e || b === e.alternate) break a;\n b = La(b);\n e = La(e);\n }\n\n b = null;\n } else b = null;\n e = b;\n\n for (b = []; f && f !== e;) {\n k = f.alternate;\n if (null !== k && k === e) break;\n b.push(f);\n f = La(f);\n }\n\n for (f = []; d && d !== e;) {\n k = d.alternate;\n if (null !== k && k === e) break;\n f.push(d);\n d = La(d);\n }\n\n for (d = 0; d < b.length; d++) {\n Oa(b[d], \"bubbled\", a);\n }\n\n for (d = f.length; 0 < d--;) {\n Oa(f[d], \"captured\", c);\n }\n\n return [a, c];\n }\n};\n\nfunction bd(a, b) {\n return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;\n}\n\nvar cd = Object.prototype.hasOwnProperty;\n\nfunction dd(a, b) {\n if (bd(a, b)) return !0;\n if (\"object\" !== typeof a || null === a || \"object\" !== typeof b || null === b) return !1;\n var c = Object.keys(a),\n d = Object.keys(b);\n if (c.length !== d.length) return !1;\n\n for (d = 0; d < c.length; d++) {\n if (!cd.call(b, c[d]) || !bd(a[c[d]], b[c[d]])) return !1;\n }\n\n return !0;\n}\n\nfunction ed(a) {\n var b = a;\n if (a.alternate) for (; b.return;) {\n b = b.return;\n } else {\n if (0 !== (b.effectTag & 2)) return 1;\n\n for (; b.return;) {\n if (b = b.return, 0 !== (b.effectTag & 2)) return 1;\n }\n }\n return 3 === b.tag ? 2 : 3;\n}\n\nfunction fd(a) {\n 2 !== ed(a) ? x(\"188\") : void 0;\n}\n\nfunction gd(a) {\n var b = a.alternate;\n if (!b) return b = ed(a), 3 === b ? x(\"188\") : void 0, 1 === b ? null : a;\n\n for (var c = a, d = b;;) {\n var e = c.return,\n f = e ? e.alternate : null;\n if (!e || !f) break;\n\n if (e.child === f.child) {\n for (var g = e.child; g;) {\n if (g === c) return fd(e), a;\n if (g === d) return fd(e), b;\n g = g.sibling;\n }\n\n x(\"188\");\n }\n\n if (c.return !== d.return) c = e, d = f;else {\n g = !1;\n\n for (var h = e.child; h;) {\n if (h === c) {\n g = !0;\n c = e;\n d = f;\n break;\n }\n\n if (h === d) {\n g = !0;\n d = e;\n c = f;\n break;\n }\n\n h = h.sibling;\n }\n\n if (!g) {\n for (h = f.child; h;) {\n if (h === c) {\n g = !0;\n c = f;\n d = e;\n break;\n }\n\n if (h === d) {\n g = !0;\n d = f;\n c = e;\n break;\n }\n\n h = h.sibling;\n }\n\n g ? void 0 : x(\"189\");\n }\n }\n c.alternate !== d ? x(\"190\") : void 0;\n }\n\n 3 !== c.tag ? x(\"188\") : void 0;\n return c.stateNode.current === c ? a : b;\n}\n\nfunction hd(a) {\n a = gd(a);\n if (!a) return null;\n\n for (var b = a;;) {\n if (5 === b.tag || 6 === b.tag) return b;\n if (b.child) b.child.return = b, b = b.child;else {\n if (b === a) break;\n\n for (; !b.sibling;) {\n if (!b.return || b.return === a) return null;\n b = b.return;\n }\n\n b.sibling.return = b.return;\n b = b.sibling;\n }\n }\n\n return null;\n}\n\nvar id = y.extend({\n animationName: null,\n elapsedTime: null,\n pseudoElement: null\n}),\n jd = y.extend({\n clipboardData: function clipboardData(a) {\n return \"clipboardData\" in a ? a.clipboardData : window.clipboardData;\n }\n}),\n kd = Qc.extend({\n relatedTarget: null\n});\n\nfunction ld(a) {\n var b = a.keyCode;\n \"charCode\" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;\n 10 === a && (a = 13);\n return 32 <= a || 13 === a ? a : 0;\n}\n\nvar md = {\n Esc: \"Escape\",\n Spacebar: \" \",\n Left: \"ArrowLeft\",\n Up: \"ArrowUp\",\n Right: \"ArrowRight\",\n Down: \"ArrowDown\",\n Del: \"Delete\",\n Win: \"OS\",\n Menu: \"ContextMenu\",\n Apps: \"ContextMenu\",\n Scroll: \"ScrollLock\",\n MozPrintableKey: \"Unidentified\"\n},\n nd = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 12: \"Clear\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 19: \"Pause\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 45: \"Insert\",\n 46: \"Delete\",\n 112: \"F1\",\n 113: \"F2\",\n 114: \"F3\",\n 115: \"F4\",\n 116: \"F5\",\n 117: \"F6\",\n 118: \"F7\",\n 119: \"F8\",\n 120: \"F9\",\n 121: \"F10\",\n 122: \"F11\",\n 123: \"F12\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 224: \"Meta\"\n},\n od = Qc.extend({\n key: function key(a) {\n if (a.key) {\n var b = md[a.key] || a.key;\n if (\"Unidentified\" !== b) return b;\n }\n\n return \"keypress\" === a.type ? (a = ld(a), 13 === a ? \"Enter\" : String.fromCharCode(a)) : \"keydown\" === a.type || \"keyup\" === a.type ? nd[a.keyCode] || \"Unidentified\" : \"\";\n },\n location: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n repeat: null,\n locale: null,\n getModifierState: Tc,\n charCode: function charCode(a) {\n return \"keypress\" === a.type ? ld(a) : 0;\n },\n keyCode: function keyCode(a) {\n return \"keydown\" === a.type || \"keyup\" === a.type ? a.keyCode : 0;\n },\n which: function which(a) {\n return \"keypress\" === a.type ? ld(a) : \"keydown\" === a.type || \"keyup\" === a.type ? a.keyCode : 0;\n }\n}),\n pd = Yc.extend({\n dataTransfer: null\n}),\n qd = Qc.extend({\n touches: null,\n targetTouches: null,\n changedTouches: null,\n altKey: null,\n metaKey: null,\n ctrlKey: null,\n shiftKey: null,\n getModifierState: Tc\n}),\n rd = y.extend({\n propertyName: null,\n elapsedTime: null,\n pseudoElement: null\n}),\n sd = Yc.extend({\n deltaX: function deltaX(a) {\n return \"deltaX\" in a ? a.deltaX : \"wheelDeltaX\" in a ? -a.wheelDeltaX : 0;\n },\n deltaY: function deltaY(a) {\n return \"deltaY\" in a ? a.deltaY : \"wheelDeltaY\" in a ? -a.wheelDeltaY : \"wheelDelta\" in a ? -a.wheelDelta : 0;\n },\n deltaZ: null,\n deltaMode: null\n}),\n td = [[\"abort\", \"abort\"], [Xa, \"animationEnd\"], [Ya, \"animationIteration\"], [Za, \"animationStart\"], [\"canplay\", \"canPlay\"], [\"canplaythrough\", \"canPlayThrough\"], [\"drag\", \"drag\"], [\"dragenter\", \"dragEnter\"], [\"dragexit\", \"dragExit\"], [\"dragleave\", \"dragLeave\"], [\"dragover\", \"dragOver\"], [\"durationchange\", \"durationChange\"], [\"emptied\", \"emptied\"], [\"encrypted\", \"encrypted\"], [\"ended\", \"ended\"], [\"error\", \"error\"], [\"gotpointercapture\", \"gotPointerCapture\"], [\"load\", \"load\"], [\"loadeddata\", \"loadedData\"], [\"loadedmetadata\", \"loadedMetadata\"], [\"loadstart\", \"loadStart\"], [\"lostpointercapture\", \"lostPointerCapture\"], [\"mousemove\", \"mouseMove\"], [\"mouseout\", \"mouseOut\"], [\"mouseover\", \"mouseOver\"], [\"playing\", \"playing\"], [\"pointermove\", \"pointerMove\"], [\"pointerout\", \"pointerOut\"], [\"pointerover\", \"pointerOver\"], [\"progress\", \"progress\"], [\"scroll\", \"scroll\"], [\"seeking\", \"seeking\"], [\"stalled\", \"stalled\"], [\"suspend\", \"suspend\"], [\"timeupdate\", \"timeUpdate\"], [\"toggle\", \"toggle\"], [\"touchmove\", \"touchMove\"], [$a, \"transitionEnd\"], [\"waiting\", \"waiting\"], [\"wheel\", \"wheel\"]],\n ud = {},\n vd = {};\n\nfunction wd(a, b) {\n var c = a[0];\n a = a[1];\n var d = \"on\" + (a[0].toUpperCase() + a.slice(1));\n b = {\n phasedRegistrationNames: {\n bubbled: d,\n captured: d + \"Capture\"\n },\n dependencies: [c],\n isInteractive: b\n };\n ud[a] = b;\n vd[c] = b;\n}\n\n[[\"blur\", \"blur\"], [\"cancel\", \"cancel\"], [\"click\", \"click\"], [\"close\", \"close\"], [\"contextmenu\", \"contextMenu\"], [\"copy\", \"copy\"], [\"cut\", \"cut\"], [\"auxclick\", \"auxClick\"], [\"dblclick\", \"doubleClick\"], [\"dragend\", \"dragEnd\"], [\"dragstart\", \"dragStart\"], [\"drop\", \"drop\"], [\"focus\", \"focus\"], [\"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\"]].forEach(function (a) {\n wd(a, !0);\n});\ntd.forEach(function (a) {\n wd(a, !1);\n});\nvar xd = {\n eventTypes: ud,\n isInteractiveTopLevelEventType: function isInteractiveTopLevelEventType(a) {\n a = vd[a];\n return void 0 !== a && !0 === a.isInteractive;\n },\n extractEvents: function extractEvents(a, b, c, d) {\n var e = vd[a];\n if (!e) return null;\n\n switch (a) {\n case \"keypress\":\n if (0 === ld(c)) return null;\n\n case \"keydown\":\n case \"keyup\":\n a = od;\n break;\n\n case \"blur\":\n case \"focus\":\n a = kd;\n break;\n\n case \"click\":\n if (2 === c.button) return null;\n\n case \"auxclick\":\n case \"dblclick\":\n case \"mousedown\":\n case \"mousemove\":\n case \"mouseup\":\n case \"mouseout\":\n case \"mouseover\":\n case \"contextmenu\":\n a = Yc;\n break;\n\n case \"drag\":\n case \"dragend\":\n case \"dragenter\":\n case \"dragexit\":\n case \"dragleave\":\n case \"dragover\":\n case \"dragstart\":\n case \"drop\":\n a = pd;\n break;\n\n case \"touchcancel\":\n case \"touchend\":\n case \"touchmove\":\n case \"touchstart\":\n a = qd;\n break;\n\n case Xa:\n case Ya:\n case Za:\n a = id;\n break;\n\n case $a:\n a = rd;\n break;\n\n case \"scroll\":\n a = Qc;\n break;\n\n case \"wheel\":\n a = sd;\n break;\n\n case \"copy\":\n case \"cut\":\n case \"paste\":\n a = jd;\n break;\n\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n case \"pointercancel\":\n case \"pointerdown\":\n case \"pointermove\":\n case \"pointerout\":\n case \"pointerover\":\n case \"pointerup\":\n a = Zc;\n break;\n\n default:\n a = y;\n }\n\n b = a.getPooled(e, b, c, d);\n Qa(b);\n return b;\n }\n},\n yd = xd.isInteractiveTopLevelEventType,\n zd = [];\n\nfunction Ad(a) {\n var b = a.targetInst,\n c = b;\n\n do {\n if (!c) {\n a.ancestors.push(c);\n break;\n }\n\n var d;\n\n for (d = c; d.return;) {\n d = d.return;\n }\n\n d = 3 !== d.tag ? null : d.stateNode.containerInfo;\n if (!d) break;\n a.ancestors.push(c);\n c = Ha(d);\n } while (c);\n\n for (c = 0; c < a.ancestors.length; c++) {\n b = a.ancestors[c];\n var e = Nb(a.nativeEvent);\n d = a.topLevelType;\n\n for (var f = a.nativeEvent, g = null, h = 0; h < oa.length; h++) {\n var l = oa[h];\n l && (l = l.extractEvents(d, b, f, e)) && (g = xa(g, l));\n }\n\n Da(g);\n }\n}\n\nvar Bd = !0;\n\nfunction E(a, b) {\n if (!b) return null;\n var c = (yd(a) ? Cd : Dd).bind(null, a);\n b.addEventListener(a, c, !1);\n}\n\nfunction Ed(a, b) {\n if (!b) return null;\n var c = (yd(a) ? Cd : Dd).bind(null, a);\n b.addEventListener(a, c, !0);\n}\n\nfunction Cd(a, b) {\n Hb(Dd, a, b);\n}\n\nfunction Dd(a, b) {\n if (Bd) {\n var c = Nb(b);\n c = Ha(c);\n null === c || \"number\" !== typeof c.tag || 2 === ed(c) || (c = null);\n\n if (zd.length) {\n var d = zd.pop();\n d.topLevelType = a;\n d.nativeEvent = b;\n d.targetInst = c;\n a = d;\n } else a = {\n topLevelType: a,\n nativeEvent: b,\n targetInst: c,\n ancestors: []\n };\n\n try {\n Kb(Ad, a);\n } finally {\n a.topLevelType = null, a.nativeEvent = null, a.targetInst = null, a.ancestors.length = 0, 10 > zd.length && zd.push(a);\n }\n }\n}\n\nvar Fd = {},\n Gd = 0,\n Hd = \"_reactListenersID\" + (\"\" + Math.random()).slice(2);\n\nfunction Id(a) {\n Object.prototype.hasOwnProperty.call(a, Hd) || (a[Hd] = Gd++, Fd[a[Hd]] = {});\n return Fd[a[Hd]];\n}\n\nfunction Jd(a) {\n a = a || (\"undefined\" !== typeof document ? document : void 0);\n if (\"undefined\" === typeof a) return null;\n\n try {\n return a.activeElement || a.body;\n } catch (b) {\n return a.body;\n }\n}\n\nfunction Kd(a) {\n for (; a && a.firstChild;) {\n a = a.firstChild;\n }\n\n return a;\n}\n\nfunction Ld(a, b) {\n var c = Kd(a);\n a = 0;\n\n for (var d; c;) {\n if (3 === c.nodeType) {\n d = a + c.textContent.length;\n if (a <= b && d >= b) return {\n node: c,\n offset: b - a\n };\n a = d;\n }\n\n a: {\n for (; c;) {\n if (c.nextSibling) {\n c = c.nextSibling;\n break a;\n }\n\n c = c.parentNode;\n }\n\n c = void 0;\n }\n\n c = Kd(c);\n }\n}\n\nfunction Md(a, b) {\n return a && b ? a === b ? !0 : a && 3 === a.nodeType ? !1 : b && 3 === b.nodeType ? Md(a, b.parentNode) : \"contains\" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : !1 : !1;\n}\n\nfunction Nd() {\n for (var a = window, b = Jd(); b instanceof a.HTMLIFrameElement;) {\n try {\n var c = \"string\" === typeof b.contentWindow.location.href;\n } catch (d) {\n c = !1;\n }\n\n if (c) a = b.contentWindow;else break;\n b = Jd(a.document);\n }\n\n return b;\n}\n\nfunction Od(a) {\n var b = a && a.nodeName && a.nodeName.toLowerCase();\n return b && (\"input\" === b && (\"text\" === a.type || \"search\" === a.type || \"tel\" === a.type || \"url\" === a.type || \"password\" === a.type) || \"textarea\" === b || \"true\" === a.contentEditable);\n}\n\nfunction Pd() {\n var a = Nd();\n\n if (Od(a)) {\n if (\"selectionStart\" in a) var b = {\n start: a.selectionStart,\n end: a.selectionEnd\n };else a: {\n b = (b = a.ownerDocument) && b.defaultView || window;\n var c = b.getSelection && b.getSelection();\n\n if (c && 0 !== c.rangeCount) {\n b = c.anchorNode;\n var d = c.anchorOffset,\n e = c.focusNode;\n c = c.focusOffset;\n\n try {\n b.nodeType, e.nodeType;\n } catch (A) {\n b = null;\n break a;\n }\n\n var f = 0,\n g = -1,\n h = -1,\n l = 0,\n k = 0,\n m = a,\n p = null;\n\n b: for (;;) {\n for (var t;;) {\n m !== b || 0 !== d && 3 !== m.nodeType || (g = f + d);\n m !== e || 0 !== c && 3 !== m.nodeType || (h = f + c);\n 3 === m.nodeType && (f += m.nodeValue.length);\n if (null === (t = m.firstChild)) break;\n p = m;\n m = t;\n }\n\n for (;;) {\n if (m === a) break b;\n p === b && ++l === d && (g = f);\n p === e && ++k === c && (h = f);\n if (null !== (t = m.nextSibling)) break;\n m = p;\n p = m.parentNode;\n }\n\n m = t;\n }\n\n b = -1 === g || -1 === h ? null : {\n start: g,\n end: h\n };\n } else b = null;\n }\n b = b || {\n start: 0,\n end: 0\n };\n } else b = null;\n\n return {\n focusedElem: a,\n selectionRange: b\n };\n}\n\nfunction Qd(a) {\n var b = Nd(),\n c = a.focusedElem,\n d = a.selectionRange;\n\n if (b !== c && c && c.ownerDocument && Md(c.ownerDocument.documentElement, c)) {\n if (null !== d && Od(c)) if (b = d.start, a = d.end, void 0 === a && (a = b), \"selectionStart\" in c) c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {\n a = a.getSelection();\n var e = c.textContent.length,\n f = Math.min(d.start, e);\n d = void 0 === d.end ? f : Math.min(d.end, e);\n !a.extend && f > d && (e = d, d = f, f = e);\n e = Ld(c, f);\n var g = Ld(c, d);\n e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));\n }\n b = [];\n\n for (a = c; a = a.parentNode;) {\n 1 === a.nodeType && b.push({\n element: a,\n left: a.scrollLeft,\n top: a.scrollTop\n });\n }\n\n \"function\" === typeof c.focus && c.focus();\n\n for (c = 0; c < b.length; c++) {\n a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;\n }\n }\n}\n\nvar Rd = Ra && \"documentMode\" in document && 11 >= document.documentMode,\n Sd = {\n select: {\n phasedRegistrationNames: {\n bubbled: \"onSelect\",\n captured: \"onSelectCapture\"\n },\n dependencies: \"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")\n }\n},\n Td = null,\n Ud = null,\n Vd = null,\n Wd = !1;\n\nfunction Xd(a, b) {\n var c = b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument;\n if (Wd || null == Td || Td !== Jd(c)) return null;\n c = Td;\n \"selectionStart\" in c && Od(c) ? c = {\n start: c.selectionStart,\n end: c.selectionEnd\n } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = {\n anchorNode: c.anchorNode,\n anchorOffset: c.anchorOffset,\n focusNode: c.focusNode,\n focusOffset: c.focusOffset\n });\n return Vd && dd(Vd, c) ? null : (Vd = c, a = y.getPooled(Sd.select, Ud, a, b), a.type = \"select\", a.target = Td, Qa(a), a);\n}\n\nvar Yd = {\n eventTypes: Sd,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = d.window === d ? d.document : 9 === d.nodeType ? d : d.ownerDocument,\n f;\n\n if (!(f = !e)) {\n a: {\n e = Id(e);\n f = sa.onSelect;\n\n for (var g = 0; g < f.length; g++) {\n var h = f[g];\n\n if (!e.hasOwnProperty(h) || !e[h]) {\n e = !1;\n break a;\n }\n }\n\n e = !0;\n }\n\n f = !e;\n }\n\n if (f) return null;\n e = b ? Ja(b) : window;\n\n switch (a) {\n case \"focus\":\n if (Mb(e) || \"true\" === e.contentEditable) Td = e, Ud = b, Vd = null;\n break;\n\n case \"blur\":\n Vd = Ud = Td = null;\n break;\n\n case \"mousedown\":\n Wd = !0;\n break;\n\n case \"contextmenu\":\n case \"mouseup\":\n case \"dragend\":\n return Wd = !1, Xd(c, d);\n\n case \"selectionchange\":\n if (Rd) break;\n\n case \"keydown\":\n case \"keyup\":\n return Xd(c, d);\n }\n\n return null;\n }\n};\nBa.injectEventPluginOrder(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));\nta = Ka;\nua = Ia;\nva = Ja;\nBa.injectEventPluginsByName({\n SimpleEventPlugin: xd,\n EnterLeaveEventPlugin: ad,\n ChangeEventPlugin: Pc,\n SelectEventPlugin: Yd,\n BeforeInputEventPlugin: zb\n});\n\nfunction Zd(a) {\n var b = \"\";\n aa.Children.forEach(a, function (a) {\n null != a && (b += a);\n });\n return b;\n}\n\nfunction $d(a, b) {\n a = n({\n children: void 0\n }, b);\n if (b = Zd(b.children)) a.children = b;\n return a;\n}\n\nfunction ae(a, b, c, d) {\n a = a.options;\n\n if (b) {\n b = {};\n\n for (var e = 0; e < c.length; e++) {\n b[\"$\" + c[e]] = !0;\n }\n\n for (c = 0; c < a.length; c++) {\n e = b.hasOwnProperty(\"$\" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);\n }\n } else {\n c = \"\" + uc(c);\n b = null;\n\n for (e = 0; e < a.length; e++) {\n if (a[e].value === c) {\n a[e].selected = !0;\n d && (a[e].defaultSelected = !0);\n return;\n }\n\n null !== b || a[e].disabled || (b = a[e]);\n }\n\n null !== b && (b.selected = !0);\n }\n}\n\nfunction be(a, b) {\n null != b.dangerouslySetInnerHTML ? x(\"91\") : void 0;\n return n({}, b, {\n value: void 0,\n defaultValue: void 0,\n children: \"\" + a._wrapperState.initialValue\n });\n}\n\nfunction ce(a, b) {\n var c = b.value;\n null == c && (c = b.defaultValue, b = b.children, null != b && (null != c ? x(\"92\") : void 0, Array.isArray(b) && (1 >= b.length ? void 0 : x(\"93\"), b = b[0]), c = b), null == c && (c = \"\"));\n a._wrapperState = {\n initialValue: uc(c)\n };\n}\n\nfunction de(a, b) {\n var c = uc(b.value),\n d = uc(b.defaultValue);\n null != c && (c = \"\" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));\n null != d && (a.defaultValue = \"\" + d);\n}\n\nfunction ee(a) {\n var b = a.textContent;\n b === a._wrapperState.initialValue && (a.value = b);\n}\n\nvar fe = {\n html: \"http://www.w3.org/1999/xhtml\",\n mathml: \"http://www.w3.org/1998/Math/MathML\",\n svg: \"http://www.w3.org/2000/svg\"\n};\n\nfunction ge(a) {\n switch (a) {\n case \"svg\":\n return \"http://www.w3.org/2000/svg\";\n\n case \"math\":\n return \"http://www.w3.org/1998/Math/MathML\";\n\n default:\n return \"http://www.w3.org/1999/xhtml\";\n }\n}\n\nfunction he(a, b) {\n return null == a || \"http://www.w3.org/1999/xhtml\" === a ? ge(b) : \"http://www.w3.org/2000/svg\" === a && \"foreignObject\" === b ? \"http://www.w3.org/1999/xhtml\" : a;\n}\n\nvar ie = void 0,\n je = function (a) {\n return \"undefined\" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function (b, c, d, e) {\n MSApp.execUnsafeLocalFunction(function () {\n return a(b, c, d, e);\n });\n } : a;\n}(function (a, b) {\n if (a.namespaceURI !== fe.svg || \"innerHTML\" in a) a.innerHTML = b;else {\n ie = ie || document.createElement(\"div\");\n ie.innerHTML = \"\";\n\n for (b = ie.firstChild; a.firstChild;) {\n a.removeChild(a.firstChild);\n }\n\n for (; b.firstChild;) {\n a.appendChild(b.firstChild);\n }\n }\n});\n\nfunction ke(a, b) {\n if (b) {\n var c = a.firstChild;\n\n if (c && c === a.lastChild && 3 === c.nodeType) {\n c.nodeValue = b;\n return;\n }\n }\n\n a.textContent = b;\n}\n\nvar le = {\n animationIterationCount: !0,\n borderImageOutset: !0,\n borderImageSlice: !0,\n borderImageWidth: !0,\n boxFlex: !0,\n boxFlexGroup: !0,\n boxOrdinalGroup: !0,\n columnCount: !0,\n columns: !0,\n flex: !0,\n flexGrow: !0,\n flexPositive: !0,\n flexShrink: !0,\n flexNegative: !0,\n flexOrder: !0,\n gridArea: !0,\n gridRow: !0,\n gridRowEnd: !0,\n gridRowSpan: !0,\n gridRowStart: !0,\n gridColumn: !0,\n gridColumnEnd: !0,\n gridColumnSpan: !0,\n gridColumnStart: !0,\n fontWeight: !0,\n lineClamp: !0,\n lineHeight: !0,\n opacity: !0,\n order: !0,\n orphans: !0,\n tabSize: !0,\n widows: !0,\n zIndex: !0,\n zoom: !0,\n fillOpacity: !0,\n floodOpacity: !0,\n stopOpacity: !0,\n strokeDasharray: !0,\n strokeDashoffset: !0,\n strokeMiterlimit: !0,\n strokeOpacity: !0,\n strokeWidth: !0\n},\n me = [\"Webkit\", \"ms\", \"Moz\", \"O\"];\nObject.keys(le).forEach(function (a) {\n me.forEach(function (b) {\n b = b + a.charAt(0).toUpperCase() + a.substring(1);\n le[b] = le[a];\n });\n});\n\nfunction ne(a, b, c) {\n return null == b || \"boolean\" === typeof b || \"\" === b ? \"\" : c || \"number\" !== typeof b || 0 === b || le.hasOwnProperty(a) && le[a] ? (\"\" + b).trim() : b + \"px\";\n}\n\nfunction oe(a, b) {\n a = a.style;\n\n for (var c in b) {\n if (b.hasOwnProperty(c)) {\n var d = 0 === c.indexOf(\"--\"),\n e = ne(c, b[c], d);\n \"float\" === c && (c = \"cssFloat\");\n d ? a.setProperty(c, e) : a[c] = e;\n }\n }\n}\n\nvar pe = n({\n menuitem: !0\n}, {\n area: !0,\n base: !0,\n br: !0,\n col: !0,\n embed: !0,\n hr: !0,\n img: !0,\n input: !0,\n keygen: !0,\n link: !0,\n meta: !0,\n param: !0,\n source: !0,\n track: !0,\n wbr: !0\n});\n\nfunction qe(a, b) {\n b && (pe[a] && (null != b.children || null != b.dangerouslySetInnerHTML ? x(\"137\", a, \"\") : void 0), null != b.dangerouslySetInnerHTML && (null != b.children ? x(\"60\") : void 0, \"object\" === typeof b.dangerouslySetInnerHTML && \"__html\" in b.dangerouslySetInnerHTML ? void 0 : x(\"61\")), null != b.style && \"object\" !== typeof b.style ? x(\"62\", \"\") : void 0);\n}\n\nfunction re(a, b) {\n if (-1 === a.indexOf(\"-\")) return \"string\" === typeof b.is;\n\n switch (a) {\n case \"annotation-xml\":\n case \"color-profile\":\n case \"font-face\":\n case \"font-face-src\":\n case \"font-face-uri\":\n case \"font-face-format\":\n case \"font-face-name\":\n case \"missing-glyph\":\n return !1;\n\n default:\n return !0;\n }\n}\n\nfunction se(a, b) {\n a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;\n var c = Id(a);\n b = sa[b];\n\n for (var d = 0; d < b.length; d++) {\n var e = b[d];\n\n if (!c.hasOwnProperty(e) || !c[e]) {\n switch (e) {\n case \"scroll\":\n Ed(\"scroll\", a);\n break;\n\n case \"focus\":\n case \"blur\":\n Ed(\"focus\", a);\n Ed(\"blur\", a);\n c.blur = !0;\n c.focus = !0;\n break;\n\n case \"cancel\":\n case \"close\":\n Ob(e) && Ed(e, a);\n break;\n\n case \"invalid\":\n case \"submit\":\n case \"reset\":\n break;\n\n default:\n -1 === ab.indexOf(e) && E(e, a);\n }\n\n c[e] = !0;\n }\n }\n}\n\nfunction te() {}\n\nvar ue = null,\n ve = null;\n\nfunction we(a, b) {\n switch (a) {\n case \"button\":\n case \"input\":\n case \"select\":\n case \"textarea\":\n return !!b.autoFocus;\n }\n\n return !1;\n}\n\nfunction xe(a, b) {\n 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;\n}\n\nvar ye = \"function\" === typeof setTimeout ? setTimeout : void 0,\n ze = \"function\" === typeof clearTimeout ? clearTimeout : void 0,\n Ae = r.unstable_scheduleCallback,\n Be = r.unstable_cancelCallback;\n\nfunction Ce(a, b, c, d, e) {\n a[Ga] = e;\n \"input\" === c && \"radio\" === e.type && null != e.name && xc(a, e);\n re(c, d);\n d = re(c, e);\n\n for (var f = 0; f < b.length; f += 2) {\n var g = b[f],\n h = b[f + 1];\n \"style\" === g ? oe(a, h) : \"dangerouslySetInnerHTML\" === g ? je(a, h) : \"children\" === g ? ke(a, h) : tc(a, g, h, d);\n }\n\n switch (c) {\n case \"input\":\n yc(a, e);\n break;\n\n case \"textarea\":\n de(a, e);\n break;\n\n case \"select\":\n b = a._wrapperState.wasMultiple, a._wrapperState.wasMultiple = !!e.multiple, c = e.value, null != c ? ae(a, !!e.multiple, c, !1) : b !== !!e.multiple && (null != e.defaultValue ? ae(a, !!e.multiple, e.defaultValue, !0) : ae(a, !!e.multiple, e.multiple ? [] : \"\", !1));\n }\n}\n\nfunction De(a) {\n for (a = a.nextSibling; a && 1 !== a.nodeType && 3 !== a.nodeType;) {\n a = a.nextSibling;\n }\n\n return a;\n}\n\nfunction Ee(a) {\n for (a = a.firstChild; a && 1 !== a.nodeType && 3 !== a.nodeType;) {\n a = a.nextSibling;\n }\n\n return a;\n}\n\nnew Set();\nvar Fe = [],\n Ge = -1;\n\nfunction F(a) {\n 0 > Ge || (a.current = Fe[Ge], Fe[Ge] = null, Ge--);\n}\n\nfunction G(a, b) {\n Ge++;\n Fe[Ge] = a.current;\n a.current = b;\n}\n\nvar He = {},\n H = {\n current: He\n},\n I = {\n current: !1\n},\n Ie = He;\n\nfunction Je(a, b) {\n var c = a.type.contextTypes;\n if (!c) return He;\n var d = a.stateNode;\n if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;\n var e = {},\n f;\n\n for (f in c) {\n e[f] = b[f];\n }\n\n d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);\n return e;\n}\n\nfunction J(a) {\n a = a.childContextTypes;\n return null !== a && void 0 !== a;\n}\n\nfunction Ke(a) {\n F(I, a);\n F(H, a);\n}\n\nfunction Le(a) {\n F(I, a);\n F(H, a);\n}\n\nfunction Me(a, b, c) {\n H.current !== He ? x(\"168\") : void 0;\n G(H, b, a);\n G(I, c, a);\n}\n\nfunction Ne(a, b, c) {\n var d = a.stateNode;\n a = b.childContextTypes;\n if (\"function\" !== typeof d.getChildContext) return c;\n d = d.getChildContext();\n\n for (var e in d) {\n e in a ? void 0 : x(\"108\", ic(b) || \"Unknown\", e);\n }\n\n return n({}, c, d);\n}\n\nfunction Oe(a) {\n var b = a.stateNode;\n b = b && b.__reactInternalMemoizedMergedChildContext || He;\n Ie = H.current;\n G(H, b, a);\n G(I, I.current, a);\n return !0;\n}\n\nfunction Pe(a, b, c) {\n var d = a.stateNode;\n d ? void 0 : x(\"169\");\n c ? (b = Ne(a, b, Ie), d.__reactInternalMemoizedMergedChildContext = b, F(I, a), F(H, a), G(H, b, a)) : F(I, a);\n G(I, c, a);\n}\n\nvar Qe = null,\n Re = null;\n\nfunction Se(a) {\n return function (b) {\n try {\n return a(b);\n } catch (c) {}\n };\n}\n\nfunction Te(a) {\n if (\"undefined\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;\n var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (b.isDisabled || !b.supportsFiber) return !0;\n\n try {\n var c = b.inject(a);\n Qe = Se(function (a) {\n return b.onCommitFiberRoot(c, a);\n });\n Re = Se(function (a) {\n return b.onCommitFiberUnmount(c, a);\n });\n } catch (d) {}\n\n return !0;\n}\n\nfunction Ue(a, b, c, d) {\n this.tag = a;\n this.key = c;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = b;\n this.contextDependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = d;\n this.effectTag = 0;\n this.lastEffect = this.firstEffect = this.nextEffect = null;\n this.childExpirationTime = this.expirationTime = 0;\n this.alternate = null;\n}\n\nfunction K(a, b, c, d) {\n return new Ue(a, b, c, d);\n}\n\nfunction Ve(a) {\n a = a.prototype;\n return !(!a || !a.isReactComponent);\n}\n\nfunction We(a) {\n if (\"function\" === typeof a) return Ve(a) ? 1 : 0;\n\n if (void 0 !== a && null !== a) {\n a = a.$$typeof;\n if (a === cc) return 11;\n if (a === ec) return 14;\n }\n\n return 2;\n}\n\nfunction Xe(a, b) {\n var c = a.alternate;\n null === c ? (c = K(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.effectTag = 0, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null);\n c.childExpirationTime = a.childExpirationTime;\n c.expirationTime = a.expirationTime;\n c.child = a.child;\n c.memoizedProps = a.memoizedProps;\n c.memoizedState = a.memoizedState;\n c.updateQueue = a.updateQueue;\n c.contextDependencies = a.contextDependencies;\n c.sibling = a.sibling;\n c.index = a.index;\n c.ref = a.ref;\n return c;\n}\n\nfunction Ye(a, b, c, d, e, f) {\n var g = 2;\n d = a;\n if (\"function\" === typeof a) Ve(a) && (g = 1);else if (\"string\" === typeof a) g = 5;else a: switch (a) {\n case Xb:\n return Ze(c.children, e, f, b);\n\n case bc:\n return $e(c, e | 3, f, b);\n\n case Yb:\n return $e(c, e | 2, f, b);\n\n case Zb:\n return a = K(12, c, b, e | 4), a.elementType = Zb, a.type = Zb, a.expirationTime = f, a;\n\n case dc:\n return a = K(13, c, b, e), a.elementType = dc, a.type = dc, a.expirationTime = f, a;\n\n default:\n if (\"object\" === typeof a && null !== a) switch (a.$$typeof) {\n case $b:\n g = 10;\n break a;\n\n case ac:\n g = 9;\n break a;\n\n case cc:\n g = 11;\n break a;\n\n case ec:\n g = 14;\n break a;\n\n case fc:\n g = 16;\n d = null;\n break a;\n }\n x(\"130\", null == a ? a : typeof a, \"\");\n }\n b = K(g, c, b, e);\n b.elementType = a;\n b.type = d;\n b.expirationTime = f;\n return b;\n}\n\nfunction Ze(a, b, c, d) {\n a = K(7, a, d, b);\n a.expirationTime = c;\n return a;\n}\n\nfunction $e(a, b, c, d) {\n a = K(8, a, d, b);\n b = 0 === (b & 1) ? Yb : bc;\n a.elementType = b;\n a.type = b;\n a.expirationTime = c;\n return a;\n}\n\nfunction af(a, b, c) {\n a = K(6, a, null, b);\n a.expirationTime = c;\n return a;\n}\n\nfunction bf(a, b, c) {\n b = K(4, null !== a.children ? a.children : [], a.key, b);\n b.expirationTime = c;\n b.stateNode = {\n containerInfo: a.containerInfo,\n pendingChildren: null,\n implementation: a.implementation\n };\n return b;\n}\n\nfunction cf(a, b) {\n a.didError = !1;\n var c = a.earliestPendingTime;\n 0 === c ? a.earliestPendingTime = a.latestPendingTime = b : c < b ? a.earliestPendingTime = b : a.latestPendingTime > b && (a.latestPendingTime = b);\n df(b, a);\n}\n\nfunction ef(a, b) {\n a.didError = !1;\n if (0 === b) a.earliestPendingTime = 0, a.latestPendingTime = 0, a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0;else {\n b < a.latestPingedTime && (a.latestPingedTime = 0);\n var c = a.latestPendingTime;\n 0 !== c && (c > b ? a.earliestPendingTime = a.latestPendingTime = 0 : a.earliestPendingTime > b && (a.earliestPendingTime = a.latestPendingTime));\n c = a.earliestSuspendedTime;\n 0 === c ? cf(a, b) : b < a.latestSuspendedTime ? (a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0, cf(a, b)) : b > c && cf(a, b);\n }\n df(0, a);\n}\n\nfunction ff(a, b) {\n a.didError = !1;\n a.latestPingedTime >= b && (a.latestPingedTime = 0);\n var c = a.earliestPendingTime,\n d = a.latestPendingTime;\n c === b ? a.earliestPendingTime = d === b ? a.latestPendingTime = 0 : d : d === b && (a.latestPendingTime = c);\n c = a.earliestSuspendedTime;\n d = a.latestSuspendedTime;\n 0 === c ? a.earliestSuspendedTime = a.latestSuspendedTime = b : c < b ? a.earliestSuspendedTime = b : d > b && (a.latestSuspendedTime = b);\n df(b, a);\n}\n\nfunction gf(a, b) {\n var c = a.earliestPendingTime;\n a = a.earliestSuspendedTime;\n c > b && (b = c);\n a > b && (b = a);\n return b;\n}\n\nfunction df(a, b) {\n var c = b.earliestSuspendedTime,\n d = b.latestSuspendedTime,\n e = b.earliestPendingTime,\n f = b.latestPingedTime;\n e = 0 !== e ? e : f;\n 0 === e && (0 === a || d < a) && (e = d);\n a = e;\n 0 !== a && c > a && (a = c);\n b.nextExpirationTimeToWorkOn = e;\n b.expirationTime = a;\n}\n\nfunction L(a, b) {\n if (a && a.defaultProps) {\n b = n({}, b);\n a = a.defaultProps;\n\n for (var c in a) {\n void 0 === b[c] && (b[c] = a[c]);\n }\n }\n\n return b;\n}\n\nfunction hf(a) {\n var b = a._result;\n\n switch (a._status) {\n case 1:\n return b;\n\n case 2:\n throw b;\n\n case 0:\n throw b;\n\n default:\n a._status = 0;\n b = a._ctor;\n b = b();\n b.then(function (b) {\n 0 === a._status && (b = b.default, a._status = 1, a._result = b);\n }, function (b) {\n 0 === a._status && (a._status = 2, a._result = b);\n });\n\n switch (a._status) {\n case 1:\n return a._result;\n\n case 2:\n throw a._result;\n }\n\n a._result = b;\n throw b;\n }\n}\n\nvar jf = new aa.Component().refs;\n\nfunction kf(a, b, c, d) {\n b = a.memoizedState;\n c = c(d, b);\n c = null === c || void 0 === c ? b : n({}, b, c);\n a.memoizedState = c;\n d = a.updateQueue;\n null !== d && 0 === a.expirationTime && (d.baseState = c);\n}\n\nvar tf = {\n isMounted: function isMounted(a) {\n return (a = a._reactInternalFiber) ? 2 === ed(a) : !1;\n },\n enqueueSetState: function enqueueSetState(a, b, c) {\n a = a._reactInternalFiber;\n var d = lf();\n d = mf(d, a);\n var e = nf(d);\n e.payload = b;\n void 0 !== c && null !== c && (e.callback = c);\n of();\n pf(a, e);\n qf(a, d);\n },\n enqueueReplaceState: function enqueueReplaceState(a, b, c) {\n a = a._reactInternalFiber;\n var d = lf();\n d = mf(d, a);\n var e = nf(d);\n e.tag = rf;\n e.payload = b;\n void 0 !== c && null !== c && (e.callback = c);\n of();\n pf(a, e);\n qf(a, d);\n },\n enqueueForceUpdate: function enqueueForceUpdate(a, b) {\n a = a._reactInternalFiber;\n var c = lf();\n c = mf(c, a);\n var d = nf(c);\n d.tag = sf;\n void 0 !== b && null !== b && (d.callback = b);\n of();\n pf(a, d);\n qf(a, c);\n }\n};\n\nfunction uf(a, b, c, d, e, f, g) {\n a = a.stateNode;\n return \"function\" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !dd(c, d) || !dd(e, f) : !0;\n}\n\nfunction vf(a, b, c) {\n var d = !1,\n e = He;\n var f = b.contextType;\n \"object\" === typeof f && null !== f ? f = M(f) : (e = J(b) ? Ie : H.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Je(a, e) : He);\n b = new b(c, f);\n a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;\n b.updater = tf;\n a.stateNode = b;\n b._reactInternalFiber = a;\n d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);\n return b;\n}\n\nfunction wf(a, b, c, d) {\n a = b.state;\n \"function\" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);\n \"function\" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);\n b.state !== a && tf.enqueueReplaceState(b, b.state, null);\n}\n\nfunction xf(a, b, c, d) {\n var e = a.stateNode;\n e.props = c;\n e.state = a.memoizedState;\n e.refs = jf;\n var f = b.contextType;\n \"object\" === typeof f && null !== f ? e.context = M(f) : (f = J(b) ? Ie : H.current, e.context = Je(a, f));\n f = a.updateQueue;\n null !== f && (yf(a, f, c, e, d), e.state = a.memoizedState);\n f = b.getDerivedStateFromProps;\n \"function\" === typeof f && (kf(a, b, f, c), e.state = a.memoizedState);\n \"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 && tf.enqueueReplaceState(e, e.state, null), f = a.updateQueue, null !== f && (yf(a, f, c, e, d), e.state = a.memoizedState));\n \"function\" === typeof e.componentDidMount && (a.effectTag |= 4);\n}\n\nvar zf = Array.isArray;\n\nfunction Af(a, b, c) {\n a = c.ref;\n\n if (null !== a && \"function\" !== typeof a && \"object\" !== typeof a) {\n if (c._owner) {\n c = c._owner;\n var d = void 0;\n c && (1 !== c.tag ? x(\"309\") : void 0, d = c.stateNode);\n d ? void 0 : x(\"147\", a);\n var e = \"\" + a;\n if (null !== b && null !== b.ref && \"function\" === typeof b.ref && b.ref._stringRef === e) return b.ref;\n\n b = function b(a) {\n var b = d.refs;\n b === jf && (b = d.refs = {});\n null === a ? delete b[e] : b[e] = a;\n };\n\n b._stringRef = e;\n return b;\n }\n\n \"string\" !== typeof a ? x(\"284\") : void 0;\n c._owner ? void 0 : x(\"290\", a);\n }\n\n return a;\n}\n\nfunction Bf(a, b) {\n \"textarea\" !== a.type && x(\"31\", \"[object Object]\" === Object.prototype.toString.call(b) ? \"object with keys {\" + Object.keys(b).join(\", \") + \"}\" : b, \"\");\n}\n\nfunction Cf(a) {\n function b(b, c) {\n if (a) {\n var d = b.lastEffect;\n null !== d ? (d.nextEffect = c, b.lastEffect = c) : b.firstEffect = b.lastEffect = c;\n c.nextEffect = null;\n c.effectTag = 8;\n }\n }\n\n function c(c, d) {\n if (!a) return null;\n\n for (; null !== d;) {\n b(c, d), d = d.sibling;\n }\n\n return null;\n }\n\n function d(a, b) {\n for (a = new Map(); null !== b;) {\n null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;\n }\n\n return a;\n }\n\n function e(a, b, c) {\n a = Xe(a, b, c);\n a.index = 0;\n a.sibling = null;\n return a;\n }\n\n function f(b, c, d) {\n b.index = d;\n if (!a) return c;\n d = b.alternate;\n if (null !== d) return d = d.index, d < c ? (b.effectTag = 2, c) : d;\n b.effectTag = 2;\n return c;\n }\n\n function g(b) {\n a && null === b.alternate && (b.effectTag = 2);\n return b;\n }\n\n function h(a, b, c, d) {\n if (null === b || 6 !== b.tag) return b = af(c, a.mode, d), b.return = a, b;\n b = e(b, c, d);\n b.return = a;\n return b;\n }\n\n function l(a, b, c, d) {\n if (null !== b && b.elementType === c.type) return d = e(b, c.props, d), d.ref = Af(a, b, c), d.return = a, d;\n d = Ye(c.type, c.key, c.props, null, a.mode, d);\n d.ref = Af(a, b, c);\n d.return = a;\n return d;\n }\n\n function k(a, b, c, d) {\n if (null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return b = bf(c, a.mode, d), b.return = a, b;\n b = e(b, c.children || [], d);\n b.return = a;\n return b;\n }\n\n function m(a, b, c, d, f) {\n if (null === b || 7 !== b.tag) return b = Ze(c, a.mode, d, f), b.return = a, b;\n b = e(b, c, d);\n b.return = a;\n return b;\n }\n\n function p(a, b, c) {\n if (\"string\" === typeof b || \"number\" === typeof b) return b = af(\"\" + b, a.mode, c), b.return = a, b;\n\n if (\"object\" === typeof b && null !== b) {\n switch (b.$$typeof) {\n case Vb:\n return c = Ye(b.type, b.key, b.props, null, a.mode, c), c.ref = Af(a, null, b), c.return = a, c;\n\n case Wb:\n return b = bf(b, a.mode, c), b.return = a, b;\n }\n\n if (zf(b) || hc(b)) return b = Ze(b, a.mode, c, null), b.return = a, b;\n Bf(a, b);\n }\n\n return null;\n }\n\n function t(a, b, c, d) {\n var e = null !== b ? b.key : null;\n if (\"string\" === typeof c || \"number\" === typeof c) return null !== e ? null : h(a, b, \"\" + c, d);\n\n if (\"object\" === typeof c && null !== c) {\n switch (c.$$typeof) {\n case Vb:\n return c.key === e ? c.type === Xb ? m(a, b, c.props.children, d, e) : l(a, b, c, d) : null;\n\n case Wb:\n return c.key === e ? k(a, b, c, d) : null;\n }\n\n if (zf(c) || hc(c)) return null !== e ? null : m(a, b, c, d, null);\n Bf(a, c);\n }\n\n return null;\n }\n\n function A(a, b, c, d, e) {\n if (\"string\" === typeof d || \"number\" === typeof d) return a = a.get(c) || null, h(b, a, \"\" + d, e);\n\n if (\"object\" === typeof d && null !== d) {\n switch (d.$$typeof) {\n case Vb:\n return a = a.get(null === d.key ? c : d.key) || null, d.type === Xb ? m(b, a, d.props.children, e, d.key) : l(b, a, d, e);\n\n case Wb:\n return a = a.get(null === d.key ? c : d.key) || null, k(b, a, d, e);\n }\n\n if (zf(d) || hc(d)) return a = a.get(c) || null, m(b, a, d, e, null);\n Bf(b, d);\n }\n\n return null;\n }\n\n function v(e, g, h, k) {\n for (var l = null, m = null, q = g, u = g = 0, B = null; null !== q && u < h.length; u++) {\n q.index > u ? (B = q, q = null) : B = q.sibling;\n var w = t(e, q, h[u], k);\n\n if (null === w) {\n null === q && (q = B);\n break;\n }\n\n a && q && null === w.alternate && b(e, q);\n g = f(w, g, u);\n null === m ? l = w : m.sibling = w;\n m = w;\n q = B;\n }\n\n if (u === h.length) return c(e, q), l;\n\n if (null === q) {\n for (; u < h.length; u++) {\n if (q = p(e, h[u], k)) g = f(q, g, u), null === m ? l = q : m.sibling = q, m = q;\n }\n\n return l;\n }\n\n for (q = d(e, q); u < h.length; u++) {\n if (B = A(q, e, u, h[u], k)) a && null !== B.alternate && q.delete(null === B.key ? u : B.key), g = f(B, g, u), null === m ? l = B : m.sibling = B, m = B;\n }\n\n a && q.forEach(function (a) {\n return b(e, a);\n });\n return l;\n }\n\n function R(e, g, h, k) {\n var l = hc(h);\n \"function\" !== typeof l ? x(\"150\") : void 0;\n h = l.call(h);\n null == h ? x(\"151\") : void 0;\n\n for (var m = l = null, q = g, u = g = 0, B = null, w = h.next(); null !== q && !w.done; u++, w = h.next()) {\n q.index > u ? (B = q, q = null) : B = q.sibling;\n var v = t(e, q, w.value, k);\n\n if (null === v) {\n q || (q = B);\n break;\n }\n\n a && q && null === v.alternate && b(e, q);\n g = f(v, g, u);\n null === m ? l = v : m.sibling = v;\n m = v;\n q = B;\n }\n\n if (w.done) return c(e, q), l;\n\n if (null === q) {\n for (; !w.done; u++, w = h.next()) {\n w = p(e, w.value, k), null !== w && (g = f(w, g, u), null === m ? l = w : m.sibling = w, m = w);\n }\n\n return l;\n }\n\n for (q = d(e, q); !w.done; u++, w = h.next()) {\n w = A(q, e, u, w.value, k), null !== w && (a && null !== w.alternate && q.delete(null === w.key ? u : w.key), g = f(w, g, u), null === m ? l = w : m.sibling = w, m = w);\n }\n\n a && q.forEach(function (a) {\n return b(e, a);\n });\n return l;\n }\n\n return function (a, d, f, h) {\n var k = \"object\" === typeof f && null !== f && f.type === Xb && null === f.key;\n k && (f = f.props.children);\n var l = \"object\" === typeof f && null !== f;\n if (l) switch (f.$$typeof) {\n case Vb:\n a: {\n l = f.key;\n\n for (k = d; null !== k;) {\n if (k.key === l) {\n if (7 === k.tag ? f.type === Xb : k.elementType === f.type) {\n c(a, k.sibling);\n d = e(k, f.type === Xb ? f.props.children : f.props, h);\n d.ref = Af(a, k, f);\n d.return = a;\n a = d;\n break a;\n } else {\n c(a, k);\n break;\n }\n } else b(a, k);\n k = k.sibling;\n }\n\n f.type === Xb ? (d = Ze(f.props.children, a.mode, h, f.key), d.return = a, a = d) : (h = Ye(f.type, f.key, f.props, null, a.mode, h), h.ref = Af(a, d, f), h.return = a, a = h);\n }\n\n return g(a);\n\n case Wb:\n a: {\n for (k = f.key; null !== d;) {\n if (d.key === k) {\n if (4 === d.tag && d.stateNode.containerInfo === f.containerInfo && d.stateNode.implementation === f.implementation) {\n c(a, d.sibling);\n d = e(d, f.children || [], h);\n d.return = a;\n a = d;\n break a;\n } else {\n c(a, d);\n break;\n }\n } else b(a, d);\n d = d.sibling;\n }\n\n d = bf(f, a.mode, h);\n d.return = a;\n a = d;\n }\n\n return g(a);\n }\n if (\"string\" === typeof f || \"number\" === typeof f) return f = \"\" + f, null !== d && 6 === d.tag ? (c(a, d.sibling), d = e(d, f, h), d.return = a, a = d) : (c(a, d), d = af(f, a.mode, h), d.return = a, a = d), g(a);\n if (zf(f)) return v(a, d, f, h);\n if (hc(f)) return R(a, d, f, h);\n l && Bf(a, f);\n if (\"undefined\" === typeof f && !k) switch (a.tag) {\n case 1:\n case 0:\n h = a.type, x(\"152\", h.displayName || h.name || \"Component\");\n }\n return c(a, d);\n };\n}\n\nvar Df = Cf(!0),\n Ef = Cf(!1),\n Ff = {},\n N = {\n current: Ff\n},\n Gf = {\n current: Ff\n},\n Hf = {\n current: Ff\n};\n\nfunction If(a) {\n a === Ff ? x(\"174\") : void 0;\n return a;\n}\n\nfunction Jf(a, b) {\n G(Hf, b, a);\n G(Gf, a, a);\n G(N, Ff, a);\n var c = b.nodeType;\n\n switch (c) {\n case 9:\n case 11:\n b = (b = b.documentElement) ? b.namespaceURI : he(null, \"\");\n break;\n\n default:\n c = 8 === c ? b.parentNode : b, b = c.namespaceURI || null, c = c.tagName, b = he(b, c);\n }\n\n F(N, a);\n G(N, b, a);\n}\n\nfunction Kf(a) {\n F(N, a);\n F(Gf, a);\n F(Hf, a);\n}\n\nfunction Lf(a) {\n If(Hf.current);\n var b = If(N.current);\n var c = he(b, a.type);\n b !== c && (G(Gf, a, a), G(N, c, a));\n}\n\nfunction Mf(a) {\n Gf.current === a && (F(N, a), F(Gf, a));\n}\n\nvar Nf = 0,\n Of = 2,\n Pf = 4,\n Qf = 8,\n Rf = 16,\n Sf = 32,\n Tf = 64,\n Uf = 128,\n Vf = Tb.ReactCurrentDispatcher,\n Wf = 0,\n Xf = null,\n O = null,\n P = null,\n Yf = null,\n Q = null,\n Zf = null,\n $f = 0,\n ag = null,\n bg = 0,\n cg = !1,\n dg = null,\n eg = 0;\n\nfunction fg() {\n x(\"321\");\n}\n\nfunction gg(a, b) {\n if (null === b) return !1;\n\n for (var c = 0; c < b.length && c < a.length; c++) {\n if (!bd(a[c], b[c])) return !1;\n }\n\n return !0;\n}\n\nfunction hg(a, b, c, d, e, f) {\n Wf = f;\n Xf = b;\n P = null !== a ? a.memoizedState : null;\n Vf.current = null === P ? ig : jg;\n b = c(d, e);\n\n if (cg) {\n do {\n cg = !1, eg += 1, P = null !== a ? a.memoizedState : null, Zf = Yf, ag = Q = O = null, Vf.current = jg, b = c(d, e);\n } while (cg);\n\n dg = null;\n eg = 0;\n }\n\n Vf.current = kg;\n a = Xf;\n a.memoizedState = Yf;\n a.expirationTime = $f;\n a.updateQueue = ag;\n a.effectTag |= bg;\n a = null !== O && null !== O.next;\n Wf = 0;\n Zf = Q = Yf = P = O = Xf = null;\n $f = 0;\n ag = null;\n bg = 0;\n a ? x(\"300\") : void 0;\n return b;\n}\n\nfunction lg() {\n Vf.current = kg;\n Wf = 0;\n Zf = Q = Yf = P = O = Xf = null;\n $f = 0;\n ag = null;\n bg = 0;\n cg = !1;\n dg = null;\n eg = 0;\n}\n\nfunction mg() {\n var a = {\n memoizedState: null,\n baseState: null,\n queue: null,\n baseUpdate: null,\n next: null\n };\n null === Q ? Yf = Q = a : Q = Q.next = a;\n return Q;\n}\n\nfunction ng() {\n if (null !== Zf) Q = Zf, Zf = Q.next, O = P, P = null !== O ? O.next : null;else {\n null === P ? x(\"310\") : void 0;\n O = P;\n var a = {\n memoizedState: O.memoizedState,\n baseState: O.baseState,\n queue: O.queue,\n baseUpdate: O.baseUpdate,\n next: null\n };\n Q = null === Q ? Yf = a : Q.next = a;\n P = O.next;\n }\n return Q;\n}\n\nfunction og(a, b) {\n return \"function\" === typeof b ? b(a) : b;\n}\n\nfunction pg(a) {\n var b = ng(),\n c = b.queue;\n null === c ? x(\"311\") : void 0;\n c.lastRenderedReducer = a;\n\n if (0 < eg) {\n var d = c.dispatch;\n\n if (null !== dg) {\n var e = dg.get(c);\n\n if (void 0 !== e) {\n dg.delete(c);\n var f = b.memoizedState;\n\n do {\n f = a(f, e.action), e = e.next;\n } while (null !== e);\n\n bd(f, b.memoizedState) || (qg = !0);\n b.memoizedState = f;\n b.baseUpdate === c.last && (b.baseState = f);\n c.lastRenderedState = f;\n return [f, d];\n }\n }\n\n return [b.memoizedState, d];\n }\n\n d = c.last;\n var g = b.baseUpdate;\n f = b.baseState;\n null !== g ? (null !== d && (d.next = null), d = g.next) : d = null !== d ? d.next : null;\n\n if (null !== d) {\n var h = e = null,\n l = d,\n k = !1;\n\n do {\n var m = l.expirationTime;\n m < Wf ? (k || (k = !0, h = g, e = f), m > $f && ($f = m)) : f = l.eagerReducer === a ? l.eagerState : a(f, l.action);\n g = l;\n l = l.next;\n } while (null !== l && l !== d);\n\n k || (h = g, e = f);\n bd(f, b.memoizedState) || (qg = !0);\n b.memoizedState = f;\n b.baseUpdate = h;\n b.baseState = e;\n c.lastRenderedState = f;\n }\n\n return [b.memoizedState, c.dispatch];\n}\n\nfunction rg(a, b, c, d) {\n a = {\n tag: a,\n create: b,\n destroy: c,\n deps: d,\n next: null\n };\n null === ag ? (ag = {\n lastEffect: null\n }, ag.lastEffect = a.next = a) : (b = ag.lastEffect, null === b ? ag.lastEffect = a.next = a : (c = b.next, b.next = a, a.next = c, ag.lastEffect = a));\n return a;\n}\n\nfunction sg(a, b, c, d) {\n var e = mg();\n bg |= a;\n e.memoizedState = rg(b, c, void 0, void 0 === d ? null : d);\n}\n\nfunction tg(a, b, c, d) {\n var e = ng();\n d = void 0 === d ? null : d;\n var f = void 0;\n\n if (null !== O) {\n var g = O.memoizedState;\n f = g.destroy;\n\n if (null !== d && gg(d, g.deps)) {\n rg(Nf, c, f, d);\n return;\n }\n }\n\n bg |= a;\n e.memoizedState = rg(b, c, f, d);\n}\n\nfunction ug(a, b) {\n if (\"function\" === typeof b) return a = a(), b(a), function () {\n b(null);\n };\n if (null !== b && void 0 !== b) return a = a(), b.current = a, function () {\n b.current = null;\n };\n}\n\nfunction vg() {}\n\nfunction wg(a, b, c) {\n 25 > eg ? void 0 : x(\"301\");\n var d = a.alternate;\n if (a === Xf || null !== d && d === Xf) {\n if (cg = !0, a = {\n expirationTime: Wf,\n action: c,\n eagerReducer: null,\n eagerState: null,\n next: null\n }, null === dg && (dg = new Map()), c = dg.get(b), void 0 === c) dg.set(b, a);else {\n for (b = c; null !== b.next;) {\n b = b.next;\n }\n\n b.next = a;\n }\n } else {\n of();\n var e = lf();\n e = mf(e, a);\n var f = {\n expirationTime: e,\n action: c,\n eagerReducer: null,\n eagerState: null,\n next: null\n },\n g = b.last;\n if (null === g) f.next = f;else {\n var h = g.next;\n null !== h && (f.next = h);\n g.next = f;\n }\n b.last = f;\n if (0 === a.expirationTime && (null === d || 0 === d.expirationTime) && (d = b.lastRenderedReducer, null !== d)) try {\n var l = b.lastRenderedState,\n k = d(l, c);\n f.eagerReducer = d;\n f.eagerState = k;\n if (bd(k, l)) return;\n } catch (m) {} finally {}\n qf(a, e);\n }\n}\n\nvar kg = {\n readContext: M,\n useCallback: fg,\n useContext: fg,\n useEffect: fg,\n useImperativeHandle: fg,\n useLayoutEffect: fg,\n useMemo: fg,\n useReducer: fg,\n useRef: fg,\n useState: fg,\n useDebugValue: fg\n},\n ig = {\n readContext: M,\n useCallback: function useCallback(a, b) {\n mg().memoizedState = [a, void 0 === b ? null : b];\n return a;\n },\n useContext: M,\n useEffect: function useEffect(a, b) {\n return sg(516, Uf | Tf, a, b);\n },\n useImperativeHandle: function useImperativeHandle(a, b, c) {\n c = null !== c && void 0 !== c ? c.concat([a]) : null;\n return sg(4, Pf | Sf, ug.bind(null, b, a), c);\n },\n useLayoutEffect: function useLayoutEffect(a, b) {\n return sg(4, Pf | Sf, a, b);\n },\n useMemo: function useMemo(a, b) {\n var c = mg();\n b = void 0 === b ? null : b;\n a = a();\n c.memoizedState = [a, b];\n return a;\n },\n useReducer: function useReducer(a, b, c) {\n var d = mg();\n b = void 0 !== c ? c(b) : b;\n d.memoizedState = d.baseState = b;\n a = d.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: a,\n lastRenderedState: b\n };\n a = a.dispatch = wg.bind(null, Xf, a);\n return [d.memoizedState, a];\n },\n useRef: function useRef(a) {\n var b = mg();\n a = {\n current: a\n };\n return b.memoizedState = a;\n },\n useState: function useState(a) {\n var b = mg();\n \"function\" === typeof a && (a = a());\n b.memoizedState = b.baseState = a;\n a = b.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: og,\n lastRenderedState: a\n };\n a = a.dispatch = wg.bind(null, Xf, a);\n return [b.memoizedState, a];\n },\n useDebugValue: vg\n},\n jg = {\n readContext: M,\n useCallback: function useCallback(a, b) {\n var c = ng();\n b = void 0 === b ? null : b;\n var d = c.memoizedState;\n if (null !== d && null !== b && gg(b, d[1])) return d[0];\n c.memoizedState = [a, b];\n return a;\n },\n useContext: M,\n useEffect: function useEffect(a, b) {\n return tg(516, Uf | Tf, a, b);\n },\n useImperativeHandle: function useImperativeHandle(a, b, c) {\n c = null !== c && void 0 !== c ? c.concat([a]) : null;\n return tg(4, Pf | Sf, ug.bind(null, b, a), c);\n },\n useLayoutEffect: function useLayoutEffect(a, b) {\n return tg(4, Pf | Sf, a, b);\n },\n useMemo: function useMemo(a, b) {\n var c = ng();\n b = void 0 === b ? null : b;\n var d = c.memoizedState;\n if (null !== d && null !== b && gg(b, d[1])) return d[0];\n a = a();\n c.memoizedState = [a, b];\n return a;\n },\n useReducer: pg,\n useRef: function useRef() {\n return ng().memoizedState;\n },\n useState: function useState(a) {\n return pg(og, a);\n },\n useDebugValue: vg\n},\n xg = null,\n yg = null,\n zg = !1;\n\nfunction Ag(a, b) {\n var c = K(5, null, null, 0);\n c.elementType = \"DELETED\";\n c.type = \"DELETED\";\n c.stateNode = b;\n c.return = a;\n c.effectTag = 8;\n null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c;\n}\n\nfunction Bg(a, b) {\n switch (a.tag) {\n case 5:\n var c = a.type;\n b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;\n return null !== b ? (a.stateNode = b, !0) : !1;\n\n case 6:\n return b = \"\" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, !0) : !1;\n\n case 13:\n return !1;\n\n default:\n return !1;\n }\n}\n\nfunction Cg(a) {\n if (zg) {\n var b = yg;\n\n if (b) {\n var c = b;\n\n if (!Bg(a, b)) {\n b = De(c);\n\n if (!b || !Bg(a, b)) {\n a.effectTag |= 2;\n zg = !1;\n xg = a;\n return;\n }\n\n Ag(xg, c);\n }\n\n xg = a;\n yg = Ee(b);\n } else a.effectTag |= 2, zg = !1, xg = a;\n }\n}\n\nfunction Dg(a) {\n for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 18 !== a.tag;) {\n a = a.return;\n }\n\n xg = a;\n}\n\nfunction Eg(a) {\n if (a !== xg) return !1;\n if (!zg) return Dg(a), zg = !0, !1;\n var b = a.type;\n if (5 !== a.tag || \"head\" !== b && \"body\" !== b && !xe(b, a.memoizedProps)) for (b = yg; b;) {\n Ag(a, b), b = De(b);\n }\n Dg(a);\n yg = xg ? De(a.stateNode) : null;\n return !0;\n}\n\nfunction Fg() {\n yg = xg = null;\n zg = !1;\n}\n\nvar Gg = Tb.ReactCurrentOwner,\n qg = !1;\n\nfunction S(a, b, c, d) {\n b.child = null === a ? Ef(b, null, c, d) : Df(b, a.child, c, d);\n}\n\nfunction Hg(a, b, c, d, e) {\n c = c.render;\n var f = b.ref;\n Ig(b, e);\n d = hg(a, b, c, d, f, e);\n if (null !== a && !qg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), Jg(a, b, e);\n b.effectTag |= 1;\n S(a, b, d, e);\n return b.child;\n}\n\nfunction Kg(a, b, c, d, e, f) {\n if (null === a) {\n var g = c.type;\n if (\"function\" === typeof g && !Ve(g) && void 0 === g.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = g, Lg(a, b, g, d, e, f);\n a = Ye(c.type, null, d, null, b.mode, f);\n a.ref = b.ref;\n a.return = b;\n return b.child = a;\n }\n\n g = a.child;\n if (e < f && (e = g.memoizedProps, c = c.compare, c = null !== c ? c : dd, c(e, d) && a.ref === b.ref)) return Jg(a, b, f);\n b.effectTag |= 1;\n a = Xe(g, d, f);\n a.ref = b.ref;\n a.return = b;\n return b.child = a;\n}\n\nfunction Lg(a, b, c, d, e, f) {\n return null !== a && dd(a.memoizedProps, d) && a.ref === b.ref && (qg = !1, e < f) ? Jg(a, b, f) : Mg(a, b, c, d, f);\n}\n\nfunction Ng(a, b) {\n var c = b.ref;\n if (null === a && null !== c || null !== a && a.ref !== c) b.effectTag |= 128;\n}\n\nfunction Mg(a, b, c, d, e) {\n var f = J(c) ? Ie : H.current;\n f = Je(b, f);\n Ig(b, e);\n c = hg(a, b, c, d, f, e);\n if (null !== a && !qg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), Jg(a, b, e);\n b.effectTag |= 1;\n S(a, b, c, e);\n return b.child;\n}\n\nfunction Og(a, b, c, d, e) {\n if (J(c)) {\n var f = !0;\n Oe(b);\n } else f = !1;\n\n Ig(b, e);\n if (null === b.stateNode) null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), vf(b, c, d, e), xf(b, c, d, e), d = !0;else if (null === a) {\n var g = b.stateNode,\n h = b.memoizedProps;\n g.props = h;\n var l = g.context,\n k = c.contextType;\n \"object\" === typeof k && null !== k ? k = M(k) : (k = J(c) ? Ie : H.current, k = Je(b, k));\n var m = c.getDerivedStateFromProps,\n p = \"function\" === typeof m || \"function\" === typeof g.getSnapshotBeforeUpdate;\n p || \"function\" !== typeof g.UNSAFE_componentWillReceiveProps && \"function\" !== typeof g.componentWillReceiveProps || (h !== d || l !== k) && wf(b, g, d, k);\n Pg = !1;\n var t = b.memoizedState;\n l = g.state = t;\n var A = b.updateQueue;\n null !== A && (yf(b, A, d, g, e), l = b.memoizedState);\n h !== d || t !== l || I.current || Pg ? (\"function\" === typeof m && (kf(b, c, m, d), l = b.memoizedState), (h = Pg || uf(b, c, h, d, t, l, k)) ? (p || \"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.effectTag |= 4)) : (\"function\" === typeof g.componentDidMount && (b.effectTag |= 4), b.memoizedProps = d, b.memoizedState = l), g.props = d, g.state = l, g.context = k, d = h) : (\"function\" === typeof g.componentDidMount && (b.effectTag |= 4), d = !1);\n } else g = b.stateNode, h = b.memoizedProps, g.props = b.type === b.elementType ? h : L(b.type, h), l = g.context, k = c.contextType, \"object\" === typeof k && null !== k ? k = M(k) : (k = J(c) ? Ie : H.current, k = Je(b, k)), m = c.getDerivedStateFromProps, (p = \"function\" === typeof m || \"function\" === typeof g.getSnapshotBeforeUpdate) || \"function\" !== typeof g.UNSAFE_componentWillReceiveProps && \"function\" !== typeof g.componentWillReceiveProps || (h !== d || l !== k) && wf(b, g, d, k), Pg = !1, l = b.memoizedState, t = g.state = l, A = b.updateQueue, null !== A && (yf(b, A, d, g, e), t = b.memoizedState), h !== d || l !== t || I.current || Pg ? (\"function\" === typeof m && (kf(b, c, m, d), t = b.memoizedState), (m = Pg || uf(b, c, h, d, l, t, k)) ? (p || \"function\" !== typeof g.UNSAFE_componentWillUpdate && \"function\" !== typeof g.componentWillUpdate || (\"function\" === typeof g.componentWillUpdate && g.componentWillUpdate(d, t, k), \"function\" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, t, k)), \"function\" === typeof g.componentDidUpdate && (b.effectTag |= 4), \"function\" === typeof g.getSnapshotBeforeUpdate && (b.effectTag |= 256)) : (\"function\" !== typeof g.componentDidUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 4), \"function\" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 256), b.memoizedProps = d, b.memoizedState = t), g.props = d, g.state = t, g.context = k, d = m) : (\"function\" !== typeof g.componentDidUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 4), \"function\" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 256), d = !1);\n return Qg(a, b, c, d, f, e);\n}\n\nfunction Qg(a, b, c, d, e, f) {\n Ng(a, b);\n var g = 0 !== (b.effectTag & 64);\n if (!d && !g) return e && Pe(b, c, !1), Jg(a, b, f);\n d = b.stateNode;\n Gg.current = b;\n var h = g && \"function\" !== typeof c.getDerivedStateFromError ? null : d.render();\n b.effectTag |= 1;\n null !== a && g ? (b.child = Df(b, a.child, null, f), b.child = Df(b, null, h, f)) : S(a, b, h, f);\n b.memoizedState = d.state;\n e && Pe(b, c, !0);\n return b.child;\n}\n\nfunction Rg(a) {\n var b = a.stateNode;\n b.pendingContext ? Me(a, b.pendingContext, b.pendingContext !== b.context) : b.context && Me(a, b.context, !1);\n Jf(a, b.containerInfo);\n}\n\nfunction Sg(a, b, c) {\n var d = b.mode,\n e = b.pendingProps,\n f = b.memoizedState;\n\n if (0 === (b.effectTag & 64)) {\n f = null;\n var g = !1;\n } else f = {\n timedOutAt: null !== f ? f.timedOutAt : 0\n }, g = !0, b.effectTag &= -65;\n\n if (null === a) {\n if (g) {\n var h = e.fallback;\n a = Ze(null, d, 0, null);\n 0 === (b.mode & 1) && (a.child = null !== b.memoizedState ? b.child.child : b.child);\n d = Ze(h, d, c, null);\n a.sibling = d;\n c = a;\n c.return = d.return = b;\n } else c = d = Ef(b, null, e.children, c);\n } else null !== a.memoizedState ? (d = a.child, h = d.sibling, g ? (c = e.fallback, e = Xe(d, d.pendingProps, 0), 0 === (b.mode & 1) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== d.child && (e.child = g)), d = e.sibling = Xe(h, c, h.expirationTime), c = e, e.childExpirationTime = 0, c.return = d.return = b) : c = d = Df(b, d.child, e.children, c)) : (h = a.child, g ? (g = e.fallback, e = Ze(null, d, 0, null), e.child = h, 0 === (b.mode & 1) && (e.child = null !== b.memoizedState ? b.child.child : b.child), d = e.sibling = Ze(g, d, c, null), d.effectTag |= 2, c = e, e.childExpirationTime = 0, c.return = d.return = b) : d = c = Df(b, h, e.children, c)), b.stateNode = a.stateNode;\n b.memoizedState = f;\n b.child = c;\n return d;\n}\n\nfunction Jg(a, b, c) {\n null !== a && (b.contextDependencies = a.contextDependencies);\n if (b.childExpirationTime < c) return null;\n null !== a && b.child !== a.child ? x(\"153\") : void 0;\n\n if (null !== b.child) {\n a = b.child;\n c = Xe(a, a.pendingProps, a.expirationTime);\n b.child = c;\n\n for (c.return = b; null !== a.sibling;) {\n a = a.sibling, c = c.sibling = Xe(a, a.pendingProps, a.expirationTime), c.return = b;\n }\n\n c.sibling = null;\n }\n\n return b.child;\n}\n\nfunction Tg(a, b, c) {\n var d = b.expirationTime;\n if (null !== a) {\n if (a.memoizedProps !== b.pendingProps || I.current) qg = !0;else {\n if (d < c) {\n qg = !1;\n\n switch (b.tag) {\n case 3:\n Rg(b);\n Fg();\n break;\n\n case 5:\n Lf(b);\n break;\n\n case 1:\n J(b.type) && Oe(b);\n break;\n\n case 4:\n Jf(b, b.stateNode.containerInfo);\n break;\n\n case 10:\n Ug(b, b.memoizedProps.value);\n break;\n\n case 13:\n if (null !== b.memoizedState) {\n d = b.child.childExpirationTime;\n if (0 !== d && d >= c) return Sg(a, b, c);\n b = Jg(a, b, c);\n return null !== b ? b.sibling : null;\n }\n\n }\n\n return Jg(a, b, c);\n }\n }\n } else qg = !1;\n b.expirationTime = 0;\n\n switch (b.tag) {\n case 2:\n d = b.elementType;\n null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);\n a = b.pendingProps;\n var e = Je(b, H.current);\n Ig(b, c);\n e = hg(null, b, d, a, e, c);\n b.effectTag |= 1;\n\n if (\"object\" === typeof e && null !== e && \"function\" === typeof e.render && void 0 === e.$$typeof) {\n b.tag = 1;\n lg();\n\n if (J(d)) {\n var f = !0;\n Oe(b);\n } else f = !1;\n\n b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null;\n var g = d.getDerivedStateFromProps;\n \"function\" === typeof g && kf(b, d, g, a);\n e.updater = tf;\n b.stateNode = e;\n e._reactInternalFiber = b;\n xf(b, d, a, c);\n b = Qg(null, b, d, !0, f, c);\n } else b.tag = 0, S(null, b, e, c), b = b.child;\n\n return b;\n\n case 16:\n e = b.elementType;\n null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);\n f = b.pendingProps;\n a = hf(e);\n b.type = a;\n e = b.tag = We(a);\n f = L(a, f);\n g = void 0;\n\n switch (e) {\n case 0:\n g = Mg(null, b, a, f, c);\n break;\n\n case 1:\n g = Og(null, b, a, f, c);\n break;\n\n case 11:\n g = Hg(null, b, a, f, c);\n break;\n\n case 14:\n g = Kg(null, b, a, L(a.type, f), d, c);\n break;\n\n default:\n x(\"306\", a, \"\");\n }\n\n return g;\n\n case 0:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), Mg(a, b, d, e, c);\n\n case 1:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), Og(a, b, d, e, c);\n\n case 3:\n Rg(b);\n d = b.updateQueue;\n null === d ? x(\"282\") : void 0;\n e = b.memoizedState;\n e = null !== e ? e.element : null;\n yf(b, d, b.pendingProps, null, c);\n d = b.memoizedState.element;\n if (d === e) Fg(), b = Jg(a, b, c);else {\n e = b.stateNode;\n if (e = (null === a || null === a.child) && e.hydrate) yg = Ee(b.stateNode.containerInfo), xg = b, e = zg = !0;\n e ? (b.effectTag |= 2, b.child = Ef(b, null, d, c)) : (S(a, b, d, c), Fg());\n b = b.child;\n }\n return b;\n\n case 5:\n return Lf(b), null === a && Cg(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, xe(d, e) ? g = null : null !== f && xe(d, f) && (b.effectTag |= 16), Ng(a, b), 1 !== c && b.mode & 1 && e.hidden ? (b.expirationTime = b.childExpirationTime = 1, b = null) : (S(a, b, g, c), b = b.child), b;\n\n case 6:\n return null === a && Cg(b), null;\n\n case 13:\n return Sg(a, b, c);\n\n case 4:\n return Jf(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Df(b, null, d, c) : S(a, b, d, c), b.child;\n\n case 11:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), Hg(a, b, d, e, c);\n\n case 7:\n return S(a, b, b.pendingProps, c), b.child;\n\n case 8:\n return S(a, b, b.pendingProps.children, c), b.child;\n\n case 12:\n return S(a, b, b.pendingProps.children, c), b.child;\n\n case 10:\n a: {\n d = b.type._context;\n e = b.pendingProps;\n g = b.memoizedProps;\n f = e.value;\n Ug(b, f);\n\n if (null !== g) {\n var h = g.value;\n f = bd(h, f) ? 0 : (\"function\" === typeof d._calculateChangedBits ? d._calculateChangedBits(h, f) : 1073741823) | 0;\n\n if (0 === f) {\n if (g.children === e.children && !I.current) {\n b = Jg(a, b, c);\n break a;\n }\n } else for (h = b.child, null !== h && (h.return = b); null !== h;) {\n var l = h.contextDependencies;\n\n if (null !== l) {\n g = h.child;\n\n for (var k = l.first; null !== k;) {\n if (k.context === d && 0 !== (k.observedBits & f)) {\n 1 === h.tag && (k = nf(c), k.tag = sf, pf(h, k));\n h.expirationTime < c && (h.expirationTime = c);\n k = h.alternate;\n null !== k && k.expirationTime < c && (k.expirationTime = c);\n k = c;\n\n for (var m = h.return; null !== m;) {\n var p = m.alternate;\n if (m.childExpirationTime < k) m.childExpirationTime = k, null !== p && p.childExpirationTime < k && (p.childExpirationTime = k);else if (null !== p && p.childExpirationTime < k) p.childExpirationTime = k;else break;\n m = m.return;\n }\n\n l.expirationTime < c && (l.expirationTime = c);\n break;\n }\n\n k = k.next;\n }\n } else g = 10 === h.tag ? h.type === b.type ? null : h.child : h.child;\n\n if (null !== g) g.return = h;else for (g = h; null !== g;) {\n if (g === b) {\n g = null;\n break;\n }\n\n h = g.sibling;\n\n if (null !== h) {\n h.return = g.return;\n g = h;\n break;\n }\n\n g = g.return;\n }\n h = g;\n }\n }\n\n S(a, b, e.children, c);\n b = b.child;\n }\n\n return b;\n\n case 9:\n return e = b.type, f = b.pendingProps, d = f.children, Ig(b, c), e = M(e, f.unstable_observedBits), d = d(e), b.effectTag |= 1, S(a, b, d, c), b.child;\n\n case 14:\n return e = b.type, f = L(e, b.pendingProps), f = L(e.type, f), Kg(a, b, e, f, d, c);\n\n case 15:\n return Lg(a, b, b.type, b.pendingProps, d, c);\n\n case 17:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), b.tag = 1, J(d) ? (a = !0, Oe(b)) : a = !1, Ig(b, c), vf(b, d, e, c), xf(b, d, e, c), Qg(null, b, d, !0, a, c);\n }\n\n x(\"156\");\n}\n\nvar Vg = {\n current: null\n},\n Wg = null,\n Xg = null,\n Yg = null;\n\nfunction Ug(a, b) {\n var c = a.type._context;\n G(Vg, c._currentValue, a);\n c._currentValue = b;\n}\n\nfunction Zg(a) {\n var b = Vg.current;\n F(Vg, a);\n a.type._context._currentValue = b;\n}\n\nfunction Ig(a, b) {\n Wg = a;\n Yg = Xg = null;\n var c = a.contextDependencies;\n null !== c && c.expirationTime >= b && (qg = !0);\n a.contextDependencies = null;\n}\n\nfunction M(a, b) {\n if (Yg !== a && !1 !== b && 0 !== b) {\n if (\"number\" !== typeof b || 1073741823 === b) Yg = a, b = 1073741823;\n b = {\n context: a,\n observedBits: b,\n next: null\n };\n null === Xg ? (null === Wg ? x(\"308\") : void 0, Xg = b, Wg.contextDependencies = {\n first: b,\n expirationTime: 0\n }) : Xg = Xg.next = b;\n }\n\n return a._currentValue;\n}\n\nvar $g = 0,\n rf = 1,\n sf = 2,\n ah = 3,\n Pg = !1;\n\nfunction bh(a) {\n return {\n baseState: a,\n firstUpdate: null,\n lastUpdate: null,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\n\nfunction ch(a) {\n return {\n baseState: a.baseState,\n firstUpdate: a.firstUpdate,\n lastUpdate: a.lastUpdate,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\n\nfunction nf(a) {\n return {\n expirationTime: a,\n tag: $g,\n payload: null,\n callback: null,\n next: null,\n nextEffect: null\n };\n}\n\nfunction dh(a, b) {\n null === a.lastUpdate ? a.firstUpdate = a.lastUpdate = b : (a.lastUpdate.next = b, a.lastUpdate = b);\n}\n\nfunction pf(a, b) {\n var c = a.alternate;\n\n if (null === c) {\n var d = a.updateQueue;\n var e = null;\n null === d && (d = a.updateQueue = bh(a.memoizedState));\n } else d = a.updateQueue, e = c.updateQueue, null === d ? null === e ? (d = a.updateQueue = bh(a.memoizedState), e = c.updateQueue = bh(c.memoizedState)) : d = a.updateQueue = ch(e) : null === e && (e = c.updateQueue = ch(d));\n\n null === e || d === e ? dh(d, b) : null === d.lastUpdate || null === e.lastUpdate ? (dh(d, b), dh(e, b)) : (dh(d, b), e.lastUpdate = b);\n}\n\nfunction eh(a, b) {\n var c = a.updateQueue;\n c = null === c ? a.updateQueue = bh(a.memoizedState) : fh(a, c);\n null === c.lastCapturedUpdate ? c.firstCapturedUpdate = c.lastCapturedUpdate = b : (c.lastCapturedUpdate.next = b, c.lastCapturedUpdate = b);\n}\n\nfunction fh(a, b) {\n var c = a.alternate;\n null !== c && b === c.updateQueue && (b = a.updateQueue = ch(b));\n return b;\n}\n\nfunction gh(a, b, c, d, e, f) {\n switch (c.tag) {\n case rf:\n return a = c.payload, \"function\" === typeof a ? a.call(f, d, e) : a;\n\n case ah:\n a.effectTag = a.effectTag & -2049 | 64;\n\n case $g:\n a = c.payload;\n e = \"function\" === typeof a ? a.call(f, d, e) : a;\n if (null === e || void 0 === e) break;\n return n({}, d, e);\n\n case sf:\n Pg = !0;\n }\n\n return d;\n}\n\nfunction yf(a, b, c, d, e) {\n Pg = !1;\n b = fh(a, b);\n\n for (var f = b.baseState, g = null, h = 0, l = b.firstUpdate, k = f; null !== l;) {\n var m = l.expirationTime;\n m < e ? (null === g && (g = l, f = k), h < m && (h = m)) : (k = gh(a, b, l, k, c, d), null !== l.callback && (a.effectTag |= 32, l.nextEffect = null, null === b.lastEffect ? b.firstEffect = b.lastEffect = l : (b.lastEffect.nextEffect = l, b.lastEffect = l)));\n l = l.next;\n }\n\n m = null;\n\n for (l = b.firstCapturedUpdate; null !== l;) {\n var p = l.expirationTime;\n p < e ? (null === m && (m = l, null === g && (f = k)), h < p && (h = p)) : (k = gh(a, b, l, k, c, d), null !== l.callback && (a.effectTag |= 32, l.nextEffect = null, null === b.lastCapturedEffect ? b.firstCapturedEffect = b.lastCapturedEffect = l : (b.lastCapturedEffect.nextEffect = l, b.lastCapturedEffect = l)));\n l = l.next;\n }\n\n null === g && (b.lastUpdate = null);\n null === m ? b.lastCapturedUpdate = null : a.effectTag |= 32;\n null === g && null === m && (f = k);\n b.baseState = f;\n b.firstUpdate = g;\n b.firstCapturedUpdate = m;\n a.expirationTime = h;\n a.memoizedState = k;\n}\n\nfunction hh(a, b, c) {\n null !== b.firstCapturedUpdate && (null !== b.lastUpdate && (b.lastUpdate.next = b.firstCapturedUpdate, b.lastUpdate = b.lastCapturedUpdate), b.firstCapturedUpdate = b.lastCapturedUpdate = null);\n ih(b.firstEffect, c);\n b.firstEffect = b.lastEffect = null;\n ih(b.firstCapturedEffect, c);\n b.firstCapturedEffect = b.lastCapturedEffect = null;\n}\n\nfunction ih(a, b) {\n for (; null !== a;) {\n var c = a.callback;\n\n if (null !== c) {\n a.callback = null;\n var d = b;\n \"function\" !== typeof c ? x(\"191\", c) : void 0;\n c.call(d);\n }\n\n a = a.nextEffect;\n }\n}\n\nfunction jh(a, b) {\n return {\n value: a,\n source: b,\n stack: jc(b)\n };\n}\n\nfunction kh(a) {\n a.effectTag |= 4;\n}\n\nvar lh = void 0,\n mh = void 0,\n nh = void 0,\n oh = void 0;\n\nlh = function lh(a, b) {\n for (var c = b.child; null !== c;) {\n if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode);else if (4 !== c.tag && null !== c.child) {\n c.child.return = c;\n c = c.child;\n continue;\n }\n if (c === b) break;\n\n for (; null === c.sibling;) {\n if (null === c.return || c.return === b) return;\n c = c.return;\n }\n\n c.sibling.return = c.return;\n c = c.sibling;\n }\n};\n\nmh = function mh() {};\n\nnh = function nh(a, b, c, d, e) {\n var f = a.memoizedProps;\n\n if (f !== d) {\n var g = b.stateNode;\n If(N.current);\n a = null;\n\n switch (c) {\n case \"input\":\n f = vc(g, f);\n d = vc(g, d);\n a = [];\n break;\n\n case \"option\":\n f = $d(g, f);\n d = $d(g, d);\n a = [];\n break;\n\n case \"select\":\n f = n({}, f, {\n value: void 0\n });\n d = n({}, d, {\n value: void 0\n });\n a = [];\n break;\n\n case \"textarea\":\n f = be(g, f);\n d = be(g, d);\n a = [];\n break;\n\n default:\n \"function\" !== typeof f.onClick && \"function\" === typeof d.onClick && (g.onclick = te);\n }\n\n qe(c, d);\n g = c = void 0;\n var h = null;\n\n for (c in f) {\n if (!d.hasOwnProperty(c) && f.hasOwnProperty(c) && null != f[c]) if (\"style\" === c) {\n var l = f[c];\n\n for (g in l) {\n l.hasOwnProperty(g) && (h || (h = {}), h[g] = \"\");\n }\n } else \"dangerouslySetInnerHTML\" !== c && \"children\" !== c && \"suppressContentEditableWarning\" !== c && \"suppressHydrationWarning\" !== c && \"autoFocus\" !== c && (ra.hasOwnProperty(c) ? a || (a = []) : (a = a || []).push(c, null));\n }\n\n for (c in d) {\n var k = d[c];\n l = null != f ? f[c] : void 0;\n if (d.hasOwnProperty(c) && k !== l && (null != k || null != l)) if (\"style\" === c) {\n if (l) {\n for (g in l) {\n !l.hasOwnProperty(g) || k && k.hasOwnProperty(g) || (h || (h = {}), h[g] = \"\");\n }\n\n for (g in k) {\n k.hasOwnProperty(g) && l[g] !== k[g] && (h || (h = {}), h[g] = k[g]);\n }\n } else h || (a || (a = []), a.push(c, h)), h = k;\n } else \"dangerouslySetInnerHTML\" === c ? (k = k ? k.__html : void 0, l = l ? l.__html : void 0, null != k && l !== k && (a = a || []).push(c, \"\" + k)) : \"children\" === c ? l === k || \"string\" !== typeof k && \"number\" !== typeof k || (a = a || []).push(c, \"\" + k) : \"suppressContentEditableWarning\" !== c && \"suppressHydrationWarning\" !== c && (ra.hasOwnProperty(c) ? (null != k && se(e, c), a || l === k || (a = [])) : (a = a || []).push(c, k));\n }\n\n h && (a = a || []).push(\"style\", h);\n e = a;\n (b.updateQueue = e) && kh(b);\n }\n};\n\noh = function oh(a, b, c, d) {\n c !== d && kh(b);\n};\n\nvar ph = \"function\" === typeof WeakSet ? WeakSet : Set;\n\nfunction qh(a, b) {\n var c = b.source,\n d = b.stack;\n null === d && null !== c && (d = jc(c));\n null !== c && ic(c.type);\n b = b.value;\n null !== a && 1 === a.tag && ic(a.type);\n\n try {\n console.error(b);\n } catch (e) {\n setTimeout(function () {\n throw e;\n });\n }\n}\n\nfunction rh(a) {\n var b = a.ref;\n if (null !== b) if (\"function\" === typeof b) try {\n b(null);\n } catch (c) {\n sh(a, c);\n } else b.current = null;\n}\n\nfunction th(a, b, c) {\n c = c.updateQueue;\n c = null !== c ? c.lastEffect : null;\n\n if (null !== c) {\n var d = c = c.next;\n\n do {\n if ((d.tag & a) !== Nf) {\n var e = d.destroy;\n d.destroy = void 0;\n void 0 !== e && e();\n }\n\n (d.tag & b) !== Nf && (e = d.create, d.destroy = e());\n d = d.next;\n } while (d !== c);\n }\n}\n\nfunction uh(a, b) {\n for (var c = a;;) {\n if (5 === c.tag) {\n var d = c.stateNode;\n if (b) d.style.display = \"none\";else {\n d = c.stateNode;\n var e = c.memoizedProps.style;\n e = void 0 !== e && null !== e && e.hasOwnProperty(\"display\") ? e.display : null;\n d.style.display = ne(\"display\", e);\n }\n } else if (6 === c.tag) c.stateNode.nodeValue = b ? \"\" : c.memoizedProps;else if (13 === c.tag && null !== c.memoizedState) {\n d = c.child.sibling;\n d.return = c;\n c = d;\n continue;\n } else if (null !== c.child) {\n c.child.return = c;\n c = c.child;\n continue;\n }\n\n if (c === a) break;\n\n for (; null === c.sibling;) {\n if (null === c.return || c.return === a) return;\n c = c.return;\n }\n\n c.sibling.return = c.return;\n c = c.sibling;\n }\n}\n\nfunction vh(a) {\n \"function\" === typeof Re && Re(a);\n\n switch (a.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n var b = a.updateQueue;\n\n if (null !== b && (b = b.lastEffect, null !== b)) {\n var c = b = b.next;\n\n do {\n var d = c.destroy;\n\n if (void 0 !== d) {\n var e = a;\n\n try {\n d();\n } catch (f) {\n sh(e, f);\n }\n }\n\n c = c.next;\n } while (c !== b);\n }\n\n break;\n\n case 1:\n rh(a);\n b = a.stateNode;\n if (\"function\" === typeof b.componentWillUnmount) try {\n b.props = a.memoizedProps, b.state = a.memoizedState, b.componentWillUnmount();\n } catch (f) {\n sh(a, f);\n }\n break;\n\n case 5:\n rh(a);\n break;\n\n case 4:\n wh(a);\n }\n}\n\nfunction xh(a) {\n return 5 === a.tag || 3 === a.tag || 4 === a.tag;\n}\n\nfunction yh(a) {\n a: {\n for (var b = a.return; null !== b;) {\n if (xh(b)) {\n var c = b;\n break a;\n }\n\n b = b.return;\n }\n\n x(\"160\");\n c = void 0;\n }\n\n var d = b = void 0;\n\n switch (c.tag) {\n case 5:\n b = c.stateNode;\n d = !1;\n break;\n\n case 3:\n b = c.stateNode.containerInfo;\n d = !0;\n break;\n\n case 4:\n b = c.stateNode.containerInfo;\n d = !0;\n break;\n\n default:\n x(\"161\");\n }\n\n c.effectTag & 16 && (ke(b, \"\"), c.effectTag &= -17);\n\n a: b: for (c = a;;) {\n for (; null === c.sibling;) {\n if (null === c.return || xh(c.return)) {\n c = null;\n break a;\n }\n\n c = c.return;\n }\n\n c.sibling.return = c.return;\n\n for (c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag;) {\n if (c.effectTag & 2) continue b;\n if (null === c.child || 4 === c.tag) continue b;else c.child.return = c, c = c.child;\n }\n\n if (!(c.effectTag & 2)) {\n c = c.stateNode;\n break a;\n }\n }\n\n for (var e = a;;) {\n if (5 === e.tag || 6 === e.tag) {\n if (c) {\n if (d) {\n var f = b,\n g = e.stateNode,\n h = c;\n 8 === f.nodeType ? f.parentNode.insertBefore(g, h) : f.insertBefore(g, h);\n } else b.insertBefore(e.stateNode, c);\n } else d ? (g = b, h = e.stateNode, 8 === g.nodeType ? (f = g.parentNode, f.insertBefore(h, g)) : (f = g, f.appendChild(h)), g = g._reactRootContainer, null !== g && void 0 !== g || null !== f.onclick || (f.onclick = te)) : b.appendChild(e.stateNode);\n } else if (4 !== e.tag && null !== e.child) {\n e.child.return = e;\n e = e.child;\n continue;\n }\n if (e === a) break;\n\n for (; null === e.sibling;) {\n if (null === e.return || e.return === a) return;\n e = e.return;\n }\n\n e.sibling.return = e.return;\n e = e.sibling;\n }\n}\n\nfunction wh(a) {\n for (var b = a, c = !1, d = void 0, e = void 0;;) {\n if (!c) {\n c = b.return;\n\n a: for (;;) {\n null === c ? x(\"160\") : void 0;\n\n switch (c.tag) {\n case 5:\n d = c.stateNode;\n e = !1;\n break a;\n\n case 3:\n d = c.stateNode.containerInfo;\n e = !0;\n break a;\n\n case 4:\n d = c.stateNode.containerInfo;\n e = !0;\n break a;\n }\n\n c = c.return;\n }\n\n c = !0;\n }\n\n if (5 === b.tag || 6 === b.tag) {\n a: for (var f = b, g = f;;) {\n if (vh(g), null !== g.child && 4 !== g.tag) g.child.return = g, g = g.child;else {\n if (g === f) break;\n\n for (; null === g.sibling;) {\n if (null === g.return || g.return === f) break a;\n g = g.return;\n }\n\n g.sibling.return = g.return;\n g = g.sibling;\n }\n }\n\n e ? (f = d, g = b.stateNode, 8 === f.nodeType ? f.parentNode.removeChild(g) : f.removeChild(g)) : d.removeChild(b.stateNode);\n } else if (4 === b.tag) {\n if (null !== b.child) {\n d = b.stateNode.containerInfo;\n e = !0;\n b.child.return = b;\n b = b.child;\n continue;\n }\n } else if (vh(b), null !== b.child) {\n b.child.return = b;\n b = b.child;\n continue;\n }\n\n if (b === a) break;\n\n for (; null === b.sibling;) {\n if (null === b.return || b.return === a) return;\n b = b.return;\n 4 === b.tag && (c = !1);\n }\n\n b.sibling.return = b.return;\n b = b.sibling;\n }\n}\n\nfunction zh(a, b) {\n switch (b.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n th(Pf, Qf, b);\n break;\n\n case 1:\n break;\n\n case 5:\n var c = b.stateNode;\n\n if (null != c) {\n var d = b.memoizedProps;\n a = null !== a ? a.memoizedProps : d;\n var e = b.type,\n f = b.updateQueue;\n b.updateQueue = null;\n null !== f && Ce(c, f, e, a, d, b);\n }\n\n break;\n\n case 6:\n null === b.stateNode ? x(\"162\") : void 0;\n b.stateNode.nodeValue = b.memoizedProps;\n break;\n\n case 3:\n break;\n\n case 12:\n break;\n\n case 13:\n c = b.memoizedState;\n d = void 0;\n a = b;\n null === c ? d = !1 : (d = !0, a = b.child, 0 === c.timedOutAt && (c.timedOutAt = lf()));\n null !== a && uh(a, d);\n c = b.updateQueue;\n\n if (null !== c) {\n b.updateQueue = null;\n var g = b.stateNode;\n null === g && (g = b.stateNode = new ph());\n c.forEach(function (a) {\n var c = Ah.bind(null, b, a);\n g.has(a) || (g.add(a), a.then(c, c));\n });\n }\n\n break;\n\n case 17:\n break;\n\n default:\n x(\"163\");\n }\n}\n\nvar Bh = \"function\" === typeof WeakMap ? WeakMap : Map;\n\nfunction Ch(a, b, c) {\n c = nf(c);\n c.tag = ah;\n c.payload = {\n element: null\n };\n var d = b.value;\n\n c.callback = function () {\n Dh(d);\n qh(a, b);\n };\n\n return c;\n}\n\nfunction Eh(a, b, c) {\n c = nf(c);\n c.tag = ah;\n var d = a.type.getDerivedStateFromError;\n\n if (\"function\" === typeof d) {\n var e = b.value;\n\n c.payload = function () {\n return d(e);\n };\n }\n\n var f = a.stateNode;\n null !== f && \"function\" === typeof f.componentDidCatch && (c.callback = function () {\n \"function\" !== typeof d && (null === Fh ? Fh = new Set([this]) : Fh.add(this));\n var c = b.value,\n e = b.stack;\n qh(a, b);\n this.componentDidCatch(c, {\n componentStack: null !== e ? e : \"\"\n });\n });\n return c;\n}\n\nfunction Gh(a) {\n switch (a.tag) {\n case 1:\n J(a.type) && Ke(a);\n var b = a.effectTag;\n return b & 2048 ? (a.effectTag = b & -2049 | 64, a) : null;\n\n case 3:\n return Kf(a), Le(a), b = a.effectTag, 0 !== (b & 64) ? x(\"285\") : void 0, a.effectTag = b & -2049 | 64, a;\n\n case 5:\n return Mf(a), null;\n\n case 13:\n return b = a.effectTag, b & 2048 ? (a.effectTag = b & -2049 | 64, a) : null;\n\n case 18:\n return null;\n\n case 4:\n return Kf(a), null;\n\n case 10:\n return Zg(a), null;\n\n default:\n return null;\n }\n}\n\nvar Hh = Tb.ReactCurrentDispatcher,\n Ih = Tb.ReactCurrentOwner,\n Jh = 1073741822,\n Kh = !1,\n T = null,\n Lh = null,\n U = 0,\n Mh = -1,\n Nh = !1,\n V = null,\n Oh = !1,\n Ph = null,\n Qh = null,\n Rh = null,\n Fh = null;\n\nfunction Sh() {\n if (null !== T) for (var a = T.return; null !== a;) {\n var b = a;\n\n switch (b.tag) {\n case 1:\n var c = b.type.childContextTypes;\n null !== c && void 0 !== c && Ke(b);\n break;\n\n case 3:\n Kf(b);\n Le(b);\n break;\n\n case 5:\n Mf(b);\n break;\n\n case 4:\n Kf(b);\n break;\n\n case 10:\n Zg(b);\n }\n\n a = a.return;\n }\n Lh = null;\n U = 0;\n Mh = -1;\n Nh = !1;\n T = null;\n}\n\nfunction Th() {\n for (; null !== V;) {\n var a = V.effectTag;\n a & 16 && ke(V.stateNode, \"\");\n\n if (a & 128) {\n var b = V.alternate;\n null !== b && (b = b.ref, null !== b && (\"function\" === typeof b ? b(null) : b.current = null));\n }\n\n switch (a & 14) {\n case 2:\n yh(V);\n V.effectTag &= -3;\n break;\n\n case 6:\n yh(V);\n V.effectTag &= -3;\n zh(V.alternate, V);\n break;\n\n case 4:\n zh(V.alternate, V);\n break;\n\n case 8:\n a = V, wh(a), a.return = null, a.child = null, a.memoizedState = null, a.updateQueue = null, a = a.alternate, null !== a && (a.return = null, a.child = null, a.memoizedState = null, a.updateQueue = null);\n }\n\n V = V.nextEffect;\n }\n}\n\nfunction Uh() {\n for (; null !== V;) {\n if (V.effectTag & 256) a: {\n var a = V.alternate,\n b = V;\n\n switch (b.tag) {\n case 0:\n case 11:\n case 15:\n th(Of, Nf, b);\n break a;\n\n case 1:\n if (b.effectTag & 256 && null !== a) {\n var c = a.memoizedProps,\n d = a.memoizedState;\n a = b.stateNode;\n b = a.getSnapshotBeforeUpdate(b.elementType === b.type ? c : L(b.type, c), d);\n a.__reactInternalSnapshotBeforeUpdate = b;\n }\n\n break a;\n\n case 3:\n case 5:\n case 6:\n case 4:\n case 17:\n break a;\n\n default:\n x(\"163\");\n }\n }\n V = V.nextEffect;\n }\n}\n\nfunction Vh(a, b) {\n for (; null !== V;) {\n var c = V.effectTag;\n\n if (c & 36) {\n var d = V.alternate,\n e = V,\n f = b;\n\n switch (e.tag) {\n case 0:\n case 11:\n case 15:\n th(Rf, Sf, e);\n break;\n\n case 1:\n var g = e.stateNode;\n if (e.effectTag & 4) if (null === d) g.componentDidMount();else {\n var h = e.elementType === e.type ? d.memoizedProps : L(e.type, d.memoizedProps);\n g.componentDidUpdate(h, d.memoizedState, g.__reactInternalSnapshotBeforeUpdate);\n }\n d = e.updateQueue;\n null !== d && hh(e, d, g, f);\n break;\n\n case 3:\n d = e.updateQueue;\n\n if (null !== d) {\n g = null;\n if (null !== e.child) switch (e.child.tag) {\n case 5:\n g = e.child.stateNode;\n break;\n\n case 1:\n g = e.child.stateNode;\n }\n hh(e, d, g, f);\n }\n\n break;\n\n case 5:\n f = e.stateNode;\n null === d && e.effectTag & 4 && we(e.type, e.memoizedProps) && f.focus();\n break;\n\n case 6:\n break;\n\n case 4:\n break;\n\n case 12:\n break;\n\n case 13:\n break;\n\n case 17:\n break;\n\n default:\n x(\"163\");\n }\n }\n\n c & 128 && (e = V.ref, null !== e && (f = V.stateNode, \"function\" === typeof e ? e(f) : e.current = f));\n c & 512 && (Ph = a);\n V = V.nextEffect;\n }\n}\n\nfunction Wh(a, b) {\n Rh = Qh = Ph = null;\n var c = W;\n W = !0;\n\n do {\n if (b.effectTag & 512) {\n var d = !1,\n e = void 0;\n\n try {\n var f = b;\n th(Uf, Nf, f);\n th(Nf, Tf, f);\n } catch (g) {\n d = !0, e = g;\n }\n\n d && sh(b, e);\n }\n\n b = b.nextEffect;\n } while (null !== b);\n\n W = c;\n c = a.expirationTime;\n 0 !== c && Xh(a, c);\n X || W || Yh(1073741823, !1);\n}\n\nfunction of() {\n null !== Qh && Be(Qh);\n null !== Rh && Rh();\n}\n\nfunction Zh(a, b) {\n Oh = Kh = !0;\n a.current === b ? x(\"177\") : void 0;\n var c = a.pendingCommitExpirationTime;\n 0 === c ? x(\"261\") : void 0;\n a.pendingCommitExpirationTime = 0;\n var d = b.expirationTime,\n e = b.childExpirationTime;\n ef(a, e > d ? e : d);\n Ih.current = null;\n d = void 0;\n 1 < b.effectTag ? null !== b.lastEffect ? (b.lastEffect.nextEffect = b, d = b.firstEffect) : d = b : d = b.firstEffect;\n ue = Bd;\n ve = Pd();\n Bd = !1;\n\n for (V = d; null !== V;) {\n e = !1;\n var f = void 0;\n\n try {\n Uh();\n } catch (h) {\n e = !0, f = h;\n }\n\n e && (null === V ? x(\"178\") : void 0, sh(V, f), null !== V && (V = V.nextEffect));\n }\n\n for (V = d; null !== V;) {\n e = !1;\n f = void 0;\n\n try {\n Th();\n } catch (h) {\n e = !0, f = h;\n }\n\n e && (null === V ? x(\"178\") : void 0, sh(V, f), null !== V && (V = V.nextEffect));\n }\n\n Qd(ve);\n ve = null;\n Bd = !!ue;\n ue = null;\n a.current = b;\n\n for (V = d; null !== V;) {\n e = !1;\n f = void 0;\n\n try {\n Vh(a, c);\n } catch (h) {\n e = !0, f = h;\n }\n\n e && (null === V ? x(\"178\") : void 0, sh(V, f), null !== V && (V = V.nextEffect));\n }\n\n if (null !== d && null !== Ph) {\n var g = Wh.bind(null, a, d);\n Qh = r.unstable_runWithPriority(r.unstable_NormalPriority, function () {\n return Ae(g);\n });\n Rh = g;\n }\n\n Kh = Oh = !1;\n \"function\" === typeof Qe && Qe(b.stateNode);\n c = b.expirationTime;\n b = b.childExpirationTime;\n b = b > c ? b : c;\n 0 === b && (Fh = null);\n $h(a, b);\n}\n\nfunction ai(a) {\n for (;;) {\n var b = a.alternate,\n c = a.return,\n d = a.sibling;\n\n if (0 === (a.effectTag & 1024)) {\n T = a;\n\n a: {\n var e = b;\n b = a;\n var f = U;\n var g = b.pendingProps;\n\n switch (b.tag) {\n case 2:\n break;\n\n case 16:\n break;\n\n case 15:\n case 0:\n break;\n\n case 1:\n J(b.type) && Ke(b);\n break;\n\n case 3:\n Kf(b);\n Le(b);\n g = b.stateNode;\n g.pendingContext && (g.context = g.pendingContext, g.pendingContext = null);\n if (null === e || null === e.child) Eg(b), b.effectTag &= -3;\n mh(b);\n break;\n\n case 5:\n Mf(b);\n var h = If(Hf.current);\n f = b.type;\n if (null !== e && null != b.stateNode) nh(e, b, f, g, h), e.ref !== b.ref && (b.effectTag |= 128);else if (g) {\n var l = If(N.current);\n\n if (Eg(b)) {\n g = b;\n e = g.stateNode;\n var k = g.type,\n m = g.memoizedProps,\n p = h;\n e[Fa] = g;\n e[Ga] = m;\n f = void 0;\n h = k;\n\n switch (h) {\n case \"iframe\":\n case \"object\":\n E(\"load\", e);\n break;\n\n case \"video\":\n case \"audio\":\n for (k = 0; k < ab.length; k++) {\n E(ab[k], e);\n }\n\n break;\n\n case \"source\":\n E(\"error\", e);\n break;\n\n case \"img\":\n case \"image\":\n case \"link\":\n E(\"error\", e);\n E(\"load\", e);\n break;\n\n case \"form\":\n E(\"reset\", e);\n E(\"submit\", e);\n break;\n\n case \"details\":\n E(\"toggle\", e);\n break;\n\n case \"input\":\n wc(e, m);\n E(\"invalid\", e);\n se(p, \"onChange\");\n break;\n\n case \"select\":\n e._wrapperState = {\n wasMultiple: !!m.multiple\n };\n E(\"invalid\", e);\n se(p, \"onChange\");\n break;\n\n case \"textarea\":\n ce(e, m), E(\"invalid\", e), se(p, \"onChange\");\n }\n\n qe(h, m);\n k = null;\n\n for (f in m) {\n m.hasOwnProperty(f) && (l = m[f], \"children\" === f ? \"string\" === typeof l ? e.textContent !== l && (k = [\"children\", l]) : \"number\" === typeof l && e.textContent !== \"\" + l && (k = [\"children\", \"\" + l]) : ra.hasOwnProperty(f) && null != l && se(p, f));\n }\n\n switch (h) {\n case \"input\":\n Rb(e);\n Ac(e, m, !0);\n break;\n\n case \"textarea\":\n Rb(e);\n ee(e, m);\n break;\n\n case \"select\":\n case \"option\":\n break;\n\n default:\n \"function\" === typeof m.onClick && (e.onclick = te);\n }\n\n f = k;\n g.updateQueue = f;\n g = null !== f ? !0 : !1;\n g && kh(b);\n } else {\n m = b;\n p = f;\n e = g;\n k = 9 === h.nodeType ? h : h.ownerDocument;\n l === fe.html && (l = ge(p));\n l === fe.html ? \"script\" === p ? (e = k.createElement(\"div\"), e.innerHTML = \"