!(function e(t, n, r) { function o(i, s) { if (!n[i]) { if (!t[i]) { var u = "function" == typeof require && require; if (!s && u) return u(i, !0); if (a) return a(i, !0); var c = new Error("Cannot find module '" + i + "'"); throw ((c.code = "MODULE_NOT_FOUND"), c); } var l = (n[i] = { exports: {}, }); t[i][0].call( l.exports, function (e) { var n = t[i][1][e]; return o(n ? n : e); }, l, l.exports, e, t, n, r, ); } return n[i].exports; } for ( var a = "function" == typeof require && require, i = 0; i < r.length; i++ ) o(r[i]); return o; })( { 1: [ function (e) { "use strict"; var t = function (e) { return e && e.__esModule ? e["default"] : e; }, n = (function () { function e(e, t) { for (var n in t) { var r = t[n]; (r.configurable = !0), r.value && (r.writable = !0); } Object.defineProperties(e, t); } return function (t, n, r) { return n && e(t.prototype, n), r && e(t, r), t; }; })(), r = function f(e, t, n) { var r = Object.getOwnPropertyDescriptor(e, t); if (void 0 === r) { var o = Object.getPrototypeOf(e); return null === o ? void 0 : f(o, t, n); } if ("value" in r && r.writable) return r.value; var a = r.get; return void 0 === a ? void 0 : a.call(n); }, o = function (e, t) { if ("function" != typeof t && null !== t) throw new TypeError( "Super expression must either be null or a function, not " + typeof t, ); (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0, }, })), t && (e.__proto__ = t); }, a = function (e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function"); }, i = t(e("react/addons")), s = t(e("..")), u = t(e("../package.json")), c = t(e("raf")); window.Perf = i.addons.Perf; var l = { color: "#0000c6", textDecoration: "none", }, p = { display: "inline-block", margin: "5px", }, qryVariableValue = function (variableName) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var i = 0; i < vars.length; i++) { var pair = vars[i].split("="); if (pair[0] == variableName) { return decodeURIComponent(pair[1]); } } if (variableName == "curve") return "0.00, 0.00, 1.00, 1.00"; return ""; }, d = (function (e) { function t(e) { var n = this; a(this, t), r(Object.getPrototypeOf(t.prototype), "constructor", this).call( this, e, ), (this.state = { value: qryVariableValue("curve").split(",").map(Number), progress: 0, }), (this.onChange = this.onChange.bind(this)), (this.onChangeInputCurveDefinition = this.onChangeInputCurveDefinition.bind(this)), (this.onClickExampleCurve = this.onClickExampleCurve.bind(this)); var o = function (e) { c(o), n.setState({ progress: ((e / 4e3) % 1) * document.getElementById("showProgressMovement").checked, }); }; c(o); } return ( o(t, e), n(t, { onChange: { value: function (e) { this.setState({ value: e }); }, }, onChangeInputCurveDefinition: { value: function (e) { this.setState({ value: document .getElementById("inputCurveDefinition") .value.split(",") .map(Number), }); }, }, onClickExampleCurve: { value: function (e) { document.getElementById("inputCurveDefinition").value = e.target.innerHTML.split("=")[1].trim(); this.onChangeInputCurveDefinition(e); }, }, render: { value: function () { var e = this.state, t = e.value, n = e.progress; return i.createElement( "div", null, i.createElement( "h1", null, i.createElement( "a", { href: "https://github.com/Ryochan7/DS4Windows/wiki/Settings", style: l, }, u.name, ), ), i.createElement( "p", { style: { whiteSpace: "pre-wrap" } }, "(1) Grab and move around red handles in a graph to customize the bezier curve or enter specific curve values in the textbox.\n(2) When you are happy with the curve, copy-paste the EASING CURVE DEFINITION values (comma separated list of 4 numbers) to a custom LS/RS/R2/L3/SA curve output options in DS4Windows application.", ), i.createElement("blockquote", null, ""), i.createElement( "input", { id: "inputCurveDefinition", defaultValue: qryVariableValue("curve"), onBlur: this.onChangeInputCurveDefinition, style: { width: "250px" }, }, "", ), i.createElement( "h3", null, "easing curve definition:�", i.createElement( "code", null, this.state.value .map(function (e) { return e.toFixed(2); }) .join(", "), ), i.createElement("br", null), "progress:�", i.createElement( "code", null, this.state.progress.toFixed(2).substring(2, 4), "%", ), ), i.createElement( "table", null, i.createElement( "tr", null, i.createElement( "td", null, i.createElement( s, { ref: "controlledBezierEditor", id: "controlledBezierEditor", value: t, onChange: this.onChange, style: p, progress: n, progressColor: "#125804", handleStroke: 0, handleRadius: 6, curveWidth: 3, }, i.createElement( "text", { x: 20, y: 16, style: { fontWeight: "bold" }, }, "Bezier Editor", ), ), ), i.createElement( "td", null, i.createElement( "text", { style: { fontWeight: "bold" } }, "Example curves (click to choose):", ), i.createElement("br", null), i.createElement( "text", { style: { cursor: "pointer" }, onClick: this.onClickExampleCurve, }, "Linear = 0.00, 0.00, 1.00, 1.00", ), i.createElement("br", null), i.createElement( "text", { style: { cursor: "pointer" }, onClick: this.onClickExampleCurve, }, "Enhanced Precision = 0.70, 0.28, 1.00, 1.00", ), i.createElement("br", null), i.createElement( "text", { style: { cursor: "pointer" }, onClick: this.onClickExampleCurve, }, "Easein Quadratic = 0.55, 0.09, 0.68, 0.53", ), i.createElement("br", null), i.createElement( "text", { style: { cursor: "pointer" }, onClick: this.onClickExampleCurve, }, "Easein Cubic = 0.74, 0.12, 0.64, 0.29", ), i.createElement("br", null), i.createElement( "text", { style: { cursor: "pointer" }, onClick: this.onClickExampleCurve, }, "Easeout Quad = 0.00, 0.00, 0.41, 0.96", ), i.createElement("br", null), i.createElement( "text", { style: { cursor: "pointer" }, onClick: this.onClickExampleCurve, }, "Easeout Cubic = 0.08, 0.22, 0.22, 0.91", ), i.createElement("br", null), i.createElement( "text", { style: { cursor: "pointer" }, onClick: this.onClickExampleCurve, }, "Ease-inout = 0.42, 0.00, 0.58, 1.00", ), i.createElement("br", null), ), ), ), i.createElement("br", null), i.createElement( "input", { id: "showProgressMovement", type: "checkbox", defaultChecked: false, value: true, }, "Show input and output movement of axis", ), i.createElement("br", null), i.createElement( "p", null, i.createElement( "a", { style: l, target: "_blank", href: "https://github.com/Ryochan7/DS4Windows/wiki/Settings", }, "Click here to see DS4Windows documentation of axis curve options.", ), ), i.createElement( "p", null, i.createElement( "a", { style: l, target: "_blank", href: u.homepage + "/blob/master/example/", }, "Click here to see the source code of the original Bezier-Editor created by GRE (without DS4Windows modifications).", ), ), i.createElement( "text", null, "Credits go to GRE who created the concept and the first sample web app. The DS4Windows customized version of the editor webapp created by MIKA-N.", ), ); }, }, }), t ); })(i.Component); (document.body.style.padding = "0px 20px"), (document.body.style.color = "#333"), (document.body.style.background = "#fff"), (document.body.style.fontFamily = "sans-serif"), i.render(i.createElement(d, null), document.body); }, { "..": 189, "../package.json": 182, raf: 3, "react/addons": 7, }, ], 2: [ function (e, t) { function n() { if (!i) { i = !0; for (var e, t = a.length; t; ) { (e = a), (a = []); for (var n = -1; ++n < t; ) e[n](); t = a.length; } i = !1; } } function r() {} var o = (t.exports = {}), a = [], i = !1; (o.nextTick = function (e) { a.push(e), i || setTimeout(n, 0); }), (o.title = "browser"), (o.browser = !0), (o.env = {}), (o.argv = []), (o.version = ""), (o.versions = {}), (o.on = r), (o.addListener = r), (o.once = r), (o.off = r), (o.removeListener = r), (o.removeAllListeners = r), (o.emit = r), (o.binding = function () { throw new Error("process.binding is not supported"); }), (o.cwd = function () { return "/"; }), (o.chdir = function () { throw new Error("process.chdir is not supported"); }), (o.umask = function () { return 0; }); }, {}, ], 3: [ function (e, t) { for ( var n = e("performance-now"), r = "undefined" == typeof window ? {} : window, o = ["moz", "webkit"], a = "AnimationFrame", i = r["request" + a], s = r["cancel" + a] || r["cancelRequest" + a], u = !0, c = 0; c < o.length && !i; c++ ) (i = r[o[c] + "Request" + a]), (s = r[o[c] + "Cancel" + a] || r[o[c] + "CancelRequest" + a]); if (!i || !s) { u = !1; var l = 0, p = 0, d = [], f = 1e3 / 60; (i = function (e) { if (0 === d.length) { var t = n(), r = Math.max(0, f - (t - l)); (l = r + t), setTimeout(function () { var e = d.slice(0); d.length = 0; for (var t = 0; t < e.length; t++) if (!e[t].cancelled) try { e[t].callback(l); } catch (n) { setTimeout(function () { throw n; }, 0); } }, Math.round(r)); } return ( d.push({ handle: ++p, callback: e, cancelled: !1, }), p ); }), (s = function (e) { for (var t = 0; t < d.length; t++) d[t].handle === e && (d[t].cancelled = !0); }); } (t.exports = function (e) { return u ? i.call(r, function () { try { e.apply(this, arguments); } catch (t) { setTimeout(function () { throw t; }, 0); } }) : i.call(r, e); }), (t.exports.cancel = function () { s.apply(r, arguments); }); }, { "performance-now": 4, }, ], 4: [ function (e, t) { (function (e) { (function () { var n, r, o; "undefined" != typeof performance && null !== performance && performance.now ? (t.exports = function () { return performance.now(); }) : "undefined" != typeof e && null !== e && e.hrtime ? ((t.exports = function () { return (n() - o) / 1e6; }), (r = e.hrtime), (n = function () { var e; return (e = r()), 1e9 * e[0] + e[1]; }), (o = n())) : Date.now ? ((t.exports = function () { return Date.now() - o; }), (o = Date.now())) : ((t.exports = function () { return new Date().getTime() - o; }), (o = new Date().getTime())); }).call(this); }).call(this, e("_process")); }, { _process: 2, }, ], 5: [ function (e, t, n) { !(function (e) { "object" == typeof n ? (t.exports = e()) : "function" == typeof define && define.amd ? define([], e) : (window.BezierEasing = e()); })(function () { function e(e, t, c, l) { function p(e, t) { return 1 - 3 * t + 3 * e; } function d(e, t) { return 3 * t - 6 * e; } function f(e) { return 3 * e; } function h(e, t, n) { return ((p(t, n) * e + d(t, n)) * e + f(t)) * e; } function v(e, t, n) { return 3 * p(t, n) * e * e + 2 * d(t, n) * e + f(t); } function m(t, r) { for (var o = 0; n > o; ++o) { var a = v(r, e, c); if (0 === a) return r; var i = h(r, e, c) - t; r -= i / a; } return r; } function y() { for (var t = 0; i > t; ++t) _[t] = h(t * s, e, c); } function g(t, n, r) { var i, s, u = 0; do (s = n + (r - n) / 2), (i = h(s, e, c) - t), i > 0 ? (r = s) : (n = s); while (Math.abs(i) > o && ++u < a); return s; } function E(t) { for (var n = 0, o = 1, a = i - 1; o != a && _[o] <= t; ++o) n += s; --o; var u = (t - _[o]) / (_[o + 1] - _[o]), l = n + u * s, p = v(l, e, c); return p >= r ? m(t, l) : 0 === p ? l : g(t, n, n + s); } function C() { (N = !0), (e != t || c != l) && y(); } if (4 !== arguments.length) throw new Error("BezierEasing requires 4 arguments."); for (var b = 0; 4 > b; ++b) if ( "number" != typeof arguments[b] || isNaN(arguments[b]) || !isFinite(arguments[b]) ) throw new Error("BezierEasing arguments should be integers."); if (0 > e || e > 1 || 0 > c || c > 1) throw new Error("BezierEasing x values must be in [0, 1] range."); var _ = u ? new Float32Array(i) : new Array(i), N = !1, O = function (n) { return ( N || C(), e === t && c === l ? n : 0 === n ? 0 : 1 === n ? 1 : h(E(n), t, l) ); }; O.getControlPoints = function () { return [ { x: e, y: t, }, { x: c, y: l, }, ]; }; var R = [e, t, c, l], D = "BezierEasing(" + R + ")"; O.toString = function () { return D; }; var w = "cubic-bezier(" + R + ")"; return ( (O.toCSS = function () { return w; }), O ); } var t = this, n = 4, r = 0.001, o = 1e-7, a = 10, i = 11, s = 1 / (i - 1), u = "Float32Array" in t; return ( (e.css = { ease: e(0.25, 0.1, 0.25, 1), linear: e(0, 0, 1, 1), "ease-in": e(0.42, 0, 1, 1), "ease-out": e(0, 0, 0.58, 1), "ease-in-out": e(0.42, 0, 0.58, 1), }), e ); }); }, {}, ], 6: [ function (e, t) { "use strict"; function n(e) { if (null == e) throw new TypeError( "Object.assign cannot be called with null or undefined", ); return Object(e); } t.exports = Object.assign || function (e) { for (var t, r, o = n(e), a = 1; a < arguments.length; a++) { (t = arguments[a]), (r = Object.keys(Object(t))); for (var i = 0; i < r.length; i++) o[r[i]] = t[r[i]]; } return o; }; }, {}, ], 7: [ function (e, t) { t.exports = e("./lib/ReactWithAddons"); }, { "./lib/ReactWithAddons": 107, }, ], 8: [ function (e, t) { "use strict"; var n = e("./focusNode"), r = { componentDidMount: function () { this.props.autoFocus && n(this.getDOMNode()); }, }; t.exports = r; }, { "./focusNode": 141, }, ], 9: [ function (e, t) { "use strict"; function n() { var e = window.opera; return ( "object" == typeof e && "function" == typeof e.version && parseInt(e.version(), 10) <= 12 ); } function r(e) { return ( (e.ctrlKey || e.altKey || e.metaKey) && !(e.ctrlKey && e.altKey) ); } function o(e) { switch (e) { case w.topCompositionStart: return M.compositionStart; case w.topCompositionEnd: return M.compositionEnd; case w.topCompositionUpdate: return M.compositionUpdate; } } function a(e, t) { return e === w.topKeyDown && t.keyCode === C; } function i(e, t) { switch (e) { case w.topKeyUp: return -1 !== E.indexOf(t.keyCode); case w.topKeyDown: return t.keyCode !== C; case w.topKeyPress: case w.topMouseDown: case w.topBlur: return !0; default: return !1; } } function s(e) { var t = e.detail; return "object" == typeof t && "data" in t ? t.data : null; } function u(e, t, n, r) { var u, c; if ( (b ? (u = o(e)) : T ? i(e, r) && (u = M.compositionEnd) : a(e, r) && (u = M.compositionStart), !u) ) return null; O && (T || u !== M.compositionStart ? u === M.compositionEnd && T && (c = T.getData()) : (T = v.getPooled(t))); var l = m.getPooled(u, n, r); if (c) l.data = c; else { var p = s(r); null !== p && (l.data = p); } return f.accumulateTwoPhaseDispatches(l), l; } function c(e, t) { switch (e) { case w.topCompositionEnd: return s(t); case w.topKeyPress: var n = t.which; return n !== R ? null : ((x = !0), D); case w.topTextInput: var r = t.data; return r === D && x ? null : r; default: return null; } } function l(e, t) { if (T) { if (e === w.topCompositionEnd || i(e, t)) { var n = T.getData(); return v.release(T), (T = null), n; } return null; } switch (e) { case w.topPaste: return null; case w.topKeyPress: return t.which && !r(t) ? String.fromCharCode(t.which) : null; case w.topCompositionEnd: return O ? null : t.data; default: return null; } } function p(e, t, n, r) { var o; if (((o = N ? c(e, r) : l(e, r)), !o)) return null; var a = y.getPooled(M.beforeInput, n, r); return (a.data = o), f.accumulateTwoPhaseDispatches(a), a; } var d = e("./EventConstants"), f = e("./EventPropagators"), h = e("./ExecutionEnvironment"), v = e("./FallbackCompositionState"), m = e("./SyntheticCompositionEvent"), y = e("./SyntheticInputEvent"), g = e("./keyOf"), E = [9, 13, 27, 32], C = 229, b = h.canUseDOM && "CompositionEvent" in window, _ = null; h.canUseDOM && "documentMode" in document && (_ = document.documentMode); var N = h.canUseDOM && "TextEvent" in window && !_ && !n(), O = h.canUseDOM && (!b || (_ && _ > 8 && 11 >= _)), R = 32, D = String.fromCharCode(R), w = d.topLevelTypes, M = { beforeInput: { phasedRegistrationNames: { bubbled: g({ onBeforeInput: null, }), captured: g({ onBeforeInputCapture: null, }), }, dependencies: [ w.topCompositionEnd, w.topKeyPress, w.topTextInput, w.topPaste, ], }, compositionEnd: { phasedRegistrationNames: { bubbled: g({ onCompositionEnd: null, }), captured: g({ onCompositionEndCapture: null, }), }, dependencies: [ w.topBlur, w.topCompositionEnd, w.topKeyDown, w.topKeyPress, w.topKeyUp, w.topMouseDown, ], }, compositionStart: { phasedRegistrationNames: { bubbled: g({ onCompositionStart: null, }), captured: g({ onCompositionStartCapture: null, }), }, dependencies: [ w.topBlur, w.topCompositionStart, w.topKeyDown, w.topKeyPress, w.topKeyUp, w.topMouseDown, ], }, compositionUpdate: { phasedRegistrationNames: { bubbled: g({ onCompositionUpdate: null, }), captured: g({ onCompositionUpdateCapture: null, }), }, dependencies: [ w.topBlur, w.topCompositionUpdate, w.topKeyDown, w.topKeyPress, w.topKeyUp, w.topMouseDown, ], }, }, x = !1, T = null, P = { eventTypes: M, extractEvents: function (e, t, n, r) { return [u(e, t, n, r), p(e, t, n, r)]; }, }; t.exports = P; }, { "./EventConstants": 22, "./EventPropagators": 27, "./ExecutionEnvironment": 28, "./FallbackCompositionState": 29, "./SyntheticCompositionEvent": 113, "./SyntheticInputEvent": 117, "./keyOf": 164, }, ], 10: [ function (e, t) { (function (n) { var r = e("./invariant"), o = { addClass: function (e, t) { return ( "production" !== n.env.NODE_ENV ? r( !/\s/.test(t), 'CSSCore.addClass takes only a single class name. "%s" contains multiple classes.', t, ) : r(!/\s/.test(t)), t && (e.classList ? e.classList.add(t) : o.hasClass(e, t) || (e.className = e.className + " " + t)), e ); }, removeClass: function (e, t) { return ( "production" !== n.env.NODE_ENV ? r( !/\s/.test(t), 'CSSCore.removeClass takes only a single class name. "%s" contains multiple classes.', t, ) : r(!/\s/.test(t)), t && (e.classList ? e.classList.remove(t) : o.hasClass(e, t) && (e.className = e.className .replace( new RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1", ) .replace(/\s+/g, " ") .replace(/^\s*|\s*$/g, ""))), e ); }, conditionClass: function (e, t, n) { return (n ? o.addClass : o.removeClass)(e, t); }, hasClass: function (e, t) { return ( "production" !== n.env.NODE_ENV ? r( !/\s/.test(t), "CSS.hasClass takes only a single class name.", ) : r(!/\s/.test(t)), e.classList ? !!t && e.classList.contains(t) : (" " + e.className + " ").indexOf(" " + t + " ") > -1 ); }, }; t.exports = o; }).call(this, e("_process")); }, { "./invariant": 157, _process: 2, }, ], 11: [ function (e, t) { "use strict"; function n(e, t) { return e + t.charAt(0).toUpperCase() + t.substring(1); } var r = { boxFlex: !0, boxFlexGroup: !0, columnCount: !0, flex: !0, flexGrow: !0, flexShrink: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, strokeOpacity: !0, }, o = ["Webkit", "ms", "Moz", "O"]; Object.keys(r).forEach(function (e) { o.forEach(function (t) { r[n(t, e)] = r[e]; }); }); var a = { background: { backgroundImage: !0, backgroundPosition: !0, backgroundRepeat: !0, backgroundColor: !0, }, border: { borderWidth: !0, borderStyle: !0, borderColor: !0, }, borderBottom: { borderBottomWidth: !0, borderBottomStyle: !0, borderBottomColor: !0, }, borderLeft: { borderLeftWidth: !0, borderLeftStyle: !0, borderLeftColor: !0, }, borderRight: { borderRightWidth: !0, borderRightStyle: !0, borderRightColor: !0, }, borderTop: { borderTopWidth: !0, borderTopStyle: !0, borderTopColor: !0, }, font: { fontStyle: !0, fontVariant: !0, fontWeight: !0, fontSize: !0, lineHeight: !0, fontFamily: !0, }, }, i = { isUnitlessNumber: r, shorthandPropertyExpansions: a, }; t.exports = i; }, {}, ], 12: [ function (e, t) { (function (n) { "use strict"; var r = e("./CSSProperty"), o = e("./ExecutionEnvironment"), a = e("./camelizeStyleName"), i = e("./dangerousStyleValue"), s = e("./hyphenateStyleName"), u = e("./memoizeStringOnly"), c = e("./warning"), l = u(function (e) { return s(e); }), p = "cssFloat"; if ( (o.canUseDOM && void 0 === document.documentElement.style.cssFloat && (p = "styleFloat"), "production" !== n.env.NODE_ENV) ) var d = /^(?:webkit|moz|o)[A-Z]/, f = /;\s*$/, h = {}, v = {}, m = function (e) { (h.hasOwnProperty(e) && h[e]) || ((h[e] = !0), "production" !== n.env.NODE_ENV ? c( !1, "Unsupported style property %s. Did you mean %s?", e, a(e), ) : null); }, y = function (e) { (h.hasOwnProperty(e) && h[e]) || ((h[e] = !0), "production" !== n.env.NODE_ENV ? c( !1, "Unsupported vendor-prefixed style property %s. Did you mean %s?", e, e.charAt(0).toUpperCase() + e.slice(1), ) : null); }, g = function (e, t) { (v.hasOwnProperty(t) && v[t]) || ((v[t] = !0), "production" !== n.env.NODE_ENV ? c( !1, 'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.', e, t.replace(f, ""), ) : null); }, E = function (e, t) { e.indexOf("-") > -1 ? m(e) : d.test(e) ? y(e) : f.test(t) && g(e, t); }; var C = { createMarkupForStyles: function (e) { var t = ""; for (var r in e) if (e.hasOwnProperty(r)) { var o = e[r]; "production" !== n.env.NODE_ENV && E(r, o), null != o && ((t += l(r) + ":"), (t += i(r, o) + ";")); } return t || null; }, setValueForStyles: function (e, t) { var o = e.style; for (var a in t) if (t.hasOwnProperty(a)) { "production" !== n.env.NODE_ENV && E(a, t[a]); var s = i(a, t[a]); if (("float" === a && (a = p), s)) o[a] = s; else { var u = r.shorthandPropertyExpansions[a]; if (u) for (var c in u) o[c] = ""; else o[a] = ""; } } }, }; t.exports = C; }).call(this, e("_process")); }, { "./CSSProperty": 11, "./ExecutionEnvironment": 28, "./camelizeStyleName": 128, "./dangerousStyleValue": 135, "./hyphenateStyleName": 155, "./memoizeStringOnly": 166, "./warning": 178, _process: 2, }, ], 13: [ function (e, t) { (function (n) { "use strict"; function r() { (this._callbacks = null), (this._contexts = null); } var o = e("./PooledClass"), a = e("./Object.assign"), i = e("./invariant"); a(r.prototype, { enqueue: function (e, t) { (this._callbacks = this._callbacks || []), (this._contexts = this._contexts || []), this._callbacks.push(e), this._contexts.push(t); }, notifyAll: function () { var e = this._callbacks, t = this._contexts; if (e) { "production" !== n.env.NODE_ENV ? i( e.length === t.length, "Mismatched list of contexts in callback queue", ) : i(e.length === t.length), (this._callbacks = null), (this._contexts = null); for (var r = 0, o = e.length; o > r; r++) e[r].call(t[r]); (e.length = 0), (t.length = 0); } }, reset: function () { (this._callbacks = null), (this._contexts = null); }, destructor: function () { this.reset(); }, }), o.addPoolingTo(r), (t.exports = r); }).call(this, e("_process")); }, { "./Object.assign": 35, "./PooledClass": 36, "./invariant": 157, _process: 2, }, ], 14: [ function (e, t) { "use strict"; function n(e) { return ( "SELECT" === e.nodeName || ("INPUT" === e.nodeName && "file" === e.type) ); } function r(e) { var t = _.getPooled(w.change, x, e); E.accumulateTwoPhaseDispatches(t), b.batchedUpdates(o, t); } function o(e) { g.enqueueEvents(e), g.processEventQueue(); } function a(e, t) { (M = e), (x = t), M.attachEvent("onchange", r); } function i() { M && (M.detachEvent("onchange", r), (M = null), (x = null)); } function s(e, t, n) { return e === D.topChange ? n : void 0; } function u(e, t, n) { e === D.topFocus ? (i(), a(t, n)) : e === D.topBlur && i(); } function c(e, t) { (M = e), (x = t), (T = e.value), (P = Object.getOwnPropertyDescriptor( e.constructor.prototype, "value", )), Object.defineProperty(M, "value", k), M.attachEvent("onpropertychange", p); } function l() { M && (delete M.value, M.detachEvent("onpropertychange", p), (M = null), (x = null), (T = null), (P = null)); } function p(e) { if ("value" === e.propertyName) { var t = e.srcElement.value; t !== T && ((T = t), r(e)); } } function d(e, t, n) { return e === D.topInput ? n : void 0; } function f(e, t, n) { e === D.topFocus ? (l(), c(t, n)) : e === D.topBlur && l(); } function h(e) { return (e !== D.topSelectionChange && e !== D.topKeyUp && e !== D.topKeyDown) || !M || M.value === T ? void 0 : ((T = M.value), x); } function v(e) { return ( "INPUT" === e.nodeName && ("checkbox" === e.type || "radio" === e.type) ); } function m(e, t, n) { return e === D.topClick ? n : void 0; } var y = e("./EventConstants"), g = e("./EventPluginHub"), E = e("./EventPropagators"), C = e("./ExecutionEnvironment"), b = e("./ReactUpdates"), _ = e("./SyntheticEvent"), N = e("./isEventSupported"), O = e("./isTextInputElement"), R = e("./keyOf"), D = y.topLevelTypes, w = { change: { phasedRegistrationNames: { bubbled: R({ onChange: null, }), captured: R({ onChangeCapture: null, }), }, dependencies: [ D.topBlur, D.topChange, D.topClick, D.topFocus, D.topInput, D.topKeyDown, D.topKeyUp, D.topSelectionChange, ], }, }, M = null, x = null, T = null, P = null, I = !1; C.canUseDOM && (I = N("change") && (!("documentMode" in document) || document.documentMode > 8)); var S = !1; C.canUseDOM && (S = N("input") && (!("documentMode" in document) || document.documentMode > 9)); var k = { get: function () { return P.get.call(this); }, set: function (e) { (T = "" + e), P.set.call(this, e); }, }, A = { eventTypes: w, extractEvents: function (e, t, r, o) { var a, i; if ( (n(t) ? I ? (a = s) : (i = u) : O(t) ? S ? (a = d) : ((a = h), (i = f)) : v(t) && (a = m), a) ) { var c = a(e, t, r); if (c) { var l = _.getPooled(w.change, c, o); return E.accumulateTwoPhaseDispatches(l), l; } } i && i(e, t, r); }, }; t.exports = A; }, { "./EventConstants": 22, "./EventPluginHub": 24, "./EventPropagators": 27, "./ExecutionEnvironment": 28, "./ReactUpdates": 106, "./SyntheticEvent": 115, "./isEventSupported": 158, "./isTextInputElement": 160, "./keyOf": 164, }, ], 15: [ function (e, t) { "use strict"; var n = 0, r = { createReactRootIndex: function () { return n++; }, }; t.exports = r; }, {}, ], 16: [ function (e, t) { (function (n) { "use strict"; function r(e, t, n) { e.insertBefore(t, e.childNodes[n] || null); } var o = e("./Danger"), a = e("./ReactMultiChildUpdateTypes"), i = e("./setTextContent"), s = e("./invariant"), u = { dangerouslyReplaceNodeWithMarkup: o.dangerouslyReplaceNodeWithMarkup, updateTextContent: i, processUpdates: function (e, t) { for (var u, c = null, l = null, p = 0; p < e.length; p++) if ( ((u = e[p]), u.type === a.MOVE_EXISTING || u.type === a.REMOVE_NODE) ) { var d = u.fromIndex, f = u.parentNode.childNodes[d], h = u.parentID; "production" !== n.env.NODE_ENV ? s( f, "processUpdates(): Unable to find child %s of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a
when using tables, nesting tags like