diff --git a/docs-site/bundle.js b/docs-site/bundle.js index 9fbb1da964..50bad71766 100644 --- a/docs-site/bundle.js +++ b/docs-site/bundle.js @@ -78,11 +78,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDom = __webpack_require__(8); + var _reactDom = __webpack_require__(7); var _reactDom2 = _interopRequireDefault(_reactDom); - var _root = __webpack_require__(16); + var _root = __webpack_require__(17); var _root2 = _interopRequireDefault(_root); @@ -111,7 +111,7 @@ }, /* 3 */ /***/ function(module, exports, __webpack_require__) { - /** @license React v16.3.2 + /** @license React v16.1.0 * react.production.min.js * * Copyright (c) 2013-present, Facebook, Inc. @@ -119,40 +119,32 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ - "use strict"; var m = __webpack_require__(4), n = __webpack_require__(5), - p = __webpack_require__(6), - q = __webpack_require__(7), - r = "function" === typeof Symbol && Symbol["for"], - t = r ? Symbol["for"]("react.element") : 60103, - u = r ? Symbol["for"]("react.portal") : 60106, - v = r ? Symbol["for"]("react.fragment") : 60107, - w = r ? Symbol["for"]("react.strict_mode") : 60108, - x = r ? Symbol["for"]("react.provider") : 60109, - y = r ? Symbol["for"]("react.context") : 60110, - z = r ? Symbol["for"]("react.async_mode") : 60111, - A = r ? Symbol["for"]("react.forward_ref") : 60112, - B = "function" === typeof Symbol && Symbol.iterator; - function C(a) { + p = __webpack_require__(6); + function q(a) { for ( var b = arguments.length - 1, - e = "http://reactjs.org/docs/error-decoder.html?invariant\x3d" + a, - c = 0; - c < b; - c++ + e = + "Minified React error #" + + a + + "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d" + + a, + d = 0; + d < b; + d++ ) - e += "\x26args[]\x3d" + encodeURIComponent(arguments[c + 1]); - n( - !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. ", - e + e += "\x26args[]\x3d" + encodeURIComponent(arguments[d + 1]); + b = Error( + e + + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." ); + b.name = "Invariant Violation"; + b.framesToPop = 1; + throw b; } - var D = { + var r = { isMounted: function() { return !1; }, @@ -160,67 +152,96 @@ enqueueReplaceState: function() {}, enqueueSetState: function() {} }; - function E(a, b, e) { + function t(a, b, e) { this.props = a; this.context = b; - this.refs = p; - this.updater = e || D; + this.refs = n; + this.updater = e || r; } - E.prototype.isReactComponent = {}; - E.prototype.setState = function(a, b) { + t.prototype.isReactComponent = {}; + t.prototype.setState = function(a, b) { "object" !== typeof a && "function" !== typeof a && null != a - ? C("85") + ? q("85") : void 0; this.updater.enqueueSetState(this, a, b, "setState"); }; - E.prototype.forceUpdate = function(a) { + t.prototype.forceUpdate = function(a) { this.updater.enqueueForceUpdate(this, a, "forceUpdate"); }; - function F() {} - F.prototype = E.prototype; - function G(a, b, e) { + function u(a, b, e) { this.props = a; this.context = b; - this.refs = p; - this.updater = e || D; - } - var H = (G.prototype = new F()); - H.constructor = G; - m(H, E.prototype); - H.isPureReactComponent = !0; - var I = { current: null }, - J = Object.prototype.hasOwnProperty, - K = { key: !0, ref: !0, __self: !0, __source: !0 }; - function L(a, b, e) { - var c = void 0, - d = {}, - g = null, - h = null; + this.refs = n; + this.updater = e || r; + } + function v() {} + v.prototype = t.prototype; + var w = (u.prototype = new v()); + w.constructor = u; + m(w, t.prototype); + w.isPureReactComponent = !0; + function x(a, b, e) { + this.props = a; + this.context = b; + this.refs = n; + this.updater = e || r; + } + var y = (x.prototype = new v()); + y.constructor = x; + m(y, t.prototype); + y.unstable_isAsyncReactComponent = !0; + y.render = function() { + return this.props.children; + }; + var z = { current: null }, + A = Object.prototype.hasOwnProperty, + B = + ("function" === typeof Symbol && + Symbol["for"] && + Symbol["for"]("react.element")) || + 60103, + C = { key: !0, ref: !0, __self: !0, __source: !0 }; + function D(a, b, e) { + var d, + c = {}, + h = null, + k = null; if (null != b) - for (c in (void 0 !== b.ref && (h = b.ref), - void 0 !== b.key && (g = "" + b.key), + for (d in (void 0 !== b.ref && (k = b.ref), + void 0 !== b.key && (h = "" + b.key), b)) - J.call(b, c) && !K.hasOwnProperty(c) && (d[c] = b[c]); + A.call(b, d) && !C.hasOwnProperty(d) && (c[d] = b[d]); var f = arguments.length - 2; - if (1 === f) d.children = e; + if (1 === f) c.children = e; else if (1 < f) { - for (var k = Array(f), l = 0; l < f; l++) k[l] = arguments[l + 2]; - d.children = k; + for (var g = Array(f), l = 0; l < f; l++) g[l] = arguments[l + 2]; + c.children = g; } if (a && a.defaultProps) - for (c in ((f = a.defaultProps), f)) void 0 === d[c] && (d[c] = f[c]); + for (d in ((f = a.defaultProps), f)) void 0 === c[d] && (c[d] = f[d]); return { - $$typeof: t, + $$typeof: B, type: a, - key: g, - ref: h, - props: d, - _owner: I.current - }; - } - function M(a) { - return "object" === typeof a && null !== a && a.$$typeof === t; - } + key: h, + ref: k, + props: c, + _owner: z.current + }; + } + function E(a) { + return "object" === typeof a && null !== a && a.$$typeof === B; + } + var F = "function" === typeof Symbol && Symbol.iterator, + G = + ("function" === typeof Symbol && + Symbol["for"] && + Symbol["for"]("react.element")) || + 60103, + H = + ("function" === typeof Symbol && + Symbol["for"] && + Symbol["for"]("react.portal")) || + 60106; function escape(a) { var b = { "\x3d": "\x3d0", ":": "\x3d2" }; return ( @@ -230,216 +251,182 @@ }) ); } - var N = /\/+/g, - O = []; - function P(a, b, e, c) { - if (O.length) { - var d = O.pop(); - d.result = a; - d.keyPrefix = b; - d.func = e; - d.context = c; - d.count = 0; - return d; + var I = /\/+/g, + J = []; + function K(a, b, e, d) { + if (J.length) { + var c = J.pop(); + c.result = a; + c.keyPrefix = b; + c.func = e; + c.context = d; + c.count = 0; + return c; } - return { result: a, keyPrefix: b, func: e, context: c, count: 0 }; + return { result: a, keyPrefix: b, func: e, context: d, count: 0 }; } - function Q(a) { + function L(a) { a.result = null; a.keyPrefix = null; a.func = null; a.context = null; a.count = 0; - 10 > O.length && O.push(a); + 10 > J.length && J.push(a); } - function R(a, b, e, c) { - var d = typeof a; - if ("undefined" === d || "boolean" === d) a = null; - var g = !1; - if (null === a) g = !0; - else - switch (d) { - case "string": - case "number": - g = !0; - break; - case "object": - switch (a.$$typeof) { - case t: - case u: - g = !0; - } - } - if (g) return e(c, a, "" === b ? "." + S(a, 0) : b), 1; - g = 0; + function M(a, b, e, d) { + var c = typeof a; + if ("undefined" === c || "boolean" === c) a = null; + if ( + null === a || + "string" === c || + "number" === c || + ("object" === c && a.$$typeof === G) || + ("object" === c && a.$$typeof === H) + ) + return e(d, a, "" === b ? "." + N(a, 0) : b), 1; + var h = 0; b = "" === b ? "." : b + ":"; if (Array.isArray(a)) - for (var h = 0; h < a.length; h++) { - d = a[h]; - var f = b + S(d, h); - g += R(d, f, e, c); + for (var k = 0; k < a.length; k++) { + c = a[k]; + var f = b + N(c, k); + h += M(c, f, e, d); } else if ( - (null === a || "undefined" === typeof a - ? (f = null) - : ((f = (B && a[B]) || a["@@iterator"]), - (f = "function" === typeof f ? f : null)), - "function" === typeof f) + ((f = (F && a[F]) || a["@@iterator"]), "function" === typeof f) ) - for (a = f.call(a), h = 0; !(d = a.next()).done; ) - (d = d.value), (f = b + S(d, h++)), (g += R(d, f, e, c)); + for (a = f.call(a), k = 0; !(c = a.next()).done; ) + (c = c.value), (f = b + N(c, k++)), (h += M(c, f, e, d)); else - "object" === d && + "object" === c && ((e = "" + a), - C( + q( "31", "[object Object]" === e ? "object with keys {" + Object.keys(a).join(", ") + "}" : e, "" )); - return g; + return h; } - function S(a, b) { + function N(a, b) { return "object" === typeof a && null !== a && null != a.key ? escape(a.key) : b.toString(36); } - function T(a, b) { + function O(a, b) { a.func.call(a.context, b, a.count++); } - function U(a, b, e) { - var c = a.result, - d = a.keyPrefix; + function P(a, b, e) { + var d = a.result, + c = a.keyPrefix; a = a.func.call(a.context, b, a.count++); Array.isArray(a) - ? V(a, c, e, q.thatReturnsArgument) + ? Q(a, d, e, p.thatReturnsArgument) : null != a && - (M(a) && + (E(a) && ((b = - d + + c + (!a.key || (b && b.key === a.key) ? "" - : ("" + a.key).replace(N, "$\x26/") + "/") + + : ("" + a.key).replace(I, "$\x26/") + "/") + e), (a = { - $$typeof: t, + $$typeof: B, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner })), - c.push(a)); - } - function V(a, b, e, c, d) { - var g = ""; - null != e && (g = ("" + e).replace(N, "$\x26/") + "/"); - b = P(b, g, c, d); - null == a || R(a, "", U, b); - Q(b); - } - var W = { + d.push(a)); + } + function Q(a, b, e, d, c) { + var h = ""; + null != e && (h = ("" + e).replace(I, "$\x26/") + "/"); + b = K(b, h, d, c); + null == a || M(a, "", P, b); + L(b); + } + "function" === typeof Symbol && + Symbol["for"] && + Symbol["for"]("react.fragment"); + var R = { Children: { map: function(a, b, e) { if (null == a) return a; - var c = []; - V(a, c, null, b, e); - return c; + var d = []; + Q(a, d, null, b, e); + return d; }, forEach: function(a, b, e) { if (null == a) return a; - b = P(null, null, b, e); - null == a || R(a, "", T, b); - Q(b); + b = K(null, null, b, e); + null == a || M(a, "", O, b); + L(b); }, count: function(a) { - return null == a ? 0 : R(a, "", q.thatReturnsNull, null); + return null == a ? 0 : M(a, "", p.thatReturnsNull, null); }, toArray: function(a) { var b = []; - V(a, b, null, q.thatReturnsArgument); + Q(a, b, null, p.thatReturnsArgument); return b; }, only: function(a) { - M(a) ? void 0 : C("143"); + E(a) ? void 0 : q("143"); return a; } }, - createRef: function() { - return { current: null }; - }, - Component: E, - PureComponent: G, - createContext: function(a, b) { - void 0 === b && (b = null); - a = { - $$typeof: y, - _calculateChangedBits: b, - _defaultValue: a, - _currentValue: a, - _changedBits: 0, - Provider: null, - Consumer: null - }; - a.Provider = { $$typeof: x, _context: a }; - return (a.Consumer = a); - }, - forwardRef: function(a) { - return { $$typeof: A, render: a }; - }, - Fragment: v, - StrictMode: w, - unstable_AsyncMode: z, - createElement: L, + Component: t, + PureComponent: u, + unstable_AsyncComponent: x, + createElement: D, cloneElement: function(a, b, e) { - null === a || void 0 === a ? C("267", a) : void 0; - var c = void 0, - d = m({}, a.props), - g = a.key, + var d = m({}, a.props), + c = a.key, h = a.ref, - f = a._owner; + k = a._owner; if (null != b) { - void 0 !== b.ref && ((h = b.ref), (f = I.current)); - void 0 !== b.key && (g = "" + b.key); - var k = void 0; - a.type && a.type.defaultProps && (k = a.type.defaultProps); - for (c in b) - J.call(b, c) && - !K.hasOwnProperty(c) && - (d[c] = void 0 === b[c] && void 0 !== k ? k[c] : b[c]); - } - c = arguments.length - 2; - if (1 === c) d.children = e; - else if (1 < c) { - k = Array(c); - for (var l = 0; l < c; l++) k[l] = arguments[l + 2]; - d.children = k; + void 0 !== b.ref && ((h = b.ref), (k = z.current)); + void 0 !== b.key && (c = "" + b.key); + if (a.type && a.type.defaultProps) var f = a.type.defaultProps; + for (g in b) + A.call(b, g) && + !C.hasOwnProperty(g) && + (d[g] = void 0 === b[g] && void 0 !== f ? f[g] : b[g]); + } + var g = arguments.length - 2; + if (1 === g) d.children = e; + else if (1 < g) { + f = Array(g); + for (var l = 0; l < g; l++) f[l] = arguments[l + 2]; + d.children = f; } return { - $$typeof: t, + $$typeof: B, type: a.type, - key: g, + key: c, ref: h, props: d, - _owner: f + _owner: k }; }, createFactory: function(a) { - var b = L.bind(null, a); + var b = D.bind(null, a); b.type = a; return b; }, - isValidElement: M, - version: "16.3.2", + isValidElement: E, + version: "16.1.0", __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { - ReactCurrentOwner: I, + ReactCurrentOwner: z, assign: m } }, - X = Object.freeze({ default: W }), - Y = (X && W) || X; - module.exports = Y["default"] ? Y["default"] : Y; + S = Object.freeze({ default: R }), + T = (S && R) || S; + module.exports = T["default"] ? T["default"] : T; /***/ }, @@ -556,69 +543,6 @@ "use strict"; - /** - * Use invariant() to assert state which your program assumes to be true. - * - * Provide sprintf-style format (only %s is supported) and arguments - * to provide information about what broke and what you were - * expecting. - * - * The invariant message will be stripped in production, but the invariant - * will remain to ensure logic does not differ in production. - */ - - var validateFormat = function validateFormat(format) {}; - - if (false) { - validateFormat = function validateFormat(format) { - if (format === undefined) { - throw new Error("invariant requires an error message argument"); - } - }; - } - - function invariant(condition, format, a, b, c, d, e, f) { - validateFormat(format); - - if (!condition) { - var error; - if (format === undefined) { - error = new Error( - "Minified exception occurred; use the non-minified dev environment " + - "for the full error message and additional helpful warnings." - ); - } else { - var args = [a, b, c, d, e, f]; - var argIndex = 0; - error = new Error( - format.replace(/%s/g, function() { - return args[argIndex++]; - }) - ); - error.name = "Invariant Violation"; - } - - error.framesToPop = 1; // we don't care about invariant's own frame - throw error; - } - } - - module.exports = invariant; - - /***/ - }, - /* 6 */ - /***/ function(module, exports, __webpack_require__) { - /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - * - */ - - "use strict"; - var emptyObject = {}; if (false) { @@ -629,7 +553,7 @@ /***/ }, - /* 7 */ + /* 6 */ /***/ function(module, exports) { "use strict"; @@ -670,7 +594,7 @@ /***/ }, - /* 8 */ + /* 7 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -706,16 +630,16 @@ // DCE check should happen before ReactDOM bundle executes so that // DevTools can report bad minification during injection. checkDCE(); - module.exports = __webpack_require__(9); + module.exports = __webpack_require__(8); } else { module.exports = require("./cjs/react-dom.development.js"); } /***/ }, - /* 9 */ + /* 8 */ /***/ function(module, exports, __webpack_require__) { - /** @license React v16.3.2 + /** @license React v16.1.0 * react-dom.production.min.js * * Copyright (c) 2013-present, Facebook, Inc. @@ -723,55 +647,260 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ - /* Modernizr 3.0.0pre (Custom Build) | MIT */ "use strict"; - var ba = __webpack_require__(5), - ea = __webpack_require__(2), - m = __webpack_require__(10), + var aa = __webpack_require__(2), + m = __webpack_require__(9), A = __webpack_require__(4), - C = __webpack_require__(7), - fa = __webpack_require__(11), - ha = __webpack_require__(12), - ja = __webpack_require__(13), - ka = __webpack_require__(6); + B = __webpack_require__(6), + ca = __webpack_require__(10), + da = __webpack_require__(11), + ea = __webpack_require__(12), + ha = __webpack_require__(13), + ia = __webpack_require__(16), + C = __webpack_require__(5); function D(a) { for ( var b = arguments.length - 1, - c = "http://reactjs.org/docs/error-decoder.html?invariant\x3d" + a, + c = + "Minified React error #" + + a + + "; visit http://facebook.github.io/react/docs/error-decoder.html?invariant\x3d" + + a, d = 0; d < b; d++ ) c += "\x26args[]\x3d" + encodeURIComponent(arguments[d + 1]); - 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 + b = Error( + c + + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings." ); - } - ea ? void 0 : D("227"); - function ma(a, b, c, d, e, f, h, g, k) { - this._hasCaughtError = !1; - this._caughtError = null; - var v = Array.prototype.slice.call(arguments, 3); - try { - b.apply(c, v); - } catch (l) { - (this._caughtError = l), (this._hasCaughtError = !0); + b.name = "Invariant Violation"; + b.framesToPop = 1; + throw b; + } + aa ? void 0 : D("227"); + var la = { + children: !0, + dangerouslySetInnerHTML: !0, + defaultValue: !0, + defaultChecked: !0, + innerHTML: !0, + suppressContentEditableWarning: !0, + suppressHydrationWarning: !0, + style: !0 + }; + function qa(a, b) { + return (a & b) === b; + } + var ra = { + MUST_USE_PROPERTY: 1, + HAS_BOOLEAN_VALUE: 4, + HAS_NUMERIC_VALUE: 8, + HAS_POSITIVE_NUMERIC_VALUE: 24, + HAS_OVERLOADED_BOOLEAN_VALUE: 32, + HAS_STRING_BOOLEAN_VALUE: 64, + injectDOMPropertyConfig: function(a) { + var b = ra, + c = a.Properties || {}, + d = a.DOMAttributeNamespaces || {}, + e = a.DOMAttributeNames || {}; + a = a.DOMMutationMethods || {}; + for (var f in c) { + sa.hasOwnProperty(f) ? D("48", f) : void 0; + var g = f.toLowerCase(), + k = c[f]; + g = { + attributeName: g, + attributeNamespace: null, + propertyName: f, + mutationMethod: null, + mustUseProperty: qa(k, b.MUST_USE_PROPERTY), + hasBooleanValue: qa(k, b.HAS_BOOLEAN_VALUE), + hasNumericValue: qa(k, b.HAS_NUMERIC_VALUE), + hasPositiveNumericValue: qa(k, b.HAS_POSITIVE_NUMERIC_VALUE), + hasOverloadedBooleanValue: qa( + k, + b.HAS_OVERLOADED_BOOLEAN_VALUE + ), + hasStringBooleanValue: qa(k, b.HAS_STRING_BOOLEAN_VALUE) + }; + 1 >= + g.hasBooleanValue + + g.hasNumericValue + + g.hasOverloadedBooleanValue + ? void 0 + : D("50", f); + e.hasOwnProperty(f) && (g.attributeName = e[f]); + d.hasOwnProperty(f) && (g.attributeNamespace = d[f]); + a.hasOwnProperty(f) && (g.mutationMethod = a[f]); + sa[f] = g; + } + } + }, + sa = {}; + function ta(a, b) { + if ( + la.hasOwnProperty(a) || + (2 < a.length && + ("o" === a[0] || "O" === a[0]) && + ("n" === a[1] || "N" === a[1])) + ) + return !1; + if (null === b) return !0; + switch (typeof b) { + case "boolean": + return ( + la.hasOwnProperty(a) + ? (a = !0) + : (b = ua(a)) + ? (a = + b.hasBooleanValue || + b.hasStringBooleanValue || + b.hasOverloadedBooleanValue) + : ((a = a.toLowerCase().slice(0, 5)), + (a = "data-" === a || "aria-" === a)), + a + ); + case "undefined": + case "number": + case "string": + case "object": + return !0; + default: + return !1; } } - var E = { + function ua(a) { + return sa.hasOwnProperty(a) ? sa[a] : null; + } + var va = ra, + wa = va.MUST_USE_PROPERTY, + H = va.HAS_BOOLEAN_VALUE, + xa = va.HAS_NUMERIC_VALUE, + ya = va.HAS_POSITIVE_NUMERIC_VALUE, + za = va.HAS_STRING_BOOLEAN_VALUE, + Aa = { + Properties: { + allowFullScreen: H, + autoFocus: za, + async: H, + autoPlay: H, + capture: H, + checked: wa | H, + cols: ya, + contentEditable: za, + controls: H, + default: H, + defer: H, + disabled: H, + download: va.HAS_OVERLOADED_BOOLEAN_VALUE, + draggable: za, + formNoValidate: H, + hidden: H, + loop: H, + multiple: wa | H, + muted: wa | H, + noValidate: H, + open: H, + playsInline: H, + readOnly: H, + required: H, + reversed: H, + rows: ya, + rowSpan: xa, + scoped: H, + seamless: H, + selected: wa | H, + size: ya, + start: xa, + span: ya, + spellCheck: za, + style: 0, + tabIndex: 0, + itemScope: H, + acceptCharset: 0, + className: 0, + htmlFor: 0, + httpEquiv: 0, + value: za + }, + DOMAttributeNames: { + acceptCharset: "accept-charset", + className: "class", + htmlFor: "for", + httpEquiv: "http-equiv" + }, + DOMMutationMethods: { + value: function(a, b) { + if (null == b) return a.removeAttribute("value"); + "number" !== a.type || !1 === a.hasAttribute("value") + ? a.setAttribute("value", "" + b) + : a.validity && + !a.validity.badInput && + a.ownerDocument.activeElement !== a && + a.setAttribute("value", "" + b); + } + } + }, + Ba = va.HAS_STRING_BOOLEAN_VALUE, + K = { + xlink: "http://www.w3.org/1999/xlink", + xml: "http://www.w3.org/XML/1998/namespace" + }, + Ca = { + Properties: { + autoReverse: Ba, + externalResourcesRequired: Ba, + preserveAlpha: Ba + }, + DOMAttributeNames: { + autoReverse: "autoReverse", + externalResourcesRequired: "externalResourcesRequired", + preserveAlpha: "preserveAlpha" + }, + DOMAttributeNamespaces: { + xlinkActuate: K.xlink, + xlinkArcrole: K.xlink, + xlinkHref: K.xlink, + xlinkRole: K.xlink, + xlinkShow: K.xlink, + xlinkTitle: K.xlink, + xlinkType: K.xlink, + xmlBase: K.xml, + xmlLang: K.xml, + xmlSpace: K.xml + } + }, + Da = /[\-\:]([a-z])/g; + function Ea(a) { + return a[1].toUpperCase(); + } + "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode x-height xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xmlns:xlink xml:lang xml:space" + .split(" ") + .forEach(function(a) { + var b = a.replace(Da, Ea); + Ca.Properties[b] = 0; + Ca.DOMAttributeNames[b] = a; + }); + va.injectDOMPropertyConfig(Aa); + va.injectDOMPropertyConfig(Ca); + var N = { _caughtError: null, _hasCaughtError: !1, _rethrowError: null, _hasRethrowError: !1, - invokeGuardedCallback: function(a, b, c, d, e, f, h, g, k) { - ma.apply(E, arguments); + injection: { + injectErrorUtils: function(a) { + "function" !== typeof a.invokeGuardedCallback ? D("197") : void 0; + Ha = a.invokeGuardedCallback; + } + }, + invokeGuardedCallback: function(a, b, c, d, e, f, g, k, h) { + Ha.apply(N, arguments); }, invokeGuardedCallbackAndCatchFirstError: function( a, @@ -780,117 +909,127 @@ d, e, f, - h, g, - k + k, + h ) { - E.invokeGuardedCallback.apply(this, arguments); - if (E.hasCaughtError()) { - var v = E.clearCaughtError(); - E._hasRethrowError || - ((E._hasRethrowError = !0), (E._rethrowError = v)); + N.invokeGuardedCallback.apply(this, arguments); + if (N.hasCaughtError()) { + var r = N.clearCaughtError(); + N._hasRethrowError || + ((N._hasRethrowError = !0), (N._rethrowError = r)); } }, rethrowCaughtError: function() { - return na.apply(E, arguments); + return Ia.apply(N, arguments); }, hasCaughtError: function() { - return E._hasCaughtError; + return N._hasCaughtError; }, clearCaughtError: function() { - if (E._hasCaughtError) { - var a = E._caughtError; - E._caughtError = null; - E._hasCaughtError = !1; + if (N._hasCaughtError) { + var a = N._caughtError; + N._caughtError = null; + N._hasCaughtError = !1; return a; } D("198"); } }; - function na() { - if (E._hasRethrowError) { - var a = E._rethrowError; - E._rethrowError = null; - E._hasRethrowError = !1; + function Ha(a, b, c, d, e, f, g, k, h) { + N._hasCaughtError = !1; + N._caughtError = null; + var r = Array.prototype.slice.call(arguments, 3); + try { + b.apply(c, r); + } catch (n) { + (N._caughtError = n), (N._hasCaughtError = !0); + } + } + function Ia() { + if (N._hasRethrowError) { + var a = N._rethrowError; + N._rethrowError = null; + N._hasRethrowError = !1; throw a; } } - var oa = null, - pa = {}; - function qa() { - if (oa) - for (var a in pa) { - var b = pa[a], - c = oa.indexOf(a); + var Ja = null, + Ka = {}; + function La() { + if (Ja) + for (var a in Ka) { + var b = Ka[a], + c = Ja.indexOf(a); -1 < c ? void 0 : D("96", a); - if (!ra[c]) { + if (!Ma[c]) { b.extractEvents ? void 0 : D("97", a); - ra[c] = b; + Ma[c] = b; c = b.eventTypes; for (var d in c) { var e = void 0; var f = c[d], - h = b, - g = d; - sa.hasOwnProperty(g) ? D("99", g) : void 0; - sa[g] = f; - var k = f.phasedRegistrationNames; - if (k) { - for (e in k) k.hasOwnProperty(e) && ta(k[e], h, g); + g = b, + k = d; + Na.hasOwnProperty(k) ? D("99", k) : void 0; + Na[k] = f; + var h = f.phasedRegistrationNames; + if (h) { + for (e in h) h.hasOwnProperty(e) && Oa(h[e], g, k); e = !0; } else f.registrationName - ? (ta(f.registrationName, h, g), (e = !0)) + ? (Oa(f.registrationName, g, k), (e = !0)) : (e = !1); e ? void 0 : D("98", d, a); } } } } - function ta(a, b, c) { - ua[a] ? D("100", a) : void 0; - ua[a] = b; - va[a] = b.eventTypes[c].dependencies; + function Oa(a, b, c) { + Pa[a] ? D("100", a) : void 0; + Pa[a] = b; + Qa[a] = b.eventTypes[c].dependencies; } - var ra = [], - sa = {}, - ua = {}, - va = {}; - function wa(a) { - oa ? D("101") : void 0; - oa = Array.prototype.slice.call(a); - qa(); + var Ma = [], + Na = {}, + Pa = {}, + Qa = {}; + function Ra(a) { + Ja ? D("101") : void 0; + Ja = Array.prototype.slice.call(a); + La(); } - function xa(a) { + function Sa(a) { var b = !1, c; for (c in a) if (a.hasOwnProperty(c)) { var d = a[c]; - (pa.hasOwnProperty(c) && pa[c] === d) || - (pa[c] ? D("102", c) : void 0, (pa[c] = d), (b = !0)); + (Ka.hasOwnProperty(c) && Ka[c] === d) || + (Ka[c] ? D("102", c) : void 0, (Ka[c] = d), (b = !0)); } - b && qa(); + b && La(); } - var Ca = Object.freeze({ - plugins: ra, - eventNameDispatchConfigs: sa, - registrationNameModules: ua, - registrationNameDependencies: va, + var Ta = Object.freeze({ + plugins: Ma, + eventNameDispatchConfigs: Na, + registrationNameModules: Pa, + registrationNameDependencies: Qa, possibleRegistrationNames: null, - injectEventPluginOrder: wa, - injectEventPluginsByName: xa + injectEventPluginOrder: Ra, + injectEventPluginsByName: Sa }), - Da = null, - Ea = null, - Fa = null; - function Ga(a, b, c, d) { + Ua = null, + Va = null, + Wa = null; + function Xa(a, b, c, d) { b = a.type || "unknown-event"; - a.currentTarget = Fa(d); - E.invokeGuardedCallbackAndCatchFirstError(b, c, void 0, a); + a.currentTarget = Wa(d); + N.invokeGuardedCallbackAndCatchFirstError(b, c, void 0, a); a.currentTarget = null; } - function Ha(a, b) { + function Ya(a, b) { null == b ? D("30") : void 0; if (null == a) return b; if (Array.isArray(a)) { @@ -900,34 +1039,34 @@ } return Array.isArray(b) ? [a].concat(b) : [a, b]; } - function Ia(a, b, c) { + function Za(a, b, c) { Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a); } - var Ja = null; - function Ka(a, b) { + var $a = null; + function ab(a, b) { if (a) { var c = a._dispatchListeners, d = a._dispatchInstances; if (Array.isArray(c)) for (var e = 0; e < c.length && !a.isPropagationStopped(); e++) - Ga(a, b, c[e], d[e]); - else c && Ga(a, b, c, d); + Xa(a, b, c[e], d[e]); + else c && Xa(a, b, c, d); a._dispatchListeners = null; a._dispatchInstances = null; a.isPersistent() || a.constructor.release(a); } } - function La(a) { - return Ka(a, !0); + function bb(a) { + return ab(a, !0); } - function Ma(a) { - return Ka(a, !1); + function cb(a) { + return ab(a, !1); } - var Na = { injectEventPluginOrder: wa, injectEventPluginsByName: xa }; - function Oa(a, b) { + var db = { injectEventPluginOrder: Ra, injectEventPluginsByName: Sa }; + function eb(a, b) { var c = a.stateNode; if (!c) return null; - var d = Da(c); + var d = Ua(c); if (!d) return null; c = d[b]; a: switch (b) { @@ -958,182 +1097,187 @@ c && "function" !== typeof c ? D("231", b, typeof c) : void 0; return c; } - function Pa(a, b) { - null !== a && (Ja = Ha(Ja, a)); - a = Ja; - Ja = null; - a && - (b ? Ia(a, La) : Ia(a, Ma), - Ja ? D("95") : void 0, - E.rethrowCaughtError()); - } - function Qa(a, b, c, d) { - for (var e = null, f = 0; f < ra.length; f++) { - var h = ra[f]; - h && (h = h.extractEvents(a, b, c, d)) && (e = Ha(e, h)); - } - Pa(e, !1); - } - var Ra = Object.freeze({ - injection: Na, - getListener: Oa, - runEventsInBatch: Pa, - runExtractedEventsInBatch: Qa + function jb(a, b, c, d) { + for (var e, f = 0; f < Ma.length; f++) { + var g = Ma[f]; + g && (g = g.extractEvents(a, b, c, d)) && (e = Ya(e, g)); + } + return e; + } + function kb(a) { + a && ($a = Ya($a, a)); + } + function lb(a) { + var b = $a; + $a = null; + a ? Za(b, bb) : Za(b, cb); + $a ? D("95") : void 0; + N.rethrowCaughtError(); + } + var mb = Object.freeze({ + injection: db, + getListener: eb, + extractEvents: jb, + enqueueEvents: kb, + processEventQueue: lb }), - Sa = Math.random() + nb = Math.random() .toString(36) .slice(2), - F = "__reactInternalInstance$" + Sa, - Ta = "__reactEventHandlers$" + Sa; - function Ua(a) { - if (a[F]) return a[F]; - for (; !a[F]; ) - if (a.parentNode) a = a.parentNode; + O = "__reactInternalInstance$" + nb, + ob = "__reactEventHandlers$" + nb; + function pb(a) { + if (a[O]) return a[O]; + for (var b = []; !a[O]; ) + if ((b.push(a), a.parentNode)) a = a.parentNode; else return null; - a = a[F]; - return 5 === a.tag || 6 === a.tag ? a : null; + var c = void 0, + d = a[O]; + if (5 === d.tag || 6 === d.tag) return d; + for (; a && (d = a[O]); a = b.pop()) c = d; + return c; } - function Va(a) { + function qb(a) { if (5 === a.tag || 6 === a.tag) return a.stateNode; D("33"); } - function Xa(a) { - return a[Ta] || null; + function rb(a) { + return a[ob] || null; } - var bb = Object.freeze({ + var sb = Object.freeze({ precacheFiberNode: function(a, b) { - b[F] = a; + b[O] = a; }, - getClosestInstanceFromNode: Ua, + getClosestInstanceFromNode: pb, getInstanceFromNode: function(a) { - a = a[F]; + a = a[O]; return !a || (5 !== a.tag && 6 !== a.tag) ? null : a; }, - getNodeFromInstance: Va, - getFiberCurrentPropsFromNode: Xa, + getNodeFromInstance: qb, + getFiberCurrentPropsFromNode: rb, updateFiberProps: function(a, b) { - a[Ta] = b; + a[ob] = b; } }); - function L(a) { + function Q(a) { do a = a["return"]; while (a && 5 !== a.tag); return a ? a : null; } - function cb(a, b, c) { - for (var d = []; a; ) d.push(a), (a = L(a)); + function tb(a, b, c) { + for (var d = []; a; ) d.push(a), (a = Q(a)); for (a = d.length; 0 < a--; ) b(d[a], "captured", c); for (a = 0; a < d.length; a++) b(d[a], "bubbled", c); } - function db(a, b, c) { - if ((b = Oa(a, c.dispatchConfig.phasedRegistrationNames[b]))) - (c._dispatchListeners = Ha(c._dispatchListeners, b)), - (c._dispatchInstances = Ha(c._dispatchInstances, a)); + function ub(a, b, c) { + if ((b = eb(a, c.dispatchConfig.phasedRegistrationNames[b]))) + (c._dispatchListeners = Ya(c._dispatchListeners, b)), + (c._dispatchInstances = Ya(c._dispatchInstances, a)); } - function eb(a) { + function vb(a) { a && a.dispatchConfig.phasedRegistrationNames && - cb(a._targetInst, db, a); + tb(a._targetInst, ub, a); } - function fb(a) { + function wb(a) { if (a && a.dispatchConfig.phasedRegistrationNames) { var b = a._targetInst; - b = b ? L(b) : null; - cb(b, db, a); + b = b ? Q(b) : null; + tb(b, ub, a); } } - function gb(a, b, c) { + function xb(a, b, c) { a && c && c.dispatchConfig.registrationName && - (b = Oa(a, c.dispatchConfig.registrationName)) && - ((c._dispatchListeners = Ha(c._dispatchListeners, b)), - (c._dispatchInstances = Ha(c._dispatchInstances, a))); + (b = eb(a, c.dispatchConfig.registrationName)) && + ((c._dispatchListeners = Ya(c._dispatchListeners, b)), + (c._dispatchInstances = Ya(c._dispatchInstances, a))); } - function hb(a) { - a && a.dispatchConfig.registrationName && gb(a._targetInst, null, a); + function yb(a) { + a && a.dispatchConfig.registrationName && xb(a._targetInst, null, a); } - function ib(a) { - Ia(a, eb); + function zb(a) { + Za(a, vb); } - function jb(a, b, c, d) { + function Ab(a, b, c, d) { if (c && d) a: { var e = c; - for (var f = d, h = 0, g = e; g; g = L(g)) h++; - g = 0; - for (var k = f; k; k = L(k)) g++; - for (; 0 < h - g; ) (e = L(e)), h--; - for (; 0 < g - h; ) (f = L(f)), g--; - for (; h--; ) { + for (var f = d, g = 0, k = e; k; k = Q(k)) g++; + k = 0; + for (var h = f; h; h = Q(h)) k++; + for (; 0 < g - k; ) (e = Q(e)), g--; + for (; 0 < k - g; ) (f = Q(f)), k--; + for (; g--; ) { if (e === f || e === f.alternate) break a; - e = L(e); - f = L(f); + e = Q(e); + f = Q(f); } e = null; } else e = null; f = e; for (e = []; c && c !== f; ) { - h = c.alternate; - if (null !== h && h === f) break; + g = c.alternate; + if (null !== g && g === f) break; e.push(c); - c = L(c); + c = Q(c); } for (c = []; d && d !== f; ) { - h = d.alternate; - if (null !== h && h === f) break; + g = d.alternate; + if (null !== g && g === f) break; c.push(d); - d = L(d); + d = Q(d); } - for (d = 0; d < e.length; d++) gb(e[d], "bubbled", a); - for (a = c.length; 0 < a--; ) gb(c[a], "captured", b); + for (d = 0; d < e.length; d++) xb(e[d], "bubbled", a); + for (a = c.length; 0 < a--; ) xb(c[a], "captured", b); } - var kb = Object.freeze({ - accumulateTwoPhaseDispatches: ib, + var Bb = Object.freeze({ + accumulateTwoPhaseDispatches: zb, accumulateTwoPhaseDispatchesSkipTarget: function(a) { - Ia(a, fb); + Za(a, wb); }, - accumulateEnterLeaveDispatches: jb, + accumulateEnterLeaveDispatches: Ab, accumulateDirectDispatches: function(a) { - Ia(a, hb); + Za(a, yb); } }), - lb = null; - function mb() { - !lb && + Cb = null; + function Db() { + !Cb && m.canUseDOM && - (lb = + (Cb = "textContent" in document.documentElement ? "textContent" : "innerText"); - return lb; + return Cb; } - var M = { _root: null, _startText: null, _fallbackText: null }; - function nb() { - if (M._fallbackText) return M._fallbackText; + var R = { _root: null, _startText: null, _fallbackText: null }; + function Eb() { + if (R._fallbackText) return R._fallbackText; var a, - b = M._startText, + b = R._startText, c = b.length, d, - e = ob(), + e = Fb(), f = e.length; for (a = 0; a < c && b[a] === e[a]; a++); - var h = c - a; - for (d = 1; d <= h && b[c - d] === e[f - d]; d++); - M._fallbackText = e.slice(a, 1 < d ? 1 - d : void 0); - return M._fallbackText; + var g = c - a; + for (d = 1; d <= g && b[c - d] === e[f - d]; d++); + R._fallbackText = e.slice(a, 1 < d ? 1 - d : void 0); + return R._fallbackText; } - function ob() { - return "value" in M._root ? M._root.value : M._root[mb()]; + function Fb() { + return "value" in R._root ? R._root.value : R._root[Db()]; } - var pb = "dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split( + var Gb = "dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split( " " ), - qb = { + Hb = { type: null, target: null, - currentTarget: C.thatReturnsNull, + currentTarget: B.thatReturnsNull, eventPhase: null, bubbles: null, cancelable: null, @@ -1143,7 +1287,7 @@ defaultPrevented: null, isTrusted: null }; - function N(a, b, c, d) { + function S(a, b, c, d) { this.dispatchConfig = a; this._targetInst = b; this.nativeEvent = c; @@ -1152,18 +1296,16 @@ a.hasOwnProperty(e) && ((b = a[e]) ? (this[e] = b(c)) - : "target" === e - ? (this.target = d) - : (this[e] = c[e])); + : "target" === e ? (this.target = d) : (this[e] = c[e])); this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) - ? C.thatReturnsTrue - : C.thatReturnsFalse; - this.isPropagationStopped = C.thatReturnsFalse; + ? B.thatReturnsTrue + : B.thatReturnsFalse; + this.isPropagationStopped = B.thatReturnsFalse; return this; } - A(N.prototype, { + A(S.prototype, { preventDefault: function() { this.defaultPrevented = !0; var a = this.nativeEvent; @@ -1171,7 +1313,7 @@ (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = !1), - (this.isDefaultPrevented = C.thatReturnsTrue)); + (this.isDefaultPrevented = B.thatReturnsTrue)); }, stopPropagation: function() { var a = this.nativeEvent; @@ -1179,38 +1321,33 @@ (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), - (this.isPropagationStopped = C.thatReturnsTrue)); + (this.isPropagationStopped = B.thatReturnsTrue)); }, persist: function() { - this.isPersistent = C.thatReturnsTrue; + this.isPersistent = B.thatReturnsTrue; }, - isPersistent: C.thatReturnsFalse, + isPersistent: B.thatReturnsFalse, destructor: function() { var a = this.constructor.Interface, b; for (b in a) this[b] = null; - for (a = 0; a < pb.length; a++) this[pb[a]] = null; + for (a = 0; a < Gb.length; a++) this[Gb[a]] = null; } }); - N.Interface = qb; - N.extend = function(a) { - function b() {} - function c() { - return d.apply(this, arguments); - } - var d = this; - b.prototype = d.prototype; - var e = new b(); - A(e, c.prototype); - c.prototype = e; - c.prototype.constructor = c; - c.Interface = A({}, d.Interface, a); - c.extend = d.extend; - rb(c); - return c; + S.Interface = Hb; + S.augmentClass = function(a, b) { + function c() {} + c.prototype = this.prototype; + var d = new c(); + A(d, a.prototype); + a.prototype = d; + a.prototype.constructor = a; + a.Interface = A({}, this.Interface, b); + a.augmentClass = this.augmentClass; + Ib(a); }; - rb(N); - function sb(a, b, c, d) { + Ib(S); + function Jb(a, b, c, d) { if (this.eventPool.length) { var e = this.eventPool.pop(); this.call(e, a, b, c, d); @@ -1218,26 +1355,41 @@ } return new this(a, b, c, d); } - function tb(a) { + function Qb(a) { a instanceof this ? void 0 : D("223"); a.destructor(); 10 > this.eventPool.length && this.eventPool.push(a); } - function rb(a) { + function Ib(a) { a.eventPool = []; - a.getPooled = sb; - a.release = tb; - } - var ub = N.extend({ data: null }), - vb = N.extend({ data: null }), - wb = [9, 13, 27, 32], - xb = m.canUseDOM && "CompositionEvent" in window, - yb = null; - m.canUseDOM && "documentMode" in document && (yb = document.documentMode); - var zb = m.canUseDOM && "TextEvent" in window && !yb, - Ab = m.canUseDOM && (!xb || (yb && 8 < yb && 11 >= yb)), - Bb = String.fromCharCode(32), - Kb = { + a.getPooled = Jb; + a.release = Qb; + } + function Rb(a, b, c, d) { + return S.call(this, a, b, c, d); + } + S.augmentClass(Rb, { data: null }); + function Sb(a, b, c, d) { + return S.call(this, a, b, c, d); + } + S.augmentClass(Sb, { data: null }); + var Tb = [9, 13, 27, 32], + Ub = m.canUseDOM && "CompositionEvent" in window, + Vb = null; + m.canUseDOM && "documentMode" in document && (Vb = document.documentMode); + var Wb; + if ((Wb = m.canUseDOM && "TextEvent" in window && !Vb)) { + var Xb = window.opera; + Wb = !( + "object" === typeof Xb && + "function" === typeof Xb.version && + 12 >= parseInt(Xb.version(), 10) + ); + } + var Yb = Wb, + Zb = m.canUseDOM && (!Ub || (Vb && 8 < Vb && 11 >= Vb)), + $b = String.fromCharCode(32), + ac = { beforeInput: { phasedRegistrationNames: { bubbled: "onBeforeInput", @@ -1278,11 +1430,11 @@ ) } }, - Lb = !1; - function Mb(a, b) { + bc = !1; + function cc(a, b) { switch (a) { case "topKeyUp": - return -1 !== wb.indexOf(b.keyCode); + return -1 !== Tb.indexOf(b.keyCode); case "topKeyDown": return 229 !== b.keyCode; case "topKeyPress": @@ -1293,33 +1445,33 @@ return !1; } } - function Nb(a) { + function dc(a) { a = a.detail; return "object" === typeof a && "data" in a ? a.data : null; } - var Ob = !1; - function Pb(a, b) { + var ec = !1; + function fc(a, b) { switch (a) { case "topCompositionEnd": - return Nb(b); + return dc(b); case "topKeyPress": if (32 !== b.which) return null; - Lb = !0; - return Bb; + bc = !0; + return $b; case "topTextInput": - return (a = b.data), a === Bb && Lb ? null : a; + return (a = b.data), a === $b && bc ? null : a; default: return null; } } - function Qb(a, b) { - if (Ob) - return "topCompositionEnd" === a || (!xb && Mb(a, b)) - ? ((a = nb()), - (M._root = null), - (M._startText = null), - (M._fallbackText = null), - (Ob = !1), + function gc(a, b) { + if (ec) + return "topCompositionEnd" === a || (!Ub && cc(a, b)) + ? ((a = Eb()), + (R._root = null), + (R._startText = null), + (R._fallbackText = null), + (ec = !1), a) : null; switch (a) { @@ -1335,111 +1487,102 @@ } return null; case "topCompositionEnd": - return Ab ? null : b.data; + return Zb ? null : b.data; default: return null; } } - var Rb = { - eventTypes: Kb, + var hc = { + eventTypes: ac, extractEvents: function(a, b, c, d) { - var e = void 0; - var f = void 0; - if (xb) + var e; + if (Ub) b: { switch (a) { case "topCompositionStart": - e = Kb.compositionStart; + var f = ac.compositionStart; break b; case "topCompositionEnd": - e = Kb.compositionEnd; + f = ac.compositionEnd; break b; case "topCompositionUpdate": - e = Kb.compositionUpdate; + f = ac.compositionUpdate; break b; } - e = void 0; + f = void 0; } else - Ob - ? Mb(a, c) && (e = Kb.compositionEnd) + ec + ? cc(a, c) && (f = ac.compositionEnd) : "topKeyDown" === a && 229 === c.keyCode && - (e = Kb.compositionStart); - e - ? (Ab && - (Ob || e !== Kb.compositionStart - ? e === Kb.compositionEnd && Ob && (f = nb()) - : ((M._root = d), (M._startText = ob()), (Ob = !0))), - (e = ub.getPooled(e, b, c, d)), - f ? (e.data = f) : ((f = Nb(c)), null !== f && (e.data = f)), - ib(e), - (f = e)) - : (f = null); - (a = zb ? Pb(a, c) : Qb(a, c)) - ? ((b = vb.getPooled(Kb.beforeInput, b, c, d)), + (f = ac.compositionStart); + f + ? (Zb && + (ec || f !== ac.compositionStart + ? f === ac.compositionEnd && ec && (e = Eb()) + : ((R._root = d), (R._startText = Fb()), (ec = !0))), + (f = Rb.getPooled(f, b, c, d)), + e ? (f.data = e) : ((e = dc(c)), null !== e && (f.data = e)), + zb(f), + (e = f)) + : (e = null); + (a = Yb ? fc(a, c) : gc(a, c)) + ? ((b = Sb.getPooled(ac.beforeInput, b, c, d)), (b.data = a), - ib(b)) + zb(b)) : (b = null); - return null === f ? b : null === b ? f : [f, b]; - } - }, - Sb = null, - Tb = { - injectFiberControlledHostComponent: function(a) { - Sb = a; + return [e, b]; } }, - Ub = null, - Vb = null; - function Wb(a) { - if ((a = Ea(a))) { - Sb && "function" === typeof Sb.restoreControlledState + ic = null, + jc = null, + kc = null; + function lc(a) { + if ((a = Va(a))) { + ic && "function" === typeof ic.restoreControlledState ? void 0 : D("194"); - var b = Da(a.stateNode); - Sb.restoreControlledState(a.stateNode, a.type, b); + var b = Ua(a.stateNode); + ic.restoreControlledState(a.stateNode, a.type, b); } } - function Xb(a) { - Ub ? (Vb ? Vb.push(a) : (Vb = [a])) : (Ub = a); - } - function Yb() { - return null !== Ub || null !== Vb; - } - function Zb() { - if (Ub) { - var a = Ub, - b = Vb; - Vb = Ub = null; - Wb(a); - if (b) for (a = 0; a < b.length; a++) Wb(b[a]); + var mc = { + injectFiberControlledHostComponent: function(a) { + ic = a; } - } - var $b = Object.freeze({ - injection: Tb, - enqueueStateRestore: Xb, - needsStateRestore: Yb, - restoreStateIfNeeded: Zb + }; + function nc(a) { + jc ? (kc ? kc.push(a) : (kc = [a])) : (jc = a); + } + function oc() { + if (jc) { + var a = jc, + b = kc; + kc = jc = null; + lc(a); + if (b) for (a = 0; a < b.length; a++) lc(b[a]); + } + } + var pc = Object.freeze({ + injection: mc, + enqueueStateRestore: nc, + restoreStateIfNeeded: oc }); - function ac(a, b) { + function qc(a, b) { return a(b); } - function bc(a, b, c) { - return a(b, c); - } - function cc() {} - var dc = !1; - function ec(a, b) { - if (dc) return a(b); - dc = !0; + var rc = !1; + function sc(a, b) { + if (rc) return qc(a, b); + rc = !0; try { - return ac(a, b); + return qc(a, b); } finally { - (dc = !1), Yb() && (cc(), Zb()); + (rc = !1), oc(); } } - var fc = { + var tc = { color: !0, date: !0, datetime: !0, @@ -1456,26 +1599,36 @@ url: !0, week: !0 }; - function gc(a) { + function uc(a) { var b = a && a.nodeName && a.nodeName.toLowerCase(); - return "input" === b ? !!fc[a.type] : "textarea" === b ? !0 : !1; + return "input" === b ? !!tc[a.type] : "textarea" === b ? !0 : !1; } - function hc(a) { - a = a.target || window; + function vc(a) { + a = a.target || a.srcElement || window; a.correspondingUseElement && (a = a.correspondingUseElement); return 3 === a.nodeType ? a.parentNode : a; } - function ic(a, b) { + var wc; + m.canUseDOM && + (wc = + document.implementation && + document.implementation.hasFeature && + !0 !== document.implementation.hasFeature("", "")); + function xc(a, b) { if (!m.canUseDOM || (b && !("addEventListener" in document))) return !1; - a = "on" + a; - b = a in document; - b || - ((b = document.createElement("div")), - b.setAttribute(a, "return;"), - (b = "function" === typeof b[a])); - return b; + b = "on" + a; + var c = b in document; + c || + ((c = document.createElement("div")), + c.setAttribute(b, "return;"), + (c = "function" === typeof c[b])); + !c && + wc && + "wheel" === a && + (c = document.implementation.hasFeature("Events.wheel", "3.0")); + return c; } - function jc(a) { + function yc(a) { var b = a.type; return ( (a = a.nodeName) && @@ -1483,8 +1636,8 @@ ("checkbox" === b || "radio" === b) ); } - function kc(a) { - var b = jc(a) ? "checked" : "value", + function zc(a) { + var b = yc(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b]; if ( @@ -1494,6 +1647,7 @@ ) return ( Object.defineProperty(a, b, { + enumerable: c.enumerable, configurable: !0, get: function() { return c.get.call(this); @@ -1503,7 +1657,6 @@ c.set.call(this, a); } }), - Object.defineProperty(a, b, { enumerable: c.enumerable }), { getValue: function() { return d; @@ -1518,306 +1671,20 @@ } ); } - function lc(a) { - a._valueTracker || (a._valueTracker = kc(a)); + function Ac(a) { + a._valueTracker || (a._valueTracker = zc(a)); } - function mc(a) { + function Bc(a) { if (!a) return !1; var b = a._valueTracker; if (!b) return !0; var c = b.getValue(); var d = ""; - a && (d = jc(a) ? (a.checked ? "true" : "false") : a.value); + a && (d = yc(a) ? (a.checked ? "true" : "false") : a.value); a = d; return a !== c ? (b.setValue(a), !0) : !1; } - var nc = - ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED - .ReactCurrentOwner, - O = "function" === typeof Symbol && Symbol["for"], - oc = O ? Symbol["for"]("react.element") : 60103, - pc = O ? Symbol["for"]("react.call") : 60104, - qc = O ? Symbol["for"]("react.return") : 60105, - rc = O ? Symbol["for"]("react.portal") : 60106, - sc = O ? Symbol["for"]("react.fragment") : 60107, - tc = O ? Symbol["for"]("react.strict_mode") : 60108, - uc = O ? Symbol["for"]("react.provider") : 60109, - vc = O ? Symbol["for"]("react.context") : 60110, - wc = O ? Symbol["for"]("react.async_mode") : 60111, - xc = O ? Symbol["for"]("react.forward_ref") : 60112, - yc = "function" === typeof Symbol && Symbol.iterator; - function zc(a) { - if (null === a || "undefined" === typeof a) return null; - a = (yc && a[yc]) || a["@@iterator"]; - return "function" === typeof a ? a : null; - } - function Ac(a) { - a = a.type; - if ("function" === typeof a) return a.displayName || a.name; - if ("string" === typeof a) return a; - switch (a) { - case sc: - return "ReactFragment"; - case rc: - return "ReactPortal"; - case pc: - return "ReactCall"; - case qc: - return "ReactReturn"; - } - if ("object" === typeof a && null !== a) - switch (a.$$typeof) { - case xc: - return ( - (a = a.render.displayName || a.render.name || ""), - "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef" - ); - } - return null; - } - function Bc(a) { - var b = ""; - do { - a: switch (a.tag) { - case 0: - case 1: - case 2: - case 5: - var c = a._debugOwner, - d = a._debugSource; - var e = Ac(a); - var f = null; - c && (f = Ac(c)); - c = d; - e = - "\n in " + - (e || "Unknown") + - (c - ? " (at " + - c.fileName.replace(/^.*[\\\/]/, "") + - ":" + - c.lineNumber + - ")" - : f - ? " (created by " + f + ")" - : ""); - break a; - default: - e = ""; - } - b += e; - a = a["return"]; - } while (a); - return b; - } - var Cc = /^[: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]*$/, - Dc = {}, - Ec = {}; - function Fc(a) { - if (Ec.hasOwnProperty(a)) return !0; - if (Dc.hasOwnProperty(a)) return !1; - if (Cc.test(a)) return (Ec[a] = !0); - Dc[a] = !0; - return !1; - } - function Gc(a, b, c, d) { - if (null !== c && 0 === c.type) return !1; - switch (typeof b) { - case "function": - case "symbol": - return !0; - case "boolean": - if (d) return !1; - if (null !== c) return !c.acceptsBooleans; - a = a.toLowerCase().slice(0, 5); - return "data-" !== a && "aria-" !== a; - default: - return !1; - } - } - function Hc(a, b, c, d) { - if (null === b || "undefined" === typeof b || Gc(a, b, c, d)) return !0; - if (null !== c) - switch (c.type) { - case 3: - return !b; - case 4: - return !1 === b; - case 5: - return isNaN(b); - case 6: - return isNaN(b) || 1 > b; - } - return !1; - } - function U(a, b, c, d, e) { - this.acceptsBooleans = 2 === b || 3 === b || 4 === b; - this.attributeName = d; - this.attributeNamespace = e; - this.mustUseProperty = c; - this.propertyName = a; - this.type = b; - } - var V = {}; - "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style" - .split(" ") - .forEach(function(a) { - V[a] = new U(a, 0, !1, a, null); - }); - [ - ["acceptCharset", "accept-charset"], - ["className", "class"], - ["htmlFor", "for"], - ["httpEquiv", "http-equiv"] - ].forEach(function(a) { - var b = a[0]; - V[b] = new U(b, 1, !1, a[1], null); - }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function( - a - ) { - V[a] = new U(a, 2, !1, a.toLowerCase(), null); - }); - ["autoReverse", "externalResourcesRequired", "preserveAlpha"].forEach( - function(a) { - V[a] = new U(a, 2, !1, a, null); - } - ); - "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) { - V[a] = new U(a, 3, !1, a.toLowerCase(), null); - }); - ["checked", "multiple", "muted", "selected"].forEach(function(a) { - V[a] = new U(a, 3, !0, a.toLowerCase(), null); - }); - ["capture", "download"].forEach(function(a) { - V[a] = new U(a, 4, !1, a.toLowerCase(), null); - }); - ["cols", "rows", "size", "span"].forEach(function(a) { - V[a] = new U(a, 6, !1, a.toLowerCase(), null); - }); - ["rowSpan", "start"].forEach(function(a) { - V[a] = new U(a, 5, !1, a.toLowerCase(), null); - }); - var Sc = /[\-:]([a-z])/g; - function Tc(a) { - return a[1].toUpperCase(); - } - "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height" - .split(" ") - .forEach(function(a) { - var b = a.replace(Sc, Tc); - V[b] = new U(b, 1, !1, a, null); - }); - "xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type" - .split(" ") - .forEach(function(a) { - var b = a.replace(Sc, Tc); - V[b] = new U(b, 1, !1, a, "http://www.w3.org/1999/xlink"); - }); - ["xml:base", "xml:lang", "xml:space"].forEach(function(a) { - var b = a.replace(Sc, Tc); - V[b] = new U(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace"); - }); - V.tabIndex = new U("tabIndex", 1, !1, "tabindex", null); - function Uc(a, b, c, d) { - var e = V.hasOwnProperty(b) ? V[b] : null; - var f = - null !== e - ? 0 === e.type - : d - ? !1 - : !(2 < b.length) || - ("o" !== b[0] && "O" !== b[0]) || - ("n" !== b[1] && "N" !== b[1]) - ? !1 - : !0; - f || - (Hc(b, c, e, d) && (c = null), - d || null === e - ? Fc(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)))); - } - function Vc(a, b) { - var c = b.checked; - return A({}, b, { - defaultChecked: void 0, - defaultValue: void 0, - value: void 0, - checked: null != c ? c : a._wrapperState.initialChecked - }); - } - function Wc(a, b) { - var c = null == b.defaultValue ? "" : b.defaultValue, - d = null != b.checked ? b.checked : b.defaultChecked; - c = Xc(null != b.value ? b.value : c); - a._wrapperState = { - initialChecked: d, - initialValue: c, - controlled: - "checkbox" === b.type || "radio" === b.type - ? null != b.checked - : null != b.value - }; - } - function Yc(a, b) { - b = b.checked; - null != b && Uc(a, "checked", b, !1); - } - function Zc(a, b) { - Yc(a, b); - var c = Xc(b.value); - if (null != c) - if ("number" === b.type) { - if ((0 === c && "" === a.value) || a.value != c) a.value = "" + c; - } else a.value !== "" + c && (a.value = "" + c); - b.hasOwnProperty("value") - ? $c(a, b.type, c) - : b.hasOwnProperty("defaultValue") && - $c(a, b.type, Xc(b.defaultValue)); - null == b.checked && - null != b.defaultChecked && - (a.defaultChecked = !!b.defaultChecked); - } - function ad(a, b) { - if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) - "" === a.value && (a.value = "" + a._wrapperState.initialValue), - (a.defaultValue = "" + a._wrapperState.initialValue); - b = a.name; - "" !== b && (a.name = ""); - a.defaultChecked = !a.defaultChecked; - a.defaultChecked = !a.defaultChecked; - "" !== b && (a.name = b); - } - function $c(a, b, c) { - if ("number" !== b || a.ownerDocument.activeElement !== a) - null == c - ? (a.defaultValue = "" + a._wrapperState.initialValue) - : a.defaultValue !== "" + c && (a.defaultValue = "" + c); - } - function Xc(a) { - switch (typeof a) { - case "boolean": - case "number": - case "object": - case "string": - case "undefined": - return a; - default: - return ""; - } - } - var bd = { + var Cc = { change: { phasedRegistrationNames: { bubbled: "onChange", @@ -1828,127 +1695,132 @@ ) } }; - function cd(a, b, c) { - a = N.getPooled(bd.change, a, b, c); + function Dc(a, b, c) { + a = S.getPooled(Cc.change, a, b, c); a.type = "change"; - Xb(c); - ib(a); + nc(c); + zb(a); return a; } - var dd = null, - ed = null; - function fd(a) { - Pa(a, !1); + var Ec = null, + Fc = null; + function Gc(a) { + kb(a); + lb(!1); } - function gd(a) { - var b = Va(a); - if (mc(b)) return a; + function Hc(a) { + var b = qb(a); + if (Bc(b)) return a; } - function hd(a, b) { + function Ic(a, b) { if ("topChange" === a) return b; } - var id = !1; + var Jc = !1; m.canUseDOM && - (id = - ic("input") && (!document.documentMode || 9 < document.documentMode)); - function jd() { - dd && (dd.detachEvent("onpropertychange", kd), (ed = dd = null)); + (Jc = + xc("input") && (!document.documentMode || 9 < document.documentMode)); + function Qc() { + Ec && (Ec.detachEvent("onpropertychange", Rc), (Fc = Ec = null)); } - function kd(a) { + function Rc(a) { "value" === a.propertyName && - gd(ed) && - ((a = cd(ed, a, hc(a))), ec(fd, a)); + Hc(Fc) && + ((a = Dc(Fc, a, vc(a))), sc(Gc, a)); } - function ld(a, b, c) { + function Sc(a, b, c) { "topFocus" === a - ? (jd(), (dd = b), (ed = c), dd.attachEvent("onpropertychange", kd)) - : "topBlur" === a && jd(); + ? (Qc(), (Ec = b), (Fc = c), Ec.attachEvent("onpropertychange", Rc)) + : "topBlur" === a && Qc(); } - function md(a) { + function Tc(a) { if ( "topSelectionChange" === a || "topKeyUp" === a || "topKeyDown" === a ) - return gd(ed); + return Hc(Fc); } - function nd(a, b) { - if ("topClick" === a) return gd(b); + function Uc(a, b) { + if ("topClick" === a) return Hc(b); } - function od(a, b) { - if ("topInput" === a || "topChange" === a) return gd(b); + function Vc(a, b) { + if ("topInput" === a || "topChange" === a) return Hc(b); } - var pd = { - eventTypes: bd, - _isInputEventSupported: id, - extractEvents: function(a, b, c, d) { - var e = b ? Va(b) : window, - f = void 0, - h = void 0, - g = e.nodeName && e.nodeName.toLowerCase(); - "select" === g || ("input" === g && "file" === e.type) - ? (f = hd) - : gc(e) - ? id - ? (f = od) - : ((f = md), (h = ld)) - : (g = e.nodeName) && - "input" === g.toLowerCase() && - ("checkbox" === e.type || "radio" === e.type) && - (f = nd); - if (f && (f = f(a, b))) return cd(f, c, d); - h && h(a, e, b); - "topBlur" === a && - null != b && - (a = b._wrapperState || e._wrapperState) && - a.controlled && - "number" === e.type && - $c(e, "number", e.value); - } - }, - qd = N.extend({ - view: null, - detail: null - }), - rd = { - Alt: "altKey", - Control: "ctrlKey", - Meta: "metaKey", - Shift: "shiftKey" - }; - function sd(a) { + var Wc = { + eventTypes: Cc, + _isInputEventSupported: Jc, + extractEvents: function(a, b, c, d) { + var e = b ? qb(b) : window, + f = e.nodeName && e.nodeName.toLowerCase(); + if ("select" === f || ("input" === f && "file" === e.type)) + var g = Ic; + else if (uc(e)) + if (Jc) g = Vc; + else { + g = Tc; + var k = Sc; + } + else + (f = e.nodeName), + !f || + "input" !== f.toLowerCase() || + ("checkbox" !== e.type && "radio" !== e.type) || + (g = Uc); + if (g && (g = g(a, b))) return Dc(g, c, d); + k && k(a, e, b); + "topBlur" === a && + null != b && + (a = b._wrapperState || e._wrapperState) && + a.controlled && + "number" === e.type && + ((a = "" + e.value), + e.getAttribute("value") !== a && e.setAttribute("value", a)); + } + }; + function Xc(a, b, c, d) { + return S.call(this, a, b, c, d); + } + S.augmentClass(Xc, { view: null, detail: null }); + var Yc = { + Alt: "altKey", + Control: "ctrlKey", + Meta: "metaKey", + Shift: "shiftKey" + }; + function Zc(a) { var b = this.nativeEvent; return b.getModifierState ? b.getModifierState(a) - : (a = rd[a]) - ? !!b[a] - : !1; - } - function td() { - return sd; - } - var ud = qd.extend({ - screenX: null, - screenY: null, - clientX: null, - clientY: null, - pageX: null, - pageY: null, - ctrlKey: null, - shiftKey: null, - altKey: null, - metaKey: null, - getModifierState: td, - button: null, - buttons: null, - relatedTarget: function(a) { - return ( - a.relatedTarget || - (a.fromElement === a.srcElement ? a.toElement : a.fromElement) - ); - } - }), - vd = { + : (a = Yc[a]) ? !!b[a] : !1; + } + function $c() { + return Zc; + } + function ad(a, b, c, d) { + return S.call(this, a, b, c, d); + } + Xc.augmentClass(ad, { + screenX: null, + screenY: null, + clientX: null, + clientY: null, + pageX: null, + pageY: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + getModifierState: $c, + button: null, + buttons: null, + relatedTarget: function(a) { + return ( + a.relatedTarget || + (a.fromElement === a.srcElement ? a.toElement : a.fromElement) + ); + } + }); + var bd = { mouseEnter: { registrationName: "onMouseEnter", dependencies: ["topMouseOut", "topMouseOver"] @@ -1958,8 +1830,8 @@ dependencies: ["topMouseOut", "topMouseOver"] } }, - wd = { - eventTypes: vd, + cd = { + eventTypes: bd, extractEvents: function(a, b, c, d) { if ( ("topMouseOver" === a && (c.relatedTarget || c.fromElement)) || @@ -1974,24 +1846,33 @@ : window; "topMouseOut" === a ? ((a = b), - (b = (b = c.relatedTarget || c.toElement) ? Ua(b) : null)) + (b = (b = c.relatedTarget || c.toElement) ? pb(b) : null)) : (a = null); if (a === b) return null; - var f = null == a ? e : Va(a); - e = null == b ? e : Va(b); - var h = ud.getPooled(vd.mouseLeave, a, c, d); - h.type = "mouseleave"; - h.target = f; - h.relatedTarget = e; - c = ud.getPooled(vd.mouseEnter, b, c, d); + var f = null == a ? e : qb(a); + e = null == b ? e : qb(b); + var g = ad.getPooled(bd.mouseLeave, a, c, d); + g.type = "mouseleave"; + g.target = f; + g.relatedTarget = e; + c = ad.getPooled(bd.mouseEnter, b, c, d); c.type = "mouseenter"; c.target = e; c.relatedTarget = f; - jb(h, c, a, b); - return [h, c]; + Ab(g, c, a, b); + return [g, c]; } - }; - function xd(a) { + }, + dd = + aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED + .ReactCurrentOwner; + function ed(a) { + a = a.type; + return "string" === typeof a + ? a + : "function" === typeof a ? a.displayName || a.name : null; + } + function fd(a) { var b = a; if (a.alternate) for (; b["return"]; ) b = b["return"]; else { @@ -2001,63 +1882,63 @@ } return 3 === b.tag ? 2 : 3; } - function yd(a) { - return (a = a._reactInternalFiber) ? 2 === xd(a) : !1; + function gd(a) { + return (a = a._reactInternalFiber) ? 2 === fd(a) : !1; } - function zd(a) { - 2 !== xd(a) ? D("188") : void 0; + function hd(a) { + 2 !== fd(a) ? D("188") : void 0; } - function Ad(a) { + function id(a) { var b = a.alternate; if (!b) - return (b = xd(a)), 3 === b ? D("188") : void 0, 1 === b ? null : a; + return (b = fd(a)), 3 === b ? D("188") : void 0, 1 === b ? null : a; for (var c = a, d = b; ; ) { var e = c["return"], f = e ? e.alternate : null; if (!e || !f) break; if (e.child === f.child) { - for (var h = e.child; h; ) { - if (h === c) return zd(e), a; - if (h === d) return zd(e), b; - h = h.sibling; + for (var g = e.child; g; ) { + if (g === c) return hd(e), a; + if (g === d) return hd(e), b; + g = g.sibling; } D("188"); } if (c["return"] !== d["return"]) (c = e), (d = f); else { - h = !1; - for (var g = e.child; g; ) { - if (g === c) { - h = !0; + g = !1; + for (var k = e.child; k; ) { + if (k === c) { + g = !0; c = e; d = f; break; } - if (g === d) { - h = !0; + if (k === d) { + g = !0; d = e; c = f; break; } - g = g.sibling; + k = k.sibling; } - if (!h) { - for (g = f.child; g; ) { - if (g === c) { - h = !0; + if (!g) { + for (k = f.child; k; ) { + if (k === c) { + g = !0; c = f; d = e; break; } - if (g === d) { - h = !0; + if (k === d) { + g = !0; d = f; c = e; break; } - g = g.sibling; + k = k.sibling; } - h ? void 0 : D("189"); + g ? void 0 : D("189"); } } c.alternate !== d ? D("190") : void 0; @@ -2065,8 +1946,8 @@ 3 !== c.tag ? D("188") : void 0; return c.stateNode.current === c ? a : b; } - function Bd(a) { - a = Ad(a); + function jd(a) { + a = id(a); if (!a) return null; for (var b = a; ; ) { if (5 === b.tag || 6 === b.tag) return b; @@ -2083,8 +1964,8 @@ } return null; } - function Cd(a) { - a = Ad(a); + function kd(a) { + a = id(a); if (!a) return null; for (var b = a; ; ) { if (5 === b.tag || 6 === b.tag) return b; @@ -2101,250 +1982,8 @@ } return null; } - var Dd = N.extend({ - animationName: null, - elapsedTime: null, - pseudoElement: null - }), - Ed = N.extend({ - clipboardData: function(a) { - return "clipboardData" in a - ? a.clipboardData - : window.clipboardData; - } - }), - Fd = qd.extend({ relatedTarget: null }); - function Gd(a) { - var b = a.keyCode; - "charCode" in a - ? ((a = a.charCode), 0 === a && 13 === b && (a = 13)) - : (a = b); - 10 === a && (a = 13); - return 32 <= a || 13 === a ? a : 0; - } - var Hd = { - Esc: "Escape", - Spacebar: " ", - Left: "ArrowLeft", - Up: "ArrowUp", - Right: "ArrowRight", - Down: "ArrowDown", - Del: "Delete", - Win: "OS", - Menu: "ContextMenu", - Apps: "ContextMenu", - Scroll: "ScrollLock", - MozPrintableKey: "Unidentified" - }, - Id = { - 8: "Backspace", - 9: "Tab", - 12: "Clear", - 13: "Enter", - 16: "Shift", - 17: "Control", - 18: "Alt", - 19: "Pause", - 20: "CapsLock", - 27: "Escape", - 32: " ", - 33: "PageUp", - 34: "PageDown", - 35: "End", - 36: "Home", - 37: "ArrowLeft", - 38: "ArrowUp", - 39: "ArrowRight", - 40: "ArrowDown", - 45: "Insert", - 46: "Delete", - 112: "F1", - 113: "F2", - 114: "F3", - 115: "F4", - 116: "F5", - 117: "F6", - 118: "F7", - 119: "F8", - 120: "F9", - 121: "F10", - 122: "F11", - 123: "F12", - 144: "NumLock", - 145: "ScrollLock", - 224: "Meta" - }, - Jd = qd.extend({ - key: function(a) { - if (a.key) { - var b = Hd[a.key] || a.key; - if ("Unidentified" !== b) return b; - } - return "keypress" === a.type - ? ((a = Gd(a)), 13 === a ? "Enter" : String.fromCharCode(a)) - : "keydown" === a.type || "keyup" === a.type - ? Id[a.keyCode] || "Unidentified" - : ""; - }, - location: null, - ctrlKey: null, - shiftKey: null, - altKey: null, - metaKey: null, - repeat: null, - locale: null, - getModifierState: td, - charCode: function(a) { - return "keypress" === a.type ? Gd(a) : 0; - }, - keyCode: function(a) { - return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; - }, - which: function(a) { - return "keypress" === a.type - ? Gd(a) - : "keydown" === a.type || "keyup" === a.type - ? a.keyCode - : 0; - } - }), - Kd = ud.extend({ dataTransfer: null }), - Ld = qd.extend({ - touches: null, - targetTouches: null, - changedTouches: null, - altKey: null, - metaKey: null, - ctrlKey: null, - shiftKey: null, - getModifierState: td - }), - Md = N.extend({ - propertyName: null, - elapsedTime: null, - pseudoElement: null - }), - Nd = ud.extend({ - deltaX: function(a) { - return "deltaX" in a - ? a.deltaX - : "wheelDeltaX" in a - ? -a.wheelDeltaX - : 0; - }, - deltaY: function(a) { - return "deltaY" in a - ? a.deltaY - : "wheelDeltaY" in a - ? -a.wheelDeltaY - : "wheelDelta" in a - ? -a.wheelDelta - : 0; - }, - deltaZ: null, - deltaMode: null - }), - Od = {}, - Pd = {}; - function Qd(a, b) { - var c = a[0].toUpperCase() + a.slice(1), - d = "on" + c; - c = "top" + c; - b = { - phasedRegistrationNames: { bubbled: d, captured: d + "Capture" }, - dependencies: [c], - isInteractive: b - }; - Od[a] = b; - Pd[c] = b; - } - "blur cancel click close contextMenu copy cut doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play rateChange reset seeked submit touchCancel touchEnd touchStart volumeChange" - .split(" ") - .forEach(function(a) { - Qd(a, !0); - }); - "abort animationEnd animationIteration animationStart canPlay canPlayThrough drag dragEnter dragExit dragLeave dragOver durationChange emptied encrypted ended error load loadedData loadedMetadata loadStart mouseMove mouseOut mouseOver playing progress scroll seeking stalled suspend timeUpdate toggle touchMove transitionEnd waiting wheel" - .split(" ") - .forEach(function(a) { - Qd(a, !1); - }); - var Rd = { - eventTypes: Od, - isInteractiveTopLevelEventType: function(a) { - a = Pd[a]; - return void 0 !== a && !0 === a.isInteractive; - }, - extractEvents: function(a, b, c, d) { - var e = Pd[a]; - if (!e) return null; - switch (a) { - case "topKeyPress": - if (0 === Gd(c)) return null; - case "topKeyDown": - case "topKeyUp": - a = Jd; - break; - case "topBlur": - case "topFocus": - a = Fd; - break; - case "topClick": - if (2 === c.button) return null; - case "topDoubleClick": - case "topMouseDown": - case "topMouseMove": - case "topMouseUp": - case "topMouseOut": - case "topMouseOver": - case "topContextMenu": - a = ud; - break; - case "topDrag": - case "topDragEnd": - case "topDragEnter": - case "topDragExit": - case "topDragLeave": - case "topDragOver": - case "topDragStart": - case "topDrop": - a = Kd; - break; - case "topTouchCancel": - case "topTouchEnd": - case "topTouchMove": - case "topTouchStart": - a = Ld; - break; - case "topAnimationEnd": - case "topAnimationIteration": - case "topAnimationStart": - a = Dd; - break; - case "topTransitionEnd": - a = Md; - break; - case "topScroll": - a = qd; - break; - case "topWheel": - a = Nd; - break; - case "topCopy": - case "topCut": - case "topPaste": - a = Ed; - break; - default: - a = N; - } - b = a.getPooled(e, b, c, d); - ib(b); - return b; - } - }, - Sd = Rd.isInteractiveTopLevelEventType, - Td = []; - function Ud(a) { + var ld = []; + function md(a) { var b = a.targetInst; do { if (!b) { @@ -2356,36 +1995,30 @@ c = 3 !== c.tag ? null : c.stateNode.containerInfo; if (!c) break; a.ancestors.push(b); - b = Ua(c); + b = pb(c); } while (b); for (c = 0; c < a.ancestors.length; c++) (b = a.ancestors[c]), - Qa(a.topLevelType, b, a.nativeEvent, hc(a.nativeEvent)); - } - var Vd = !0; - function Wd(a) { - Vd = !!a; - } - function W(a, b, c) { - if (!c) return null; - a = (Sd(a) ? Xd : Yd).bind(null, a); - c.addEventListener(b, a, !1); - } - function Zd(a, b, c) { - if (!c) return null; - a = (Sd(a) ? Xd : Yd).bind(null, a); - c.addEventListener(b, a, !0); - } - function Xd(a, b) { - bc(Yd, a, b); - } - function Yd(a, b) { - if (Vd) { - var c = hc(b); - c = Ua(c); - null !== c && "number" === typeof c.tag && 2 !== xd(c) && (c = null); - if (Td.length) { - var d = Td.pop(); + nd(a.topLevelType, b, a.nativeEvent, vc(a.nativeEvent)); + } + var od = !0, + nd = void 0; + function pd(a) { + od = !!a; + } + function U(a, b, c) { + return c ? ca.listen(c, b, qd.bind(null, a)) : null; + } + function rd(a, b, c) { + return c ? ca.capture(c, b, qd.bind(null, a)) : null; + } + function qd(a, b) { + if (od) { + var c = vc(b); + c = pb(c); + null === c || "number" !== typeof c.tag || 2 === fd(c) || (c = null); + if (ld.length) { + var d = ld.pop(); d.topLevelType = a; d.nativeEvent = b; d.targetInst = c; @@ -2398,29 +2031,35 @@ ancestors: [] }; try { - ec(Ud, a); + sc(md, a); } finally { (a.topLevelType = null), (a.nativeEvent = null), (a.targetInst = null), (a.ancestors.length = 0), - 10 > Td.length && Td.push(a); + 10 > ld.length && ld.push(a); } } } - var $d = Object.freeze({ + var sd = Object.freeze({ get _enabled() { - return Vd; + return od; + }, + get _handleTopLevel() { + return nd; }, - setEnabled: Wd, + setHandleTopLevel: function(a) { + nd = a; + }, + setEnabled: pd, isEnabled: function() { - return Vd; + return od; }, - trapBubbledEvent: W, - trapCapturedEvent: Zd, - dispatchEvent: Yd + trapBubbledEvent: U, + trapCapturedEvent: rd, + dispatchEvent: qd }); - function ae(a, b) { + function td(a, b) { var c = {}; c[a.toLowerCase()] = b.toLowerCase(); c["Webkit" + a] = "webkit" + b; @@ -2429,35 +2068,39 @@ c["O" + a] = "o" + b.toLowerCase(); return c; } - var be = { - animationend: ae("Animation", "AnimationEnd"), - animationiteration: ae("Animation", "AnimationIteration"), - animationstart: ae("Animation", "AnimationStart"), - transitionend: ae("Transition", "TransitionEnd") + var ud = { + animationend: td("Animation", "AnimationEnd"), + animationiteration: td("Animation", "AnimationIteration"), + animationstart: td("Animation", "AnimationStart"), + transitionend: td("Transition", "TransitionEnd") }, - ce = {}, - de = {}; + vd = {}, + wd = {}; m.canUseDOM && - ((de = document.createElement("div").style), + ((wd = document.createElement("div").style), "AnimationEvent" in window || - (delete be.animationend.animation, - delete be.animationiteration.animation, - delete be.animationstart.animation), - "TransitionEvent" in window || delete be.transitionend.transition); - function ee(a) { - if (ce[a]) return ce[a]; - if (!be[a]) return a; - var b = be[a], + (delete ud.animationend.animation, + delete ud.animationiteration.animation, + delete ud.animationstart.animation), + "TransitionEvent" in window || delete ud.transitionend.transition); + function xd(a) { + if (vd[a]) return vd[a]; + if (!ud[a]) return a; + var b = ud[a], c; - for (c in b) if (b.hasOwnProperty(c) && c in de) return (ce[a] = b[c]); - return a; + for (c in b) if (b.hasOwnProperty(c) && c in wd) return (vd[a] = b[c]); + return ""; } - var fe = { - topAnimationEnd: ee("animationend"), - topAnimationIteration: ee("animationiteration"), - topAnimationStart: ee("animationstart"), + var yd = { + topAbort: "abort", + topAnimationEnd: xd("animationend") || "animationend", + topAnimationIteration: + xd("animationiteration") || "animationiteration", + topAnimationStart: xd("animationstart") || "animationstart", topBlur: "blur", topCancel: "cancel", + topCanPlay: "canplay", + topCanPlayThrough: "canplaythrough", topChange: "change", topClick: "click", topClose: "close", @@ -2476,12 +2119,19 @@ topDragOver: "dragover", topDragStart: "dragstart", topDrop: "drop", + topDurationChange: "durationchange", + topEmptied: "emptied", + topEncrypted: "encrypted", + topEnded: "ended", + topError: "error", topFocus: "focus", topInput: "input", topKeyDown: "keydown", topKeyPress: "keypress", topKeyUp: "keyup", + topLoadedData: "loadeddata", topLoad: "load", + topLoadedMetadata: "loadedmetadata", topLoadStart: "loadstart", topMouseDown: "mousedown", topMouseMove: "mousemove", @@ -2489,56 +2139,43 @@ topMouseOver: "mouseover", topMouseUp: "mouseup", topPaste: "paste", - topScroll: "scroll", - topSelectionChange: "selectionchange", - topTextInput: "textInput", - topToggle: "toggle", - topTouchCancel: "touchcancel", - topTouchEnd: "touchend", - topTouchMove: "touchmove", - topTouchStart: "touchstart", - topTransitionEnd: ee("transitionend"), - topWheel: "wheel" - }, - ge = { - topAbort: "abort", - topCanPlay: "canplay", - topCanPlayThrough: "canplaythrough", - topDurationChange: "durationchange", - topEmptied: "emptied", - topEncrypted: "encrypted", - topEnded: "ended", - topError: "error", - topLoadedData: "loadeddata", - topLoadedMetadata: "loadedmetadata", - topLoadStart: "loadstart", topPause: "pause", topPlay: "play", topPlaying: "playing", topProgress: "progress", topRateChange: "ratechange", + topScroll: "scroll", topSeeked: "seeked", topSeeking: "seeking", + topSelectionChange: "selectionchange", topStalled: "stalled", topSuspend: "suspend", + topTextInput: "textInput", topTimeUpdate: "timeupdate", + topToggle: "toggle", + topTouchCancel: "touchcancel", + topTouchEnd: "touchend", + topTouchMove: "touchmove", + topTouchStart: "touchstart", + topTransitionEnd: xd("transitionend") || "transitionend", topVolumeChange: "volumechange", - topWaiting: "waiting" + topWaiting: "waiting", + topWheel: "wheel" }, - he = {}, - ie = 0, - je = "_reactListenersID" + ("" + Math.random()).slice(2); - function ke(a) { - Object.prototype.hasOwnProperty.call(a, je) || - ((a[je] = ie++), (he[a[je]] = {})); - return he[a[je]]; + zd = {}, + Ad = 0, + Bd = "_reactListenersID" + ("" + Math.random()).slice(2); + function Cd(a) { + Object.prototype.hasOwnProperty.call(a, Bd) || + ((a[Bd] = Ad++), (zd[a[Bd]] = {})); + return zd[a[Bd]]; } - function le(a) { + function Dd(a) { for (; a && a.firstChild; ) a = a.firstChild; return a; } - function me(a, b) { - var c = le(a); + function Ed(a, b) { + var c = Dd(a); a = 0; for (var d; c; ) { if (3 === c.nodeType) { @@ -2556,10 +2193,10 @@ } c = void 0; } - c = le(c); + c = Dd(c); } } - function ne(a) { + function Fd(a) { var b = a && a.nodeName && a.nodeName.toLowerCase(); return ( b && @@ -2568,11 +2205,11 @@ "true" === a.contentEditable) ); } - var oe = + var Gd = m.canUseDOM && "documentMode" in document && 11 >= document.documentMode, - pe = { + Hd = { select: { phasedRegistrationNames: { bubbled: "onSelect", @@ -2583,14 +2220,14 @@ ) } }, - qe = null, - re = null, - se = null, - te = !1; - function ue(a, b) { - if (te || null == qe || qe !== fa()) return null; - var c = qe; - "selectionStart" in c && ne(c) + Id = null, + Jd = null, + Kd = null, + Ld = !1; + function Md(a, b) { + if (Ld || null == Id || Id !== da()) return null; + var c = Id; + "selectionStart" in c && Fd(c) ? (c = { start: c.selectionStart, end: c.selectionEnd }) : window.getSelection ? ((c = window.getSelection()), @@ -2601,32 +2238,30 @@ focusOffset: c.focusOffset })) : (c = void 0); - return se && ha(se, c) + return Kd && ea(Kd, c) ? null - : ((se = c), - (a = N.getPooled(pe.select, re, a, b)), + : ((Kd = c), + (a = S.getPooled(Hd.select, Jd, a, b)), (a.type = "select"), - (a.target = qe), - ib(a), + (a.target = Id), + zb(a), a); } - var ve = { - eventTypes: pe, + var Nd = { + eventTypes: Hd, extractEvents: function(a, b, c, d) { var e = d.window === d ? d.document - : 9 === d.nodeType - ? d - : d.ownerDocument, + : 9 === d.nodeType ? d : d.ownerDocument, f; if (!(f = !e)) { a: { - e = ke(e); - f = va.onSelect; - for (var h = 0; h < f.length; h++) { - var g = f[h]; - if (!e.hasOwnProperty(g) || !e[g]) { + e = Cd(e); + f = Qa.onSelect; + for (var g = 0; g < f.length; g++) { + var k = f[g]; + if (!e.hasOwnProperty(k) || !e[k]) { e = !1; break a; } @@ -2636,74 +2271,392 @@ f = !e; } if (f) return null; - e = b ? Va(b) : window; + e = b ? qb(b) : window; switch (a) { case "topFocus": - if (gc(e) || "true" === e.contentEditable) - (qe = e), (re = b), (se = null); + if (uc(e) || "true" === e.contentEditable) + (Id = e), (Jd = b), (Kd = null); break; case "topBlur": - se = re = qe = null; + Kd = Jd = Id = null; break; case "topMouseDown": - te = !0; + Ld = !0; break; case "topContextMenu": case "topMouseUp": - return (te = !1), ue(c, d); + return (Ld = !1), Md(c, d); case "topSelectionChange": - if (oe) break; + if (Gd) break; case "topKeyDown": case "topKeyUp": - return ue(c, d); + return Md(c, d); } return null; } }; - Na.injectEventPluginOrder( + function Od(a, b, c, d) { + return S.call(this, a, b, c, d); + } + S.augmentClass(Od, { + animationName: null, + elapsedTime: null, + pseudoElement: null + }); + function Pd(a, b, c, d) { + return S.call(this, a, b, c, d); + } + S.augmentClass(Pd, { + clipboardData: function(a) { + return "clipboardData" in a ? a.clipboardData : window.clipboardData; + } + }); + function Qd(a, b, c, d) { + return S.call(this, a, b, c, d); + } + Xc.augmentClass(Qd, { relatedTarget: null }); + function Rd(a) { + var b = a.keyCode; + "charCode" in a + ? ((a = a.charCode), 0 === a && 13 === b && (a = 13)) + : (a = b); + return 32 <= a || 13 === a ? a : 0; + } + var Sd = { + Esc: "Escape", + Spacebar: " ", + Left: "ArrowLeft", + Up: "ArrowUp", + Right: "ArrowRight", + Down: "ArrowDown", + Del: "Delete", + Win: "OS", + Menu: "ContextMenu", + Apps: "ContextMenu", + Scroll: "ScrollLock", + MozPrintableKey: "Unidentified" + }, + Td = { + 8: "Backspace", + 9: "Tab", + 12: "Clear", + 13: "Enter", + 16: "Shift", + 17: "Control", + 18: "Alt", + 19: "Pause", + 20: "CapsLock", + 27: "Escape", + 32: " ", + 33: "PageUp", + 34: "PageDown", + 35: "End", + 36: "Home", + 37: "ArrowLeft", + 38: "ArrowUp", + 39: "ArrowRight", + 40: "ArrowDown", + 45: "Insert", + 46: "Delete", + 112: "F1", + 113: "F2", + 114: "F3", + 115: "F4", + 116: "F5", + 117: "F6", + 118: "F7", + 119: "F8", + 120: "F9", + 121: "F10", + 122: "F11", + 123: "F12", + 144: "NumLock", + 145: "ScrollLock", + 224: "Meta" + }; + function Ud(a, b, c, d) { + return S.call(this, a, b, c, d); + } + Xc.augmentClass(Ud, { + key: function(a) { + if (a.key) { + var b = Sd[a.key] || a.key; + if ("Unidentified" !== b) return b; + } + return "keypress" === a.type + ? ((a = Rd(a)), 13 === a ? "Enter" : String.fromCharCode(a)) + : "keydown" === a.type || "keyup" === a.type + ? Td[a.keyCode] || "Unidentified" + : ""; + }, + location: null, + ctrlKey: null, + shiftKey: null, + altKey: null, + metaKey: null, + repeat: null, + locale: null, + getModifierState: $c, + charCode: function(a) { + return "keypress" === a.type ? Rd(a) : 0; + }, + keyCode: function(a) { + return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; + }, + which: function(a) { + return "keypress" === a.type + ? Rd(a) + : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; + } + }); + function Vd(a, b, c, d) { + return S.call(this, a, b, c, d); + } + ad.augmentClass(Vd, { dataTransfer: null }); + function Wd(a, b, c, d) { + return S.call(this, a, b, c, d); + } + Xc.augmentClass(Wd, { + touches: null, + targetTouches: null, + changedTouches: null, + altKey: null, + metaKey: null, + ctrlKey: null, + shiftKey: null, + getModifierState: $c + }); + function Xd(a, b, c, d) { + return S.call(this, a, b, c, d); + } + S.augmentClass(Xd, { + propertyName: null, + elapsedTime: null, + pseudoElement: null + }); + function Yd(a, b, c, d) { + return S.call(this, a, b, c, d); + } + ad.augmentClass(Yd, { + deltaX: function(a) { + return "deltaX" in a + ? a.deltaX + : "wheelDeltaX" in a ? -a.wheelDeltaX : 0; + }, + deltaY: function(a) { + return "deltaY" in a + ? a.deltaY + : "wheelDeltaY" in a + ? -a.wheelDeltaY + : "wheelDelta" in a ? -a.wheelDelta : 0; + }, + deltaZ: null, + deltaMode: null + }); + var Zd = {}, + $d = {}; + "abort animationEnd animationIteration animationStart blur cancel canPlay canPlayThrough click close contextMenu copy cut doubleClick drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error focus input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing progress rateChange reset scroll seeked seeking stalled submit suspend timeUpdate toggle touchCancel touchEnd touchMove touchStart transitionEnd volumeChange waiting wheel" + .split(" ") + .forEach(function(a) { + var b = a[0].toUpperCase() + a.slice(1), + c = "on" + b; + b = "top" + b; + c = { + phasedRegistrationNames: { bubbled: c, captured: c + "Capture" }, + dependencies: [b] + }; + Zd[a] = c; + $d[b] = c; + }); + var ae = { + eventTypes: Zd, + extractEvents: function(a, b, c, d) { + var e = $d[a]; + if (!e) return null; + switch (a) { + case "topKeyPress": + if (0 === Rd(c)) return null; + case "topKeyDown": + case "topKeyUp": + a = Ud; + break; + case "topBlur": + case "topFocus": + a = Qd; + break; + case "topClick": + if (2 === c.button) return null; + case "topDoubleClick": + case "topMouseDown": + case "topMouseMove": + case "topMouseUp": + case "topMouseOut": + case "topMouseOver": + case "topContextMenu": + a = ad; + break; + case "topDrag": + case "topDragEnd": + case "topDragEnter": + case "topDragExit": + case "topDragLeave": + case "topDragOver": + case "topDragStart": + case "topDrop": + a = Vd; + break; + case "topTouchCancel": + case "topTouchEnd": + case "topTouchMove": + case "topTouchStart": + a = Wd; + break; + case "topAnimationEnd": + case "topAnimationIteration": + case "topAnimationStart": + a = Od; + break; + case "topTransitionEnd": + a = Xd; + break; + case "topScroll": + a = Xc; + break; + case "topWheel": + a = Yd; + break; + case "topCopy": + case "topCut": + case "topPaste": + a = Pd; + break; + default: + a = S; + } + b = a.getPooled(e, b, c, d); + zb(b); + return b; + } + }; + nd = function(a, b, c, d) { + a = jb(a, b, c, d); + kb(a); + lb(!1); + }; + db.injectEventPluginOrder( "ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split( " " ) ); - Da = bb.getFiberCurrentPropsFromNode; - Ea = bb.getInstanceFromNode; - Fa = bb.getNodeFromInstance; - Na.injectEventPluginsByName({ - SimpleEventPlugin: Rd, - EnterLeaveEventPlugin: wd, - ChangeEventPlugin: pd, - SelectEventPlugin: ve, - BeforeInputEventPlugin: Rb + Ua = sb.getFiberCurrentPropsFromNode; + Va = sb.getInstanceFromNode; + Wa = sb.getNodeFromInstance; + db.injectEventPluginsByName({ + SimpleEventPlugin: ae, + EnterLeaveEventPlugin: cd, + ChangeEventPlugin: Wc, + SelectEventPlugin: Nd, + BeforeInputEventPlugin: hc }); - function xe(a, b, c, d) { + var be = [], + ce = -1; + function V(a) { + 0 > ce || ((a.current = be[ce]), (be[ce] = null), ce--); + } + function W(a, b) { + ce++; + be[ce] = a.current; + a.current = b; + } + new Set(); + var de = { current: C }, + X = { current: !1 }, + ee = C; + function fe(a) { + return ge(a) ? ee : de.current; + } + function he(a, b) { + var c = a.type.contextTypes; + if (!c) return C; + var d = a.stateNode; + if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) + return d.__reactInternalMemoizedMaskedChildContext; + var e = {}, + f; + for (f in c) e[f] = b[f]; + d && + ((a = a.stateNode), + (a.__reactInternalMemoizedUnmaskedChildContext = b), + (a.__reactInternalMemoizedMaskedChildContext = e)); + return e; + } + function ge(a) { + return 2 === a.tag && null != a.type.childContextTypes; + } + function ie(a) { + ge(a) && (V(X, a), V(de, a)); + } + function je(a, b, c) { + null != de.cursor ? D("168") : void 0; + W(de, b, a); + W(X, c, a); + } + function ke(a, b) { + var c = a.stateNode, + d = a.type.childContextTypes; + if ("function" !== typeof c.getChildContext) return b; + c = c.getChildContext(); + for (var e in c) e in d ? void 0 : D("108", ed(a) || "Unknown", e); + return A({}, b, c); + } + function le(a) { + if (!ge(a)) return !1; + var b = a.stateNode; + b = (b && b.__reactInternalMemoizedMergedChildContext) || C; + ee = de.current; + W(de, b, a); + W(X, X.current, a); + return !0; + } + function me(a, b) { + var c = a.stateNode; + c ? void 0 : D("169"); + if (b) { + var d = ke(a, ee); + c.__reactInternalMemoizedMergedChildContext = d; + V(X, a); + V(de, a); + W(de, d, a); + } else V(X, a); + W(X, b, a); + } + function Y(a, b, c) { this.tag = a; - this.key = c; + this.key = b; this.stateNode = this.type = null; this.sibling = this.child = this["return"] = null; this.index = 0; - this.ref = null; - this.pendingProps = b; - this.memoizedState = this.updateQueue = this.memoizedProps = null; - this.mode = d; + this.memoizedState = this.updateQueue = this.memoizedProps = this.pendingProps = this.ref = null; + this.internalContextTag = c; this.effectTag = 0; this.lastEffect = this.firstEffect = this.nextEffect = null; this.expirationTime = 0; this.alternate = null; } - function ze(a, b, c) { + function ne(a, b, c) { var d = a.alternate; null === d - ? ((d = new xe(a.tag, b, a.key, a.mode)), + ? ((d = new Y(a.tag, a.key, a.internalContextTag)), (d.type = a.type), (d.stateNode = a.stateNode), (d.alternate = a), (a.alternate = d)) - : ((d.pendingProps = b), - (d.effectTag = 0), + : ((d.effectTag = 0), (d.nextEffect = null), (d.firstEffect = null), (d.lastEffect = null)); d.expirationTime = c; + d.pendingProps = b; d.child = a.child; d.memoizedProps = a.memoizedProps; d.memoizedState = a.memoizedState; @@ -2713,70 +2666,52 @@ d.ref = a.ref; return d; } - function Ae(a, b, c) { - var d = a.type, - e = a.key; - a = a.props; - var f = void 0; - if ("function" === typeof d) - f = d.prototype && d.prototype.isReactComponent ? 2 : 0; - else if ("string" === typeof d) f = 5; - else - switch (d) { - case sc: - return Be(a.children, b, c, e); - case wc: - f = 11; - b |= 3; - break; - case tc: - f = 11; - b |= 2; - break; - case pc: - f = 7; - break; - case qc: - f = 9; - break; - default: - if ("object" === typeof d && null !== d) - switch (d.$$typeof) { - case uc: - f = 13; - break; - case vc: - f = 12; - break; - case xc: - f = 14; - break; - default: - if ("number" === typeof d.tag) - return ( - (b = d), (b.pendingProps = a), (b.expirationTime = c), b - ); - D("130", null == d ? d : typeof d, ""); - } - else D("130", null == d ? d : typeof d, ""); - } - b = new xe(f, a, e, b); - b.type = d; + function oe(a, b, c) { + var d = void 0, + e = a.type, + f = a.key; + "function" === typeof e + ? ((d = + e.prototype && e.prototype.isReactComponent + ? new Y(2, f, b) + : new Y(0, f, b)), + (d.type = e), + (d.pendingProps = a.props)) + : "string" === typeof e + ? ((d = new Y(5, f, b)), (d.type = e), (d.pendingProps = a.props)) + : "object" === typeof e && null !== e && "number" === typeof e.tag + ? ((d = e), (d.pendingProps = a.props)) + : D("130", null == e ? e : typeof e, ""); + d.expirationTime = c; + return d; + } + function pe(a, b, c, d) { + b = new Y(10, d, b); + b.pendingProps = a; b.expirationTime = c; return b; } - function Be(a, b, c, d) { - a = new xe(10, a, d, b); - a.expirationTime = c; - return a; + function qe(a, b, c) { + b = new Y(6, null, b); + b.pendingProps = a; + b.expirationTime = c; + return b; } - function Ce(a, b, c) { - a = new xe(6, a, null, b); + function re(a, b, c) { + b = new Y(7, a.key, b); + b.type = a.handler; + b.pendingProps = a; + b.expirationTime = c; + return b; + } + function se(a, b, c) { + a = new Y(9, null, b); a.expirationTime = c; return a; } - function De(a, b, c) { - b = new xe(4, null !== a.children ? a.children : [], a.key, b); + function te(a, b, c) { + b = new Y(4, a.key, b); + b.pendingProps = a.children || []; b.expirationTime = c; b.stateNode = { containerInfo: a.containerInfo, @@ -2785,38 +2720,37 @@ }; return b; } - var Ee = null, - Fe = null; - function Ge(a) { + var ue = null, + ve = null; + function we(a) { return function(b) { try { return a(b); } catch (c) {} }; } - function He(a) { + function xe(a) { if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; var b = __REACT_DEVTOOLS_GLOBAL_HOOK__; if (b.isDisabled || !b.supportsFiber) return !0; try { var c = b.inject(a); - Ee = Ge(function(a) { + ue = we(function(a) { return b.onCommitFiberRoot(c, a); }); - Fe = Ge(function(a) { + ve = we(function(a) { return b.onCommitFiberUnmount(c, a); }); } catch (d) {} return !0; } - function Ie(a) { - "function" === typeof Ee && Ee(a); + function ye(a) { + "function" === typeof ue && ue(a); } - function Je(a) { - "function" === typeof Fe && Fe(a); + function ze(a) { + "function" === typeof ve && ve(a); } - new Set(); - function Ke(a) { + function Ae(a) { return { baseState: a, expirationTime: 0, @@ -2824,45 +2758,35 @@ last: null, callbackList: null, hasForceUpdate: !1, - isInitialized: !1, - capturedValues: null + isInitialized: !1 }; } - function Le(a, b) { + function Be(a, b) { null === a.last ? (a.first = a.last = b) : ((a.last.next = b), (a.last = b)); if (0 === a.expirationTime || a.expirationTime > b.expirationTime) a.expirationTime = b.expirationTime; } - var Me = void 0, - Ne = void 0; - function Oe(a) { - Me = Ne = null; - var b = a.alternate, - c = a.updateQueue; - null === c && (c = a.updateQueue = Ke(null)); - null !== b - ? ((a = b.updateQueue), null === a && (a = b.updateQueue = Ke(null))) + function Ce(a, b) { + var c = a.alternate, + d = a.updateQueue; + null === d && (d = a.updateQueue = Ae(null)); + null !== c + ? ((a = c.updateQueue), null === a && (a = c.updateQueue = Ae(null))) : (a = null); - Me = c; - Ne = a !== c ? a : null; - } - function Pe(a, b) { - Oe(a); - a = Me; - var c = Ne; - null === c - ? Le(a, b) - : null === a.last || null === c.last - ? (Le(a, b), Le(c, b)) - : (Le(a, b), (c.last = b)); - } - function Qe(a, b, c, d) { + a = a !== d ? a : null; + null === a + ? Be(d, b) + : null === d.last || null === a.last + ? (Be(d, b), Be(a, b)) + : (Be(d, b), (a.last = b)); + } + function De(a, b, c, d) { a = a.partialState; return "function" === typeof a ? a.call(b, c, d) : a; } - function Re(a, b, c, d, e, f) { + function Ke(a, b, c, d, e, f) { null !== a && a.updateQueue === c && (c = b.updateQueue = { @@ -2871,7 +2795,6 @@ first: c.first, last: c.last, isInitialized: c.isInitialized, - capturedValues: c.capturedValues, callbackList: null, hasForceUpdate: !1 }); @@ -2879,40 +2802,32 @@ c.isInitialized ? (a = c.baseState) : ((a = c.baseState = b.memoizedState), (c.isInitialized = !0)); - for (var h = !0, g = c.first, k = !1; null !== g; ) { - var v = g.expirationTime; - if (v > f) { - var l = c.expirationTime; - if (0 === l || l > v) c.expirationTime = v; - k || ((k = !0), (c.baseState = a)); + for (var g = !0, k = c.first, h = !1; null !== k; ) { + var r = k.expirationTime; + if (r > f) { + var n = c.expirationTime; + if (0 === n || n > r) c.expirationTime = r; + h || ((h = !0), (c.baseState = a)); } else { - k || ((c.first = g.next), null === c.first && (c.last = null)); - if (g.isReplace) (a = Qe(g, d, a, e)), (h = !0); - else if ((v = Qe(g, d, a, e))) - (a = h ? A({}, a, v) : A(a, v)), (h = !1); - g.isForced && (c.hasForceUpdate = !0); - null !== g.callback && - ((v = c.callbackList), - null === v && (v = c.callbackList = []), - v.push(g)); - null !== g.capturedValue && - ((v = c.capturedValues), - null === v - ? (c.capturedValues = [g.capturedValue]) - : v.push(g.capturedValue)); - } - g = g.next; + h || ((c.first = k.next), null === c.first && (c.last = null)); + if (k.isReplace) (a = De(k, d, a, e)), (g = !0); + else if ((r = De(k, d, a, e))) + (a = g ? A({}, a, r) : A(a, r)), (g = !1); + k.isForced && (c.hasForceUpdate = !0); + null !== k.callback && + ((r = c.callbackList), + null === r && (r = c.callbackList = []), + r.push(k)); + } + k = k.next; } null !== c.callbackList ? (b.effectTag |= 32) - : null !== c.first || - c.hasForceUpdate || - null !== c.capturedValues || - (b.updateQueue = null); - k || (c.baseState = a); + : null !== c.first || c.hasForceUpdate || (b.updateQueue = null); + h || (c.baseState = a); return a; } - function Se(a, b) { + function Le(a, b) { var c = a.callbackList; if (null !== c) for (a.callbackList = null, a = 0; a < c.length; a++) { @@ -2923,285 +2838,219 @@ e.call(b); } } - function Te(a, b, c, d, e) { - function f(a, b, c, d, e, f) { - if ( - null === b || - (null !== a.updateQueue && a.updateQueue.hasForceUpdate) - ) - return !0; - var n = a.stateNode; - a = a.type; - return "function" === typeof n.shouldComponentUpdate - ? n.shouldComponentUpdate(c, e, f) - : a.prototype && a.prototype.isPureReactComponent - ? !ha(b, c) || !ha(d, e) - : !0; - } - function h(a, b) { - b.updater = r; + function Me(a, b, c, d) { + function e(a, b) { + b.updater = f; a.stateNode = b; b._reactInternalFiber = a; } - function g(a, b, c, d) { - a = b.state; - "function" === typeof b.componentWillReceiveProps && - b.componentWillReceiveProps(c, d); - "function" === typeof b.UNSAFE_componentWillReceiveProps && - b.UNSAFE_componentWillReceiveProps(c, d); - b.state !== a && r.enqueueReplaceState(b, b.state, null); - } - function k(a, b, c, d) { - a = a.type; - if ("function" === typeof a.getDerivedStateFromProps) - return a.getDerivedStateFromProps.call(null, c, d); - } - var v = a.cacheContext, - l = a.getMaskedContext, - p = a.getUnmaskedContext, - z = a.isContextConsumer, - B = a.hasContextChanged, - r = { - isMounted: yd, - enqueueSetState: function(a, d, e) { - a = a._reactInternalFiber; - e = void 0 === e ? null : e; - var f = c(a); - Pe(a, { - expirationTime: f, - partialState: d, - callback: e, - isReplace: !1, - isForced: !1, - capturedValue: null, - next: null - }); - b(a, f); - }, - enqueueReplaceState: function(a, d, e) { - a = a._reactInternalFiber; - e = void 0 === e ? null : e; - var f = c(a); - Pe(a, { - expirationTime: f, - partialState: d, - callback: e, - isReplace: !0, - isForced: !1, - capturedValue: null, - next: null - }); - b(a, f); - }, - enqueueForceUpdate: function(a, d) { - a = a._reactInternalFiber; - d = void 0 === d ? null : d; - var e = c(a); - Pe(a, { - expirationTime: e, - partialState: null, - callback: d, - isReplace: !1, - isForced: !0, - capturedValue: null, - next: null - }); - b(a, e); - } - }; + var f = { + isMounted: gd, + enqueueSetState: function(c, d, e) { + c = c._reactInternalFiber; + e = void 0 === e ? null : e; + var g = b(c); + Ce(c, { + expirationTime: g, + partialState: d, + callback: e, + isReplace: !1, + isForced: !1, + nextCallback: null, + next: null + }); + a(c, g); + }, + enqueueReplaceState: function(c, d, e) { + c = c._reactInternalFiber; + e = void 0 === e ? null : e; + var f = b(c); + Ce(c, { + expirationTime: f, + partialState: d, + callback: e, + isReplace: !0, + isForced: !1, + nextCallback: null, + next: null + }); + a(c, f); + }, + enqueueForceUpdate: function(c, d) { + c = c._reactInternalFiber; + d = void 0 === d ? null : d; + var e = b(c); + Ce(c, { + expirationTime: e, + partialState: null, + callback: d, + isReplace: !1, + isForced: !0, + nextCallback: null, + next: null + }); + a(c, e); + } + }; return { - adoptClassInstance: h, - callGetDerivedStateFromProps: k, + adoptClassInstance: e, constructClassInstance: function(a, b) { var c = a.type, - d = p(a), - e = z(a), - f = e ? l(a, d) : ka; - c = new c(b, f); - var n = null !== c.state && void 0 !== c.state ? c.state : null; - h(a, c); - a.memoizedState = n; - b = k(a, c, b, n); - null !== b && - void 0 !== b && - (a.memoizedState = A({}, a.memoizedState, b)); - e && v(a, d, f); - return c; + d = fe(a), + f = 2 === a.tag && null != a.type.contextTypes, + g = f ? he(a, d) : C; + b = new c(b, g); + e(a, b); + f && + ((a = a.stateNode), + (a.__reactInternalMemoizedUnmaskedChildContext = d), + (a.__reactInternalMemoizedMaskedChildContext = g)); + return b; }, mountClassInstance: function(a, b) { - var c = a.type, - d = a.alternate, - e = a.stateNode, - f = a.pendingProps, - n = p(a); - e.props = f; - e.state = a.memoizedState; - e.refs = ka; - e.context = l(a, n); - "function" === typeof c.getDerivedStateFromProps || - "function" === typeof e.getSnapshotBeforeUpdate || - ("function" !== typeof e.UNSAFE_componentWillMount && - "function" !== typeof e.componentWillMount) || - ((c = e.state), - "function" === typeof e.componentWillMount && - e.componentWillMount(), - "function" === typeof e.UNSAFE_componentWillMount && - e.UNSAFE_componentWillMount(), - c !== e.state && r.enqueueReplaceState(e, e.state, null), - (c = a.updateQueue), - null !== c && (e.state = Re(d, a, c, e, f, b))); - "function" === typeof e.componentDidMount && (a.effectTag |= 4); - }, - resumeMountClassInstance: function(a, b) { - var c = a.type, - n = a.stateNode; - n.props = a.memoizedProps; - n.state = a.memoizedState; - var h = a.memoizedProps, - r = a.pendingProps, - z = n.context, - q = p(a); - q = l(a, q); - (c = - "function" === typeof c.getDerivedStateFromProps || - "function" === typeof n.getSnapshotBeforeUpdate) || - ("function" !== typeof n.UNSAFE_componentWillReceiveProps && - "function" !== typeof n.componentWillReceiveProps) || - ((h !== r || z !== q) && g(a, n, r, q)); - z = a.memoizedState; - b = - null !== a.updateQueue ? Re(null, a, a.updateQueue, n, r, b) : z; - var u = void 0; - h !== r && (u = k(a, n, r, b)); - if (null !== u && void 0 !== u) { - b = null === b || void 0 === b ? u : A({}, b, u); - var t = a.updateQueue; - null !== t && (t.baseState = A({}, t.baseState, u)); - } - if ( - !( - h !== r || - z !== b || - B() || - (null !== a.updateQueue && a.updateQueue.hasForceUpdate) - ) - ) - return ( - "function" === typeof n.componentDidMount && (a.effectTag |= 4), - !1 - ); - (h = f(a, h, r, z, b, q)) - ? (c || - ("function" !== typeof n.UNSAFE_componentWillMount && - "function" !== typeof n.componentWillMount) || - ("function" === typeof n.componentWillMount && - n.componentWillMount(), - "function" === typeof n.UNSAFE_componentWillMount && - n.UNSAFE_componentWillMount()), - "function" === typeof n.componentDidMount && (a.effectTag |= 4)) - : ("function" === typeof n.componentDidMount && - (a.effectTag |= 4), - d(a, r), - e(a, b)); - n.props = r; - n.state = b; - n.context = q; - return h; - }, - updateClassInstance: function(a, b, c) { - var n = b.type, - x = b.stateNode; - x.props = b.memoizedProps; - x.state = b.memoizedState; - var h = b.memoizedProps, - r = b.pendingProps, - q = x.context, - u = p(b); - u = l(b, u); - (n = - "function" === typeof n.getDerivedStateFromProps || - "function" === typeof x.getSnapshotBeforeUpdate) || - ("function" !== typeof x.UNSAFE_componentWillReceiveProps && - "function" !== typeof x.componentWillReceiveProps) || - ((h !== r || q !== u) && g(b, x, r, u)); - q = b.memoizedState; - c = null !== b.updateQueue ? Re(a, b, b.updateQueue, x, r, c) : q; - var t = void 0; - h !== r && (t = k(b, x, r, c)); - if (null !== t && void 0 !== t) { - c = null === c || void 0 === c ? t : A({}, c, t); - var y = b.updateQueue; - null !== y && (y.baseState = A({}, y.baseState, t)); - } + var c = a.alternate, + d = a.stateNode, + e = d.state || null, + g = a.pendingProps; + g ? void 0 : D("158"); + var k = fe(a); + d.props = g; + d.state = a.memoizedState = e; + d.refs = C; + d.context = he(a, k); + null != a.type && + null != a.type.prototype && + !0 === a.type.prototype.unstable_isAsyncReactComponent && + (a.internalContextTag |= 1); + "function" === typeof d.componentWillMount && + ((e = d.state), + d.componentWillMount(), + e !== d.state && f.enqueueReplaceState(d, d.state, null), + (e = a.updateQueue), + null !== e && (d.state = Ke(c, a, e, d, g, b))); + "function" === typeof d.componentDidMount && (a.effectTag |= 4); + }, + updateClassInstance: function(a, b, e) { + var g = b.stateNode; + g.props = b.memoizedProps; + g.state = b.memoizedState; + var k = b.memoizedProps, + h = b.pendingProps; + h || ((h = k), null == h ? D("159") : void 0); + var u = g.context, + x = fe(b); + x = he(b, x); + "function" !== typeof g.componentWillReceiveProps || + (k === h && u === x) || + ((u = g.state), + g.componentWillReceiveProps(h, x), + g.state !== u && f.enqueueReplaceState(g, g.state, null)); + u = b.memoizedState; + e = null !== b.updateQueue ? Ke(a, b, b.updateQueue, g, h, e) : u; if ( !( - h !== r || - q !== c || - B() || + k !== h || + u !== e || + X.current || (null !== b.updateQueue && b.updateQueue.hasForceUpdate) ) ) return ( - "function" !== typeof x.componentDidUpdate || - (h === a.memoizedProps && q === a.memoizedState) || + "function" !== typeof g.componentDidUpdate || + (k === a.memoizedProps && u === a.memoizedState) || (b.effectTag |= 4), - "function" !== typeof x.getSnapshotBeforeUpdate || - (h === a.memoizedProps && q === a.memoizedState) || - (b.effectTag |= 2048), !1 ); - (t = f(b, h, r, q, c, u)) - ? (n || - ("function" !== typeof x.UNSAFE_componentWillUpdate && - "function" !== typeof x.componentWillUpdate) || - ("function" === typeof x.componentWillUpdate && - x.componentWillUpdate(r, c, u), - "function" === typeof x.UNSAFE_componentWillUpdate && - x.UNSAFE_componentWillUpdate(r, c, u)), - "function" === typeof x.componentDidUpdate && - (b.effectTag |= 4), - "function" === typeof x.getSnapshotBeforeUpdate && - (b.effectTag |= 2048)) - : ("function" !== typeof x.componentDidUpdate || - (h === a.memoizedProps && q === a.memoizedState) || + var F = h; + if ( + null === k || + (null !== b.updateQueue && b.updateQueue.hasForceUpdate) + ) + F = !0; + else { + var L = b.stateNode, + G = b.type; + F = + "function" === typeof L.shouldComponentUpdate + ? L.shouldComponentUpdate(F, e, x) + : G.prototype && G.prototype.isPureReactComponent + ? !ea(k, F) || !ea(u, e) + : !0; + } + F + ? ("function" === typeof g.componentWillUpdate && + g.componentWillUpdate(h, e, x), + "function" === typeof g.componentDidUpdate && + (b.effectTag |= 4)) + : ("function" !== typeof g.componentDidUpdate || + (k === a.memoizedProps && u === a.memoizedState) || (b.effectTag |= 4), - "function" !== typeof x.getSnapshotBeforeUpdate || - (h === a.memoizedProps && q === a.memoizedState) || - (b.effectTag |= 2048), - d(b, r), - e(b, c)); - x.props = r; - x.state = c; - x.context = u; - return t; - } - }; - } - var Ue = Array.isArray; - function Ve(a, b, c) { - a = c.ref; - if (null !== a && "function" !== typeof a && "object" !== typeof a) { - if (c._owner) { - c = c._owner; + c(b, h), + d(b, e)); + g.props = h; + g.state = e; + g.context = x; + return F; + } + }; + } + var Ne = + ("function" === typeof Symbol && + Symbol["for"] && + Symbol["for"]("react.portal")) || + 60106; + function Oe(a, b, c) { + var d = + 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; + return { + $$typeof: Ne, + key: null == d ? null : "" + d, + children: a, + containerInfo: b, + implementation: c + }; + } + var Pe = Array.isArray, + Qe = "function" === typeof Symbol && Symbol.iterator, + Re, + Se, + Te, + Ue; + "function" === typeof Symbol && Symbol["for"] + ? ((Re = Symbol["for"]("react.element")), + (Se = Symbol["for"]("react.call")), + (Te = Symbol["for"]("react.return")), + (Ue = Symbol["for"]("react.fragment"))) + : ((Re = 60103), (Se = 60104), (Te = 60105), (Ue = 60107)); + function Ve(a) { + if (null === a || "undefined" === typeof a) return null; + a = (Qe && a[Qe]) || a["@@iterator"]; + return "function" === typeof a ? a : null; + } + function We(a, b) { + var c = b.ref; + if (null !== c && "function" !== typeof c) { + if (b._owner) { + b = b._owner; var d = void 0; - c && (2 !== c.tag ? D("110") : void 0, (d = c.stateNode)); - d ? void 0 : D("147", a); - var e = "" + a; - if (null !== b && null !== b.ref && b.ref._stringRef === e) - return b.ref; - b = function(a) { - var b = d.refs === ka ? (d.refs = {}) : d.refs; + b && (2 !== b.tag ? D("110") : void 0, (d = b.stateNode)); + d ? void 0 : D("147", c); + var e = "" + c; + if (null !== a && null !== a.ref && a.ref._stringRef === e) + return a.ref; + a = function(a) { + var b = d.refs === C ? (d.refs = {}) : d.refs; null === a ? delete b[e] : (b[e] = a); }; - b._stringRef = e; - return b; + a._stringRef = e; + return a; } - "string" !== typeof a ? D("148") : void 0; - c._owner ? void 0 : D("254", a); + "string" !== typeof c ? D("148") : void 0; + b._owner ? void 0 : D("149", c); } - return a; + return c; } - function We(a, b) { + function Xe(a, b) { "textarea" !== a.type && D( "31", @@ -3211,478 +3060,497 @@ "" ); } - function Xe(a) { - function b(b, c) { - if (a) { - var d = b.lastEffect; - null !== d - ? ((d.nextEffect = c), (b.lastEffect = c)) - : (b.firstEffect = b.lastEffect = c); - c.nextEffect = null; - c.effectTag = 8; - } - } + function Ye(a, b) { function c(c, d) { - if (!a) return null; - for (; null !== d; ) b(c, d), (d = d.sibling); + if (b) { + if (!a) { + if (null === d.alternate) return; + d = d.alternate; + } + var p = c.lastEffect; + null !== p + ? ((p.nextEffect = d), (c.lastEffect = d)) + : (c.firstEffect = c.lastEffect = d); + d.nextEffect = null; + d.effectTag = 8; + } + } + function d(a, d) { + if (!b) return null; + for (; null !== d; ) c(a, d), (d = d.sibling); return null; } - function d(a, b) { + function e(a, b) { for (a = new Map(); null !== b; ) null !== b.key ? a.set(b.key, b) : a.set(b.index, b), (b = b.sibling); return a; } - function e(a, b, c) { - a = ze(a, b, c); - a.index = 0; - a.sibling = null; - return a; - } function f(b, c, d) { - b.index = d; - if (!a) return c; - d = b.alternate; + if (a) return (b = ne(b, c, d)), (b.index = 0), (b.sibling = null), b; + b.expirationTime = d; + b.effectTag = 0; + b.index = 0; + b.sibling = null; + b.pendingProps = c; + return b; + } + function g(a, c, d) { + a.index = d; + if (!b) return c; + d = a.alternate; if (null !== d) - return (d = d.index), d < c ? ((b.effectTag = 2), c) : d; - b.effectTag = 2; + return (d = d.index), d < c ? ((a.effectTag = 2), c) : d; + a.effectTag = 2; return c; } - function h(b) { - a && null === b.alternate && (b.effectTag = 2); - return b; + function k(a) { + b && null === a.alternate && (a.effectTag = 2); + return a; } - function g(a, b, c, d) { + function h(a, b, c, d) { if (null === b || 6 !== b.tag) - return (b = Ce(c, a.mode, d)), (b["return"] = a), b; - b = e(b, c, d); + return (b = qe(c, a.internalContextTag, d)), (b["return"] = a), b; + b = f(b, c, d); b["return"] = a; return b; } - function k(a, b, c, d) { + function r(a, b, c, d) { if (null !== b && b.type === c.type) return ( - (d = e(b, c.props, d)), - (d.ref = Ve(a, b, c)), - (d["return"] = a), - d + (d = f(b, c.props, d)), (d.ref = We(b, c)), (d["return"] = a), d ); - d = Ae(c, a.mode, d); - d.ref = Ve(a, b, c); + d = oe(c, a.internalContextTag, d); + d.ref = We(b, c); d["return"] = a; return d; } - function v(a, b, c, d) { + function n(a, b, c, d) { + if (null === b || 7 !== b.tag) + return (b = re(c, a.internalContextTag, d)), (b["return"] = a), b; + b = f(b, c, d); + b["return"] = a; + return b; + } + function y(a, b, c, d) { + if (null === b || 9 !== b.tag) + return ( + (b = se(c, a.internalContextTag, d)), + (b.type = c.value), + (b["return"] = a), + b + ); + b = f(b, null, d); + b.type = c.value; + b["return"] = a; + return b; + } + function u(a, b, c, d) { if ( null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation ) - return (b = De(c, a.mode, d)), (b["return"] = a), b; - b = e(b, c.children || [], d); + return (b = te(c, a.internalContextTag, d)), (b["return"] = a), b; + b = f(b, c.children || [], d); b["return"] = a; return b; } - function l(a, b, c, d, f) { + function x(a, b, c, d, e) { if (null === b || 10 !== b.tag) - return (b = Be(c, a.mode, d, f)), (b["return"] = a), b; - b = e(b, c, d); + return ( + (b = pe(c, a.internalContextTag, d, e)), (b["return"] = a), b + ); + b = f(b, c, d); b["return"] = a; return b; } - function p(a, b, c) { + function F(a, b, c) { if ("string" === typeof b || "number" === typeof b) - return (b = Ce("" + b, a.mode, c)), (b["return"] = a), b; + return ( + (b = qe("" + b, a.internalContextTag, c)), (b["return"] = a), b + ); if ("object" === typeof b && null !== b) { switch (b.$$typeof) { - case oc: + case Re: + if (b.type === Ue) + return ( + (b = pe(b.props.children, a.internalContextTag, c, b.key)), + (b["return"] = a), + b + ); + c = oe(b, a.internalContextTag, c); + c.ref = We(null, b); + c["return"] = a; + return c; + case Se: + return ( + (b = re(b, a.internalContextTag, c)), (b["return"] = a), b + ); + case Te: return ( - (c = Ae(b, a.mode, c)), - (c.ref = Ve(a, null, b)), + (c = se(b, a.internalContextTag, c)), + (c.type = b.value), (c["return"] = a), c ); - case rc: - return (b = De(b, a.mode, c)), (b["return"] = a), b; + case Ne: + return ( + (b = te(b, a.internalContextTag, c)), (b["return"] = a), b + ); } - if (Ue(b) || zc(b)) - return (b = Be(b, a.mode, c, null)), (b["return"] = a), b; - We(a, b); + if (Pe(b) || Ve(b)) + return ( + (b = pe(b, a.internalContextTag, c, null)), (b["return"] = a), b + ); + Xe(a, b); } return null; } - function z(a, b, c, d) { + function L(a, b, c, d) { var e = null !== b ? b.key : null; if ("string" === typeof c || "number" === typeof c) - return null !== e ? null : g(a, b, "" + c, d); + return null !== e ? null : h(a, b, "" + c, d); if ("object" === typeof c && null !== c) { switch (c.$$typeof) { - case oc: + case Re: return c.key === e - ? c.type === sc - ? l(a, b, c.props.children, d, e) - : k(a, b, c, d) + ? c.type === Ue + ? x(a, b, c.props.children, d, e) + : r(a, b, c, d) : null; - case rc: - return c.key === e ? v(a, b, c, d) : null; + case Se: + return c.key === e ? n(a, b, c, d) : null; + case Te: + return null === e ? y(a, b, c, d) : null; + case Ne: + return c.key === e ? u(a, b, c, d) : null; } - if (Ue(c) || zc(c)) return null !== e ? null : l(a, b, c, d, null); - We(a, c); + if (Pe(c) || Ve(c)) return null !== e ? null : x(a, b, c, d, null); + Xe(a, c); } return null; } - function B(a, b, c, d, e) { + function G(a, b, c, d, e) { if ("string" === typeof d || "number" === typeof d) - return (a = a.get(c) || null), g(b, a, "" + d, e); + return (a = a.get(c) || null), h(b, a, "" + d, e); if ("object" === typeof d && null !== d) { switch (d.$$typeof) { - case oc: + case Re: return ( (a = a.get(null === d.key ? c : d.key) || null), - d.type === sc - ? l(b, a, d.props.children, e, d.key) - : k(b, a, d, e) + d.type === Ue + ? x(b, a, d.props.children, e, d.key) + : r(b, a, d, e) ); - case rc: + case Se: return ( - (a = a.get(null === d.key ? c : d.key) || null), v(b, a, d, e) + (a = a.get(null === d.key ? c : d.key) || null), n(b, a, d, e) + ); + case Te: + return (a = a.get(c) || null), y(b, a, d, e); + case Ne: + return ( + (a = a.get(null === d.key ? c : d.key) || null), u(b, a, d, e) ); } - if (Ue(d) || zc(d)) - return (a = a.get(c) || null), l(b, a, d, e, null); - We(b, d); + if (Pe(d) || Ve(d)) + return (a = a.get(c) || null), x(b, a, d, e, null); + Xe(b, d); } return null; } - function r(e, l, g, h) { + function T(a, f, v, k) { for ( - var r = null, k = null, q = l, u = (l = 0), t = null; - null !== q && u < g.length; - u++ + var p = null, z = null, l = f, h = (f = 0), t = null; + null !== l && h < v.length; + h++ ) { - q.index > u ? ((t = q), (q = null)) : (t = q.sibling); - var n = z(e, q, g[u], h); - if (null === n) { - null === q && (q = t); + l.index > h ? ((t = l), (l = null)) : (t = l.sibling); + var w = L(a, l, v[h], k); + if (null === w) { + null === l && (l = t); break; } - a && q && null === n.alternate && b(e, q); - l = f(n, l, u); - null === k ? (r = n) : (k.sibling = n); - k = n; - q = t; - } - if (u === g.length) return c(e, q), r; - if (null === q) { - for (; u < g.length; u++) - if ((q = p(e, g[u], h))) - (l = f(q, l, u)), - null === k ? (r = q) : (k.sibling = q), - (k = q); - return r; - } - for (q = d(e, q); u < g.length; u++) - if ((t = B(q, e, u, g[u], h))) { - if (a && null !== t.alternate) - q["delete"](null === t.key ? u : t.key); - l = f(t, l, u); - null === k ? (r = t) : (k.sibling = t); - k = t; + b && l && null === w.alternate && c(a, l); + f = g(w, f, h); + null === z ? (p = w) : (z.sibling = w); + z = w; + l = t; + } + if (h === v.length) return d(a, l), p; + if (null === l) { + for (; h < v.length; h++) + if ((l = F(a, v[h], k))) + (f = g(l, f, h)), + null === z ? (p = l) : (z.sibling = l), + (z = l); + return p; + } + for (l = e(a, l); h < v.length; h++) + if ((t = G(l, a, h, v[h], k))) { + if (b && null !== t.alternate) + l["delete"](null === t.key ? h : t.key); + f = g(t, f, h); + null === z ? (p = t) : (z.sibling = t); + z = t; } - a && - q.forEach(function(a) { - return b(e, a); + b && + l.forEach(function(b) { + return c(a, b); }); - return r; + return p; } - function Q(e, l, g, h) { - var r = zc(g); - "function" !== typeof r ? D("150") : void 0; - g = r.call(g); - null == g ? D("151") : void 0; + function I(a, f, v, k) { + var p = Ve(v); + "function" !== typeof p ? D("150") : void 0; + v = p.call(v); + null == v ? D("151") : void 0; for ( - var k = (r = null), q = l, u = (l = 0), t = null, n = g.next(); - null !== q && !n.done; - u++, n = g.next() + var h = (p = null), l = f, z = (f = 0), t = null, w = v.next(); + null !== l && !w.done; + z++, w = v.next() ) { - q.index > u ? ((t = q), (q = null)) : (t = q.sibling); - var H = z(e, q, n.value, h); - if (null === H) { - q || (q = t); + l.index > z ? ((t = l), (l = null)) : (t = l.sibling); + var n = L(a, l, w.value, k); + if (null === n) { + l || (l = t); break; } - a && q && null === H.alternate && b(e, q); - l = f(H, l, u); - null === k ? (r = H) : (k.sibling = H); - k = H; - q = t; - } - if (n.done) return c(e, q), r; - if (null === q) { - for (; !n.done; u++, n = g.next()) - (n = p(e, n.value, h)), - null !== n && - ((l = f(n, l, u)), - null === k ? (r = n) : (k.sibling = n), - (k = n)); - return r; - } - for (q = d(e, q); !n.done; u++, n = g.next()) - if (((n = B(q, e, u, n.value, h)), null !== n)) { - if (a && null !== n.alternate) - q["delete"](null === n.key ? u : n.key); - l = f(n, l, u); - null === k ? (r = n) : (k.sibling = n); - k = n; + b && l && null === n.alternate && c(a, l); + f = g(n, f, z); + null === h ? (p = n) : (h.sibling = n); + h = n; + l = t; + } + if (w.done) return d(a, l), p; + if (null === l) { + for (; !w.done; z++, w = v.next()) + (w = F(a, w.value, k)), + null !== w && + ((f = g(w, f, z)), + null === h ? (p = w) : (h.sibling = w), + (h = w)); + return p; + } + for (l = e(a, l); !w.done; z++, w = v.next()) + if (((w = G(l, a, z, w.value, k)), null !== w)) { + if (b && null !== w.alternate) + l["delete"](null === w.key ? z : w.key); + f = g(w, f, z); + null === h ? (p = w) : (h.sibling = w); + h = w; } - a && - q.forEach(function(a) { - return b(e, a); + b && + l.forEach(function(b) { + return c(a, b); }); - return r; - } - return function(a, d, f, l) { - "object" === typeof f && - null !== f && - f.type === sc && - null === f.key && - (f = f.props.children); - var g = "object" === typeof f && null !== f; - if (g) - switch (f.$$typeof) { - case oc: + return p; + } + return function(a, b, e, g) { + var h = "object" === typeof e && null !== e; + if (h) + switch (e.$$typeof) { + case Re: + a: { + var v = e.key; + for (h = b; null !== h; ) { + if (h.key === v) + if (10 === h.tag ? e.type === Ue : h.type === e.type) { + d(a, h.sibling); + b = f(h, e.type === Ue ? e.props.children : e.props, g); + b.ref = We(h, e); + b["return"] = a; + a = b; + break a; + } else { + d(a, h); + break; + } + else c(a, h); + h = h.sibling; + } + e.type === Ue + ? ((e = pe( + e.props.children, + a.internalContextTag, + g, + e.key + )), + (e["return"] = a), + (a = e)) + : ((g = oe(e, a.internalContextTag, g)), + (g.ref = We(b, e)), + (g["return"] = a), + (a = g)); + } + return k(a); + case Se: a: { - var k = f.key; - for (g = d; null !== g; ) { - if (g.key === k) - if (10 === g.tag ? f.type === sc : g.type === f.type) { - c(a, g.sibling); - d = e(g, f.type === sc ? f.props.children : f.props, l); - d.ref = Ve(a, g, f); - d["return"] = a; - a = d; + for (h = e.key; null !== b; ) { + if (b.key === h) + if (7 === b.tag) { + d(a, b.sibling); + e = f(b, e, g); + e["return"] = a; + a = e; break a; } else { - c(a, g); + d(a, b); break; } - else b(a, g); - g = g.sibling; + else c(a, b); + b = b.sibling; } - f.type === sc - ? ((d = Be(f.props.children, a.mode, l, f.key)), - (d["return"] = a), - (a = d)) - : ((l = Ae(f, a.mode, l)), - (l.ref = Ve(a, d, f)), - (l["return"] = a), - (a = l)); + e = re(e, a.internalContextTag, g); + e["return"] = a; + a = e; } - return h(a); - case rc: + return k(a); + case Te: a: { - for (g = f.key; null !== d; ) { - if (d.key === g) + if (null !== b) + if (9 === b.tag) { + d(a, b.sibling); + b = f(b, null, g); + b.type = e.value; + b["return"] = a; + a = b; + break a; + } else d(a, b); + b = se(e, a.internalContextTag, g); + b.type = e.value; + b["return"] = a; + a = b; + } + return k(a); + case Ne: + a: { + for (h = e.key; null !== b; ) { + if (b.key === h) if ( - 4 === d.tag && - d.stateNode.containerInfo === f.containerInfo && - d.stateNode.implementation === f.implementation + 4 === b.tag && + b.stateNode.containerInfo === e.containerInfo && + b.stateNode.implementation === e.implementation ) { - c(a, d.sibling); - d = e(d, f.children || [], l); - d["return"] = a; - a = d; + d(a, b.sibling); + e = f(b, e.children || [], g); + e["return"] = a; + a = e; break a; } else { - c(a, d); + d(a, b); break; } - else b(a, d); - d = d.sibling; + else c(a, b); + b = b.sibling; } - d = De(f, a.mode, l); - d["return"] = a; - a = d; + e = te(e, a.internalContextTag, g); + e["return"] = a; + a = e; } - return h(a); + return k(a); } - if ("string" === typeof f || "number" === typeof f) + if ("string" === typeof e || "number" === typeof e) return ( - (f = "" + f), - null !== d && 6 === d.tag - ? (c(a, d.sibling), - (d = e(d, f, l)), - (d["return"] = a), - (a = d)) - : (c(a, d), (d = Ce(f, a.mode, l)), (d["return"] = a), (a = d)), - h(a) + (e = "" + e), + null !== b && 6 === b.tag + ? (d(a, b.sibling), (e = f(b, e, g))) + : (d(a, b), (e = qe(e, a.internalContextTag, g))), + (e["return"] = a), + (a = e), + k(a) ); - if (Ue(f)) return r(a, d, f, l); - if (zc(f)) return Q(a, d, f, l); - g && We(a, f); - if ("undefined" === typeof f) + if (Pe(e)) return T(a, b, e, g); + if (Ve(e)) return I(a, b, e, g); + h && Xe(a, e); + if ("undefined" === typeof e) switch (a.tag) { case 2: case 1: - (l = a.type), D("152", l.displayName || l.name || "Component"); + (e = a.type), D("152", e.displayName || e.name || "Component"); } - return c(a, d); + return d(a, b); }; } - var Ye = Xe(!0), - Ze = Xe(!1); - function $e(a, b, c, d, e, f, h) { - function g(a, b, c) { - k(a, b, c, b.expirationTime); - } - function k(a, b, c, d) { - b.child = null === a ? Ze(b, null, c, d) : Ye(b, a.child, c, d); + var Ze = Ye(!0, !0), + $e = Ye(!1, !0), + af = Ye(!1, !1); + function bf(a, b, c, d, e) { + function f(a, b, c) { + g(a, b, c, b.expirationTime); } - function v(a, b) { + function g(a, b, c, d) { + b.child = + null === a + ? af(b, b.child, c, d) + : a.child === b.child + ? Ze(b, b.child, c, d) + : $e(b, b.child, c, d); + } + function k(a, b) { var c = b.ref; - if ((null === a && null !== c) || (null !== a && a.ref !== c)) - b.effectTag |= 128; + null === c || (a && a.ref === c) || (b.effectTag |= 128); } - function l(a, b, c, d, e, f) { - v(a, b); - if (!c && !e) return d && y(b, !1), r(a, b); + function h(a, b, c, d) { + k(a, b); + if (!c) return d && me(b, !1), n(a, b); c = b.stateNode; - nc.current = b; - var l = e ? null : c.render(); + dd.current = b; + var e = c.render(); b.effectTag |= 1; - e && (k(a, b, null, f), (b.child = null)); - k(a, b, l, f); + f(a, b, e); b.memoizedState = c.state; b.memoizedProps = c.props; - d && y(b, !0); + d && me(b, !0); return b.child; } - function p(a) { + function r(a) { var b = a.stateNode; b.pendingContext - ? t(a, b.pendingContext, b.pendingContext !== b.context) - : b.context && t(a, b.context, !1); - Y(a, b.containerInfo); - } - function z(a, b, c, d) { - var e = a.child; - for (null !== e && (e["return"] = a); null !== e; ) { - switch (e.tag) { - case 12: - var f = e.stateNode | 0; - if (e.type === b && 0 !== (f & c)) { - for (f = e; null !== f; ) { - var l = f.alternate; - if (0 === f.expirationTime || f.expirationTime > d) - (f.expirationTime = d), - null !== l && - (0 === l.expirationTime || l.expirationTime > d) && - (l.expirationTime = d); - else if ( - null !== l && - (0 === l.expirationTime || l.expirationTime > d) - ) - l.expirationTime = d; - else break; - f = f["return"]; - } - f = null; - } else f = e.child; - break; - case 13: - f = e.type === a.type ? null : e.child; - break; - default: - f = e.child; - } - if (null !== f) f["return"] = e; - else - for (f = e; null !== f; ) { - if (f === a) { - f = null; - break; - } - e = f.sibling; - if (null !== e) { - f = e; - break; - } - f = f["return"]; - } - e = f; - } - } - function B(a, b, c) { - var d = b.type._context, - e = b.pendingProps, - f = b.memoizedProps; - if (!q() && f === e) return (b.stateNode = 0), G(b), r(a, b); - var l = e.value; - b.memoizedProps = e; - if (null === f) l = 1073741823; - else if (f.value === e.value) { - if (f.children === e.children) - return (b.stateNode = 0), G(b), r(a, b); - l = 0; - } else { - var h = f.value; - if ( - (h === l && (0 !== h || 1 / h === 1 / l)) || - (h !== h && l !== l) - ) { - if (f.children === e.children) - return (b.stateNode = 0), G(b), r(a, b); - l = 0; - } else if ( - ((l = - "function" === typeof d._calculateChangedBits - ? d._calculateChangedBits(h, l) - : 1073741823), - (l |= 0), - 0 === l) - ) { - if (f.children === e.children) - return (b.stateNode = 0), G(b), r(a, b); - } else z(b, d, l, c); - } - b.stateNode = l; - G(b); - g(a, b, e.children); - return b.child; + ? je(a, b.pendingContext, b.pendingContext !== b.context) + : b.context && je(a, b.context, !1); + G(a, b.containerInfo); } - function r(a, b) { + function n(a, b) { null !== a && b.child !== a.child ? D("153") : void 0; if (null !== b.child) { a = b.child; - var c = ze(a, a.pendingProps, a.expirationTime); + var c = ne(a, a.pendingProps, a.expirationTime); b.child = c; for (c["return"] = b; null !== a.sibling; ) (a = a.sibling), - (c = c.sibling = ze(a, a.pendingProps, a.expirationTime)), + (c = c.sibling = ne(a, a.pendingProps, a.expirationTime)), (c["return"] = b); c.sibling = null; } return b.child; } - var Q = a.shouldSetTextContent, - n = a.shouldDeprioritizeSubtree, - x = b.pushHostContext, - Y = b.pushHostContainer, - G = d.pushProvider, - R = c.getMaskedContext, - S = c.getUnmaskedContext, - q = c.hasContextChanged, - u = c.pushContextProvider, - t = c.pushTopLevelContextObject, - y = c.invalidateContextProvider, - H = e.enterHydrationState, - Wa = e.resetHydrationState, - Cb = e.tryToClaimNextHydratableInstance; - a = Te( - c, - f, - h, + function y(a, b) { + switch (b.tag) { + case 3: + r(b); + break; + case 2: + le(b); + break; + case 4: + G(b, b.stateNode.containerInfo); + } + return null; + } + var u = a.shouldSetTextContent, + x = a.useSyncScheduling, + F = a.shouldDeprioritizeSubtree, + L = b.pushHostContext, + G = b.pushHostContainer, + T = c.enterHydrationState, + I = c.resetHydrationState, + z = c.tryToClaimNextHydratableInstance; + a = Me( + d, + e, function(a, b) { a.memoizedProps = b; }, @@ -3690,371 +3558,321 @@ a.memoizedState = b; } ); - var Jc = a.adoptClassInstance, - Kc = a.callGetDerivedStateFromProps, - Lc = a.constructClassInstance, - Db = a.mountClassInstance, - Mc = a.resumeMountClassInstance, - Eb = a.updateClassInstance; + var p = a.adoptClassInstance, + v = a.constructClassInstance, + t = a.mountClassInstance, + Kb = a.updateClassInstance; return { beginWork: function(a, b, c) { - if (0 === b.expirationTime || b.expirationTime > c) { - switch (b.tag) { - case 3: - p(b); - break; - case 2: - u(b); - break; - case 4: - Y(b, b.stateNode.containerInfo); - break; - case 13: - G(b); - } - return null; - } + if (0 === b.expirationTime || b.expirationTime > c) return y(a, b); switch (b.tag) { case 0: null !== a ? D("155") : void 0; var d = b.type, e = b.pendingProps, - f = S(b); - f = R(b, f); - d = d(e, f); + g = fe(b); + g = he(b, g); + d = d(e, g); b.effectTag |= 1; "object" === typeof d && null !== d && - "function" === typeof d.render && - void 0 === d.$$typeof - ? ((f = b.type), - (b.tag = 2), - (b.memoizedState = - null !== d.state && void 0 !== d.state ? d.state : null), - "function" === typeof f.getDerivedStateFromProps && - ((e = Kc(b, d, e, b.memoizedState)), - null !== e && - void 0 !== e && - (b.memoizedState = A({}, b.memoizedState, e))), - (e = u(b)), - Jc(b, d), - Db(b, c), - (a = l(a, b, !0, e, !1, c))) + "function" === typeof d.render + ? ((b.tag = 2), + (e = le(b)), + p(b, d), + t(b, c), + (b = h(a, b, !0, e))) : ((b.tag = 1), - g(a, b, d), + f(a, b, d), (b.memoizedProps = e), - (a = b.child)); - return a; + (b = b.child)); + return b; case 1: - return ( - (e = b.type), - (c = b.pendingProps), - q() || b.memoizedProps !== c - ? ((d = S(b)), - (d = R(b, d)), - (e = e(c, d)), - (b.effectTag |= 1), - g(a, b, e), - (b.memoizedProps = c), - (a = b.child)) - : (a = r(a, b)), - a - ); - case 2: - e = u(b); - null === a - ? null === b.stateNode - ? (Lc(b, b.pendingProps), Db(b, c), (d = !0)) - : (d = Mc(b, c)) - : (d = Eb(a, b, c)); - f = !1; - var h = b.updateQueue; - null !== h && null !== h.capturedValues && (f = d = !0); - return l(a, b, d, e, f, c); - case 3: - a: if ((p(b), (d = b.updateQueue), null !== d)) { - f = b.memoizedState; - e = Re(a, b, d, null, null, c); - b.memoizedState = e; - d = b.updateQueue; - if (null !== d && null !== d.capturedValues) d = null; - else if (f === e) { - Wa(); - a = r(a, b); - break a; - } else d = e.element; - f = b.stateNode; - (null === a || null === a.child) && f.hydrate && H(b) - ? ((b.effectTag |= 2), (b.child = Ze(b, null, d, c))) - : (Wa(), g(a, b, d)); - b.memoizedState = e; - a = b.child; - } else Wa(), (a = r(a, b)); - return a; - case 5: a: { - x(b); - null === a && Cb(b); e = b.type; - h = b.memoizedProps; - d = b.pendingProps; - f = null !== a ? a.memoizedProps : null; - if (!q() && h === d) { - if ((h = b.mode & 1 && n(e, d))) - b.expirationTime = 1073741823; - if (!h || 1073741823 !== c) { - a = r(a, b); - break a; - } + c = b.pendingProps; + d = b.memoizedProps; + if (X.current) null === c && (c = d); + else if (null === c || d === c) { + b = n(a, b); + break a; } - h = d.children; - Q(e, d) ? (h = null) : f && Q(e, f) && (b.effectTag |= 16); - v(a, b); - 1073741823 !== c && b.mode & 1 && n(e, d) - ? ((b.expirationTime = 1073741823), - (b.memoizedProps = d), - (a = null)) - : (g(a, b, h), (b.memoizedProps = d), (a = b.child)); + d = fe(b); + d = he(b, d); + e = e(c, d); + b.effectTag |= 1; + f(a, b, e); + b.memoizedProps = c; + b = b.child; } - return a; + return b; + case 2: + return ( + (e = le(b)), + (d = void 0), + null === a + ? b.stateNode + ? D("153") + : (v(b, b.pendingProps), t(b, c), (d = !0)) + : (d = Kb(a, b, c)), + h(a, b, d, e) + ); + case 3: + return ( + r(b), + (e = b.updateQueue), + null !== e + ? ((d = b.memoizedState), + (e = Ke(a, b, e, null, null, c)), + d === e + ? (I(), (b = n(a, b))) + : ((d = e.element), + (g = b.stateNode), + (null === a || null === a.child) && g.hydrate && T(b) + ? ((b.effectTag |= 2), + (b.child = af(b, b.child, d, c))) + : (I(), f(a, b, d)), + (b.memoizedState = e), + (b = b.child))) + : (I(), (b = n(a, b))), + b + ); + case 5: + L(b); + null === a && z(b); + e = b.type; + var l = b.memoizedProps; + d = b.pendingProps; + null === d && ((d = l), null === d ? D("154") : void 0); + g = null !== a ? a.memoizedProps : null; + X.current || (null !== d && l !== d) + ? ((l = d.children), + u(e, d) ? (l = null) : g && u(e, g) && (b.effectTag |= 16), + k(a, b), + 2147483647 !== c && !x && F(e, d) + ? ((b.expirationTime = 2147483647), (b = null)) + : (f(a, b, l), (b.memoizedProps = d), (b = b.child))) + : (b = n(a, b)); + return b; case 6: return ( - null === a && Cb(b), (b.memoizedProps = b.pendingProps), null + null === a && z(b), + (a = b.pendingProps), + null === a && (a = b.memoizedProps), + (b.memoizedProps = a), + null ); case 8: b.tag = 7; case 7: - return ( - (e = b.pendingProps), - q() || b.memoizedProps !== e || (e = b.memoizedProps), - (d = e.children), - (b.stateNode = - null === a + e = b.pendingProps; + if (X.current) + null === e && + ((e = a && a.memoizedProps), + null === e ? D("154") : void 0); + else if (null === e || b.memoizedProps === e) + e = b.memoizedProps; + d = e.children; + b.stateNode = + null === a + ? af(b, b.stateNode, d, c) + : a.child === b.child ? Ze(b, b.stateNode, d, c) - : Ye(b, a.stateNode, d, c)), - (b.memoizedProps = e), - b.stateNode - ); + : $e(b, b.stateNode, d, c); + b.memoizedProps = e; + return b.stateNode; case 9: return null; case 4: - return ( - Y(b, b.stateNode.containerInfo), - (e = b.pendingProps), - q() || b.memoizedProps !== e - ? (null === a ? (b.child = Ye(b, null, e, c)) : g(a, b, e), - (b.memoizedProps = e), - (a = b.child)) - : (a = r(a, b)), - a - ); - case 14: - return ( - (c = b.type.render), - (c = c(b.pendingProps, b.ref)), - g(a, b, c), - (b.memoizedProps = c), - b.child - ); + a: { + G(b, b.stateNode.containerInfo); + e = b.pendingProps; + if (X.current) + null === e && + ((e = a && a.memoizedProps), + null == e ? D("154") : void 0); + else if (null === e || b.memoizedProps === e) { + b = n(a, b); + break a; + } + null === a ? (b.child = $e(b, b.child, e, c)) : f(a, b, e); + b.memoizedProps = e; + b = b.child; + } + return b; case 10: - return ( - (c = b.pendingProps), - q() || b.memoizedProps !== c - ? (g(a, b, c), (b.memoizedProps = c), (a = b.child)) - : (a = r(a, b)), - a - ); - case 11: - return ( - (c = b.pendingProps.children), - q() || (null !== c && b.memoizedProps !== c) - ? (g(a, b, c), (b.memoizedProps = c), (a = b.child)) - : (a = r(a, b)), - a - ); - case 13: - return B(a, b, c); - case 12: a: { - d = b.type; - f = b.pendingProps; - h = b.memoizedProps; - e = d._currentValue; - var t = d._changedBits; - if (q() || 0 !== t || h !== f) { - b.memoizedProps = f; - var k = f.unstable_observedBits; - if (void 0 === k || null === k) k = 1073741823; - b.stateNode = k; - if (0 !== (t & k)) z(b, d, t, c); - else if (h === f) { - a = r(a, b); - break a; - } - c = f.children; - c = c(e); - g(a, b, c); - a = b.child; - } else a = r(a, b); + c = b.pendingProps; + if (X.current) null === c && (c = b.memoizedProps); + else if (null === c || b.memoizedProps === c) { + b = n(a, b); + break a; + } + f(a, b, c); + b.memoizedProps = c; + b = b.child; } - return a; + return b; default: D("156"); } + }, + beginFailedWork: function(a, b, c) { + switch (b.tag) { + case 2: + le(b); + break; + case 3: + r(b); + break; + default: + D("157"); + } + b.effectTag |= 64; + null === a + ? (b.child = null) + : b.child !== a.child && (b.child = a.child); + if (0 === b.expirationTime || b.expirationTime > c) return y(a, b); + b.firstEffect = null; + b.lastEffect = null; + g(a, b, null, c); + 2 === b.tag && + ((a = b.stateNode), + (b.memoizedProps = a.props), + (b.memoizedState = a.state)); + return b.child; } }; } - function af(a, b, c, d, e) { - function f(a) { + function cf(a, b, c) { + function d(a) { a.effectTag |= 4; } - var h = a.createInstance, - g = a.createTextInstance, - k = a.appendInitialChild, - v = a.finalizeInitialChildren, - l = a.prepareUpdate, - p = a.persistence, - z = b.getRootHostContainer, - B = b.popHostContext, - r = b.getHostContext, - Q = b.popHostContainer, - n = c.popContextProvider, - x = c.popTopLevelContextObject, - Y = d.popProvider, - G = e.prepareToHydrateHostInstance, - R = e.prepareToHydrateHostTextInstance, - S = e.popHydrationState, - q = void 0, - u = void 0, - t = void 0; + var e = a.createInstance, + f = a.createTextInstance, + g = a.appendInitialChild, + k = a.finalizeInitialChildren, + h = a.prepareUpdate, + r = a.persistence, + n = b.getRootHostContainer, + y = b.popHostContext, + u = b.getHostContext, + x = b.popHostContainer, + F = c.prepareToHydrateHostInstance, + L = c.prepareToHydrateHostTextInstance, + G = c.popHydrationState, + T = void 0, + I = void 0, + z = void 0; a.mutation - ? ((q = function() {}), - (u = function(a, b, c) { - (b.updateQueue = c) && f(b); + ? ((T = function() {}), + (I = function(a, b, c) { + (b.updateQueue = c) && d(b); }), - (t = function(a, b, c, d) { - c !== d && f(b); + (z = function(a, b, c, e) { + c !== e && d(b); })) - : p - ? D("235") - : D("236"); + : r ? D("235") : D("236"); return { completeWork: function(a, b, c) { - var d = b.pendingProps; + var p = b.pendingProps; + if (null === p) p = b.memoizedProps; + else if (2147483647 !== b.expirationTime || 2147483647 === c) + b.pendingProps = null; switch (b.tag) { case 1: return null; case 2: - return ( - n(b), - (a = b.stateNode), - (d = b.updateQueue), - null !== d && - null !== d.capturedValues && - ((b.effectTag &= -65), - "function" === typeof a.componentDidCatch - ? (b.effectTag |= 256) - : (d.capturedValues = null)), - null - ); + return ie(b), null; case 3: - Q(b); x(b); - d = b.stateNode; - d.pendingContext && - ((d.context = d.pendingContext), (d.pendingContext = null)); - if (null === a || null === a.child) S(b), (b.effectTag &= -3); - q(b); - a = b.updateQueue; - null !== a && null !== a.capturedValues && (b.effectTag |= 256); + V(X, b); + V(de, b); + p = b.stateNode; + p.pendingContext && + ((p.context = p.pendingContext), (p.pendingContext = null)); + if (null === a || null === a.child) G(b), (b.effectTag &= -3); + T(b); return null; case 5: - B(b); - c = z(); - var e = b.type; + y(b); + c = n(); + var v = b.type; if (null !== a && null != b.stateNode) { - var p = a.memoizedProps, - H = b.stateNode, - y = r(); - H = l(H, e, p, d, c, y); - u(a, b, H, e, p, d, c, y); + var l = a.memoizedProps, + t = b.stateNode, + r = u(); + t = h(t, v, l, p, c, r); + I(a, b, t, v, l, p, c); a.ref !== b.ref && (b.effectTag |= 128); } else { - if (!d) return null === b.stateNode ? D("166") : void 0, null; - a = r(); - if (S(b)) G(b, c, a) && f(b); + if (!p) return null === b.stateNode ? D("166") : void 0, null; + a = u(); + if (G(b)) F(b, c, a) && d(b); else { - p = h(e, d, c, a, b); - a: for (y = b.child; null !== y; ) { - if (5 === y.tag || 6 === y.tag) k(p, y.stateNode); - else if (4 !== y.tag && null !== y.child) { - y.child["return"] = y; - y = y.child; + a = e(v, p, c, a, b); + a: for (l = b.child; null !== l; ) { + if (5 === l.tag || 6 === l.tag) g(a, l.stateNode); + else if (4 !== l.tag && null !== l.child) { + l.child["return"] = l; + l = l.child; continue; } - if (y === b) break; - for (; null === y.sibling; ) { - if (null === y["return"] || y["return"] === b) break a; - y = y["return"]; + if (l === b) break; + for (; null === l.sibling; ) { + if (null === l["return"] || l["return"] === b) break a; + l = l["return"]; } - y.sibling["return"] = y["return"]; - y = y.sibling; + l.sibling["return"] = l["return"]; + l = l.sibling; } - v(p, e, d, c, a) && f(b); - b.stateNode = p; + k(a, v, p, c) && d(b); + b.stateNode = a; } null !== b.ref && (b.effectTag |= 128); } return null; case 6: - if (a && null != b.stateNode) t(a, b, a.memoizedProps, d); + if (a && null != b.stateNode) z(a, b, a.memoizedProps, p); else { - if ("string" !== typeof d) + if ("string" !== typeof p) return null === b.stateNode ? D("166") : void 0, null; - a = z(); - c = r(); - S(b) ? R(b) && f(b) : (b.stateNode = g(d, a, c, b)); + a = n(); + c = u(); + G(b) ? L(b) && d(b) : (b.stateNode = f(p, a, c, b)); } return null; case 7: - (d = b.memoizedProps) ? void 0 : D("165"); + (p = b.memoizedProps) ? void 0 : D("165"); b.tag = 8; - e = []; - a: for ((p = b.stateNode) && (p["return"] = b); null !== p; ) { - if (5 === p.tag || 6 === p.tag || 4 === p.tag) D("247"); - else if (9 === p.tag) e.push(p.pendingProps.value); - else if (null !== p.child) { - p.child["return"] = p; - p = p.child; + v = []; + a: for ((l = b.stateNode) && (l["return"] = b); null !== l; ) { + if (5 === l.tag || 6 === l.tag || 4 === l.tag) D("247"); + else if (9 === l.tag) v.push(l.type); + else if (null !== l.child) { + l.child["return"] = l; + l = l.child; continue; } - for (; null === p.sibling; ) { - if (null === p["return"] || p["return"] === b) break a; - p = p["return"]; + for (; null === l.sibling; ) { + if (null === l["return"] || l["return"] === b) break a; + l = l["return"]; } - p.sibling["return"] = p["return"]; - p = p.sibling; + l.sibling["return"] = l["return"]; + l = l.sibling; } - p = d.handler; - d = p(d.props, e); - b.child = Ye(b, null !== a ? a.child : null, d, c); + l = p.handler; + p = l(p.props, v); + b.child = Ze(b, null !== a ? a.child : null, p, c); return b.child; case 8: return (b.tag = 7), null; case 9: return null; - case 14: - return null; case 10: return null; - case 11: - return null; case 4: - return Q(b), q(b), null; - case 13: - return Y(b), null; - case 12: - return null; + return x(b), T(b), null; case 0: D("167"); default: @@ -4063,139 +3881,44 @@ } }; } - function bf(a, b, c, d, e) { - var f = a.popHostContainer, - h = a.popHostContext, - g = b.popContextProvider, - k = b.popTopLevelContextObject, - v = c.popProvider; - return { - throwException: function(a, b, c) { - b.effectTag |= 512; - b.firstEffect = b.lastEffect = null; - b = { value: c, source: b, stack: Bc(b) }; - do { - switch (a.tag) { - case 3: - Oe(a); - a.updateQueue.capturedValues = [b]; - a.effectTag |= 1024; - return; - case 2: - if ( - ((c = a.stateNode), - 0 === (a.effectTag & 64) && - null !== c && - "function" === typeof c.componentDidCatch && - !e(c)) - ) { - Oe(a); - c = a.updateQueue; - var d = c.capturedValues; - null === d ? (c.capturedValues = [b]) : d.push(b); - a.effectTag |= 1024; - return; - } - } - a = a["return"]; - } while (null !== a); - }, - unwindWork: function(a) { - switch (a.tag) { - case 2: - g(a); - var b = a.effectTag; - return b & 1024 ? ((a.effectTag = (b & -1025) | 64), a) : null; - case 3: - return ( - f(a), - k(a), - (b = a.effectTag), - b & 1024 ? ((a.effectTag = (b & -1025) | 64), a) : null - ); - case 5: - return h(a), null; - case 4: - return f(a), null; - case 13: - return v(a), null; - default: - return null; - } - }, - unwindInterruptedWork: function(a) { - switch (a.tag) { - case 2: - g(a); - break; - case 3: - f(a); - k(a); - break; - case 5: - h(a); - break; - case 4: - f(a); - break; - case 13: - v(a); - } - } - }; - } - function cf(a, b) { - var c = b.source; - null === b.stack && Bc(c); - null !== c && Ac(c); - b = b.value; - null !== a && 2 === a.tag && Ac(a); - try { - (b && b.suppressReactErrorLogging) || console.error(b); - } catch (d) { - (d && d.suppressReactErrorLogging) || console.error(d); - } - } - function df(a, b, c, d, e) { - function f(a) { + function df(a, b) { + function c(a) { var c = a.ref; if (null !== c) - if ("function" === typeof c) - try { - c(null); - } catch (t) { - b(a, t); - } - else c.current = null; + try { + c(null); + } catch (v) { + b(a, v); + } } - function h(a) { - "function" === typeof Je && Je(a); + function d(a) { + "function" === typeof ze && ze(a); switch (a.tag) { case 2: - f(a); - var c = a.stateNode; - if ("function" === typeof c.componentWillUnmount) + c(a); + var d = a.stateNode; + if ("function" === typeof d.componentWillUnmount) try { - (c.props = a.memoizedProps), - (c.state = a.memoizedState), - c.componentWillUnmount(); - } catch (t) { - b(a, t); + (d.props = a.memoizedProps), + (d.state = a.memoizedState), + d.componentWillUnmount(); + } catch (v) { + b(a, v); } break; case 5: - f(a); + c(a); break; case 7: - g(a.stateNode); + e(a.stateNode); break; case 4: - p && v(a); + h && g(a); } } - function g(a) { + function e(a) { for (var b = a; ; ) - if ((h(b), null === b.child || (p && 4 === b.tag))) { + if ((d(b), null === b.child || (h && 4 === b.tag))) { if (b === a) break; for (; null === b.sibling; ) { if (null === b["return"] || b["return"] === a) return; @@ -4205,27 +3928,27 @@ b = b.sibling; } else (b.child["return"] = b), (b = b.child); } - function k(a) { + function f(a) { return 5 === a.tag || 3 === a.tag || 4 === a.tag; } - function v(a) { - for (var b = a, c = !1, d = void 0, e = void 0; ; ) { + function g(a) { + for (var b = a, c = !1, f = void 0, g = void 0; ; ) { if (!c) { c = b["return"]; a: for (;;) { null === c ? D("160") : void 0; switch (c.tag) { case 5: - d = c.stateNode; - e = !1; + f = c.stateNode; + g = !1; break a; case 3: - d = c.stateNode.containerInfo; - e = !0; + f = c.stateNode.containerInfo; + g = !0; break a; case 4: - d = c.stateNode.containerInfo; - e = !0; + f = c.stateNode.containerInfo; + g = !0; break a; } c = c["return"]; @@ -4233,9 +3956,9 @@ c = !0; } if (5 === b.tag || 6 === b.tag) - g(b), e ? S(d, b.stateNode) : R(d, b.stateNode); + e(b), g ? I(f, b.stateNode) : T(f, b.stateNode); else if ( - (4 === b.tag ? (d = b.stateNode.containerInfo) : h(b), + (4 === b.tag ? (f = b.stateNode.containerInfo) : d(b), null !== b.child) ) { b.child["return"] = b; @@ -4252,50 +3975,28 @@ b = b.sibling; } } - var l = a.getPublicInstance, - p = a.mutation; + var k = a.getPublicInstance, + h = a.mutation; a = a.persistence; - p || (a ? D("235") : D("236")); - var z = p.commitMount, - B = p.commitUpdate, - r = p.resetTextContent, - Q = p.commitTextUpdate, - n = p.appendChild, - x = p.appendChildToContainer, - Y = p.insertBefore, - G = p.insertInContainerBefore, - R = p.removeChild, - S = p.removeChildFromContainer; + h || (a ? D("235") : D("236")); + var r = h.commitMount, + n = h.commitUpdate, + y = h.resetTextContent, + u = h.commitTextUpdate, + x = h.appendChild, + F = h.appendChildToContainer, + L = h.insertBefore, + G = h.insertInContainerBefore, + T = h.removeChild, + I = h.removeChildFromContainer; return { - commitBeforeMutationLifeCycles: function(a, b) { - switch (b.tag) { - case 2: - if (b.effectTag & 2048 && null !== a) { - var c = a.memoizedProps, - d = a.memoizedState; - a = b.stateNode; - a.props = b.memoizedProps; - a.state = b.memoizedState; - b = a.getSnapshotBeforeUpdate(c, d); - a.__reactInternalSnapshotBeforeUpdate = b; - } - break; - case 3: - case 5: - case 6: - case 4: - break; - default: - D("163"); - } - }, commitResetTextContent: function(a) { - r(a.stateNode); + y(a.stateNode); }, commitPlacement: function(a) { a: { for (var b = a["return"]; null !== b; ) { - if (k(b)) { + if (f(b)) { var c = b; break a; } @@ -4321,10 +4022,10 @@ default: D("161"); } - c.effectTag & 16 && (r(b), (c.effectTag &= -17)); + c.effectTag & 16 && (y(b), (c.effectTag &= -17)); a: b: for (c = a; ; ) { for (; null === c.sibling; ) { - if (null === c["return"] || k(c["return"])) { + if (null === c["return"] || f(c["return"])) { c = null; break a; } @@ -4344,12 +4045,8 @@ for (var e = a; ; ) { if (5 === e.tag || 6 === e.tag) c - ? d - ? G(b, e.stateNode, c) - : Y(b, e.stateNode, c) - : d - ? x(b, e.stateNode) - : n(b, e.stateNode); + ? d ? G(b, e.stateNode, c) : L(b, e.stateNode, c) + : d ? F(b, e.stateNode) : x(b, e.stateNode); else if (4 !== e.tag && null !== e.child) { e.child["return"] = e; e = e.child; @@ -4365,7 +4062,7 @@ } }, commitDeletion: function(a) { - v(a); + g(a); a["return"] = null; a.child = null; a.alternate && @@ -4383,13 +4080,13 @@ var e = b.type, f = b.updateQueue; b.updateQueue = null; - null !== f && B(c, f, e, a, d, b); + null !== f && n(c, f, e, a, d, b); } break; case 6: null === b.stateNode ? D("162") : void 0; c = b.memoizedProps; - Q(b.stateNode, null !== a ? a.memoizedProps : c, c); + u(b.stateNode, null !== a ? a.memoizedProps : c, c); break; case 3: break; @@ -4397,49 +4094,35 @@ D("163"); } }, - commitLifeCycles: function(a, b, c) { - switch (c.tag) { + commitLifeCycles: function(a, b) { + switch (b.tag) { case 2: - a = c.stateNode; - if (c.effectTag & 4) - if (null === b) - (a.props = c.memoizedProps), - (a.state = c.memoizedState), - a.componentDidMount(); + var c = b.stateNode; + if (b.effectTag & 4) + if (null === a) + (c.props = b.memoizedProps), + (c.state = b.memoizedState), + c.componentDidMount(); else { - var d = b.memoizedProps; - b = b.memoizedState; - a.props = c.memoizedProps; - a.state = c.memoizedState; - a.componentDidUpdate( - d, - b, - a.__reactInternalSnapshotBeforeUpdate - ); + var d = a.memoizedProps; + a = a.memoizedState; + c.props = b.memoizedProps; + c.state = b.memoizedState; + c.componentDidUpdate(d, a); } - c = c.updateQueue; - null !== c && Se(c, a); + b = b.updateQueue; + null !== b && Le(b, c); break; case 3: - b = c.updateQueue; - if (null !== b) { - a = null; - if (null !== c.child) - switch (c.child.tag) { - case 5: - a = l(c.child.stateNode); - break; - case 2: - a = c.child.stateNode; - } - Se(b, a); - } + c = b.updateQueue; + null !== c && + Le(c, null !== b.child ? b.child.stateNode : null); break; case 5: - a = c.stateNode; - null === b && - c.effectTag & 4 && - z(a, c.type, c.memoizedProps, c); + c = b.stateNode; + null === a && + b.effectTag & 4 && + r(c, b.type, b.memoizedProps, b); break; case 6: break; @@ -4449,108 +4132,72 @@ D("163"); } }, - commitErrorLogging: function(a, b) { - switch (a.tag) { - case 2: - var c = a.type; - b = a.stateNode; - var d = a.updateQueue; - null === d || null === d.capturedValues ? D("264") : void 0; - var f = d.capturedValues; - d.capturedValues = null; - "function" !== typeof c.getDerivedStateFromCatch && e(b); - b.props = a.memoizedProps; - b.state = a.memoizedState; - for (c = 0; c < f.length; c++) { - d = f[c]; - var l = d.value, - g = d.stack; - cf(a, d); - b.componentDidCatch(l, { - componentStack: null !== g ? g : "" - }); - } - break; - case 3: - c = a.updateQueue; - null === c || null === c.capturedValues ? D("264") : void 0; - f = c.capturedValues; - c.capturedValues = null; - for (c = 0; c < f.length; c++) (d = f[c]), cf(a, d), b(d.value); - break; - default: - D("265"); - } - }, commitAttachRef: function(a) { var b = a.ref; if (null !== b) { var c = a.stateNode; switch (a.tag) { case 5: - a = l(c); + b(k(c)); break; default: - a = c; + b(c); } - "function" === typeof b ? b(a) : (b.current = a); } }, commitDetachRef: function(a) { a = a.ref; - null !== a && - ("function" === typeof a ? a(null) : (a.current = null)); + null !== a && a(null); } }; } var ef = {}; - function ff(a, b) { - function c(a) { + function ff(a) { + function b(a) { a === ef ? D("174") : void 0; return a; } - var d = a.getChildHostContext, - e = a.getRootHostContext; - a = b.createCursor; - var f = b.push, - h = b.pop, - g = a(ef), - k = a(ef), - v = a(ef); + var c = a.getChildHostContext, + d = a.getRootHostContext, + e = { current: ef }, + f = { current: ef }, + g = { current: ef }; return { getHostContext: function() { - return c(g.current); + return b(e.current); }, getRootHostContainer: function() { - return c(v.current); + return b(g.current); }, popHostContainer: function(a) { - h(g, a); - h(k, a); - h(v, a); + V(e, a); + V(f, a); + V(g, a); }, popHostContext: function(a) { - k.current === a && (h(g, a), h(k, a)); + f.current === a && (V(e, a), V(f, a)); }, pushHostContainer: function(a, b) { - f(v, b, a); - f(k, a, a); - f(g, ef, a); - b = e(b); - h(g, a); - f(g, b, a); + W(g, b, a); + b = d(b); + W(f, a, a); + W(e, b, a); }, pushHostContext: function(a) { - var b = c(v.current), - e = c(g.current); - b = d(e, a.type, b); - e !== b && (f(k, a, a), f(g, b, a)); + var d = b(g.current), + k = b(e.current); + d = c(k, a.type, d); + k !== d && (W(f, a, a), W(e, d, a)); + }, + resetHostContainer: function() { + e.current = ef; + g.current = ef; } }; } function gf(a) { function b(a, b) { - var c = new xe(5, null, null, 0); + var c = new Y(5, null, 0); c.type = "DELETED"; c.stateNode = b; c["return"] = a; @@ -4562,15 +4209,9 @@ function c(a, b) { switch (a.tag) { case 5: - return ( - (b = f(b, a.type, a.pendingProps)), - null !== b ? ((a.stateNode = b), !0) : !1 - ); + return f(b, a.type, a.pendingProps); case 6: - return ( - (b = h(b, a.pendingProps)), - null !== b ? ((a.stateNode = b), !0) : !1 - ); + return g(b, a.pendingProps); default: return !1; } @@ -4578,7 +4219,7 @@ function d(a) { for (a = a["return"]; null !== a && 5 !== a.tag && 3 !== a.tag; ) a = a["return"]; - p = a; + y = a; } var e = a.shouldSetTextContent; a = a.hydration; @@ -4600,458 +4241,459 @@ } }; var f = a.canHydrateInstance, - h = a.canHydrateTextInstance, - g = a.getNextHydratableSibling, - k = a.getFirstHydratableChild, - v = a.hydrateInstance, - l = a.hydrateTextInstance, - p = null, - z = null, - B = !1; + g = a.canHydrateTextInstance, + k = a.getNextHydratableSibling, + h = a.getFirstHydratableChild, + r = a.hydrateInstance, + n = a.hydrateTextInstance, + y = null, + u = null, + x = !1; return { enterHydrationState: function(a) { - z = k(a.stateNode.containerInfo); - p = a; - return (B = !0); + u = h(a.stateNode.containerInfo); + y = a; + return (x = !0); }, resetHydrationState: function() { - z = p = null; - B = !1; + u = y = null; + x = !1; }, tryToClaimNextHydratableInstance: function(a) { - if (B) { - var d = z; + if (x) { + var d = u; if (d) { if (!c(a, d)) { - d = g(d); + d = k(d); if (!d || !c(a, d)) { a.effectTag |= 2; - B = !1; - p = a; + x = !1; + y = a; return; } - b(p, z); + b(y, u); } - p = a; - z = k(d); - } else (a.effectTag |= 2), (B = !1), (p = a); + a.stateNode = d; + y = a; + u = h(d); + } else (a.effectTag |= 2), (x = !1), (y = a); } }, prepareToHydrateHostInstance: function(a, b, c) { - b = v(a.stateNode, a.type, a.memoizedProps, b, c, a); + b = r(a.stateNode, a.type, a.memoizedProps, b, c, a); a.updateQueue = b; return null !== b ? !0 : !1; }, prepareToHydrateHostTextInstance: function(a) { - return l(a.stateNode, a.memoizedProps, a); + return n(a.stateNode, a.memoizedProps, a); }, popHydrationState: function(a) { - if (a !== p) return !1; - if (!B) return d(a), (B = !0), !1; + if (a !== y) return !1; + if (!x) return d(a), (x = !0), !1; var c = a.type; if ( 5 !== a.tag || ("head" !== c && "body" !== c && !e(c, a.memoizedProps)) ) - for (c = z; c; ) b(a, c), (c = g(c)); + for (c = u; c; ) b(a, c), (c = k(c)); d(a); - z = p ? g(a.stateNode) : null; + u = y ? k(a.stateNode) : null; return !0; } }; } function hf(a) { - function b(a, b, c) { - a = a.stateNode; - a.__reactInternalMemoizedUnmaskedChildContext = b; - a.__reactInternalMemoizedMaskedChildContext = c; - } - function c(a) { - return 2 === a.tag && null != a.type.childContextTypes; - } - function d(a, b) { - var c = a.stateNode, - d = a.type.childContextTypes; - if ("function" !== typeof c.getChildContext) return b; - c = c.getChildContext(); - for (var e in c) e in d ? void 0 : D("108", Ac(a) || "Unknown", e); - return A({}, b, c); - } - var e = a.createCursor, - f = a.push, - h = a.pop, - g = e(ka), - k = e(!1), - v = ka; - return { - getUnmaskedContext: function(a) { - return c(a) ? v : g.current; - }, - cacheContext: b, - getMaskedContext: function(a, c) { - var d = a.type.contextTypes; - if (!d) return ka; - var e = a.stateNode; - if (e && e.__reactInternalMemoizedUnmaskedChildContext === c) - return e.__reactInternalMemoizedMaskedChildContext; - var f = {}, - g; - for (g in d) f[g] = c[g]; - e && b(a, c, f); - return f; - }, - hasContextChanged: function() { - return k.current; - }, - isContextConsumer: function(a) { - return 2 === a.tag && null != a.type.contextTypes; - }, - isContextProvider: c, - popContextProvider: function(a) { - c(a) && (h(k, a), h(g, a)); - }, - popTopLevelContextObject: function(a) { - h(k, a); - h(g, a); - }, - pushTopLevelContextObject: function(a, b, c) { - null != g.cursor ? D("168") : void 0; - f(g, b, a); - f(k, c, a); - }, - processChildContext: d, - pushContextProvider: function(a) { - if (!c(a)) return !1; - var b = a.stateNode; - b = (b && b.__reactInternalMemoizedMergedChildContext) || ka; - v = g.current; - f(g, b, a); - f(k, k.current, a); - return !0; - }, - invalidateContextProvider: function(a, b) { - var c = a.stateNode; - c ? void 0 : D("169"); - if (b) { - var e = d(a, v); - c.__reactInternalMemoizedMergedChildContext = e; - h(k, a); - h(g, a); - f(g, e, a); - } else h(k, a); - f(k, b, a); - }, - findCurrentUnmaskedContext: function(a) { - for ( - 2 !== xd(a) || 2 !== a.tag ? D("170") : void 0; - 3 !== a.tag; - - ) { - if (c(a)) - return a.stateNode.__reactInternalMemoizedMergedChildContext; - (a = a["return"]) ? void 0 : D("171"); + function b(a) { + Lb = ma = !0; + var b = a.stateNode; + b.current === a ? D("177") : void 0; + b.isReadyForCommit = !1; + dd.current = null; + if (1 < a.effectTag) + if (null !== a.lastEffect) { + a.lastEffect.nextEffect = a; + var c = a.firstEffect; + } else c = a; + else c = a.firstEffect; + ug(); + for (q = c; null !== q; ) { + var d = !1, + e = void 0; + try { + for (; null !== q; ) { + var f = q.effectTag; + f & 16 && vg(q); + if (f & 128) { + var g = q.alternate; + null !== g && wg(g); + } + switch (f & -242) { + case 2: + Ge(q); + q.effectTag &= -3; + break; + case 6: + Ge(q); + q.effectTag &= -3; + He(q.alternate, q); + break; + case 4: + He(q.alternate, q); + break; + case 8: + (Lc = !0), xg(q), (Lc = !1); + } + q = q.nextEffect; + } + } catch (Mc) { + (d = !0), (e = Mc); } - return a.stateNode.context; + d && + (null === q ? D("178") : void 0, + k(q, e), + null !== q && (q = q.nextEffect)); } - }; - } - function jf(a) { - var b = a.createCursor, - c = a.push, - d = a.pop, - e = b(null), - f = b(null), - h = b(0); - return { - pushProvider: function(a) { - var b = a.type._context; - c(h, b._changedBits, a); - c(f, b._currentValue, a); - c(e, a, a); - b._currentValue = a.pendingProps.value; - b._changedBits = a.stateNode; - }, - popProvider: function(a) { - var b = h.current, - c = f.current; - d(e, a); - d(f, a); - d(h, a); - a = a.type._context; - a._currentValue = c; - a._changedBits = b; - } - }; - } - function kf() { - var a = [], - b = -1; - return { - createCursor: function(a) { - return { current: a }; - }, - isEmpty: function() { - return -1 === b; - }, - pop: function(c) { - 0 > b || ((c.current = a[b]), (a[b] = null), b--); - }, - push: function(c, d) { - b++; - a[b] = c.current; - c.current = d; - }, - checkThatStackIsEmpty: function() {}, - resetStackAfterFatalErrorInDev: function() {} - }; - } - function lf(a) { - function b() { - if (null !== I) - for (var a = I["return"]; null !== a; ) Lc(a), (a = a["return"]); - Ya = null; - Z = 0; - I = null; - Nc = !1; + yg(); + b.current = a; + for (q = c; null !== q; ) { + c = !1; + d = void 0; + try { + for (; null !== q; ) { + var h = q.effectTag; + h & 36 && zg(q.alternate, q); + h & 128 && Ag(q); + if (h & 64) + switch (((e = q), + (f = void 0), + null !== P && + ((f = P.get(e)), + P["delete"](e), + null == f && + null !== e.alternate && + ((e = e.alternate), (f = P.get(e)), P["delete"](e))), + null == f ? D("184") : void 0, + e.tag)) { + case 2: + e.stateNode.componentDidCatch(f.error, { + componentStack: f.componentStack + }); + break; + case 3: + null === ba && (ba = f.error); + break; + default: + D("157"); + } + var Fa = q.nextEffect; + q.nextEffect = null; + q = Fa; + } + } catch (Mc) { + (c = !0), (d = Mc); + } + c && + (null === q ? D("178") : void 0, + k(q, d), + null !== q && (q = q.nextEffect)); + } + ma = Lb = !1; + "function" === typeof ye && ye(a.stateNode); + fa && (fa.forEach(F), (fa = null)); + null !== ba && ((a = ba), (ba = null), v(a)); + b = b.current.expirationTime; + 0 === b && (na = P = null); + return b; } function c(a) { - return null !== ya && ya.has(a); - } - function d(a) { for (;;) { - var b = a.alternate, + var b = ng(a.alternate, a, J), c = a["return"], d = a.sibling; - if (0 === (a.effectTag & 512)) { - b = Cb(b, a, Z); - var e = a; - if (1073741823 === Z || 1073741823 !== e.expirationTime) { - b: switch (e.tag) { - case 3: - case 2: - var f = e.updateQueue; - f = null === f ? 0 : f.expirationTime; - break b; - default: - f = 0; - } - for (var g = e.child; null !== g; ) - 0 !== g.expirationTime && - (0 === f || f > g.expirationTime) && - (f = g.expirationTime), - (g = g.sibling); - e.expirationTime = f; - } - if (null !== b) return b; - null !== c && - 0 === (c.effectTag & 512) && - (null === c.firstEffect && (c.firstEffect = a.firstEffect), - null !== a.lastEffect && - (null !== c.lastEffect && - (c.lastEffect.nextEffect = a.firstEffect), - (c.lastEffect = a.lastEffect)), - 1 < a.effectTag && - (null !== c.lastEffect - ? (c.lastEffect.nextEffect = a) - : (c.firstEffect = a), - (c.lastEffect = a))); - if (null !== d) return d; - if (null !== c) a = c; - else { - Nc = !0; - break; - } - } else { - a = Kc(a); - if (null !== a) return (a.effectTag &= 2559), a; - null !== c && - ((c.firstEffect = c.lastEffect = null), (c.effectTag |= 512)); - if (null !== d) return d; - if (null !== c) a = c; - else break; + var e = a; + if (2147483647 === J || 2147483647 !== e.expirationTime) { + if (2 !== e.tag && 3 !== e.tag) var f = 0; + else (f = e.updateQueue), (f = null === f ? 0 : f.expirationTime); + for (var g = e.child; null !== g; ) + 0 !== g.expirationTime && + (0 === f || f > g.expirationTime) && + (f = g.expirationTime), + (g = g.sibling); + e.expirationTime = f; + } + if (null !== b) return b; + null !== c && + (null === c.firstEffect && (c.firstEffect = a.firstEffect), + null !== a.lastEffect && + (null !== c.lastEffect && + (c.lastEffect.nextEffect = a.firstEffect), + (c.lastEffect = a.lastEffect)), + 1 < a.effectTag && + (null !== c.lastEffect + ? (c.lastEffect.nextEffect = a) + : (c.firstEffect = a), + (c.lastEffect = a))); + if (null !== d) return d; + if (null !== c) a = c; + else { + a.stateNode.isReadyForCommit = !0; + break; } } return null; } - function e(a) { - var b = Wa(a.alternate, a, Z); - null === b && (b = d(a)); - nc.current = null; + function d(a) { + var b = w(a.alternate, a, J); + null === b && (b = c(a)); + dd.current = null; return b; } - function f(a, c, f) { - ca ? D("243") : void 0; - ca = !0; - if (c !== Z || a !== Ya || null === I) - b(), - (Ya = a), - (Z = c), - (I = ze(Ya.current, null, Z)), - (a.pendingCommitExpirationTime = 0); - var g = !1; - do { - try { - if (f) for (; null !== I && !S(); ) I = e(I); - else for (; null !== I; ) I = e(I); - } catch (Oc) { - if (null === I) { - g = !0; - q(Oc); - break; - } - f = I; - var h = f["return"]; - if (null === h) { - g = !0; - q(Oc); - break; - } - Jc(h, f, Oc); - I = d(f); - } - break; - } while (1); - ca = !1; - if (g || null !== I) return null; - if (Nc) - return (a.pendingCommitExpirationTime = c), a.current.alternate; - D("262"); + function e(a) { + var b = mg(a.alternate, a, J); + null === b && (b = c(a)); + dd.current = null; + return b; } - function h(a, b, c, d) { - a = { value: c, source: a, stack: Bc(a) }; - Pe(b, { - expirationTime: d, - partialState: null, - callback: null, - isReplace: !1, - isForced: !1, - capturedValue: a, - next: null - }); - v(b, d); + function f(a) { + if (null !== P) { + if (!(0 === J || J > a)) + if (J <= Nc) for (; null !== E; ) E = h(E) ? e(E) : d(E); + else for (; null !== E && !p(); ) E = h(E) ? e(E) : d(E); + } else if (!(0 === J || J > a)) + if (J <= Nc) for (; null !== E; ) E = d(E); + else for (; null !== E && !p(); ) E = d(E); } function g(a, b) { - a: { - ca && !Za ? D("263") : void 0; - for (var d = a["return"]; null !== d; ) { - switch (d.tag) { - case 2: - var e = d.stateNode; - if ( - "function" === typeof d.type.getDerivedStateFromCatch || - ("function" === typeof e.componentDidCatch && !c(e)) - ) { - h(a, d, b, 1); - a = void 0; - break a; + ma ? D("243") : void 0; + ma = !0; + a.isReadyForCommit = !1; + if (a !== fb || b !== J || null === E) { + for (; -1 < ce; ) (be[ce] = null), ce--; + ee = C; + de.current = C; + X.current = !1; + lg(); + fb = a; + J = b; + E = ne(fb.current, null, b); + } + var c = !1, + d = null; + try { + f(b); + } catch (Kc) { + (c = !0), (d = Kc); + } + for (; c; ) { + if (gb) { + ba = d; + break; + } + var g = E; + if (null === g) gb = !0; + else { + var h = k(g, d); + null === h ? D("183") : void 0; + if (!gb) { + try { + c = h; + d = b; + for (h = c; null !== g; ) { + switch (g.tag) { + case 2: + ie(g); + break; + case 5: + l(g); + break; + case 3: + Ee(g); + break; + case 4: + Ee(g); + } + if (g === h || g.alternate === h) break; + g = g["return"]; } - break; - case 3: - h(a, d, b, 1); - a = void 0; - break a; + E = e(c); + f(d); + } catch (Kc) { + c = !0; + d = Kc; + continue; + } + break; } - d = d["return"]; } - 3 === a.tag && h(a, a, b, 1); - a = void 0; } - return a; + b = ba; + gb = ma = !1; + ba = null; + null !== b && v(b); + return a.isReadyForCommit ? a.current.alternate : null; } - function k(a) { - a = - 0 !== ia - ? ia - : ca - ? Za - ? 1 - : Z - : a.mode & 1 - ? za - ? 10 * ((((l() + 15) / 10) | 0) + 1) - : 25 * ((((l() + 500) / 25) | 0) + 1) - : 1; - za && (0 === da || a > da) && (da = a); - return a; - } - function v(a, c) { - a: { - for (; null !== a; ) { - if (0 === a.expirationTime || a.expirationTime > c) - a.expirationTime = c; - null !== a.alternate && - (0 === a.alternate.expirationTime || - a.alternate.expirationTime > c) && - (a.alternate.expirationTime = c); - if (null === a["return"]) - if (3 === a.tag) { - var d = a.stateNode; - !ca && 0 !== Z && c < Z && b(); - (ca && !Za && Ya === d) || B(d, c); - Fb > xg && D("185"); - } else { - c = void 0; + function k(a, b) { + var c = (dd.current = null), + d = !1, + e = !1, + f = null; + if (3 === a.tag) (c = a), r(a) && (gb = !0); + else + for (var g = a["return"]; null !== g && null === c; ) { + 2 === g.tag + ? "function" === typeof g.stateNode.componentDidCatch && + ((d = !0), (f = ed(g)), (c = g), (e = !0)) + : 3 === g.tag && (c = g); + if (r(g)) { + if ( + Lc || + (null !== fa && + (fa.has(g) || + (null !== g.alternate && fa.has(g.alternate)))) + ) + return null; + c = null; + e = !1; + } + g = g["return"]; + } + if (null !== c) { + null === na && (na = new Set()); + na.add(c); + var h = ""; + g = a; + do { + a: switch (g.tag) { + case 0: + case 1: + case 2: + case 5: + var k = g._debugOwner, + l = g._debugSource; + var Fa = ed(g); + var n = null; + k && (n = ed(k)); + k = l; + Fa = + "\n in " + + (Fa || "Unknown") + + (k + ? " (at " + + k.fileName.replace(/^.*[\\\/]/, "") + + ":" + + k.lineNumber + + ")" + : n ? " (created by " + n + ")" : ""); break a; - } - a = a["return"]; + default: + Fa = ""; + } + h += Fa; + g = g["return"]; + } while (g); + g = h; + a = ed(a); + null === P && (P = new Map()); + b = { + componentName: a, + componentStack: g, + error: b, + errorBoundary: d ? c.stateNode : null, + errorBoundaryFound: d, + errorBoundaryName: f, + willRetry: e + }; + P.set(c, b); + try { + console.error(b.error); + } catch (Bg) { + console.error(Bg); } - c = void 0; + Lb ? (null === fa && (fa = new Set()), fa.add(c)) : F(c); + return c; } - return c; + null === ba && (ba = b); + return null; } - function l() { - ye = Ic() - Pc; - return (yg = ((ye / 10) | 0) + 2); + function h(a) { + return ( + null !== P && + (P.has(a) || (null !== a.alternate && P.has(a.alternate))) + ); } - function p(a, b, c, d, e) { - var f = ia; - ia = 1; - try { - return a(b, c, d, e); - } finally { - ia = f; - } + function r(a) { + return ( + null !== na && + (na.has(a) || (null !== a.alternate && na.has(a.alternate))) + ); } - function z(a) { - if (0 !== Gb) { - if (a > Gb) return; - mg(Qc); + function n() { + return 20 * ((((L() + 100) / 20) | 0) + 1); + } + function y(a) { + return 0 !== ja + ? ja + : ma ? (Lb ? 1 : J) : !Cg || a.internalContextTag & 1 ? n() : 1; + } + function u(a, b) { + return x(a, b, !1); + } + function x(a, b) { + for (; null !== a; ) { + if (0 === a.expirationTime || a.expirationTime > b) + a.expirationTime = b; + null !== a.alternate && + (0 === a.alternate.expirationTime || + a.alternate.expirationTime > b) && + (a.alternate.expirationTime = b); + if (null === a["return"]) + if (3 === a.tag) { + var c = a.stateNode; + !ma && c === fb && b <= J && ((E = fb = null), (J = 0)); + var d = b; + Mb > Dg && D("185"); + if (null === c.nextScheduledRoot) + (c.remainingExpirationTime = d), + null === M + ? ((oa = M = c), (c.nextScheduledRoot = c)) + : ((M = M.nextScheduledRoot = c), + (M.nextScheduledRoot = oa)); + else { + var e = c.remainingExpirationTime; + if (0 === e || d < e) c.remainingExpirationTime = d; + } + Ga || + (ka + ? Nb && z(c, 1) + : 1 === d ? I(1, null) : hb || ((hb = !0), Ie(T))); + } else break; + a = a["return"]; } - var b = Ic() - Pc; - Gb = a; - Qc = lg(Q, { timeout: 10 * (a - 2) - b }); } - function B(a, b) { - if (null === a.nextScheduledRoot) - (a.remainingExpirationTime = b), - null === K - ? ((la = K = a), (a.nextScheduledRoot = a)) - : ((K = K.nextScheduledRoot = a), (K.nextScheduledRoot = la)); - else { - var c = a.remainingExpirationTime; - if (0 === c || b < c) a.remainingExpirationTime = b; - } - T || - (J ? Hb && ((aa = a), (P = 1), G(a, 1, !1)) : 1 === b ? n() : z(b)); + function F(a) { + x(a, 1, !0); + } + function L() { + return (Nc = (((Je() - Eg) / 10) | 0) + 2); } - function r() { + function G() { var a = 0, b = null; - if (null !== K) - for (var c = K, d = la; null !== d; ) { + if (null !== M) + for (var c = M, d = oa; null !== d; ) { var e = d.remainingExpirationTime; if (0 === e) { - null === c || null === K ? D("244") : void 0; + null === c || null === M ? D("244") : void 0; if (d === d.nextScheduledRoot) { - la = K = d.nextScheduledRoot = null; + oa = M = d.nextScheduledRoot = null; break; - } else if (d === la) - (la = e = d.nextScheduledRoot), - (K.nextScheduledRoot = e), + } else if (d === oa) + (oa = e = d.nextScheduledRoot), + (M.nextScheduledRoot = e), (d.nextScheduledRoot = null); - else if (d === K) { - K = c; - K.nextScheduledRoot = la; + else if (d === M) { + M = c; + M.nextScheduledRoot = oa; d.nextScheduledRoot = null; break; } else @@ -5060,414 +4702,236 @@ d = c.nextScheduledRoot; } else { if (0 === a || e < a) (a = e), (b = d); - if (d === K) break; + if (d === M) break; c = d; d = d.nextScheduledRoot; } } - c = aa; - null !== c && c === b && 1 === a ? Fb++ : (Fb = 0); - aa = b; - P = a; - } - function Q(a) { - x(0, !0, a); - } - function n() { - x(1, !1, null); - } - function x(a, b, c) { - $a = c; - r(); - if (b) - for ( - ; - null !== aa && - 0 !== P && - (0 === a || a >= P) && - (!Ib || l() >= P); - - ) - G(aa, P, !Ib), r(); - else - for (; null !== aa && 0 !== P && (0 === a || a >= P); ) - G(aa, P, !1), r(); - null !== $a && ((Gb = 0), (Qc = -1)); - 0 !== P && z(P); - $a = null; - Ib = !1; - Y(); - } - function Y() { - Fb = 0; - if (null !== Aa) { - var a = Aa; - Aa = null; - for (var b = 0; b < a.length; b++) { - var c = a[b]; - try { - c._onComplete(); - } catch (wg) { - Ba || ((Ba = !0), (Jb = wg)); - } - } - } - if (Ba) throw ((a = Jb), (Jb = null), (Ba = !1), a); - } - function G(a, b, c) { - T ? D("245") : void 0; - T = !0; - c - ? ((c = a.finishedWork), - null !== c - ? R(a, c, b) - : ((a.finishedWork = null), - (c = f(a, b, !0)), - null !== c && (S() ? (a.finishedWork = c) : R(a, c, b)))) - : ((c = a.finishedWork), - null !== c - ? R(a, c, b) + c = pa; + null !== c && c === b ? Mb++ : (Mb = 0); + pa = b; + Ob = a; + } + function T(a) { + I(0, a); + } + function I(a, b) { + ib = b; + for (G(); null !== pa && 0 !== Ob && (0 === a || Ob <= a) && !Oc; ) + z(pa, Ob), G(); + null !== ib && (hb = !1); + null === pa || hb || ((hb = !0), Ie(T)); + ib = null; + Oc = !1; + Mb = 0; + if (Pb) throw ((a = Pc), (Pc = null), (Pb = !1), a); + } + function z(a, c) { + Ga ? D("245") : void 0; + Ga = !0; + if (c <= L()) { + var d = a.finishedWork; + null !== d + ? ((a.finishedWork = null), (a.remainingExpirationTime = b(d))) + : ((a.finishedWork = null), + (d = g(a, c)), + null !== d && (a.remainingExpirationTime = b(d))); + } else + (d = a.finishedWork), + null !== d + ? ((a.finishedWork = null), (a.remainingExpirationTime = b(d))) : ((a.finishedWork = null), - (c = f(a, b, !1)), - null !== c && R(a, c, b))); - T = !1; + (d = g(a, c)), + null !== d && + (p() + ? (a.finishedWork = d) + : (a.remainingExpirationTime = b(d)))); + Ga = !1; } - function R(a, b, c) { - var d = a.firstBatch; - if ( - null !== d && - d._expirationTime <= c && - (null === Aa ? (Aa = [d]) : Aa.push(d), d._defer) - ) { - a.finishedWork = b; - a.remainingExpirationTime = 0; - return; - } - a.finishedWork = null; - Za = ca = !0; - c = b.stateNode; - c.current === b ? D("177") : void 0; - d = c.pendingCommitExpirationTime; - 0 === d ? D("261") : void 0; - c.pendingCommitExpirationTime = 0; - var e = l(); - nc.current = null; - if (1 < b.effectTag) - if (null !== b.lastEffect) { - b.lastEffect.nextEffect = b; - var f = b.firstEffect; - } else f = b; - else f = b.firstEffect; - zg(c.containerInfo); - for (w = f; null !== w; ) { - var h = !1, - k = void 0; - try { - for (; null !== w; ) - w.effectTag & 2048 && Db(w.alternate, w), (w = w.nextEffect); - } catch (ab) { - (h = !0), (k = ab); - } - h && - (null === w ? D("178") : void 0, - g(w, k), - null !== w && (w = w.nextEffect)); - } - for (w = f; null !== w; ) { - h = !1; - k = void 0; - try { - for (; null !== w; ) { - var p = w.effectTag; - p & 16 && Mc(w); - if (p & 128) { - var n = w.alternate; - null !== n && kg(n); - } - switch (p & 14) { - case 2: - Eb(w); - w.effectTag &= -3; - break; - case 6: - Eb(w); - w.effectTag &= -3; - we(w.alternate, w); - break; - case 4: - we(w.alternate, w); - break; - case 8: - gg(w); - } - w = w.nextEffect; - } - } catch (ab) { - (h = !0), (k = ab); - } - h && - (null === w ? D("178") : void 0, - g(w, k), - null !== w && (w = w.nextEffect)); - } - Ag(c.containerInfo); - c.current = b; - for (w = f; null !== w; ) { - p = !1; - n = void 0; - try { - for (f = c, h = e, k = d; null !== w; ) { - var r = w.effectTag; - r & 36 && hg(f, w.alternate, w, h, k); - r & 256 && ig(w, q); - r & 128 && jg(w); - var t = w.nextEffect; - w.nextEffect = null; - w = t; - } - } catch (ab) { - (p = !0), (n = ab); - } - p && - (null === w ? D("178") : void 0, - g(w, n), - null !== w && (w = w.nextEffect)); - } - ca = Za = !1; - "function" === typeof Ie && Ie(b.stateNode); - b = c.current.expirationTime; - 0 === b && (ya = null); - a.remainingExpirationTime = b; - } - function S() { - return null === $a || $a.timeRemaining() > Bg ? !1 : (Ib = !0); - } - function q(a) { - null === aa ? D("246") : void 0; - aa.remainingExpirationTime = 0; - Ba || ((Ba = !0), (Jb = a)); - } - var u = kf(), - t = ff(a, u), - y = hf(u); - u = jf(u); - var H = gf(a), - Wa = $e(a, t, y, u, H, v, k).beginWork, - Cb = af(a, t, y, u, H).completeWork; - t = bf(t, y, u, v, c); - var Jc = t.throwException, - Kc = t.unwindWork, - Lc = t.unwindInterruptedWork; - t = df( - a, - g, - v, - k, - function(a) { - null === ya ? (ya = new Set([a])) : ya.add(a); - }, - l - ); - var Db = t.commitBeforeMutationLifeCycles, - Mc = t.commitResetTextContent, - Eb = t.commitPlacement, - gg = t.commitDeletion, - we = t.commitWork, - hg = t.commitLifeCycles, - ig = t.commitErrorLogging, - jg = t.commitAttachRef, - kg = t.commitDetachRef, - Ic = a.now, - lg = a.scheduleDeferredCallback, - mg = a.cancelDeferredCallback, - zg = a.prepareForCommit, - Ag = a.resetAfterCommit, - Pc = Ic(), - yg = 2, - ye = Pc, - Rc = 0, - ia = 0, - ca = !1, - I = null, - Ya = null, - Z = 0, - w = null, - Za = !1, - Nc = !1, - ya = null, - la = null, - K = null, - Gb = 0, - Qc = -1, - T = !1, - aa = null, - P = 0, - da = 0, - Ib = !1, - Ba = !1, - Jb = null, - $a = null, - J = !1, - Hb = !1, - za = !1, - Aa = null, - xg = 1e3, - Fb = 0, - Bg = 1; + function p() { + return null === ib || ib.timeRemaining() > Fg ? !1 : (Oc = !0); + } + function v(a) { + null === pa ? D("246") : void 0; + pa.remainingExpirationTime = 0; + Pb || ((Pb = !0), (Pc = a)); + } + var t = ff(a), + Kb = gf(a), + Ee = t.popHostContainer, + l = t.popHostContext, + lg = t.resetHostContainer, + Fe = bf(a, t, Kb, u, y), + w = Fe.beginWork, + mg = Fe.beginFailedWork, + ng = cf(a, t, Kb).completeWork; + t = df(a, k); + var vg = t.commitResetTextContent, + Ge = t.commitPlacement, + xg = t.commitDeletion, + He = t.commitWork, + zg = t.commitLifeCycles, + Ag = t.commitAttachRef, + wg = t.commitDetachRef, + Je = a.now, + Ie = a.scheduleDeferredCallback, + Cg = a.useSyncScheduling, + ug = a.prepareForCommit, + yg = a.resetAfterCommit, + Eg = Je(), + Nc = 2, + ja = 0, + ma = !1, + E = null, + fb = null, + J = 0, + q = null, + P = null, + na = null, + fa = null, + ba = null, + gb = !1, + Lb = !1, + Lc = !1, + oa = null, + M = null, + hb = !1, + Ga = !1, + pa = null, + Ob = 0, + Oc = !1, + Pb = !1, + Pc = null, + ib = null, + ka = !1, + Nb = !1, + Dg = 1e3, + Mb = 0, + Fg = 1; return { - recalculateCurrentTime: l, - computeExpirationForFiber: k, - scheduleWork: v, - requestWork: B, - flushRoot: function(a, b) { - T ? D("253") : void 0; - aa = a; - P = b; - G(a, b, !1); - n(); - Y(); - }, + computeAsyncExpiration: n, + computeExpirationForFiber: y, + scheduleWork: u, batchedUpdates: function(a, b) { - var c = J; - J = !0; + var c = ka; + ka = !0; try { return a(b); } finally { - (J = c) || T || n(); + (ka = c) || Ga || I(1, null); } }, - unbatchedUpdates: function(a, b) { - if (J && !Hb) { - Hb = !0; + unbatchedUpdates: function(a) { + if (ka && !Nb) { + Nb = !0; try { - return a(b); + return a(); } finally { - Hb = !1; + Nb = !1; } } - return a(b); - }, - flushSync: function(a, b) { - T ? D("187") : void 0; - var c = J; - J = !0; - try { - return p(a, b); - } finally { - (J = c), n(); - } + return a(); }, - flushControlled: function(a) { - var b = J; - J = !0; + flushSync: function(a) { + var b = ka; + ka = !0; try { - p(a); + a: { + var c = ja; + ja = 1; + try { + var d = a(); + break a; + } finally { + ja = c; + } + d = void 0; + } + return d; } finally { - (J = b) || T || x(1, !1, null); + (ka = b), Ga ? D("187") : void 0, I(1, null); } }, deferredUpdates: function(a) { - var b = ia; - ia = 25 * ((((l() + 500) / 25) | 0) + 1); + var b = ja; + ja = n(); try { return a(); } finally { - ia = b; + ja = b; } - }, - syncUpdates: p, - interactiveUpdates: function(a, b, c) { - if (za) return a(b, c); - J || T || 0 === da || (x(da, !1, null), (da = 0)); - var d = za, - e = J; - J = za = !0; - try { - return a(b, c); - } finally { - (za = d), (J = e) || T || n(); - } - }, - flushInteractiveUpdates: function() { - T || 0 === da || (x(da, !1, null), (da = 0)); - }, - computeUniqueAsyncExpiration: function() { - var a = 25 * ((((l() + 500) / 25) | 0) + 1); - a <= Rc && (a = Rc + 1); - return (Rc = a); - }, - legacyContext: y + } }; } - function mf(a) { - function b(a, b, c, d, e, h) { - d = b.current; - if (c) { - c = c._reactInternalFiber; - var l = g(c); - c = k(c) ? v(c, l) : l; - } else c = ka; - null === b.context ? (b.context = c) : (b.pendingContext = c); - b = h; - Pe(d, { - expirationTime: e, - partialState: { element: a }, - callback: void 0 === b ? null : b, - isReplace: !1, - isForced: !1, - capturedValue: null, - next: null - }); - f(d, e); - return e; + function jf(a) { + function b(a) { + a = jd(a); + return null === a ? null : a.stateNode; } var c = a.getPublicInstance; - a = lf(a); - var d = a.recalculateCurrentTime, + a = hf(a); + var d = a.computeAsyncExpiration, e = a.computeExpirationForFiber, - f = a.scheduleWork, - h = a.legacyContext, - g = h.findCurrentUnmaskedContext, - k = h.isContextProvider, - v = h.processChildContext; + f = a.scheduleWork; return { - createContainer: function(a, b, c) { - b = new xe(3, null, null, b ? 3 : 0); + createContainer: function(a, b) { + var c = new Y(3, null, 0); a = { - current: b, + current: c, containerInfo: a, pendingChildren: null, - pendingCommitExpirationTime: 0, + remainingExpirationTime: 0, + isReadyForCommit: !1, finishedWork: null, context: null, pendingContext: null, - hydrate: c, - remainingExpirationTime: 0, - firstBatch: null, + hydrate: b, nextScheduledRoot: null }; - return (b.stateNode = a); - }, - updateContainer: function(a, c, f, h) { - var g = c.current, - k = d(); - g = e(g); - return b(a, c, f, k, g, h); + return (c.stateNode = a); }, - updateContainerAtExpirationTime: function(a, c, e, f, g) { - var h = d(); - return b(a, c, e, h, f, g); + updateContainer: function(a, b, c, r) { + var g = b.current; + if (c) { + c = c._reactInternalFiber; + var h; + b: { + 2 === fd(c) && 2 === c.tag ? void 0 : D("170"); + for (h = c; 3 !== h.tag; ) { + if (ge(h)) { + h = h.stateNode.__reactInternalMemoizedMergedChildContext; + break b; + } + (h = h["return"]) ? void 0 : D("171"); + } + h = h.stateNode.context; + } + c = ge(c) ? ke(c, h) : h; + } else c = C; + null === b.context ? (b.context = c) : (b.pendingContext = c); + b = r; + b = void 0 === b ? null : b; + r = + null != a && + null != a.type && + null != a.type.prototype && + !0 === a.type.prototype.unstable_isAsyncReactComponent + ? d() + : e(g); + Ce(g, { + expirationTime: r, + partialState: { element: a }, + callback: b, + isReplace: !1, + isForced: !1, + nextCallback: null, + next: null + }); + f(g, r); }, - flushRoot: a.flushRoot, - requestWork: a.requestWork, - computeUniqueAsyncExpiration: a.computeUniqueAsyncExpiration, batchedUpdates: a.batchedUpdates, unbatchedUpdates: a.unbatchedUpdates, deferredUpdates: a.deferredUpdates, - syncUpdates: a.syncUpdates, - interactiveUpdates: a.interactiveUpdates, - flushInteractiveUpdates: a.flushInteractiveUpdates, - flushControlled: a.flushControlled, flushSync: a.flushSync, getPublicRootInstance: function(a) { a = a.current; @@ -5479,91 +4943,62 @@ return a.child.stateNode; } }, - findHostInstance: function(a) { - var b = a._reactInternalFiber; - void 0 === b && - ("function" === typeof a.render - ? D("188") - : D("268", Object.keys(a))); - a = Bd(b); - return null === a ? null : a.stateNode; - }, + findHostInstance: b, findHostInstanceWithNoPortals: function(a) { - a = Cd(a); + a = kd(a); return null === a ? null : a.stateNode; }, injectIntoDevTools: function(a) { - var b = a.findFiberByHostInstance; - return He( + var c = a.findFiberByHostInstance; + return xe( A({}, a, { findHostInstanceByFiber: function(a) { - a = Bd(a); - return null === a ? null : a.stateNode; + return b(a); }, findFiberByHostInstance: function(a) { - return b ? b(a) : null; + return c ? c(a) : null; } }) ); } }; } - var nf = Object.freeze({ default: mf }), - of = (nf && mf) || nf, - pf = of["default"] ? of["default"] : of; - function qf(a, b, c) { - var d = - 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; - return { - $$typeof: rc, - key: null == d ? null : "" + d, - children: a, - containerInfo: b, - implementation: c - }; - } - var rf = + var kf = Object.freeze({ default: jf }), + lf = (kf && jf) || kf, + mf = lf["default"] ? lf["default"] : lf, + nf = "object" === typeof performance && "function" === typeof performance.now, - sf = void 0; - sf = rf + of = void 0; + of = nf ? function() { return performance.now(); } : function() { return Date.now(); }; - var tf = void 0, - uf = void 0; + var pf = void 0; if (m.canUseDOM) - if ( - "function" !== typeof requestIdleCallback || - "function" !== typeof cancelIdleCallback - ) { - var vf = null, - wf = !1, - xf = -1, - yf = !1, - zf = 0, - Af = 33, - Bf = 33, - Cf = void 0; - Cf = rf + if ("function" !== typeof requestIdleCallback) { + var qf = null, + rf = !1, + sf = !1, + tf = 0, + uf = 33, + vf = 33, + wf; + wf = nf ? { - didTimeout: !1, timeRemaining: function() { - var a = zf - performance.now(); - return 0 < a ? a : 0; + return tf - performance.now(); } } : { - didTimeout: !1, timeRemaining: function() { - var a = zf - Date.now(); - return 0 < a ? a : 0; + return tf - Date.now(); } }; - var Df = + var xf = "__reactIdleCallback$" + Math.random() .toString(36) @@ -5571,77 +5006,166 @@ window.addEventListener( "message", function(a) { - if (a.source === window && a.data === Df) { - wf = !1; - a = sf(); - if (0 >= zf - a) - if (-1 !== xf && xf <= a) Cf.didTimeout = !0; - else { - yf || ((yf = !0), requestAnimationFrame(Ef)); - return; - } - else Cf.didTimeout = !1; - xf = -1; - a = vf; - vf = null; - null !== a && a(Cf); - } + a.source === window && + a.data === xf && + ((rf = !1), (a = qf), (qf = null), null !== a && a(wf)); }, !1 ); - var Ef = function(a) { - yf = !1; - var b = a - zf + Bf; - b < Bf && Af < Bf - ? (8 > b && (b = 8), (Bf = b < Af ? Af : b)) - : (Af = b); - zf = a + Bf; - wf || ((wf = !0), window.postMessage(Df, "*")); + var yf = function(a) { + sf = !1; + var b = a - tf + vf; + b < vf && uf < vf + ? (8 > b && (b = 8), (vf = b < uf ? uf : b)) + : (uf = b); + tf = a + vf; + rf || ((rf = !0), window.postMessage(xf, "*")); }; - tf = function(a, b) { - vf = a; - null != b && - "number" === typeof b.timeout && - (xf = sf() + b.timeout); - yf || ((yf = !0), requestAnimationFrame(Ef)); + pf = function(a) { + qf = a; + sf || ((sf = !0), requestAnimationFrame(yf)); return 0; }; - uf = function() { - vf = null; - wf = !1; - xf = -1; - }; - } else - (tf = window.requestIdleCallback), (uf = window.cancelIdleCallback); + } else pf = requestIdleCallback; else - (tf = function(a) { - return setTimeout(function() { + pf = function(a) { + setTimeout(function() { a({ timeRemaining: function() { return Infinity; - }, - didTimeout: !1 + } }); }); - }), - (uf = function(a) { - clearTimeout(a); - }); - function Ff(a) { + return 0; + }; + var zf = /^[: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]*$/, + Af = {}, + Bf = {}; + function Cf(a) { + if (Bf.hasOwnProperty(a)) return !0; + if (Af.hasOwnProperty(a)) return !1; + if (zf.test(a)) return (Bf[a] = !0); + Af[a] = !0; + return !1; + } + function Df(a, b, c) { + var d = ua(b); + if (d && ta(b, c)) { + var e = d.mutationMethod; + e + ? e(a, c) + : null == c || + (d.hasBooleanValue && !c) || + (d.hasNumericValue && isNaN(c)) || + (d.hasPositiveNumericValue && 1 > c) || + (d.hasOverloadedBooleanValue && !1 === c) + ? Ef(a, b) + : d.mustUseProperty + ? (a[d.propertyName] = c) + : ((b = d.attributeName), + (e = d.attributeNamespace) + ? a.setAttributeNS(e, b, "" + c) + : d.hasBooleanValue || + (d.hasOverloadedBooleanValue && !0 === c) + ? a.setAttribute(b, "") + : a.setAttribute(b, "" + c)); + } else Ff(a, b, ta(b, c) ? c : null); + } + function Ff(a, b, c) { + Cf(b) && (null == c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)); + } + function Ef(a, b) { + var c = ua(b); + c + ? (b = c.mutationMethod) + ? b(a, void 0) + : c.mustUseProperty + ? (a[c.propertyName] = c.hasBooleanValue ? !1 : "") + : a.removeAttribute(c.attributeName) + : a.removeAttribute(b); + } + function Gf(a, b) { + var c = b.value, + d = b.checked; + return A({ type: void 0, step: void 0, min: void 0, max: void 0 }, b, { + defaultChecked: void 0, + defaultValue: void 0, + value: null != c ? c : a._wrapperState.initialValue, + checked: null != d ? d : a._wrapperState.initialChecked + }); + } + function Hf(a, b) { + var c = b.defaultValue; + a._wrapperState = { + initialChecked: null != b.checked ? b.checked : b.defaultChecked, + initialValue: null != b.value ? b.value : c, + controlled: + "checkbox" === b.type || "radio" === b.type + ? null != b.checked + : null != b.value + }; + } + function If(a, b) { + var c = b.checked; + null != c && Df(a, "checked", c || !1); + c = b.value; + if (null != c) + if (0 === c && "" === a.value) a.value = "0"; + else if ("number" === b.type) { + if ( + ((b = parseFloat(a.value) || 0), + c != b || (c == b && a.value != c)) + ) + a.value = "" + c; + } else a.value !== "" + c && (a.value = "" + c); + else + null == b.value && + null != b.defaultValue && + a.defaultValue !== "" + b.defaultValue && + (a.defaultValue = "" + b.defaultValue), + null == b.checked && + null != b.defaultChecked && + (a.defaultChecked = !!b.defaultChecked); + } + function Jf(a, b) { + switch (b.type) { + case "submit": + case "reset": + break; + case "color": + case "date": + case "datetime": + case "datetime-local": + case "month": + case "time": + case "week": + a.value = ""; + a.value = a.defaultValue; + break; + default: + a.value = a.value; + } + b = a.name; + "" !== b && (a.name = ""); + a.defaultChecked = !a.defaultChecked; + a.defaultChecked = !a.defaultChecked; + "" !== b && (a.name = b); + } + function Kf(a) { var b = ""; - ea.Children.forEach(a, function(a) { + aa.Children.forEach(a, function(a) { null == a || ("string" !== typeof a && "number" !== typeof a) || (b += a); }); return b; } - function Gf(a, b) { + function Lf(a, b) { a = A({ children: void 0 }, b); - if ((b = Ff(b.children))) a.children = b; + if ((b = Kf(b.children))) a.children = b; return a; } - function Hf(a, b, c, d) { + function Mf(a, b, c, d) { a = a.options; if (b) { b = {}; @@ -5664,14 +5188,14 @@ null !== b && (b.selected = !0); } } - function If(a, b) { + function Nf(a, b) { var c = b.value; a._wrapperState = { initialValue: null != c ? c : b.defaultValue, wasMultiple: !!b.multiple }; } - function Jf(a, b) { + function Of(a, b) { null != b.dangerouslySetInnerHTML ? D("91") : void 0; return A({}, b, { value: void 0, @@ -5679,8 +5203,9 @@ children: "" + a._wrapperState.initialValue }); } - function Kf(a, b) { - var c = b.value; + function Pf(a, b) { + var c = b.value, + d = c; null == c && ((c = b.defaultValue), (b = b.children), @@ -5688,10 +5213,11 @@ (null != c ? D("92") : void 0, Array.isArray(b) && (1 >= b.length ? void 0 : D("93"), (b = b[0])), (c = "" + b)), - null == c && (c = "")); - a._wrapperState = { initialValue: "" + c }; + null == c && (c = ""), + (d = c)); + a._wrapperState = { initialValue: "" + d }; } - function Lf(a, b) { + function Qf(a, b) { var c = b.value; null != c && ((c = "" + c), @@ -5699,16 +5225,16 @@ null == b.defaultValue && (a.defaultValue = c)); null != b.defaultValue && (a.defaultValue = b.defaultValue); } - function Mf(a) { + function Rf(a) { var b = a.textContent; b === a._wrapperState.initialValue && (a.value = b); } - var Nf = { + var Sf = { html: "http://www.w3.org/1999/xhtml", mathml: "http://www.w3.org/1998/Math/MathML", svg: "http://www.w3.org/2000/svg" }; - function Of(a) { + function Tf(a) { switch (a) { case "svg": return "http://www.w3.org/2000/svg"; @@ -5718,15 +5244,15 @@ return "http://www.w3.org/1999/xhtml"; } } - function Pf(a, b) { + function Uf(a, b) { return null == a || "http://www.w3.org/1999/xhtml" === a - ? Of(b) + ? Tf(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a; } - var Qf = void 0, - Rf = (function(a) { + var Vf = void 0, + Wf = (function(a) { return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) { MSApp.execUnsafeLocalFunction(function() { @@ -5735,15 +5261,16 @@ } : a; })(function(a, b) { - if (a.namespaceURI !== Nf.svg || "innerHTML" in a) a.innerHTML = b; + if (a.namespaceURI !== Sf.svg || "innerHTML" in a) a.innerHTML = b; else { - Qf = Qf || document.createElement("div"); - Qf.innerHTML = "\x3csvg\x3e" + b + "\x3c/svg\x3e"; - for (b = Qf.firstChild; a.firstChild; ) a.removeChild(a.firstChild); + Vf = Vf || document.createElement("div"); + Vf.innerHTML = "\x3csvg\x3e" + b + "\x3c/svg\x3e"; + for (b = Vf.firstChild; a.firstChild; ) a.removeChild(a.firstChild); for (; b.firstChild; ) a.appendChild(b.firstChild); } - }); - function Sf(a, b) { + }), + Xf = /["'&<>]/; + function Yf(a, b) { if (b) { var c = a.firstChild; if (c && c === a.lastChild && 3 === c.nodeType) { @@ -5753,7 +5280,51 @@ } a.textContent = b; } - var Tf = { + m.canUseDOM && + ("textContent" in document.documentElement || + (Yf = function(a, b) { + if (3 === a.nodeType) a.nodeValue = b; + else { + if ("boolean" === typeof b || "number" === typeof b) b = "" + b; + else { + b = "" + b; + var c = Xf.exec(b); + if (c) { + var d = "", + e, + f = 0; + for (e = c.index; e < b.length; e++) { + switch (b.charCodeAt(e)) { + case 34: + c = "\x26quot;"; + break; + case 38: + c = "\x26amp;"; + break; + case 39: + c = "\x26#x27;"; + break; + case 60: + c = "\x26lt;"; + break; + case 62: + c = "\x26gt;"; + break; + default: + continue; + } + f !== e && (d += b.substring(f, e)); + f = e + 1; + d += c; + } + b = f !== e ? d + b.substring(f, e) : d; + } + } + Wf(a, b); + } + })); + var Zf = Yf, + $f = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, @@ -5796,14 +5367,14 @@ strokeOpacity: !0, strokeWidth: !0 }, - Uf = ["Webkit", "ms", "Moz", "O"]; - Object.keys(Tf).forEach(function(a) { - Uf.forEach(function(b) { + ag = ["Webkit", "ms", "Moz", "O"]; + Object.keys($f).forEach(function(a) { + ag.forEach(function(b) { b = b + a.charAt(0).toUpperCase() + a.substring(1); - Tf[b] = Tf[a]; + $f[b] = $f[a]; }); }); - function Vf(a, b) { + function bg(a, b) { a = a.style; for (var c in b) if (b.hasOwnProperty(c)) { @@ -5816,14 +5387,14 @@ : d || "number" !== typeof f || 0 === f || - (Tf.hasOwnProperty(e) && Tf[e]) + ($f.hasOwnProperty(e) && $f[e]) ? ("" + f).trim() : f + "px"; "float" === c && (c = "cssFloat"); d ? a.setProperty(c, e) : (a[c] = e); } } - var Wf = A( + var cg = A( { menuitem: !0 }, { area: !0, @@ -5843,9 +5414,9 @@ wbr: !0 } ); - function Xf(a, b, c) { + function dg(a, b, c) { b && - (Wf[a] && + (cg[a] && (null != b.children || null != b.dangerouslySetInnerHTML ? D("137", a, c()) : void 0), @@ -5859,7 +5430,7 @@ ? D("62", c()) : void 0); } - function Yf(a, b) { + function eg(a, b) { if (-1 === a.indexOf("-")) return "string" === typeof b.is; switch (a) { case "annotation-xml": @@ -5875,35 +5446,67 @@ return !0; } } - var Zf = C.thatReturns(""); - function $f(a, b) { + var fg = Sf.html, + gg = B.thatReturns(""); + function hg(a, b) { a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument; - var c = ke(a); - b = va[b]; + var c = Cd(a); + b = Qa[b]; for (var d = 0; d < b.length; d++) { var e = b[d]; (c.hasOwnProperty(e) && c[e]) || - ("topScroll" === e - ? Zd("topScroll", "scroll", a) - : "topFocus" === e || "topBlur" === e - ? (Zd("topFocus", "focus", a), - Zd("topBlur", "blur", a), - (c.topBlur = !0), - (c.topFocus = !0)) - : "topCancel" === e - ? (ic("cancel", !0) && Zd("topCancel", "cancel", a), - (c.topCancel = !0)) - : "topClose" === e - ? (ic("close", !0) && Zd("topClose", "close", a), - (c.topClose = !0)) - : fe.hasOwnProperty(e) && W(e, fe[e], a), + ("topWheel" === e + ? xc("wheel") + ? U("topWheel", "wheel", a) + : xc("mousewheel") + ? U("topWheel", "mousewheel", a) + : U("topWheel", "DOMMouseScroll", a) + : "topScroll" === e + ? rd("topScroll", "scroll", a) + : "topFocus" === e || "topBlur" === e + ? (rd("topFocus", "focus", a), + rd("topBlur", "blur", a), + (c.topBlur = !0), + (c.topFocus = !0)) + : "topCancel" === e + ? (xc("cancel", !0) && rd("topCancel", "cancel", a), + (c.topCancel = !0)) + : "topClose" === e + ? (xc("close", !0) && rd("topClose", "close", a), + (c.topClose = !0)) + : yd.hasOwnProperty(e) && U(e, yd[e], a), (c[e] = !0)); } } - function ag(a, b, c, d) { + var ig = { + topAbort: "abort", + topCanPlay: "canplay", + topCanPlayThrough: "canplaythrough", + topDurationChange: "durationchange", + topEmptied: "emptied", + topEncrypted: "encrypted", + topEnded: "ended", + topError: "error", + topLoadedData: "loadeddata", + topLoadedMetadata: "loadedmetadata", + topLoadStart: "loadstart", + topPause: "pause", + topPlay: "play", + topPlaying: "playing", + topProgress: "progress", + topRateChange: "ratechange", + topSeeked: "seeked", + topSeeking: "seeking", + topStalled: "stalled", + topSuspend: "suspend", + topTimeUpdate: "timeupdate", + topVolumeChange: "volumechange", + topWaiting: "waiting" + }; + function jg(a, b, c, d) { c = 9 === c.nodeType ? c : c.ownerDocument; - d === Nf.html && (d = Of(a)); - d === Nf.html + d === fg && (d = Tf(a)); + d === fg ? "script" === a ? ((a = c.createElement("div")), (a.innerHTML = "\x3cscript\x3e\x3c/script\x3e"), @@ -5915,95 +5518,94 @@ : (a = c.createElementNS(d, a)); return a; } - function bg(a, b) { + function kg(a, b) { return (9 === b.nodeType ? b : b.ownerDocument).createTextNode(a); } - function cg(a, b, c, d) { - var e = Yf(b, c); + function og(a, b, c, d) { + var e = eg(b, c); switch (b) { case "iframe": case "object": - W("topLoad", "load", a); + U("topLoad", "load", a); var f = c; break; case "video": case "audio": - for (f in ge) ge.hasOwnProperty(f) && W(f, ge[f], a); + for (f in ig) ig.hasOwnProperty(f) && U(f, ig[f], a); f = c; break; case "source": - W("topError", "error", a); + U("topError", "error", a); f = c; break; case "img": case "image": - case "link": - W("topError", "error", a); - W("topLoad", "load", a); + U("topError", "error", a); + U("topLoad", "load", a); f = c; break; case "form": - W("topReset", "reset", a); - W("topSubmit", "submit", a); + U("topReset", "reset", a); + U("topSubmit", "submit", a); f = c; break; case "details": - W("topToggle", "toggle", a); + U("topToggle", "toggle", a); f = c; break; case "input": - Wc(a, c); - f = Vc(a, c); - W("topInvalid", "invalid", a); - $f(d, "onChange"); + Hf(a, c); + f = Gf(a, c); + U("topInvalid", "invalid", a); + hg(d, "onChange"); break; case "option": - f = Gf(a, c); + f = Lf(a, c); break; case "select": - If(a, c); + Nf(a, c); f = A({}, c, { value: void 0 }); - W("topInvalid", "invalid", a); - $f(d, "onChange"); + U("topInvalid", "invalid", a); + hg(d, "onChange"); break; case "textarea": - Kf(a, c); - f = Jf(a, c); - W("topInvalid", "invalid", a); - $f(d, "onChange"); + Pf(a, c); + f = Of(a, c); + U("topInvalid", "invalid", a); + hg(d, "onChange"); break; default: f = c; } - Xf(b, f, Zf); - var h = f, - g; - for (g in h) - if (h.hasOwnProperty(g)) { - var k = h[g]; - "style" === g - ? Vf(a, k, Zf) - : "dangerouslySetInnerHTML" === g - ? ((k = k ? k.__html : void 0), null != k && Rf(a, k)) - : "children" === g - ? "string" === typeof k - ? ("textarea" !== b || "" !== k) && Sf(a, k) - : "number" === typeof k && Sf(a, "" + k) - : "suppressContentEditableWarning" !== g && - "suppressHydrationWarning" !== g && - "autoFocus" !== g && - (ua.hasOwnProperty(g) - ? null != k && $f(d, g) - : null != k && Uc(a, g, k, e)); + dg(b, f, gg); + var g = f, + k; + for (k in g) + if (g.hasOwnProperty(k)) { + var h = g[k]; + "style" === k + ? bg(a, h, gg) + : "dangerouslySetInnerHTML" === k + ? ((h = h ? h.__html : void 0), null != h && Wf(a, h)) + : "children" === k + ? "string" === typeof h + ? ("textarea" !== b || "" !== h) && Zf(a, h) + : "number" === typeof h && Zf(a, "" + h) + : "suppressContentEditableWarning" !== k && + "suppressHydrationWarning" !== k && + "autoFocus" !== k && + (Pa.hasOwnProperty(k) + ? null != h && hg(d, k) + : e ? Ff(a, k, h) : null != h && Df(a, k, h)); } switch (b) { case "input": - lc(a); - ad(a, c); + Ac(a); + Jf(a, c); break; case "textarea": - lc(a); - Mf(a, c); + Ac(a); + Rf(a, c); break; case "option": null != c.value && a.setAttribute("value", c.value); @@ -6012,25 +5614,25 @@ a.multiple = !!c.multiple; b = c.value; null != b - ? Hf(a, !!c.multiple, b, !1) + ? Mf(a, !!c.multiple, b, !1) : null != c.defaultValue && - Hf(a, !!c.multiple, c.defaultValue, !0); + Mf(a, !!c.multiple, c.defaultValue, !0); break; default: - "function" === typeof f.onClick && (a.onclick = C); + "function" === typeof f.onClick && (a.onclick = B); } } - function dg(a, b, c, d, e) { + function pg(a, b, c, d, e) { var f = null; switch (b) { case "input": - c = Vc(a, c); - d = Vc(a, d); + c = Gf(a, c); + d = Gf(a, d); f = []; break; case "option": - c = Gf(a, c); - d = Gf(a, d); + c = Lf(a, c); + d = Lf(a, d); f = []; break; case "select": @@ -6039,86 +5641,88 @@ f = []; break; case "textarea": - c = Jf(a, c); - d = Jf(a, d); + c = Of(a, c); + d = Of(a, d); f = []; break; default: "function" !== typeof c.onClick && "function" === typeof d.onClick && - (a.onclick = C); - } - Xf(b, d, Zf); - b = a = void 0; - var h = null; - for (a in c) - if (!d.hasOwnProperty(a) && c.hasOwnProperty(a) && null != c[a]) - if ("style" === a) { - var g = c[a]; - for (b in g) g.hasOwnProperty(b) && (h || (h = {}), (h[b] = "")); - } else - "dangerouslySetInnerHTML" !== a && - "children" !== a && - "suppressContentEditableWarning" !== a && - "suppressHydrationWarning" !== a && - "autoFocus" !== a && - (ua.hasOwnProperty(a) + (a.onclick = B); + } + dg(b, d, gg); + var g, k; + a = null; + for (g in c) + if (!d.hasOwnProperty(g) && c.hasOwnProperty(g) && null != c[g]) + if ("style" === g) + for (k in ((b = c[g]), b)) + b.hasOwnProperty(k) && (a || (a = {}), (a[k] = "")); + else + "dangerouslySetInnerHTML" !== g && + "children" !== g && + "suppressContentEditableWarning" !== g && + "suppressHydrationWarning" !== g && + "autoFocus" !== g && + (Pa.hasOwnProperty(g) ? f || (f = []) - : (f = f || []).push(a, null)); - for (a in d) { - var k = d[a]; - g = null != c ? c[a] : void 0; - if (d.hasOwnProperty(a) && k !== g && (null != k || null != g)) - if ("style" === a) - if (g) { - for (b in g) - !g.hasOwnProperty(b) || - (k && k.hasOwnProperty(b)) || - (h || (h = {}), (h[b] = "")); - for (b in k) - k.hasOwnProperty(b) && - g[b] !== k[b] && - (h || (h = {}), (h[b] = k[b])); - } else h || (f || (f = []), f.push(a, h)), (h = k); + : (f = f || []).push(g, null)); + for (g in d) { + var h = d[g]; + b = null != c ? c[g] : void 0; + if (d.hasOwnProperty(g) && h !== b && (null != h || null != b)) + if ("style" === g) + if (b) { + for (k in b) + !b.hasOwnProperty(k) || + (h && h.hasOwnProperty(k)) || + (a || (a = {}), (a[k] = "")); + for (k in h) + h.hasOwnProperty(k) && + b[k] !== h[k] && + (a || (a = {}), (a[k] = h[k])); + } else a || (f || (f = []), f.push(g, a)), (a = h); else - "dangerouslySetInnerHTML" === a - ? ((k = k ? k.__html : void 0), - (g = g ? g.__html : void 0), - null != k && g !== k && (f = f || []).push(a, "" + k)) - : "children" === a - ? g === k || - ("string" !== typeof k && "number" !== typeof k) || - (f = f || []).push(a, "" + k) - : "suppressContentEditableWarning" !== a && - "suppressHydrationWarning" !== a && - (ua.hasOwnProperty(a) - ? (null != k && $f(e, a), f || g === k || (f = [])) - : (f = f || []).push(a, k)); - } - h && (f = f || []).push("style", h); + "dangerouslySetInnerHTML" === g + ? ((h = h ? h.__html : void 0), + (b = b ? b.__html : void 0), + null != h && b !== h && (f = f || []).push(g, "" + h)) + : "children" === g + ? b === h || + ("string" !== typeof h && "number" !== typeof h) || + (f = f || []).push(g, "" + h) + : "suppressContentEditableWarning" !== g && + "suppressHydrationWarning" !== g && + (Pa.hasOwnProperty(g) + ? (null != h && hg(e, g), f || b === h || (f = [])) + : (f = f || []).push(g, h)); + } + a && (f = f || []).push("style", a); return f; } - function eg(a, b, c, d, e) { - "input" === c && "radio" === e.type && null != e.name && Yc(a, e); - Yf(c, d); - d = Yf(c, e); + function qg(a, b, c, d, e) { + eg(c, d); + d = eg(c, e); for (var f = 0; f < b.length; f += 2) { - var h = b[f], - g = b[f + 1]; - "style" === h - ? Vf(a, g, Zf) - : "dangerouslySetInnerHTML" === h - ? Rf(a, g) - : "children" === h - ? Sf(a, g) - : Uc(a, h, g, d); + var g = b[f], + k = b[f + 1]; + "style" === g + ? bg(a, k, gg) + : "dangerouslySetInnerHTML" === g + ? Wf(a, k) + : "children" === g + ? Zf(a, k) + : d + ? null != k ? Ff(a, g, k) : a.removeAttribute(g) + : null != k ? Df(a, g, k) : Ef(a, g); } switch (c) { case "input": - Zc(a, e); + If(a, e); + Bc(a); break; case "textarea": - Lf(a, e); + Qf(a, e); break; case "select": (a._wrapperState.initialValue = void 0), @@ -6126,92 +5730,91 @@ (a._wrapperState.wasMultiple = !!e.multiple), (c = e.value), null != c - ? Hf(a, !!e.multiple, c, !1) + ? Mf(a, !!e.multiple, c, !1) : b !== !!e.multiple && (null != e.defaultValue - ? Hf(a, !!e.multiple, e.defaultValue, !0) - : Hf(a, !!e.multiple, e.multiple ? [] : "", !1)); + ? Mf(a, !!e.multiple, e.defaultValue, !0) + : Mf(a, !!e.multiple, e.multiple ? [] : "", !1)); } } - function fg(a, b, c, d, e) { + function rg(a, b, c, d, e) { switch (b) { case "iframe": case "object": - W("topLoad", "load", a); + U("topLoad", "load", a); break; case "video": case "audio": - for (var f in ge) ge.hasOwnProperty(f) && W(f, ge[f], a); + for (var f in ig) ig.hasOwnProperty(f) && U(f, ig[f], a); break; case "source": - W("topError", "error", a); + U("topError", "error", a); break; case "img": case "image": - case "link": - W("topError", "error", a); - W("topLoad", "load", a); + U("topError", "error", a); + U("topLoad", "load", a); break; case "form": - W("topReset", "reset", a); - W("topSubmit", "submit", a); + U("topReset", "reset", a); + U("topSubmit", "submit", a); break; case "details": - W("topToggle", "toggle", a); + U("topToggle", "toggle", a); break; case "input": - Wc(a, c); - W("topInvalid", "invalid", a); - $f(e, "onChange"); + Hf(a, c); + U("topInvalid", "invalid", a); + hg(e, "onChange"); break; case "select": - If(a, c); - W("topInvalid", "invalid", a); - $f(e, "onChange"); + Nf(a, c); + U("topInvalid", "invalid", a); + hg(e, "onChange"); break; case "textarea": - Kf(a, c), W("topInvalid", "invalid", a), $f(e, "onChange"); + Pf(a, c), U("topInvalid", "invalid", a), hg(e, "onChange"); } - Xf(b, c, Zf); + dg(b, c, gg); d = null; - for (var h in c) - c.hasOwnProperty(h) && - ((f = c[h]), - "children" === h + for (var g in c) + c.hasOwnProperty(g) && + ((f = c[g]), + "children" === g ? "string" === typeof f ? a.textContent !== f && (d = ["children", f]) : "number" === typeof f && a.textContent !== "" + f && (d = ["children", "" + f]) - : ua.hasOwnProperty(h) && null != f && $f(e, h)); + : Pa.hasOwnProperty(g) && null != f && hg(e, g)); switch (b) { case "input": - lc(a); - ad(a, c); + Ac(a); + Jf(a, c); break; case "textarea": - lc(a); - Mf(a, c); + Ac(a); + Rf(a, c); break; case "select": case "option": break; default: - "function" === typeof c.onClick && (a.onclick = C); + "function" === typeof c.onClick && (a.onclick = B); } return d; } - function ng(a, b) { + function sg(a, b) { return a.nodeValue !== b; } - var og = Object.freeze({ - createElement: ag, - createTextNode: bg, - setInitialProperties: cg, - diffProperties: dg, - updateProperties: eg, - diffHydratedProperties: fg, - diffHydratedText: ng, + var tg = Object.freeze({ + createElement: jg, + createTextNode: kg, + setInitialProperties: og, + diffProperties: pg, + updateProperties: qg, + diffHydratedProperties: rg, + diffHydratedText: sg, warnForUnmatchedText: function() {}, warnForDeletedHydratableElement: function() {}, warnForDeletedHydratableText: function() {}, @@ -6220,7 +5823,7 @@ restoreControlledState: function(a, b, c) { switch (b) { case "input": - Zc(a, c); + If(a, c); b = c.name; if ("radio" === c.type && null != b) { for (c = a; c.parentNode; ) c = c.parentNode; @@ -6232,149 +5835,25 @@ for (b = 0; b < c.length; b++) { var d = c[b]; if (d !== a && d.form === a.form) { - var e = Xa(d); + var e = rb(d); e ? void 0 : D("90"); - mc(d); - Zc(d, e); + If(d, e); } } } break; case "textarea": - Lf(a, c); + Qf(a, c); break; case "select": - (b = c.value), null != b && Hf(a, !!c.multiple, b, !1); + (b = c.value), null != b && Mf(a, !!c.multiple, b, !1); } } }); - Tb.injectFiberControlledHostComponent(og); - var pg = null, - qg = null; - function rg(a) { - this._expirationTime = X.computeUniqueAsyncExpiration(); - this._root = a; - this._callbacks = this._next = null; - this._hasChildren = this._didComplete = !1; - this._children = null; - this._defer = !0; - } - rg.prototype.render = function(a) { - this._defer ? void 0 : D("250"); - this._hasChildren = !0; - this._children = a; - var b = this._root._internalRoot, - c = this._expirationTime, - d = new sg(); - X.updateContainerAtExpirationTime(a, b, null, c, d._onCommit); - return d; - }; - rg.prototype.then = function(a) { - if (this._didComplete) a(); - else { - var b = this._callbacks; - null === b && (b = this._callbacks = []); - b.push(a); - } - }; - rg.prototype.commit = function() { - var a = this._root._internalRoot, - b = a.firstBatch; - this._defer && null !== b ? void 0 : D("251"); - if (this._hasChildren) { - var c = this._expirationTime; - if (b !== this) { - this._hasChildren && - ((c = this._expirationTime = b._expirationTime), - this.render(this._children)); - for (var d = null, e = b; e !== this; ) (d = e), (e = e._next); - null === d ? D("251") : void 0; - d._next = e._next; - this._next = b; - a.firstBatch = this; - } - this._defer = !1; - X.flushRoot(a, c); - b = this._next; - this._next = null; - b = a.firstBatch = b; - null !== b && b._hasChildren && b.render(b._children); - } else (this._next = null), (this._defer = !1); - }; - rg.prototype._onComplete = function() { - if (!this._didComplete) { - this._didComplete = !0; - var a = this._callbacks; - if (null !== a) for (var b = 0; b < a.length; b++) (0, a[b])(); - } - }; - function sg() { - this._callbacks = null; - this._didCommit = !1; - this._onCommit = this._onCommit.bind(this); - } - sg.prototype.then = function(a) { - if (this._didCommit) a(); - else { - var b = this._callbacks; - null === b && (b = this._callbacks = []); - b.push(a); - } - }; - sg.prototype._onCommit = function() { - if (!this._didCommit) { - this._didCommit = !0; - var a = this._callbacks; - if (null !== a) - for (var b = 0; b < a.length; b++) { - var c = a[b]; - "function" !== typeof c ? D("191", c) : void 0; - c(); - } - } - }; - function tg(a, b, c) { - this._internalRoot = X.createContainer(a, b, c); - } - tg.prototype.render = function(a, b) { - var c = this._internalRoot, - d = new sg(); - b = void 0 === b ? null : b; - null !== b && d.then(b); - X.updateContainer(a, c, null, d._onCommit); - return d; - }; - tg.prototype.unmount = function(a) { - var b = this._internalRoot, - c = new sg(); - a = void 0 === a ? null : a; - null !== a && c.then(a); - X.updateContainer(null, b, null, c._onCommit); - return c; - }; - tg.prototype.legacy_renderSubtreeIntoContainer = function(a, b, c) { - var d = this._internalRoot, - e = new sg(); - c = void 0 === c ? null : c; - null !== c && e.then(c); - X.updateContainer(b, d, a, e._onCommit); - return e; - }; - tg.prototype.createBatch = function() { - var a = new rg(this), - b = a._expirationTime, - c = this._internalRoot, - d = c.firstBatch; - if (null === d) (c.firstBatch = a), (a._next = null); - else { - for (c = null; null !== d && d._expirationTime <= b; ) - (c = d), (d = d._next); - a._next = d; - null !== c && (c._next = a); - } - return a; - }; - function ug(a) { + mc.injectFiberControlledHostComponent(tg); + var Gg = null, + Hg = null; + function Ig(a) { return !( !a || (1 !== a.nodeType && @@ -6384,381 +5863,350 @@ " react-mount-point-unstable " !== a.nodeValue)) ); } - function vg(a, b) { - switch (a) { - case "button": - case "input": - case "select": - case "textarea": - return !!b.autoFocus; - } - return !1; + function Jg(a) { + a = a ? (9 === a.nodeType ? a.documentElement : a.firstChild) : null; + return !(!a || 1 !== a.nodeType || !a.hasAttribute("data-reactroot")); } - var X = pf({ - getRootHostContext: function(a) { - var b = a.nodeType; + var Z = mf({ + getRootHostContext: function(a) { + var b = a.nodeType; + switch (b) { + case 9: + case 11: + a = (a = a.documentElement) ? a.namespaceURI : Uf(null, ""); + break; + default: + (b = 8 === b ? a.parentNode : a), + (a = b.namespaceURI || null), + (b = b.tagName), + (a = Uf(a, b)); + } + return a; + }, + getChildHostContext: function(a, b) { + return Uf(a, b); + }, + getPublicInstance: function(a) { + return a; + }, + prepareForCommit: function() { + Gg = od; + var a = da(); + if (Fd(a)) { + if ("selectionStart" in a) + var b = { start: a.selectionStart, end: a.selectionEnd }; + else + a: { + var c = window.getSelection && window.getSelection(); + if (c && 0 !== c.rangeCount) { + b = c.anchorNode; + var d = c.anchorOffset, + e = c.focusNode; + c = c.focusOffset; + try { + b.nodeType, e.nodeType; + } catch (x) { + b = null; + break a; + } + var f = 0, + g = -1, + k = -1, + h = 0, + r = 0, + n = a, + y = null; + b: for (;;) { + for (var u; ; ) { + n !== b || (0 !== d && 3 !== n.nodeType) || (g = f + d); + n !== e || (0 !== c && 3 !== n.nodeType) || (k = f + c); + 3 === n.nodeType && (f += n.nodeValue.length); + if (null === (u = n.firstChild)) break; + y = n; + n = u; + } + for (;;) { + if (n === a) break b; + y === b && ++h === d && (g = f); + y === e && ++r === c && (k = f); + if (null !== (u = n.nextSibling)) break; + n = y; + y = n.parentNode; + } + n = u; + } + b = -1 === g || -1 === k ? null : { start: g, end: k }; + } else b = null; + } + b = b || { start: 0, end: 0 }; + } else b = null; + Hg = { focusedElem: a, selectionRange: b }; + pd(!1); + }, + resetAfterCommit: function() { + var a = Hg, + b = da(), + c = a.focusedElem, + d = a.selectionRange; + if (b !== c && ha(document.documentElement, c)) { + if (Fd(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 (window.getSelection) { + b = window.getSelection(); + var e = c[Db()].length; + a = Math.min(d.start, e); + d = void 0 === d.end ? a : Math.min(d.end, e); + !b.extend && a > d && ((e = d), (d = a), (a = e)); + e = Ed(c, a); + var f = Ed(c, d); + if ( + e && + f && + (1 !== b.rangeCount || + b.anchorNode !== e.node || + b.anchorOffset !== e.offset || + b.focusNode !== f.node || + b.focusOffset !== f.offset) + ) { + var g = document.createRange(); + g.setStart(e.node, e.offset); + b.removeAllRanges(); + a > d + ? (b.addRange(g), b.extend(f.node, f.offset)) + : (g.setEnd(f.node, f.offset), b.addRange(g)); + } + } + b = []; + for (a = c; (a = a.parentNode); ) + 1 === a.nodeType && + b.push({ element: a, left: a.scrollLeft, top: a.scrollTop }); + ia(c); + for (c = 0; c < b.length; c++) + (a = b[c]), + (a.element.scrollLeft = a.left), + (a.element.scrollTop = a.top); + } + Hg = null; + pd(Gg); + Gg = null; + }, + createInstance: function(a, b, c, d, e) { + a = jg(a, b, c, d); + a[O] = e; + a[ob] = b; + return a; + }, + appendInitialChild: function(a, b) { + a.appendChild(b); + }, + finalizeInitialChildren: function(a, b, c, d) { + og(a, b, c, d); + a: { switch (b) { - case 9: - case 11: - a = (a = a.documentElement) ? a.namespaceURI : Pf(null, ""); - break; - default: - (b = 8 === b ? a.parentNode : a), - (a = b.namespaceURI || null), - (b = b.tagName), - (a = Pf(a, b)); + case "button": + case "input": + case "select": + case "textarea": + a = !!c.autoFocus; + break a; } - return a; + a = !1; + } + return a; + }, + prepareUpdate: function(a, b, c, d, e) { + return pg(a, b, c, d, e); + }, + shouldSetTextContent: function(a, b) { + return ( + "textarea" === a || + "string" === typeof b.children || + "number" === typeof b.children || + ("object" === typeof b.dangerouslySetInnerHTML && + null !== b.dangerouslySetInnerHTML && + "string" === typeof b.dangerouslySetInnerHTML.__html) + ); + }, + shouldDeprioritizeSubtree: function(a, b) { + return !!b.hidden; + }, + createTextInstance: function(a, b, c, d) { + a = kg(a, b); + a[O] = d; + return a; + }, + now: of, + mutation: { + commitMount: function(a) { + a.focus(); }, - getChildHostContext: function(a, b) { - return Pf(a, b); + commitUpdate: function(a, b, c, d, e) { + a[ob] = e; + qg(a, b, c, d, e); }, - getPublicInstance: function(a) { - return a; + resetTextContent: function(a) { + a.textContent = ""; }, - prepareForCommit: function() { - pg = Vd; - var a = fa(); - if (ne(a)) { - if ("selectionStart" in a) - var b = { start: a.selectionStart, end: a.selectionEnd }; - else - a: { - var c = window.getSelection && window.getSelection(); - if (c && 0 !== c.rangeCount) { - b = c.anchorNode; - var d = c.anchorOffset, - e = c.focusNode; - c = c.focusOffset; - try { - b.nodeType, e.nodeType; - } catch (B) { - b = null; - break a; - } - var f = 0, - h = -1, - g = -1, - k = 0, - v = 0, - l = a, - p = null; - b: for (;;) { - for (var z; ; ) { - l !== b || (0 !== d && 3 !== l.nodeType) || (h = f + d); - l !== e || (0 !== c && 3 !== l.nodeType) || (g = f + c); - 3 === l.nodeType && (f += l.nodeValue.length); - if (null === (z = l.firstChild)) break; - p = l; - l = z; - } - for (;;) { - if (l === a) break b; - p === b && ++k === d && (h = f); - p === e && ++v === c && (g = f); - if (null !== (z = l.nextSibling)) break; - l = p; - p = l.parentNode; - } - l = z; - } - b = -1 === h || -1 === g ? null : { start: h, end: g }; - } else b = null; - } - b = b || { start: 0, end: 0 }; - } else b = null; - qg = { focusedElem: a, selectionRange: b }; - Wd(!1); - }, - resetAfterCommit: function() { - var a = qg, - b = fa(), - c = a.focusedElem, - d = a.selectionRange; - if (b !== c && ja(document.documentElement, c)) { - if (ne(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 (window.getSelection) { - b = window.getSelection(); - var e = c[mb()].length; - a = Math.min(d.start, e); - d = void 0 === d.end ? a : Math.min(d.end, e); - !b.extend && a > d && ((e = d), (d = a), (a = e)); - e = me(c, a); - var f = me(c, d); - if ( - e && - f && - (1 !== b.rangeCount || - b.anchorNode !== e.node || - b.anchorOffset !== e.offset || - b.focusNode !== f.node || - b.focusOffset !== f.offset) - ) { - var h = document.createRange(); - h.setStart(e.node, e.offset); - b.removeAllRanges(); - a > d - ? (b.addRange(h), b.extend(f.node, f.offset)) - : (h.setEnd(f.node, f.offset), b.addRange(h)); - } - } - b = []; - for (a = c; (a = a.parentNode); ) - 1 === a.nodeType && - b.push({ element: a, left: a.scrollLeft, top: a.scrollTop }); - c.focus(); - for (c = 0; c < b.length; c++) - (a = b[c]), - (a.element.scrollLeft = a.left), - (a.element.scrollTop = a.top); - } - qg = null; - Wd(pg); - pg = null; - }, - createInstance: function(a, b, c, d, e) { - a = ag(a, b, c, d); - a[F] = e; - a[Ta] = b; - return a; + commitTextUpdate: function(a, b, c) { + a.nodeValue = c; }, - appendInitialChild: function(a, b) { + appendChild: function(a, b) { a.appendChild(b); }, - finalizeInitialChildren: function(a, b, c, d) { - cg(a, b, c, d); - return vg(b, c); + appendChildToContainer: function(a, b) { + 8 === a.nodeType + ? a.parentNode.insertBefore(b, a) + : a.appendChild(b); + }, + insertBefore: function(a, b, c) { + a.insertBefore(b, c); + }, + insertInContainerBefore: function(a, b, c) { + 8 === a.nodeType + ? a.parentNode.insertBefore(b, c) + : a.insertBefore(b, c); }, - prepareUpdate: function(a, b, c, d, e) { - return dg(a, b, c, d, e); + removeChild: function(a, b) { + a.removeChild(b); }, - shouldSetTextContent: function(a, b) { + removeChildFromContainer: function(a, b) { + 8 === a.nodeType ? a.parentNode.removeChild(b) : a.removeChild(b); + } + }, + hydration: { + canHydrateInstance: function(a, b) { return ( - "textarea" === a || - "string" === typeof b.children || - "number" === typeof b.children || - ("object" === typeof b.dangerouslySetInnerHTML && - null !== b.dangerouslySetInnerHTML && - "string" === typeof b.dangerouslySetInnerHTML.__html) + 1 === a.nodeType && b.toLowerCase() === a.nodeName.toLowerCase() ); }, - shouldDeprioritizeSubtree: function(a, b) { - return !!b.hidden; + canHydrateTextInstance: function(a, b) { + return "" === b ? !1 : 3 === a.nodeType; }, - createTextInstance: function(a, b, c, d) { - a = bg(a, b); - a[F] = d; + getNextHydratableSibling: function(a) { + for (a = a.nextSibling; a && 1 !== a.nodeType && 3 !== a.nodeType; ) + a = a.nextSibling; return a; }, - now: sf, - mutation: { - commitMount: function(a, b, c) { - vg(b, c) && a.focus(); - }, - commitUpdate: function(a, b, c, d, e) { - a[Ta] = e; - eg(a, b, c, d, e); - }, - resetTextContent: function(a) { - Sf(a, ""); - }, - commitTextUpdate: function(a, b, c) { - a.nodeValue = c; - }, - appendChild: function(a, b) { - a.appendChild(b); - }, - appendChildToContainer: function(a, b) { - 8 === a.nodeType - ? a.parentNode.insertBefore(b, a) - : a.appendChild(b); - }, - insertBefore: function(a, b, c) { - a.insertBefore(b, c); - }, - insertInContainerBefore: function(a, b, c) { - 8 === a.nodeType - ? a.parentNode.insertBefore(b, c) - : a.insertBefore(b, c); - }, - removeChild: function(a, b) { - a.removeChild(b); - }, - removeChildFromContainer: function(a, b) { - 8 === a.nodeType ? a.parentNode.removeChild(b) : a.removeChild(b); - } + getFirstHydratableChild: function(a) { + for (a = a.firstChild; a && 1 !== a.nodeType && 3 !== a.nodeType; ) + a = a.nextSibling; + return a; }, - hydration: { - canHydrateInstance: function(a, b) { - return 1 !== a.nodeType || - b.toLowerCase() !== a.nodeName.toLowerCase() - ? null - : a; - }, - canHydrateTextInstance: function(a, b) { - return "" === b || 3 !== a.nodeType ? null : a; - }, - getNextHydratableSibling: function(a) { - for ( - a = a.nextSibling; - a && 1 !== a.nodeType && 3 !== a.nodeType; - - ) - a = a.nextSibling; - return a; - }, - getFirstHydratableChild: function(a) { - for ( - a = a.firstChild; - a && 1 !== a.nodeType && 3 !== a.nodeType; - - ) - a = a.nextSibling; - return a; - }, - hydrateInstance: function(a, b, c, d, e, f) { - a[F] = f; - a[Ta] = c; - return fg(a, b, c, e, d); - }, - hydrateTextInstance: function(a, b, c) { - a[F] = c; - return ng(a, b); - }, - didNotMatchHydratedContainerTextInstance: function() {}, - didNotMatchHydratedTextInstance: function() {}, - didNotHydrateContainerInstance: function() {}, - didNotHydrateInstance: function() {}, - didNotFindHydratableContainerInstance: function() {}, - didNotFindHydratableContainerTextInstance: function() {}, - didNotFindHydratableInstance: function() {}, - didNotFindHydratableTextInstance: function() {} - }, - scheduleDeferredCallback: tf, - cancelDeferredCallback: uf - }), - Cg = X; - ac = Cg.batchedUpdates; - bc = Cg.interactiveUpdates; - cc = Cg.flushInteractiveUpdates; - function Dg(a, b) { - b || - ((b = a - ? 9 === a.nodeType - ? a.documentElement - : a.firstChild - : null), - (b = !(!b || 1 !== b.nodeType || !b.hasAttribute("data-reactroot")))); - if (!b) for (var c; (c = a.lastChild); ) a.removeChild(c); - return new tg(a, !1, b); - } - function Eg(a, b, c, d, e) { - ug(c) ? void 0 : D("200"); + hydrateInstance: function(a, b, c, d, e, f) { + a[O] = f; + a[ob] = c; + return rg(a, b, c, e, d); + }, + hydrateTextInstance: function(a, b, c) { + a[O] = c; + return sg(a, b); + }, + didNotMatchHydratedContainerTextInstance: function() {}, + didNotMatchHydratedTextInstance: function() {}, + didNotHydrateContainerInstance: function() {}, + didNotHydrateInstance: function() {}, + didNotFindHydratableContainerInstance: function() {}, + didNotFindHydratableContainerTextInstance: function() {}, + didNotFindHydratableInstance: function() {}, + didNotFindHydratableTextInstance: function() {} + }, + scheduleDeferredCallback: pf, + useSyncScheduling: !0 + }); + qc = Z.batchedUpdates; + function Kg(a, b, c, d, e) { + Ig(c) ? void 0 : D("200"); var f = c._reactRootContainer; - if (f) { - if ("function" === typeof e) { - var h = e; - e = function() { - var a = X.getPublicRootInstance(f._internalRoot); - h.call(a); - }; - } - null != a - ? f.legacy_renderSubtreeIntoContainer(a, b, e) - : f.render(b, e); - } else { - f = c._reactRootContainer = Dg(c, d); - if ("function" === typeof e) { - var g = e; - e = function() { - var a = X.getPublicRootInstance(f._internalRoot); - g.call(a); - }; - } - X.unbatchedUpdates(function() { - null != a - ? f.legacy_renderSubtreeIntoContainer(a, b, e) - : f.render(b, e); + if (f) Z.updateContainer(b, f, a, e); + else { + d = d || Jg(c); + if (!d) for (f = void 0; (f = c.lastChild); ) c.removeChild(f); + var g = Z.createContainer(c, d); + f = c._reactRootContainer = g; + Z.unbatchedUpdates(function() { + Z.updateContainer(b, g, a, e); }); } - return X.getPublicRootInstance(f._internalRoot); + return Z.getPublicRootInstance(f); } - function Fg(a, b) { + function Lg(a, b) { var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; - ug(b) ? void 0 : D("200"); - return qf(a, b, null, c); + Ig(b) ? void 0 : D("200"); + return Oe(a, b, null, c); + } + function Mg(a, b) { + this._reactRootContainer = Z.createContainer(a, b); } - var Gg = { - createPortal: Fg, + Mg.prototype.render = function(a, b) { + Z.updateContainer(a, this._reactRootContainer, null, b); + }; + Mg.prototype.unmount = function(a) { + Z.updateContainer(null, this._reactRootContainer, null, a); + }; + var Ng = { + createPortal: Lg, findDOMNode: function(a) { - return null == a - ? null - : 1 === a.nodeType - ? a - : X.findHostInstance(a); + if (null == a) return null; + if (1 === a.nodeType) return a; + var b = a._reactInternalFiber; + if (b) return Z.findHostInstance(b); + "function" === typeof a.render ? D("188") : D("213", Object.keys(a)); }, hydrate: function(a, b, c) { - return Eg(null, a, b, !0, c); + return Kg(null, a, b, !0, c); }, render: function(a, b, c) { - return Eg(null, a, b, !1, c); + return Kg(null, a, b, !1, c); }, unstable_renderSubtreeIntoContainer: function(a, b, c, d) { null == a || void 0 === a._reactInternalFiber ? D("38") : void 0; - return Eg(a, b, c, !1, d); + return Kg(a, b, c, !1, d); }, unmountComponentAtNode: function(a) { - ug(a) ? void 0 : D("40"); + Ig(a) ? void 0 : D("40"); return a._reactRootContainer - ? (X.unbatchedUpdates(function() { - Eg(null, null, a, !1, function() { + ? (Z.unbatchedUpdates(function() { + Kg(null, null, a, !1, function() { a._reactRootContainer = null; }); }), !0) : !1; }, - unstable_createPortal: function() { - return Fg.apply(void 0, arguments); - }, - unstable_batchedUpdates: X.batchedUpdates, - unstable_deferredUpdates: X.deferredUpdates, - flushSync: X.flushSync, - unstable_flushControlled: X.flushControlled, + unstable_createPortal: Lg, + unstable_batchedUpdates: sc, + unstable_deferredUpdates: Z.deferredUpdates, + flushSync: Z.flushSync, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { - EventPluginHub: Ra, - EventPluginRegistry: Ca, - EventPropagators: kb, - ReactControlledComponent: $b, - ReactDOMComponentTree: bb, - ReactDOMEventListener: $d - }, - unstable_createRoot: function(a, b) { - return new tg(a, !0, null != b && !0 === b.hydrate); + EventPluginHub: mb, + EventPluginRegistry: Ta, + EventPropagators: Bb, + ReactControlledComponent: pc, + ReactDOMComponentTree: sb, + ReactDOMEventListener: sd } }; - X.injectIntoDevTools({ - findFiberByHostInstance: Ua, + Z.injectIntoDevTools({ + findFiberByHostInstance: pb, bundleType: 0, - version: "16.3.2", + version: "16.1.0", rendererPackageName: "react-dom" }); - var Hg = Object.freeze({ default: Gg }), - Ig = (Hg && Gg) || Hg; - module.exports = Ig["default"] ? Ig["default"] : Ig; + var Og = Object.freeze({ default: Ng }), + Pg = (Og && Ng) || Og; + module.exports = Pg["default"] ? Pg["default"] : Pg; /***/ }, - /* 10 */ + /* 9 */ /***/ function(module, exports) { /** * Copyright (c) 2013-present, Facebook, Inc. @@ -6799,6 +6247,89 @@ /***/ }, + /* 10 */ + /***/ function(module, exports, __webpack_require__) { + "use strict"; + + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + * @typechecks + */ + + var emptyFunction = __webpack_require__(6); + + /** + * Upstream version of event listener. Does not take into account specific + * nature of platform. + */ + var EventListener = { + /** + * Listen to DOM events during the bubble phase. + * + * @param {DOMEventTarget} target DOM element to register listener on. + * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. + * @param {function} callback Callback function. + * @return {object} Object with a `remove` method. + */ + listen: function listen(target, eventType, callback) { + if (target.addEventListener) { + target.addEventListener(eventType, callback, false); + return { + remove: function remove() { + target.removeEventListener(eventType, callback, false); + } + }; + } else if (target.attachEvent) { + target.attachEvent("on" + eventType, callback); + return { + remove: function remove() { + target.detachEvent("on" + eventType, callback); + } + }; + } + }, + + /** + * Listen to DOM events during the capture phase. + * + * @param {DOMEventTarget} target DOM element to register listener on. + * @param {string} eventType Event type, e.g. 'click' or 'mouseover'. + * @param {function} callback Callback function. + * @return {object} Object with a `remove` method. + */ + capture: function capture(target, eventType, callback) { + if (target.addEventListener) { + target.addEventListener(eventType, callback, true); + return { + remove: function remove() { + target.removeEventListener(eventType, callback, true); + } + }; + } else { + if (false) { + console.error( + "Attempted to listen to events during the capture phase on a " + + "browser that does not support the capture phase. Your application " + + "will not receive some events." + ); + } + return { + remove: emptyFunction + }; + } + }, + + registerDefault: function registerDefault() {} + }; + + module.exports = EventListener; + + /***/ + }, /* 11 */ /***/ function(module, exports) { "use strict"; @@ -7022,6 +6553,35 @@ /***/ }, /* 16 */ + /***/ function(module, exports) { + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + */ + + "use strict"; + + /** + * @param {DOMElement} node input/textarea to focus + */ + + function focusNode(node) { + // IE8 can throw "Can't move focus to the control because it is invisible, + // not enabled, or of a type that does not accept the focus." for all kinds of + // reasons that are too expensive and fragile to test. + try { + node.focus(); + } catch (e) {} + } + + module.exports = focusNode; + + /***/ + }, + /* 17 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -7031,11 +6591,11 @@ var _react2 = _interopRequireDefault(_react); - var _example_components = __webpack_require__(17); + var _example_components = __webpack_require__(18); var _example_components2 = _interopRequireDefault(_example_components); - var _hero_example = __webpack_require__(399); + var _hero_example = __webpack_require__(397); var _hero_example2 = _interopRequireDefault(_hero_example); @@ -7229,7 +6789,7 @@ /***/ }, - /* 17 */ + /* 18 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -7239,225 +6799,225 @@ var _react2 = _interopRequireDefault(_react); - var _highlight = __webpack_require__(18); + var _highlight = __webpack_require__(19); var _highlight2 = _interopRequireDefault(_highlight); - var _default = __webpack_require__(196); + var _default = __webpack_require__(197); var _default2 = _interopRequireDefault(_default); - var _code_example_component = __webpack_require__(349); + var _code_example_component = __webpack_require__(347); var _code_example_component2 = _interopRequireDefault( _code_example_component ); - var _custom_date_format = __webpack_require__(350); + var _custom_date_format = __webpack_require__(348); var _custom_date_format2 = _interopRequireDefault(_custom_date_format); - var _custom_class_name = __webpack_require__(351); + var _custom_class_name = __webpack_require__(349); var _custom_class_name2 = _interopRequireDefault(_custom_class_name); - var _custom_calendar_class_name = __webpack_require__(352); + var _custom_calendar_class_name = __webpack_require__(350); var _custom_calendar_class_name2 = _interopRequireDefault( _custom_calendar_class_name ); - var _custom_day_class_names = __webpack_require__(353); + var _custom_day_class_names = __webpack_require__(351); var _custom_day_class_names2 = _interopRequireDefault( _custom_day_class_names ); - var _placeholder_text = __webpack_require__(354); + var _placeholder_text = __webpack_require__(352); var _placeholder_text2 = _interopRequireDefault(_placeholder_text); - var _specific_date_range = __webpack_require__(355); + var _specific_date_range = __webpack_require__(353); var _specific_date_range2 = _interopRequireDefault(_specific_date_range); - var _locale = __webpack_require__(356); + var _locale = __webpack_require__(354); var _locale2 = _interopRequireDefault(_locale); - var _exclude_dates = __webpack_require__(357); + var _exclude_dates = __webpack_require__(355); var _exclude_dates2 = _interopRequireDefault(_exclude_dates); - var _highlight_dates = __webpack_require__(358); + var _highlight_dates = __webpack_require__(356); var _highlight_dates2 = _interopRequireDefault(_highlight_dates); - var _highlight_dates_with_ranges = __webpack_require__(359); + var _highlight_dates_with_ranges = __webpack_require__(357); var _highlight_dates_with_ranges2 = _interopRequireDefault( _highlight_dates_with_ranges ); - var _include_dates = __webpack_require__(360); + var _include_dates = __webpack_require__(358); var _include_dates2 = _interopRequireDefault(_include_dates); - var _filter_dates = __webpack_require__(361); + var _filter_dates = __webpack_require__(359); var _filter_dates2 = _interopRequireDefault(_filter_dates); - var _disabled = __webpack_require__(362); + var _disabled = __webpack_require__(360); var _disabled2 = _interopRequireDefault(_disabled); - var _disabled_keyboard_navigation = __webpack_require__(363); + var _disabled_keyboard_navigation = __webpack_require__(361); var _disabled_keyboard_navigation2 = _interopRequireDefault( _disabled_keyboard_navigation ); - var _clear_input = __webpack_require__(364); + var _clear_input = __webpack_require__(362); var _clear_input2 = _interopRequireDefault(_clear_input); - var _on_blur_callbacks = __webpack_require__(365); + var _on_blur_callbacks = __webpack_require__(363); var _on_blur_callbacks2 = _interopRequireDefault(_on_blur_callbacks); - var _configurePopper = __webpack_require__(366); + var _configurePopper = __webpack_require__(364); var _configurePopper2 = _interopRequireDefault(_configurePopper); - var _date_range = __webpack_require__(367); + var _date_range = __webpack_require__(365); var _date_range2 = _interopRequireDefault(_date_range); - var _date_range_with_show_disabled_navigation = __webpack_require__(368); + var _date_range_with_show_disabled_navigation = __webpack_require__(366); var _date_range_with_show_disabled_navigation2 = _interopRequireDefault( _date_range_with_show_disabled_navigation ); - var _tab_index = __webpack_require__(369); + var _tab_index = __webpack_require__(367); var _tab_index2 = _interopRequireDefault(_tab_index); - var _year_dropdown = __webpack_require__(370); + var _year_dropdown = __webpack_require__(368); var _year_dropdown2 = _interopRequireDefault(_year_dropdown); - var _month_dropdown = __webpack_require__(371); + var _month_dropdown = __webpack_require__(369); var _month_dropdown2 = _interopRequireDefault(_month_dropdown); - var _month_year_dropdown = __webpack_require__(372); + var _month_year_dropdown = __webpack_require__(370); var _month_year_dropdown2 = _interopRequireDefault(_month_year_dropdown); - var _month_dropdown_short = __webpack_require__(373); + var _month_dropdown_short = __webpack_require__(371); var _month_dropdown_short2 = _interopRequireDefault( _month_dropdown_short ); - var _year_select_dropdown = __webpack_require__(374); + var _year_select_dropdown = __webpack_require__(372); var _year_select_dropdown2 = _interopRequireDefault( _year_select_dropdown ); - var _today = __webpack_require__(375); + var _today = __webpack_require__(373); var _today2 = _interopRequireDefault(_today); - var _timezone_date = __webpack_require__(376); + var _timezone_date = __webpack_require__(374); var _timezone_date2 = _interopRequireDefault(_timezone_date); - var _inline = __webpack_require__(377); + var _inline = __webpack_require__(375); var _inline2 = _interopRequireDefault(_inline); - var _open_to_date = __webpack_require__(378); + var _open_to_date = __webpack_require__(376); var _open_to_date2 = _interopRequireDefault(_open_to_date); - var _fixed_calendar = __webpack_require__(379); + var _fixed_calendar = __webpack_require__(377); var _fixed_calendar2 = _interopRequireDefault(_fixed_calendar); - var _week_numbers = __webpack_require__(380); + var _week_numbers = __webpack_require__(378); var _week_numbers2 = _interopRequireDefault(_week_numbers); - var _custom_input = __webpack_require__(381); + var _custom_input = __webpack_require__(379); var _custom_input2 = _interopRequireDefault(_custom_input); - var _multi_month = __webpack_require__(382); + var _multi_month = __webpack_require__(380); var _multi_month2 = _interopRequireDefault(_multi_month); - var _multi_month_drp = __webpack_require__(383); + var _multi_month_drp = __webpack_require__(381); var _multi_month_drp2 = _interopRequireDefault(_multi_month_drp); - var _multi_month_inline = __webpack_require__(384); + var _multi_month_inline = __webpack_require__(382); var _multi_month_inline2 = _interopRequireDefault(_multi_month_inline); - var _children = __webpack_require__(385); + var _children = __webpack_require__(383); var _children2 = _interopRequireDefault(_children); - var _portal = __webpack_require__(386); + var _calendar_container = __webpack_require__(384); + + var _calendar_container2 = _interopRequireDefault(_calendar_container); + + var _portal = __webpack_require__(385); var _portal2 = _interopRequireDefault(_portal); - var _inline_portal = __webpack_require__(387); + var _inline_portal = __webpack_require__(386); var _inline_portal2 = _interopRequireDefault(_inline_portal); - var _raw_change = __webpack_require__(388); + var _raw_change = __webpack_require__(387); var _raw_change2 = _interopRequireDefault(_raw_change); - var _show_time = __webpack_require__(389); + var _show_time = __webpack_require__(388); var _show_time2 = _interopRequireDefault(_show_time); - var _show_time_only = __webpack_require__(390); + var _show_time_only = __webpack_require__(389); var _show_time_only2 = _interopRequireDefault(_show_time_only); - var _exclude_times = __webpack_require__(391); + var _exclude_times = __webpack_require__(390); var _exclude_times2 = _interopRequireDefault(_exclude_times); - var _exclude_time_period = __webpack_require__(392); + var _exclude_time_period = __webpack_require__(391); var _exclude_time_period2 = _interopRequireDefault(_exclude_time_period); - var _include_times = __webpack_require__(393); + var _include_times = __webpack_require__(392); var _include_times2 = _interopRequireDefault(_include_times); - var _inject_times = __webpack_require__(394); + var _inject_times = __webpack_require__(393); var _inject_times2 = _interopRequireDefault(_inject_times); - var _dont_close_onSelect = __webpack_require__(395); + var _dont_close_onSelect = __webpack_require__(394); var _dont_close_onSelect2 = _interopRequireDefault(_dont_close_onSelect); - var _open_by_default = __webpack_require__(396); - - var _open_by_default2 = _interopRequireDefault(_open_by_default); - - __webpack_require__(397); + __webpack_require__(395); - __webpack_require__(398); + __webpack_require__(396); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -7828,23 +7388,23 @@ ) }, { - title: "Get raw input value on change", + title: "Calendar container", component: _react2.default.createElement( - _raw_change2.default, + _calendar_container2.default, null ) }, { - title: "Don't hide calendar on date selection", + title: "Get raw input value on change", component: _react2.default.createElement( - _dont_close_onSelect2.default, + _raw_change2.default, null ) }, { - title: "Open calendar by default", + title: "Don't hide calendar on date selection", component: _react2.default.createElement( - _open_by_default2.default, + _dont_close_onSelect2.default, null ) } @@ -7912,192 +7472,192 @@ /***/ }, - /* 18 */ + /* 19 */ /***/ function(module, exports, __webpack_require__) { - var hljs = __webpack_require__(19); - - hljs.registerLanguage("1c", __webpack_require__(20)); - hljs.registerLanguage("abnf", __webpack_require__(21)); - hljs.registerLanguage("accesslog", __webpack_require__(22)); - hljs.registerLanguage("actionscript", __webpack_require__(23)); - hljs.registerLanguage("ada", __webpack_require__(24)); - hljs.registerLanguage("apache", __webpack_require__(25)); - hljs.registerLanguage("applescript", __webpack_require__(26)); - hljs.registerLanguage("cpp", __webpack_require__(27)); - hljs.registerLanguage("arduino", __webpack_require__(28)); - hljs.registerLanguage("armasm", __webpack_require__(29)); - hljs.registerLanguage("xml", __webpack_require__(30)); - hljs.registerLanguage("asciidoc", __webpack_require__(31)); - hljs.registerLanguage("aspectj", __webpack_require__(32)); - hljs.registerLanguage("autohotkey", __webpack_require__(33)); - hljs.registerLanguage("autoit", __webpack_require__(34)); - hljs.registerLanguage("avrasm", __webpack_require__(35)); - hljs.registerLanguage("awk", __webpack_require__(36)); - hljs.registerLanguage("axapta", __webpack_require__(37)); - hljs.registerLanguage("bash", __webpack_require__(38)); - hljs.registerLanguage("basic", __webpack_require__(39)); - hljs.registerLanguage("bnf", __webpack_require__(40)); - hljs.registerLanguage("brainfuck", __webpack_require__(41)); - hljs.registerLanguage("cal", __webpack_require__(42)); - hljs.registerLanguage("capnproto", __webpack_require__(43)); - hljs.registerLanguage("ceylon", __webpack_require__(44)); - hljs.registerLanguage("clean", __webpack_require__(45)); - hljs.registerLanguage("clojure", __webpack_require__(46)); - hljs.registerLanguage("clojure-repl", __webpack_require__(47)); - hljs.registerLanguage("cmake", __webpack_require__(48)); - hljs.registerLanguage("coffeescript", __webpack_require__(49)); - hljs.registerLanguage("coq", __webpack_require__(50)); - hljs.registerLanguage("cos", __webpack_require__(51)); - hljs.registerLanguage("crmsh", __webpack_require__(52)); - hljs.registerLanguage("crystal", __webpack_require__(53)); - hljs.registerLanguage("cs", __webpack_require__(54)); - hljs.registerLanguage("csp", __webpack_require__(55)); - hljs.registerLanguage("css", __webpack_require__(56)); - hljs.registerLanguage("d", __webpack_require__(57)); - hljs.registerLanguage("markdown", __webpack_require__(58)); - hljs.registerLanguage("dart", __webpack_require__(59)); - hljs.registerLanguage("delphi", __webpack_require__(60)); - hljs.registerLanguage("diff", __webpack_require__(61)); - hljs.registerLanguage("django", __webpack_require__(62)); - hljs.registerLanguage("dns", __webpack_require__(63)); - hljs.registerLanguage("dockerfile", __webpack_require__(64)); - hljs.registerLanguage("dos", __webpack_require__(65)); - hljs.registerLanguage("dsconfig", __webpack_require__(66)); - hljs.registerLanguage("dts", __webpack_require__(67)); - hljs.registerLanguage("dust", __webpack_require__(68)); - hljs.registerLanguage("ebnf", __webpack_require__(69)); - hljs.registerLanguage("elixir", __webpack_require__(70)); - hljs.registerLanguage("elm", __webpack_require__(71)); - hljs.registerLanguage("ruby", __webpack_require__(72)); - hljs.registerLanguage("erb", __webpack_require__(73)); - hljs.registerLanguage("erlang-repl", __webpack_require__(74)); - hljs.registerLanguage("erlang", __webpack_require__(75)); - hljs.registerLanguage("excel", __webpack_require__(76)); - hljs.registerLanguage("fix", __webpack_require__(77)); - hljs.registerLanguage("flix", __webpack_require__(78)); - hljs.registerLanguage("fortran", __webpack_require__(79)); - hljs.registerLanguage("fsharp", __webpack_require__(80)); - hljs.registerLanguage("gams", __webpack_require__(81)); - hljs.registerLanguage("gauss", __webpack_require__(82)); - hljs.registerLanguage("gcode", __webpack_require__(83)); - hljs.registerLanguage("gherkin", __webpack_require__(84)); - hljs.registerLanguage("glsl", __webpack_require__(85)); - hljs.registerLanguage("go", __webpack_require__(86)); - hljs.registerLanguage("golo", __webpack_require__(87)); - hljs.registerLanguage("gradle", __webpack_require__(88)); - hljs.registerLanguage("groovy", __webpack_require__(89)); - hljs.registerLanguage("haml", __webpack_require__(90)); - hljs.registerLanguage("handlebars", __webpack_require__(91)); - hljs.registerLanguage("haskell", __webpack_require__(92)); - hljs.registerLanguage("haxe", __webpack_require__(93)); - hljs.registerLanguage("hsp", __webpack_require__(94)); - hljs.registerLanguage("htmlbars", __webpack_require__(95)); - hljs.registerLanguage("http", __webpack_require__(96)); - hljs.registerLanguage("hy", __webpack_require__(97)); - hljs.registerLanguage("inform7", __webpack_require__(98)); - hljs.registerLanguage("ini", __webpack_require__(99)); - hljs.registerLanguage("irpf90", __webpack_require__(100)); - hljs.registerLanguage("java", __webpack_require__(101)); - hljs.registerLanguage("javascript", __webpack_require__(102)); - hljs.registerLanguage("jboss-cli", __webpack_require__(103)); - hljs.registerLanguage("json", __webpack_require__(104)); - hljs.registerLanguage("julia", __webpack_require__(105)); - hljs.registerLanguage("julia-repl", __webpack_require__(106)); - hljs.registerLanguage("kotlin", __webpack_require__(107)); - hljs.registerLanguage("lasso", __webpack_require__(108)); - hljs.registerLanguage("ldif", __webpack_require__(109)); - hljs.registerLanguage("leaf", __webpack_require__(110)); - hljs.registerLanguage("less", __webpack_require__(111)); - hljs.registerLanguage("lisp", __webpack_require__(112)); - hljs.registerLanguage("livecodeserver", __webpack_require__(113)); - hljs.registerLanguage("livescript", __webpack_require__(114)); - hljs.registerLanguage("llvm", __webpack_require__(115)); - hljs.registerLanguage("lsl", __webpack_require__(116)); - hljs.registerLanguage("lua", __webpack_require__(117)); - hljs.registerLanguage("makefile", __webpack_require__(118)); - hljs.registerLanguage("mathematica", __webpack_require__(119)); - hljs.registerLanguage("matlab", __webpack_require__(120)); - hljs.registerLanguage("maxima", __webpack_require__(121)); - hljs.registerLanguage("mel", __webpack_require__(122)); - hljs.registerLanguage("mercury", __webpack_require__(123)); - hljs.registerLanguage("mipsasm", __webpack_require__(124)); - hljs.registerLanguage("mizar", __webpack_require__(125)); - hljs.registerLanguage("perl", __webpack_require__(126)); - hljs.registerLanguage("mojolicious", __webpack_require__(127)); - hljs.registerLanguage("monkey", __webpack_require__(128)); - hljs.registerLanguage("moonscript", __webpack_require__(129)); - hljs.registerLanguage("n1ql", __webpack_require__(130)); - hljs.registerLanguage("nginx", __webpack_require__(131)); - hljs.registerLanguage("nimrod", __webpack_require__(132)); - hljs.registerLanguage("nix", __webpack_require__(133)); - hljs.registerLanguage("nsis", __webpack_require__(134)); - hljs.registerLanguage("objectivec", __webpack_require__(135)); - hljs.registerLanguage("ocaml", __webpack_require__(136)); - hljs.registerLanguage("openscad", __webpack_require__(137)); - hljs.registerLanguage("oxygene", __webpack_require__(138)); - hljs.registerLanguage("parser3", __webpack_require__(139)); - hljs.registerLanguage("pf", __webpack_require__(140)); - hljs.registerLanguage("php", __webpack_require__(141)); - hljs.registerLanguage("pony", __webpack_require__(142)); - hljs.registerLanguage("powershell", __webpack_require__(143)); - hljs.registerLanguage("processing", __webpack_require__(144)); - hljs.registerLanguage("profile", __webpack_require__(145)); - hljs.registerLanguage("prolog", __webpack_require__(146)); - hljs.registerLanguage("protobuf", __webpack_require__(147)); - hljs.registerLanguage("puppet", __webpack_require__(148)); - hljs.registerLanguage("purebasic", __webpack_require__(149)); - hljs.registerLanguage("python", __webpack_require__(150)); - hljs.registerLanguage("q", __webpack_require__(151)); - hljs.registerLanguage("qml", __webpack_require__(152)); - hljs.registerLanguage("r", __webpack_require__(153)); - hljs.registerLanguage("rib", __webpack_require__(154)); - hljs.registerLanguage("roboconf", __webpack_require__(155)); - hljs.registerLanguage("routeros", __webpack_require__(156)); - hljs.registerLanguage("rsl", __webpack_require__(157)); - hljs.registerLanguage("ruleslanguage", __webpack_require__(158)); - hljs.registerLanguage("rust", __webpack_require__(159)); - hljs.registerLanguage("scala", __webpack_require__(160)); - hljs.registerLanguage("scheme", __webpack_require__(161)); - hljs.registerLanguage("scilab", __webpack_require__(162)); - hljs.registerLanguage("scss", __webpack_require__(163)); - hljs.registerLanguage("shell", __webpack_require__(164)); - hljs.registerLanguage("smali", __webpack_require__(165)); - hljs.registerLanguage("smalltalk", __webpack_require__(166)); - hljs.registerLanguage("sml", __webpack_require__(167)); - hljs.registerLanguage("sqf", __webpack_require__(168)); - hljs.registerLanguage("sql", __webpack_require__(169)); - hljs.registerLanguage("stan", __webpack_require__(170)); - hljs.registerLanguage("stata", __webpack_require__(171)); - hljs.registerLanguage("step21", __webpack_require__(172)); - hljs.registerLanguage("stylus", __webpack_require__(173)); - hljs.registerLanguage("subunit", __webpack_require__(174)); - hljs.registerLanguage("swift", __webpack_require__(175)); - hljs.registerLanguage("taggerscript", __webpack_require__(176)); - hljs.registerLanguage("yaml", __webpack_require__(177)); - hljs.registerLanguage("tap", __webpack_require__(178)); - hljs.registerLanguage("tcl", __webpack_require__(179)); - hljs.registerLanguage("tex", __webpack_require__(180)); - hljs.registerLanguage("thrift", __webpack_require__(181)); - hljs.registerLanguage("tp", __webpack_require__(182)); - hljs.registerLanguage("twig", __webpack_require__(183)); - hljs.registerLanguage("typescript", __webpack_require__(184)); - hljs.registerLanguage("vala", __webpack_require__(185)); - hljs.registerLanguage("vbnet", __webpack_require__(186)); - hljs.registerLanguage("vbscript", __webpack_require__(187)); - hljs.registerLanguage("vbscript-html", __webpack_require__(188)); - hljs.registerLanguage("verilog", __webpack_require__(189)); - hljs.registerLanguage("vhdl", __webpack_require__(190)); - hljs.registerLanguage("vim", __webpack_require__(191)); - hljs.registerLanguage("x86asm", __webpack_require__(192)); - hljs.registerLanguage("xl", __webpack_require__(193)); - hljs.registerLanguage("xquery", __webpack_require__(194)); - hljs.registerLanguage("zephir", __webpack_require__(195)); + var hljs = __webpack_require__(20); + + hljs.registerLanguage("1c", __webpack_require__(21)); + hljs.registerLanguage("abnf", __webpack_require__(22)); + hljs.registerLanguage("accesslog", __webpack_require__(23)); + hljs.registerLanguage("actionscript", __webpack_require__(24)); + hljs.registerLanguage("ada", __webpack_require__(25)); + hljs.registerLanguage("apache", __webpack_require__(26)); + hljs.registerLanguage("applescript", __webpack_require__(27)); + hljs.registerLanguage("cpp", __webpack_require__(28)); + hljs.registerLanguage("arduino", __webpack_require__(29)); + hljs.registerLanguage("armasm", __webpack_require__(30)); + hljs.registerLanguage("xml", __webpack_require__(31)); + hljs.registerLanguage("asciidoc", __webpack_require__(32)); + hljs.registerLanguage("aspectj", __webpack_require__(33)); + hljs.registerLanguage("autohotkey", __webpack_require__(34)); + hljs.registerLanguage("autoit", __webpack_require__(35)); + hljs.registerLanguage("avrasm", __webpack_require__(36)); + hljs.registerLanguage("awk", __webpack_require__(37)); + hljs.registerLanguage("axapta", __webpack_require__(38)); + hljs.registerLanguage("bash", __webpack_require__(39)); + hljs.registerLanguage("basic", __webpack_require__(40)); + hljs.registerLanguage("bnf", __webpack_require__(41)); + hljs.registerLanguage("brainfuck", __webpack_require__(42)); + hljs.registerLanguage("cal", __webpack_require__(43)); + hljs.registerLanguage("capnproto", __webpack_require__(44)); + hljs.registerLanguage("ceylon", __webpack_require__(45)); + hljs.registerLanguage("clean", __webpack_require__(46)); + hljs.registerLanguage("clojure", __webpack_require__(47)); + hljs.registerLanguage("clojure-repl", __webpack_require__(48)); + hljs.registerLanguage("cmake", __webpack_require__(49)); + hljs.registerLanguage("coffeescript", __webpack_require__(50)); + hljs.registerLanguage("coq", __webpack_require__(51)); + hljs.registerLanguage("cos", __webpack_require__(52)); + hljs.registerLanguage("crmsh", __webpack_require__(53)); + hljs.registerLanguage("crystal", __webpack_require__(54)); + hljs.registerLanguage("cs", __webpack_require__(55)); + hljs.registerLanguage("csp", __webpack_require__(56)); + hljs.registerLanguage("css", __webpack_require__(57)); + hljs.registerLanguage("d", __webpack_require__(58)); + hljs.registerLanguage("markdown", __webpack_require__(59)); + hljs.registerLanguage("dart", __webpack_require__(60)); + hljs.registerLanguage("delphi", __webpack_require__(61)); + hljs.registerLanguage("diff", __webpack_require__(62)); + hljs.registerLanguage("django", __webpack_require__(63)); + hljs.registerLanguage("dns", __webpack_require__(64)); + hljs.registerLanguage("dockerfile", __webpack_require__(65)); + hljs.registerLanguage("dos", __webpack_require__(66)); + hljs.registerLanguage("dsconfig", __webpack_require__(67)); + hljs.registerLanguage("dts", __webpack_require__(68)); + hljs.registerLanguage("dust", __webpack_require__(69)); + hljs.registerLanguage("ebnf", __webpack_require__(70)); + hljs.registerLanguage("elixir", __webpack_require__(71)); + hljs.registerLanguage("elm", __webpack_require__(72)); + hljs.registerLanguage("ruby", __webpack_require__(73)); + hljs.registerLanguage("erb", __webpack_require__(74)); + hljs.registerLanguage("erlang-repl", __webpack_require__(75)); + hljs.registerLanguage("erlang", __webpack_require__(76)); + hljs.registerLanguage("excel", __webpack_require__(77)); + hljs.registerLanguage("fix", __webpack_require__(78)); + hljs.registerLanguage("flix", __webpack_require__(79)); + hljs.registerLanguage("fortran", __webpack_require__(80)); + hljs.registerLanguage("fsharp", __webpack_require__(81)); + hljs.registerLanguage("gams", __webpack_require__(82)); + hljs.registerLanguage("gauss", __webpack_require__(83)); + hljs.registerLanguage("gcode", __webpack_require__(84)); + hljs.registerLanguage("gherkin", __webpack_require__(85)); + hljs.registerLanguage("glsl", __webpack_require__(86)); + hljs.registerLanguage("go", __webpack_require__(87)); + hljs.registerLanguage("golo", __webpack_require__(88)); + hljs.registerLanguage("gradle", __webpack_require__(89)); + hljs.registerLanguage("groovy", __webpack_require__(90)); + hljs.registerLanguage("haml", __webpack_require__(91)); + hljs.registerLanguage("handlebars", __webpack_require__(92)); + hljs.registerLanguage("haskell", __webpack_require__(93)); + hljs.registerLanguage("haxe", __webpack_require__(94)); + hljs.registerLanguage("hsp", __webpack_require__(95)); + hljs.registerLanguage("htmlbars", __webpack_require__(96)); + hljs.registerLanguage("http", __webpack_require__(97)); + hljs.registerLanguage("hy", __webpack_require__(98)); + hljs.registerLanguage("inform7", __webpack_require__(99)); + hljs.registerLanguage("ini", __webpack_require__(100)); + hljs.registerLanguage("irpf90", __webpack_require__(101)); + hljs.registerLanguage("java", __webpack_require__(102)); + hljs.registerLanguage("javascript", __webpack_require__(103)); + hljs.registerLanguage("jboss-cli", __webpack_require__(104)); + hljs.registerLanguage("json", __webpack_require__(105)); + hljs.registerLanguage("julia", __webpack_require__(106)); + hljs.registerLanguage("julia-repl", __webpack_require__(107)); + hljs.registerLanguage("kotlin", __webpack_require__(108)); + hljs.registerLanguage("lasso", __webpack_require__(109)); + hljs.registerLanguage("ldif", __webpack_require__(110)); + hljs.registerLanguage("leaf", __webpack_require__(111)); + hljs.registerLanguage("less", __webpack_require__(112)); + hljs.registerLanguage("lisp", __webpack_require__(113)); + hljs.registerLanguage("livecodeserver", __webpack_require__(114)); + hljs.registerLanguage("livescript", __webpack_require__(115)); + hljs.registerLanguage("llvm", __webpack_require__(116)); + hljs.registerLanguage("lsl", __webpack_require__(117)); + hljs.registerLanguage("lua", __webpack_require__(118)); + hljs.registerLanguage("makefile", __webpack_require__(119)); + hljs.registerLanguage("mathematica", __webpack_require__(120)); + hljs.registerLanguage("matlab", __webpack_require__(121)); + hljs.registerLanguage("maxima", __webpack_require__(122)); + hljs.registerLanguage("mel", __webpack_require__(123)); + hljs.registerLanguage("mercury", __webpack_require__(124)); + hljs.registerLanguage("mipsasm", __webpack_require__(125)); + hljs.registerLanguage("mizar", __webpack_require__(126)); + hljs.registerLanguage("perl", __webpack_require__(127)); + hljs.registerLanguage("mojolicious", __webpack_require__(128)); + hljs.registerLanguage("monkey", __webpack_require__(129)); + hljs.registerLanguage("moonscript", __webpack_require__(130)); + hljs.registerLanguage("n1ql", __webpack_require__(131)); + hljs.registerLanguage("nginx", __webpack_require__(132)); + hljs.registerLanguage("nimrod", __webpack_require__(133)); + hljs.registerLanguage("nix", __webpack_require__(134)); + hljs.registerLanguage("nsis", __webpack_require__(135)); + hljs.registerLanguage("objectivec", __webpack_require__(136)); + hljs.registerLanguage("ocaml", __webpack_require__(137)); + hljs.registerLanguage("openscad", __webpack_require__(138)); + hljs.registerLanguage("oxygene", __webpack_require__(139)); + hljs.registerLanguage("parser3", __webpack_require__(140)); + hljs.registerLanguage("pf", __webpack_require__(141)); + hljs.registerLanguage("php", __webpack_require__(142)); + hljs.registerLanguage("pony", __webpack_require__(143)); + hljs.registerLanguage("powershell", __webpack_require__(144)); + hljs.registerLanguage("processing", __webpack_require__(145)); + hljs.registerLanguage("profile", __webpack_require__(146)); + hljs.registerLanguage("prolog", __webpack_require__(147)); + hljs.registerLanguage("protobuf", __webpack_require__(148)); + hljs.registerLanguage("puppet", __webpack_require__(149)); + hljs.registerLanguage("purebasic", __webpack_require__(150)); + hljs.registerLanguage("python", __webpack_require__(151)); + hljs.registerLanguage("q", __webpack_require__(152)); + hljs.registerLanguage("qml", __webpack_require__(153)); + hljs.registerLanguage("r", __webpack_require__(154)); + hljs.registerLanguage("rib", __webpack_require__(155)); + hljs.registerLanguage("roboconf", __webpack_require__(156)); + hljs.registerLanguage("routeros", __webpack_require__(157)); + hljs.registerLanguage("rsl", __webpack_require__(158)); + hljs.registerLanguage("ruleslanguage", __webpack_require__(159)); + hljs.registerLanguage("rust", __webpack_require__(160)); + hljs.registerLanguage("scala", __webpack_require__(161)); + hljs.registerLanguage("scheme", __webpack_require__(162)); + hljs.registerLanguage("scilab", __webpack_require__(163)); + hljs.registerLanguage("scss", __webpack_require__(164)); + hljs.registerLanguage("shell", __webpack_require__(165)); + hljs.registerLanguage("smali", __webpack_require__(166)); + hljs.registerLanguage("smalltalk", __webpack_require__(167)); + hljs.registerLanguage("sml", __webpack_require__(168)); + hljs.registerLanguage("sqf", __webpack_require__(169)); + hljs.registerLanguage("sql", __webpack_require__(170)); + hljs.registerLanguage("stan", __webpack_require__(171)); + hljs.registerLanguage("stata", __webpack_require__(172)); + hljs.registerLanguage("step21", __webpack_require__(173)); + hljs.registerLanguage("stylus", __webpack_require__(174)); + hljs.registerLanguage("subunit", __webpack_require__(175)); + hljs.registerLanguage("swift", __webpack_require__(176)); + hljs.registerLanguage("taggerscript", __webpack_require__(177)); + hljs.registerLanguage("yaml", __webpack_require__(178)); + hljs.registerLanguage("tap", __webpack_require__(179)); + hljs.registerLanguage("tcl", __webpack_require__(180)); + hljs.registerLanguage("tex", __webpack_require__(181)); + hljs.registerLanguage("thrift", __webpack_require__(182)); + hljs.registerLanguage("tp", __webpack_require__(183)); + hljs.registerLanguage("twig", __webpack_require__(184)); + hljs.registerLanguage("typescript", __webpack_require__(185)); + hljs.registerLanguage("vala", __webpack_require__(186)); + hljs.registerLanguage("vbnet", __webpack_require__(187)); + hljs.registerLanguage("vbscript", __webpack_require__(188)); + hljs.registerLanguage("vbscript-html", __webpack_require__(189)); + hljs.registerLanguage("verilog", __webpack_require__(190)); + hljs.registerLanguage("vhdl", __webpack_require__(191)); + hljs.registerLanguage("vim", __webpack_require__(192)); + hljs.registerLanguage("x86asm", __webpack_require__(193)); + hljs.registerLanguage("xl", __webpack_require__(194)); + hljs.registerLanguage("xquery", __webpack_require__(195)); + hljs.registerLanguage("zephir", __webpack_require__(196)); module.exports = hljs; /***/ }, - /* 19 */ + /* 20 */ /***/ function(module, exports, __webpack_require__) { /* Syntax highlighting with language autodetection. @@ -9006,7 +8566,7 @@ /***/ }, - /* 20 */ + /* 21 */ /***/ function(module, exports) { module.exports = function(hljs) { // общий паттерн для определения идентификаторов @@ -9519,7 +9079,7 @@ /***/ }, - /* 21 */ + /* 22 */ /***/ function(module, exports) { module.exports = function(hljs) { var regexes = { @@ -9594,7 +9154,7 @@ /***/ }, - /* 22 */ + /* 23 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -9640,7 +9200,7 @@ /***/ }, - /* 23 */ + /* 24 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENT_RE = "[a-zA-Z_$][a-zA-Z0-9_$]*"; @@ -9727,7 +9287,7 @@ /***/ }, - /* 24 */ + /* 25 */ /***/ function(module, exports) { module.exports = // We try to support full Ada2012 // @@ -9922,7 +9482,7 @@ /***/ }, - /* 25 */ + /* 26 */ /***/ function(module, exports) { module.exports = function(hljs) { var NUMBER = { className: "number", begin: "[\\$%]\\d+" }; @@ -9974,7 +9534,7 @@ /***/ }, - /* 26 */ + /* 27 */ /***/ function(module, exports) { module.exports = function(hljs) { var STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: "" }); @@ -10057,7 +9617,7 @@ /***/ }, - /* 27 */ + /* 28 */ /***/ function(module, exports) { module.exports = function(hljs) { var CPP_PRIMITIVE_TYPES = { @@ -10257,7 +9817,7 @@ /***/ }, - /* 28 */ + /* 29 */ /***/ function(module, exports) { module.exports = function(hljs) { var CPP = hljs.getLanguage("cpp").exports; @@ -10361,7 +9921,7 @@ /***/ }, - /* 29 */ + /* 30 */ /***/ function(module, exports) { module.exports = function(hljs) { //local labels: %?[FB]?[AT]?\d{1,2}\w+ @@ -10456,7 +10016,7 @@ /***/ }, - /* 30 */ + /* 31 */ /***/ function(module, exports) { module.exports = function(hljs) { var XML_IDENT_RE = "[A-Za-z0-9\\._:-]+"; @@ -10578,7 +10138,7 @@ /***/ }, - /* 31 */ + /* 32 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -10764,7 +10324,7 @@ /***/ }, - /* 32 */ + /* 33 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = @@ -10912,7 +10472,7 @@ /***/ }, - /* 33 */ + /* 34 */ /***/ function(module, exports) { module.exports = function(hljs) { var BACKTICK_ESCAPE = { @@ -10980,7 +10540,7 @@ /***/ }, - /* 34 */ + /* 35 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = @@ -11130,7 +10690,7 @@ /***/ }, - /* 35 */ + /* 36 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11194,7 +10754,7 @@ /***/ }, - /* 36 */ + /* 37 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { @@ -11255,7 +10815,7 @@ /***/ }, - /* 37 */ + /* 38 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11294,7 +10854,7 @@ /***/ }, - /* 38 */ + /* 39 */ /***/ function(module, exports) { module.exports = function(hljs) { var VAR = { @@ -11373,7 +10933,7 @@ /***/ }, - /* 39 */ + /* 40 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11428,7 +10988,7 @@ /***/ }, - /* 40 */ + /* 41 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11463,7 +11023,7 @@ /***/ }, - /* 41 */ + /* 42 */ /***/ function(module, exports) { module.exports = function(hljs) { var LITERAL = { @@ -11505,7 +11065,7 @@ /***/ }, - /* 42 */ + /* 43 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = @@ -11585,7 +11145,7 @@ /***/ }, - /* 43 */ + /* 44 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11639,7 +11199,7 @@ /***/ }, - /* 44 */ + /* 45 */ /***/ function(module, exports) { module.exports = function(hljs) { // 2.3. Identifiers and keywords @@ -11714,7 +11274,7 @@ /***/ }, - /* 45 */ + /* 46 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11741,7 +11301,7 @@ /***/ }, - /* 46 */ + /* 47 */ /***/ function(module, exports) { module.exports = function(hljs) { var keywords = { @@ -11862,7 +11422,7 @@ /***/ }, - /* 47 */ + /* 48 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11881,7 +11441,7 @@ /***/ }, - /* 48 */ + /* 49 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -11924,7 +11484,7 @@ /***/ }, - /* 49 */ + /* 50 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -12092,7 +11652,7 @@ /***/ }, - /* 50 */ + /* 51 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -12163,7 +11723,7 @@ /***/ }, - /* 51 */ + /* 52 */ /***/ function(module, exports) { module.exports = function cos(hljs) { var STRINGS = { @@ -12304,7 +11864,7 @@ /***/ }, - /* 52 */ + /* 53 */ /***/ function(module, exports) { module.exports = function(hljs) { var RESOURCES = "primitive rsc_template"; @@ -12405,7 +11965,7 @@ /***/ }, - /* 53 */ + /* 54 */ /***/ function(module, exports) { module.exports = function(hljs) { var NUM_SUFFIX = "(_[uif](8|16|32|64))?"; @@ -12650,7 +12210,7 @@ /***/ }, - /* 54 */ + /* 55 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -12862,7 +12422,7 @@ /***/ }, - /* 55 */ + /* 56 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -12892,7 +12452,7 @@ /***/ }, - /* 56 */ + /* 57 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENT_RE = "[a-zA-Z-][a-zA-Z0-9_-]*"; @@ -13017,7 +12577,7 @@ /***/ }, - /* 57 */ + /* 58 */ /***/ function(module, exports) { module.exports /** * Known issues: @@ -13293,7 +12853,7 @@ /***/ }, - /* 58 */ + /* 59 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -13419,7 +12979,7 @@ /***/ }, - /* 59 */ + /* 60 */ /***/ function(module, exports) { module.exports = function(hljs) { var SUBST = { @@ -13527,7 +13087,7 @@ /***/ }, - /* 60 */ + /* 61 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = @@ -13613,7 +13173,7 @@ /***/ }, - /* 61 */ + /* 62 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -13660,7 +13220,7 @@ /***/ }, - /* 62 */ + /* 63 */ /***/ function(module, exports) { module.exports = function(hljs) { var FILTER = { @@ -13727,7 +13287,7 @@ /***/ }, - /* 63 */ + /* 64 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -13762,7 +13322,7 @@ /***/ }, - /* 64 */ + /* 65 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -13789,7 +13349,7 @@ /***/ }, - /* 65 */ + /* 66 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = hljs.COMMENT(/^\s*@?rem\b/, /$/, { @@ -13847,7 +13407,7 @@ /***/ }, - /* 66 */ + /* 67 */ /***/ function(module, exports) { module.exports = function(hljs) { var QUOTED_PROPERTY = { @@ -13908,7 +13468,7 @@ /***/ }, - /* 67 */ + /* 68 */ /***/ function(module, exports) { module.exports = function(hljs) { var STRINGS = { @@ -14041,7 +13601,7 @@ /***/ }, - /* 68 */ + /* 69 */ /***/ function(module, exports) { module.exports = function(hljs) { var EXPRESSION_KEYWORDS = @@ -14081,7 +13641,7 @@ /***/ }, - /* 69 */ + /* 70 */ /***/ function(module, exports) { module.exports = function(hljs) { var commentMode = hljs.COMMENT(/\(\*/, /\*\)/); @@ -14116,7 +13676,7 @@ /***/ }, - /* 70 */ + /* 71 */ /***/ function(module, exports) { module.exports = function(hljs) { var ELIXIR_IDENT_RE = "[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?"; @@ -14227,7 +13787,7 @@ /***/ }, - /* 71 */ + /* 72 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = { @@ -14321,7 +13881,7 @@ /***/ }, - /* 72 */ + /* 73 */ /***/ function(module, exports) { module.exports = function(hljs) { var RUBY_METHOD_RE = @@ -14519,7 +14079,7 @@ /***/ }, - /* 73 */ + /* 74 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -14539,7 +14099,7 @@ /***/ }, - /* 74 */ + /* 75 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -14590,7 +14150,7 @@ /***/ }, - /* 75 */ + /* 76 */ /***/ function(module, exports) { module.exports = function(hljs) { var BASIC_ATOM_RE = "[a-z'][a-zA-Z0-9_']*"; @@ -14753,7 +14313,7 @@ /***/ }, - /* 76 */ + /* 77 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -14809,7 +14369,7 @@ /***/ }, - /* 77 */ + /* 78 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -14844,7 +14404,7 @@ /***/ }, - /* 78 */ + /* 79 */ /***/ function(module, exports) { module.exports = function(hljs) { var CHAR = { @@ -14894,7 +14454,7 @@ /***/ }, - /* 79 */ + /* 80 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAMS = { @@ -14979,7 +14539,7 @@ /***/ }, - /* 80 */ + /* 81 */ /***/ function(module, exports) { module.exports = function(hljs) { var TYPEPARAM = { @@ -15043,7 +14603,7 @@ /***/ }, - /* 81 */ + /* 82 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -15201,7 +14761,7 @@ /***/ }, - /* 82 */ + /* 83 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -15443,7 +15003,7 @@ /***/ }, - /* 83 */ + /* 84 */ /***/ function(module, exports) { module.exports = function(hljs) { var GCODE_IDENT_RE = "[A-Z_][A-Z0-9_.]*"; @@ -15517,7 +15077,7 @@ /***/ }, - /* 84 */ + /* 85 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -15562,7 +15122,7 @@ /***/ }, - /* 85 */ + /* 86 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -15684,7 +15244,7 @@ /***/ }, - /* 86 */ + /* 87 */ /***/ function(module, exports) { module.exports = function(hljs) { var GO_KEYWORDS = { @@ -15744,7 +15304,7 @@ /***/ }, - /* 87 */ + /* 88 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -15771,7 +15331,7 @@ /***/ }, - /* 88 */ + /* 89 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -15809,7 +15369,7 @@ /***/ }, - /* 89 */ + /* 90 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -15911,7 +15471,7 @@ /***/ }, - /* 90 */ + /* 91 */ /***/ function(module, exports) { module.exports = function(hljs) { // TODO support filter tags like :javascript, support inline HTML return { @@ -16018,7 +15578,7 @@ /***/ }, - /* 91 */ + /* 92 */ /***/ function(module, exports) { module.exports = function(hljs) { var BUILT_INS = { @@ -16060,7 +15620,7 @@ /***/ }, - /* 92 */ + /* 93 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = { @@ -16197,7 +15757,7 @@ /***/ }, - /* 93 */ + /* 94 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENT_RE = "[a-zA-Z_$][a-zA-Z0-9_$]*"; @@ -16347,7 +15907,7 @@ /***/ }, - /* 94 */ + /* 95 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -16405,7 +15965,7 @@ /***/ }, - /* 95 */ + /* 96 */ /***/ function(module, exports) { module.exports = function(hljs) { var BUILT_INS = @@ -16479,7 +16039,7 @@ /***/ }, - /* 96 */ + /* 97 */ /***/ function(module, exports) { module.exports = function(hljs) { var VERSION = "HTTP/[0-9\\.]+"; @@ -16531,7 +16091,7 @@ /***/ }, - /* 97 */ + /* 98 */ /***/ function(module, exports) { module.exports = function(hljs) { var keywords = { @@ -16660,7 +16220,7 @@ /***/ }, - /* 98 */ + /* 99 */ /***/ function(module, exports) { module.exports = function(hljs) { var START_BRACKET = "\\["; @@ -16725,7 +16285,7 @@ /***/ }, - /* 99 */ + /* 100 */ /***/ function(module, exports) { module.exports = function(hljs) { var STRING = { @@ -16805,7 +16365,7 @@ /***/ }, - /* 100 */ + /* 101 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAMS = { @@ -16895,7 +16455,7 @@ /***/ }, - /* 101 */ + /* 102 */ /***/ function(module, exports) { module.exports = function(hljs) { var JAVA_IDENT_RE = @@ -17024,7 +16584,7 @@ /***/ }, - /* 102 */ + /* 103 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*"; @@ -17216,7 +16776,7 @@ /***/ }, - /* 103 */ + /* 104 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAM = { @@ -17269,7 +16829,7 @@ /***/ }, - /* 104 */ + /* 105 */ /***/ function(module, exports) { module.exports = function(hljs) { var LITERALS = { literal: "true false null" }; @@ -17312,7 +16872,7 @@ /***/ }, - /* 105 */ + /* 106 */ /***/ function(module, exports) { module.exports = function(hljs) { // Since there are numerous special names in Julia, it is too much trouble @@ -17490,7 +17050,7 @@ /***/ }, - /* 106 */ + /* 107 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -17518,7 +17078,7 @@ /***/ }, - /* 107 */ + /* 108 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -17721,7 +17281,7 @@ /***/ }, - /* 108 */ + /* 109 */ /***/ function(module, exports) { module.exports = function(hljs) { var LASSO_IDENT_RE = "[a-zA-Z_][\\w.]*"; @@ -17895,7 +17455,7 @@ /***/ }, - /* 109 */ + /* 110 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -17927,7 +17487,7 @@ /***/ }, - /* 110 */ + /* 111 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -17972,7 +17532,7 @@ /***/ }, - /* 111 */ + /* 112 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENT_RE = "[\\w-]+"; // yes, Less identifiers may begin with a digit @@ -18158,7 +17718,7 @@ /***/ }, - /* 112 */ + /* 113 */ /***/ function(module, exports) { module.exports = function(hljs) { var LISP_IDENT_RE = @@ -18286,7 +17846,7 @@ /***/ }, - /* 113 */ + /* 114 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { @@ -18449,7 +18009,7 @@ /***/ }, - /* 114 */ + /* 115 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -18628,7 +18188,7 @@ /***/ }, - /* 115 */ + /* 116 */ /***/ function(module, exports) { module.exports = function(hljs) { var identifier = "([-a-zA-Z$._][\\w\\-$.]*)"; @@ -18719,7 +18279,7 @@ /***/ }, - /* 116 */ + /* 117 */ /***/ function(module, exports) { module.exports = function(hljs) { var LSL_STRING_ESCAPE_CHARS = { @@ -18805,7 +18365,7 @@ /***/ }, - /* 117 */ + /* 118 */ /***/ function(module, exports) { module.exports = function(hljs) { var OPENING_LONG_BRACKET = "\\[=*\\["; @@ -18878,7 +18438,7 @@ /***/ }, - /* 118 */ + /* 119 */ /***/ function(module, exports) { module.exports = function(hljs) { /* Variables: simple (eg $(var)) and special (eg $@) */ @@ -18963,7 +18523,7 @@ /***/ }, - /* 119 */ + /* 120 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -19028,7 +18588,7 @@ /***/ }, - /* 120 */ + /* 121 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMON_CONTAINS = [ @@ -19124,7 +18684,7 @@ /***/ }, - /* 121 */ + /* 122 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = @@ -19537,7 +19097,7 @@ /***/ }, - /* 122 */ + /* 123 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -19768,7 +19328,7 @@ /***/ }, - /* 123 */ + /* 124 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -19852,7 +19412,7 @@ /***/ }, - /* 124 */ + /* 125 */ /***/ function(module, exports) { module.exports = function(hljs) { //local labels: %?[FB]?[AT]?\d{1,2}\w+ @@ -19944,7 +19504,7 @@ /***/ }, - /* 125 */ + /* 126 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -19965,7 +19525,7 @@ /***/ }, - /* 126 */ + /* 127 */ /***/ function(module, exports) { module.exports = function(hljs) { var PERL_KEYWORDS = @@ -20142,7 +19702,7 @@ /***/ }, - /* 127 */ + /* 128 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -20172,7 +19732,7 @@ /***/ }, - /* 128 */ + /* 129 */ /***/ function(module, exports) { module.exports = function(hljs) { var NUMBER = { @@ -20252,7 +19812,7 @@ /***/ }, - /* 129 */ + /* 130 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -20379,7 +19939,7 @@ /***/ }, - /* 130 */ + /* 131 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -20455,7 +20015,7 @@ /***/ }, - /* 131 */ + /* 132 */ /***/ function(module, exports) { module.exports = function(hljs) { var VAR = { @@ -20556,7 +20116,7 @@ /***/ }, - /* 132 */ + /* 133 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -20620,7 +20180,7 @@ /***/ }, - /* 133 */ + /* 134 */ /***/ function(module, exports) { module.exports = function(hljs) { var NIX_KEYWORDS = { @@ -20669,7 +20229,7 @@ /***/ }, - /* 134 */ + /* 135 */ /***/ function(module, exports) { module.exports = function(hljs) { var CONSTANTS = { @@ -20774,7 +20334,7 @@ /***/ }, - /* 135 */ + /* 136 */ /***/ function(module, exports) { module.exports = function(hljs) { var API_CLASS = { @@ -20869,7 +20429,7 @@ /***/ }, - /* 136 */ + /* 137 */ /***/ function(module, exports) { module.exports = function(hljs) { /* missing support for heredoc-like string (OCaml 4.0.2+) */ @@ -20947,7 +20507,7 @@ /***/ }, - /* 137 */ + /* 138 */ /***/ function(module, exports) { module.exports = function(hljs) { var SPECIAL_VARS = { @@ -21011,7 +20571,7 @@ /***/ }, - /* 138 */ + /* 139 */ /***/ function(module, exports) { module.exports = function(hljs) { var OXYGENE_KEYWORDS = @@ -21091,7 +20651,7 @@ /***/ }, - /* 139 */ + /* 140 */ /***/ function(module, exports) { module.exports = function(hljs) { var CURLY_SUBCOMMENT = hljs.COMMENT("{", "}", { @@ -21134,7 +20694,7 @@ /***/ }, - /* 140 */ + /* 141 */ /***/ function(module, exports) { module.exports = function(hljs) { var MACRO = { @@ -21191,7 +20751,7 @@ /***/ }, - /* 141 */ + /* 142 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { @@ -21325,7 +20885,7 @@ /***/ }, - /* 142 */ + /* 143 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -21423,7 +20983,7 @@ /***/ }, - /* 143 */ + /* 144 */ /***/ function(module, exports) { module.exports = function(hljs) { var BACKTICK_ESCAPE = { @@ -21506,7 +21066,7 @@ /***/ }, - /* 144 */ + /* 145 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -21560,7 +21120,7 @@ /***/ }, - /* 145 */ + /* 146 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -21599,7 +21159,7 @@ /***/ }, - /* 146 */ + /* 147 */ /***/ function(module, exports) { module.exports = function(hljs) { var ATOM = { @@ -21684,7 +21244,7 @@ /***/ }, - /* 147 */ + /* 148 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -21728,7 +21288,7 @@ /***/ }, - /* 148 */ + /* 149 */ /***/ function(module, exports) { module.exports = function(hljs) { var PUPPET_KEYWORDS = { @@ -21851,7 +21411,7 @@ /***/ }, - /* 149 */ + /* 150 */ /***/ function(module, exports) { module.exports = function(hljs) { // Base deafult colors in PB IDE: background: #FFFFDF; foreground: #000000; var STRINGS = { @@ -21918,7 +21478,7 @@ /***/ }, - /* 150 */ + /* 151 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -22053,7 +21613,7 @@ /***/ }, - /* 151 */ + /* 152 */ /***/ function(module, exports) { module.exports = function(hljs) { var Q_KEYWORDS = { @@ -22078,7 +21638,7 @@ /***/ }, - /* 152 */ + /* 153 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -22262,7 +21822,7 @@ /***/ }, - /* 153 */ + /* 154 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENT_RE = "([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*"; @@ -22333,7 +21893,7 @@ /***/ }, - /* 154 */ + /* 155 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -22364,7 +21924,7 @@ /***/ }, - /* 155 */ + /* 156 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENTIFIER = "[a-zA-Z-_][^\\n{]+\\{"; @@ -22428,7 +21988,7 @@ /***/ }, - /* 156 */ + /* 157 */ /***/ function(module, exports) { module.exports = // Colors from RouterOS terminal: // green - #0E9A00 @@ -22611,7 +22171,7 @@ /***/ }, - /* 157 */ + /* 158 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -22654,7 +22214,7 @@ /***/ }, - /* 158 */ + /* 159 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -22721,7 +22281,7 @@ /***/ }, - /* 159 */ + /* 160 */ /***/ function(module, exports) { module.exports = function(hljs) { var NUM_SUFFIX = "([ui](8|16|32|64|128|size)|f(32|64))?"; @@ -22841,7 +22401,7 @@ /***/ }, - /* 160 */ + /* 161 */ /***/ function(module, exports) { module.exports = function(hljs) { var ANNOTATION = { className: "meta", begin: "@[A-Za-z]+" }; @@ -22960,7 +22520,7 @@ /***/ }, - /* 161 */ + /* 162 */ /***/ function(module, exports) { module.exports = function(hljs) { var SCHEME_IDENT_RE = "[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+"; @@ -23122,7 +22682,7 @@ /***/ }, - /* 162 */ + /* 163 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMON_CONTAINS = [ @@ -23185,7 +22745,7 @@ /***/ }, - /* 163 */ + /* 164 */ /***/ function(module, exports) { module.exports = function(hljs) { var IDENT_RE = "[a-zA-Z-][a-zA-Z0-9_-]*"; @@ -23304,7 +22864,7 @@ /***/ }, - /* 164 */ + /* 165 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -23324,7 +22884,7 @@ /***/ }, - /* 165 */ + /* 166 */ /***/ function(module, exports) { module.exports = function(hljs) { var smali_instr_low_prio = [ @@ -23447,7 +23007,7 @@ /***/ }, - /* 166 */ + /* 167 */ /***/ function(module, exports) { module.exports = function(hljs) { var VAR_IDENT_RE = "[a-z][a-zA-Z0-9_]*"; @@ -23504,7 +23064,7 @@ /***/ }, - /* 167 */ + /* 168 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -23576,7 +23136,7 @@ /***/ }, - /* 168 */ + /* 169 */ /***/ function(module, exports) { module.exports = function(hljs) { var CPP = hljs.getLanguage("cpp").exports; @@ -23950,7 +23510,7 @@ /***/ }, - /* 169 */ + /* 170 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT_MODE = hljs.COMMENT("--", "$"); @@ -24117,7 +23677,7 @@ /***/ }, - /* 170 */ + /* 171 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -24202,7 +23762,7 @@ /***/ }, - /* 171 */ + /* 172 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -24243,7 +23803,7 @@ /***/ }, - /* 172 */ + /* 173 */ /***/ function(module, exports) { module.exports = function(hljs) { var STEP21_IDENT_RE = "[A-Z_][A-Z0-9_.]*"; @@ -24296,7 +23856,7 @@ /***/ }, - /* 173 */ + /* 174 */ /***/ function(module, exports) { module.exports = function(hljs) { var VARIABLE = { @@ -24758,7 +24318,7 @@ /***/ }, - /* 174 */ + /* 175 */ /***/ function(module, exports) { module.exports = function(hljs) { var DETAILS = { @@ -24795,7 +24355,7 @@ /***/ }, - /* 175 */ + /* 176 */ /***/ function(module, exports) { module.exports = function(hljs) { var SWIFT_KEYWORDS = { @@ -24924,7 +24484,7 @@ /***/ }, - /* 176 */ + /* 177 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMENT = { @@ -24971,7 +24531,7 @@ /***/ }, - /* 177 */ + /* 178 */ /***/ function(module, exports) { module.exports = function(hljs) { var LITERALS = "true false yes no null"; @@ -25067,7 +24627,7 @@ /***/ }, - /* 178 */ + /* 179 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -25105,7 +24665,7 @@ /***/ }, - /* 179 */ + /* 180 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -25172,7 +24732,7 @@ /***/ }, - /* 180 */ + /* 181 */ /***/ function(module, exports) { module.exports = function(hljs) { var COMMAND = { @@ -25235,7 +24795,7 @@ /***/ }, - /* 181 */ + /* 182 */ /***/ function(module, exports) { module.exports = function(hljs) { var BUILT_IN_TYPES = "bool byte i16 i32 i64 double string binary"; @@ -25274,7 +24834,7 @@ /***/ }, - /* 182 */ + /* 183 */ /***/ function(module, exports) { module.exports = function(hljs) { var TPID = { @@ -25363,7 +24923,7 @@ /***/ }, - /* 183 */ + /* 184 */ /***/ function(module, exports) { module.exports = function(hljs) { var PARAMS = { @@ -25441,7 +25001,7 @@ /***/ }, - /* 184 */ + /* 185 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = { @@ -25623,7 +25183,7 @@ /***/ }, - /* 185 */ + /* 186 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -25677,7 +25237,7 @@ /***/ }, - /* 186 */ + /* 187 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -25739,7 +25299,7 @@ /***/ }, - /* 187 */ + /* 188 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -25779,7 +25339,7 @@ /***/ }, - /* 188 */ + /* 189 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -25796,7 +25356,7 @@ /***/ }, - /* 189 */ + /* 190 */ /***/ function(module, exports) { module.exports = function(hljs) { var SV_KEYWORDS = { @@ -25903,7 +25463,7 @@ /***/ }, - /* 190 */ + /* 191 */ /***/ function(module, exports) { module.exports = function(hljs) { // Regular expression for VHDL numeric literals. @@ -25979,7 +25539,7 @@ /***/ }, - /* 191 */ + /* 192 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -26093,7 +25653,7 @@ /***/ }, - /* 192 */ + /* 193 */ /***/ function(module, exports) { module.exports = function(hljs) { return { @@ -26234,7 +25794,7 @@ /***/ }, - /* 193 */ + /* 194 */ /***/ function(module, exports) { module.exports = function(hljs) { var BUILTIN_MODULES = @@ -26320,7 +25880,7 @@ /***/ }, - /* 194 */ + /* 195 */ /***/ function(module, exports) { module.exports = function(hljs) { var KEYWORDS = @@ -26393,7 +25953,7 @@ /***/ }, - /* 195 */ + /* 196 */ /***/ function(module, exports) { module.exports = function(hljs) { var STRING = { @@ -26503,7 +26063,7 @@ /***/ }, - /* 196 */ + /* 197 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -26513,11 +26073,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -26617,11 +26177,12 @@ /***/ }, - /* 197 */ + /* 198 */ /***/ function(module, exports, __webpack_require__) { "use strict"; exports.__esModule = true; + exports.CalendarContainer = undefined; var _createClass = (function() { function defineProperties(target, props) { @@ -26640,7 +26201,16 @@ }; })(); - var _calendar = __webpack_require__(198); + var _calendar_container = __webpack_require__(199); + + Object.defineProperty(exports, "CalendarContainer", { + enumerable: true, + get: function get() { + return _interopRequireDefault(_calendar_container).default; + } + }); + + var _calendar = __webpack_require__(204); var _calendar2 = _interopRequireDefault(_calendar); @@ -26652,17 +26222,17 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _popper_component = __webpack_require__(342); + var _popper_component = __webpack_require__(341); var _popper_component2 = _interopRequireDefault(_popper_component); - var _classnames2 = __webpack_require__(204); + var _classnames2 = __webpack_require__(207); var _classnames3 = _interopRequireDefault(_classnames2); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); - var _reactOnclickoutside = __webpack_require__(205); + var _reactOnclickoutside = __webpack_require__(208); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); @@ -26761,7 +26331,16 @@ shouldCloseOnSelect: true, showTimeSelect: false, timeIntervals: 30, - timeCaption: "Time" + timeCaption: "Time", + ariaLiveInterruption: "polite", + ariaHidePopper: true, + id: + "react-datepicker-" + + Math.random() + .toString(36) + .substr(2), + navigationNextText: "Next month", + navigationPreviousText: "Previous month" }; } } @@ -26860,7 +26439,7 @@ }; _this.handleBlur = function(event) { - if (_this.state.open) { + if (_this.state.open && !_this.props.withPortal) { _this.deferFocusInput(); } else { _this.props.onBlur(event); @@ -26998,7 +26577,8 @@ (0, _date_utils.cloneDate)(selected), { hour: (0, _date_utils.getHour)(time), - minute: (0, _date_utils.getMinute)(time) + minute: (0, _date_utils.getMinute)(time), + second: 0 } ); @@ -27011,6 +26591,14 @@ _this.setState({ inputValue: null }); }; + _this.handleKeyboardTimeChange = function(date) { + _this.setState({ + preSelection: date + }); + _this.props.onChange(date); + _this.setState({ inputValue: null }); + }; + _this.onInputClick = function() { if (!_this.props.disabled) { _this.setOpen(true); @@ -27020,6 +26608,8 @@ _this.onInputKeyDown = function(event) { _this.props.onKeyDown(event); var eventKey = event.key; + var shiftDown = event.shiftKey; + var ctrlDown = event.ctrlKey; if ( !_this.state.open && !_this.props.inline && @@ -27053,39 +26643,64 @@ _this.setOpen(false); } else if (!_this.props.disabledKeyboardNavigation) { var newSelection = void 0; - switch (eventKey) { - case "ArrowLeft": - event.preventDefault(); - newSelection = (0, _date_utils.subtractDays)(copy, 1); - break; - case "ArrowRight": - event.preventDefault(); - newSelection = (0, _date_utils.addDays)(copy, 1); - break; - case "ArrowUp": - event.preventDefault(); - newSelection = (0, _date_utils.subtractWeeks)(copy, 1); - break; - case "ArrowDown": - event.preventDefault(); - newSelection = (0, _date_utils.addWeeks)(copy, 1); - break; - case "PageUp": - event.preventDefault(); - newSelection = (0, _date_utils.subtractMonths)(copy, 1); - break; - case "PageDown": - event.preventDefault(); - newSelection = (0, _date_utils.addMonths)(copy, 1); - break; - case "Home": - event.preventDefault(); - newSelection = (0, _date_utils.subtractYears)(copy, 1); - break; - case "End": - event.preventDefault(); - newSelection = (0, _date_utils.addYears)(copy, 1); - break; + + if (shiftDown == true) { + // Navigate the date picker + // We are using shift+key here in order to prevent conflicts with the + // default functionalities of the keys. + event.preventDefault(); + switch (eventKey) { + case "ArrowLeft": + newSelection = (0, _date_utils.subtractDays)(copy, 1); + break; + + case "ArrowRight": + newSelection = (0, _date_utils.addDays)(copy, 1); + break; + + case "ArrowUp": + newSelection = (0, _date_utils.subtractWeeks)(copy, 1); + break; + + case "ArrowDown": + newSelection = (0, _date_utils.addWeeks)(copy, 1); + break; + + case "PageUp": + newSelection = (0, _date_utils.subtractMonths)(copy, 1); + break; + + case "PageDown": + newSelection = (0, _date_utils.addMonths)(copy, 1); + break; + + case "Home": + newSelection = (0, _date_utils.subtractYears)(copy, 1); + break; + + case "End": + newSelection = (0, _date_utils.addYears)(copy, 1); + break; + } + } else if (_this.props.showTimeSelect == true) { + // Navigate time picker using shift+LeftArrow and shift+RightArrow. + switch (eventKey) { + case "ArrowUp": + newSelection = (0, _date_utils.decreaseMinutes)( + copy, + _this.props.timeIntervals + ); + _this.handleKeyboardTimeChange(newSelection); + break; + + case "ArrowDown": + newSelection = (0, _date_utils.increaseMinutes)( + copy, + _this.props.timeIntervals + ); + _this.handleKeyboardTimeChange(newSelection); + break; + } } if (_this.props.adjustDateOnChange) { _this.setSelected(newSelection); @@ -27181,7 +26796,11 @@ excludeTimes: _this.props.excludeTimes, timeCaption: _this.props.timeCaption, className: _this.props.calendarClassName, - yearDropdownItemNumber: _this.props.yearDropdownItemNumber + container: _this.props.calendarContainer, + yearDropdownItemNumber: _this.props.yearDropdownItemNumber, + navigationNextText: _this.props.navigationNextText, + navigationPreviousText: _this.props.navigationPreviousText, + ariaHidePopper: _this.props.ariaHidePopper }, _this.props.children ); @@ -27217,6 +26836,10 @@ (_React$cloneElement[customInputRef] = function(input) { _this.input = input; }), + (_React$cloneElement["aria-live"] = + _this.props.ariaLiveInterruption), + (_React$cloneElement["aria-describedby"] = + _this.props.id + "-aria-description"), (_React$cloneElement.value = inputValue), (_React$cloneElement.onBlur = _this.handleBlur), (_React$cloneElement.onChange = _this.handleChange), @@ -27238,6 +26861,108 @@ ); }; + _this.renderAriaDescription = function() { + if (typeof _this.props.ariaDescriptionContent == "undefined") { + return _this.ariaDescriptionContent(); + } + return _react2.default.createElement( + "div", + { + className: "keyboard-nav-description", + id: _this.props.id + "-aria-description" + }, + _this.props.ariaDescriptionContent + ); + }; + + _this.ariaDescriptionContent = function() { + return _react2.default.createElement( + "div", + { + className: "keyboard-nav-description", + id: _this.props.id + "-aria-description" + }, + _react2.default.createElement( + "p", + null, + "Date picker. Facilitates the selection of valid dates." + ), + _react2.default.createElement( + "p", + null, + _react2.default.createElement( + "strong", + null, + "Manual editing:" + ), + " ", + _react2.default.createElement( + "span", + null, + "The text field may be edited manually with a valid date and time." + ) + ), + _react2.default.createElement( + "p", + null, + _react2.default.createElement( + "strong", + null, + "Mouse navigation:" + ), + " ", + _react2.default.createElement( + "span", + null, + "Click the relevant date and time to select. Click the right and left arrow icons to switch between months." + ) + ), + _react2.default.createElement( + "div", + null, + _react2.default.createElement( + "strong", + null, + "Keyboard navigation:" + ), + _react2.default.createElement( + "ul", + null, + _react2.default.createElement( + "li", + null, + "Use Shift + Left Arrow or Shift + Right Arrow to navigatebetween weekdays." + ), + _react2.default.createElement( + "li", + null, + "Shift + Up or Down Arrow to navigate between weeks." + ), + _react2.default.createElement( + "li", + null, + "Up and Down Arrow navigate between time intervals." + ), + _react2.default.createElement( + "li", + null, + "Page Up and Page Down navigate between months." + ), + _react2.default.createElement( + "li", + null, + "End and Home navigate between years." + ), + _react2.default.createElement( + "li", + null, + "Press enter to select the highlighted date and time." + ) + ) + ) + ); + }; + _this.renderClearButton = function() { if (_this.props.isClearable && _this.props.selected != null) { return _react2.default.createElement("button", { @@ -27295,6 +27020,7 @@ "div", { className: "react-datepicker__input-container" }, this.renderDateInput(), + this.renderAriaDescription(), this.renderClearButton() ) : null, @@ -27316,6 +27042,7 @@ "div", { className: "react-datepicker__input-container" }, this.renderDateInput(), + this.renderAriaDescription(), this.renderClearButton() ), popperContainer: this.props.popperContainer, @@ -27333,6 +27060,7 @@ autoComplete: _propTypes2.default.string, autoFocus: _propTypes2.default.bool, calendarClassName: _propTypes2.default.string, + calendarContainer: _propTypes2.default.func, children: _propTypes2.default.node, className: _propTypes2.default.string, customInput: _propTypes2.default.element, @@ -27420,13 +27148,142 @@ maxTime: _propTypes2.default.object, excludeTimes: _propTypes2.default.array, useShortMonthInDropdown: _propTypes2.default.bool, - clearButtonTitle: _propTypes2.default.string + clearButtonTitle: _propTypes2.default.string, + ariaLiveInterruption: _propTypes2.default.string, + ariaDescriptionContent: _propTypes2.default.string, + ariaHidePopper: _propTypes2.default.bool, + navigationNextText: _propTypes2.default.string, + navigationPreviousText: _propTypes2.default.string }; exports.default = DatePicker; /***/ }, - /* 198 */ + /* 199 */ + /***/ function(module, exports, __webpack_require__) { + "use strict"; + + exports.__esModule = true; + exports.default = CalendarContainer; + + var _propTypes = __webpack_require__(200); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + function CalendarContainer(_ref) { + var className = _ref.className, + children = _ref.children; + + return _react2.default.createElement( + "div", + { className: className }, + _react2.default.createElement("div", { + className: "react-datepicker__triangle" + }), + children + ); + } + + CalendarContainer.propTypes = { + className: _propTypes2.default.string, + children: _propTypes2.default.node + }; + + /***/ + }, + /* 200 */ + [398, 201], + /* 201 */ + [399, 203], + /* 202 */ + /***/ function(module, exports, __webpack_require__) { + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + * + */ + + "use strict"; + + /** + * Use invariant() to assert state which your program assumes to be true. + * + * Provide sprintf-style format (only %s is supported) and arguments + * to provide information about what broke and what you were + * expecting. + * + * The invariant message will be stripped in production, but the invariant + * will remain to ensure logic does not differ in production. + */ + + var validateFormat = function validateFormat(format) {}; + + if (false) { + validateFormat = function validateFormat(format) { + if (format === undefined) { + throw new Error("invariant requires an error message argument"); + } + }; + } + + function invariant(condition, format, a, b, c, d, e, f) { + validateFormat(format); + + if (!condition) { + var error; + if (format === undefined) { + error = new Error( + "Minified exception occurred; use the non-minified dev environment " + + "for the full error message and additional helpful warnings." + ); + } else { + var args = [a, b, c, d, e, f]; + var argIndex = 0; + error = new Error( + format.replace(/%s/g, function() { + return args[argIndex++]; + }) + ); + error.name = "Invariant Violation"; + } + + error.framesToPop = 1; // we don't care about invariant's own frame + throw error; + } + } + + module.exports = invariant; + + /***/ + }, + /* 203 */ + /***/ function(module, exports) { + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + + "use strict"; + + var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; + + module.exports = ReactPropTypesSecret; + + /***/ + }, + /* 204 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -27449,23 +27306,23 @@ }; })(); - var _year_dropdown = __webpack_require__(199); + var _year_dropdown = __webpack_require__(205); var _year_dropdown2 = _interopRequireDefault(_year_dropdown); - var _month_dropdown = __webpack_require__(333); + var _month_dropdown = __webpack_require__(332); var _month_dropdown2 = _interopRequireDefault(_month_dropdown); - var _month_year_dropdown = __webpack_require__(335); + var _month_year_dropdown = __webpack_require__(334); var _month_year_dropdown2 = _interopRequireDefault(_month_year_dropdown); - var _month = __webpack_require__(337); + var _month = __webpack_require__(336); var _month2 = _interopRequireDefault(_month); - var _time = __webpack_require__(341); + var _time = __webpack_require__(340); var _time2 = _interopRequireDefault(_time); @@ -27477,11 +27334,15 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(204); + var _classnames = __webpack_require__(207); var _classnames2 = _interopRequireDefault(_classnames); - var _date_utils = __webpack_require__(206); + var _calendar_container = __webpack_require__(199); + + var _calendar_container2 = _interopRequireDefault(_calendar_container); + + var _date_utils = __webpack_require__(209); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -27554,7 +27415,9 @@ onDropdownFocus: function onDropdownFocus() {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time" + timeCaption: "Time", + navigationNextText: "Next month", + navigationPreviousText: "Previous month" }; } } @@ -27745,11 +27608,19 @@ ); var localeData = (0, _date_utils.getLocaleData)(day); var weekDayName = _this.formatWeekday(localeData, day); + var weekDayNameLong = (0, _date_utils.getWeedayLongInLocale)( + localeData, + day + ); return _react2.default.createElement( "div", { key: offset, className: "react-datepicker__day-name" }, - weekDayName + _react2.default.createElement( + "abbr", + { title: weekDayNameLong }, + weekDayName + ) ); }) ); @@ -27799,11 +27670,15 @@ clickHandler = null; } - return _react2.default.createElement("button", { - type: "button", - className: classes.join(" "), - onClick: clickHandler - }); + return _react2.default.createElement( + "button", + { + type: "button", + className: classes.join(" "), + onClick: clickHandler + }, + _this.props.navigationPreviousText + ); }; _this.renderNextMonthButton = function() { @@ -27845,11 +27720,15 @@ clickHandler = null; } - return _react2.default.createElement("button", { - type: "button", - className: classes.join(" "), - onClick: clickHandler - }); + return _react2.default.createElement( + "button", + { + type: "button", + className: classes.join(" "), + onClick: clickHandler + }, + _this.props.navigationNextText + ); }; _this.renderCurrentMonth = function() { @@ -28116,8 +27995,10 @@ }; Calendar.prototype.render = function render() { + var Container = this.props.container || _calendar_container2.default; + return _react2.default.createElement( - "div", + Container, { className: (0, _classnames2.default)( "react-datepicker", @@ -28127,9 +28008,6 @@ } ) }, - _react2.default.createElement("div", { - className: "react-datepicker__triangle" - }), this.renderPreviousMonthButton(), this.renderNextMonthButton(), this.renderMonths(), @@ -28146,6 +28024,7 @@ adjustDateOnChange: _propTypes2.default.bool, className: _propTypes2.default.string, children: _propTypes2.default.node, + container: _propTypes2.default.func, dateFormat: _propTypes2.default.oneOfType([ _propTypes2.default.string, _propTypes2.default.array @@ -28210,7 +28089,7 @@ /***/ }, - /* 199 */ + /* 205 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -28224,17 +28103,17 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _year_dropdown_options = __webpack_require__(203); + var _year_dropdown_options = __webpack_require__(206); var _year_dropdown_options2 = _interopRequireDefault( _year_dropdown_options ); - var _reactOnclickoutside = __webpack_require__(205); + var _reactOnclickoutside = __webpack_require__(208); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -28465,133 +28344,7 @@ /***/ }, - /* 200 */ - /***/ function(module, exports, __webpack_require__) { - /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - - if (false) { - var REACT_ELEMENT_TYPE = - (typeof Symbol === "function" && - Symbol.for && - Symbol.for("react.element")) || - 0xeac7; - - var isValidElement = function(object) { - return ( - typeof object === "object" && - object !== null && - object.$$typeof === REACT_ELEMENT_TYPE - ); - }; - - // By explicitly using `prop-types` you are opting into new development behavior. - // http://fb.me/prop-types-in-prod - var throwOnDirectAccess = true; - module.exports = require("./factoryWithTypeCheckers")( - isValidElement, - throwOnDirectAccess - ); - } else { - // By explicitly using `prop-types` you are opting into new production behavior. - // http://fb.me/prop-types-in-prod - module.exports = __webpack_require__(201)(); - } - - /***/ - }, - /* 201 */ - /***/ function(module, exports, __webpack_require__) { - /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - - "use strict"; - - var emptyFunction = __webpack_require__(7); - var invariant = __webpack_require__(5); - var ReactPropTypesSecret = __webpack_require__(202); - - module.exports = function() { - function shim( - props, - propName, - componentName, - location, - propFullName, - secret - ) { - if (secret === ReactPropTypesSecret) { - // It is still safe when called from React. - return; - } - invariant( - false, - "Calling PropTypes validators directly is not supported by the `prop-types` package. " + - "Use PropTypes.checkPropTypes() to call them. " + - "Read more at http://fb.me/use-check-prop-types" - ); - } - shim.isRequired = shim; - function getShim() { - return shim; - } - // Important! - // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. - var ReactPropTypes = { - array: shim, - bool: shim, - func: shim, - number: shim, - object: shim, - string: shim, - symbol: shim, - - any: shim, - arrayOf: getShim, - element: shim, - instanceOf: getShim, - node: shim, - objectOf: getShim, - oneOf: getShim, - oneOfType: getShim, - shape: getShim, - exact: getShim - }; - - ReactPropTypes.checkPropTypes = emptyFunction; - ReactPropTypes.PropTypes = ReactPropTypes; - - return ReactPropTypes; - }; - - /***/ - }, - /* 202 */ - /***/ function(module, exports) { - /** - * Copyright (c) 2013-present, Facebook, Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ - - "use strict"; - - var ReactPropTypesSecret = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - - module.exports = ReactPropTypesSecret; - - /***/ - }, - /* 203 */ + /* 206 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -28605,7 +28358,7 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(204); + var _classnames = __webpack_require__(207); var _classnames2 = _interopRequireDefault(_classnames); @@ -28838,7 +28591,7 @@ /***/ }, - /* 204 */ + /* 207 */ /***/ function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__; /*! @@ -28895,14 +28648,14 @@ /***/ }, - /* 205 */ + /* 208 */ /***/ function(module, exports, __webpack_require__) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var react = __webpack_require__(2); - var reactDom = __webpack_require__(8); + var reactDom = __webpack_require__(7); function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); @@ -29294,7 +29047,7 @@ /***/ }, - /* 206 */ + /* 209 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -29344,11 +29097,15 @@ exports.getEndOfWeek = getEndOfWeek; exports.getEndOfMonth = getEndOfMonth; exports.addMinutes = addMinutes; + exports.increaseMinutes = increaseMinutes; + exports.decreaseMinutes = decreaseMinutes; exports.addHours = addHours; exports.addDays = addDays; exports.addWeeks = addWeeks; exports.addMonths = addMonths; exports.addYears = addYears; + exports.subtractMinutes = subtractMinutes; + exports.subtractHours = subtractHours; exports.subtractDays = subtractDays; exports.subtractWeeks = subtractWeeks; exports.subtractMonths = subtractMonths; @@ -29362,6 +29119,8 @@ exports.isSameUtcOffset = isSameUtcOffset; exports.isDayInRange = isDayInRange; exports.getDaysDiff = getDaysDiff; + exports.intervalMinutesDiffInc = intervalMinutesDiffInc; + exports.intervalMinutesDiffDec = intervalMinutesDiffDec; exports.localizeDate = localizeDate; exports.getDefaultLocale = getDefaultLocale; exports.getDefaultLocaleData = getDefaultLocaleData; @@ -29371,6 +29130,7 @@ exports.getFormattedWeekdayInLocale = getFormattedWeekdayInLocale; exports.getWeekdayMinInLocale = getWeekdayMinInLocale; exports.getWeekdayShortInLocale = getWeekdayShortInLocale; + exports.getWeedayLongInLocale = getWeedayLongInLocale; exports.getMonthInLocale = getMonthInLocale; exports.getMonthShortInLocale = getMonthShortInLocale; exports.isDayDisabled = isDayDisabled; @@ -29383,7 +29143,7 @@ exports.getHightLightDaysMap = getHightLightDaysMap; exports.timesToInjectAfter = timesToInjectAfter; - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -29605,6 +29365,18 @@ return add(date, amount, "minutes"); } + function increaseMinutes(date, interval) { + date = date.seconds(0); + var diff = intervalMinutesDiffInc(date, interval); + return addMinutes(date, diff); + } + + function decreaseMinutes(date, interval) { + date = date.seconds(0); + var diff = intervalMinutesDiffDec(date, interval); + return subtractMinutes(date, diff); + } + function addHours(date, amount) { return add(date, amount, "hours"); } @@ -29626,6 +29398,14 @@ } // *** Subtraction *** + function subtractMinutes(date, amount) { + return subtract(date, amount, "minutes"); + } + + function subtractHours(date, amount) { + return subtract(date, amount, "hours"); + } + function subtractDays(date, amount) { return subtract(date, amount, "days"); } @@ -29709,6 +29489,28 @@ return getDiff(date1, date2, "days"); } + function intervalMinutesDiffInc(date, interval) { + var minute = date.minute(); + var newMinute = Math.ceil(date.minute() / interval) * interval; + var diff = Math.abs(newMinute - minute); + + if (diff == 0) { + return interval; + } + return diff; + } + + function intervalMinutesDiffDec(date, interval) { + var minute = date.minute(); + var newMinute = Math.floor(date.minute() / interval) * interval; + var diff = Math.abs(newMinute - minute); + + if (diff == 0) { + return interval; + } + return diff; + } + // ** Date Localization ** function localizeDate(date, locale) { @@ -29747,6 +29549,10 @@ return locale.weekdaysShort(date); } + function getWeedayLongInLocale(locale, date) { + return _moment2.default.localeData().weekdays(date); + } + // TODO what is this format exactly? function getMonthInLocale(locale, date, format) { return locale.months(date, format); @@ -29974,11 +29780,15 @@ /***/ }, - /* 207 */ + /* 210 */ /***/ function(module, exports, __webpack_require__) { var require; /* WEBPACK VAR INJECTION */ (function(module) { //! moment.js + //! version : 2.20.1 + //! authors : Tim Wood, Iskren Chernev, Moment.js contributors + //! license : MIT + //! momentjs.com (function(global, factory) { true @@ -30950,9 +30760,7 @@ var modMonth = mod(month, 12); year += (month - modMonth) / 12; return modMonth === 1 - ? isLeapYear(year) - ? 29 - : 28 + ? isLeapYear(year) ? 29 : 28 : 31 - (modMonth % 7) % 2; } @@ -32012,11 +31820,15 @@ // MOMENTS // Setting the hour should keep the time, because the user explicitly - // specified which hour they want. So trying to maintain the same hour (in + // specified which hour he wants. So trying to maintain the same hour (in // a new timezone) makes sense. Adding/subtracting hours does not follow // this rule. var getSetHour = makeGetSet("Hours", true); + // months + // week + // weekdays + // meridiem var baseConfig = { calendar: defaultCalendar, longDateFormat: defaultLongDateFormat, @@ -32078,7 +31890,7 @@ } i++; } - return globalLocale; + return null; } function loadLocale(name) { @@ -32093,7 +31905,7 @@ try { oldLocale = globalLocale._abbr; var aliasedRequire = require; - __webpack_require__(209)("./" + name); + __webpack_require__(212)("./" + name); getSetGlobalLocale(oldLocale); } catch (e) {} } @@ -32115,13 +31927,6 @@ if (data) { // moment.duration._locale = moment._locale = data; globalLocale = data; - } else { - if (typeof console !== "undefined" && console.warn) { - //warn user if arguments are passed but the locale could not be set - console.warn( - "Locale " + key + " not found. Did you forget to load it?" - ); - } } } @@ -32130,8 +31935,7 @@ function defineLocale(name, config) { if (config !== null) { - var locale, - parentConfig = baseConfig; + var parentConfig = baseConfig; config.abbr = name; if (locales[name] != null) { deprecateSimple( @@ -32146,19 +31950,14 @@ if (locales[config.parentLocale] != null) { parentConfig = locales[config.parentLocale]._config; } else { - locale = loadLocale(config.parentLocale); - if (locale != null) { - parentConfig = locale._config; - } else { - if (!localeFamilies[config.parentLocale]) { - localeFamilies[config.parentLocale] = []; - } - localeFamilies[config.parentLocale].push({ - name: name, - config: config - }); - return null; + if (!localeFamilies[config.parentLocale]) { + localeFamilies[config.parentLocale] = []; } + localeFamilies[config.parentLocale].push({ + name: name, + config: config + }); + return null; } } locales[name] = new Locale(mergeConfigs(parentConfig, config)); @@ -33585,11 +33384,7 @@ ? "lastDay" : diff < 1 ? "sameDay" - : diff < 2 - ? "nextDay" - : diff < 7 - ? "nextWeek" - : "sameElse"; + : diff < 2 ? "nextDay" : diff < 7 ? "nextWeek" : "sameElse"; } function calendar$1(time, formats) { @@ -33694,7 +33489,7 @@ } function diff(input, units, asFloat) { - var that, zoneDelta, output; + var that, zoneDelta, delta, output; if (!this.isValid()) { return NaN; @@ -33793,7 +33588,7 @@ if (utc) { return this.toDate().toISOString(); } else { - return new Date(this.valueOf() + this.utcOffset() * 60 * 1000) + return new Date(this._d.valueOf()) .toISOString() .replace("Z", formatMoment(m, "Z")); } @@ -34188,7 +33983,7 @@ addUnitAlias("date", "D"); - // PRIORITY + // PRIOROITY addUnitPriority("date", 9); // PARSING @@ -34402,26 +34197,48 @@ proto.unix = unix; proto.valueOf = valueOf; proto.creationData = creationData; + + // Year proto.year = getSetYear; proto.isLeapYear = getIsLeapYear; + + // Week Year proto.weekYear = getSetWeekYear; proto.isoWeekYear = getSetISOWeekYear; + + // Quarter proto.quarter = proto.quarters = getSetQuarter; + + // Month proto.month = getSetMonth; proto.daysInMonth = getDaysInMonth; + + // Week proto.week = proto.weeks = getSetWeek; proto.isoWeek = proto.isoWeeks = getSetISOWeek; proto.weeksInYear = getWeeksInYear; proto.isoWeeksInYear = getISOWeeksInYear; + + // Day proto.date = getSetDayOfMonth; proto.day = proto.days = getSetDayOfWeek; proto.weekday = getSetLocaleDayOfWeek; proto.isoWeekday = getSetISODayOfWeek; proto.dayOfYear = getSetDayOfYear; + + // Hour proto.hour = proto.hours = getSetHour; + + // Minute proto.minute = proto.minutes = getSetMinute; + + // Second proto.second = proto.seconds = getSetSecond; + + // Millisecond proto.millisecond = proto.milliseconds = getSetMillisecond; + + // Offset proto.utcOffset = getSetOffset; proto.utc = setOffsetToUTC; proto.local = setOffsetToLocal; @@ -34432,8 +34249,12 @@ proto.isUtcOffset = isUtcOffset; proto.isUtc = isUtc; proto.isUTC = isUtc; + + // Timezone proto.zoneAbbr = getZoneAbbr; proto.zoneName = getZoneName; + + // Deprecations proto.dates = deprecate( "dates accessor is deprecated. Use date instead.", getSetDayOfMonth @@ -34479,15 +34300,19 @@ proto$1.pastFuture = pastFuture; proto$1.set = set; + // Month proto$1.months = localeMonths; proto$1.monthsShort = localeMonthsShort; proto$1.monthsParse = localeMonthsParse; proto$1.monthsRegex = monthsRegex; proto$1.monthsShortRegex = monthsShortRegex; + + // Week proto$1.week = localeWeek; proto$1.firstDayOfYear = localeFirstDayOfYear; proto$1.firstDayOfWeek = localeFirstDayOfWeek; + // Day of Week proto$1.weekdays = localeWeekdays; proto$1.weekdaysMin = localeWeekdaysMin; proto$1.weekdaysShort = localeWeekdaysShort; @@ -34497,6 +34322,7 @@ proto$1.weekdaysShortRegex = weekdaysShortRegex; proto$1.weekdaysMinRegex = weekdaysMinRegex; + // Hours proto$1.isPM = localeIsPM; proto$1.meridiem = localeMeridiem; @@ -34602,19 +34428,12 @@ output = toInt((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; } }); // Side effect imports - hooks.lang = deprecate( "moment.lang is deprecated. Use moment.locale instead.", getSetGlobalLocale @@ -35020,6 +34839,7 @@ proto$2.locale = locale; proto$2.localeData = localeData; + // Deprecations proto$2.toIsoString = deprecate( "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)", toISOString$1 @@ -35046,7 +34866,7 @@ // Side effect imports - hooks.version = "2.22.1"; + hooks.version = "2.20.1"; setHookCallback(createLocal); @@ -35095,11 +34915,11 @@ }); /* WEBPACK VAR INJECTION */ - }.call(exports, __webpack_require__(208)(module))); + }.call(exports, __webpack_require__(211)(module))); /***/ }, - /* 208 */ + /* 211 */ /***/ function(module, exports) { module.exports = function(module) { if (!module.webpackPolyfill) { @@ -35114,219 +34934,213 @@ /***/ }, - /* 209 */ + /* 212 */ /***/ function(module, exports, __webpack_require__) { var map = { - "./af": 210, - "./af.js": 210, - "./ar": 211, - "./ar-dz": 212, - "./ar-dz.js": 212, - "./ar-kw": 213, - "./ar-kw.js": 213, - "./ar-ly": 214, - "./ar-ly.js": 214, - "./ar-ma": 215, - "./ar-ma.js": 215, - "./ar-sa": 216, - "./ar-sa.js": 216, - "./ar-tn": 217, - "./ar-tn.js": 217, - "./ar.js": 211, - "./az": 218, - "./az.js": 218, - "./be": 219, - "./be.js": 219, - "./bg": 220, - "./bg.js": 220, - "./bm": 221, - "./bm.js": 221, - "./bn": 222, - "./bn.js": 222, - "./bo": 223, - "./bo.js": 223, - "./br": 224, - "./br.js": 224, - "./bs": 225, - "./bs.js": 225, - "./ca": 226, - "./ca.js": 226, - "./cs": 227, - "./cs.js": 227, - "./cv": 228, - "./cv.js": 228, - "./cy": 229, - "./cy.js": 229, - "./da": 230, - "./da.js": 230, - "./de": 231, - "./de-at": 232, - "./de-at.js": 232, - "./de-ch": 233, - "./de-ch.js": 233, - "./de.js": 231, - "./dv": 234, - "./dv.js": 234, - "./el": 235, - "./el.js": 235, - "./en-au": 236, - "./en-au.js": 236, - "./en-ca": 237, - "./en-ca.js": 237, - "./en-gb": 238, - "./en-gb.js": 238, - "./en-ie": 239, - "./en-ie.js": 239, - "./en-il": 240, - "./en-il.js": 240, - "./en-nz": 241, - "./en-nz.js": 241, - "./eo": 242, - "./eo.js": 242, - "./es": 243, - "./es-do": 244, - "./es-do.js": 244, - "./es-us": 245, - "./es-us.js": 245, - "./es.js": 243, - "./et": 246, - "./et.js": 246, - "./eu": 247, - "./eu.js": 247, - "./fa": 248, - "./fa.js": 248, - "./fi": 249, - "./fi.js": 249, - "./fo": 250, - "./fo.js": 250, - "./fr": 251, - "./fr-ca": 252, - "./fr-ca.js": 252, - "./fr-ch": 253, - "./fr-ch.js": 253, - "./fr.js": 251, - "./fy": 254, - "./fy.js": 254, - "./gd": 255, - "./gd.js": 255, - "./gl": 256, - "./gl.js": 256, - "./gom-latn": 257, - "./gom-latn.js": 257, - "./gu": 258, - "./gu.js": 258, - "./he": 259, - "./he.js": 259, - "./hi": 260, - "./hi.js": 260, - "./hr": 261, - "./hr.js": 261, - "./hu": 262, - "./hu.js": 262, - "./hy-am": 263, - "./hy-am.js": 263, - "./id": 264, - "./id.js": 264, - "./is": 265, - "./is.js": 265, - "./it": 266, - "./it.js": 266, - "./ja": 267, - "./ja.js": 267, - "./jv": 268, - "./jv.js": 268, - "./ka": 269, - "./ka.js": 269, - "./kk": 270, - "./kk.js": 270, - "./km": 271, - "./km.js": 271, - "./kn": 272, - "./kn.js": 272, - "./ko": 273, - "./ko.js": 273, - "./ky": 274, - "./ky.js": 274, - "./lb": 275, - "./lb.js": 275, - "./lo": 276, - "./lo.js": 276, - "./lt": 277, - "./lt.js": 277, - "./lv": 278, - "./lv.js": 278, - "./me": 279, - "./me.js": 279, - "./mi": 280, - "./mi.js": 280, - "./mk": 281, - "./mk.js": 281, - "./ml": 282, - "./ml.js": 282, - "./mn": 283, - "./mn.js": 283, - "./mr": 284, - "./mr.js": 284, - "./ms": 285, - "./ms-my": 286, - "./ms-my.js": 286, - "./ms.js": 285, - "./mt": 287, - "./mt.js": 287, - "./my": 288, - "./my.js": 288, - "./nb": 289, - "./nb.js": 289, - "./ne": 290, - "./ne.js": 290, - "./nl": 291, - "./nl-be": 292, - "./nl-be.js": 292, - "./nl.js": 291, - "./nn": 293, - "./nn.js": 293, - "./pa-in": 294, - "./pa-in.js": 294, - "./pl": 295, - "./pl.js": 295, - "./pt": 296, - "./pt-br": 297, - "./pt-br.js": 297, - "./pt.js": 296, - "./ro": 298, - "./ro.js": 298, - "./ru": 299, - "./ru.js": 299, - "./sd": 300, - "./sd.js": 300, - "./se": 301, - "./se.js": 301, - "./si": 302, - "./si.js": 302, - "./sk": 303, - "./sk.js": 303, - "./sl": 304, - "./sl.js": 304, - "./sq": 305, - "./sq.js": 305, - "./sr": 306, - "./sr-cyrl": 307, - "./sr-cyrl.js": 307, - "./sr.js": 306, - "./ss": 308, - "./ss.js": 308, - "./sv": 309, - "./sv.js": 309, - "./sw": 310, - "./sw.js": 310, - "./ta": 311, - "./ta.js": 311, - "./te": 312, - "./te.js": 312, - "./tet": 313, - "./tet.js": 313, - "./tg": 314, - "./tg.js": 314, + "./af": 213, + "./af.js": 213, + "./ar": 214, + "./ar-dz": 215, + "./ar-dz.js": 215, + "./ar-kw": 216, + "./ar-kw.js": 216, + "./ar-ly": 217, + "./ar-ly.js": 217, + "./ar-ma": 218, + "./ar-ma.js": 218, + "./ar-sa": 219, + "./ar-sa.js": 219, + "./ar-tn": 220, + "./ar-tn.js": 220, + "./ar.js": 214, + "./az": 221, + "./az.js": 221, + "./be": 222, + "./be.js": 222, + "./bg": 223, + "./bg.js": 223, + "./bm": 224, + "./bm.js": 224, + "./bn": 225, + "./bn.js": 225, + "./bo": 226, + "./bo.js": 226, + "./br": 227, + "./br.js": 227, + "./bs": 228, + "./bs.js": 228, + "./ca": 229, + "./ca.js": 229, + "./cs": 230, + "./cs.js": 230, + "./cv": 231, + "./cv.js": 231, + "./cy": 232, + "./cy.js": 232, + "./da": 233, + "./da.js": 233, + "./de": 234, + "./de-at": 235, + "./de-at.js": 235, + "./de-ch": 236, + "./de-ch.js": 236, + "./de.js": 234, + "./dv": 237, + "./dv.js": 237, + "./el": 238, + "./el.js": 238, + "./en-au": 239, + "./en-au.js": 239, + "./en-ca": 240, + "./en-ca.js": 240, + "./en-gb": 241, + "./en-gb.js": 241, + "./en-ie": 242, + "./en-ie.js": 242, + "./en-nz": 243, + "./en-nz.js": 243, + "./eo": 244, + "./eo.js": 244, + "./es": 245, + "./es-do": 246, + "./es-do.js": 246, + "./es-us": 247, + "./es-us.js": 247, + "./es.js": 245, + "./et": 248, + "./et.js": 248, + "./eu": 249, + "./eu.js": 249, + "./fa": 250, + "./fa.js": 250, + "./fi": 251, + "./fi.js": 251, + "./fo": 252, + "./fo.js": 252, + "./fr": 253, + "./fr-ca": 254, + "./fr-ca.js": 254, + "./fr-ch": 255, + "./fr-ch.js": 255, + "./fr.js": 253, + "./fy": 256, + "./fy.js": 256, + "./gd": 257, + "./gd.js": 257, + "./gl": 258, + "./gl.js": 258, + "./gom-latn": 259, + "./gom-latn.js": 259, + "./gu": 260, + "./gu.js": 260, + "./he": 261, + "./he.js": 261, + "./hi": 262, + "./hi.js": 262, + "./hr": 263, + "./hr.js": 263, + "./hu": 264, + "./hu.js": 264, + "./hy-am": 265, + "./hy-am.js": 265, + "./id": 266, + "./id.js": 266, + "./is": 267, + "./is.js": 267, + "./it": 268, + "./it.js": 268, + "./ja": 269, + "./ja.js": 269, + "./jv": 270, + "./jv.js": 270, + "./ka": 271, + "./ka.js": 271, + "./kk": 272, + "./kk.js": 272, + "./km": 273, + "./km.js": 273, + "./kn": 274, + "./kn.js": 274, + "./ko": 275, + "./ko.js": 275, + "./ky": 276, + "./ky.js": 276, + "./lb": 277, + "./lb.js": 277, + "./lo": 278, + "./lo.js": 278, + "./lt": 279, + "./lt.js": 279, + "./lv": 280, + "./lv.js": 280, + "./me": 281, + "./me.js": 281, + "./mi": 282, + "./mi.js": 282, + "./mk": 283, + "./mk.js": 283, + "./ml": 284, + "./ml.js": 284, + "./mr": 285, + "./mr.js": 285, + "./ms": 286, + "./ms-my": 287, + "./ms-my.js": 287, + "./ms.js": 286, + "./mt": 288, + "./mt.js": 288, + "./my": 289, + "./my.js": 289, + "./nb": 290, + "./nb.js": 290, + "./ne": 291, + "./ne.js": 291, + "./nl": 292, + "./nl-be": 293, + "./nl-be.js": 293, + "./nl.js": 292, + "./nn": 294, + "./nn.js": 294, + "./pa-in": 295, + "./pa-in.js": 295, + "./pl": 296, + "./pl.js": 296, + "./pt": 297, + "./pt-br": 298, + "./pt-br.js": 298, + "./pt.js": 297, + "./ro": 299, + "./ro.js": 299, + "./ru": 300, + "./ru.js": 300, + "./sd": 301, + "./sd.js": 301, + "./se": 302, + "./se.js": 302, + "./si": 303, + "./si.js": 303, + "./sk": 304, + "./sk.js": 304, + "./sl": 305, + "./sl.js": 305, + "./sq": 306, + "./sq.js": 306, + "./sr": 307, + "./sr-cyrl": 308, + "./sr-cyrl.js": 308, + "./sr.js": 307, + "./ss": 309, + "./ss.js": 309, + "./sv": 310, + "./sv.js": 310, + "./sw": 311, + "./sw.js": 311, + "./ta": 312, + "./ta.js": 312, + "./te": 313, + "./te.js": 313, + "./tet": 314, + "./tet.js": 314, "./th": 315, "./th.js": 315, "./tl-ph": 316, @@ -35341,28 +35155,26 @@ "./tzm-latn": 321, "./tzm-latn.js": 321, "./tzm.js": 320, - "./ug-cn": 322, - "./ug-cn.js": 322, - "./uk": 323, - "./uk.js": 323, - "./ur": 324, - "./ur.js": 324, - "./uz": 325, - "./uz-latn": 326, - "./uz-latn.js": 326, - "./uz.js": 325, - "./vi": 327, - "./vi.js": 327, - "./x-pseudo": 328, - "./x-pseudo.js": 328, - "./yo": 329, - "./yo.js": 329, - "./zh-cn": 330, - "./zh-cn.js": 330, - "./zh-hk": 331, - "./zh-hk.js": 331, - "./zh-tw": 332, - "./zh-tw.js": 332 + "./uk": 322, + "./uk.js": 322, + "./ur": 323, + "./ur.js": 323, + "./uz": 324, + "./uz-latn": 325, + "./uz-latn.js": 325, + "./uz.js": 324, + "./vi": 326, + "./vi.js": 326, + "./x-pseudo": 327, + "./x-pseudo.js": 327, + "./yo": 328, + "./yo.js": 328, + "./zh-cn": 329, + "./zh-cn.js": 329, + "./zh-hk": 330, + "./zh-hk.js": 330, + "./zh-tw": 331, + "./zh-tw.js": 331 }; function webpackContext(req) { return __webpack_require__(webpackContextResolve(req)); @@ -35380,17 +35192,19 @@ }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; - webpackContext.id = 209; + webpackContext.id = 212; /***/ }, - /* 210 */ + /* 213 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Afrikaans [af] + //! author : Werner Mollentze : https://github.com/wernerm (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -35470,13 +35284,17 @@ /***/ }, - /* 211 */ + /* 214 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Arabic [ar] + //! author : Abdel Said: https://github.com/abdelsaid + //! author : Ahmed Elkhatib + //! author : forabi https://github.com/forabi (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -35484,116 +35302,112 @@ "use strict"; var symbolMap = { - "1": "١", - "2": "٢", - "3": "٣", - "4": "٤", - "5": "٥", - "6": "٦", - "7": "٧", - "8": "٨", - "9": "٩", - "0": "٠" - }, - numberMap = { - "١": "1", - "٢": "2", - "٣": "3", - "٤": "4", - "٥": "5", - "٦": "6", - "٧": "7", - "٨": "8", - "٩": "9", - "٠": "0" - }, - pluralForm = function(n) { - return n === 0 - ? 0 - : n === 1 - ? 1 - : n === 2 - ? 2 - : n % 100 >= 3 && n % 100 <= 10 - ? 3 - : n % 100 >= 11 - ? 4 - : 5; - }, - plurals = { - s: [ - "أقل من ثانية", - "ثانية واحدة", - ["ثانيتان", "ثانيتين"], - "%d ثوان", - "%d ثانية", - "%d ثانية" - ], - m: [ - "أقل من دقيقة", - "دقيقة واحدة", - ["دقيقتان", "دقيقتين"], - "%d دقائق", - "%d دقيقة", - "%d دقيقة" - ], - h: [ - "أقل من ساعة", - "ساعة واحدة", - ["ساعتان", "ساعتين"], - "%d ساعات", - "%d ساعة", - "%d ساعة" - ], - d: [ - "أقل من يوم", - "يوم واحد", - ["يومان", "يومين"], - "%d أيام", - "%d يومًا", - "%d يوم" - ], - M: [ - "أقل من شهر", - "شهر واحد", - ["شهران", "شهرين"], - "%d أشهر", - "%d شهرا", - "%d شهر" - ], - y: [ - "أقل من عام", - "عام واحد", - ["عامان", "عامين"], - "%d أعوام", - "%d عامًا", - "%d عام" - ] - }, - pluralize = function(u) { - return function(number, withoutSuffix, string, isFuture) { - var f = pluralForm(number), - str = plurals[u][pluralForm(number)]; - if (f === 2) { - str = str[withoutSuffix ? 0 : 1]; - } - return str.replace(/%d/i, number); - }; - }, - months = [ - "يناير", - "فبراير", - "مارس", - "أبريل", - "مايو", - "يونيو", - "يوليو", - "أغسطس", - "سبتمبر", - "أكتوبر", - "نوفمبر", - "ديسمبر" - ]; + "1": "١", + "2": "٢", + "3": "٣", + "4": "٤", + "5": "٥", + "6": "٦", + "7": "٧", + "8": "٨", + "9": "٩", + "0": "٠" + }; + var numberMap = { + "١": "1", + "٢": "2", + "٣": "3", + "٤": "4", + "٥": "5", + "٦": "6", + "٧": "7", + "٨": "8", + "٩": "9", + "٠": "0" + }; + var pluralForm = function(n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; + }; + var plurals = { + s: [ + "أقل من ثانية", + "ثانية واحدة", + ["ثانيتان", "ثانيتين"], + "%d ثوان", + "%d ثانية", + "%d ثانية" + ], + m: [ + "أقل من دقيقة", + "دقيقة واحدة", + ["دقيقتان", "دقيقتين"], + "%d دقائق", + "%d دقيقة", + "%d دقيقة" + ], + h: [ + "أقل من ساعة", + "ساعة واحدة", + ["ساعتان", "ساعتين"], + "%d ساعات", + "%d ساعة", + "%d ساعة" + ], + d: [ + "أقل من يوم", + "يوم واحد", + ["يومان", "يومين"], + "%d أيام", + "%d يومًا", + "%d يوم" + ], + M: [ + "أقل من شهر", + "شهر واحد", + ["شهران", "شهرين"], + "%d أشهر", + "%d شهرا", + "%d شهر" + ], + y: [ + "أقل من عام", + "عام واحد", + ["عامان", "عامين"], + "%d أعوام", + "%d عامًا", + "%d عام" + ] + }; + var pluralize = function(u) { + return function(number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }; + var months = [ + "يناير", + "فبراير", + "مارس", + "أبريل", + "مايو", + "يونيو", + "يوليو", + "أغسطس", + "سبتمبر", + "أكتوبر", + "نوفمبر", + "ديسمبر" + ]; var ar = moment.defineLocale("ar", { months: months, @@ -35672,13 +35486,15 @@ /***/ }, - /* 212 */ + /* 215 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Arabic (Algeria) [ar-dz] + //! author : Noureddine LOUAHEDJ : https://github.com/noureddineme (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -35741,13 +35557,15 @@ /***/ }, - /* 213 */ + /* 216 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Arabic (Kuwait) [ar-kw] + //! author : Nusret Parlak: https://github.com/nusretparlak (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -35810,13 +35628,15 @@ /***/ }, - /* 214 */ + /* 217 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Arabic (Lybia) [ar-ly] + //! author : Ali Hmer: https://github.com/kikoanis (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -35824,104 +35644,100 @@ "use strict"; var symbolMap = { - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "6": "6", - "7": "7", - "8": "8", - "9": "9", - "0": "0" - }, - pluralForm = function(n) { - return n === 0 - ? 0 - : n === 1 - ? 1 - : n === 2 - ? 2 - : n % 100 >= 3 && n % 100 <= 10 - ? 3 - : n % 100 >= 11 - ? 4 - : 5; - }, - plurals = { - s: [ - "أقل من ثانية", - "ثانية واحدة", - ["ثانيتان", "ثانيتين"], - "%d ثوان", - "%d ثانية", - "%d ثانية" - ], - m: [ - "أقل من دقيقة", - "دقيقة واحدة", - ["دقيقتان", "دقيقتين"], - "%d دقائق", - "%d دقيقة", - "%d دقيقة" - ], - h: [ - "أقل من ساعة", - "ساعة واحدة", - ["ساعتان", "ساعتين"], - "%d ساعات", - "%d ساعة", - "%d ساعة" - ], - d: [ - "أقل من يوم", - "يوم واحد", - ["يومان", "يومين"], - "%d أيام", - "%d يومًا", - "%d يوم" - ], - M: [ - "أقل من شهر", - "شهر واحد", - ["شهران", "شهرين"], - "%d أشهر", - "%d شهرا", - "%d شهر" - ], - y: [ - "أقل من عام", - "عام واحد", - ["عامان", "عامين"], - "%d أعوام", - "%d عامًا", - "%d عام" - ] - }, - pluralize = function(u) { - return function(number, withoutSuffix, string, isFuture) { - var f = pluralForm(number), - str = plurals[u][pluralForm(number)]; - if (f === 2) { - str = str[withoutSuffix ? 0 : 1]; - } - return str.replace(/%d/i, number); - }; - }, - months = [ - "يناير", - "فبراير", - "مارس", - "أبريل", - "مايو", - "يونيو", - "يوليو", - "أغسطس", - "سبتمبر", - "أكتوبر", - "نوفمبر", - "ديسمبر" - ]; + "1": "1", + "2": "2", + "3": "3", + "4": "4", + "5": "5", + "6": "6", + "7": "7", + "8": "8", + "9": "9", + "0": "0" + }; + var pluralForm = function(n) { + return n === 0 + ? 0 + : n === 1 + ? 1 + : n === 2 + ? 2 + : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; + }; + var plurals = { + s: [ + "أقل من ثانية", + "ثانية واحدة", + ["ثانيتان", "ثانيتين"], + "%d ثوان", + "%d ثانية", + "%d ثانية" + ], + m: [ + "أقل من دقيقة", + "دقيقة واحدة", + ["دقيقتان", "دقيقتين"], + "%d دقائق", + "%d دقيقة", + "%d دقيقة" + ], + h: [ + "أقل من ساعة", + "ساعة واحدة", + ["ساعتان", "ساعتين"], + "%d ساعات", + "%d ساعة", + "%d ساعة" + ], + d: [ + "أقل من يوم", + "يوم واحد", + ["يومان", "يومين"], + "%d أيام", + "%d يومًا", + "%d يوم" + ], + M: [ + "أقل من شهر", + "شهر واحد", + ["شهران", "شهرين"], + "%d أشهر", + "%d شهرا", + "%d شهر" + ], + y: [ + "أقل من عام", + "عام واحد", + ["عامان", "عامين"], + "%d أعوام", + "%d عامًا", + "%d عام" + ] + }; + var pluralize = function(u) { + return function(number, withoutSuffix, string, isFuture) { + var f = pluralForm(number), + str = plurals[u][pluralForm(number)]; + if (f === 2) { + str = str[withoutSuffix ? 0 : 1]; + } + return str.replace(/%d/i, number); + }; + }; + var months = [ + "يناير", + "فبراير", + "مارس", + "أبريل", + "مايو", + "يونيو", + "يوليو", + "أغسطس", + "سبتمبر", + "أكتوبر", + "نوفمبر", + "ديسمبر" + ]; var arLy = moment.defineLocale("ar-ly", { months: months, @@ -35996,13 +35812,16 @@ /***/ }, - /* 215 */ + /* 218 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Arabic (Morocco) [ar-ma] + //! author : ElFadili Yassine : https://github.com/ElFadiliY + //! author : Abdel Said : https://github.com/abdelsaid (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36065,13 +35884,15 @@ /***/ }, - /* 216 */ + /* 219 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Arabic (Saudi Arabia) [ar-sa] + //! author : Suhail Alkowaileet : https://github.com/xsoh (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36079,29 +35900,29 @@ "use strict"; var symbolMap = { - "1": "١", - "2": "٢", - "3": "٣", - "4": "٤", - "5": "٥", - "6": "٦", - "7": "٧", - "8": "٨", - "9": "٩", - "0": "٠" - }, - numberMap = { - "١": "1", - "٢": "2", - "٣": "3", - "٤": "4", - "٥": "5", - "٦": "6", - "٧": "7", - "٨": "8", - "٩": "9", - "٠": "0" - }; + "1": "١", + "2": "٢", + "3": "٣", + "4": "٤", + "5": "٥", + "6": "٦", + "7": "٧", + "8": "٨", + "9": "٩", + "0": "٠" + }; + var numberMap = { + "١": "1", + "٢": "2", + "٣": "3", + "٤": "4", + "٥": "5", + "٦": "6", + "٧": "7", + "٨": "8", + "٩": "9", + "٠": "0" + }; var arSa = moment.defineLocale("ar-sa", { months: "يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split( @@ -36184,13 +36005,15 @@ /***/ }, - /* 217 */ + /* 220 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Arabic (Tunisia) [ar-tn] + //! author : Nader Toukabri : https://github.com/naderio (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36253,13 +36076,15 @@ /***/ }, - /* 218 */ + /* 221 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Azerbaijani [az] + //! author : topchiyev : https://github.com/topchiyev (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36369,13 +36194,17 @@ /***/ }, - /* 219 */ + /* 222 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Belarusian [be] + //! author : Dmitry Demidov : https://github.com/demidov91 + //! author: Praleska: http://praleska.pro/ + //! Author : Menelion Elensúle : https://github.com/Oire (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36528,13 +36357,15 @@ /***/ }, - /* 220 */ + /* 223 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Bulgarian [bg] + //! author : Krasen Borisov : https://github.com/kraz (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36628,19 +36459,23 @@ /***/ }, - /* 221 */ + /* 224 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Bambara [bm] + //! author : Estelle Comment : https://github.com/estellecomment (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); })(this, function(moment) { "use strict"; + // Language contact person : Abdoufata Kane : https://github.com/abdoufata + var bm = moment.defineLocale("bm", { months: "Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split( "_" @@ -36694,13 +36529,15 @@ /***/ }, - /* 222 */ + /* 225 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Bengali [bn] + //! author : Kaushik Gandhi : https://github.com/kaushikgandhi (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36708,29 +36545,29 @@ "use strict"; var symbolMap = { - "1": "১", - "2": "২", - "3": "৩", - "4": "৪", - "5": "৫", - "6": "৬", - "7": "৭", - "8": "৮", - "9": "৯", - "0": "০" - }, - numberMap = { - "১": "1", - "২": "2", - "৩": "3", - "৪": "4", - "৫": "5", - "৬": "6", - "৭": "7", - "৮": "8", - "৯": "9", - "০": "0" - }; + "1": "১", + "2": "২", + "3": "৩", + "4": "৪", + "5": "৫", + "6": "৬", + "7": "৭", + "8": "৮", + "9": "৯", + "0": "০" + }; + var numberMap = { + "১": "1", + "২": "2", + "৩": "3", + "৪": "4", + "৫": "5", + "৬": "6", + "৭": "7", + "৮": "8", + "৯": "9", + "০": "0" + }; var bn = moment.defineLocale("bn", { months: "জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split( @@ -36825,13 +36662,15 @@ /***/ }, - /* 223 */ + /* 226 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Tibetan [bo] + //! author : Thupten N. Chakrishar : https://github.com/vajradog (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -36839,29 +36678,29 @@ "use strict"; var symbolMap = { - "1": "༡", - "2": "༢", - "3": "༣", - "4": "༤", - "5": "༥", - "6": "༦", - "7": "༧", - "8": "༨", - "9": "༩", - "0": "༠" - }, - numberMap = { - "༡": "1", - "༢": "2", - "༣": "3", - "༤": "4", - "༥": "5", - "༦": "6", - "༧": "7", - "༨": "8", - "༩": "9", - "༠": "0" - }; + "1": "༡", + "2": "༢", + "3": "༣", + "4": "༤", + "5": "༥", + "6": "༦", + "7": "༧", + "8": "༨", + "9": "༩", + "0": "༠" + }; + var numberMap = { + "༡": "1", + "༢": "2", + "༣": "3", + "༤": "4", + "༥": "5", + "༦": "6", + "༧": "7", + "༨": "8", + "༩": "9", + "༠": "0" + }; var bo = moment.defineLocale("bo", { months: "ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split( @@ -36960,13 +36799,15 @@ /***/ }, - /* 224 */ + /* 227 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Breton [br] + //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37076,13 +36917,16 @@ /***/ }, - /* 225 */ + /* 228 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Bosnian [bs] + //! author : Nedim Cholich : https://github.com/frontyard + //! based on (hr) translation by Bojan Marković (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37237,13 +37081,15 @@ /***/ }, - /* 226 */ + /* 229 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Catalan [ca] + //! author : Juan G. Hurtado : https://github.com/juanghurtado (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37326,11 +37172,7 @@ ? "r" : number === 2 ? "n" - : number === 3 - ? "r" - : number === 4 - ? "t" - : "è"; + : number === 3 ? "r" : number === 4 ? "t" : "è"; if (period === "w" || period === "W") { output = "a"; } @@ -37347,13 +37189,15 @@ /***/ }, - /* 227 */ + /* 230 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Czech [cs] + //! author : petrbela : https://github.com/petrbela (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37361,11 +37205,11 @@ "use strict"; var months = "leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split( - "_" - ), - monthsShort = "led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split( - "_" - ); + "_" + ); + var monthsShort = "led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split( + "_" + ); function plural(n) { return n > 1 && n < 5 && ~~(n / 10) !== 1; } @@ -37545,13 +37389,15 @@ /***/ }, - /* 228 */ + /* 231 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Chuvash [cv] + //! author : Anatoly Mironov : https://github.com/mirontoli (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37590,9 +37436,7 @@ future: function(output) { var affix = /сехет$/i.exec(output) ? "рен" - : /ҫул$/i.exec(output) - ? "тан" - : "ран"; + : /ҫул$/i.exec(output) ? "тан" : "ран"; return output + affix; }, past: "%s каялла", @@ -37622,13 +37466,16 @@ /***/ }, - /* 229 */ + /* 232 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Welsh [cy] + //! author : Robert Allen : https://github.com/robgallen + //! author : https://github.com/ryangreaves (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37731,13 +37578,15 @@ /***/ }, - /* 230 */ + /* 233 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Danish [da] + //! author : Ulrik Nielsen : https://github.com/mrbase (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37801,13 +37650,17 @@ /***/ }, - /* 231 */ + /* 234 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : German [de] + //! author : lluchs : https://github.com/lluchs + //! author: Menelion Elensúle: https://github.com/Oire + //! author : Mikolaj Dadela : https://github.com/mik01aj (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37887,13 +37740,18 @@ /***/ }, - /* 232 */ + /* 235 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : German (Austria) [de-at] + //! author : lluchs : https://github.com/lluchs + //! author: Menelion Elensúle: https://github.com/Oire + //! author : Martin Groller : https://github.com/MadMG + //! author : Mikolaj Dadela : https://github.com/mik01aj (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -37973,19 +37831,23 @@ /***/ }, - /* 233 */ + /* 236 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : German (Switzerland) [de-ch] + //! author : sschueller : https://github.com/sschueller (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); })(this, function(moment) { "use strict"; + // based on: https://www.bk.admin.ch/dokumentation/sprachen/04915/05016/index.html?lang=de# + function processRelativeTime(number, withoutSuffix, key, isFuture) { var format = { m: ["eine Minute", "einer Minute"], @@ -38059,13 +37921,15 @@ /***/ }, - /* 234 */ + /* 237 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Maldivian [dv] + //! author : Jawish Hameed : https://github.com/jawish (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38073,28 +37937,28 @@ "use strict"; var months = [ - "ޖެނުއަރީ", - "ފެބްރުއަރީ", - "މާރިޗު", - "އޭޕްރީލު", - "މޭ", - "ޖޫން", - "ޖުލައި", - "އޯގަސްޓު", - "ސެޕްޓެމްބަރު", - "އޮކްޓޯބަރު", - "ނޮވެމްބަރު", - "ޑިސެމްބަރު" - ], - weekdays = [ - "އާދިއްތަ", - "ހޯމަ", - "އަންގާރަ", - "ބުދަ", - "ބުރާސްފަތި", - "ހުކުރު", - "ހޮނިހިރު" - ]; + "ޖެނުއަރީ", + "ފެބްރުއަރީ", + "މާރިޗު", + "އޭޕްރީލު", + "މޭ", + "ޖޫން", + "ޖުލައި", + "އޯގަސްޓު", + "ސެޕްޓެމްބަރު", + "އޮކްޓޯބަރު", + "ނޮވެމްބަރު", + "ޑިސެމްބަރު" + ]; + var weekdays = [ + "އާދިއްތަ", + "ހޯމަ", + "އަންގާރަ", + "ބުދަ", + "ބުރާސްފަތި", + "ހުކުރު", + "ހޮނިހިރު" + ]; var dv = moment.defineLocale("dv", { months: months, @@ -38162,13 +38026,15 @@ /***/ }, - /* 235 */ + /* 238 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Greek [el] + //! author : Aggelos Karalias : https://github.com/mehiel (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38281,13 +38147,15 @@ /***/ }, - /* 236 */ + /* 239 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : English (Australia) [en-au] + //! author : Jared Morse : https://github.com/jarcoal (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38344,13 +38212,7 @@ output = ~~((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; }, week: { @@ -38364,13 +38226,15 @@ /***/ }, - /* 237 */ + /* 240 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : English (Canada) [en-ca] + //! author : Jonathan Abourbih : https://github.com/jonbca (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38427,13 +38291,7 @@ output = ~~((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; } }); @@ -38443,13 +38301,15 @@ /***/ }, - /* 238 */ + /* 241 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : English (United Kingdom) [en-gb] + //! author : Chris Gedrim : https://github.com/chrisgedrim (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38506,13 +38366,7 @@ output = ~~((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; }, week: { @@ -38526,13 +38380,15 @@ /***/ }, - /* 239 */ + /* 242 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : English (Ireland) [en-ie] + //! author : Chris Cartlidge : https://github.com/chriscartlidge (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38589,13 +38445,7 @@ output = ~~((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; }, week: { @@ -38609,91 +38459,15 @@ /***/ }, - /* 240 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - - (function(global, factory) { - true - ? factory(__webpack_require__(207)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var enIl = moment.defineLocale("en-il", { - months: "January_February_March_April_May_June_July_August_September_October_November_December".split( - "_" - ), - monthsShort: "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split( - "_" - ), - weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split( - "_" - ), - weekdaysShort: "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), - weekdaysMin: "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), - longDateFormat: { - LT: "HH:mm", - LTS: "HH:mm:ss", - L: "DD/MM/YYYY", - LL: "D MMMM YYYY", - LLL: "D MMMM YYYY HH:mm", - LLLL: "dddd, D MMMM YYYY HH:mm" - }, - calendar: { - sameDay: "[Today at] LT", - nextDay: "[Tomorrow at] LT", - nextWeek: "dddd [at] LT", - lastDay: "[Yesterday at] LT", - lastWeek: "[Last] dddd [at] LT", - sameElse: "L" - }, - relativeTime: { - future: "in %s", - past: "%s ago", - s: "a few seconds", - m: "a minute", - mm: "%d minutes", - h: "an hour", - hh: "%d hours", - d: "a day", - dd: "%d days", - M: "a month", - MM: "%d months", - y: "a year", - yy: "%d years" - }, - dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/, - ordinal: function(number) { - var b = number % 10, - output = - ~~((number % 100) / 10) === 1 - ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; - return number + output; - } - }); - - return enIl; - }); - - /***/ - }, - /* 241 */ + /* 243 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : English (New Zealand) [en-nz] + //! author : Luke McGregor : https://github.com/lukemcgregor (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38750,13 +38524,7 @@ output = ~~((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; }, week: { @@ -38770,13 +38538,17 @@ /***/ }, - /* 242 */ + /* 244 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Esperanto [eo] + //! author : Colin Dean : https://github.com/colindean + //! author : Mia Nordentoft Imperatori : https://github.com/miestasmia + //! comment : miestasmia corrected the translation by colindean (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38851,13 +38623,15 @@ /***/ }, - /* 243 */ + /* 245 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Spanish [es] + //! author : Julio Napurí : https://github.com/julionc (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38865,11 +38639,11 @@ "use strict"; var monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split( - "_" - ), - monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split( - "_" - ); + "_" + ); + var monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split( + "_" + ); var monthsParse = [ /^ene/i, @@ -38972,13 +38746,14 @@ /***/ }, - /* 244 */ + /* 246 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Spanish (Dominican Republic) [es-do] (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -38986,11 +38761,11 @@ "use strict"; var monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split( - "_" - ), - monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split( - "_" - ); + "_" + ); + var monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split( + "_" + ); var monthsParse = [ /^ene/i, @@ -39093,13 +38868,15 @@ /***/ }, - /* 245 */ + /* 247 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Spanish (United States) [es-us] + //! author : bustta : https://github.com/bustta (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39107,11 +38884,11 @@ "use strict"; var monthsShortDot = "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split( - "_" - ), - monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split( - "_" - ); + "_" + ); + var monthsShort = "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split( + "_" + ); var esUs = moment.defineLocale("es-us", { months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split( @@ -39192,13 +38969,16 @@ /***/ }, - /* 246 */ + /* 248 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Estonian [et] + //! author : Henry Kehlmann : https://github.com/madhenry + //! improvements : Illimar Tambek : https://github.com/ragulka (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39282,13 +39062,15 @@ /***/ }, - /* 247 */ + /* 249 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Basque [eu] + //! author : Eneko Illarramendi : https://github.com/eillarra (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39358,13 +39140,15 @@ /***/ }, - /* 248 */ + /* 250 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Persian [fa] + //! author : Ebrahim Byagowi : https://github.com/ebraminio (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39372,29 +39156,29 @@ "use strict"; var symbolMap = { - "1": "۱", - "2": "۲", - "3": "۳", - "4": "۴", - "5": "۵", - "6": "۶", - "7": "۷", - "8": "۸", - "9": "۹", - "0": "۰" - }, - numberMap = { - "۱": "1", - "۲": "2", - "۳": "3", - "۴": "4", - "۵": "5", - "۶": "6", - "۷": "7", - "۸": "8", - "۹": "9", - "۰": "0" - }; + "1": "۱", + "2": "۲", + "3": "۳", + "4": "۴", + "5": "۵", + "6": "۶", + "7": "۷", + "8": "۸", + "9": "۹", + "0": "۰" + }; + var numberMap = { + "۱": "1", + "۲": "2", + "۳": "3", + "۴": "4", + "۵": "5", + "۶": "6", + "۷": "7", + "۸": "8", + "۹": "9", + "۰": "0" + }; var fa = moment.defineLocale("fa", { months: "ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split( @@ -39481,13 +39265,15 @@ /***/ }, - /* 249 */ + /* 251 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Finnish [fi] + //! author : Tarmo Aidantausta : https://github.com/bleadof (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39495,20 +39281,20 @@ "use strict"; var numbersPast = "nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split( - " " - ), - numbersFuture = [ - "nolla", - "yhden", - "kahden", - "kolmen", - "neljän", - "viiden", - "kuuden", - numbersPast[7], - numbersPast[8], - numbersPast[9] - ]; + " " + ); + var numbersFuture = [ + "nolla", + "yhden", + "kahden", + "kolmen", + "neljän", + "viiden", + "kuuden", + numbersPast[7], + numbersPast[8], + numbersPast[9] + ]; function translate(number, withoutSuffix, key, isFuture) { var result = ""; switch (key) { @@ -39547,9 +39333,7 @@ } function verbalNumber(number, isFuture) { return number < 10 - ? isFuture - ? numbersFuture[number] - : numbersPast[number] + ? isFuture ? numbersFuture[number] : numbersPast[number] : number; } @@ -39614,13 +39398,15 @@ /***/ }, - /* 250 */ + /* 252 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Faroese [fo] + //! author : Ragnar Johannesen : https://github.com/ragnar123 (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39684,13 +39470,15 @@ /***/ }, - /* 251 */ + /* 253 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : French [fr] + //! author : John Fischer : https://github.com/jfroffice (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39777,13 +39565,15 @@ /***/ }, - /* 252 */ + /* 254 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : French (Canada) [fr-ca] + //! author : Jonathan Abourbih : https://github.com/jonbca (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39861,13 +39651,15 @@ /***/ }, - /* 253 */ + /* 255 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : French (Switzerland) [fr-ch] + //! author : Gaspard Bucher : https://github.com/gaspard (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39949,13 +39741,15 @@ /***/ }, - /* 254 */ + /* 256 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Frisian [fy] + //! author : Robin van der Vliet : https://github.com/robin0van0der0v (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -39963,11 +39757,11 @@ "use strict"; var monthsShortWithDots = "jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split( - "_" - ), - monthsShortWithoutDots = "jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split( - "_" - ); + "_" + ); + var monthsShortWithoutDots = "jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split( + "_" + ); var fy = moment.defineLocale("fy", { months: "jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split( @@ -40039,13 +39833,15 @@ /***/ }, - /* 255 */ + /* 257 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Scottish Gaelic [gd] + //! author : Jon Ashdown : https://github.com/jonashdown (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -40151,13 +39947,15 @@ /***/ }, - /* 256 */ + /* 258 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Galician [gl] + //! author : Juan G. Hurtado : https://github.com/juanghurtado (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -40240,13 +40038,15 @@ /***/ }, - /* 257 */ + /* 259 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Konkani Latin script [gom-latn] + //! author : The Discoverer : https://github.com/WikiDiscoverer (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -40260,7 +40060,7 @@ m: ["eka mintan", "ek minute"], mm: [number + " mintanim", number + " mintam"], h: ["eka horan", "ek hor"], - hh: [number + " horanim", number + " horam"], + hh: [number + " horanim", number + " hor"], d: ["eka disan", "ek dis"], dd: [number + " disanim", number + " dis"], M: ["eka mhoinean", "ek mhoino"], @@ -40373,13 +40173,15 @@ /***/ }, - /* 258 */ + /* 260 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Gujarati [gu] + //! author : Kaushik Thanki : https://github.com/Kaushik1987 (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -40387,29 +40189,29 @@ "use strict"; var symbolMap = { - "1": "૧", - "2": "૨", - "3": "૩", - "4": "૪", - "5": "૫", - "6": "૬", - "7": "૭", - "8": "૮", - "9": "૯", - "0": "૦" - }, - numberMap = { - "૧": "1", - "૨": "2", - "૩": "3", - "૪": "4", - "૫": "5", - "૬": "6", - "૭": "7", - "૮": "8", - "૯": "9", - "૦": "0" - }; + "1": "૧", + "2": "૨", + "3": "૩", + "4": "૪", + "5": "૫", + "6": "૬", + "7": "૭", + "8": "૮", + "9": "૯", + "0": "૦" + }; + var numberMap = { + "૧": "1", + "૨": "2", + "૩": "3", + "૪": "4", + "૫": "5", + "૬": "6", + "૭": "7", + "૮": "8", + "૯": "9", + "૦": "0" + }; var gu = moment.defineLocale("gu", { months: "જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split( @@ -40507,13 +40309,17 @@ /***/ }, - /* 259 */ + /* 261 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Hebrew [he] + //! author : Tomer Cohen : https://github.com/tomer + //! author : Moshe Simantov : https://github.com/DevelopmentIL + //! author : Tal Ater : https://github.com/TalAter (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -40612,13 +40418,15 @@ /***/ }, - /* 260 */ + /* 262 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Hindi [hi] + //! author : Mayank Singhal : https://github.com/mayanksinghal (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -40626,29 +40434,29 @@ "use strict"; var symbolMap = { - "1": "१", - "2": "२", - "3": "३", - "4": "४", - "5": "५", - "6": "६", - "7": "७", - "8": "८", - "9": "९", - "0": "०" - }, - numberMap = { - "१": "1", - "२": "2", - "३": "3", - "४": "4", - "५": "5", - "६": "6", - "७": "7", - "८": "8", - "९": "9", - "०": "0" - }; + "1": "१", + "2": "२", + "3": "३", + "4": "४", + "5": "५", + "6": "६", + "7": "७", + "8": "८", + "9": "९", + "0": "०" + }; + var numberMap = { + "१": "1", + "२": "2", + "३": "3", + "४": "4", + "५": "5", + "६": "6", + "७": "7", + "८": "8", + "९": "9", + "०": "0" + }; var hi = moment.defineLocale("hi", { months: "जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split( @@ -40746,13 +40554,15 @@ /***/ }, - /* 261 */ + /* 263 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Croatian [hr] + //! author : Bojan Marković : https://github.com/bmarkovic (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -40912,13 +40722,15 @@ /***/ }, - /* 262 */ + /* 264 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Hungarian [hu] + //! author : Adam Brunner : https://github.com/adambrunner (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41045,13 +40857,15 @@ /***/ }, - /* 263 */ + /* 265 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Armenian [hy-am] + //! author : Armendarabyan : https://github.com/armendarabyan (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41152,13 +40966,16 @@ /***/ }, - /* 264 */ + /* 266 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Indonesian [id] + //! author : Mohammad Satrio Utomo : https://github.com/tyok + //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41169,7 +40986,7 @@ months: "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split( "_" ), - monthsShort: "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split( + monthsShort: "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split( "_" ), weekdays: "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"), @@ -41242,13 +41059,15 @@ /***/ }, - /* 265 */ + /* 267 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Icelandic [is] + //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41395,13 +41214,16 @@ /***/ }, - /* 266 */ + /* 268 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Italian [it] + //! author : Lorenzo : https://github.com/aliem + //! author: Mattia Larentis: https://github.com/nostalgiaz (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41474,13 +41296,15 @@ /***/ }, - /* 267 */ + /* 269 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Japanese [ja] + //! author : LI Long : https://github.com/baryon (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41505,11 +41329,11 @@ L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日 HH:mm", - LLLL: "YYYY年M月D日 dddd HH:mm", + LLLL: "YYYY年M月D日 HH:mm dddd", l: "YYYY/MM/DD", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", - llll: "YYYY年M月D日(ddd) HH:mm" + llll: "YYYY年M月D日 HH:mm dddd" }, meridiemParse: /午前|午後/i, isPM: function(input) { @@ -41525,21 +41349,9 @@ calendar: { sameDay: "[今日] LT", nextDay: "[明日] LT", - nextWeek: function(now) { - if (now.week() < this.week()) { - return "[来週]dddd LT"; - } else { - return "dddd LT"; - } - }, + nextWeek: "[来週]dddd LT", lastDay: "[昨日] LT", - lastWeek: function(now) { - if (this.week() < now.week()) { - return "[先週]dddd LT"; - } else { - return "dddd LT"; - } - }, + lastWeek: "[前週]dddd LT", sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}日/, @@ -41576,13 +41388,16 @@ /***/ }, - /* 268 */ + /* 270 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Javanese [jv] + //! author : Rony Lantip : https://github.com/lantip + //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41666,13 +41481,15 @@ /***/ }, - /* 269 */ + /* 271 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Georgian [ka] + //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41726,10 +41543,10 @@ }, past: function(s) { if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) { - return s.replace(/(ი|ე)$/, "ის წინ"); + return s.replace(/(ი|ე)$/, "ის უკან"); } if (/წელი/.test(s)) { - return s.replace(/წელი$/, "წლის წინ"); + return s.replace(/წელი$/, "წლის უკან"); } }, s: "რამდენიმე წამი", @@ -41773,13 +41590,15 @@ /***/ }, - /* 270 */ + /* 272 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Kazakh [kk] + //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41870,44 +41689,21 @@ /***/ }, - /* 271 */ + /* 273 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Cambodian [km] + //! author : Kruy Vanna : https://github.com/kruyvanna (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); })(this, function(moment) { "use strict"; - var symbolMap = { - "1": "១", - "2": "២", - "3": "៣", - "4": "៤", - "5": "៥", - "6": "៦", - "7": "៧", - "8": "៨", - "9": "៩", - "0": "០" - }, - numberMap = { - "១": "1", - "២": "2", - "៣": "3", - "៤": "4", - "៥": "5", - "៦": "6", - "៧": "7", - "៨": "8", - "៩": "9", - "០": "0" - }; - var km = moment.defineLocale("km", { months: "មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split( "_" @@ -41916,9 +41712,12 @@ "_" ), weekdays: "អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"), - weekdaysShort: "អា_ច_អ_ព_ព្រ_សុ_ស".split("_"), - weekdaysMin: "អា_ច_អ_ព_ព្រ_សុ_ស".split("_"), - weekdaysParseExact: true, + weekdaysShort: "អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split( + "_" + ), + weekdaysMin: "អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split( + "_" + ), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", @@ -41927,17 +41726,6 @@ LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" }, - meridiemParse: /ព្រឹក|ល្ងាច/, - isPM: function(input) { - return input === "ល្ងាច"; - }, - meridiem: function(hour, minute, isLower) { - if (hour < 12) { - return "ព្រឹក"; - } else { - return "ល្ងាច"; - } - }, calendar: { sameDay: "[ថ្ងៃនេះ ម៉ោង] LT", nextDay: "[ស្អែក ម៉ោង] LT", @@ -41962,18 +41750,6 @@ y: "មួយឆ្នាំ", yy: "%d ឆ្នាំ" }, - dayOfMonthOrdinalParse: /ទី\d{1,2}/, - ordinal: "ទី%d", - preparse: function(string) { - return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function(match) { - return numberMap[match]; - }); - }, - postformat: function(string) { - return string.replace(/\d/g, function(match) { - return symbolMap[match]; - }); - }, week: { dow: 1, // Monday is the first day of the week. doy: 4 // The week that contains Jan 4th is the first week of the year. @@ -41985,13 +41761,15 @@ /***/ }, - /* 272 */ + /* 274 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Kannada [kn] + //! author : Rajeev Naik : https://github.com/rajeevnaikte (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -41999,35 +41777,35 @@ "use strict"; var symbolMap = { - "1": "೧", - "2": "೨", - "3": "೩", - "4": "೪", - "5": "೫", - "6": "೬", - "7": "೭", - "8": "೮", - "9": "೯", - "0": "೦" - }, - numberMap = { - "೧": "1", - "೨": "2", - "೩": "3", - "೪": "4", - "೫": "5", - "೬": "6", - "೭": "7", - "೮": "8", - "೯": "9", - "೦": "0" - }; + "1": "೧", + "2": "೨", + "3": "೩", + "4": "೪", + "5": "೫", + "6": "೬", + "7": "೭", + "8": "೮", + "9": "೯", + "0": "೦" + }; + var numberMap = { + "೧": "1", + "೨": "2", + "೩": "3", + "೪": "4", + "೫": "5", + "೬": "6", + "೭": "7", + "೮": "8", + "೯": "9", + "೦": "0" + }; var kn = moment.defineLocale("kn", { months: "ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split( "_" ), - monthsShort: "ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split( + monthsShort: "ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬ_ಅಕ್ಟೋಬ_ನವೆಂಬ_ಡಿಸೆಂಬ".split( "_" ), monthsParseExact: true, @@ -42121,13 +41899,16 @@ /***/ }, - /* 273 */ + /* 275 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Korean [ko] + //! author : Kyungwook, Park : https://github.com/kyungw00k + //! author : Jeeeyul Lee (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42149,11 +41930,11 @@ longDateFormat: { LT: "A h:mm", LTS: "A h:mm:ss", - L: "YYYY.MM.DD.", + L: "YYYY.MM.DD", LL: "YYYY년 MMMM D일", LLL: "YYYY년 MMMM D일 A h:mm", LLLL: "YYYY년 MMMM D일 dddd A h:mm", - l: "YYYY.MM.DD.", + l: "YYYY.MM.DD", ll: "YYYY년 MMMM D일", lll: "YYYY년 MMMM D일 A h:mm", llll: "YYYY년 MMMM D일 dddd A h:mm" @@ -42212,13 +41993,15 @@ /***/ }, - /* 274 */ + /* 276 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Kyrgyz [ky] + //! author : Chyngyz Arystan uulu : https://github.com/chyngyz (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42309,13 +42092,16 @@ /***/ }, - /* 275 */ + /* 277 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Luxembourgish [lb] + //! author : mweimerskirch : https://github.com/mweimerskirch + //! author : David Raison : https://github.com/kwisatz (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42456,13 +42242,15 @@ /***/ }, - /* 276 */ + /* 278 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Lao [lo] + //! author : Ryan Hart : https://github.com/ryanhart2 (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42534,13 +42322,15 @@ /***/ }, - /* 277 */ + /* 279 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Lithuanian [lt] + //! author : Mindaugas Mozūras : https://github.com/mmozuras (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42570,9 +42360,7 @@ function translateSingular(number, withoutSuffix, key, isFuture) { return withoutSuffix ? forms(key)[0] - : isFuture - ? forms(key)[1] - : forms(key)[2]; + : isFuture ? forms(key)[1] : forms(key)[2]; } function special(number) { return number % 10 === 0 || (number > 10 && number < 20); @@ -42673,13 +42461,16 @@ /***/ }, - /* 278 */ + /* 280 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Latvian [lv] + //! author : Kristaps Karlsons : https://github.com/skakri + //! author : Jānis Elmeris : https://github.com/JanisE (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42784,13 +42575,15 @@ /***/ }, - /* 279 */ + /* 281 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Montenegrin [me] + //! author : Miodrag Nikač : https://github.com/miodragnikac (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42812,9 +42605,7 @@ correctGrammaticalCase: function(number, wordKey) { return number === 1 ? wordKey[0] - : number >= 2 && number <= 4 - ? wordKey[1] - : wordKey[2]; + : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]; }, translate: function(number, withoutSuffix, key) { var wordKey = translator.words[key]; @@ -42915,13 +42706,15 @@ /***/ }, - /* 280 */ + /* 282 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Maori [mi] + //! author : John Corrigan : https://github.com/johnideal (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -42989,13 +42782,15 @@ /***/ }, - /* 281 */ + /* 283 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Macedonian [mk] + //! author : Borislav Mickov : https://github.com/B0k0 (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43089,13 +42884,15 @@ /***/ }, - /* 282 */ + /* 284 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Malayalam [ml] + //! author : Floyd Pink : https://github.com/floydpink (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43182,125 +42979,16 @@ /***/ }, - /* 283 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - - (function(global, factory) { - true - ? factory(__webpack_require__(207)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - function translate(number, withoutSuffix, key, isFuture) { - switch (key) { - case "s": - return withoutSuffix ? "хэдхэн секунд" : "хэдхэн секундын"; - case "ss": - return number + (withoutSuffix ? " секунд" : " секундын"); - case "m": - case "mm": - return number + (withoutSuffix ? " минут" : " минутын"); - case "h": - case "hh": - return number + (withoutSuffix ? " цаг" : " цагийн"); - case "d": - case "dd": - return number + (withoutSuffix ? " өдөр" : " өдрийн"); - case "M": - case "MM": - return number + (withoutSuffix ? " сар" : " сарын"); - case "y": - case "yy": - return number + (withoutSuffix ? " жил" : " жилийн"); - default: - return number; - } - } - - var mn = moment.defineLocale("mn", { - months: "Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split( - "_" - ), - monthsShort: "1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split( - "_" - ), - monthsParseExact: true, - weekdays: "Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"), - weekdaysShort: "Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"), - weekdaysMin: "Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"), - weekdaysParseExact: true, - longDateFormat: { - LT: "HH:mm", - LTS: "HH:mm:ss", - L: "YYYY-MM-DD", - LL: "YYYY оны MMMMын D", - LLL: "YYYY оны MMMMын D HH:mm", - LLLL: "dddd, YYYY оны MMMMын D HH:mm" - }, - meridiemParse: /ҮӨ|ҮХ/i, - isPM: function(input) { - return input === "ҮХ"; - }, - meridiem: function(hour, minute, isLower) { - if (hour < 12) { - return "ҮӨ"; - } else { - return "ҮХ"; - } - }, - calendar: { - sameDay: "[Өнөөдөр] LT", - nextDay: "[Маргааш] LT", - nextWeek: "[Ирэх] dddd LT", - lastDay: "[Өчигдөр] LT", - lastWeek: "[Өнгөрсөн] dddd LT", - sameElse: "L" - }, - relativeTime: { - future: "%s дараа", - past: "%s өмнө", - s: translate, - ss: translate, - m: translate, - mm: translate, - h: translate, - hh: translate, - d: translate, - dd: translate, - M: translate, - MM: translate, - y: translate, - yy: translate - }, - dayOfMonthOrdinalParse: /\d{1,2} өдөр/, - ordinal: function(number, period) { - switch (period) { - case "d": - case "D": - case "DDD": - return number + " өдөр"; - default: - return number; - } - } - }); - - return mn; - }); - - /***/ - }, - /* 284 */ + /* 285 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Marathi [mr] + //! author : Harshad Kale : https://github.com/kalehv + //! author : Vivek Athalye : https://github.com/vnathalye (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43308,29 +42996,29 @@ "use strict"; var symbolMap = { - "1": "१", - "2": "२", - "3": "३", - "4": "४", - "5": "५", - "6": "६", - "7": "७", - "8": "८", - "9": "९", - "0": "०" - }, - numberMap = { - "१": "1", - "२": "2", - "३": "3", - "४": "4", - "५": "5", - "६": "6", - "७": "7", - "८": "8", - "९": "9", - "०": "0" - }; + "1": "१", + "2": "२", + "3": "३", + "4": "४", + "5": "५", + "6": "६", + "7": "७", + "8": "८", + "9": "९", + "0": "०" + }; + var numberMap = { + "१": "1", + "२": "2", + "३": "3", + "४": "4", + "५": "5", + "६": "6", + "७": "7", + "८": "8", + "९": "9", + "०": "0" + }; function relativeTimeMr(number, withoutSuffix, string, isFuture) { var output = ""; @@ -43510,13 +43198,15 @@ /***/ }, - /* 285 */ + /* 286 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Malay [ms] + //! author : Weldan Jamili : https://github.com/weldan (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43600,13 +43290,16 @@ /***/ }, - /* 286 */ + /* 287 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Malay [ms-my] + //! note : DEPRECATED, the correct one is [ms] + //! author : Weldan Jamili : https://github.com/weldan (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43690,13 +43383,15 @@ /***/ }, - /* 287 */ + /* 288 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Maltese (Malta) [mt] + //! author : Alessandro Maruccia : https://github.com/alesma (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43760,13 +43455,17 @@ /***/ }, - /* 288 */ + /* 289 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Burmese [my] + //! author : Squar team, mysquar.com + //! author : David Rossellat : https://github.com/gholadr + //! author : Tin Aung Lin : https://github.com/thanyawzinmin (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43774,29 +43473,29 @@ "use strict"; var symbolMap = { - "1": "၁", - "2": "၂", - "3": "၃", - "4": "၄", - "5": "၅", - "6": "၆", - "7": "၇", - "8": "၈", - "9": "၉", - "0": "၀" - }, - numberMap = { - "၁": "1", - "၂": "2", - "၃": "3", - "၄": "4", - "၅": "5", - "၆": "6", - "၇": "7", - "၈": "8", - "၉": "9", - "၀": "0" - }; + "1": "၁", + "2": "၂", + "3": "၃", + "4": "၄", + "5": "၅", + "6": "၆", + "7": "၇", + "8": "၈", + "9": "၉", + "0": "၀" + }; + var numberMap = { + "၁": "1", + "၂": "2", + "၃": "3", + "၄": "4", + "၅": "5", + "၆": "6", + "၇": "7", + "၈": "8", + "၉": "9", + "၀": "0" + }; var my = moment.defineLocale("my", { months: "ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split( @@ -43864,13 +43563,16 @@ /***/ }, - /* 289 */ + /* 290 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Norwegian Bokmål [nb] + //! authors : Espen Hovlandsdal : https://github.com/rexxars + //! Sigurd Gartmann : https://github.com/sigurdga (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43936,13 +43638,15 @@ /***/ }, - /* 290 */ + /* 291 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Nepalese [ne] + //! author : suvash : https://github.com/suvash (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -43950,29 +43654,29 @@ "use strict"; var symbolMap = { - "1": "१", - "2": "२", - "3": "३", - "4": "४", - "5": "५", - "6": "६", - "7": "७", - "8": "८", - "9": "९", - "0": "०" - }, - numberMap = { - "१": "1", - "२": "2", - "३": "3", - "४": "4", - "५": "5", - "६": "6", - "७": "7", - "८": "8", - "९": "9", - "०": "0" - }; + "1": "१", + "2": "२", + "3": "३", + "4": "४", + "5": "५", + "6": "६", + "7": "७", + "8": "८", + "9": "९", + "0": "०" + }; + var numberMap = { + "१": "1", + "२": "2", + "३": "3", + "४": "4", + "५": "5", + "६": "6", + "७": "7", + "८": "8", + "९": "9", + "०": "0" + }; var ne = moment.defineLocale("ne", { months: "जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split( @@ -44069,13 +43773,16 @@ /***/ }, - /* 291 */ + /* 292 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Dutch [nl] + //! author : Joris Röling : https://github.com/jorisroling + //! author : Jacob Middag : https://github.com/middagj (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44083,11 +43790,11 @@ "use strict"; var monthsShortWithDots = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split( - "_" - ), - monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split( - "_" - ); + "_" + ); + var monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split( + "_" + ); var monthsParse = [ /^jan/i, @@ -44184,13 +43891,16 @@ /***/ }, - /* 292 */ + /* 293 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Dutch (Belgium) [nl-be] + //! author : Joris Röling : https://github.com/jorisroling + //! author : Jacob Middag : https://github.com/middagj (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44198,11 +43908,11 @@ "use strict"; var monthsShortWithDots = "jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split( - "_" - ), - monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split( - "_" - ); + "_" + ); + var monthsShortWithoutDots = "jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split( + "_" + ); var monthsParse = [ /^jan/i, @@ -44299,13 +44009,15 @@ /***/ }, - /* 293 */ + /* 294 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Nynorsk [nn] + //! author : https://github.com/mechuwind (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44369,13 +44081,15 @@ /***/ }, - /* 294 */ + /* 295 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Punjabi (India) [pa-in] + //! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44383,29 +44097,29 @@ "use strict"; var symbolMap = { - "1": "੧", - "2": "੨", - "3": "੩", - "4": "੪", - "5": "੫", - "6": "੬", - "7": "੭", - "8": "੮", - "9": "੯", - "0": "੦" - }, - numberMap = { - "੧": "1", - "੨": "2", - "੩": "3", - "੪": "4", - "੫": "5", - "੬": "6", - "੭": "7", - "੮": "8", - "੯": "9", - "੦": "0" - }; + "1": "੧", + "2": "੨", + "3": "੩", + "4": "੪", + "5": "੫", + "6": "੬", + "7": "੭", + "8": "੮", + "9": "੯", + "0": "੦" + }; + var numberMap = { + "੧": "1", + "੨": "2", + "੩": "3", + "੪": "4", + "੫": "5", + "੬": "6", + "੭": "7", + "੮": "8", + "੯": "9", + "੦": "0" + }; var paIn = moment.defineLocale("pa-in", { // There are months name as per Nanakshahi Calender but they are not used as rigidly in modern Punjabi. @@ -44503,13 +44217,15 @@ /***/ }, - /* 295 */ + /* 296 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Polish [pl] + //! author : Rafal Hirsz : https://github.com/evoL (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44517,11 +44233,11 @@ "use strict"; var monthsNominative = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split( - "_" - ), - monthsSubjective = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split( - "_" - ); + "_" + ); + var monthsSubjective = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split( + "_" + ); function plural(n) { return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1; } @@ -44647,13 +44363,15 @@ /***/ }, - /* 296 */ + /* 297 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Portuguese [pt] + //! author : Jefferson : https://github.com/jalex79 (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44722,13 +44440,15 @@ /***/ }, - /* 297 */ + /* 298 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Portuguese (Brazil) [pt-br] + //! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44770,7 +44490,7 @@ }, relativeTime: { future: "em %s", - past: "há %s", + past: "%s atrás", s: "poucos segundos", ss: "%d segundos", m: "um minuto", @@ -44793,13 +44513,16 @@ /***/ }, - /* 298 */ + /* 299 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Romanian [ro] + //! author : Vlad Gurdiga : https://github.com/gurdiga + //! author : Valentin Agachi : https://github.com/avaly (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44878,13 +44601,17 @@ /***/ }, - /* 299 */ + /* 300 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Russian [ru] + //! author : Viktorminator : https://github.com/Viktorminator + //! Author : Menelion Elensúle : https://github.com/Oire + //! author : Коренберг Марк : https://github.com/socketpair (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -44989,28 +44716,28 @@ LLLL: "dddd, D MMMM YYYY г., H:mm" }, calendar: { - sameDay: "[Сегодня, в] LT", - nextDay: "[Завтра, в] LT", - lastDay: "[Вчера, в] LT", + sameDay: "[Сегодня в] LT", + nextDay: "[Завтра в] LT", + lastDay: "[Вчера в] LT", nextWeek: function(now) { if (now.week() !== this.week()) { switch (this.day()) { case 0: - return "[В следующее] dddd, [в] LT"; + return "[В следующее] dddd [в] LT"; case 1: case 2: case 4: - return "[В следующий] dddd, [в] LT"; + return "[В следующий] dddd [в] LT"; case 3: case 5: case 6: - return "[В следующую] dddd, [в] LT"; + return "[В следующую] dddd [в] LT"; } } else { if (this.day() === 2) { - return "[Во] dddd, [в] LT"; + return "[Во] dddd [в] LT"; } else { - return "[В] dddd, [в] LT"; + return "[В] dddd [в] LT"; } } }, @@ -45018,21 +44745,21 @@ if (now.week() !== this.week()) { switch (this.day()) { case 0: - return "[В прошлое] dddd, [в] LT"; + return "[В прошлое] dddd [в] LT"; case 1: case 2: case 4: - return "[В прошлый] dddd, [в] LT"; + return "[В прошлый] dddd [в] LT"; case 3: case 5: case 6: - return "[В прошлую] dddd, [в] LT"; + return "[В прошлую] dddd [в] LT"; } } else { if (this.day() === 2) { - return "[Во] dddd, [в] LT"; + return "[Во] dddd [в] LT"; } else { - return "[В] dddd, [в] LT"; + return "[В] dddd [в] LT"; } } }, @@ -45096,13 +44823,15 @@ /***/ }, - /* 300 */ + /* 301 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Sindhi [sd] + //! author : Narain Sagar : https://github.com/narainsagar (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45190,13 +44919,15 @@ /***/ }, - /* 301 */ + /* 302 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Northern Sami [se] + //! authors : Bård Rolstad Henriksen : https://github.com/karamell (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45260,13 +44991,15 @@ /***/ }, - /* 302 */ + /* 303 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Sinhalese [si] + //! author : Sampath Sitinamaluwa : https://github.com/sampathsris (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45341,13 +45074,16 @@ /***/ }, - /* 303 */ + /* 304 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Slovak [sk] + //! author : Martin Minka : https://github.com/k2s + //! based on work of petrbela : https://github.com/petrbela (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45355,11 +45091,11 @@ "use strict"; var months = "január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split( - "_" - ), - monthsShort = "jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split( - "_" - ); + "_" + ); + var monthsShort = "jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split( + "_" + ); function plural(n) { return n > 1 && n < 5; } @@ -45507,13 +45243,15 @@ /***/ }, - /* 304 */ + /* 305 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Slovenian [sl] + //! author : Robert Sedovšek : https://github.com/sedovsek (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45692,13 +45430,17 @@ /***/ }, - /* 305 */ + /* 306 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Albanian [sq] + //! author : Flakërim Ismani : https://github.com/flakerimi + //! author : Menelion Elensúle : https://github.com/Oire + //! author : Oerd Cukalla : https://github.com/oerd (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45770,13 +45512,15 @@ /***/ }, - /* 306 */ + /* 307 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Serbian [sr] + //! author : Milan Janačković : https://github.com/milan-j (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45798,9 +45542,7 @@ correctGrammaticalCase: function(number, wordKey) { return number === 1 ? wordKey[0] - : number >= 2 && number <= 4 - ? wordKey[1] - : wordKey[2]; + : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]; }, translate: function(number, withoutSuffix, key) { var wordKey = translator.words[key]; @@ -45900,13 +45642,15 @@ /***/ }, - /* 307 */ + /* 308 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Serbian Cyrillic [sr-cyrl] + //! author : Milan Janačković : https://github.com/milan-j (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -45928,9 +45672,7 @@ correctGrammaticalCase: function(number, wordKey) { return number === 1 ? wordKey[0] - : number >= 2 && number <= 4 - ? wordKey[1] - : wordKey[2]; + : number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]; }, translate: function(number, withoutSuffix, key) { var wordKey = translator.words[key]; @@ -46030,13 +45772,15 @@ /***/ }, - /* 308 */ + /* 309 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : siSwati [ss] + //! author : Nicolai Davies : https://github.com/nicolaidavies (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46128,13 +45872,15 @@ /***/ }, - /* 309 */ + /* 310 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Swedish [sv] + //! author : Jens Alm : https://github.com/ulmus (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46193,13 +45939,7 @@ output = ~~((number % 100) / 10) === 1 ? "e" - : b === 1 - ? "a" - : b === 2 - ? "a" - : b === 3 - ? "e" - : "e"; + : b === 1 ? "a" : b === 2 ? "a" : b === 3 ? "e" : "e"; return number + output; }, week: { @@ -46213,13 +45953,15 @@ /***/ }, - /* 310 */ + /* 311 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Swahili [sw] + //! author : Fahad Kassim : https://github.com/fadsel (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46282,13 +46024,15 @@ /***/ }, - /* 311 */ + /* 312 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Tamil [ta] + //! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46296,29 +46040,29 @@ "use strict"; var symbolMap = { - "1": "௧", - "2": "௨", - "3": "௩", - "4": "௪", - "5": "௫", - "6": "௬", - "7": "௭", - "8": "௮", - "9": "௯", - "0": "௦" - }, - numberMap = { - "௧": "1", - "௨": "2", - "௩": "3", - "௪": "4", - "௫": "5", - "௬": "6", - "௭": "7", - "௮": "8", - "௯": "9", - "௦": "0" - }; + "1": "௧", + "2": "௨", + "3": "௩", + "4": "௪", + "5": "௫", + "6": "௬", + "7": "௭", + "8": "௮", + "9": "௯", + "0": "௦" + }; + var numberMap = { + "௧": "1", + "௨": "2", + "௩": "3", + "௪": "4", + "௫": "5", + "௬": "6", + "௭": "7", + "௮": "8", + "௯": "9", + "௦": "0" + }; var ta = moment.defineLocale("ta", { months: "ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split( @@ -46424,13 +46168,15 @@ /***/ }, - /* 312 */ + /* 313 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Telugu [te] + //! author : Krishna Chaitanya Thota : https://github.com/kcthota (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46523,13 +46269,16 @@ /***/ }, - /* 313 */ + /* 314 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Tetun Dili (East Timor) [tet] + //! author : Joshua Brooks : https://github.com/joshbrooks + //! author : Onorio De J. Afonso : https://github.com/marobo (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46537,17 +46286,17 @@ "use strict"; var tet = moment.defineLocale("tet", { - months: "Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split( + months: "Janeiru_Fevereiru_Marsu_Abril_Maiu_Juniu_Juliu_Augustu_Setembru_Outubru_Novembru_Dezembru".split( "_" ), - monthsShort: "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split( + monthsShort: "Jan_Fev_Mar_Abr_Mai_Jun_Jul_Aug_Set_Out_Nov_Dez".split( "_" ), - weekdays: "Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split( + weekdays: "Domingu_Segunda_Tersa_Kuarta_Kinta_Sexta_Sabadu".split( "_" ), - weekdaysShort: "Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"), - weekdaysMin: "Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"), + weekdaysShort: "Dom_Seg_Ters_Kua_Kint_Sext_Sab".split("_"), + weekdaysMin: "Do_Seg_Te_Ku_Ki_Sex_Sa".split("_"), longDateFormat: { LT: "HH:mm", LTS: "HH:mm:ss", @@ -46570,9 +46319,9 @@ s: "minutu balun", ss: "minutu %d", m: "minutu ida", - mm: "minutu %d", - h: "oras ida", - hh: "oras %d", + mm: "minutus %d", + h: "horas ida", + hh: "horas %d", d: "loron ida", dd: "loron %d", M: "fulan ida", @@ -46586,13 +46335,7 @@ output = ~~((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; }, week: { @@ -46606,139 +46349,15 @@ /***/ }, - /* 314 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js locale configuration - - (function(global, factory) { - true - ? factory(__webpack_require__(207)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var suffixes = { - 0: "-ум", - 1: "-ум", - 2: "-юм", - 3: "-юм", - 4: "-ум", - 5: "-ум", - 6: "-ум", - 7: "-ум", - 8: "-ум", - 9: "-ум", - 10: "-ум", - 12: "-ум", - 13: "-ум", - 20: "-ум", - 30: "-юм", - 40: "-ум", - 50: "-ум", - 60: "-ум", - 70: "-ум", - 80: "-ум", - 90: "-ум", - 100: "-ум" - }; - - var tg = moment.defineLocale("tg", { - months: "январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split( - "_" - ), - monthsShort: "янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split( - "_" - ), - weekdays: "якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split( - "_" - ), - weekdaysShort: "яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"), - weekdaysMin: "яш_дш_сш_чш_пш_ҷм_шб".split("_"), - longDateFormat: { - LT: "HH:mm", - LTS: "HH:mm:ss", - L: "DD/MM/YYYY", - LL: "D MMMM YYYY", - LLL: "D MMMM YYYY HH:mm", - LLLL: "dddd, D MMMM YYYY HH:mm" - }, - calendar: { - sameDay: "[Имрӯз соати] LT", - nextDay: "[Пагоҳ соати] LT", - lastDay: "[Дирӯз соати] LT", - nextWeek: "dddd[и] [ҳафтаи оянда соати] LT", - lastWeek: "dddd[и] [ҳафтаи гузашта соати] LT", - sameElse: "L" - }, - relativeTime: { - future: "баъди %s", - past: "%s пеш", - s: "якчанд сония", - m: "як дақиқа", - mm: "%d дақиқа", - h: "як соат", - hh: "%d соат", - d: "як рӯз", - dd: "%d рӯз", - M: "як моҳ", - MM: "%d моҳ", - y: "як сол", - yy: "%d сол" - }, - meridiemParse: /шаб|субҳ|рӯз|бегоҳ/, - meridiemHour: function(hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if (meridiem === "шаб") { - return hour < 4 ? hour : hour + 12; - } else if (meridiem === "субҳ") { - return hour; - } else if (meridiem === "рӯз") { - return hour >= 11 ? hour : hour + 12; - } else if (meridiem === "бегоҳ") { - return hour + 12; - } - }, - meridiem: function(hour, minute, isLower) { - if (hour < 4) { - return "шаб"; - } else if (hour < 11) { - return "субҳ"; - } else if (hour < 16) { - return "рӯз"; - } else if (hour < 19) { - return "бегоҳ"; - } else { - return "шаб"; - } - }, - dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/, - ordinal: function(number) { - var a = number % 10, - b = number >= 100 ? 100 : null; - return number + (suffixes[number] || suffixes[a] || suffixes[b]); - }, - week: { - dow: 1, // Monday is the first day of the week. - doy: 7 // The week that contains Jan 1th is the first week of the year. - } - }); - - return tg; - }); - - /***/ - }, /* 315 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Thai [th] + //! author : Kridsada Thanabulpong : https://github.com/sirn (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46812,10 +46431,12 @@ /* 316 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Tagalog (Philippines) [tl-ph] + //! author : Dan Hagman : https://github.com/hagmandan (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -46884,10 +46505,12 @@ /* 317 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Klingon [tlh] + //! author : Dominika Kruk : https://github.com/amaranthrose (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47023,9 +46646,14 @@ }, /* 318 */ /***/ function(module, exports, __webpack_require__) { + //! moment.js locale configuration + //! locale : Turkish [tr] + //! authors : Erhan Gundogan : https://github.com/erhangundogan, + //! Burak Yiğit Kaya: https://github.com/BYK + (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47097,23 +46725,16 @@ y: "bir yıl", yy: "%d yıl" }, - ordinal: function(number, period) { - switch (period) { - case "d": - case "D": - case "Do": - case "DD": - return number; - default: - if (number === 0) { - // special case for zero - return number + "'ıncı"; - } - var a = number % 10, - b = number % 100 - a, - c = number >= 100 ? 100 : null; - return number + (suffixes[a] || suffixes[b] || suffixes[c]); + dayOfMonthOrdinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/, + ordinal: function(number) { + if (number === 0) { + // special case for zero + return number + "'ıncı"; } + var a = number % 10, + b = number % 100 - a, + c = number >= 100 ? 100 : null; + return number + (suffixes[a] || suffixes[b] || suffixes[c]); }, week: { dow: 1, // Monday is the first day of the week. @@ -47129,10 +46750,13 @@ /* 319 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Talossan [tzl] + //! author : Robin van der Vliet : https://github.com/robin0van0der0v + //! author : Iustì Canun (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47221,9 +46845,7 @@ }; return isFuture ? format[key][0] - : withoutSuffix - ? format[key][0] - : format[key][1]; + : withoutSuffix ? format[key][0] : format[key][1]; } return tzl; @@ -47234,10 +46856,12 @@ /* 320 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Central Atlas Tamazight [tzm] + //! author : Abdel Said : https://github.com/abdelsaid (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47306,10 +46930,12 @@ /* 321 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Central Atlas Tamazight Latin [tzm-latn] + //! author : Abdel Said : https://github.com/abdelsaid (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47376,135 +47002,15 @@ /***/ }, /* 322 */ - /***/ function(module, exports, __webpack_require__) { - //! moment.js language configuration - - (function(global, factory) { - true - ? factory(__webpack_require__(207)) - : typeof define === "function" && define.amd - ? define(["../moment"], factory) - : factory(global.moment); - })(this, function(moment) { - "use strict"; - - var ugCn = moment.defineLocale("ug-cn", { - months: "يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split( - "_" - ), - monthsShort: "يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split( - "_" - ), - weekdays: "يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split( - "_" - ), - weekdaysShort: "يە_دۈ_سە_چا_پە_جۈ_شە".split("_"), - weekdaysMin: "يە_دۈ_سە_چا_پە_جۈ_شە".split("_"), - longDateFormat: { - LT: "HH:mm", - LTS: "HH:mm:ss", - L: "YYYY-MM-DD", - LL: "YYYY-يىلىM-ئاينىڭD-كۈنى", - LLL: "YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm", - LLLL: "dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm" - }, - meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/, - meridiemHour: function(hour, meridiem) { - if (hour === 12) { - hour = 0; - } - if ( - meridiem === "يېرىم كېچە" || - meridiem === "سەھەر" || - meridiem === "چۈشتىن بۇرۇن" - ) { - return hour; - } else if (meridiem === "چۈشتىن كېيىن" || meridiem === "كەچ") { - return hour + 12; - } else { - return hour >= 11 ? hour : hour + 12; - } - }, - meridiem: function(hour, minute, isLower) { - var hm = hour * 100 + minute; - if (hm < 600) { - return "يېرىم كېچە"; - } else if (hm < 900) { - return "سەھەر"; - } else if (hm < 1130) { - return "چۈشتىن بۇرۇن"; - } else if (hm < 1230) { - return "چۈش"; - } else if (hm < 1800) { - return "چۈشتىن كېيىن"; - } else { - return "كەچ"; - } - }, - calendar: { - sameDay: "[بۈگۈن سائەت] LT", - nextDay: "[ئەتە سائەت] LT", - nextWeek: "[كېلەركى] dddd [سائەت] LT", - lastDay: "[تۆنۈگۈن] LT", - lastWeek: "[ئالدىنقى] dddd [سائەت] LT", - sameElse: "L" - }, - relativeTime: { - future: "%s كېيىن", - past: "%s بۇرۇن", - s: "نەچچە سېكونت", - ss: "%d سېكونت", - m: "بىر مىنۇت", - mm: "%d مىنۇت", - h: "بىر سائەت", - hh: "%d سائەت", - d: "بىر كۈن", - dd: "%d كۈن", - M: "بىر ئاي", - MM: "%d ئاي", - y: "بىر يىل", - yy: "%d يىل" - }, - - dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/, - ordinal: function(number, period) { - switch (period) { - case "d": - case "D": - case "DDD": - return number + "-كۈنى"; - case "w": - case "W": - return number + "-ھەپتە"; - default: - return number; - } - }, - preparse: function(string) { - return string.replace(/،/g, ","); - }, - postformat: function(string) { - return string.replace(/,/g, "،"); - }, - week: { - // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效 - dow: 1, // Monday is the first day of the week. - doy: 7 // The week that contains Jan 1st is the first week of the year. - } - }); - - return ugCn; - }); - - /***/ - }, - /* 323 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Ukrainian [uk] + //! author : zemlanin : https://github.com/zemlanin + //! Author : Menelion Elensúle : https://github.com/Oire (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47673,13 +47179,16 @@ /***/ }, - /* 324 */ + /* 323 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Urdu [ur] + //! author : Sawood Alam : https://github.com/ibnesayeed + //! author : Zack : https://github.com/ZackVision (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47767,13 +47276,15 @@ /***/ }, - /* 325 */ + /* 324 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Uzbek [uz] + //! author : Sardor Muminov : https://github.com/muminoff (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47835,13 +47346,15 @@ /***/ }, - /* 326 */ + /* 325 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Uzbek Latin [uz-latn] + //! author : Rasulbek Mirzayev : github.com/Rasulbeeek (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47903,13 +47416,15 @@ /***/ }, - /* 327 */ + /* 326 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Vietnamese [vi] + //! author : Bang Nguyen : https://github.com/bangnk (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -47992,13 +47507,15 @@ /***/ }, - /* 328 */ + /* 327 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Pseudo [x-pseudo] + //! author : Andrew Hood : https://github.com/andrewhood125 (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -48056,13 +47573,7 @@ output = ~~((number % 100) / 10) === 1 ? "th" - : b === 1 - ? "st" - : b === 2 - ? "nd" - : b === 3 - ? "rd" - : "th"; + : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th"; return number + output; }, week: { @@ -48076,13 +47587,15 @@ /***/ }, - /* 329 */ + /* 328 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Yoruba Nigeria [yo] + //! author : Atolagbe Abisoye : https://github.com/andela-batolagbe (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -48144,13 +47657,16 @@ /***/ }, - /* 330 */ + /* 329 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Chinese (China) [zh-cn] + //! author : suupic : https://github.com/suupic + //! author : Zeno Zeng : https://github.com/zenozeng (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -48267,13 +47783,17 @@ /***/ }, - /* 331 */ + /* 330 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Chinese (Hong Kong) [zh-hk] + //! author : Ben : https://github.com/ben-lin + //! author : Chris Lam : https://github.com/hehachris + //! author : Konstantin : https://github.com/skfd (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -48384,13 +47904,16 @@ /***/ }, - /* 332 */ + /* 331 */ /***/ function(module, exports, __webpack_require__) { //! moment.js locale configuration + //! locale : Chinese (Taiwan) [zh-tw] + //! author : Ben : https://github.com/ben-lin + //! author : Chris Lam : https://github.com/hehachris (function(global, factory) { true - ? factory(__webpack_require__(207)) + ? factory(__webpack_require__(210)) : typeof define === "function" && define.amd ? define(["../moment"], factory) : factory(global.moment); @@ -48455,11 +47978,11 @@ } }, calendar: { - sameDay: "[今天] LT", - nextDay: "[明天] LT", - nextWeek: "[下]dddd LT", - lastDay: "[昨天] LT", - lastWeek: "[上]dddd LT", + sameDay: "[今天]LT", + nextDay: "[明天]LT", + nextWeek: "[下]ddddLT", + lastDay: "[昨天]LT", + lastWeek: "[上]ddddLT", sameElse: "L" }, dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/, @@ -48501,7 +48024,7 @@ /***/ }, - /* 333 */ + /* 332 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -48515,17 +48038,17 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _month_dropdown_options = __webpack_require__(334); + var _month_dropdown_options = __webpack_require__(333); var _month_dropdown_options2 = _interopRequireDefault( _month_dropdown_options ); - var _reactOnclickoutside = __webpack_require__(205); + var _reactOnclickoutside = __webpack_require__(208); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); var utils = _interopRequireWildcard(_date_utils); @@ -48756,7 +48279,7 @@ /***/ }, - /* 334 */ + /* 333 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -48894,7 +48417,7 @@ /***/ }, - /* 335 */ + /* 334 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -48908,17 +48431,17 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _month_year_dropdown_options = __webpack_require__(336); + var _month_year_dropdown_options = __webpack_require__(335); var _month_year_dropdown_options2 = _interopRequireDefault( _month_year_dropdown_options ); - var _reactOnclickoutside = __webpack_require__(205); + var _reactOnclickoutside = __webpack_require__(208); var _reactOnclickoutside2 = _interopRequireDefault(_reactOnclickoutside); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -49172,7 +48695,7 @@ /***/ }, - /* 336 */ + /* 335 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -49186,11 +48709,11 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(204); + var _classnames = __webpack_require__(207); var _classnames2 = _interopRequireDefault(_classnames); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -49344,7 +48867,7 @@ /***/ }, - /* 337 */ + /* 336 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -49358,15 +48881,15 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(204); + var _classnames = __webpack_require__(207); var _classnames2 = _interopRequireDefault(_classnames); - var _week = __webpack_require__(338); + var _week = __webpack_require__(337); var _week2 = _interopRequireDefault(_week); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); var utils = _interopRequireWildcard(_date_utils); @@ -49602,7 +49125,7 @@ /***/ }, - /* 338 */ + /* 337 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -49616,15 +49139,15 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _day = __webpack_require__(339); + var _day = __webpack_require__(338); var _day2 = _interopRequireDefault(_day); - var _week_number = __webpack_require__(340); + var _week_number = __webpack_require__(339); var _week_number2 = _interopRequireDefault(_week_number); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); var utils = _interopRequireWildcard(_date_utils); @@ -49821,7 +49344,7 @@ /***/ }, - /* 339 */ + /* 338 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -49835,11 +49358,11 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(204); + var _classnames = __webpack_require__(207); var _classnames2 = _interopRequireDefault(_classnames); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -50137,7 +49660,7 @@ /***/ }, - /* 340 */ + /* 339 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -50151,7 +49674,7 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _classnames = __webpack_require__(204); + var _classnames = __webpack_require__(207); var _classnames2 = _interopRequireDefault(_classnames); @@ -50256,7 +49779,7 @@ /***/ }, - /* 341 */ + /* 340 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -50287,7 +49810,7 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _date_utils = __webpack_require__(206); + var _date_utils = __webpack_require__(209); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -50484,6 +50007,8 @@ return _react2.default.createElement( "div", { + id: this.props.id, + role: "listbox", className: "react-datepicker__time-container " + (this.props.todayButton @@ -50498,7 +50023,10 @@ }, _react2.default.createElement( "div", - { className: "react-datepicker-time__header" }, + { + id: this.props.id + "-header", + className: "react-datepicker-time__header" + }, this.props.timeCaption ) ), @@ -50507,7 +50035,10 @@ { className: "react-datepicker__time" }, _react2.default.createElement( "div", - { className: "react-datepicker__time-box" }, + { + "aria-labelledby": this.props.id + "-header", + className: "react-datepicker__time-box" + }, _react2.default.createElement( "ul", { @@ -50532,7 +50063,12 @@ intervals: 30, onTimeChange: function onTimeChange() {}, todayButton: null, - timeCaption: "Time" + timeCaption: "Time", + id: + "react-datepicker__time-" + + Math.random() + .toString(36) + .substr(2) }; } } @@ -50553,13 +50089,14 @@ excludeTimes: _propTypes2.default.array, monthRef: _propTypes2.default.object, timeCaption: _propTypes2.default.string, - injectTimes: _propTypes2.default.array + injectTimes: _propTypes2.default.array, + id: _propTypes2.default.string }; exports.default = Time; /***/ }, - /* 342 */ + /* 341 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -50583,7 +50120,7 @@ }; })(); - var _classnames = __webpack_require__(204); + var _classnames = __webpack_require__(207); var _classnames2 = _interopRequireDefault(_classnames); @@ -50595,7 +50132,7 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _reactPopper = __webpack_require__(343); + var _reactPopper = __webpack_require__(342); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; @@ -50690,7 +50227,8 @@ { className: classes, modifiers: popperModifiers, - placement: popperPlacement + placement: popperPlacement, + "aria-hidden": "true" }, popperComponent ); @@ -50751,51 +50289,29 @@ /***/ }, - /* 343 */ + /* 342 */ /***/ function(module, exports, __webpack_require__) { "use strict"; - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.Arrow = exports.Popper = exports.Target = exports.Manager = undefined; - - var _Manager2 = __webpack_require__(344); - - var _Manager3 = _interopRequireDefault(_Manager2); - - var _Target2 = __webpack_require__(345); - - var _Target3 = _interopRequireDefault(_Target2); - - var _Popper2 = __webpack_require__(346); - - var _Popper3 = _interopRequireDefault(_Popper2); - - var _Arrow2 = __webpack_require__(348); - - var _Arrow3 = _interopRequireDefault(_Arrow2); + Object.defineProperty(exports, "__esModule", { value: true }); - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; + function _interopDefault(ex) { + return ex && typeof ex === "object" && "default" in ex + ? ex["default"] + : ex; } - exports.Manager = _Manager3.default; - exports.Target = _Target3.default; - exports.Popper = _Popper3.default; - exports.Arrow = _Arrow3.default; - - /***/ - }, - /* 344 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; + var react = __webpack_require__(2); + var PropTypes = _interopDefault(__webpack_require__(343)); + var PopperJS = _interopDefault(__webpack_require__(346)); - Object.defineProperty(exports, "__esModule", { - value: true - }); + var classCallCheck = function(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + }; - var _createClass = (function() { + var createClass = (function() { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; @@ -50805,6 +50321,7 @@ Object.defineProperty(target, descriptor.key, descriptor); } } + return function(Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); @@ -50812,52 +50329,30 @@ }; })(); - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(200); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - - function _objectWithoutProperties(obj, keys) { - var target = {}; - for (var i in obj) { - if (keys.indexOf(i) >= 0) continue; - if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; - target[i] = obj[i]; - } - return target; - } + var _extends = + Object.assign || + function(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; - function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } - } + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } - function _possibleConstructorReturn(self, call) { - if (!self) { - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called" - ); - } - return call && (typeof call === "object" || typeof call === "function") - ? call - : self; - } + return target; + }; - function _inherits(subClass, superClass) { + var inherits = function(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError( "Super expression must either be null or a function, not " + typeof superClass ); } + subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, @@ -50870,17 +50365,41 @@ Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : (subClass.__proto__ = superClass); - } + }; + + var objectWithoutProperties = function(obj, keys) { + var target = {}; + + for (var i in obj) { + if (keys.indexOf(i) >= 0) continue; + if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; + target[i] = obj[i]; + } + + return target; + }; + + var possibleConstructorReturn = function(self, call) { + if (!self) { + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ); + } + + return call && (typeof call === "object" || typeof call === "function") + ? call + : self; + }; var Manager = (function(_Component) { - _inherits(Manager, _Component); + inherits(Manager, _Component); function Manager() { var _ref; var _temp, _this, _ret; - _classCallCheck(this, Manager); + classCallCheck(this, Manager); for ( var _len = arguments.length, args = Array(_len), _key = 0; @@ -50891,7 +50410,7 @@ } return ( - (_ret = ((_temp = ((_this = _possibleConstructorReturn( + (_ret = ((_temp = ((_this = possibleConstructorReturn( this, (_ref = Manager.__proto__ || Object.getPrototypeOf(Manager)).call.apply( @@ -50907,11 +50426,11 @@ return _this._targetNode; }), _temp)), - _possibleConstructorReturn(_this, _ret) + possibleConstructorReturn(_this, _ret) ); } - _createClass(Manager, [ + createClass(Manager, [ { key: "getChildContext", value: function getChildContext() { @@ -50929,94 +50448,45 @@ var _props = this.props, tag = _props.tag, children = _props.children, - restProps = _objectWithoutProperties(_props, [ + restProps = objectWithoutProperties(_props, [ "tag", "children" ]); if (tag !== false) { - return (0, _react.createElement)(tag, restProps, children); + return react.createElement(tag, restProps, children); } else { return children; } } } ]); - return Manager; - })(_react.Component); + })(react.Component); Manager.childContextTypes = { - popperManager: _propTypes2.default.object.isRequired - }; - Manager.propTypes = { - tag: _propTypes2.default.oneOfType([ - _propTypes2.default.string, - _propTypes2.default.bool - ]) + popperManager: PropTypes.object.isRequired }; Manager.defaultProps = { tag: "div" }; - exports.default = Manager; - - /***/ - }, - /* 345 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = - Object.assign || - function(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } + Manager.propTypes = false + ? { + tag: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]), + children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]) } - return target; - }; - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(200); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - - function _objectWithoutProperties(obj, keys) { - var target = {}; - for (var i in obj) { - if (keys.indexOf(i) >= 0) continue; - if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; - target[i] = obj[i]; - } - return target; - } + : {}; var Target = function Target(props, context) { var _props$component = props.component, component = _props$component === undefined ? "div" : _props$component, innerRef = props.innerRef, children = props.children, - restProps = _objectWithoutProperties(props, [ + restProps = objectWithoutProperties(props, [ "component", "innerRef", "children" ]); - var popperManager = context.popperManager; var targetRef = function targetRef(node) { @@ -51039,159 +50509,30 @@ componentProps.innerRef = targetRef; } - return (0, _react.createElement)(component, componentProps, children); + return react.createElement(component, componentProps, children); }; Target.contextTypes = { - popperManager: _propTypes2.default.object.isRequired + popperManager: PropTypes.object.isRequired }; Target.propTypes = { - component: _propTypes2.default.oneOfType([ - _propTypes2.default.node, - _propTypes2.default.func - ]), - innerRef: _propTypes2.default.func, - children: _propTypes2.default.oneOfType([ - _propTypes2.default.node, - _propTypes2.default.func - ]) + component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), + innerRef: PropTypes.func, + children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]) }; - exports.default = Target; - - /***/ - }, - /* 346 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = - Object.assign || - function(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - return target; - }; - - var _createClass = (function() { - function defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } - } - return function(Constructor, protoProps, staticProps) { - if (protoProps) defineProperties(Constructor.prototype, protoProps); - if (staticProps) defineProperties(Constructor, staticProps); - return Constructor; - }; - })(); - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(200); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - var _popper = __webpack_require__(347); - - var _popper2 = _interopRequireDefault(_popper); - - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - - function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } - - function _objectWithoutProperties(obj, keys) { - var target = {}; - for (var i in obj) { - if (keys.indexOf(i) >= 0) continue; - if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; - target[i] = obj[i]; - } - return target; - } - - function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } - } - - function _possibleConstructorReturn(self, call) { - if (!self) { - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called" - ); - } - return call && (typeof call === "object" || typeof call === "function") - ? call - : self; - } - - function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError( - "Super expression must either be null or a function, not " + - typeof superClass - ); - } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - enumerable: false, - writable: true, - configurable: true - } - }); - if (superClass) - Object.setPrototypeOf - ? Object.setPrototypeOf(subClass, superClass) - : (subClass.__proto__ = superClass); - } - - var noop = function noop() { - return null; - }; + var placements = PopperJS.placements; var Popper = (function(_Component) { - _inherits(Popper, _Component); + inherits(Popper, _Component); function Popper() { var _ref; var _temp, _this, _ret; - _classCallCheck(this, Popper); + classCallCheck(this, Popper); for ( var _len = arguments.length, args = Array(_len), _key = 0; @@ -51202,7 +50543,7 @@ } return ( - (_ret = ((_temp = ((_this = _possibleConstructorReturn( + (_ret = ((_temp = ((_this = possibleConstructorReturn( this, (_ref = Popper.__proto__ || Object.getPrototypeOf(Popper)).call.apply( @@ -51216,6 +50557,16 @@ _this._arrowNode = node; }), (_this._getTargetNode = function() { + if (_this.props.target) { + return _this.props.target; + } else if ( + !_this.context.popperManager || + !_this.context.popperManager.getTargetNode() + ) { + throw new Error( + "Target missing. Popper must be given a target from the Popper Manager, or as a prop." + ); + } return _this.context.popperManager.getTargetNode(); }), (_this._getOffsets = function(data) { @@ -51246,9 +50597,6 @@ (_this._getPopperStyle = function() { var data = _this.state.data; - // If Popper isn't instantiated, hide the popperElement - // to avoid flash of unstyled content - if (!_this._popper || !data) { return { position: "absolute", @@ -51257,22 +50605,15 @@ }; } - var _data$offsets$popper = data.offsets.popper, - top = _data$offsets$popper.top, - left = _data$offsets$popper.left, - position = _data$offsets$popper.position; - return _extends( { - position: position + position: data.offsets.popper.position }, data.styles ); }), (_this._getPopperPlacement = function() { - return !!_this.state.data - ? _this.state.data.placement - : undefined; + return _this.state.data ? _this.state.data.placement : undefined; }), (_this._getPopperHide = function() { return !!_this.state.data && _this.state.data.hide @@ -51290,12 +50631,26 @@ return { top: top, left: left }; } }), + (_this._handlePopperRef = function(node) { + _this._popperNode = node; + if (node) { + _this._createPopper(); + } else { + _this._destroyPopper(); + } + if (_this.props.innerRef) { + _this.props.innerRef(node); + } + }), + (_this._scheduleUpdate = function() { + _this._popper && _this._popper.scheduleUpdate(); + }), _temp)), - _possibleConstructorReturn(_this, _ret) + possibleConstructorReturn(_this, _ret) ); } - _createClass(Popper, [ + createClass(Popper, [ { key: "getChildContext", value: function getChildContext() { @@ -51307,24 +50662,19 @@ }; } }, - { - key: "componentDidMount", - value: function componentDidMount() { - this._updatePopper(); - } - }, { key: "componentDidUpdate", value: function componentDidUpdate(lastProps) { if ( lastProps.placement !== this.props.placement || - lastProps.eventsEnabled !== this.props.eventsEnabled + lastProps.eventsEnabled !== this.props.eventsEnabled || + lastProps.target !== this.props.target ) { - this._updatePopper(); + this._destroyPopper(); + this._createPopper(); } - - if (this._popper && lastProps.children !== this.props.children) { - this._popper.scheduleUpdate(); + if (lastProps.children !== this.props.children) { + this._scheduleUpdate(); } } }, @@ -51334,18 +50684,11 @@ this._destroyPopper(); } }, - { - key: "_updatePopper", - value: function _updatePopper() { - this._destroyPopper(); - if (this._node) { - this._createPopper(); - } - } - }, { key: "_createPopper", value: function _createPopper() { + var _this2 = this; + var _props = this.props, placement = _props.placement, eventsEnabled = _props.eventsEnabled; @@ -51354,16 +50697,18 @@ applyStyle: { enabled: false }, updateState: this._updateStateModifier }); - if (this._arrowNode) { - modifiers.arrow = { - element: this._arrowNode - }; + modifiers.arrow = _extends( + {}, + this.props.modifiers.arrow || {}, + { + element: this._arrowNode + } + ); } - - this._popper = new _popper2.default( + this._popper = new PopperJS( this._getTargetNode(), - this._node, + this._popperNode, { placement: placement, eventsEnabled: eventsEnabled, @@ -51371,9 +50716,10 @@ } ); - // schedule an update to make sure everything gets positioned correct - // after being instantiated - this._popper.scheduleUpdate(); + // TODO: look into setTimeout scheduleUpdate call, without it, the popper will not position properly on creation + setTimeout(function() { + return _this2._scheduleUpdate(); + }); } }, { @@ -51387,8 +50733,6 @@ { key: "render", value: function render() { - var _this2 = this; - var _props2 = this.props, component = _props2.component, innerRef = _props2.innerRef, @@ -51396,7 +50740,7 @@ eventsEnabled = _props2.eventsEnabled, modifiers = _props2.modifiers, children = _props2.children, - restProps = _objectWithoutProperties(_props2, [ + restProps = objectWithoutProperties(_props2, [ "component", "innerRef", "placement", @@ -51405,38 +50749,21 @@ "children" ]); - var popperRef = function popperRef(node) { - _this2._node = node; - if (typeof innerRef === "function") { - innerRef(node); - } - }; var popperStyle = this._getPopperStyle(); var popperPlacement = this._getPopperPlacement(); var popperHide = this._getPopperHide(); if (typeof children === "function") { - var _popperProps; - - var popperProps = ((_popperProps = { - ref: popperRef, - style: popperStyle - }), - _defineProperty( - _popperProps, - "data-placement", - popperPlacement - ), - _defineProperty( - _popperProps, - "data-x-out-of-boundaries", - popperHide - ), - _popperProps); + var popperProps = { + ref: this._handlePopperRef, + style: popperStyle, + "data-placement": popperPlacement, + "data-x-out-of-boundaries": popperHide + }; return children({ popperProps: popperProps, restProps: restProps, - scheduleUpdate: this._popper && this._popper.scheduleUpdate + scheduleUpdate: this._scheduleUpdate }); } @@ -51447,42 +50774,23 @@ }); if (typeof component === "string") { - componentProps.ref = popperRef; + componentProps.ref = this._handlePopperRef; } else { - componentProps.innerRef = popperRef; + componentProps.innerRef = this._handlePopperRef; } - return (0, _react.createElement)( - component, - componentProps, - children - ); + return react.createElement(component, componentProps, children); } } ]); - return Popper; - })(_react.Component); + })(react.Component); Popper.contextTypes = { - popperManager: _propTypes2.default.object.isRequired + popperManager: PropTypes.object }; Popper.childContextTypes = { - popper: _propTypes2.default.object.isRequired - }; - Popper.propTypes = { - component: _propTypes2.default.oneOfType([ - _propTypes2.default.node, - _propTypes2.default.func - ]), - innerRef: _propTypes2.default.func, - placement: _propTypes2.default.oneOf(_popper2.default.placements), - eventsEnabled: _propTypes2.default.bool, - modifiers: _propTypes2.default.object, - children: _propTypes2.default.oneOfType([ - _propTypes2.default.node, - _propTypes2.default.func - ]) + popper: PropTypes.object.isRequired }; Popper.defaultProps = { component: "div", @@ -51490,16 +50798,98 @@ eventsEnabled: true, modifiers: {} }; - exports.default = Popper; + Popper.propTypes = false + ? { + component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), + innerRef: PropTypes.func, + placement: PropTypes.oneOf(placements), + eventsEnabled: PropTypes.bool, + modifiers: PropTypes.object, + children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), + target: PropTypes.oneOfType([ + PropTypes.instanceOf(Element), + PropTypes.shape({ + getBoundingClientRect: PropTypes.func.isRequired, + clientWidth: PropTypes.number.isRequired, + clientHeight: PropTypes.number.isRequired + }) + ]) + } + : {}; + + var Arrow = function Arrow(props, context) { + var _props$component = props.component, + component = + _props$component === undefined ? "span" : _props$component, + innerRef = props.innerRef, + children = props.children, + restProps = objectWithoutProperties(props, [ + "component", + "innerRef", + "children" + ]); + var popper = context.popper; + + var arrowRef = function arrowRef(node) { + popper.setArrowNode(node); + if (typeof innerRef === "function") { + innerRef(node); + } + }; + var arrowStyle = popper.getArrowStyle(); + + if (typeof children === "function") { + var arrowProps = { + ref: arrowRef, + style: arrowStyle + }; + return children({ arrowProps: arrowProps, restProps: restProps }); + } + + var componentProps = _extends({}, restProps, { + style: _extends({}, arrowStyle, restProps.style) + }); + + if (typeof component === "string") { + componentProps.ref = arrowRef; + } else { + componentProps.innerRef = arrowRef; + } + + return react.createElement(component, componentProps, children); + }; + + Arrow.contextTypes = { + popper: PropTypes.object.isRequired + }; + + Arrow.propTypes = { + component: PropTypes.oneOfType([PropTypes.node, PropTypes.func]), + innerRef: PropTypes.func, + children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]) + }; + + exports.Manager = Manager; + exports.Target = Target; + exports.Popper = Popper; + exports.placements = placements; + exports.Arrow = Arrow; + //# sourceMappingURL=react-popper.js.map /***/ }, - /* 347 */ + /* 343 */ + [398, 344], + /* 344 */ + [399, 345], + /* 345 */ + 203, + /* 346 */ /***/ function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */ (function(global) { /**! * @fileOverview Kickass library to create and place poppers near their reference elements. - * @version 1.14.3 + * @version 1.14.1 * @license * Copyright (c) 2016 Federico Zivolo and contributors * @@ -51532,7 +50922,6 @@ var isBrowser = typeof window !== "undefined" && typeof document !== "undefined"; - var longerTimeoutBrowsers = ["Edge", "Trident", "Firefox"]; var timeoutDuration = 0; for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { @@ -51667,27 +51056,47 @@ return getScrollParent(getParentNode(element)); } - var isIE11 = - isBrowser && - !!(window.MSInputMethodContext && document.documentMode); - var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent); - /** - * Determines if the browser is Internet Explorer + * Tells if you are running Internet Explorer * @method * @memberof Popper.Utils - * @param {Number} version to check + * @argument {number} version to check * @returns {Boolean} isIE */ - function isIE(version) { - if (version === 11) { - return isIE11; + var cache = {}; + + var isIE = function() { + var version = + arguments.length > 0 && arguments[0] !== undefined + ? arguments[0] + : "all"; + + version = version.toString(); + if (cache.hasOwnProperty(version)) { + return cache[version]; } - if (version === 10) { - return isIE10; + switch (version) { + case "11": + cache[version] = navigator.userAgent.indexOf("Trident") !== -1; + break; + case "10": + cache[version] = navigator.appVersion.indexOf("MSIE 10") !== -1; + break; + case "all": + cache[version] = + navigator.userAgent.indexOf("Trident") !== -1 || + navigator.userAgent.indexOf("MSIE") !== -1; + break; } - return isIE11 || isIE10; - } + + //Set IE + cache.all = + cache.all || + Object.keys(cache).some(function(key) { + return cache[key]; + }); + return cache[version]; + }; /** * Returns the offset parent of the given element @@ -52595,7 +52004,6 @@ data.offsets.reference, data.placement ); - data.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute"; @@ -52964,13 +52372,11 @@ position: popper.position }; - // Avoid blurry text by using full pixel integers. - // For pixel-perfect positioning, top/bottom prefers rounded - // values, while left/right prefers floored values. + // floor sides to avoid blurry text var offsets = { left: Math.floor(popper.left), - top: Math.round(popper.top), - bottom: Math.round(popper.bottom), + top: Math.floor(popper.top), + bottom: Math.floor(popper.bottom), right: Math.floor(popper.right) }; @@ -53562,14 +52968,11 @@ // Convert the values with units to absolute pixels to allow our computations ops = ops.map(function(op, index) { // Most of the units rely on the orientation of the popper - var measurement = (index === 1 - ? !useHeight - : useHeight) + var measurement = (index === 1 ? !useHeight : useHeight) ? "height" : "width"; var mergeWithPrevious = false; - return ( - op + return (op // This aggregates any `+` or `-` sign that aren't considered operators // e.g.: 10 + +5 => [10, +, +5] .reduce(function(a, b) { @@ -53596,8 +52999,7 @@ popperOffsets, referenceOffsets ); - }) - ); + }) ); }); // Loop trough the offsets arrays and execute the operations @@ -53673,19 +53075,6 @@ boundariesElement = getOffsetParent(boundariesElement); } - // NOTE: DOM access here - // resets the popper's position so that the document size can be calculated excluding - // the size of the popper element itself - var transformProp = getSupportedPropertyName("transform"); - var popperStyles = data.instance.popper.style; // assignment to help minification - var top = popperStyles.top, - left = popperStyles.left, - transform = popperStyles[transformProp]; - - popperStyles.top = ""; - popperStyles.left = ""; - popperStyles[transformProp] = ""; - var boundaries = getBoundaries( data.instance.popper, data.instance.reference, @@ -53693,13 +53082,6 @@ boundariesElement, data.positionFixed ); - - // NOTE: DOM access here - // restores the original style properties after the offsets have been computed - popperStyles.top = top; - popperStyles.left = left; - popperStyles[transformProp] = transform; - options.boundaries = boundaries; var order = options.priority; @@ -54481,114 +53863,7 @@ /***/ }, - /* 348 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _extends = - Object.assign || - function(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i]; - for (var key in source) { - if (Object.prototype.hasOwnProperty.call(source, key)) { - target[key] = source[key]; - } - } - } - return target; - }; - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _propTypes = __webpack_require__(200); - - var _propTypes2 = _interopRequireDefault(_propTypes); - - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } - - function _objectWithoutProperties(obj, keys) { - var target = {}; - for (var i in obj) { - if (keys.indexOf(i) >= 0) continue; - if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; - target[i] = obj[i]; - } - return target; - } - - var Arrow = function Arrow(props, context) { - var _props$component = props.component, - component = - _props$component === undefined ? "span" : _props$component, - innerRef = props.innerRef, - children = props.children, - restProps = _objectWithoutProperties(props, [ - "component", - "innerRef", - "children" - ]); - - var popper = context.popper; - - var arrowRef = function arrowRef(node) { - popper.setArrowNode(node); - if (typeof innerRef === "function") { - innerRef(node); - } - }; - var arrowStyle = popper.getArrowStyle(); - - if (typeof children === "function") { - var arrowProps = { - ref: arrowRef, - style: arrowStyle - }; - return children({ arrowProps: arrowProps, restProps: restProps }); - } - - var componentProps = _extends({}, restProps, { - style: _extends({}, arrowStyle, restProps.style) - }); - - if (typeof component === "string") { - componentProps.ref = arrowRef; - } else { - componentProps.innerRef = arrowRef; - } - - return (0, _react.createElement)(component, componentProps, children); - }; - - Arrow.contextTypes = { - popper: _propTypes2.default.object.isRequired - }; - - Arrow.propTypes = { - component: _propTypes2.default.oneOfType([ - _propTypes2.default.node, - _propTypes2.default.func - ]), - innerRef: _propTypes2.default.func, - children: _propTypes2.default.oneOfType([ - _propTypes2.default.node, - _propTypes2.default.func - ]) - }; - - exports.default = Arrow; - - /***/ - }, - /* 349 */ + /* 347 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -54685,7 +53960,7 @@ /***/ }, - /* 350 */ + /* 348 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -54695,11 +53970,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -54810,7 +54085,7 @@ /***/ }, - /* 351 */ + /* 349 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -54820,11 +54095,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -54925,7 +54200,7 @@ /***/ }, - /* 352 */ + /* 350 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -54935,11 +54210,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -55040,7 +54315,7 @@ /***/ }, - /* 353 */ + /* 351 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55050,11 +54325,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -55159,7 +54434,7 @@ /***/ }, - /* 354 */ + /* 352 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55170,7 +54445,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -55203,7 +54478,7 @@ /***/ }, - /* 355 */ + /* 353 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55213,11 +54488,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -55353,7 +54628,7 @@ /***/ }, - /* 356 */ + /* 354 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55363,7 +54638,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -55489,7 +54764,7 @@ /***/ }, - /* 357 */ + /* 355 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55499,11 +54774,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -55632,7 +54907,7 @@ /***/ }, - /* 358 */ + /* 356 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55642,11 +54917,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -55776,7 +55051,7 @@ /***/ }, - /* 359 */ + /* 357 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55786,11 +55061,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -55961,7 +55236,7 @@ /***/ }, - /* 360 */ + /* 358 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -55971,11 +55246,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -56104,7 +55379,7 @@ /***/ }, - /* 361 */ + /* 359 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -56114,7 +55389,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -56244,7 +55519,7 @@ /***/ }, - /* 362 */ + /* 360 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -56254,7 +55529,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -56369,7 +55644,7 @@ /***/ }, - /* 363 */ + /* 361 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -56379,11 +55654,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -56497,7 +55772,7 @@ /***/ }, - /* 364 */ + /* 362 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -56507,11 +55782,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -56613,7 +55888,7 @@ /***/ }, - /* 365 */ + /* 363 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -56623,7 +55898,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -56765,7 +56040,7 @@ /***/ }, - /* 366 */ + /* 364 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -56775,11 +56050,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -56892,7 +56167,7 @@ /***/ }, - /* 367 */ + /* 365 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -56902,11 +56177,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57033,7 +56308,7 @@ /***/ }, - /* 368 */ + /* 366 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57043,11 +56318,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57162,7 +56437,7 @@ /***/ }, - /* 369 */ + /* 367 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57172,11 +56447,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57277,7 +56552,7 @@ /***/ }, - /* 370 */ + /* 368 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57287,11 +56562,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57395,7 +56670,7 @@ /***/ }, - /* 371 */ + /* 369 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57405,11 +56680,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57510,7 +56785,7 @@ /***/ }, - /* 372 */ + /* 370 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57520,11 +56795,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57628,7 +56903,7 @@ /***/ }, - /* 373 */ + /* 371 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57638,11 +56913,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57744,7 +57019,7 @@ /***/ }, - /* 374 */ + /* 372 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57754,11 +57029,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57862,7 +57137,7 @@ /***/ }, - /* 375 */ + /* 373 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57872,11 +57147,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -57977,7 +57252,7 @@ /***/ }, - /* 376 */ + /* 374 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -57987,7 +57262,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -58192,7 +57467,7 @@ /***/ }, - /* 377 */ + /* 375 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -58202,11 +57477,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -58307,7 +57582,7 @@ /***/ }, - /* 378 */ + /* 376 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -58317,11 +57592,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -58434,7 +57709,7 @@ /***/ }, - /* 379 */ + /* 377 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -58444,7 +57719,7 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); @@ -58563,7 +57838,7 @@ /***/ }, - /* 380 */ + /* 378 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -58573,11 +57848,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -58678,7 +57953,7 @@ /***/ }, - /* 381 */ + /* 379 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -58692,11 +57967,11 @@ var _propTypes2 = _interopRequireDefault(_propTypes); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -58832,7 +58107,7 @@ /***/ }, - /* 382 */ + /* 380 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -58842,11 +58117,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -58947,7 +58222,7 @@ /***/ }, - /* 383 */ + /* 381 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -58957,11 +58232,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59063,7 +58338,7 @@ /***/ }, - /* 384 */ + /* 382 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59073,11 +58348,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59179,7 +58454,7 @@ /***/ }, - /* 385 */ + /* 383 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59189,11 +58464,137 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); + + var _moment2 = _interopRequireDefault(_moment); + + function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } + } + + function _possibleConstructorReturn(self, call) { + if (!self) { + throw new ReferenceError( + "this hasn't been initialised - super() hasn't been called" + ); + } + return call && (typeof call === "object" || typeof call === "function") + ? call + : self; + } + + function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError( + "Super expression must either be null or a function, not " + + typeof superClass + ); + } + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + enumerable: false, + writable: true, + configurable: true + } + }); + if (superClass) + Object.setPrototypeOf + ? Object.setPrototypeOf(subClass, superClass) + : (subClass.__proto__ = superClass); + } + + var Children = (function(_React$Component) { + _inherits(Children, _React$Component); + + function Children(props) { + _classCallCheck(this, Children); + + var _this = _possibleConstructorReturn( + this, + _React$Component.call(this, props) + ); + + _this.handleChange = function(date) { + _this.setState({ + startDate: date + }); + }; + + _this.state = { + startDate: (0, _moment2.default)() + }; + return _this; + } + + Children.prototype.render = function render() { + return _react2.default.createElement( + "div", + { className: "row" }, + _react2.default.createElement( + "pre", + { className: "column example__code" }, + _react2.default.createElement( + "code", + { className: "jsx" }, + "\n\n
\n Don't forget to check the weather!\n
\n\n" + ) + ), + _react2.default.createElement( + "div", + { className: "column" }, + _react2.default.createElement( + _reactDatepicker2.default, + { + selected: this.state.startDate, + onChange: this.handleChange + }, + _react2.default.createElement( + "div", + { style: { color: "red" } }, + "Don't forget to check the weather!" + ) + ) + ) + ); + }; + + return Children; + })(_react2.default.Component); + + exports.default = Children; + + /***/ + }, + /* 384 */ + /***/ function(module, exports, __webpack_require__) { + "use strict"; + + exports.__esModule = true; + + var _react = __webpack_require__(2); + + var _react2 = _interopRequireDefault(_react); + + var _reactDatepicker = __webpack_require__(198); + + var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); + + var _propTypes = __webpack_require__(200); + + var _propTypes2 = _interopRequireDefault(_propTypes); + + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59239,11 +58640,11 @@ : (subClass.__proto__ = superClass); } - var Children = (function(_React$Component) { - _inherits(Children, _React$Component); + var CalendarContainer = (function(_React$Component) { + _inherits(CalendarContainer, _React$Component); - function Children(props) { - _classCallCheck(this, Children); + function CalendarContainer(props) { + _classCallCheck(this, CalendarContainer); var _this = _possibleConstructorReturn( this, @@ -59262,7 +58663,7 @@ return _this; } - Children.prototype.render = function render() { + CalendarContainer.prototype.render = function render() { return _react2.default.createElement( "div", { className: "row" }, @@ -59272,36 +58673,59 @@ _react2.default.createElement( "code", { className: "jsx" }, - "\n\n
\n Don't forget to check the weather!\n
\n\n" + "\n\nfunction MyContainer({ className, children }) {\n return (\n
\n \n
What is your favorite day?
\n
\n {children}\n
\n
\n
\n );\n }\n " ) ), _react2.default.createElement( "div", { className: "column" }, - _react2.default.createElement( - _reactDatepicker2.default, - { - selected: this.state.startDate, - onChange: this.handleChange - }, - _react2.default.createElement( - "div", - { style: { color: "red" } }, - "Don't forget to check the weather!" - ) - ) + _react2.default.createElement(_reactDatepicker2.default, { + selected: this.state.startDate, + onChange: this.handleChange, + calendarContainer: MyContainer + }) ) ); }; - return Children; + return CalendarContainer; })(_react2.default.Component); - exports.default = Children; + // eslint-disable-next-line react/no-multi-comp + + exports.default = CalendarContainer; + function MyContainer(_ref) { + var className = _ref.className, + children = _ref.children; + + return _react2.default.createElement( + "div", + { style: { padding: "16px", background: "#216ba5", color: "#fff" } }, + _react2.default.createElement( + _reactDatepicker.CalendarContainer, + { className: className }, + _react2.default.createElement( + "div", + { style: { background: "#f0f0f0" } }, + "What is your favorite day?" + ), + _react2.default.createElement( + "div", + { style: { position: "relative" } }, + children + ) + ) + ); + } + + MyContainer.propTypes = { + className: _propTypes2.default.string, + children: _propTypes2.default.node + }; /***/ }, - /* 386 */ + /* 385 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59311,11 +58735,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59416,7 +58840,7 @@ /***/ }, - /* 387 */ + /* 386 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59426,11 +58850,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59546,7 +58970,7 @@ /***/ }, - /* 388 */ + /* 387 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59556,11 +58980,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59683,7 +59107,7 @@ /***/ }, - /* 389 */ + /* 388 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59693,11 +59117,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59808,7 +59232,7 @@ /***/ }, - /* 390 */ + /* 389 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59818,11 +59242,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -59933,7 +59357,7 @@ /***/ }, - /* 391 */ + /* 390 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -59943,11 +59367,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -60097,7 +59521,7 @@ /***/ }, - /* 392 */ + /* 391 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -60107,11 +59531,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -60251,7 +59675,7 @@ /***/ }, - /* 393 */ + /* 392 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -60261,11 +59685,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -60415,7 +59839,7 @@ /***/ }, - /* 394 */ + /* 393 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -60425,11 +59849,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -60563,7 +59987,7 @@ /***/ }, - /* 395 */ + /* 394 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -60573,11 +59997,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -60678,7 +60102,14 @@ /***/ }, + /* 395 */ + /***/ function(module, exports) { + // removed by extract-text-webpack-plugin + /***/ + }, /* 396 */ + 395, + /* 397 */ /***/ function(module, exports, __webpack_require__) { "use strict"; @@ -60688,11 +60119,11 @@ var _react2 = _interopRequireDefault(_react); - var _reactDatepicker = __webpack_require__(197); + var _reactDatepicker = __webpack_require__(198); var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - var _moment = __webpack_require__(207); + var _moment = __webpack_require__(210); var _moment2 = _interopRequireDefault(_moment); @@ -60738,11 +60169,11 @@ : (subClass.__proto__ = superClass); } - var OpenByDefault = (function(_React$Component) { - _inherits(OpenByDefault, _React$Component); + var HeroExample = (function(_React$Component) { + _inherits(HeroExample, _React$Component); - function OpenByDefault(props) { - _classCallCheck(this, OpenByDefault); + function HeroExample(props) { + _classCallCheck(this, HeroExample); var _this = _possibleConstructorReturn( this, @@ -60761,140 +60192,141 @@ return _this; } - OpenByDefault.prototype.render = function render() { - return _react2.default.createElement( - "div", - { className: "row" }, - _react2.default.createElement( - "pre", - { className: "column example__code" }, - _react2.default.createElement( - "code", - { className: "jsx" }, - "\n \n " - ) - ), - _react2.default.createElement( - "div", - { className: "column" }, - _react2.default.createElement(_reactDatepicker2.default, { - autoFocus: true, - selected: this.state.startDate, - onChange: this.handleChange - }) - ) - ); + HeroExample.prototype.render = function render() { + return _react2.default.createElement(_reactDatepicker2.default, { + autoFocus: true, + selected: this.state.startDate, + onChange: this.handleChange + }); }; - return OpenByDefault; + return HeroExample; })(_react2.default.Component); - exports.default = OpenByDefault; + exports.default = HeroExample; /***/ }, - /* 397 */ - /***/ function(module, exports) { - // removed by extract-text-webpack-plugin - /***/ - }, /* 398 */ - 397, - /* 399 */ - /***/ function(module, exports, __webpack_require__) { - "use strict"; - - exports.__esModule = true; - - var _react = __webpack_require__(2); - - var _react2 = _interopRequireDefault(_react); - - var _reactDatepicker = __webpack_require__(197); - - var _reactDatepicker2 = _interopRequireDefault(_reactDatepicker); - - var _moment = __webpack_require__(207); - - var _moment2 = _interopRequireDefault(_moment); - - function _interopRequireDefault(obj) { - return obj && obj.__esModule ? obj : { default: obj }; - } + /***/ function( + module, + exports, + __webpack_require__, + __webpack_module_template_argument_0__ + ) { + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ - function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } - } + if (false) { + var REACT_ELEMENT_TYPE = + (typeof Symbol === "function" && + Symbol.for && + Symbol.for("react.element")) || + 0xeac7; - function _possibleConstructorReturn(self, call) { - if (!self) { - throw new ReferenceError( - "this hasn't been initialised - super() hasn't been called" + var isValidElement = function(object) { + return ( + typeof object === "object" && + object !== null && + object.$$typeof === REACT_ELEMENT_TYPE ); - } - return call && (typeof call === "object" || typeof call === "function") - ? call - : self; - } + }; - function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError( - "Super expression must either be null or a function, not " + - typeof superClass - ); - } - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - enumerable: false, - writable: true, - configurable: true - } - }); - if (superClass) - Object.setPrototypeOf - ? Object.setPrototypeOf(subClass, superClass) - : (subClass.__proto__ = superClass); + // By explicitly using `prop-types` you are opting into new development behavior. + // http://fb.me/prop-types-in-prod + var throwOnDirectAccess = true; + module.exports = require("./factoryWithTypeCheckers")( + isValidElement, + throwOnDirectAccess + ); + } else { + // By explicitly using `prop-types` you are opting into new production behavior. + // http://fb.me/prop-types-in-prod + module.exports = __webpack_require__( + __webpack_module_template_argument_0__ + )(); } - var HeroExample = (function(_React$Component) { - _inherits(HeroExample, _React$Component); - - function HeroExample(props) { - _classCallCheck(this, HeroExample); + /***/ + }, + /* 399 */ + /***/ function( + module, + exports, + __webpack_require__, + __webpack_module_template_argument_0__ + ) { + /** + * Copyright (c) 2013-present, Facebook, Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ - var _this = _possibleConstructorReturn( - this, - _React$Component.call(this, props) - ); + "use strict"; - _this.handleChange = function(date) { - _this.setState({ - startDate: date - }); - }; + var emptyFunction = __webpack_require__(6); + var invariant = __webpack_require__(202); + var ReactPropTypesSecret = __webpack_require__( + __webpack_module_template_argument_0__ + ); - _this.state = { - startDate: (0, _moment2.default)() - }; - return _this; + module.exports = function() { + function shim( + props, + propName, + componentName, + location, + propFullName, + secret + ) { + if (secret === ReactPropTypesSecret) { + // It is still safe when called from React. + return; + } + invariant( + false, + "Calling PropTypes validators directly is not supported by the `prop-types` package. " + + "Use PropTypes.checkPropTypes() to call them. " + + "Read more at http://fb.me/use-check-prop-types" + ); + } + shim.isRequired = shim; + function getShim() { + return shim; } + // Important! + // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`. + var ReactPropTypes = { + array: shim, + bool: shim, + func: shim, + number: shim, + object: shim, + string: shim, + symbol: shim, - HeroExample.prototype.render = function render() { - return _react2.default.createElement(_reactDatepicker2.default, { - autoFocus: true, - selected: this.state.startDate, - onChange: this.handleChange - }); + any: shim, + arrayOf: getShim, + element: shim, + instanceOf: getShim, + node: shim, + objectOf: getShim, + oneOf: getShim, + oneOfType: getShim, + shape: getShim, + exact: getShim }; - return HeroExample; - })(_react2.default.Component); + ReactPropTypes.checkPropTypes = emptyFunction; + ReactPropTypes.PropTypes = ReactPropTypes; - exports.default = HeroExample; + return ReactPropTypes; + }; /***/ } diff --git a/docs-site/style.css b/docs-site/style.css index 13fc685fd4..cf6f68afbf 100644 --- a/docs-site/style.css +++ b/docs-site/style.css @@ -190,15 +190,17 @@ top: 10px; width: 0; padding: 0; + height: 10px; border: 0.45rem solid transparent; z-index: 1; + overflow: hidden; } .react-datepicker__navigation--previous { left: 10px; - border-right-color: #ccc; + border-right-color: #000; } .react-datepicker__navigation--previous:hover { - border-right-color: #b3b3b3; + border-right-color: #545454; } .react-datepicker__navigation--previous--disabled, .react-datepicker__navigation--previous--disabled:hover { @@ -207,13 +209,13 @@ } .react-datepicker__navigation--next { right: 10px; - border-left-color: #ccc; + border-left-color: #000; } .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) { right: 80px; } .react-datepicker__navigation--next:hover { - border-left-color: #b3b3b3; + border-left-color: #545454; } .react-datepicker__navigation--next--disabled, .react-datepicker__navigation--next--disabled:hover { @@ -431,6 +433,9 @@ position: relative; display: inline-block; } +.react-datepicker__input-container .keyboard-nav-description { + display: none; +} .react-datepicker__year-read-view, .react-datepicker__month-read-view, @@ -620,10 +625,10 @@ border: 0.81rem solid transparent; } .react-datepicker__portal .react-datepicker__navigation--previous { - border-right-color: #ccc; + border-right-color: #000; } .react-datepicker__portal .react-datepicker__navigation--previous:hover { - border-right-color: #b3b3b3; + border-right-color: #1a1a1a; } .react-datepicker__portal .react-datepicker__navigation--previous--disabled, .react-datepicker__portal @@ -632,10 +637,10 @@ cursor: default; } .react-datepicker__portal .react-datepicker__navigation--next { - border-left-color: #ccc; + border-left-color: #000; } .react-datepicker__portal .react-datepicker__navigation--next:hover { - border-left-color: #b3b3b3; + border-left-color: #1a1a1a; } .react-datepicker__portal .react-datepicker__navigation--next--disabled, .react-datepicker__portal .react-datepicker__navigation--next--disabled:hover { diff --git a/src/calendar.jsx b/src/calendar.jsx index 6691cfc891..0204b2fbc4 100644 --- a/src/calendar.jsx +++ b/src/calendar.jsx @@ -31,7 +31,8 @@ import { allDaysDisabledBefore, allDaysDisabledAfter, getEffectiveMinDate, - getEffectiveMaxDate + getEffectiveMaxDate, + getWeedayLongInLocale } from "./date_utils"; const DROPDOWN_FOCUS_CLASSNAMES = [ @@ -117,7 +118,9 @@ export default class Calendar extends React.Component { onDropdownFocus: () => {}, monthsShown: 1, forceShowMonthNavigation: false, - timeCaption: "Time" + timeCaption: "Time", + navigationNextText: "Next month", + navigationPreviousText: "Previous month" }; } @@ -284,10 +287,11 @@ export default class Calendar extends React.Component { const day = addDays(cloneDate(startOfWeek), offset); const localeData = getLocaleData(day); const weekDayName = this.formatWeekday(localeData, day); + const weekDayNameLong = getWeedayLongInLocale(localeData, day); return (
- {weekDayName} + {weekDayName}
); }) @@ -340,7 +344,9 @@ export default class Calendar extends React.Component { type="button" className={classes.join(" ")} onClick={clickHandler} - /> + > + {this.props.navigationPreviousText} + ); }; @@ -383,7 +389,9 @@ export default class Calendar extends React.Component { type="button" className={classes.join(" ")} onClick={clickHandler} - /> + > + {this.props.navigationNextText} + ); }; diff --git a/src/date_utils.js b/src/date_utils.js index fbb26d5618..d4a73531a9 100644 --- a/src/date_utils.js +++ b/src/date_utils.js @@ -197,6 +197,18 @@ export function addMinutes(date, amount) { return add(date, amount, "minutes"); } +export function increaseMinutes(date, interval) { + date = date.seconds(0); + var diff = intervalMinutesDiffInc(date, interval); + return addMinutes(date, diff); +} + +export function decreaseMinutes(date, interval) { + date = date.seconds(0); + var diff = intervalMinutesDiffDec(date, interval); + return subtractMinutes(date, diff); +} + export function addHours(date, amount) { return add(date, amount, "hours"); } @@ -218,6 +230,14 @@ export function addYears(date, amount) { } // *** Subtraction *** +export function subtractMinutes(date, amount) { + return subtract(date, amount, "minutes"); +} + +export function subtractHours(date, amount) { + return subtract(date, amount, "hours"); +} + export function subtractDays(date, amount) { return subtract(date, amount, "days"); } @@ -301,6 +321,28 @@ export function getDaysDiff(date1, date2) { return getDiff(date1, date2, "days"); } +export function intervalMinutesDiffInc(date, interval) { + var minute = date.minute(); + var newMinute = Math.ceil(date.minute() / interval) * interval; + var diff = Math.abs(newMinute - minute); + + if (diff == 0) { + return interval; + } + return diff; +} + +export function intervalMinutesDiffDec(date, interval) { + var minute = date.minute(); + var newMinute = Math.floor(date.minute() / interval) * interval; + var diff = Math.abs(newMinute - minute); + + if (diff == 0) { + return interval; + } + return diff; +} + // ** Date Localization ** export function localizeDate(date, locale) { @@ -339,6 +381,10 @@ export function getWeekdayShortInLocale(locale, date) { return locale.weekdaysShort(date); } +export function getWeedayLongInLocale(locale, date) { + return moment.localeData().weekdays(date); +} + // TODO what is this format exactly? export function getMonthInLocale(locale, date, format) { return locale.months(date, format); diff --git a/src/index.jsx b/src/index.jsx index eb4ca6925a..66642ad4fd 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -23,6 +23,9 @@ import { subtractMonths, subtractWeeks, subtractYears, + addMinutes, + minutesInterval, + subtractMinutes, isSameDay, isDayDisabled, isDayInRange, @@ -32,7 +35,9 @@ import { safeDateFormat, getHightLightDaysMap, getYear, - getMonth + getMonth, + increaseMinutes, + decreaseMinutes } from "./date_utils"; import onClickOutside from "react-onclickoutside"; @@ -145,7 +150,11 @@ export default class DatePicker extends React.Component { maxTime: PropTypes.object, excludeTimes: PropTypes.array, useShortMonthInDropdown: PropTypes.bool, - clearButtonTitle: PropTypes.string + clearButtonTitle: PropTypes.string, + ariaLiveInterruption: PropTypes.string, + ariaDescriptionContent: PropTypes.string, + navigationNextText: PropTypes.string, + navigationPreviousText: PropTypes.string }; static get defaultProps() { @@ -170,7 +179,15 @@ export default class DatePicker extends React.Component { shouldCloseOnSelect: true, showTimeSelect: false, timeIntervals: 30, - timeCaption: "Time" + timeCaption: "Time", + ariaLiveInterruption: "polite", + id: + "react-datepicker-" + + Math.random() + .toString(36) + .substr(2), + navigationNextText: "Next month", + navigationPreviousText: "Previous month" }; } @@ -389,7 +406,8 @@ export default class DatePicker extends React.Component { : this.getPreSelection(); let changedDate = setTime(cloneDate(selected), { hour: getHour(time), - minute: getMinute(time) + minute: getMinute(time), + second: 0 }); this.setState({ @@ -401,6 +419,14 @@ export default class DatePicker extends React.Component { this.setState({ inputValue: null }); }; + handleKeyboardTimeChange = date => { + this.setState({ + preSelection: date + }); + this.props.onChange(date); + this.setState({ inputValue: null }); + }; + onInputClick = () => { if (!this.props.disabled) { this.setOpen(true); @@ -410,6 +436,8 @@ export default class DatePicker extends React.Component { onInputKeyDown = event => { this.props.onKeyDown(event); const eventKey = event.key; + const shiftDown = event.shiftKey; + const ctrlDown = event.ctrlKey; if ( !this.state.open && !this.props.inline && @@ -439,39 +467,58 @@ export default class DatePicker extends React.Component { this.setOpen(false); } else if (!this.props.disabledKeyboardNavigation) { let newSelection; - switch (eventKey) { - case "ArrowLeft": - event.preventDefault(); - newSelection = subtractDays(copy, 1); - break; - case "ArrowRight": - event.preventDefault(); - newSelection = addDays(copy, 1); - break; - case "ArrowUp": - event.preventDefault(); - newSelection = subtractWeeks(copy, 1); - break; - case "ArrowDown": - event.preventDefault(); - newSelection = addWeeks(copy, 1); - break; - case "PageUp": - event.preventDefault(); - newSelection = subtractMonths(copy, 1); - break; - case "PageDown": - event.preventDefault(); - newSelection = addMonths(copy, 1); - break; - case "Home": - event.preventDefault(); - newSelection = subtractYears(copy, 1); - break; - case "End": - event.preventDefault(); - newSelection = addYears(copy, 1); - break; + + if (shiftDown == true) { + // Navigate the date picker + // We are using shift+key here in order to prevent conflicts with the + // default functionalities of the keys. + event.preventDefault(); + switch (eventKey) { + case "ArrowLeft": + newSelection = subtractDays(copy, 1); + break; + + case "ArrowRight": + newSelection = addDays(copy, 1); + break; + + case "ArrowUp": + newSelection = subtractWeeks(copy, 1); + break; + + case "ArrowDown": + newSelection = addWeeks(copy, 1); + break; + + case "PageUp": + newSelection = subtractMonths(copy, 1); + break; + + case "PageDown": + newSelection = addMonths(copy, 1); + break; + + case "Home": + newSelection = subtractYears(copy, 1); + break; + + case "End": + newSelection = addYears(copy, 1); + break; + } + } else if (this.props.showTimeSelect == true) { + // Navigate time picker using shift+LeftArrow and shift+RightArrow. + switch (eventKey) { + case "ArrowUp": + newSelection = decreaseMinutes(copy, this.props.timeIntervals); + this.handleKeyboardTimeChange(newSelection); + break; + + case "ArrowDown": + newSelection = increaseMinutes(copy, this.props.timeIntervals); + this.handleKeyboardTimeChange(newSelection); + break; + } } if (this.props.adjustDateOnChange) { this.setSelected(newSelection); @@ -563,6 +610,8 @@ export default class DatePicker extends React.Component { className={this.props.calendarClassName} container={this.props.calendarContainer} yearDropdownItemNumber={this.props.yearDropdownItemNumber} + navigationNextText={this.props.navigationNextText} + navigationPreviousText={this.props.navigationPreviousText} > {this.props.children} @@ -587,6 +636,8 @@ export default class DatePicker extends React.Component { [customInputRef]: input => { this.input = input; }, + "aria-live": this.props.ariaLiveInterruption, + "aria-describedby": this.props.id + "-aria-description", value: inputValue, onBlur: this.handleBlur, onChange: this.handleChange, @@ -607,6 +658,58 @@ export default class DatePicker extends React.Component { }); }; + renderAriaDescription = () => { + if (typeof this.props.ariaDescriptionContent == "undefined") { + return this.ariaDescriptionContent(); + } + return ( +
+ {this.props.ariaDescriptionContent} +
+ ); + }; + + ariaDescriptionContent = () => { + return ( +
+

Date picker. Facilitates the selection of valid dates.

+

+ Manual editing:{" "} + + The text field may be edited manually with a valid date and time. + +

+

+ Mouse navigation:{" "} + + Click the relevant date and time to select. Click the right and left + arrow icons to switch between months. + +

+
+ Keyboard navigation: +
    +
  • + Use Shift + Left Arrow or Shift + Right Arrow to navigatebetween + weekdays. +
  • +
  • Shift + Up or Down Arrow to navigate between weeks.
  • +
  • Up and Down Arrow navigate between time intervals.
  • +
  • Page Up and Page Down navigate between months.
  • +
  • End and Home navigate between years.
  • +
  • Press enter to select the highlighted date and time.
  • +
+
+
+ ); + }; + renderClearButton = () => { if (this.props.isClearable && this.props.selected != null) { return ( @@ -636,6 +739,7 @@ export default class DatePicker extends React.Component { {!this.props.inline ? (
{this.renderDateInput()} + {this.renderAriaDescription()} {this.renderClearButton()}
) : null} @@ -654,6 +758,7 @@ export default class DatePicker extends React.Component { targetComponent={
{this.renderDateInput()} + {this.renderAriaDescription()} {this.renderClearButton()}
} diff --git a/src/popper_component.jsx b/src/popper_component.jsx index 9e43f9640a..54ac44a094 100644 --- a/src/popper_component.jsx +++ b/src/popper_component.jsx @@ -65,6 +65,7 @@ export default class PopperComponent extends React.Component { className={classes} modifiers={popperModifiers} placement={popperPlacement} + aria-hidden="true" > {popperComponent} diff --git a/src/stylesheets/datepicker.scss b/src/stylesheets/datepicker.scss index d7e2b3a67a..a7ec89a789 100644 --- a/src/stylesheets/datepicker.scss +++ b/src/stylesheets/datepicker.scss @@ -126,15 +126,17 @@ top: 10px; width: 0; padding: 0; + height: 10px; border: $datepicker__navigation-size solid transparent; z-index: 1; + overflow: hidden; &--previous { left: 10px; - border-right-color: $datepicker__muted-color; + border-right-color: $datepicker__text-color; &:hover { - border-right-color: darken($datepicker__muted-color, 10%); + border-right-color: lighten($datepicker__text-color, 33%); } &--disabled, @@ -146,13 +148,13 @@ &--next { right: 10px; - border-left-color: $datepicker__muted-color; + border-left-color: $datepicker__text-color; &--with-time:not(&--with-today-button) { right: 80px; } &:hover { - border-left-color: darken($datepicker__muted-color, 10%); + border-left-color: lighten($datepicker__text-color, 33%); } &--disabled, @@ -366,6 +368,10 @@ .react-datepicker__input-container { position: relative; display: inline-block; + + .keyboard-nav-description { + display: none; + } } .react-datepicker__year-read-view, @@ -538,10 +544,10 @@ } .react-datepicker__navigation--previous { - border-right-color: $datepicker__muted-color; + border-right-color: $datepicker__text-color; &:hover { - border-right-color: darken($datepicker__muted-color, 10%); + border-right-color: lighten($datepicker__text-color, 10%); } &--disabled, @@ -552,10 +558,10 @@ } .react-datepicker__navigation--next { - border-left-color: $datepicker__muted-color; + border-left-color: $datepicker__text-color; &:hover { - border-left-color: darken($datepicker__muted-color, 10%); + border-left-color: lighten($datepicker__text-color, 10%); } &--disabled, diff --git a/src/time.jsx b/src/time.jsx index e23c359332..a01dec3103 100644 --- a/src/time.jsx +++ b/src/time.jsx @@ -26,7 +26,8 @@ export default class Time extends React.Component { excludeTimes: PropTypes.array, monthRef: PropTypes.object, timeCaption: PropTypes.string, - injectTimes: PropTypes.array + injectTimes: PropTypes.array, + id: PropTypes.string }; static get defaultProps() { @@ -34,7 +35,12 @@ export default class Time extends React.Component { intervals: 30, onTimeChange: () => {}, todayButton: null, - timeCaption: "Time" + timeCaption: "Time", + id: + "react-datepicker__time-" + + Math.random() + .toString(36) + .substr(2) }; } @@ -137,6 +143,8 @@ export default class Time extends React.Component { return (
-
+
{this.props.timeCaption}
-
+
    { diff --git a/test/date_utils_test.js b/test/date_utils_test.js index a35d9b2e25..5b9fe7f7ac 100644 --- a/test/date_utils_test.js +++ b/test/date_utils_test.js @@ -13,7 +13,9 @@ import { allDaysDisabledBefore, allDaysDisabledAfter, getEffectiveMinDate, - getEffectiveMaxDate + getEffectiveMaxDate, + increaseMinutes, + decreaseMinutes } from "../src/date_utils"; describe("date_utils", function() { @@ -271,6 +273,30 @@ describe("date_utils", function() { }); }); + describe("increaseMinutes", () => { + it("should jump to the next interval value if at a non-interval minute", () => { + const date = newDate("1985-12-12 09:25:00"); + expect(increaseMinutes(date, 15).minutes()).to.eq(30); + }); + + it("should jump to the next interval value if at an interval minute", () => { + const date = newDate("1985-12-12 09:15:00"); + expect(increaseMinutes(date, 15).minutes()).to.eq(30); + }); + }); + + describe("decreaseMinutes", () => { + it("should jump to the previous interval value if at a non-interval minute", () => { + const date = newDate("1985-12-12 09:25:00"); + expect(decreaseMinutes(date, 15).minutes()).to.eq(15); + }); + + it("should jump to the previous interval value if at an interval minute", () => { + const date = newDate("1985-12-12 09:30:00"); + expect(decreaseMinutes(date, 15).minutes()).to.eq(15); + }); + }); + describe("getEffectiveMaxDate", () => { it("should return null by default", () => { expect(getEffectiveMaxDate({})).to.not.exist;