{"size": 144755, "ext": "js", "max_stars_repo_path": "docs/bundle.js", "max_stars_repo_name": "kjirou/dungeon-maker-clone", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "docs/bundle.js", "max_issues_repo_name": "kjirou/dungeon-maker-clone", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "docs/bundle.js", "max_forks_repo_name": "kjirou/dungeon-maker-clone", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 6579.7727272727, "max_line_length": 91405, "alphanum_fraction": 0.6939449415}
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=112)}([function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){e.exports=!n(10)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(11),o=n(46),i=n(28),a=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(25)("wks"),o=n(12),i=n(1).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(79),o=n(27);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(4),o=n(15);e.exports=n(3)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(1),o=n(0),i=n(47),a=n(8),l=n(2),u=function(e,t,n){var c,s,f,d=e&u.F,p=e&u.G,h=e&u.S,m=e&u.P,v=e&u.B,y=e&u.W,g=p?o:o[t]||(o[t]={}),b=g.prototype,w=p?r:h?r[t]:(r[t]||{}).prototype;for(c in p&&(n=t),n)(s=!d&&w&&void 0!==w[c])&&l(g,c)||(f=s?w[c]:n[c],g[c]=p&&"function"!=typeof w[c]?n[c]:v&&s?i(f,r):y&&w[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):m&&"function"==typeof f?i(Function.call,f):f,m&&((g.virtual||(g.virtual={}))[c]=f,e&u.R&&b&&!b[c]&&a(b,c,f)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(7);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!0},function(e,t,n){"use strict";e.exports=n(99)},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(1),o=n(0),i=n(13),a=n(18),l=n(4).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||l(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(5)},function(e,t,n){var r=n(4).f,o=n(2),i=n(5)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(34),o=n(20);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(11),o=n(80),i=n(20),a=n(26)("IE_PROTO"),l=function(){},u=function(){var e,t=n(45)("iframe"),r=i.length;for(t.style.display="none",n(75).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t){e.exports={}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(0),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(13)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(25)("keys"),o=n(12);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(7);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.CLICK_MODES=[{id:"dot",label:"Dot"},{id:"blinker",label:"Blinker"},{id:"clock",label:"Clock"},{id:"glider",label:"Glider"},{id:"pulsar",label:"Pulsar"},{id:"spaceship",label:"Spaceship"},{id:"octagon2",label:"Octagon 2"}],o=[{id:"verySlow",interval:1e3,label:"Very slow"},{id:"slow",interval:500,label:"Slow"},{id:"fast",interval:200,label:"Fast"},{id:"veryFast",interval:50,label:"Very fast"}],i=o.map(function(e){return e.id}),a=t.generateFinder=function(e,t){return function(n){var r=e.find(function(e){return e[t]===n});if(r)return r;throw new Error("Can not find any element")}},l=(t.findClickMode=a(r,"id"),t.toClickModeChoice=function(e){return{label:e.label,value:e.id}});t.generateClickModeChoices=function(){return r.map(function(e){return l(e)})},t.findInterval=a(o,"id"),t.getNextIntervalId=function(e){var t=(i.indexOf(e)+1)%i.length;return i[t]},t.findSampleLifePattern=a([{id:"blinker",dots:[[1,1,1]]},{id:"clock",dots:[[0,1,0,0],[0,0,1,1],[1,1,0,0],[0,0,1,0]]},{id:"glider",dots:[[0,1,0],[0,0,1],[1,1,1]]},{id:"octagon2",dots:[[0,0,0,1,1,0,0,0],[0,0,1,0,0,1,0,0],[0,1,0,0,0,0,1,0],[1,0,0,0,0,0,0,1],[1,0,0,0,0,0,0,1],[0,1,0,0,0,0,1,0],[0,0,1,0,0,1,0,0],[0,0,0,1,1,0,0,0]]},{id:"pulsar",dots:[[0,0,1,1,1,0,0,0,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0],[1,0,0,0,0,1,0,1,0,0,0,0,1],[1,0,0,0,0,1,0,1,0,0,0,0,1],[1,0,0,0,0,1,0,1,0,0,0,0,1],[0,0,1,1,1,0,0,0,1,1,1,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,0,0,0,1,1,1,0,0],[1,0,0,0,0,1,0,1,0,0,0,0,1],[1,0,0,0,0,1,0,1,0,0,0,0,1],[1,0,0,0,0,1,0,1,0,0,0,0,1],[0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,1,1,1,0,0,0,1,1,1,0,0]]},{id:"spaceship",dots:[[0,1,0,0,1],[1,0,0,0,0],[1,0,0,0,1],[1,1,1,1,0]]}],"id")},function(e,t,n){var r=n(16),o=n(15),i=n(6),a=n(28),l=n(2),u=n(46),c=Object.getOwnPropertyDescriptor;t.f=n(3)?c:function(e,t){if(e=i(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(34),o=n(20).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(2),o=n(6),i=n(78)(!1),a=n(26)("IE_PROTO");e.exports=function(e,t){var n,l=o(e),u=0,c=[];for(n in l)n!=a&&r(l,n)&&c.push(n);for(;t.length>u;)r(l,n=t[u++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){e.exports=n(8)},function(e,t,n){"use strict";var r=n(13),o=n(9),i=n(35),a=n(8),l=n(23),u=n(81),c=n(19),s=n(38),f=n(5)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,v,y){u(n,t,h);var g,b,w,_=function(e){if(!d&&e in C)return C[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",k="values"==m,E=!1,C=e.prototype,S=C[f]||C["@@iterator"]||m&&C[m],T=S||_(m),P=m?k?_("entries"):T:void 0,O="Array"==t&&C.entries||S;if(O&&(w=s(O.call(new e)))!==Object.prototype&&w.next&&(c(w,x,!0),r||"function"==typeof w[f]||a(w,f,p)),k&&S&&"values"!==S.name&&(E=!0,T=function(){return S.call(this)}),r&&!y||!d&&!E&&C[f]||a(C,f,T),l[t]=T,l[x]=p,m)if(g={values:k?T:_("values"),keys:v?T:_("keys"),entries:P},y)for(b in g)b in C||i(C,b,g[b]);else o(o.P+o.F*(d||E),t,g);return g}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(85)),o=a(n(70)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){var r=n(2),o=n(39),i=n(26)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(27);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(98)},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,l,u){if(r(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,i,a,l,u],f=0;(c=new Error(t.replace(/%s/g,function(){return s[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,l=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))o.call(n,c)&&(l[c]=n[c]);if(r){a=r(n);for(var s=0;s<a.length;s++)i.call(n,a[s])&&(l[a[s]]=n[a[s]])}}return l}},function(e,t,n){var r=n(7),o=n(1).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){e.exports=!n(3)&&!n(10)(function(){return 7!=Object.defineProperty(n(45)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(107);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(110));t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,r.default)(e,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],s=!1,f=-1;function d(){s&&u&&(s=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!s){var e=l(d);s=!0;for(var t=c.length;t;){for(u=c,c=[];++f<t;)u&&u[f].run();f=-1,t=c.length}u=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||s||l(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"setAutoFreeze",function(){return u}),n.d(t,"setUseProxies",function(){return c});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o="undefined"!=typeof Symbol?Symbol("immer-proxy-state"):"__$immer_state",i="An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.";var a=!(void 0!==e||"verifyMinified"!==function(){}.name),l="undefined"!=typeof Proxy;function u(e){a=e}function c(e){l=e}function s(e){return!!e&&!!e[o]}function f(e){if(!e)return!1;if("object"!==(void 0===e?"undefined":r(e)))return!1;if(Array.isArray(e))return!0;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function d(e){return a&&Object.freeze(e),e}var p=Object.assign||function(e,t){for(var n in t)v(t,n)&&(e[n]=t[n]);return e};function h(e){if(Array.isArray(e))return e.slice();var t=void 0===e.__proto__?Object.create(null):{};return p(t,e)}function m(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(n,e[n]);else for(var r in e)t(r,e[r])}function v(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function y(e){if(s(e)){var t=e[o];return!0===t.modified?!0===t.finalized?t.copy:(t.finalized=!0,function(e,t){var n=t.base;return m(e,function(t,r){r!==n[t]&&(e[t]=y(r))}),d(e)}(l?t.copy:t.copy=h(e),t)):t.base}return function e(t){if(!f(t))return;if(Object.isFrozen(t))return;m(t,function(n,r){s(r)?t[n]=y(r):e(r)});d(t)}(e),e}function g(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}var b=null,w={get:function(e,t){if(t===o)return e;if(e.modified){var n=e.copy[t];return n===e.base[t]&&f(n)?e.copy[t]=E(e,n):n}if(v(e.proxies,t))return e.proxies[t];var r=e.base[t];return!s(r)&&f(r)?e.proxies[t]=E(e,r):r},has:function(e,t){return t in x(e)},ownKeys:function(e){return Reflect.ownKeys(x(e))},set:function(e,t,n){if(!e.modified){if(t in e.base&&g(e.base[t],n)||v(e.proxies,t)&&e.proxies[t]===n)return!0;k(e)}return e.copy[t]=n,!0},deleteProperty:function(e,t){return k(e),delete e.copy[t],!0},getOwnPropertyDescriptor:function(e,t){var n=e.modified?e.copy:v(e.proxies,t)?e.proxies:e.base,r=Reflect.getOwnPropertyDescriptor(n,t);!r||Array.isArray(n)&&"length"===t||(r.configurable=!0);return r},defineProperty:function(){throw new Error("Immer does not support defining properties on draft objects.")},setPrototypeOf:function(){throw new Error("Immer does not support `setPrototypeOf()`.")}},_={};function x(e){return!0===e.modified?e.copy:e.base}function k(e){e.modified||(e.modified=!0,e.copy=h(e.base),Object.assign(e.copy,e.proxies),e.parent&&k(e.parent))}function E(e,t){if(s(t))throw new Error("Immer bug. Plz report.");var n=function(e,t){return{modified:!1,finalized:!1,parent:e,base:t,copy:void 0,proxies:{}}}(e,t),r=Array.isArray(t)?Proxy.revocable([n],_):Proxy.revocable(n,w);return b.push(r),r.proxy}m(w,function(e,t){_[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});var C={},S=null;function T(e){return e.hasCopy?e.copy:e.base}function P(e){e.modified||(e.modified=!0,e.parent&&P(e.parent))}function O(e){e.hasCopy||(e.hasCopy=!0,e.copy=h(e.base))}function N(e,t){var n=h(t);m(t,function(e){Object.defineProperty(n,""+e,function(e){return C[e]||(C[e]={configurable:!0,enumerable:!0,get:function(){return function(e,t){M(e);var n=T(e)[t];return!e.finalizing&&n===e.base[t]&&f(n)?(O(e),e.copy[t]=N(e,n)):n}(this[o],e)},set:function(t){!function(e,t,n){if(M(e),!e.modified){if(g(T(e)[t],n))return;P(e),O(e)}e.copy[t]=n}(this[o],e,t)}})}(""+e))});var r=function(e,t,n){return{modified:!1,hasCopy:!1,parent:e,base:n,proxy:t,copy:void 0,finished:!1,finalizing:!1,finalized:!1}}(e,n,t);return function(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0})}(n,o,r),S.push(r),n}function M(e){if(!0===e.finished)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(e.copy||e.base))}function I(e){return!function(e,t){if(g(e,t))return!0;if("object"!==(void 0===e?"undefined":r(e))||null===e||"object"!==(void 0===t?"undefined":r(t))||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!hasOwnProperty.call(t,n[i])||!g(e[n[i]],t[n[i]]))return!1;return!0}(Object.keys(e.base),Object.keys(e.proxy))}function j(e){var t=e.proxy;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}function R(e,t){if(s(e)){var n=t.call(e,e);return void 0===n?e:n}var r=S;S=[];try{var a=N(void 0,e),l=t.call(a,a);m(S,function(e,t){t.finalizing=!0}),function(){for(var e=S.length-1;e>=0;e--){var t=S[e];!1===t.modified&&(Array.isArray(t.base)?j(t)&&P(t):I(t)&&P(t))}}();var u=void 0;if(void 0!==l&&l!==a){if(a[o].modified)throw new Error(i);u=y(l)}else u=y(a);return m(S,function(e,t){t.finished=!0}),u}finally{S=r}}t.default=function e(t,n){if(1!==arguments.length&&2!==arguments.length)throw new Error("produce expects 1 or 2 arguments, got "+arguments.length);if("function"==typeof t){if("function"==typeof n)throw new Error("if first argument is a function (curried invocation), the second argument to produce cannot be a function");var a=n,u=t;return function(){var t=arguments;return e(void 0===t[0]&&void 0!==a?a:t[0],function(e){return t[0]=e,u.apply(e,t)})}}if("function"!=typeof n)throw new Error("if first argument is not a function, the second argument to produce should be a function");if("object"!==(void 0===t?"undefined":r(t))||null===t)return n(t);if(!f(t))throw new Error("the first argument to an immer producer should be a primitive, plain object or array, got "+(void 0===t?"undefined":r(t))+': "'+t+'"');return l?function(e,t){if(s(e)){var n=t.call(e,e);return void 0===n?e:n}var r=b;b=[];try{var a=E(void 0,e),l=t.call(a,a),u=void 0;if(void 0!==l&&l!==a){if(a[o].modified)throw new Error(i);u=y(l)}else u=y(a);return m(b,function(e,t){return t.revoke()}),u}finally{b=r}}(t,n):R(t,n)}}.call(this,n(50))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(14)),o=(a(n(40)),n(29)),i=a(n(117));function a(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.generateClickModeChoices)(),u=function(){return r.default.createElement("div",{className:i.default.header},r.default.createElement("span",{className:i.default.title},"Conway's Game of Life"),r.default.createElement("a",{className:i.default.gitHubLink,href:"https://github.com/kjirou/game-of-life-web"},"GitHub"))},c=function(e){var t=e.age,n=e.columnIndex,o=e.onClick,a=e.rowIndex,l=[i.default.cell];t>0&&l.push(i.default.isAlive);var u={top:10*a,left:10*n};return r.default.createElement("div",{className:l.join(" "),onClick:function(){o({rowIndex:a,columnIndex:n})},style:u})},s=function(e){var t=e.cells,n=e.onCellClick,o=[];return t.forEach(function(e){e.forEach(function(e){var t="cell-"+e.rowIndex+"-"+e.columnIndex;o.push(r.default.createElement(c,{key:t,age:e.age,columnIndex:e.columnIndex,rowIndex:e.rowIndex,onClick:n}))})}),r.default.createElement("div",{className:i.default.cellMatrix},o)},f=function(e){var t=e.label,n=e.onClick;return r.default.createElement("div",{className:i.default.button,onClick:n},t)},d=function(e){var t=e.choices,n=e.onChange,o=e.selectedValue;return r.default.createElement("select",{className:i.default.select,onChange:n,value:o},t.map(function(e,t){var n=e.label,o=e.value;return r.default.createElement("option",{key:"choice"+t,value:o},n)}))},p=function(e){var t=e.intervalData,n=e.isRunning,o=e.onCleanButtonClick,a=e.onClickModeChange,u=e.onRandomButtonClick,c=e.onRunnningButtonClick,s=e.onRunnningSpeedButtonClick,p=e.selectedClickModeChoice;return r.default.createElement("div",{className:i.default.controlPanel},r.default.createElement("div",{className:i.default.commandTitle},"Running"),r.default.createElement("div",{className:i.default.commandList},r.default.createElement("div",{className:i.default.command},r.default.createElement(f,{onClick:c,label:n?"On":"Off"}))),r.default.createElement("div",{className:i.default.commandTitle},"Running Speed"),r.default.createElement("div",{className:i.default.commandList},r.default.createElement("div",{className:i.default.command},r.default.createElement(f,{onClick:s,label:t.label}))),r.default.createElement("div",{className:i.default.commandTitle},"Click Mode"),r.default.createElement("div",{className:i.default.commandList},r.default.createElement("div",{className:i.default.command},r.default.createElement(d,{choices:l,onChange:a,selectedValue:p.value}))),r.default.createElement("div",{className:i.default.commandTitle},"Bulk Placement"),r.default.createElement("div",{className:i.default.commandList},r.default.createElement("div",{className:i.default.command},r.default.createElement(f,{onClick:u,label:"Random"})),r.default.createElement("div",{className:i.default.command},r.default.createElement(f,{onClick:o,label:"Clean"}))))};t.default=function(e){var t=e.cellMatrix,n=e.intervalData,o=e.isRunning,a=e.onCellClick,l=e.onCleanButtonClick,c=e.onClickModeChange,f=e.onRandomButtonClick,d=e.onRunnningButtonClick,h=e.onRunnningSpeedButtonClick,m=e.selectedClickModeChoice;return r.default.createElement("div",{className:i.default.root},r.default.createElement(u,null),r.default.createElement("div",{className:i.default.game},r.default.createElement(s,{cells:t.cells,onCellClick:a}),r.default.createElement(p,{intervalData:n,isRunning:o,onCleanButtonClick:l,onClickModeChange:c,onRandomButtonClick:f,onRunnningButtonClick:d,onRunnningSpeedButtonClick:h,selectedClickModeChoice:m})))}},function(e,t,n){var r=n(9);r(r.S,"Object",{create:n(22)})},function(e,t,n){n(53);var r=n(0).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){e.exports={default:n(54),__esModule:!0}},function(e,t,n){var r=n(7),o=n(11),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(47)(Function.call,n(30).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(9);r(r.S,"Object",{setPrototypeOf:n(56).set})},function(e,t,n){n(57),e.exports=n(0).Object.setPrototypeOf},function(e,t,n){e.exports={default:n(58),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(59)),o=a(n(55)),i=a(n(37));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t,n){n(17)("observable")},function(e,t,n){n(17)("asyncIterator")},function(e,t){},function(e,t,n){var r=n(6),o=n(31).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){var r=n(33);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(21),o=n(32),i=n(16);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,l=n(e),u=i.f,c=0;l.length>c;)u.call(e,a=l[c++])&&t.push(a);return t}},function(e,t,n){var r=n(12)("meta"),o=n(7),i=n(2),a=n(4).f,l=0,u=Object.isExtensible||function(){return!0},c=!n(10)(function(){return u(Object.preventExtensions({}))}),s=function(e){a(e,r,{value:{i:"O"+ ++l,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!u(e))return"F";if(!t)return"E";s(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;s(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&u(e)&&!i(e,r)&&s(e),e}}},function(e,t,n){"use strict";var r=n(1),o=n(2),i=n(3),a=n(9),l=n(35),u=n(67).KEY,c=n(10),s=n(25),f=n(19),d=n(12),p=n(5),h=n(18),m=n(17),v=n(66),y=n(65),g=n(11),b=n(7),w=n(6),_=n(28),x=n(15),k=n(22),E=n(64),C=n(30),S=n(4),T=n(21),P=C.f,O=S.f,N=E.f,M=r.Symbol,I=r.JSON,j=I&&I.stringify,R=p("_hidden"),F=p("toPrimitive"),L={}.propertyIsEnumerable,D=s("symbol-registry"),A=s("symbols"),z=s("op-symbols"),U=Object.prototype,B="function"==typeof M,V=r.QObject,W=!V||!V.prototype||!V.prototype.findChild,H=i&&c(function(){return 7!=k(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=P(U,t);r&&delete U[t],O(e,t,n),r&&e!==U&&O(U,t,r)}:O,$=function(e){var t=A[e]=k(M.prototype);return t._k=e,t},K=B&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},G=function(e,t,n){return e===U&&G(z,t,n),g(e),t=_(t,!0),g(n),o(A,t)?(n.enumerable?(o(e,R)&&e[R][t]&&(e[R][t]=!1),n=k(n,{enumerable:x(0,!1)})):(o(e,R)||O(e,R,x(1,{})),e[R][t]=!0),H(e,t,n)):O(e,t,n)},Q=function(e,t){g(e);for(var n,r=v(t=w(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},q=function(e){var t=L.call(this,e=_(e,!0));return!(this===U&&o(A,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(A,e)||o(this,R)&&this[R][e])||t)},Y=function(e,t){if(e=w(e),t=_(t,!0),e!==U||!o(A,t)||o(z,t)){var n=P(e,t);return!n||!o(A,t)||o(e,R)&&e[R][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=N(w(e)),r=[],i=0;n.length>i;)o(A,t=n[i++])||t==R||t==u||r.push(t);return r},X=function(e){for(var t,n=e===U,r=N(n?z:w(e)),i=[],a=0;r.length>a;)!o(A,t=r[a++])||n&&!o(U,t)||i.push(A[t]);return i};B||(l((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(z,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),H(this,e,x(1,n))};return i&&W&&H(U,e,{configurable:!0,set:t}),$(e)}).prototype,"toString",function(){return this._k}),C.f=Y,S.f=G,n(31).f=E.f=J,n(16).f=q,n(32).f=X,i&&!n(13)&&l(U,"propertyIsEnumerable",q,!0),h.f=function(e){return $(p(e))}),a(a.G+a.W+a.F*!B,{Symbol:M});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)p(Z[ee++]);for(var te=T(p.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!B,"Symbol",{for:function(e){return o(D,e+="")?D[e]:D[e]=M(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!B,"Object",{create:function(e,t){return void 0===t?k(e):Q(k(e),t)},defineProperty:G,defineProperties:Q,getOwnPropertyDescriptor:Y,getOwnPropertyNames:J,getOwnPropertySymbols:X}),I&&a(a.S+a.F*(!B||c(function(){var e=M();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,j.apply(I,r)}}),M.prototype[F]||n(8)(M.prototype,F,M.prototype.valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(68),n(63),n(62),n(61),e.exports=n(0).Symbol},function(e,t,n){e.exports={default:n(69),__esModule:!0}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=function(){}},function(e,t,n){"use strict";var r=n(72),o=n(71),i=n(23),a=n(6);e.exports=n(36)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){n(73);for(var r=n(1),o=n(8),i=n(23),a=n(5)("toStringTag"),l="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<l.length;u++){var c=l[u],s=r[c],f=s&&s.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(24),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(24),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(6),o=n(77),i=n(76);e.exports=function(e){return function(t,n,a){var l,u=r(t),c=o(u.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if((l=u[s++])!=l)return!0}else for(;c>s;s++)if((e||s in u)&&u[s]===n)return e||s||0;return!e&&-1}}},function(e,t,n){var r=n(33);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(4),o=n(11),i=n(21);e.exports=n(3)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),l=a.length,u=0;l>u;)r.f(e,n=a[u++],t[n]);return e}},function(e,t,n){"use strict";var r=n(22),o=n(15),i=n(19),a={};n(8)(a,n(5)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(24),o=n(27);e.exports=function(e){return function(t,n){var i,a,l=String(o(t)),u=r(n),c=l.length;return u<0||u>=c?e?"":void 0:(i=l.charCodeAt(u))<55296||i>56319||u+1===c||(a=l.charCodeAt(u+1))<56320||a>57343?e?l.charAt(u):i:e?l.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(82)(!0);n(36)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){n(83),n(74),e.exports=n(18).f("iterator")},function(e,t,n){e.exports={default:n(84),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(37));t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,r.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){var r=n(9),o=n(0),i=n(10);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(39),o=n(38);n(87)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){n(88),e.exports=n(0).Object.getPrototypeOf},function(e,t,n){e.exports={default:n(89),__esModule:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(90)),o=u(n(49)),i=u(n(48)),a=u(n(86)),l=u(n(60));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){return(0,o.default)(this,t),(0,a.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e))}return(0,l.default)(t,e),(0,i.default)(t,[{key:"componentDidCatch",value:function(){}},{key:"render",value:function(){return this.props.children}}]),t}(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(14)).Component);t.default=c},function(e,t,n){"use strict";e.exports=function(e){var t=(e?e.ownerDocument||e:document).defaultView||window;return!(!e||!("function"==typeof t.Node?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}},function(e,t,n){"use strict";var r=n(92);e.exports=function(e){return r(e)&&3==e.nodeType}},function(e,t,n){"use strict";var r=n(93);e.exports=function e(t,n){return!(!t||!n)&&(t===n||!r(t)&&(r(n)?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){"use strict";e.exports=function(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";
/** @license React v16.4.0
 * react-dom.production.min.js
 *
 * 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 r=n(43),o=n(14),i=n(97),a=n(44),l=n(41),u=n(96),c=n(95),s=n(94),f=n(42);function d(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);r(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}o||d("227");var p={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,o,i,a,l,u){(function(e,t,n,r,o,i,a,l,u){this._hasCaughtError=!1,this._caughtError=null;var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}).apply(p,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,i,a,l,u){if(p.invokeGuardedCallback.apply(this,arguments),p.hasCaughtError()){var c=p.clearCaughtError();p._hasRethrowError||(p._hasRethrowError=!0,p._rethrowError=c)}},rethrowCaughtError:function(){return function(){if(p._hasRethrowError){var e=p._rethrowError;throw p._rethrowError=null,p._hasRethrowError=!1,e}}.apply(p,arguments)},hasCaughtError:function(){return p._hasCaughtError},clearCaughtError:function(){if(p._hasCaughtError){var e=p._caughtError;return p._caughtError=null,p._hasCaughtError=!1,e}d("198")}};var h=null,m={};function v(){if(h)for(var e in m){var t=m[e],n=h.indexOf(e);if(-1<n||d("96",e),!g[n])for(var r in t.extractEvents||d("97",e),g[n]=t,n=t.eventTypes){var o=void 0,i=n[r],a=t,l=r;b.hasOwnProperty(l)&&d("99",l),b[l]=i;var u=i.phasedRegistrationNames;if(u){for(o in u)u.hasOwnProperty(o)&&y(u[o],a,l);o=!0}else i.registrationName?(y(i.registrationName,a,l),o=!0):o=!1;o||d("98",r,e)}}}function y(e,t,n){w[e]&&d("100",e),w[e]=t,_[e]=t.eventTypes[n].dependencies}var g=[],b={},w={},_={};function x(e){h&&d("101"),h=Array.prototype.slice.call(e),v()}function k(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];m.hasOwnProperty(t)&&m[t]===r||(m[t]&&d("102",t),m[t]=r,n=!0)}n&&v()}var E={plugins:g,eventNameDispatchConfigs:b,registrationNameModules:w,registrationNameDependencies:_,possibleRegistrationNames:null,injectEventPluginOrder:x,injectEventPluginsByName:k},C=null,S=null,T=null;function P(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=T(r),p.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function O(e,t){return null==t&&d("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function N(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var M=null;function I(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)P(e,t,n[o],r[o]);else n&&P(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function j(e){return I(e,!0)}function R(e){return I(e,!1)}var F={injectEventPluginOrder:x,injectEventPluginsByName:k};function L(e,t){var n=e.stateNode;if(!n)return null;var r=C(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&d("231",t,typeof n),n)}function D(e,t){null!==e&&(M=O(M,e)),e=M,M=null,e&&(N(e,t?j:R),M&&d("95"),p.rethrowCaughtError())}function A(e,t,n,r){for(var o=null,i=0;i<g.length;i++){var a=g[i];a&&(a=a.extractEvents(e,t,n,r))&&(o=O(o,a))}D(o,!1)}var z={injection:F,getListener:L,runEventsInBatch:D,runExtractedEventsInBatch:A},U=Math.random().toString(36).slice(2),B="__reactInternalInstance$"+U,V="__reactEventHandlers$"+U;function W(e){if(e[B])return e[B];for(;!e[B];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[B]).tag||6===e.tag?e:null}function H(e){if(5===e.tag||6===e.tag)return e.stateNode;d("33")}function $(e){return e[V]||null}var K={precacheFiberNode:function(e,t){t[B]=e},getClosestInstanceFromNode:W,getInstanceFromNode:function(e){return!(e=e[B])||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:H,getFiberCurrentPropsFromNode:$,updateFiberProps:function(e,t){e[V]=t}};function G(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Q(e,t,n){for(var r=[];e;)r.push(e),e=G(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function q(e,t,n){(t=L(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=O(n._dispatchListeners,t),n._dispatchInstances=O(n._dispatchInstances,e))}function Y(e){e&&e.dispatchConfig.phasedRegistrationNames&&Q(e._targetInst,q,e)}function J(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;Q(t=t?G(t):null,q,e)}}function X(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=L(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=O(n._dispatchListeners,t),n._dispatchInstances=O(n._dispatchInstances,e))}function Z(e){e&&e.dispatchConfig.registrationName&&X(e._targetInst,null,e)}function ee(e){N(e,Y)}function te(e,t,n,r){if(n&&r)e:{for(var o=n,i=r,a=0,l=o;l;l=G(l))a++;l=0;for(var u=i;u;u=G(u))l++;for(;0<a-l;)o=G(o),a--;for(;0<l-a;)i=G(i),l--;for(;a--;){if(o===i||o===i.alternate)break e;o=G(o),i=G(i)}o=null}else o=null;for(i=o,o=[];n&&n!==i&&(null===(a=n.alternate)||a!==i);)o.push(n),n=G(n);for(n=[];r&&r!==i&&(null===(a=r.alternate)||a!==i);)n.push(r),r=G(r);for(r=0;r<o.length;r++)X(o[r],"bubbled",e);for(e=n.length;0<e--;)X(n[e],"captured",t)}var ne={accumulateTwoPhaseDispatches:ee,accumulateTwoPhaseDispatchesSkipTarget:function(e){N(e,J)},accumulateEnterLeaveDispatches:te,accumulateDirectDispatches:function(e){N(e,Z)}};function re(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}var oe={animationend:re("Animation","AnimationEnd"),animationiteration:re("Animation","AnimationIteration"),animationstart:re("Animation","AnimationStart"),transitionend:re("Transition","TransitionEnd")},ie={},ae={};function le(e){if(ie[e])return ie[e];if(!oe[e])return e;var t,n=oe[e];for(t in n)if(n.hasOwnProperty(t)&&t in ae)return ie[e]=n[t];return e}i.canUseDOM&&(ae=document.createElement("div").style,"AnimationEvent"in window||(delete oe.animationend.animation,delete oe.animationiteration.animation,delete oe.animationstart.animation),"TransitionEvent"in window||delete oe.transitionend.transition);var ue=le("animationend"),ce=le("animationiteration"),se=le("animationstart"),fe=le("transitionend"),de="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pe=null;function he(){return!pe&&i.canUseDOM&&(pe="textContent"in document.documentElement?"textContent":"innerText"),pe}var me={_root:null,_startText:null,_fallbackText:null};function ve(){if(me._fallbackText)return me._fallbackText;var e,t,n=me._startText,r=n.length,o=ye(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return me._fallbackText=o.slice(e,1<t?1-t:void 0),me._fallbackText}function ye(){return"value"in me._root?me._root.value:me._root[he()]}var ge="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),be={type:null,target:null,currentTarget:l.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function we(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?l.thatReturnsTrue:l.thatReturnsFalse,this.isPropagationStopped=l.thatReturnsFalse,this}function _e(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function xe(e){e instanceof this||d("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function ke(e){e.eventPool=[],e.getPooled=_e,e.release=xe}a(we.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=l.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=l.thatReturnsTrue)},persist:function(){this.isPersistent=l.thatReturnsTrue},isPersistent:l.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<ge.length;t++)this[ge[t]]=null}}),we.Interface=be,we.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return a(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,ke(n),n},ke(we);var Ee=we.extend({data:null}),Ce=we.extend({data:null}),Se=[9,13,27,32],Te=i.canUseDOM&&"CompositionEvent"in window,Pe=null;i.canUseDOM&&"documentMode"in document&&(Pe=document.documentMode);var Oe=i.canUseDOM&&"TextEvent"in window&&!Pe,Ne=i.canUseDOM&&(!Te||Pe&&8<Pe&&11>=Pe),Me=String.fromCharCode(32),Ie={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},je=!1;function Re(e,t){switch(e){case"keyup":return-1!==Se.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Fe(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Le=!1;var De={eventTypes:Ie,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(Te)e:{switch(e){case"compositionstart":o=Ie.compositionStart;break e;case"compositionend":o=Ie.compositionEnd;break e;case"compositionupdate":o=Ie.compositionUpdate;break e}o=void 0}else Le?Re(e,n)&&(o=Ie.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Ie.compositionStart);return o?(Ne&&(Le||o!==Ie.compositionStart?o===Ie.compositionEnd&&Le&&(i=ve()):(me._root=r,me._startText=ye(),Le=!0)),o=Ee.getPooled(o,t,n,r),i?o.data=i:null!==(i=Fe(n))&&(o.data=i),ee(o),i=o):i=null,(e=Oe?function(e,t){switch(e){case"compositionend":return Fe(t);case"keypress":return 32!==t.which?null:(je=!0,Me);case"textInput":return(e=t.data)===Me&&je?null:e;default:return null}}(e,n):function(e,t){if(Le)return"compositionend"===e||!Te&&Re(e,t)?(e=ve(),me._root=null,me._startText=null,me._fallbackText=null,Le=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ne?null:t.data;default:return null}}(e,n))?((t=Ce.getPooled(Ie.beforeInput,t,n,r)).data=e,ee(t)):t=null,null===i?t:null===t?i:[i,t]}},Ae=null,ze={injectFiberControlledHostComponent:function(e){Ae=e}},Ue=null,Be=null;function Ve(e){if(e=S(e)){Ae&&"function"==typeof Ae.restoreControlledState||d("194");var t=C(e.stateNode);Ae.restoreControlledState(e.stateNode,e.type,t)}}function We(e){Ue?Be?Be.push(e):Be=[e]:Ue=e}function He(){return null!==Ue||null!==Be}function $e(){if(Ue){var e=Ue,t=Be;if(Be=Ue=null,Ve(e),t)for(e=0;e<t.length;e++)Ve(t[e])}}var Ke={injection:ze,enqueueStateRestore:We,needsStateRestore:He,restoreStateIfNeeded:$e};function Ge(e,t){return e(t)}function Qe(e,t,n){return e(t,n)}function qe(){}var Ye=!1;function Je(e,t){if(Ye)return e(t);Ye=!0;try{return Ge(e,t)}finally{Ye=!1,He()&&(qe(),$e())}}var Xe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ze(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Xe[e.type]:"textarea"===t}function et(e){return(e=e.target||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function tt(e,t){return!(!i.canUseDOM||t&&!("addEventListener"in document))&&((t=(e="on"+e)in document)||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t)}function nt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function rt(e){e._valueTracker||(e._valueTracker=function(e){var t=nt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function ot(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=nt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var it=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,at="function"==typeof Symbol&&Symbol.for,lt=at?Symbol.for("react.element"):60103,ut=at?Symbol.for("react.portal"):60106,ct=at?Symbol.for("react.fragment"):60107,st=at?Symbol.for("react.strict_mode"):60108,ft=at?Symbol.for("react.profiler"):60114,dt=at?Symbol.for("react.provider"):60109,pt=at?Symbol.for("react.context"):60110,ht=at?Symbol.for("react.async_mode"):60111,mt=at?Symbol.for("react.forward_ref"):60112,vt=at?Symbol.for("react.timeout"):60113,yt="function"==typeof Symbol&&Symbol.iterator;function gt(e){return null===e||void 0===e?null:"function"==typeof(e=yt&&e[yt]||e["@@iterator"])?e:null}function bt(e){var t=e.type;if("function"==typeof t)return t.displayName||t.name;if("string"==typeof t)return t;switch(t){case ht:return"AsyncMode";case pt:return"Context.Consumer";case ct:return"ReactFragment";case ut:return"ReactPortal";case ft:return"Profiler("+e.pendingProps.id+")";case dt:return"Context.Provider";case st:return"StrictMode";case vt:return"Timeout"}if("object"==typeof t&&null!==t)switch(t.$$typeof){case mt:return""!==(e=t.render.displayName||t.render.name||"")?"ForwardRef("+e+")":"ForwardRef"}return null}function wt(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,o=bt(e),i=null;n&&(i=bt(n)),n=r,o="\n    in "+(o||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":i?" (created by "+i+")":"");break e;default:o=""}t+=o,e=e.return}while(e);return t}var _t=/^[: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]*$/,xt={},kt={};function Et(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}var Ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ct[e]=new Et(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ct[t]=new Et(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ct[e]=new Et(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){Ct[e]=new Et(e,2,!1,e,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(e){Ct[e]=new Et(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){Ct[e]=new Et(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){Ct[e]=new Et(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){Ct[e]=new Et(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){Ct[e]=new Et(e,5,!1,e.toLowerCase(),null)});var St=/[\-:]([a-z])/g;function Tt(e){return e[1].toUpperCase()}function Pt(e,t,n,r){var o=Ct.hasOwnProperty(t)?Ct[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||void 0===t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!kt.hasOwnProperty(e)||!xt.hasOwnProperty(e)&&(_t.test(e)?kt[e]=!0:(xt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function Ot(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Nt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Ft(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Mt(e,t){null!=(t=t.checked)&&Pt(e,"checked",t,!1)}function It(e,t){Mt(e,t);var n=Ft(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?Rt(e,t.type,n):t.hasOwnProperty("defaultValue")&&Rt(e,t.type,Ft(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function jt(e,t){(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue"))&&(""===e.value&&(e.value=""+e._wrapperState.initialValue),e.defaultValue=""+e._wrapperState.initialValue),""!==(t=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==t&&(e.name=t)}function Rt(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ft(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}"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(e){var t=e.replace(St,Tt);Ct[t]=new Et(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(St,Tt);Ct[t]=new Et(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(St,Tt);Ct[t]=new Et(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),Ct.tabIndex=new Et("tabIndex",1,!1,"tabindex",null);var Lt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Dt(e,t,n){return(e=we.getPooled(Lt.change,e,t,n)).type="change",We(n),ee(e),e}var At=null,zt=null;function Ut(e){D(e,!1)}function Bt(e){if(ot(H(e)))return e}function Vt(e,t){if("change"===e)return t}var Wt=!1;function Ht(){At&&(At.detachEvent("onpropertychange",$t),zt=At=null)}function $t(e){"value"===e.propertyName&&Bt(zt)&&Je(Ut,e=Dt(zt,e,et(e)))}function Kt(e,t,n){"focus"===e?(Ht(),zt=n,(At=t).attachEvent("onpropertychange",$t)):"blur"===e&&Ht()}function Gt(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Bt(zt)}function Qt(e,t){if("click"===e)return Bt(t)}function qt(e,t){if("input"===e||"change"===e)return Bt(t)}i.canUseDOM&&(Wt=tt("input")&&(!document.documentMode||9<document.documentMode));var Yt={eventTypes:Lt,_isInputEventSupported:Wt,extractEvents:function(e,t,n,r){var o=t?H(t):window,i=void 0,a=void 0,l=o.nodeName&&o.nodeName.toLowerCase();if("select"===l||"input"===l&&"file"===o.type?i=Vt:Ze(o)?Wt?i=qt:(i=Gt,a=Kt):(l=o.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=Qt),i&&(i=i(e,t)))return Dt(i,n,r);a&&a(e,o,t),"blur"===e&&null!=t&&(e=t._wrapperState||o._wrapperState)&&e.controlled&&"number"===o.type&&Rt(o,"number",o.value)}},Jt=we.extend({view:null,detail:null}),Xt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Xt[e])&&!!t[e]}function en(){return Zt}var tn=Jt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:en,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),nn=tn.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),rn={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},on={eventTypes:rn,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?W(t):null):i=null,i===t)return null;var a=void 0,l=void 0,u=void 0,c=void 0;return"mouseout"===e||"mouseover"===e?(a=tn,l=rn.mouseLeave,u=rn.mouseEnter,c="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=nn,l=rn.pointerLeave,u=rn.pointerEnter,c="pointer"),e=null==i?o:H(i),o=null==t?o:H(t),(l=a.getPooled(l,i,n,r)).type=c+"leave",l.target=e,l.relatedTarget=o,(n=a.getPooled(u,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,te(l,n,i,t),[l,n]}};function an(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function ln(e){2!==an(e)&&d("188")}function un(e){var t=e.alternate;if(!t)return 3===(t=an(e))&&d("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var a=o.child;a;){if(a===n)return ln(o),e;if(a===r)return ln(o),t;a=a.sibling}d("188")}if(n.return!==r.return)n=o,r=i;else{a=!1;for(var l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}a||d("189")}}n.alternate!==r&&d("190")}return 3!==n.tag&&d("188"),n.stateNode.current===n?e:t}function cn(e){if(!(e=un(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var sn=we.extend({animationName:null,elapsedTime:null,pseudoElement:null}),fn=we.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dn=Jt.extend({relatedTarget:null});function pn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var hn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mn={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"},vn=Jt.extend({key:function(e){if(e.key){var t=hn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=pn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?mn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:en,charCode:function(e){return"keypress"===e.type?pn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?pn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),yn=tn.extend({dataTransfer:null}),gn=Jt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:en}),bn=we.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),wn=tn.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),_n=[["abort","abort"],[ue,"animationEnd"],[ce,"animationIteration"],[se,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[fe,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],xn={},kn={};function En(e,t){var n=e[0],r="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},xn[e]=t,kn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){En(e,!0)}),_n.forEach(function(e){En(e,!1)});var Cn={eventTypes:xn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=kn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=kn[e];if(!o)return null;switch(e){case"keypress":if(0===pn(n))return null;case"keydown":case"keyup":e=vn;break;case"blur":case"focus":e=dn;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=tn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=gn;break;case ue:case ce:case se:e=sn;break;case fe:e=bn;break;case"scroll":e=Jt;break;case"wheel":e=wn;break;case"copy":case"cut":case"paste":e=fn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=nn;break;default:e=we}return ee(t=e.getPooled(o,t,n,r)),t}},Sn=Cn.isInteractiveTopLevelEventType,Tn=[];function Pn(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=W(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],A(e.topLevelType,t,e.nativeEvent,et(e.nativeEvent))}var On=!0;function Nn(e){On=!!e}function Mn(e,t){if(!t)return null;var n=(Sn(e)?jn:Rn).bind(null,e);t.addEventListener(e,n,!1)}function In(e,t){if(!t)return null;var n=(Sn(e)?jn:Rn).bind(null,e);t.addEventListener(e,n,!0)}function jn(e,t){Qe(Rn,e,t)}function Rn(e,t){if(On){var n=et(t);if(null===(n=W(n))||"number"!=typeof n.tag||2===an(n)||(n=null),Tn.length){var r=Tn.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Je(Pn,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Tn.length&&Tn.push(e)}}}var Fn={get _enabled(){return On},setEnabled:Nn,isEnabled:function(){return On},trapBubbledEvent:Mn,trapCapturedEvent:In,dispatchEvent:Rn},Ln={},Dn=0,An="_reactListenersID"+(""+Math.random()).slice(2);function zn(e){return Object.prototype.hasOwnProperty.call(e,An)||(e[An]=Dn++,Ln[e[An]]={}),Ln[e[An]]}function Un(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bn(e,t){var n,r=Un(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Un(r)}}function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)}var Wn=i.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Hn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},$n=null,Kn=null,Gn=null,Qn=!1;function qn(e,t){if(Qn||null==$n||$n!==u())return null;var n=$n;return"selectionStart"in n&&Vn(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?n={anchorNode:(n=window.getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}:n=void 0,Gn&&c(Gn,n)?null:(Gn=n,(e=we.getPooled(Hn.select,Kn,e,t)).type="select",e.target=$n,ee(e),e)}var Yn={eventTypes:Hn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=zn(i),o=_.onSelect;for(var a=0;a<o.length;a++){var l=o[a];if(!i.hasOwnProperty(l)||!i[l]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?H(t):window,e){case"focus":(Ze(i)||"true"===i.contentEditable)&&($n=i,Kn=t,Gn=null);break;case"blur":Gn=Kn=$n=null;break;case"mousedown":Qn=!0;break;case"contextmenu":case"mouseup":return Qn=!1,qn(n,r);case"selectionchange":if(Wn)break;case"keydown":case"keyup":return qn(n,r)}return null}};F.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),C=K.getFiberCurrentPropsFromNode,S=K.getInstanceFromNode,T=K.getNodeFromInstance,F.injectEventPluginsByName({SimpleEventPlugin:Cn,EnterLeaveEventPlugin:on,ChangeEventPlugin:Yt,SelectEventPlugin:Yn,BeforeInputEventPlugin:De});var Jn=void 0;Jn="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};var Xn=void 0,Zn=void 0;if(i.canUseDOM){var er=[],tr=0,nr={},rr=-1,or=!1,ir=!1,ar=0,lr=33,ur=33,cr={didTimeout:!1,timeRemaining:function(){var e=ar-Jn();return 0<e?e:0}},sr=function(e,t){if(nr[t])try{e(cr)}finally{delete nr[t]}},fr="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===fr&&(or=!1,0!==er.length)){if(0!==er.length&&(e=Jn(),!(-1===rr||rr>e))){rr=-1,cr.didTimeout=!0;for(var t=0,n=er.length;t<n;t++){var r=er[t],o=r.timeoutTime;-1!==o&&o<=e?sr(r.scheduledCallback,r.callbackId):-1!==o&&(-1===rr||o<rr)&&(rr=o)}}for(e=Jn();0<ar-e&&0<er.length;)e=er.shift(),cr.didTimeout=!1,sr(e.scheduledCallback,e.callbackId),e=Jn();0<er.length&&!ir&&(ir=!0,requestAnimationFrame(dr))}},!1);var dr=function(e){ir=!1;var t=e-ar+ur;t<ur&&lr<ur?(8>t&&(t=8),ur=t<lr?lr:t):lr=t,ar=e+ur,or||(or=!0,window.postMessage(fr,"*"))};Xn=function(e,t){var n=-1;return null!=t&&"number"==typeof t.timeout&&(n=Jn()+t.timeout),(-1===rr||-1!==n&&n<rr)&&(rr=n),t=++tr,er.push({scheduledCallback:e,callbackId:t,timeoutTime:n}),nr[t]=!0,ir||(ir=!0,requestAnimationFrame(dr)),t},Zn=function(e){delete nr[e]}}else{var pr=0,hr={};Xn=function(e){var t=pr++,n=setTimeout(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return hr[t]=n,t},Zn=function(e){var t=hr[e];delete hr[e],clearTimeout(t)}}function mr(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return o.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}(t.children))&&(e.children=t),e}function vr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function yr(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function gr(e,t){return null!=t.dangerouslySetInnerHTML&&d("91"),a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function br(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&d("92"),Array.isArray(t)&&(1>=t.length||d("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function wr(e,t){var n=t.value;null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function _r(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}var xr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function kr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Er(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?kr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Cr=void 0,Sr=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==xr.svg||"innerHTML"in e)e.innerHTML=t;else{for((Cr=Cr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=Cr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Tr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Pr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Or=["Webkit","ms","Moz","O"];function Nr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,i=t[n];o=null==i||"boolean"==typeof i||""===i?"":r||"number"!=typeof i||0===i||Pr.hasOwnProperty(o)&&Pr[o]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Pr).forEach(function(e){Or.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pr[t]=Pr[e]})});var Mr=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ir(e,t,n){t&&(Mr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&d("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&d("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||d("61")),null!=t.style&&"object"!=typeof t.style&&d("62",n()))}function jr(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rr=l.thatReturns("");function Fr(e,t){var n=zn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=_[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case"scroll":In("scroll",e);break;case"focus":case"blur":In("focus",e),In("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":tt(o,!0)&&In(o,e);break;case"invalid":case"submit":case"reset":break;default:-1===de.indexOf(o)&&Mn(o,e)}n[o]=!0}}}function Lr(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===xr.html&&(r=kr(e)),r===xr.html?"script"===e?((e=n.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function Dr(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function Ar(e,t,n,r){var o=jr(t,n);switch(t){case"iframe":case"object":Mn("load",e);var i=n;break;case"video":case"audio":for(i=0;i<de.length;i++)Mn(de[i],e);i=n;break;case"source":Mn("error",e),i=n;break;case"img":case"image":case"link":Mn("error",e),Mn("load",e),i=n;break;case"form":Mn("reset",e),Mn("submit",e),i=n;break;case"details":Mn("toggle",e),i=n;break;case"input":Nt(e,n),i=Ot(e,n),Mn("invalid",e),Fr(r,"onChange");break;case"option":i=mr(e,n);break;case"select":yr(e,n),i=a({},n,{value:void 0}),Mn("invalid",e),Fr(r,"onChange");break;case"textarea":br(e,n),i=gr(e,n),Mn("invalid",e),Fr(r,"onChange");break;default:i=n}Ir(t,i,Rr);var u,c=i;for(u in c)if(c.hasOwnProperty(u)){var s=c[u];"style"===u?Nr(e,s):"dangerouslySetInnerHTML"===u?null!=(s=s?s.__html:void 0)&&Sr(e,s):"children"===u?"string"==typeof s?("textarea"!==t||""!==s)&&Tr(e,s):"number"==typeof s&&Tr(e,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(w.hasOwnProperty(u)?null!=s&&Fr(r,u):null!=s&&Pt(e,u,s,o))}switch(t){case"input":rt(e),jt(e,n);break;case"textarea":rt(e),_r(e);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,null!=(t=n.value)?vr(e,!!n.multiple,t,!1):null!=n.defaultValue&&vr(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=l)}}function zr(e,t,n,r,o){var i=null;switch(t){case"input":n=Ot(e,n),r=Ot(e,r),i=[];break;case"option":n=mr(e,n),r=mr(e,r),i=[];break;case"select":n=a({},n,{value:void 0}),r=a({},r,{value:void 0}),i=[];break;case"textarea":n=gr(e,n),r=gr(e,r),i=[];break;default:"function"!=typeof n.onClick&&"function"==typeof r.onClick&&(e.onclick=l)}Ir(t,r,Rr),t=e=void 0;var u=null;for(e in n)if(!r.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var c=n[e];for(t in c)c.hasOwnProperty(t)&&(u||(u={}),u[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(w.hasOwnProperty(e)?i||(i=[]):(i=i||[]).push(e,null));for(e in r){var s=r[e];if(c=null!=n?n[e]:void 0,r.hasOwnProperty(e)&&s!==c&&(null!=s||null!=c))if("style"===e)if(c){for(t in c)!c.hasOwnProperty(t)||s&&s.hasOwnProperty(t)||(u||(u={}),u[t]="");for(t in s)s.hasOwnProperty(t)&&c[t]!==s[t]&&(u||(u={}),u[t]=s[t])}else u||(i||(i=[]),i.push(e,u)),u=s;else"dangerouslySetInnerHTML"===e?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(i=i||[]).push(e,""+s)):"children"===e?c===s||"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(e,""+s):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(w.hasOwnProperty(e)?(null!=s&&Fr(o,e),i||c===s||(i=[])):(i=i||[]).push(e,s))}return u&&(i=i||[]).push("style",u),i}function Ur(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&Mt(e,o),jr(n,r),r=jr(n,o);for(var i=0;i<t.length;i+=2){var a=t[i],l=t[i+1];"style"===a?Nr(e,l):"dangerouslySetInnerHTML"===a?Sr(e,l):"children"===a?Tr(e,l):Pt(e,a,l,r)}switch(n){case"input":It(e,o);break;case"textarea":wr(e,o);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,null!=(n=o.value)?vr(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?vr(e,!!o.multiple,o.defaultValue,!0):vr(e,!!o.multiple,o.multiple?[]:"",!1))}}function Br(e,t,n,r,o){switch(t){case"iframe":case"object":Mn("load",e);break;case"video":case"audio":for(r=0;r<de.length;r++)Mn(de[r],e);break;case"source":Mn("error",e);break;case"img":case"image":case"link":Mn("error",e),Mn("load",e);break;case"form":Mn("reset",e),Mn("submit",e);break;case"details":Mn("toggle",e);break;case"input":Nt(e,n),Mn("invalid",e),Fr(o,"onChange");break;case"select":yr(e,n),Mn("invalid",e),Fr(o,"onChange");break;case"textarea":br(e,n),Mn("invalid",e),Fr(o,"onChange")}for(var i in Ir(t,n,Rr),r=null,n)if(n.hasOwnProperty(i)){var a=n[i];"children"===i?"string"==typeof a?e.textContent!==a&&(r=["children",a]):"number"==typeof a&&e.textContent!==""+a&&(r=["children",""+a]):w.hasOwnProperty(i)&&null!=a&&Fr(o,i)}switch(t){case"input":rt(e),jt(e,n);break;case"textarea":rt(e),_r(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&(e.onclick=l)}return r}function Vr(e,t){return e.nodeValue!==t}var Wr={createElement:Lr,createTextNode:Dr,setInitialProperties:Ar,diffProperties:zr,updateProperties:Ur,diffHydratedProperties:Br,diffHydratedText:Vr,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(It(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=$(r);o||d("90"),ot(r),It(r,o)}}}break;case"textarea":wr(e,n);break;case"select":null!=(t=n.value)&&vr(e,!!n.multiple,t,!1)}}},Hr=null,$r=null;function Kr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Gr(e,t){return"textarea"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html}var Qr=Jn,qr=Xn,Yr=Zn;function Jr(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Xr(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var Zr=[],eo=-1;function to(e){return{current:e}}function no(e){0>eo||(e.current=Zr[eo],Zr[eo]=null,eo--)}function ro(e,t){Zr[++eo]=e.current,e.current=t}var oo=to(f),io=to(!1),ao=f;function lo(e){return co(e)?ao:oo.current}function uo(e,t){var n=e.type.contextTypes;if(!n)return f;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function co(e){return 2===e.tag&&null!=e.type.childContextTypes}function so(e){co(e)&&(no(io),no(oo))}function fo(e){no(io),no(oo)}function po(e,t,n){oo.current!==f&&d("168"),ro(oo,t),ro(io,n)}function ho(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;for(var o in n=n.getChildContext())o in r||d("108",bt(e)||"Unknown",o);return a({},t,n)}function mo(e){if(!co(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||f,ao=oo.current,ro(oo,t),ro(io,io.current),!0}function vo(e,t){var n=e.stateNode;if(n||d("169"),t){var r=ho(e,ao);n.__reactInternalMemoizedMergedChildContext=r,no(io),no(oo),ro(oo,r)}else no(io);ro(io,t)}function yo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function go(e,t,n){var r=e.alternate;return null===r?((r=new yo(e.tag,t,e.key,e.mode)).type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function bo(e,t,n){var r=e.type,o=e.key;if(e=e.props,"function"==typeof r)var i=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"==typeof r)i=5;else switch(r){case ct:return wo(e.children,t,n,o);case ht:i=11,t|=3;break;case st:i=11,t|=2;break;case ft:return(r=new yo(15,e,o,4|t)).type=ft,r.expirationTime=n,r;case vt:i=16,t|=2;break;default:e:{switch("object"==typeof r&&null!==r?r.$$typeof:null){case dt:i=13;break e;case pt:i=12;break e;case mt:i=14;break e;default:d("130",null==r?r:typeof r,"")}i=void 0}}return(t=new yo(i,e,o,t)).type=r,t.expirationTime=n,t}function wo(e,t,n,r){return(e=new yo(10,e,r,t)).expirationTime=n,e}function _o(e,t,n){return(e=new yo(6,e,null,t)).expirationTime=n,e}function xo(e,t,n){return(t=new yo(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ko(e,t,n){return e={current:t=new yo(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}var Eo=null,Co=null;function So(e){return function(t){try{return e(t)}catch(e){}}}function To(e){"function"==typeof Eo&&Eo(e)}function Po(e){"function"==typeof Co&&Co(e)}var Oo=!1;function No(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Mo(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Io(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function jo(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Ro(e,t,n){var r=e.alternate;if(null===r){var o=e.updateQueue,i=null;null===o&&(o=e.updateQueue=No(e.memoizedState))}else o=e.updateQueue,i=r.updateQueue,null===o?null===i?(o=e.updateQueue=No(e.memoizedState),i=r.updateQueue=No(r.memoizedState)):o=e.updateQueue=Mo(i):null===i&&(i=r.updateQueue=Mo(o));null===i||o===i?jo(o,t,n):null===o.lastUpdate||null===i.lastUpdate?(jo(o,t,n),jo(i,t,n)):(jo(o,t,n),i.lastUpdate=t)}function Fo(e,t,n){var r=e.updateQueue;null===(r=null===r?e.updateQueue=No(e.memoizedState):Lo(e,r)).lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function Lo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Mo(t)),t}function Do(e,t,n,r,o,i){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(i,r,o):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(null===(o="function"==typeof(e=n.payload)?e.call(i,r,o):e)||void 0===o)break;return a({},r,o);case 2:Oo=!0}return r}function Ao(e,t,n,r,o){if(Oo=!1,!(0===t.expirationTime||t.expirationTime>o)){for(var i=(t=Lo(e,t)).baseState,a=null,l=0,u=t.firstUpdate,c=i;null!==u;){var s=u.expirationTime;s>o?(null===a&&(a=u,i=c),(0===l||l>s)&&(l=s)):(c=Do(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(s=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>o?(null===s&&(s=u,null===a&&(i=c)),(0===l||l>f)&&(l=f)):(c=Do(e,0,u,c,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===s&&(i=c),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=s,t.expirationTime=l,e.memoizedState=c}}function zo(e,t){"function"!=typeof e&&d("191",e),e.call(t)}function Uo(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,zo(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)null!==(t=e.callback)&&(e.callback=null,zo(t,n)),e=e.nextEffect}function Bo(e,t){return{value:e,source:t,stack:wt(t)}}var Vo=to(null),Wo=to(null),Ho=to(0);function $o(e){var t=e.type._context;ro(Ho,t._changedBits),ro(Wo,t._currentValue),ro(Vo,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function Ko(e){var t=Ho.current,n=Wo.current;no(Vo),no(Wo),no(Ho),(e=e.type._context)._currentValue=n,e._changedBits=t}var Go={},Qo=to(Go),qo=to(Go),Yo=to(Go);function Jo(e){return e===Go&&d("174"),e}function Xo(e,t){ro(Yo,t),ro(qo,e),ro(Qo,Go);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Er(null,"");break;default:t=Er(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}no(Qo),ro(Qo,t)}function Zo(e){no(Qo),no(qo),no(Yo)}function ei(e){qo.current===e&&(no(Qo),no(qo))}function ti(e,t,n){var r=e.memoizedState;r=null===(t=t(n,r))||void 0===t?r:a({},r,t),e.memoizedState=r,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=r)}var ni={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===an(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ha(),o=Io(r=da(r,e));o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Ro(e,o,r),pa(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ha(),o=Io(r=da(r,e));o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Ro(e,o,r),pa(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ha(),r=Io(n=da(n,e));r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Ro(e,r,n),pa(e,n)}};function ri(e,t,n,r,o,i){var a=e.stateNode;return e=e.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,o,i):!e.prototype||!e.prototype.isPureReactComponent||(!c(t,n)||!c(r,o))}function oi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ni.enqueueReplaceState(t,t.state,null)}function ii(e,t){var n=e.type,r=e.stateNode,o=e.pendingProps,i=lo(e);r.props=o,r.state=e.memoizedState,r.refs=f,r.context=uo(e,i),null!==(i=e.updateQueue)&&(Ao(e,i,o,r,t),r.state=e.memoizedState),"function"==typeof(i=e.type.getDerivedStateFromProps)&&(ti(e,i,o),r.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(n=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&ni.enqueueReplaceState(r,r.state,null),null!==(i=e.updateQueue)&&(Ao(e,i,o,r,t),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var ai=Array.isArray;function li(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){var r=void 0;(n=n._owner)&&(2!==n.tag&&d("110"),r=n.stateNode),r||d("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs===f?r.refs={}:r.refs;null===e?delete t[o]:t[o]=e})._stringRef=o,t)}"string"!=typeof e&&d("148"),n._owner||d("254",e)}return e}function ui(e,t){"textarea"!==e.type&&d("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function ci(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=go(e,t,n)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function a(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=_o(n,e.mode,r)).return=e,t):((t=o(t,n,r)).return=e,t)}function u(e,t,n,r){return null!==t&&t.type===n.type?((r=o(t,n.props,r)).ref=li(e,t,n),r.return=e,r):((r=bo(n,e.mode,r)).ref=li(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=xo(n,e.mode,r)).return=e,t):((t=o(t,n.children||[],r)).return=e,t)}function s(e,t,n,r,i){return null===t||10!==t.tag?((t=wo(n,e.mode,r,i)).return=e,t):((t=o(t,n,r)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=_o(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case lt:return(n=bo(t,e.mode,n)).ref=li(e,null,t),n.return=e,n;case ut:return(t=xo(t,e.mode,n)).return=e,t}if(ai(t)||gt(t))return(t=wo(t,e.mode,n,null)).return=e,t;ui(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case lt:return n.key===o?n.type===ct?s(e,t,n.props.children,r,o):u(e,t,n,r):null;case ut:return n.key===o?c(e,t,n,r):null}if(ai(n)||gt(n))return null!==o?null:s(e,t,n,r,null);ui(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case lt:return e=e.get(null===r.key?n:r.key)||null,r.type===ct?s(t,e,r.props.children,o,r.key):u(t,e,r,o);case ut:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(ai(r)||gt(r))return s(t,e=e.get(n)||null,r,o,null);ui(t,r)}return null}function m(o,a,l,u){for(var c=null,s=null,d=a,m=a=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var y=p(o,d,l[m],u);if(null===y){null===d&&(d=v);break}e&&d&&null===y.alternate&&t(o,d),a=i(y,a,m),null===s?c=y:s.sibling=y,s=y,d=v}if(m===l.length)return n(o,d),c;if(null===d){for(;m<l.length;m++)(d=f(o,l[m],u))&&(a=i(d,a,m),null===s?c=d:s.sibling=d,s=d);return c}for(d=r(o,d);m<l.length;m++)(v=h(d,o,m,l[m],u))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=i(v,a,m),null===s?c=v:s.sibling=v,s=v);return e&&d.forEach(function(e){return t(o,e)}),c}function v(o,a,l,u){var c=gt(l);"function"!=typeof c&&d("150"),null==(l=c.call(l))&&d("151");for(var s=c=null,m=a,v=a=0,y=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=p(o,m,g.value,u);if(null===b){m||(m=y);break}e&&m&&null===b.alternate&&t(o,m),a=i(b,a,v),null===s?c=b:s.sibling=b,s=b,m=y}if(g.done)return n(o,m),c;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=f(o,g.value,u))&&(a=i(g,a,v),null===s?c=g:s.sibling=g,s=g);return c}for(m=r(o,m);!g.done;v++,g=l.next())null!==(g=h(m,o,v,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),a=i(g,a,v),null===s?c=g:s.sibling=g,s=g);return e&&m.forEach(function(e){return t(o,e)}),c}return function(e,r,i,l){"object"==typeof i&&null!==i&&i.type===ct&&null===i.key&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case lt:e:{var c=i.key;for(u=r;null!==u;){if(u.key===c){if(10===u.tag?i.type===ct:u.type===i.type){n(e,u.sibling),(r=o(u,i.type===ct?i.props.children:i.props,l)).ref=li(e,u,i),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===ct?((r=wo(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=bo(i,e.mode,l)).ref=li(e,r,i),l.return=e,e=l)}return a(e);case ut:e:{for(u=i.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[],l)).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=xo(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i,l)).return=e,e=r):(n(e,r),(r=_o(i,e.mode,l)).return=e,e=r),a(e);if(ai(i))return m(e,r,i,l);if(gt(i))return v(e,r,i,l);if(u&&ui(e,i),void 0===i)switch(e.tag){case 2:case 1:d("152",(l=e.type).displayName||l.name||"Component")}return n(e,r)}}var si=ci(!0),fi=ci(!1),di=null,pi=null,hi=!1;function mi(e,t){var n=new yo(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function vi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function yi(e){if(hi){var t=pi;if(t){var n=t;if(!vi(e,t)){if(!(t=Jr(n))||!vi(e,t))return e.effectTag|=2,hi=!1,void(di=e);mi(di,n)}di=e,pi=Xr(t)}else e.effectTag|=2,hi=!1,di=e}}function gi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;di=e}function bi(e){if(e!==di)return!1;if(!hi)return gi(e),hi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Gr(t,e.memoizedProps))for(t=pi;t;)mi(e,t),t=Jr(t);return gi(e),pi=di?Jr(e.stateNode):null,!0}function wi(){pi=di=null,hi=!1}function _i(e,t,n){xi(e,t,n,t.expirationTime)}function xi(e,t,n,r){t.child=null===e?fi(t,null,n,r):si(t,e.child,n,r)}function ki(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ei(e,t,n,r,o){ki(e,t);var i=0!=(64&t.effectTag);if(!n&&!i)return r&&vo(t,!1),Ti(e,t);n=t.stateNode,it.current=t;var a=i?null:n.render();return t.effectTag|=1,i&&(xi(e,t,null,o),t.child=null),xi(e,t,a,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&vo(t,!0),t.child}function Ci(e){var t=e.stateNode;t.pendingContext?po(0,t.pendingContext,t.pendingContext!==t.context):t.context&&po(0,t.context,!1),Xo(e,t.containerInfo)}function Si(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){switch(o.tag){case 12:var i=0|o.stateNode;if(o.type===t&&0!=(i&n)){for(i=o;null!==i;){var a=i.alternate;if(0===i.expirationTime||i.expirationTime>r)i.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}i=i.return}i=null}else i=o.child;break;case 13:i=o.type===e.type?null:o.child;break;default:i=o.child}if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}}function Ti(e,t){if(null!==e&&t.child!==e.child&&d("153"),null!==t.child){var n=go(e=t.child,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=go(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Pi(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:Ci(t);break;case 2:mo(t);break;case 4:Xo(t,t.stateNode.containerInfo);break;case 13:$o(t)}return null}switch(t.tag){case 0:null!==e&&d("155");var r=t.type,o=t.pendingProps,i=lo(t);return r=r(o,i=uo(t,i)),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(i=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,"function"==typeof(i=i.getDerivedStateFromProps)&&ti(t,i,o),o=mo(t),r.updater=ni,t.stateNode=r,r._reactInternalFiber=t,ii(t,n),e=Ei(e,t,!0,o,n)):(t.tag=1,_i(e,t,r),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,io.current||t.memoizedProps!==n?(o=o(n,r=uo(t,r=lo(t))),t.effectTag|=1,_i(e,t,o),t.memoizedProps=n,e=t.child):e=Ti(e,t),e;case 2:if(o=mo(t),null===e)if(null===t.stateNode){var a=t.pendingProps,l=t.type;r=lo(t);var u=2===t.tag&&null!=t.type.contextTypes;a=new l(a,i=u?uo(t,r):f),t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,a.updater=ni,t.stateNode=a,a._reactInternalFiber=t,u&&((u=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,u.__reactInternalMemoizedMaskedChildContext=i),ii(t,n),r=!0}else{l=t.type,r=t.stateNode,u=t.memoizedProps,i=t.pendingProps,r.props=u;var c=r.context;a=uo(t,a=lo(t));var s=l.getDerivedStateFromProps;(l="function"==typeof s||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(u!==i||c!==a)&&oi(t,r,i,a),Oo=!1;var p=t.memoizedState;c=r.state=p;var h=t.updateQueue;null!==h&&(Ao(t,h,i,r,n),c=t.memoizedState),u!==i||p!==c||io.current||Oo?("function"==typeof s&&(ti(t,s,i),c=t.memoizedState),(u=Oo||ri(t,u,i,p,c,a))?(l||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount&&(t.effectTag|=4)):("function"==typeof r.componentDidMount&&(t.effectTag|=4),t.memoizedProps=i,t.memoizedState=c),r.props=i,r.state=c,r.context=a,r=u):("function"==typeof r.componentDidMount&&(t.effectTag|=4),r=!1)}else l=t.type,r=t.stateNode,i=t.memoizedProps,u=t.pendingProps,r.props=i,c=r.context,a=uo(t,a=lo(t)),(l="function"==typeof(s=l.getDerivedStateFromProps)||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(i!==u||c!==a)&&oi(t,r,u,a),Oo=!1,c=t.memoizedState,p=r.state=c,null!==(h=t.updateQueue)&&(Ao(t,h,u,r,n),p=t.memoizedState),i!==u||c!==p||io.current||Oo?("function"==typeof s&&(ti(t,s,u),p=t.memoizedState),(s=Oo||ri(t,i,u,c,p,a))?(l||"function"!=typeof r.UNSAFE_componentWillUpdate&&"function"!=typeof r.componentWillUpdate||("function"==typeof r.componentWillUpdate&&r.componentWillUpdate(u,p,a),"function"==typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(u,p,a)),"function"==typeof r.componentDidUpdate&&(t.effectTag|=4),"function"==typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=u,t.memoizedState=p),r.props=u,r.state=p,r.context=a,r=s):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Ei(e,t,r,o,n);case 3:return Ci(t),null!==(o=t.updateQueue)?(r=null!==(r=t.memoizedState)?r.element:null,Ao(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===r?(wi(),e=Ti(e,t)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(pi=Xr(t.stateNode.containerInfo),di=t,r=hi=!0),r?(t.effectTag|=2,t.child=fi(t,null,o,n)):(wi(),_i(e,t,o)),e=t.child)):(wi(),e=Ti(e,t)),e;case 5:return Jo(Yo.current),(o=Jo(Qo.current))!==(r=Er(o,t.type))&&(ro(qo,t),ro(Qo,r)),null===e&&yi(t),o=t.type,u=t.memoizedProps,r=t.pendingProps,i=null!==e?e.memoizedProps:null,io.current||u!==r||((u=1&t.mode&&!!r.hidden)&&(t.expirationTime=1073741823),u&&1073741823===n)?(u=r.children,Gr(o,r)?u=null:i&&Gr(o,i)&&(t.effectTag|=16),ki(e,t),1073741823!==n&&1&t.mode&&r.hidden?(t.expirationTime=1073741823,t.memoizedProps=r,e=null):(_i(e,t,u),t.memoizedProps=r,e=t.child)):e=Ti(e,t),e;case 6:return null===e&&yi(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return Xo(t,t.stateNode.containerInfo),o=t.pendingProps,io.current||t.memoizedProps!==o?(null===e?t.child=si(t,null,o,n):_i(e,t,o),t.memoizedProps=o,e=t.child):e=Ti(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,r=t.ref,io.current||t.memoizedProps!==n||r!==(null!==e?e.ref:null)?(_i(e,t,o=o(n,r)),t.memoizedProps=n,e=t.child):e=Ti(e,t),e;case 10:return n=t.pendingProps,io.current||t.memoizedProps!==n?(_i(e,t,n),t.memoizedProps=n,e=t.child):e=Ti(e,t),e;case 11:return n=t.pendingProps.children,io.current||null!==n&&t.memoizedProps!==n?(_i(e,t,n),t.memoizedProps=n,e=t.child):e=Ti(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Ti(e,t):(_i(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=!0;if(io.current)a=!1;else if(i===o)return t.stateNode=0,$o(t),Ti(e,t);var l=o.value;if(t.memoizedProps=o,null===i)l=1073741823;else if(i.value===o.value){if(i.children===o.children&&a)return t.stateNode=0,$o(t),Ti(e,t);l=0}else{var u=i.value;if(u===l&&(0!==u||1/u==1/l)||u!=u&&l!=l){if(i.children===o.children&&a)return t.stateNode=0,$o(t),Ti(e,t);l=0}else if(l="function"==typeof r._calculateChangedBits?r._calculateChangedBits(u,l):1073741823,0==(l|=0)){if(i.children===o.children&&a)return t.stateNode=0,$o(t),Ti(e,t)}else Si(t,r,l,n)}return t.stateNode=l,$o(t),_i(e,t,o.children),t.child}(e,t,n);case 12:e:if(r=t.type,i=t.pendingProps,u=t.memoizedProps,o=r._currentValue,a=r._changedBits,io.current||0!==a||u!==i){if(t.memoizedProps=i,void 0!==(l=i.unstable_observedBits)&&null!==l||(l=1073741823),t.stateNode=l,0!=(a&l))Si(t,r,a,n);else if(u===i){e=Ti(e,t);break e}n=(n=i.children)(o),t.effectTag|=1,_i(e,t,n),e=t.child}else e=Ti(e,t);return e;default:d("156")}}function Oi(e){e.effectTag|=4}var Ni=void 0,Mi=void 0,Ii=void 0;function ji(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return so(t),null;case 3:Zo(),fo();var r=t.stateNode;return r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(bi(t),t.effectTag&=-3),Ni(t),null;case 5:ei(t),r=Jo(Yo.current);var o=t.type;if(null!==e&&null!=t.stateNode){var i=e.memoizedProps,a=t.stateNode,l=Jo(Qo.current);a=zr(a,o,i,n,r),Mi(e,t,a,o,i,n,r,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&d("166"),null;if(e=Jo(Qo.current),bi(t))n=t.stateNode,o=t.type,i=t.memoizedProps,n[B]=t,n[V]=i,r=Br(n,o,i,e,r),t.updateQueue=r,null!==r&&Oi(t);else{(e=Lr(o,n,r,e))[B]=t,e[V]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}Ar(e,o,n,r),Kr(o,n)&&Oi(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ii(e,t,e.memoizedProps,n);else{if("string"!=typeof n)return null===t.stateNode&&d("166"),null;r=Jo(Yo.current),Jo(Qo.current),bi(t)?(r=t.stateNode,n=t.memoizedProps,r[B]=t,Vr(r,n)&&Oi(t)):((r=Dr(n,r))[B]=t,t.stateNode=r)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return Zo(),Ni(t),null;case 13:return Ko(t),null;case 12:return null;case 0:d("167");default:d("156")}}function Ri(e,t){var n=t.source;null===t.stack&&null!==n&&wt(n),null!==n&&bt(n),t=t.value,null!==e&&2===e.tag&&bt(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function Fi(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){sa(e,t)}else t.current=null}function Li(e){switch(Po(e),e.tag){case 2:Fi(e);var t=e.stateNode;if("function"==typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){sa(e,t)}break;case 5:Fi(e);break;case 4:zi(e)}}function Di(e){return 5===e.tag||3===e.tag||4===e.tag}function Ai(e){e:{for(var t=e.return;null!==t;){if(Di(t)){var n=t;break e}t=t.return}d("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:d("161")}16&n.effectTag&&(Tr(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Di(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,a=o.stateNode,l=n;8===i.nodeType?i.parentNode.insertBefore(a,l):i.insertBefore(a,l)}else t.insertBefore(o.stateNode,n);else r?(i=t,a=o.stateNode,8===i.nodeType?i.parentNode.insertBefore(a,i):i.appendChild(a)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function zi(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&d("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,a=i;;)if(Li(a),null!==a.child&&4!==a.tag)a.child.return=a,a=a.child;else{if(a===i)break;for(;null===a.sibling;){if(null===a.return||a.return===i)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}o?(i=r,a=t.stateNode,8===i.nodeType?i.parentNode.removeChild(a):i.removeChild(a)):r.removeChild(t.stateNode)}else if(4===t.tag?r=t.stateNode.containerInfo:Li(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Ui(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&(n[V]=r,Ur(n,i,o,e,r))}break;case 6:null===t.stateNode&&d("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:d("163")}}function Bi(e,t,n){(n=Io(n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ga(r),Ri(e,t)},n}function Vi(e,t,n){(n=Io(n)).tag=3;var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===ia?ia=new Set([this]):ia.add(this);var n=t.value,r=t.stack;Ri(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Wi(e,t,n,r,o,i){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=Bo(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,void Fo(e,r=Bi(e,r,i),i);case 2:if(t=r,n=e.stateNode,0==(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&(null===ia||!ia.has(n)))return e.effectTag|=1024,void Fo(e,r=Vi(e,t,i),i)}e=e.return}while(null!==e)}function Hi(e){switch(e.tag){case 2:so(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return Zo(),fo(),1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 5:return ei(e),null;case 16:return 1024&(t=e.effectTag)?(e.effectTag=-1025&t|64,e):null;case 4:return Zo(),null;case 13:return Ko(e),null;default:return null}}Ni=function(){},Mi=function(e,t,n){(t.updateQueue=n)&&Oi(t)},Ii=function(e,t,n,r){n!==r&&Oi(t)};var $i=Qr(),Ki=2,Gi=$i,Qi=0,qi=0,Yi=!1,Ji=null,Xi=null,Zi=0,ea=-1,ta=!1,na=null,ra=!1,oa=!1,ia=null;function aa(){if(null!==Ji)for(var e=Ji.return;null!==e;){var t=e;switch(t.tag){case 2:so(t);break;case 3:Zo(),fo();break;case 5:ei(t);break;case 4:Zo();break;case 13:Ko(t)}e=e.return}Xi=null,Zi=0,ea=-1,ta=!1,Ji=null,oa=!1}function la(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0==(512&e.effectTag)){t=ji(t,e);var o=e;if(1073741823===Zi||1073741823!==o.expirationTime){var i=0;switch(o.tag){case 3:case 2:var a=o.updateQueue;null!==a&&(i=a.expirationTime)}for(a=o.child;null!==a;)0!==a.expirationTime&&(0===i||i>a.expirationTime)&&(i=a.expirationTime),a=a.sibling;o.expirationTime=i}if(null!==t)return t;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){oa=!0;break}e=n}else{if(null!==(e=Hi(e)))return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==r)return r;if(null===n)break;e=n}}return null}function ua(e){var t=Pi(e.alternate,e,Zi);return null===t&&(t=la(e)),it.current=null,t}function ca(e,t,n){Yi&&d("243"),Yi=!0,t===Zi&&e===Xi&&null!==Ji||(aa(),Zi=t,ea=-1,Ji=go((Xi=e).current,null,Zi),e.pendingCommitExpirationTime=0);var r=!1;for(ta=!n||Zi<=Ki;;){try{if(n)for(;null!==Ji&&!Ka();)Ji=ua(Ji);else for(;null!==Ji;)Ji=ua(Ji)}catch(t){if(null===Ji)r=!0,Ga(t);else{null===Ji&&d("271");var o=(n=Ji).return;if(null===o){r=!0,Ga(t);break}Wi(e,o,n,t,0,Zi),Ji=la(n)}}break}if(Yi=!1,r)return null;if(null===Ji){if(oa)return e.pendingCommitExpirationTime=t,e.current.alternate;ta&&d("262"),0<=ea&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&Da(e,t)},ea),function(e){null===xa&&d("246"),xa.remainingExpirationTime=e}(e.current.expirationTime)}return null}function sa(e,t){var n;e:{for(Yi&&!ra&&d("263"),n=e.return;null!==n;){switch(n.tag){case 2:var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromCatch||"function"==typeof r.componentDidCatch&&(null===ia||!ia.has(r))){Ro(n,e=Vi(n,e=Bo(t,e),1),1),pa(n,1),n=void 0;break e}break;case 3:Ro(n,e=Bi(n,e=Bo(t,e),1),1),pa(n,1),n=void 0;break e}n=n.return}3===e.tag&&(Ro(e,n=Bi(e,n=Bo(t,e),1),1),pa(e,1)),n=void 0}return n}function fa(){var e=2+25*(1+((ha()-2+500)/25|0));return e<=Qi&&(e=Qi+1),Qi=e}function da(e,t){return e=0!==qi?qi:Yi?ra?1:Zi:1&t.mode?Ma?2+10*(1+((e-2+15)/10|0)):2+25*(1+((e-2+500)/25|0)):1,Ma&&(0===Ea||e>Ea)&&(Ea=e),e}function pa(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!Yi&&0!==Zi&&t<Zi&&aa();var r=n.current.expirationTime;Yi&&!ra&&Xi===n||Da(n,r),Ra>ja&&d("185")}e=e.return}}function ha(){return Gi=Qr()-$i,Ki=2+(Gi/10|0)}function ma(e){var t=qi;qi=2+25*(1+((ha()-2+500)/25|0));try{return e()}finally{qi=t}}function va(e,t,n,r,o){var i=qi;qi=1;try{return e(t,n,r,o)}finally{qi=i}}var ya=null,ga=null,ba=0,wa=-1,_a=!1,xa=null,ka=0,Ea=0,Ca=!1,Sa=!1,Ta=null,Pa=null,Oa=!1,Na=!1,Ma=!1,Ia=null,ja=1e3,Ra=0,Fa=1;function La(e){if(0!==ba){if(e>ba)return;Yr(wa)}var t=Qr()-$i;ba=e,wa=qr(za,{timeout:10*(e-2)-t})}function Da(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===ga?(ya=ga=e,e.nextScheduledRoot=e):(ga=ga.nextScheduledRoot=e).nextScheduledRoot=ya;else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}_a||(Oa?Na&&(xa=e,ka=1,Ha(e,1,!1)):1===t?Ua():La(t))}function Aa(){var e=0,t=null;if(null!==ga)for(var n=ga,r=ya;null!==r;){var o=r.remainingExpirationTime;if(0===o){if((null===n||null===ga)&&d("244"),r===r.nextScheduledRoot){ya=ga=r.nextScheduledRoot=null;break}if(r===ya)ya=o=r.nextScheduledRoot,ga.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===ga){(ga=n).nextScheduledRoot=ya,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if((0===e||o<e)&&(e=o,t=r),r===ga)break;n=r,r=r.nextScheduledRoot}}null!==(n=xa)&&n===t&&1===e?Ra++:Ra=0,xa=t,ka=e}function za(e){Ba(0,!0,e)}function Ua(){Ba(1,!1,null)}function Ba(e,t,n){if(Pa=n,Aa(),t)for(;null!==xa&&0!==ka&&(0===e||e>=ka)&&(!Ca||ha()>=ka);)ha(),Ha(xa,ka,!Ca),Aa();else for(;null!==xa&&0!==ka&&(0===e||e>=ka);)Ha(xa,ka,!1),Aa();null!==Pa&&(ba=0,wa=-1),0!==ka&&La(ka),Pa=null,Ca=!1,Wa()}function Va(e,t){_a&&d("253"),xa=e,ka=t,Ha(e,t,!1),Ua(),Wa()}function Wa(){if(Ra=0,null!==Ia){var e=Ia;Ia=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){Sa||(Sa=!0,Ta=e)}}}if(Sa)throw e=Ta,Ta=null,Sa=!1,e}function Ha(e,t,n){_a&&d("245"),_a=!0,n?null!==(n=e.finishedWork)?$a(e,n,t):(e.finishedWork=null,null!==(n=ca(e,t,!0))&&(Ka()?e.finishedWork=n:$a(e,n,t))):null!==(n=e.finishedWork)?$a(e,n,t):(e.finishedWork=null,null!==(n=ca(e,t,!1))&&$a(e,n,t)),_a=!1}function $a(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime<=n&&(null===Ia?Ia=[r]:Ia.push(r),r._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,ra=Yi=!0,(n=t.stateNode).current===t&&d("177"),0===(r=n.pendingCommitExpirationTime)&&d("261"),n.pendingCommitExpirationTime=0,ha(),it.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var o=t.firstEffect}else o=t;else o=t.firstEffect;Hr=On;var i=u();if(Vn(i)){if("selectionStart"in i)var a={start:i.selectionStart,end:i.selectionEnd};else e:{var l=window.getSelection&&window.getSelection();if(l&&0!==l.rangeCount){a=l.anchorNode;var c=l.anchorOffset,f=l.focusNode;l=l.focusOffset;try{a.nodeType,f.nodeType}catch(e){a=null;break e}var p=0,h=-1,m=-1,v=0,y=0,g=i,b=null;t:for(;;){for(var w;g!==a||0!==c&&3!==g.nodeType||(h=p+c),g!==f||0!==l&&3!==g.nodeType||(m=p+l),3===g.nodeType&&(p+=g.nodeValue.length),null!==(w=g.firstChild);)b=g,g=w;for(;;){if(g===i)break t;if(b===a&&++v===c&&(h=p),b===f&&++y===l&&(m=p),null!==(w=g.nextSibling))break;b=(g=b).parentNode}g=w}a=-1===h||-1===m?null:{start:h,end:m}}else a=null}a=a||{start:0,end:0}}else a=null;for($r={focusedElem:i,selectionRange:a},Nn(!1),na=o;null!==na;){i=!1,a=void 0;try{for(;null!==na;){if(256&na.effectTag){var _=na.alternate;switch((c=na).tag){case 2:if(256&c.effectTag&&null!==_){var x=_.memoizedProps,k=_.memoizedState,E=c.stateNode;E.props=c.memoizedProps,E.state=c.memoizedState;var C=E.getSnapshotBeforeUpdate(x,k);E.__reactInternalSnapshotBeforeUpdate=C}break;case 3:case 5:case 6:case 4:break;default:d("163")}}na=na.nextEffect}}catch(e){i=!0,a=e}i&&(null===na&&d("178"),sa(na,a),null!==na&&(na=na.nextEffect))}for(na=o;null!==na;){_=!1,x=void 0;try{for(;null!==na;){var S=na.effectTag;if(16&S&&Tr(na.stateNode,""),128&S){var T=na.alternate;if(null!==T){var P=T.ref;null!==P&&("function"==typeof P?P(null):P.current=null)}}switch(14&S){case 2:Ai(na),na.effectTag&=-3;break;case 6:Ai(na),na.effectTag&=-3,Ui(na.alternate,na);break;case 4:Ui(na.alternate,na);break;case 8:zi(k=na),k.return=null,k.child=null,k.alternate&&(k.alternate.child=null,k.alternate.return=null)}na=na.nextEffect}}catch(e){_=!0,x=e}_&&(null===na&&d("178"),sa(na,x),null!==na&&(na=na.nextEffect))}if(P=$r,T=u(),S=P.focusedElem,_=P.selectionRange,T!==S&&s(document.documentElement,S)){Vn(S)&&(T=_.start,void 0===(P=_.end)&&(P=T),"selectionStart"in S?(S.selectionStart=T,S.selectionEnd=Math.min(P,S.value.length)):window.getSelection&&(T=window.getSelection(),x=S[he()].length,P=Math.min(_.start,x),_=void 0===_.end?P:Math.min(_.end,x),!T.extend&&P>_&&(x=_,_=P,P=x),x=Bn(S,P),k=Bn(S,_),x&&k&&(1!==T.rangeCount||T.anchorNode!==x.node||T.anchorOffset!==x.offset||T.focusNode!==k.node||T.focusOffset!==k.offset)&&((E=document.createRange()).setStart(x.node,x.offset),T.removeAllRanges(),P>_?(T.addRange(E),T.extend(k.node,k.offset)):(E.setEnd(k.node,k.offset),T.addRange(E))))),T=[];for(P=S;P=P.parentNode;)1===P.nodeType&&T.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(S.focus(),S=0;S<T.length;S++)(P=T[S]).element.scrollLeft=P.left,P.element.scrollTop=P.top}for($r=null,Nn(Hr),Hr=null,n.current=t,na=o;null!==na;){o=!1,S=void 0;try{for(T=r;null!==na;){var O=na.effectTag;if(36&O){var N=na.alternate;switch(_=T,(P=na).tag){case 2:var M=P.stateNode;if(4&P.effectTag)if(null===N)M.props=P.memoizedProps,M.state=P.memoizedState,M.componentDidMount();else{var I=N.memoizedProps,j=N.memoizedState;M.props=P.memoizedProps,M.state=P.memoizedState,M.componentDidUpdate(I,j,M.__reactInternalSnapshotBeforeUpdate)}var R=P.updateQueue;null!==R&&(M.props=P.memoizedProps,M.state=P.memoizedState,Uo(P,R,M));break;case 3:var F=P.updateQueue;if(null!==F){if(x=null,null!==P.child)switch(P.child.tag){case 5:x=P.child.stateNode;break;case 2:x=P.child.stateNode}Uo(P,F,x)}break;case 5:var L=P.stateNode;null===N&&4&P.effectTag&&Kr(P.type,P.memoizedProps)&&L.focus();break;case 6:case 4:case 15:case 16:break;default:d("163")}}if(128&O){P=void 0;var D=na.ref;if(null!==D){var A=na.stateNode;switch(na.tag){case 5:P=A;break;default:P=A}"function"==typeof D?D(P):D.current=P}}var z=na.nextEffect;na.nextEffect=null,na=z}}catch(e){o=!0,S=e}o&&(null===na&&d("178"),sa(na,S),null!==na&&(na=na.nextEffect))}Yi=ra=!1,To(t.stateNode),0===(t=n.current.expirationTime)&&(ia=null),e.remainingExpirationTime=t}function Ka(){return!(null===Pa||Pa.timeRemaining()>Fa)&&(Ca=!0)}function Ga(e){null===xa&&d("246"),xa.remainingExpirationTime=0,Sa||(Sa=!0,Ta=e)}function Qa(e,t){var n=Oa;Oa=!0;try{return e(t)}finally{(Oa=n)||_a||Ua()}}function qa(e,t){if(Oa&&!Na){Na=!0;try{return e(t)}finally{Na=!1}}return e(t)}function Ya(e,t){_a&&d("187");var n=Oa;Oa=!0;try{return va(e,t)}finally{Oa=n,Ua()}}function Ja(e){var t=Oa;Oa=!0;try{va(e)}finally{(Oa=t)||_a||Ba(1,!1,null)}}function Xa(e,t,n,r,o){var i=t.current;if(n){var a;n=n._reactInternalFiber;e:{for(2===an(n)&&2===n.tag||d("170"),a=n;3!==a.tag;){if(co(a)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break e}(a=a.return)||d("171")}a=a.stateNode.context}n=co(n)?ho(n,a):a}else n=f;return null===t.context?t.context=n:t.pendingContext=n,t=o,(o=Io(r)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Ro(i,o,r),pa(i,r),r}function Za(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?d("188"):d("268",Object.keys(e))),null===(e=cn(t))?null:e.stateNode}function el(e,t,n,r){var o=t.current;return Xa(e,t,n,o=da(ha(),o),r)}function tl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function nl(e){var t=e.findFiberByHostInstance;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Eo=So(function(e){return t.onCommitFiberRoot(n,e)}),Co=So(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}(a({},e,{findHostInstanceByFiber:function(e){return null===(e=cn(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}var rl=Qa,ol=function(e,t,n){if(Ma)return e(t,n);Oa||_a||0===Ea||(Ba(Ea,!1,null),Ea=0);var r=Ma,o=Oa;Oa=Ma=!0;try{return e(t,n)}finally{Ma=r,(Oa=o)||_a||Ua()}},il=function(){_a||0===Ea||(Ba(Ea,!1,null),Ea=0)};function al(e){this._expirationTime=fa(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function ll(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function ul(e,t,n){this._internalRoot=ko(e,t,n)}function cl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function sl(e,t,n,r,o){cl(n)||d("200");var i=n._reactRootContainer;if(i){if("function"==typeof o){var a=o;o=function(){var e=tl(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ul(e,!1,t)}(n,r),"function"==typeof o){var l=o;o=function(){var e=tl(i._internalRoot);l.call(e)}}qa(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return tl(i._internalRoot)}function fl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return cl(t)||d("200"),function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ut,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}ze.injectFiberControlledHostComponent(Wr),al.prototype.render=function(e){this._defer||d("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new ll;return Xa(e,t,null,n,r._onCommit),r},al.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},al.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||d("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&d("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,Va(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},al.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},ll.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},ll.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&d("191",n),n()}}},ul.prototype.render=function(e,t){var n=this._internalRoot,r=new ll;return null!==(t=void 0===t?null:t)&&r.then(t),el(e,n,null,r._onCommit),r},ul.prototype.unmount=function(e){var t=this._internalRoot,n=new ll;return null!==(e=void 0===e?null:e)&&n.then(e),el(null,t,null,n._onCommit),n},ul.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new ll;return null!==(n=void 0===n?null:n)&&o.then(n),el(t,r,e,o._onCommit),o},ul.prototype.createBatch=function(){var e=new al(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime<=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},Ge=rl,Qe=ol,qe=il;var dl={createPortal:fl,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:Za(e)},hydrate:function(e,t,n){return sl(null,e,t,!0,n)},render:function(e,t,n){return sl(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||void 0===e._reactInternalFiber)&&d("38"),sl(e,t,n,!1,r)},unmountComponentAtNode:function(e){return cl(e)||d("40"),!!e._reactRootContainer&&(qa(function(){sl(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return fl.apply(void 0,arguments)},unstable_batchedUpdates:Qa,unstable_deferredUpdates:ma,flushSync:Ya,unstable_flushControlled:Ja,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:z,EventPluginRegistry:E,EventPropagators:ne,ReactControlledComponent:Ke,ReactDOMComponentTree:K,ReactDOMEventListener:Fn},unstable_createRoot:function(e,t){return new ul(e,!0,null!=t&&!0===t.hydrate)}};nl({findFiberByHostInstance:W,bundleType:0,version:"16.4.0",rendererPackageName:"react-dom"});var pl={default:dl},hl=pl&&dl||pl;e.exports=hl.default?hl.default:hl},function(e,t,n){"use strict";
/** @license React v16.4.0
 * react.production.min.js
 *
 * 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 r=n(44),o=n(43),i=n(42),a=n(41),l="function"==typeof Symbol&&Symbol.for,u=l?Symbol.for("react.element"):60103,c=l?Symbol.for("react.portal"):60106,s=l?Symbol.for("react.fragment"):60107,f=l?Symbol.for("react.strict_mode"):60108,d=l?Symbol.for("react.profiler"):60114,p=l?Symbol.for("react.provider"):60109,h=l?Symbol.for("react.context"):60110,m=l?Symbol.for("react.async_mode"):60111,v=l?Symbol.for("react.forward_ref"):60112;l&&Symbol.for("react.timeout");var y="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);o(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function w(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||b}function _(){}function x(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||b}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&g("85"),this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},_.prototype=w.prototype;var k=x.prototype=new _;k.constructor=x,r(k,w.prototype),k.isPureReactComponent=!0;var E={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function T(e,t,n){var r=void 0,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)C.call(t,r)&&!S.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:u,type:e,key:i,ref:a,props:o,_owner:E.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var O=/\/+/g,N=[];function M(e,t,n,r){if(N.length){var o=N.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function j(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case u:case c:i=!0}}if(i)return n(r,e,""===t?"."+R(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){var l=t+R(o=e[a],a);i+=j(o,l,n,r)}else if(null===e||void 0===e?l=null:l="function"==typeof(l=y&&e[y]||e["@@iterator"])?l:null,"function"==typeof l)for(e=l.call(e),a=0;!(o=e.next()).done;)i+=j(o=o.value,l=t+R(o,a++),n,r);else"object"===o&&g("31","[object Object]"===(n=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":n,"");return i}function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function F(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?D(e,r,n,a.thatReturnsArgument):null!=e&&(P(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(O,"$&/")+"/")+n,e={$$typeof:u,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function D(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(O,"$&/")+"/"),t=M(t,i,r,o),null==e||j(e,"",L,t),I(t)}var A={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return D(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;t=M(null,null,t,n),null==e||j(e,"",F,t),I(t)},count:function(e){return null==e?0:j(e,"",a.thatReturnsNull,null)},toArray:function(e){var t=[];return D(e,t,null,a.thatReturnsArgument),t},only:function(e){return P(e)||g("143"),e}},createRef:function(){return{current:null}},Component:w,PureComponent:x,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:h,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null}).Provider={$$typeof:p,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:v,render:e}},Fragment:s,StrictMode:f,unstable_AsyncMode:m,unstable_Profiler:d,createElement:T,cloneElement:function(e,t,n){(null===e||void 0===e)&&g("267",e);var o=void 0,i=r({},e.props),a=e.key,l=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,c=E.current),void 0!==t.key&&(a=""+t.key);var s=void 0;for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)C.call(t,o)&&!S.hasOwnProperty(o)&&(i[o]=void 0===t[o]&&void 0!==s?s[o]:t[o])}if(1===(o=arguments.length-2))i.children=n;else if(1<o){s=Array(o);for(var f=0;f<o;f++)s[f]=arguments[f+2];i.children=s}return{$$typeof:u,type:e.type,key:a,ref:l,props:i,_owner:c}},createFactory:function(e){var t=T.bind(null,e);return t.type=e,t},isValidElement:P,version:"16.4.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:E,assign:r}},z={default:A},U=z&&A||z;e.exports=U.default?U.default:U},function(e,t,n){"use strict";function r(e,t){this.width=e,this.height=t,this.matrix=new Array(t);for(var n=0;n<t;++n){var r=new Array(e);this.matrix[n]=r}}r.prototype.reset=function(e){for(var t=0;t<this.height;++t)for(var n=0;n<this.width;++n)this.matrix[t][n]=e},r.prototype.loopPosition=function(e,t){return e<0?e-=Math.floor(e/this.height)*this.height:e>=this.height&&(e%=this.height),t<0?t-=Math.floor(t/this.width)*this.width:t>=this.width&&(t%=this.width),{i:e,j:t}},r.prototype.getCell=function(e,t){var n=this.loopPosition(e,t);return this.matrix[n.i][n.j]},r.prototype.setCell=function(e,t,n){var r=this.loopPosition(e,t);this.matrix[r.i][r.j]=n},r.prototype.copyMatrixAt=function(e,t,n){for(var r=0;r<n.length;++r)for(var o=n[r],i=0;i<o.length;++i)this.setCell(e+r,t+i,o[i])},r.prototype.clone=function(){var e=new this.constructor(0,0);e.width=this.width,e.height=this.height,e.matrix=new Array(e.height);for(var t=0;t<e.height;++t)e.matrix[t]=this.matrix[t].slice(0);return e},e.exports=r},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(e,r){var o=/%[sdj%]/g;t.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),u=r[n];n<i;u=r[++n])m(u)||!w(u)?a+=" "+u:a+=" "+l(u);return a},t.deprecate=function(n,o){if(g(e.process))return function(){return t.deprecate(n,o).apply(this,arguments)};if(!0===r.noDeprecation)return n;var i=!1;return function(){if(!i){if(r.throwDeprecation)throw new Error(o);r.traceDeprecation?console.trace(o):console.error(o),i=!0}return n.apply(this,arguments)}};var i,a={};function l(e,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&t._extend(r,n),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),s(r,e,r.depth)}function u(e,t){var n=l.styles[t];return n?"["+l.colors[n][0]+"m"+e+"["+l.colors[n][1]+"m":e}function c(e,t){return e}function s(e,n,r){if(e.customInspect&&n&&k(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var o=n.inspect(r,e);return y(o)||(o=s(e,o,r)),o}var i=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(v(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(i)return i;var a=Object.keys(n),l=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),x(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(k(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(b(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(_(n))return e.stylize(Date.prototype.toString.call(n),"date");if(x(n))return f(n)}var c,w="",E=!1,C=["{","}"];(p(n)&&(E=!0,C=["[","]"]),k(n))&&(w=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(w=" "+RegExp.prototype.toString.call(n)),_(n)&&(w=" "+Date.prototype.toUTCString.call(n)),x(n)&&(w=" "+f(n)),0!==a.length||E&&0!=n.length?r<0?b(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),c=E?function(e,t,n,r,o){for(var i=[],a=0,l=t.length;a<l;++a)T(t,String(a))?i.push(d(e,t,n,r,String(a),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(d(e,t,n,r,o,!0))}),i}(e,n,r,l,a):a.map(function(t){return d(e,n,r,l,t,E)}),e.seen.pop(),function(e,t,n){if(e.reduce(function(e,t){return 0,t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(c,w,C)):C[0]+w+C[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,o,i){var a,l,u;if((u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?l=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(l=e.stylize("[Setter]","special")),T(r,o)||(a="["+o+"]"),l||(e.seen.indexOf(u.value)<0?(l=m(n)?s(e,u.value,null):s(e,u.value,n-1)).indexOf("\n")>-1&&(l=i?l.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+l.split("\n").map(function(e){return"   "+e}).join("\n")):l=e.stylize("[Circular]","special")),g(a)){if(i&&o.match(/^\d+$/))return l;(a=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+l}function p(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function v(e){return"number"==typeof e}function y(e){return"string"==typeof e}function g(e){return void 0===e}function b(e){return w(e)&&"[object RegExp]"===E(e)}function w(e){return"object"==typeof e&&null!==e}function _(e){return w(e)&&"[object Date]"===E(e)}function x(e){return w(e)&&("[object Error]"===E(e)||e instanceof Error)}function k(e){return"function"==typeof e}function E(e){return Object.prototype.toString.call(e)}function C(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(g(i)&&(i=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!a[e])if(new RegExp("\\b"+e+"\\b","i").test(i)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else a[e]=function(){};return a[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=v,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=b,t.isObject=w,t.isDate=_,t.isError=x,t.isFunction=k,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(102);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",function(){var e=new Date,t=[C(e.getHours()),C(e.getMinutes()),C(e.getSeconds())].join(":");return[e.getDate(),S[e.getMonth()],t].join(" ")}(),t.format.apply(t,arguments))},t.inherits=n(101),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,n(103),n(50))},function(e,t,n){"use strict";var r=n(104),o=n(100);function i(e,t){o.apply(this,arguments),this.reset(i.states.DEAD)}r.inherits(i,o);var a=[];["DEAD","ALIVE","INDESTRUCTIBLE"].forEach(function(e,t){a[e]=t,a.push(t)}),i.states=a,i.prototype.aliveNeighbours=function(e,t){for(var n=0,r=-1;r<=1;++r)for(var o=-1;o<=1;++o){if(0!==r||0!==o)this.getCell(e+r,t+o)!==a.DEAD&&++n}return n},i.prototype.evolve=function(e,t){var n=this.getCell(e,t);if(n===a.INDESTRUCTIBLE)return n;var r=this.aliveNeighbours(e,t);switch(n){case a.ALIVE:return r<2||r>3?a.DEAD:a.ALIVE;case a.DEAD:return 3===r?a.ALIVE:a.DEAD;default:throw new Error("Invalid evolve state: "+n)}},i.prototype.tick=function(){for(var e=this.clone(),t=0;t<this.height;++t)for(var n=0;n<this.width;++n){var r=this.evolve(t,n);e.setCell(t,n,r)}this.matrix=e.matrix},e.exports=i},function(e,t,n){"use strict";e.exports=n(105)},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(9);r(r.S+r.F*!n(3),"Object",{defineProperty:n(4).f})},function(e,t,n){n(108);var r=n(0).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){e.exports={default:n(109),__esModule:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=d(n(49)),o=d(n(48)),i=d(n(106)),a=d(n(51)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(14)),u=d(n(40)),c=d(n(91)),s=d(n(52)),f=n(29);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(t){(0,r.default)(this,e),this._destination=t,this._cellMatrix=e._createCellMatrix(48,48),this._timerId=null,this._intervalId="fast",this._clickModeId="dot"}return(0,o.default)(e,[{key:"_tickGameOfLife",value:function(){var e=new i.default(this._cellMatrix.rowLength,this._cellMatrix.columnLength),t=this._cellMatrix.cells.map(function(e){return e.map(function(e){return e.age>0?1:0})});e.copyMatrixAt(0,0,t),e.tick(),this._cellMatrix.cells=(0,a.default)(this._cellMatrix.cells,function(t){e.matrix.forEach(function(e,n){e.forEach(function(e,r){var o=t[n][r];o.age=1===e?o.age+1:0})})})}},{key:"_placeLifes",value:function(e,t,n){var r=this;this._cellMatrix.cells=(0,a.default)(this._cellMatrix.cells,function(o){n.forEach(function(n,i){n.forEach(function(n,a){o[(e+i)%r._cellMatrix.rowLength][(t+a)%r._cellMatrix.columnLength].age=n})})})}},{key:"_isRunning",value:function(){return Boolean(this._timerId)}},{key:"_mapToProps",value:function(){var e=this;return{cellMatrix:this._cellMatrix,intervalData:(0,f.findInterval)(this._intervalId),isRunning:this._isRunning(),selectedClickModeChoice:(0,f.toClickModeChoice)((0,f.findClickMode)(this._clickModeId)),onCleanButtonClick:function(){e._cellMatrix.cells=(0,a.default)(e._cellMatrix.cells,function(e){e.forEach(function(e){e.forEach(function(e){e.age=0})})}),e.render()},onCellClick:function(t){var n=t.rowIndex,r=t.columnIndex;if("dot"===e._clickModeId)e._cellMatrix.cells[n][r]=(0,a.default)(e._cellMatrix.cells[n][r],function(e){e.age=e.age>0?0:1});else try{var o=(0,f.findSampleLifePattern)(e._clickModeId);e._placeLifes(n,r,o.dots)}catch(e){}e.render()},onClickModeChange:function(t){e._clickModeId=t.target.value,e.render()},onRandomButtonClick:function(){e._cellMatrix.cells=(0,a.default)(e._cellMatrix.cells,function(e){e.forEach(function(e){e.forEach(function(e){e.age=Math.random()<1/3?1:0})})}),e.render()},onRunnningButtonClick:function(){e._isRunning()?e._stop():e._start(),e.render()},onRunnningSpeedButtonClick:function(){var t=e._isRunning();t&&e._stop(),e._intervalId=(0,f.getNextIntervalId)(e._intervalId),t&&e._start(),e.render()}}}},{key:"render",value:function(){u.default.render(l.createElement(c.default,null,l.createElement(s.default,this._mapToProps())),this._destination)}},{key:"_start",value:function(){var e=this;if(this._isRunning())throw new Error("It has already started");this._timerId=setInterval(function(){e._tickGameOfLife(),e.render()},(0,f.findInterval)(this._intervalId).interval)}},{key:"_stop",value:function(){clearInterval(this._timerId),this._timerId=null}}],[{key:"_createCellMatrix",value:function(e,t){for(var n=[],r=0;r<e;r++){for(var o=[],i=0;i<t;i++)o.push({age:0,columnIndex:i,rowIndex:r});n.push(o)}return{rowLength:e,columnLength:t,cells:n}}}]),e}();t.default=p},function(e,t,n){"use strict";var r=n(51),o=function(e){return e&&e.__esModule?e:{default:e}}(n(111));(0,r.setAutoFreeze)(!1),window.App=o.default},,,,,function(e,t){e.exports={root:"root___1aoHp",header:"header___2j-2K",gitHubLink:"gitHubLink___3KmJv",game:"game___Wz-RE",cellMatrix:"cellMatrix___3jpbv",cell:"cell___37oDI",isAlive:"isAlive___psc0k",controlPanel:"controlPanel___1_581",button:"button___2T1nV",select:"select___1rB3O",commandTitle:"commandTitle___2wjVV",commandList:"commandList___3jKVH",command:"command___2wFGr"}}]);