text: !function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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=7)}([function(e,t,n){"use strict";e.exports=n(3)},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(4)},function(e,t,n){"use strict";
  /*
  object-assign
  (c) Sindre Sorhus
  @license MIT
  */var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}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,u,a=l(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))i.call(n,s)&&(a[s]=n[s]);if(r){u=r(n);for(var f=0;f<u.length;f++)o.call(n,u[f])&&(a[u[f]]=n[u[f]])}}return a}},function(e,t,n){"use strict";
  /** @license React v16.9.0
   * react.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */var r=n(2),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,l=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,a=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,s=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.suspense_list"):60120,m=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116;i&&Symbol.for("react.fundamental"),i&&Symbol.for("react.responder");var y="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||w}function k(){}function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||w}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw v(Error(85));this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=E.prototype;var S=x.prototype=new k;S.constructor=x,r(S,E.prototype),S.isPureReactComponent=!0;var C={current:null},T={suspense:null},_={current:null},P=Object.prototype.hasOwnProperty,N={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var r=void 0,i={},l=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(l=""+t.key),t)P.call(t,r)&&!N.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(1===a)i.children=n;else if(1<a){for(var c=Array(a),s=0;s<a;s++)c[s]=arguments[s+2];i.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps)void 0===i[r]&&(i[r]=a[r]);return{$$typeof:o,type:e,key:l,ref:u,props:i,_owner:_.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var R=/\/+/g,z=[];function D(e,t,n,r){if(z.length){var i=z.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function F(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>z.length&&z.push(e)}function U(e,t,n){return null==e?0:function e(t,n,r,i){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var a=!1;if(null===t)a=!0;else switch(u){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case o:case l:a=!0}}if(a)return r(i,t,""===n?"."+I(t,0):n),1;if(a=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+I(u=t[c],c);a+=e(u,s,r,i)}else if(s=null===t||"object"!=typeof t?null:"function"==typeof(s=y&&t[y]||t["@@iterator"])?s:null,"function"==typeof s)for(t=s.call(t),c=0;!(u=t.next()).done;)a+=e(u=u.value,s=n+I(u,c++),r,i);else if("object"===u)throw r=""+t,v(Error(31),"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return a}(e,"",t,n)}function I(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 A(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,r,n,function(e){return e}):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+n)),r.push(e))}function j(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(R,"$&/")+"/"),U(e,L,t=D(t,o,r,i)),F(t)}function B(){var e=C.current;if(null===e)throw v(Error(321));return e}var W={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return j(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;U(e,A,t=D(null,null,t,n)),F(t)},count:function(e){return U(e,function(){return null},null)},toArray:function(e){var t=[];return j(e,t,null,function(e){return e}),t},only:function(e){if(!O(e))throw v(Error(143));return e}},createRef:function(){return{current:null}},Component:E,PureComponent:x,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return B().useCallback(e,t)},useContext:function(e,t){return B().useContext(e,t)},useEffect:function(e,t){return B().useEffect(e,t)},useImperativeHandle:function(e,t,n){return B().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return B().useLayoutEffect(e,t)},useMemo:function(e,t){return B().useMemo(e,t)},useReducer:function(e,t,n){return B().useReducer(e,t,n)},useRef:function(e){return B().useRef(e)},useState:function(e){return B().useState(e)},Fragment:u,Profiler:c,StrictMode:a,Suspense:p,unstable_SuspenseList:h,createElement:M,cloneElement:function(e,t,n){if(null==e)throw v(Error(267),e);var i=void 0,l=r({},e.props),u=e.key,a=e.ref,c=e._owner;if(null!=t){void 0!==t.ref&&(a=t.ref,c=_.current),void 0!==t.key&&(u=""+t.key);var s=void 0;for(i in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)P.call(t,i)&&!N.hasOwnProperty(i)&&(l[i]=void 0===t[i]&&void 0!==s?s[i]:t[i])}if(1===(i=arguments.length-2))l.children=n;else if(1<i){s=Array(i);for(var f=0;f<i;f++)s[f]=arguments[f+2];l.children=s}return{$$typeof:o,type:e.type,key:u,ref:a,props:l,_owner:c}},createFactory:function(e){var t=M.bind(null,e);return t.type=e,t},isValidElement:O,version:"16.9.0",unstable_withSuspenseConfig:function(e,t){var n=T.suspense;T.suspense=void 0===t?null:t;try{e()}finally{T.suspense=n}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:C,ReactCurrentBatchConfig:T,ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:r}},H={default:W},V=H&&W||H;e.exports=V.default||V},function(e,t,n){"use strict";
  /** @license React v16.9.0
   * react-dom.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */var r=n(0),i=n(2),o=n(5);function l(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}if(!r)throw l(Error(227));var u=null,a={};function c(){if(u)for(var e in a){var t=a[e],n=u.indexOf(e);if(!(-1<n))throw l(Error(96),e);if(!f[n]){if(!t.extractEvents)throw l(Error(97),e);for(var r in f[n]=t,n=t.eventTypes){var i=void 0,o=n[r],c=t,p=r;if(d.hasOwnProperty(p))throw l(Error(99),p);d[p]=o;var h=o.phasedRegistrationNames;if(h){for(i in h)h.hasOwnProperty(i)&&s(h[i],c,p);i=!0}else o.registrationName?(s(o.registrationName,c,p),i=!0):i=!1;if(!i)throw l(Error(98),r,e)}}}}function s(e,t,n){if(p[e])throw l(Error(100),e);p[e]=t,h[e]=t.eventTypes[n].dependencies}var f=[],d={},p={},h={};var m=!1,g=null,y=!1,v=null,w={onError:function(e){m=!0,g=e}};function b(e,t,n,r,i,o,l,u,a){m=!1,g=null,function(e,t,n,r,i,o,l,u,a){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}.apply(w,arguments)}var E=null,k=null,x=null;function S(e,t,n){var r=e.type||"unknown-event";e.currentTarget=x(n),function(e,t,n,r,i,o,u,a,c){if(b.apply(this,arguments),m){if(!m)throw l(Error(198));var s=g;m=!1,g=null,y||(y=!0,v=s)}}(r,t,void 0,e),e.currentTarget=null}function C(e,t){if(null==t)throw l(Error(30));return 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 T(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var _=null;function P(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)S(e,t[r],n[r]);else t&&S(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function N(e){if(null!==e&&(_=C(_,e)),e=_,_=null,e){if(T(e,P),_)throw l(Error(95));if(y)throw e=v,y=!1,v=null,e}}var M={injectEventPluginOrder:function(e){if(u)throw l(Error(101));u=Array.prototype.slice.call(e),c()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!a.hasOwnProperty(t)||a[t]!==r){if(a[t])throw l(Error(102),t);a[t]=r,n=!0}}n&&c()}};function O(e,t){var n=e.stateNode;if(!n)return null;var r=E(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}if(e)return null;if(n&&"function"!=typeof n)throw l(Error(231),t,typeof n);return n}var R=Math.random().toString(36).slice(2),z="__reactInternalInstance$"+R,D="__reactEventHandlers$"+R;function F(e){if(e[z])return e[z];for(;!e[z];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[z]).tag||6===e.tag?e:null}function U(e){return!(e=e[z])||5!==e.tag&&6!==e.tag?null:e}function I(e){if(5===e.tag||6===e.tag)return e.stateNode;throw l(Error(33))}function A(e){return e[D]||null}function L(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function j(e,t,n){(t=O(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=C(n._dispatchListeners,t),n._dispatchInstances=C(n._dispatchInstances,e))}function B(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=L(t);for(t=n.length;0<t--;)j(n[t],"captured",e);for(t=0;t<n.length;t++)j(n[t],"bubbled",e)}}function W(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=O(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=C(n._dispatchListeners,t),n._dispatchInstances=C(n._dispatchInstances,e))}function H(e){e&&e.dispatchConfig.registrationName&&W(e._targetInst,null,e)}function V(e){T(e,B)}var $=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement);function q(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Q={animationend:q("Animation","AnimationEnd"),animationiteration:q("Animation","AnimationIteration"),animationstart:q("Animation","AnimationStart"),transitionend:q("Transition","TransitionEnd")},K={},G={};function Y(e){if(K[e])return K[e];if(!Q[e])return e;var t,n=Q[e];for(t in n)if(n.hasOwnProperty(t)&&t in G)return K[e]=n[t];return e}$&&(G=document.createElement("div").style,"AnimationEvent"in window||(delete Q.animationend.animation,delete Q.animationiteration.animation,delete Q.animationstart.animation),"TransitionEvent"in window||delete Q.transitionend.transition);var X=Y("animationend"),J=Y("animationiteration"),Z=Y("animationstart"),ee=Y("transitionend"),te="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ne=null,re=null,ie=null;function oe(){if(ie)return ie;var e,t,n=re,r=n.length,i="value"in ne?ne.value:ne.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===i[o-t];t++);return ie=i.slice(e,1<t?1-t:void 0)}function le(){return!0}function ue(){return!1}function ae(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?le:ue,this.isPropagationStopped=ue,this}function ce(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function se(e){if(!(e instanceof this))throw l(Error(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=ce,e.release=se}i(ae.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=le)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=le)},persist:function(){this.isPersistent=le},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),ae.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ae.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(ae);var de=ae.extend({data:null}),pe=ae.extend({data:null}),he=[9,13,27,32],me=$&&"CompositionEvent"in window,ge=null;$&&"documentMode"in document&&(ge=document.documentMode);var ye=$&&"TextEvent"in window&&!ge,ve=$&&(!me||ge&&8<ge&&11>=ge),we=String.fromCharCode(32),be={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(" ")}},Ee=!1;function ke(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function xe(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Se=!1;var Ce={eventTypes:be,extractEvents:function(e,t,n,r){var i=void 0,o=void 0;if(me)e:{switch(e){case"compositionstart":i=be.compositionStart;break e;case"compositionend":i=be.compositionEnd;break e;case"compositionupdate":i=be.compositionUpdate;break e}i=void 0}else Se?ke(e,n)&&(i=be.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=be.compositionStart);return i?(ve&&"ko"!==n.locale&&(Se||i!==be.compositionStart?i===be.compositionEnd&&Se&&(o=oe()):(re="value"in(ne=r)?ne.value:ne.textContent,Se=!0)),i=de.getPooled(i,t,n,r),o?i.data=o:null!==(o=xe(n))&&(i.data=o),V(i),o=i):o=null,(e=ye?function(e,t){switch(e){case"compositionend":return xe(t);case"keypress":return 32!==t.which?null:(Ee=!0,we);case"textInput":return(e=t.data)===we&&Ee?null:e;default:return null}}(e,n):function(e,t){if(Se)return"compositionend"===e||!me&&ke(e,t)?(e=oe(),ie=re=ne=null,Se=!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 ve&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=pe.getPooled(be.beforeInput,t,n,r)).data=e,V(t)):t=null,null===o?t:null===t?o:[o,t]}},Te=null,_e=null,Pe=null;function Ne(e){if(e=k(e)){if("function"!=typeof Te)throw l(Error(280));var t=E(e.stateNode);Te(e.stateNode,e.type,t)}}function Me(e){_e?Pe?Pe.push(e):Pe=[e]:_e=e}function Oe(){if(_e){var e=_e,t=Pe;if(Pe=_e=null,Ne(e),t)for(e=0;e<t.length;e++)Ne(t[e])}}function Re(e,t){return e(t)}function ze(e,t,n,r){return e(t,n,r)}function De(){}var Fe=Re,Ue=!1;function Ie(){null===_e&&null===Pe||(De(),Oe())}var Ae={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 Le(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ae[e.type]:"textarea"===t}function je(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function Be(e){if(!$)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function We(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function He(e){e._valueTracker||(e._valueTracker=function(e){var t=We(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 i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.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 Ve(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=We(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var $e=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;$e.hasOwnProperty("ReactCurrentDispatcher")||($e.ReactCurrentDispatcher={current:null}),$e.hasOwnProperty("ReactCurrentBatchConfig")||($e.ReactCurrentBatchConfig={suspense:null});var qe=/^(.*)[\\\/]/,Qe="function"==typeof Symbol&&Symbol.for,Ke=Qe?Symbol.for("react.element"):60103,Ge=Qe?Symbol.for("react.portal"):60106,Ye=Qe?Symbol.for("react.fragment"):60107,Xe=Qe?Symbol.for("react.strict_mode"):60108,Je=Qe?Symbol.for("react.profiler"):60114,Ze=Qe?Symbol.for("react.provider"):60109,et=Qe?Symbol.for("react.context"):60110,tt=Qe?Symbol.for("react.concurrent_mode"):60111,nt=Qe?Symbol.for("react.forward_ref"):60112,rt=Qe?Symbol.for("react.suspense"):60113,it=Qe?Symbol.for("react.suspense_list"):60120,ot=Qe?Symbol.for("react.memo"):60115,lt=Qe?Symbol.for("react.lazy"):60116;Qe&&Symbol.for("react.fundamental"),Qe&&Symbol.for("react.responder");var ut="function"==typeof Symbol&&Symbol.iterator;function at(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=ut&&e[ut]||e["@@iterator"])?e:null}function ct(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Ye:return"Fragment";case Ge:return"Portal";case Je:return"Profiler";case Xe:return"StrictMode";case rt:return"Suspense";case it:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case et:return"Context.Consumer";case Ze:return"Context.Provider";case nt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ot:return ct(e.type);case lt:if(e=1===e._status?e._result:null)return ct(e)}return null}function st(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ct(e.type);n=null,r&&(n=ct(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(qe,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}var ft=/^[: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]*$/,dt=Object.prototype.hasOwnProperty,pt={},ht={};function mt(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){gt[e]=new mt(e,0,!1,e,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];gt[t]=new mt(t,1,!1,e[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){gt[e]=new mt(e,2,!1,e.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){gt[e]=new mt(e,2,!1,e,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){gt[e]=new mt(e,3,!1,e.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(e){gt[e]=new mt(e,3,!0,e,null,!1)}),["capture","download"].forEach(function(e){gt[e]=new mt(e,4,!1,e,null,!1)}),["cols","rows","size","span"].forEach(function(e){gt[e]=new mt(e,6,!1,e,null,!1)}),["rowSpan","start"].forEach(function(e){gt[e]=new mt(e,5,!1,e.toLowerCase(),null,!1)});var yt=/[\-:]([a-z])/g;function vt(e){return e[1].toUpperCase()}function wt(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(null!==i?0===i.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||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,i,r)&&(n=null),r||null===i?function(e){return!!dt.call(ht,e)||!dt.call(pt,e)&&(ft.test(e)?ht[e]=!0:(pt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function bt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Et(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function kt(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=bt(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 xt(e,t){null!=(t=t.checked)&&wt(e,"checked",t,!1)}function St(e,t){xt(e,t);var n=bt(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Tt(e,t.type,n):t.hasOwnProperty("defaultValue")&&Tt(e,t.type,bt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ct(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Tt(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(yt,vt);gt[t]=new mt(t,1,!1,e,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(yt,vt);gt[t]=new mt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(yt,vt);gt[t]=new mt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(e){gt[e]=new mt(e,1,!1,e.toLowerCase(),null,!1)}),gt.xlinkHref=new mt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(e){gt[e]=new mt(e,1,!1,e.toLowerCase(),null,!0)});var _t={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Pt(e,t,n){return(e=ae.getPooled(_t.change,e,t,n)).type="change",Me(n),V(e),e}var Nt=null,Mt=null;function Ot(e){N(e)}function Rt(e){if(Ve(I(e)))return e}function zt(e,t){if("change"===e)return t}var Dt=!1;function Ft(){Nt&&(Nt.detachEvent("onpropertychange",Ut),Mt=Nt=null)}function Ut(e){if("value"===e.propertyName&&Rt(Mt))if(e=Pt(Mt,e,je(e)),Ue)N(e);else{Ue=!0;try{Re(Ot,e)}finally{Ue=!1,Ie()}}}function It(e,t,n){"focus"===e?(Ft(),Mt=n,(Nt=t).attachEvent("onpropertychange",Ut)):"blur"===e&&Ft()}function At(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Rt(Mt)}function Lt(e,t){if("click"===e)return Rt(t)}function jt(e,t){if("input"===e||"change"===e)return Rt(t)}$&&(Dt=Be("input")&&(!document.documentMode||9<document.documentMode));var Bt={eventTypes:_t,_isInputEventSupported:Dt,extractEvents:function(e,t,n,r){var i=t?I(t):window,o=void 0,l=void 0,u=i.nodeName&&i.nodeName.toLowerCase();if("select"===u||"input"===u&&"file"===i.type?o=zt:Le(i)?Dt?o=jt:(o=At,l=It):(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=Lt),o&&(o=o(e,t)))return Pt(o,n,r);l&&l(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Tt(i,"number",i.value)}},Wt=ae.extend({view:null,detail:null}),Ht={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ht[e])&&!!t[e]}function $t(){return Vt}var qt=0,Qt=0,Kt=!1,Gt=!1,Yt=Wt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:$t,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=qt;return qt=e.screenX,Kt?"mousemove"===e.type?e.screenX-t:0:(Kt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Qt;return Qt=e.screenY,Gt?"mousemove"===e.type?e.screenY-t:0:(Gt=!0,0)}}),Xt=Yt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Jt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Zt={eventTypes:Jt,extractEvents:function(e,t,n,r){var i="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(i&&(n.relatedTarget||n.fromElement)||!o&&!i)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?F(t):null):o=null,o===t)return null;var l=void 0,u=void 0,a=void 0,c=void 0;"mouseout"===e||"mouseover"===e?(l=Yt,u=Jt.mouseLeave,a=Jt.mouseEnter,c="mouse"):"pointerout"!==e&&"pointerover"!==e||(l=Xt,u=Jt.pointerLeave,a=Jt.pointerEnter,c="pointer");var s=null==o?i:I(o);if(i=null==t?i:I(t),(e=l.getPooled(u,o,n,r)).type=c+"leave",e.target=s,e.relatedTarget=i,(n=l.getPooled(a,t,n,r)).type=c+"enter",n.target=i,n.relatedTarget=s,r=t,o&&r)e:{for(i=r,c=0,l=t=o;l;l=L(l))c++;for(l=0,a=i;a;a=L(a))l++;for(;0<c-l;)t=L(t),c--;for(;0<l-c;)i=L(i),l--;for(;c--;){if(t===i||t===i.alternate)break e;t=L(t),i=L(i)}t=null}else t=null;for(i=t,t=[];o&&o!==i&&(null===(c=o.alternate)||c!==i);)t.push(o),o=L(o);for(o=[];r&&r!==i&&(null===(c=r.alternate)||c!==i);)o.push(r),r=L(r);for(r=0;r<t.length;r++)W(t[r],"bubbled",e);for(r=o.length;0<r--;)W(o[r],"captured",n);return[e,n]}};function en(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var tn=Object.prototype.hasOwnProperty;function nn(e,t){if(en(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!tn.call(t,n[r])||!en(e[n[r]],t[n[r]]))return!1;return!0}function rn(e,t){return{responder:e,props:t}}function on(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){if(2!==on(e))throw l(Error(188))}function un(e){if(!(e=function(e){var t=e.alternate;if(!t){if(3===(t=on(e)))throw l(Error(188));return 1===t?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return ln(i),e;if(o===r)return ln(i),t;o=o.sibling}throw l(Error(188))}if(n.return!==r.return)n=i,r=o;else{for(var u=!1,a=i.child;a;){if(a===n){u=!0,n=i,r=o;break}if(a===r){u=!0,r=i,n=o;break}a=a.sibling}if(!u){for(a=o.child;a;){if(a===n){u=!0,n=o,r=i;break}if(a===r){u=!0,r=o,n=i;break}a=a.sibling}if(!u)throw l(Error(189))}}if(n.alternate!==r)throw l(Error(190))}if(3!==n.tag)throw l(Error(188));return n.stateNode.current===n?e:t}(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}new Map,new Map,new Set,new Map;var an=ae.extend({animationName:null,elapsedTime:null,pseudoElement:null}),cn=ae.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sn=Wt.extend({relatedTarget:null});function fn(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}for(var dn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pn={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"},hn=Wt.extend({key:function(e){if(e.key){var t=dn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=fn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?pn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:$t,charCode:function(e){return"keypress"===e.type?fn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?fn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),mn=Yt.extend({dataTransfer:null}),gn=Wt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:$t}),yn=ae.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),vn=Yt.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}),wn=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[X,"animationEnd",2],[J,"animationIteration",2],[Z,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[ee,"transitionEnd",2],["waiting","waiting",2]],bn={},En={},kn=0;kn<wn.length;kn++){var xn=wn[kn],Sn=xn[0],Cn=xn[1],Tn=xn[2],_n="on"+(Cn[0].toUpperCase()+Cn.slice(1)),Pn={phasedRegistrationNames:{bubbled:_n,captured:_n+"Capture"},dependencies:[Sn],eventPriority:Tn};bn[Cn]=Pn,En[Sn]=Pn}var Nn={eventTypes:bn,getEventPriority:function(e){return void 0!==(e=En[e])?e.eventPriority:2},extractEvents:function(e,t,n,r){var i=En[e];if(!i)return null;switch(e){case"keypress":if(0===fn(n))return null;case"keydown":case"keyup":e=hn;break;case"blur":case"focus":e=sn;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Yt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=gn;break;case X:case J:case Z:e=an;break;case ee:e=yn;break;case"scroll":e=Wt;break;case"wheel":e=vn;break;case"copy":case"cut":case"paste":e=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Xt;break;default:e=ae}return V(t=e.getPooled(i,t,n,r)),t}},Mn=Nn.getEventPriority,On=[];function Rn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=F(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=je(e.nativeEvent);r=e.topLevelType;for(var o=e.nativeEvent,l=null,u=0;u<f.length;u++){var a=f[u];a&&(a=a.extractEvents(r,t,o,i))&&(l=C(l,a))}N(l)}}var zn=!0;function Dn(e,t){Fn(t,e,!1)}function Fn(e,t,n){switch(Mn(t)){case 0:var r=function(e,t,n){Ue||De();var r=Un,i=Ue;Ue=!0;try{ze(r,e,t,n)}finally{(Ue=i)||Ie()}}.bind(null,t,1);break;case 1:r=function(e,t,n){Un(e,t,n)}.bind(null,t,1);break;default:r=Un.bind(null,t,1)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Un(e,t,n){if(zn){if(null===(t=F(t=je(n)))||"number"!=typeof t.tag||2===on(t)||(t=null),On.length){var r=On.pop();r.topLevelType=e,r.nativeEvent=n,r.targetInst=t,e=r}else e={topLevelType:e,nativeEvent:n,targetInst:t,ancestors:[]};try{if(n=e,Ue)Rn(n);else{Ue=!0;try{Fe(Rn,n,void 0)}finally{Ue=!1,Ie()}}}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>On.length&&On.push(e)}}}var In=new("function"==typeof WeakMap?WeakMap:Map);function An(e){var t=In.get(e);return void 0===t&&(t=new Set,In.set(e,t)),t}function Ln(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 jn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Bn(e,t){var n,r=jn(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=jn(r)}}function Wn(){for(var e=window,t=Ln();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Ln((e=t.contentWindow).document)}return t}function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Vn=$&&"documentMode"in document&&11>=document.documentMode,$n={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},qn=null,Qn=null,Kn=null,Gn=!1;function Yn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gn||null==qn||qn!==Ln(n)?null:("selectionStart"in(n=qn)&&Hn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Kn&&nn(Kn,n)?null:(Kn=n,(e=ae.getPooled($n.select,Qn,e,t)).type="select",e.target=qn,V(e),e))}var Xn={eventTypes:$n,extractEvents:function(e,t,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){e:{o=An(o),i=h.onSelect;for(var l=0;l<i.length;l++)if(!o.has(i[l])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?I(t):window,e){case"focus":(Le(o)||"true"===o.contentEditable)&&(qn=o,Qn=t,Kn=null);break;case"blur":Kn=Qn=qn=null;break;case"mousedown":Gn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Gn=!1,Yn(n,r);case"selectionchange":if(Vn)break;case"keydown":case"keyup":return Yn(n,r)}return null}};function Jn(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Zn(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+bt(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function er(e,t){if(null!=t.dangerouslySetInnerHTML)throw l(Error(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function tr(e,t){var n=t.value;if(null==n){if(n=t.defaultValue,null!=(t=t.children)){if(null!=n)throw l(Error(92));if(Array.isArray(t)){if(!(1>=t.length))throw l(Error(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:bt(n)}}function nr(e,t){var n=bt(t.value),r=bt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function rr(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}M.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),E=A,k=U,x=I,M.injectEventPluginsByName({SimpleEventPlugin:Nn,EnterLeaveEventPlugin:Zt,ChangeEventPlugin:Bt,SelectEventPlugin:Xn,BeforeInputEventPlugin:Ce});var ir={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function or(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 lr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?or(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ur=void 0,ar=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==ir.svg||"innerHTML"in e)e.innerHTML=t;else{for((ur=ur||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=ur.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function cr(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 sr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},fr=["Webkit","ms","Moz","O"];function dr(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||sr.hasOwnProperty(e)&&sr[e]?(""+t).trim():t+"px"}function pr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=dr(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(sr).forEach(function(e){fr.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sr[t]=sr[e]})});var hr=i({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 mr(e,t){if(t){if(hr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw l(Error(137),e,"");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw l(Error(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw l(Error(61))}if(null!=t.style&&"object"!=typeof t.style)throw l(Error(62),"")}}function gr(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}}function yr(e,t){var n=An(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=h[t];for(var r=0;r<t.length;r++){var i=t[r];if(!n.has(i)){switch(i){case"scroll":Fn(e,"scroll",!0);break;case"focus":case"blur":Fn(e,"focus",!0),Fn(e,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":Be(i)&&Fn(e,i,!0);break;case"invalid":case"submit":case"reset":break;default:-1===te.indexOf(i)&&Dn(i,e)}n.add(i)}}}function vr(){}var wr=null,br=null;function Er(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var xr="function"==typeof setTimeout?setTimeout:void 0,Sr="function"==typeof clearTimeout?clearTimeout:void 0;function Cr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}new Set;var Tr=[],_r=-1;function Pr(e){0>_r||(e.current=Tr[_r],Tr[_r]=null,_r--)}function Nr(e,t){Tr[++_r]=e.current,e.current=t}var Mr={},Or={current:Mr},Rr={current:!1},zr=Mr;function Dr(e,t){var n=e.type.contextTypes;if(!n)return Mr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Fr(e){return null!=(e=e.childContextTypes)}function Ur(e){Pr(Rr),Pr(Or)}function Ir(e){Pr(Rr),Pr(Or)}function Ar(e,t,n){if(Or.current!==Mr)throw l(Error(168));Nr(Or,t),Nr(Rr,n)}function Lr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw l(Error(108),ct(t)||"Unknown",o);return i({},n,r)}function jr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Mr,zr=Or.current,Nr(Or,t),Nr(Rr,Rr.current),!0}function Br(e,t,n){var r=e.stateNode;if(!r)throw l(Error(169));n?(t=Lr(e,t,zr),r.__reactInternalMemoizedMergedChildContext=t,Pr(Rr),Pr(Or),Nr(Or,t)):Pr(Rr),Nr(Rr,n)}var Wr=o.unstable_runWithPriority,Hr=o.unstable_scheduleCallback,Vr=o.unstable_cancelCallback,$r=o.unstable_shouldYield,qr=o.unstable_requestPaint,Qr=o.unstable_now,Kr=o.unstable_getCurrentPriorityLevel,Gr=o.unstable_ImmediatePriority,Yr=o.unstable_UserBlockingPriority,Xr=o.unstable_NormalPriority,Jr=o.unstable_LowPriority,Zr=o.unstable_IdlePriority,ei={},ti=void 0!==qr?qr:function(){},ni=null,ri=null,ii=!1,oi=Qr(),li=1e4>oi?Qr:function(){return Qr()-oi};function ui(){switch(Kr()){case Gr:return 99;case Yr:return 98;case Xr:return 97;case Jr:return 96;case Zr:return 95;default:throw l(Error(332))}}function ai(e){switch(e){case 99:return Gr;case 98:return Yr;case 97:return Xr;case 96:return Jr;case 95:return Zr;default:throw l(Error(332))}}function ci(e,t){return e=ai(e),Wr(e,t)}function si(e,t,n){return e=ai(e),Hr(e,t,n)}function fi(e){return null===ni?(ni=[e],ri=Hr(Gr,pi)):ni.push(e),ei}function di(){null!==ri&&Vr(ri),pi()}function pi(){if(!ii&&null!==ni){ii=!0;var e=0;try{var t=ni;ci(99,function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}}),ni=null}catch(t){throw null!==ni&&(ni=ni.slice(e+1)),Hr(Gr,di),t}finally{ii=!1}}}function hi(e,t){return 1073741823===t?99:1===t?95:0>=(e=10*(1073741821-t)-10*(1073741821-e))?99:250>=e?98:5250>=e?97:95}function mi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var gi={current:null},yi=null,vi=null,wi=null;function bi(){wi=vi=yi=null}function Ei(e,t){var n=e.type._context;Nr(gi,n._currentValue),n._currentValue=t}function ki(e){var t=gi.current;Pr(gi),e.type._context._currentValue=t}function xi(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function Si(e,t){yi=e,wi=vi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(al=!0),e.firstContext=null)}function Ci(e,t){if(wi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(wi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===vi){if(null===yi)throw l(Error(308));vi=t,yi.dependencies={expirationTime:0,firstContext:t,responders:null}}else vi=vi.next=t;return e._currentValue}var Ti=!1;function _i(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Pi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ni(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Mi(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Oi(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=_i(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=_i(e.memoizedState),i=n.updateQueue=_i(n.memoizedState)):r=e.updateQueue=Pi(i):null===i&&(i=n.updateQueue=Pi(r));null===i||r===i?Mi(r,t):null===r.lastUpdate||null===i.lastUpdate?(Mi(r,t),Mi(i,t)):(Mi(r,t),i.lastUpdate=t)}function Ri(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=_i(e.memoizedState):zi(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function zi(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Pi(t)),t}function Di(e,t,n,r,o,l){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(l,r,o):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null==(o="function"==typeof(e=n.payload)?e.call(l,r,o):e))break;return i({},r,o);case 2:Ti=!0}return r}function Fi(e,t,n,r,i){Ti=!1;for(var o=(t=zi(e,t)).baseState,l=null,u=0,a=t.firstUpdate,c=o;null!==a;){var s=a.expirationTime;s<i?(null===l&&(l=a,o=c),u<s&&(u=s)):(Lu(s,a.suspenseConfig),c=Di(e,0,a,c,n,r),null!==a.callback&&(e.effectTag|=32,a.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=a:(t.lastEffect.nextEffect=a,t.lastEffect=a))),a=a.next}for(s=null,a=t.firstCapturedUpdate;null!==a;){var f=a.expirationTime;f<i?(null===s&&(s=a,null===l&&(o=c)),u<f&&(u=f)):(c=Di(e,0,a,c,n,r),null!==a.callback&&(e.effectTag|=32,a.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=a:(t.lastCapturedEffect.nextEffect=a,t.lastCapturedEffect=a))),a=a.next}null===l&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===l&&null===s&&(o=c),t.baseState=o,t.firstUpdate=l,t.firstCapturedUpdate=s,e.expirationTime=u,e.memoizedState=c}function Ui(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),Ii(t.firstEffect,n),t.firstEffect=t.lastEffect=null,Ii(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function Ii(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!=typeof n)throw l(Error(191),n);n.call(r)}e=e.nextEffect}}var Ai=$e.ReactCurrentBatchConfig,Li=(new r.Component).refs;function ji(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var Bi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===on(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Tu(),i=Ai.suspense;(i=Ni(r=_u(r,e,i),i)).payload=t,null!=n&&(i.callback=n),Oi(e,i),Nu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Tu(),i=Ai.suspense;(i=Ni(r=_u(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),Oi(e,i),Nu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Tu(),r=Ai.suspense;(r=Ni(n=_u(n,e,r),r)).tag=2,null!=t&&(r.callback=t),Oi(e,r),Nu(e,n)}};function Wi(e,t,n,r,i,o,l){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!nn(n,r)||!nn(i,o))}function Hi(e,t,n){var r=!1,i=Mr,o=t.contextType;return"object"==typeof o&&null!==o?o=Ci(o):(i=Fr(t)?zr:Or.current,o=(r=null!=(r=t.contextTypes))?Dr(e,i):Mr),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Bi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vi(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&&Bi.enqueueReplaceState(t,t.state,null)}function $i(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=Li;var o=t.contextType;"object"==typeof o&&null!==o?i.context=Ci(o):(o=Fr(t)?zr:Or.current,i.context=Dr(e,o)),null!==(o=e.updateQueue)&&(Fi(e,o,n,i,r),i.state=e.memoizedState),"function"==typeof(o=t.getDerivedStateFromProps)&&(ji(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Bi.enqueueReplaceState(i,i.state,null),null!==(o=e.updateQueue)&&(Fi(e,o,n,i,r),i.state=e.memoizedState)),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var qi=Array.isArray;function Qi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var r=void 0;if(n){if(1!==n.tag)throw l(Error(309));r=n.stateNode}if(!r)throw l(Error(147),e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===Li&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw l(Error(284));if(!n._owner)throw l(Error(290),e)}return e}function Ki(e,t){if("textarea"!==e.type)throw l(Error(31),"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Gi(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 i(e,t,n){return(e=Zu(e,t)).index=0,e.sibling=null,e}function o(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 u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function a(e,t,n,r){return null===t||6!==t.tag?((t=na(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=Qi(e,t,n),r.return=e,r):((r=ea(n.type,n.key,n.props,null,e.mode,r)).ref=Qi(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=ra(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=ta(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=na(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Ke:return(n=ea(t.type,t.key,t.props,null,e.mode,n)).ref=Qi(e,null,t),n.return=e,n;case Ge:return(t=ra(t,e.mode,n)).return=e,t}if(qi(t)||at(t))return(t=ta(t,e.mode,n,null)).return=e,t;Ki(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:a(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Ke:return n.key===i?n.type===Ye?f(e,t,n.props.children,r,i):c(e,t,n,r):null;case Ge:return n.key===i?s(e,t,n,r):null}if(qi(n)||at(n))return null!==i?null:f(e,t,n,r,null);Ki(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return a(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Ke:return e=e.get(null===r.key?n:r.key)||null,r.type===Ye?f(t,e,r.props.children,i,r.key):c(t,e,r,i);case Ge:return s(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(qi(r)||at(r))return f(t,e=e.get(n)||null,r,i,null);Ki(t,r)}return null}function m(i,l,u,a){for(var c=null,s=null,f=l,m=l=0,g=null;null!==f&&m<u.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var y=p(i,f,u[m],a);if(null===y){null===f&&(f=g);break}e&&f&&null===y.alternate&&t(i,f),l=o(y,l,m),null===s?c=y:s.sibling=y,s=y,f=g}if(m===u.length)return n(i,f),c;if(null===f){for(;m<u.length;m++)null!==(f=d(i,u[m],a))&&(l=o(f,l,m),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(i,f);m<u.length;m++)null!==(g=h(f,i,m,u[m],a))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),l=o(g,l,m),null===s?c=g:s.sibling=g,s=g);return e&&f.forEach(function(e){return t(i,e)}),c}function g(i,u,a,c){var s=at(a);if("function"!=typeof s)throw l(Error(150));if(null==(a=s.call(a)))throw l(Error(151));for(var f=s=null,m=u,g=u=0,y=null,v=a.next();null!==m&&!v.done;g++,v=a.next()){m.index>g?(y=m,m=null):y=m.sibling;var w=p(i,m,v.value,c);if(null===w){null===m&&(m=y);break}e&&m&&null===w.alternate&&t(i,m),u=o(w,u,g),null===f?s=w:f.sibling=w,f=w,m=y}if(v.done)return n(i,m),s;if(null===m){for(;!v.done;g++,v=a.next())null!==(v=d(i,v.value,c))&&(u=o(v,u,g),null===f?s=v:f.sibling=v,f=v);return s}for(m=r(i,m);!v.done;g++,v=a.next())null!==(v=h(m,i,g,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?g:v.key),u=o(v,u,g),null===f?s=v:f.sibling=v,f=v);return e&&m.forEach(function(e){return t(i,e)}),s}return function(e,r,o,a){var c="object"==typeof o&&null!==o&&o.type===Ye&&null===o.key;c&&(o=o.props.children);var s="object"==typeof o&&null!==o;if(s)switch(o.$$typeof){case Ke:e:{for(s=o.key,c=r;null!==c;){if(c.key===s){if(7===c.tag?o.type===Ye:c.elementType===o.type){n(e,c.sibling),(r=i(c,o.type===Ye?o.props.children:o.props)).ref=Qi(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===Ye?((r=ta(o.props.children,e.mode,a,o.key)).return=e,e=r):((a=ea(o.type,o.key,o.props,null,e.mode,a)).ref=Qi(e,r,o),a.return=e,e=a)}return u(e);case Ge:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=ra(o,e.mode,a)).return=e,e=r}return u(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=na(o,e.mode,a)).return=e,e=r),u(e);if(qi(o))return m(e,r,o,a);if(at(o))return g(e,r,o,a);if(s&&Ki(e,o),void 0===o&&!c)switch(e.tag){case 1:case 0:throw e=e.type,l(Error(152),e.displayName||e.name||"Component")}return n(e,r)}}var Yi=Gi(!0),Xi=Gi(!1),Ji={},Zi={current:Ji},eo={current:Ji},to={current:Ji};function no(e){if(e===Ji)throw l(Error(174));return e}function ro(e,t){Nr(to,t),Nr(eo,e),Nr(Zi,Ji);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lr(null,"");break;default:t=lr(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Pr(Zi),Nr(Zi,t)}function io(e){Pr(Zi),Pr(eo),Pr(to)}function oo(e){no(to.current);var t=no(Zi.current),n=lr(t,e.type);t!==n&&(Nr(eo,e),Nr(Zi,n))}function lo(e){eo.current===e&&(Pr(Zi),Pr(eo))}var uo=1,ao=1,co=2,so={current:0};function fo(e){for(var t=e;null!==t;){if(13===t.tag){if(null!==t.memoizedState)return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(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 null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var po=0,ho=2,mo=4,go=8,yo=16,vo=32,wo=64,bo=128,Eo=$e.ReactCurrentDispatcher,ko=0,xo=null,So=null,Co=null,To=null,_o=null,Po=null,No=0,Mo=null,Oo=0,Ro=!1,zo=null,Do=0;function Fo(){throw l(Error(321))}function Uo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!en(e[n],t[n]))return!1;return!0}function Io(e,t,n,r,i,o){if(ko=o,xo=t,Co=null!==e?e.memoizedState:null,Eo.current=null===Co?Yo:Xo,t=n(r,i),Ro){do{Ro=!1,Do+=1,Co=null!==e?e.memoizedState:null,Po=To,Mo=_o=So=null,Eo.current=Xo,t=n(r,i)}while(Ro);zo=null,Do=0}if(Eo.current=Go,(e=xo).memoizedState=To,e.expirationTime=No,e.updateQueue=Mo,e.effectTag|=Oo,e=null!==So&&null!==So.next,ko=0,Po=_o=To=Co=So=xo=null,No=0,Mo=null,Oo=0,e)throw l(Error(300));return t}function Ao(){Eo.current=Go,ko=0,Po=_o=To=Co=So=xo=null,No=0,Mo=null,Oo=0,Ro=!1,zo=null,Do=0}function Lo(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===_o?To=_o=e:_o=_o.next=e,_o}function jo(){if(null!==Po)Po=(_o=Po).next,Co=null!==(So=Co)?So.next:null;else{if(null===Co)throw l(Error(310));var e={memoizedState:(So=Co).memoizedState,baseState:So.baseState,queue:So.queue,baseUpdate:So.baseUpdate,next:null};_o=null===_o?To=e:_o.next=e,Co=So.next}return _o}function Bo(e,t){return"function"==typeof t?t(e):t}function Wo(e){var t=jo(),n=t.queue;if(null===n)throw l(Error(311));if(n.lastRenderedReducer=e,0<Do){var r=n.dispatch;if(null!==zo){var i=zo.get(n);if(void 0!==i){zo.delete(n);var o=t.memoizedState;do{o=e(o,i.action),i=i.next}while(null!==i);return en(o,t.memoizedState)||(al=!0),t.memoizedState=o,t.baseUpdate===n.last&&(t.baseState=o),n.lastRenderedState=o,[o,r]}}return[t.memoizedState,r]}r=n.last;var u=t.baseUpdate;if(o=t.baseState,null!==u?(null!==r&&(r.next=null),r=u.next):r=null!==r?r.next:null,null!==r){var a=i=null,c=r,s=!1;do{var f=c.expirationTime;f<ko?(s||(s=!0,a=u,i=o),f>No&&(No=f)):(Lu(f,c.suspenseConfig),o=c.eagerReducer===e?c.eagerState:e(o,c.action)),u=c,c=c.next}while(null!==c&&c!==r);s||(a=u,i=o),en(o,t.memoizedState)||(al=!0),t.memoizedState=o,t.baseUpdate=a,t.baseState=i,n.lastRenderedState=o}return[t.memoizedState,n.dispatch]}function Ho(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Mo?(Mo={lastEffect:null}).lastEffect=e.next=e:null===(t=Mo.lastEffect)?Mo.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Mo.lastEffect=e),e}function Vo(e,t,n,r){var i=Lo();Oo|=e,i.memoizedState=Ho(t,n,void 0,void 0===r?null:r)}function $o(e,t,n,r){var i=jo();r=void 0===r?null:r;var o=void 0;if(null!==So){var l=So.memoizedState;if(o=l.destroy,null!==r&&Uo(r,l.deps))return void Ho(po,n,o,r)}Oo|=e,i.memoizedState=Ho(t,n,o,r)}function qo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qo(){}function Ko(e,t,n){if(!(25>Do))throw l(Error(301));var r=e.alternate;if(e===xo||null!==r&&r===xo)if(Ro=!0,e={expirationTime:ko,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===zo&&(zo=new Map),void 0===(n=zo.get(t)))zo.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var i=Tu(),o=Ai.suspense;o={expirationTime:i=_u(i,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var u=t.last;if(null===u)o.next=o;else{var a=u.next;null!==a&&(o.next=a),u.next=o}if(t.last=o,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var c=t.lastRenderedState,s=r(c,n);if(o.eagerReducer=r,o.eagerState=s,en(s,c))return}catch(e){}Nu(e,i)}}var Go={readContext:Ci,useCallback:Fo,useContext:Fo,useEffect:Fo,useImperativeHandle:Fo,useLayoutEffect:Fo,useMemo:Fo,useReducer:Fo,useRef:Fo,useState:Fo,useDebugValue:Fo,useResponder:Fo},Yo={readContext:Ci,useCallback:function(e,t){return Lo().memoizedState=[e,void 0===t?null:t],e},useContext:Ci,useEffect:function(e,t){return Vo(516,bo|wo,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Vo(4,mo|vo,qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vo(4,mo|vo,e,t)},useMemo:function(e,t){var n=Lo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Lo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ko.bind(null,xo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Lo().memoizedState=e},useState:function(e){var t=Lo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Bo,lastRenderedState:e}).dispatch=Ko.bind(null,xo,e),[t.memoizedState,e]},useDebugValue:Qo,useResponder:rn},Xo={readContext:Ci,useCallback:function(e,t){var n=jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Uo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Ci,useEffect:function(e,t){return $o(516,bo|wo,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,$o(4,mo|vo,qo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return $o(4,mo|vo,e,t)},useMemo:function(e,t){var n=jo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Uo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Wo,useRef:function(){return jo().memoizedState},useState:function(e){return Wo(Bo)},useDebugValue:Qo,useResponder:rn},Jo=null,Zo=null,el=!1;function tl(e,t){var n=Xu(5,null,null,0);n.elementType="DELETED",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 nl(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);case 13:default:return!1}}function rl(e){if(el){var t=Zo;if(t){var n=t;if(!nl(e,t)){if(!(t=Cr(n.nextSibling))||!nl(e,t))return e.effectTag|=2,el=!1,void(Jo=e);tl(Jo,n)}Jo=e,Zo=Cr(t.firstChild)}else e.effectTag|=2,el=!1,Jo=e}}function il(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;Jo=e}function ol(e){if(e!==Jo)return!1;if(!el)return il(e),el=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kr(t,e.memoizedProps))for(t=Zo;t;)tl(e,t),t=Cr(t.nextSibling);return il(e),Zo=Jo?Cr(e.stateNode.nextSibling):null,!0}function ll(){Zo=Jo=null,el=!1}var ul=$e.ReactCurrentOwner,al=!1;function cl(e,t,n,r){t.child=null===e?Xi(t,null,n,r):Yi(t,e.child,n,r)}function sl(e,t,n,r,i){n=n.render;var o=t.ref;return Si(t,i),r=Io(e,t,n,r,o,i),null===e||al?(t.effectTag|=1,cl(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),kl(e,t,i))}function fl(e,t,n,r,i,o){if(null===e){var l=n.type;return"function"!=typeof l||Ju(l)||void 0!==l.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ea(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=l,dl(e,t,l,r,i,o))}return l=e.child,i<o&&(i=l.memoizedProps,(n=null!==(n=n.compare)?n:nn)(i,r)&&e.ref===t.ref)?kl(e,t,o):(t.effectTag|=1,(e=Zu(l,r)).ref=t.ref,e.return=t,t.child=e)}function dl(e,t,n,r,i,o){return null!==e&&nn(e.memoizedProps,r)&&e.ref===t.ref&&(al=!1,i<o)?kl(e,t,o):hl(e,t,n,r,o)}function pl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function hl(e,t,n,r,i){var o=Fr(n)?zr:Or.current;return o=Dr(t,o),Si(t,i),n=Io(e,t,n,r,o,i),null===e||al?(t.effectTag|=1,cl(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),kl(e,t,i))}function ml(e,t,n,r,i){if(Fr(n)){var o=!0;jr(t)}else o=!1;if(Si(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Hi(t,n,r),$i(t,n,r,i),r=!0;else if(null===e){var l=t.stateNode,u=t.memoizedProps;l.props=u;var a=l.context,c=n.contextType;"object"==typeof c&&null!==c?c=Ci(c):c=Dr(t,c=Fr(n)?zr:Or.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof l.getSnapshotBeforeUpdate;f||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(u!==r||a!==c)&&Vi(t,l,r,c),Ti=!1;var d=t.memoizedState;a=l.state=d;var p=t.updateQueue;null!==p&&(Fi(t,p,r,l,i),a=t.memoizedState),u!==r||d!==a||Rr.current||Ti?("function"==typeof s&&(ji(t,n,s,r),a=t.memoizedState),(u=Ti||Wi(t,n,u,r,d,a,c))?(f||"function"!=typeof l.UNSAFE_componentWillMount&&"function"!=typeof l.componentWillMount||("function"==typeof l.componentWillMount&&l.componentWillMount(),"function"==typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"==typeof l.componentDidMount&&(t.effectTag|=4)):("function"==typeof l.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=c,r=u):("function"==typeof l.componentDidMount&&(t.effectTag|=4),r=!1)}else l=t.stateNode,u=t.memoizedProps,l.props=t.type===t.elementType?u:mi(t.type,u),a=l.context,"object"==typeof(c=n.contextType)&&null!==c?c=Ci(c):c=Dr(t,c=Fr(n)?zr:Or.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof l.getSnapshotBeforeUpdate)||"function"!=typeof l.UNSAFE_componentWillReceiveProps&&"function"!=typeof l.componentWillReceiveProps||(u!==r||a!==c)&&Vi(t,l,r,c),Ti=!1,a=t.memoizedState,d=l.state=a,null!==(p=t.updateQueue)&&(Fi(t,p,r,l,i),d=t.memoizedState),u!==r||a!==d||Rr.current||Ti?("function"==typeof s&&(ji(t,n,s,r),d=t.memoizedState),(s=Ti||Wi(t,n,u,r,a,d,c))?(f||"function"!=typeof l.UNSAFE_componentWillUpdate&&"function"!=typeof l.componentWillUpdate||("function"==typeof l.componentWillUpdate&&l.componentWillUpdate(r,d,c),"function"==typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,d,c)),"function"==typeof l.componentDidUpdate&&(t.effectTag|=4),"function"==typeof l.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof l.componentDidUpdate||u===e.memoizedProps&&a===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||u===e.memoizedProps&&a===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),l.props=r,l.state=d,l.context=c,r=s):("function"!=typeof l.componentDidUpdate||u===e.memoizedProps&&a===e.memoizedState||(t.effectTag|=4),"function"!=typeof l.getSnapshotBeforeUpdate||u===e.memoizedProps&&a===e.memoizedState||(t.effectTag|=256),r=!1);return gl(e,t,n,r,o,i)}function gl(e,t,n,r,i,o){pl(e,t);var l=0!=(64&t.effectTag);if(!r&&!l)return i&&Br(t,n,!1),kl(e,t,o);r=t.stateNode,ul.current=t;var u=l&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&l?(t.child=Yi(t,e.child,null,o),t.child=Yi(t,null,u,o)):cl(e,t,u,o),t.memoizedState=r.state,i&&Br(t,n,!0),t.child}function yl(e){var t=e.stateNode;t.pendingContext?Ar(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ar(0,t.context,!1),ro(e,t.containerInfo)}var vl={};function wl(e,t,n){var r,i=t.mode,o=t.pendingProps,l=so.current,u=null,a=!1;if((r=0!=(64&t.effectTag))||(r=0!=(l&co)&&(null===e||null!==e.memoizedState)),r?(u=vl,a=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(l|=ao),Nr(so,l&=uo),null===e)if(a){if(o=o.fallback,(e=ta(null,i,0,null)).return=t,0==(2&t.mode))for(a=null!==t.memoizedState?t.child.child:t.child,e.child=a;null!==a;)a.return=e,a=a.sibling;(n=ta(o,i,n,null)).return=t,e.sibling=n,i=e}else i=n=Xi(t,null,o.children,n);else{if(null!==e.memoizedState)if(i=(l=e.child).sibling,a){if(o=o.fallback,(n=Zu(l,l.pendingProps)).return=t,0==(2&t.mode)&&(a=null!==t.memoizedState?t.child.child:t.child)!==l.child)for(n.child=a;null!==a;)a.return=n,a=a.sibling;(o=Zu(i,o,i.expirationTime)).return=t,n.sibling=o,i=n,n.childExpirationTime=0,n=o}else i=n=Yi(t,l.child,o.children,n);else if(l=e.child,a){if(a=o.fallback,(o=ta(null,i,0,null)).return=t,o.child=l,null!==l&&(l.return=o),0==(2&t.mode))for(l=null!==t.memoizedState?t.child.child:t.child,o.child=l;null!==l;)l.return=o,l=l.sibling;(n=ta(a,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,i=o,o.childExpirationTime=0}else n=i=Yi(t,l,o.children,n);t.stateNode=e.stateNode}return t.memoizedState=u,t.child=i,n}function bl(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.last=r,o.tail=n,o.tailExpiration=0,o.tailMode=i)}function El(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(cl(e,t,r.children,n),0!=((r=so.current)&co))r=r&uo|co,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag){if(null!==e.memoizedState){e.expirationTime<n&&(e.expirationTime=n);var l=e.alternate;null!==l&&l.expirationTime<n&&(l.expirationTime=n),xi(e.return,n)}}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=uo}if(Nr(so,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(r=n.alternate)&&null===fo(r)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),bl(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(r=i.alternate)&&null===fo(r)){t.child=i;break}r=i.sibling,i.sibling=n,n=i,i=r}bl(t,!0,n,null,o);break;case"together":bl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function kl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw l(Error(153));if(null!==t.child){for(n=Zu(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Zu(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function xl(e){e.effectTag|=4}var Sl=void 0,Cl=void 0,Tl=void 0,_l=void 0;function Pl(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Nl(e){switch(e.tag){case 1:Fr(e.type)&&Ur();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:if(io(),Ir(),0!=(64&(t=e.effectTag)))throw l(Error(285));return e.effectTag=-2049&t|64,e;case 5:return lo(e),null;case 13:return Pr(so),2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 19:return Pr(so),null;case 4:return io(),null;case 10:return ki(e),null;default:return null}}function Ml(e,t){return{value:e,source:t,stack:st(t)}}Sl=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(20===n.tag)e.appendChild(n.stateNode.instance);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Cl=function(){},Tl=function(e,t,n,r,o){var l=e.memoizedProps;if(l!==r){var u=t.stateNode;switch(no(Zi.current),e=null,n){case"input":l=Et(u,l),r=Et(u,r),e=[];break;case"option":l=Jn(u,l),r=Jn(u,r),e=[];break;case"select":l=i({},l,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":l=er(u,l),r=er(u,r),e=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(u.onclick=vr)}mr(n,r),u=n=void 0;var a=null;for(n in l)if(!r.hasOwnProperty(n)&&l.hasOwnProperty(n)&&null!=l[n])if("style"===n){var c=l[n];for(u in c)c.hasOwnProperty(u)&&(a||(a={}),a[u]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(p.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var s=r[n];if(c=null!=l?l[n]:void 0,r.hasOwnProperty(n)&&s!==c&&(null!=s||null!=c))if("style"===n)if(c){for(u in c)!c.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(a||(a={}),a[u]="");for(u in s)s.hasOwnProperty(u)&&c[u]!==s[u]&&(a||(a={}),a[u]=s[u])}else a||(e||(e=[]),e.push(n,a)),a=s;else"dangerouslySetInnerHTML"===n?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(n,""+s)):"children"===n?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(n,""+s):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(p.hasOwnProperty(n)?(null!=s&&yr(o,n),e||c===s||(e=[])):(e=e||[]).push(n,s))}a&&(e=e||[]).push("style",a),o=e,(t.updateQueue=o)&&xl(t)}},_l=function(e,t,n,r){n!==r&&xl(t)};var Ol="function"==typeof WeakSet?WeakSet:Set;function Rl(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=st(n)),null!==n&&ct(n.type),t=t.value,null!==e&&1===e.tag&&ct(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function zl(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){$u(e,t)}else t.current=null}function Dl(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if((r.tag&e)!==po){var i=r.destroy;r.destroy=void 0,void 0!==i&&i()}(r.tag&t)!==po&&(i=r.create,r.destroy=i()),r=r.next}while(r!==n)}}function Fl(e,t){switch("function"==typeof Gu&&Gu(e),e.tag){case 0:case 11:case 14:case 15:var n=e.updateQueue;if(null!==n&&null!==(n=n.lastEffect)){var r=n.next;ci(97<t?97:t,function(){var t=r;do{var n=t.destroy;if(void 0!==n){var i=e;try{n()}catch(e){$u(i,e)}}t=t.next}while(t!==r)})}break;case 1:zl(e),"function"==typeof(t=e.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){$u(e,t)}}(e,t);break;case 5:zl(e);break;case 4:Ll(e,t)}}function Ul(e,t){for(var n=e;;)if(Fl(n,t),null!==n.child&&4!==n.tag)n.child.return=n,n=n.child;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Il(e){return 5===e.tag||3===e.tag||4===e.tag}function Al(e){e:{for(var t=e.return;null!==t;){if(Il(t)){var n=t;break e}t=t.return}throw l(Error(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw l(Error(161))}16&n.effectTag&&(cr(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Il(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==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 i=e;;){var o=5===i.tag||6===i.tag;if(o||20===i.tag){var u=o?i.stateNode:i.stateNode.instance;if(n)if(r){var a=u;u=n,8===(o=t).nodeType?o.parentNode.insertBefore(a,u):o.insertBefore(a,u)}else t.insertBefore(u,n);else r?(8===(a=t).nodeType?(o=a.parentNode).insertBefore(u,a):(o=a).appendChild(u),null!=(a=a._reactRootContainer)||null!==o.onclick||(o.onclick=vr)):t.appendChild(u)}else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function Ll(e,t){for(var n=e,r=!1,i=void 0,o=void 0;;){if(!r){r=n.return;e:for(;;){if(null===r)throw l(Error(160));switch(i=r.stateNode,r.tag){case 5:o=!1;break e;case 3:case 4:i=i.containerInfo,o=!0;break e}r=r.return}r=!0}if(5===n.tag||6===n.tag)if(Ul(n,t),o){var u=i,a=n.stateNode;8===u.nodeType?u.parentNode.removeChild(a):u.removeChild(a)}else i.removeChild(n.stateNode);else if(20===n.tag)a=n.stateNode.instance,Ul(n,t),o?8===(u=i).nodeType?u.parentNode.removeChild(a):u.removeChild(a):i.removeChild(a);else if(4===n.tag){if(null!==n.child){i=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(Fl(n,t),null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;4===(n=n.return).tag&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function jl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:Dl(mo,go,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[D]=r,"input"===e&&"radio"===r.type&&null!=r.name&&xt(n,r),gr(e,i),t=gr(e,r),i=0;i<o.length;i+=2){var u=o[i],a=o[i+1];"style"===u?pr(n,a):"dangerouslySetInnerHTML"===u?ar(n,a):"children"===u?cr(n,a):wt(n,u,a,t)}switch(e){case"input":St(n,r);break;case"textarea":nr(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Zn(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Zn(n,!!r.multiple,r.defaultValue,!0):Zn(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===t.stateNode)throw l(Error(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,du=li()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=dr("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}Bl(t);break;case 19:Bl(t);break;case 17:case 20:break;default:throw l(Error(163))}}function Bl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ol),t.forEach(function(t){var r=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),n=Tu(),t=_u(n,e,null),n=hi(n,t),null!==(e=Mu(e,t))&&Ou(e,n,t)}.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}var Wl="function"==typeof WeakMap?WeakMap:Map;function Hl(e,t,n){(n=Ni(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){mu||(mu=!0,gu=r),Rl(e,t)},n}function Vl(e,t,n){(n=Ni(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return Rl(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===yu?yu=new Set([this]):yu.add(this),Rl(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var $l=Math.ceil,ql=$e.ReactCurrentDispatcher,Ql=$e.ReactCurrentOwner,Kl=0,Gl=8,Yl=16,Xl=32,Jl=0,Zl=1,eu=2,tu=3,nu=4,ru=Kl,iu=null,ou=null,lu=0,uu=Jl,au=1073741823,cu=1073741823,su=null,fu=!1,du=0,pu=500,hu=null,mu=!1,gu=null,yu=null,vu=!1,wu=null,bu=90,Eu=0,ku=null,xu=0,Su=null,Cu=0;function Tu(){return(ru&(Yl|Xl))!==Kl?1073741821-(li()/10|0):0!==Cu?Cu:Cu=1073741821-(li()/10|0)}function _u(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=ui();if(0==(4&t))return 99===r?1073741823:1073741822;if((ru&Yl)!==Kl)return lu;if(null!==n)e=1073741821-25*(1+((1073741821-e+(0|n.timeoutMs||5e3)/10)/25|0));else switch(r){case 99:e=1073741823;break;case 98:e=1073741821-10*(1+((1073741821-e+15)/10|0));break;case 97:case 96:e=1073741821-25*(1+((1073741821-e+500)/25|0));break;case 95:e=1;break;default:throw l(Error(326))}return null!==iu&&e===lu&&--e,e}var Pu=0;function Nu(e,t){if(50<xu)throw xu=0,Su=null,l(Error(185));if(null!==(e=Mu(e,t))){e.pingTime=0;var n=ui();if(1073741823===t)if((ru&Gl)!==Kl&&(ru&(Yl|Xl))===Kl)for(var r=Au(e,1073741823,!0);null!==r;)r=r(!0);else Ou(e,99,1073741823),ru===Kl&&di();else Ou(e,n,t);(4&ru)===Kl||98!==n&&99!==n||(null===ku?ku=new Map([[e,t]]):(void 0===(n=ku.get(e))||n>t)&&ku.set(e,t))}}function Mu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(t>i.firstPendingTime&&(i.firstPendingTime=t),0===(e=i.lastPendingTime)||t<e)&&(i.lastPendingTime=t),i}function Ou(e,t,n){if(e.callbackExpirationTime<n){var r=e.callbackNode;null!==r&&r!==ei&&Vr(r),e.callbackExpirationTime=n,1073741823===n?e.callbackNode=fi(Ru.bind(null,e,Au.bind(null,e,n))):(r=null,1!==n&&(r={timeout:10*(1073741821-n)-li()}),e.callbackNode=si(t,Ru.bind(null,e,Au.bind(null,e,n)),r))}}function Ru(e,t,n){var r=e.callbackNode,i=null;try{return null!==(i=t(n))?Ru.bind(null,e,i):null}finally{null===i&&r===e.callbackNode&&(e.callbackNode=null,e.callbackExpirationTime=0)}}function zu(){(ru&(1|Yl|Xl))===Kl&&(function(){if(null!==ku){var e=ku;ku=null,e.forEach(function(e,t){fi(Au.bind(null,t,e))}),di()}}(),Hu())}function Du(e,t){var n=ru;ru|=1;try{return e(t)}finally{(ru=n)===Kl&&di()}}function Fu(e,t,n,r){var i=ru;ru|=4;try{return ci(98,e.bind(null,t,n,r))}finally{(ru=i)===Kl&&di()}}function Uu(e,t){var n=ru;ru&=-2,ru|=Gl;try{return e(t)}finally{(ru=n)===Kl&&di()}}function Iu(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Sr(n)),null!==ou)for(n=ou.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!=i&&Ur();break;case 3:io(),Ir();break;case 5:lo(r);break;case 4:io();break;case 13:case 19:Pr(so);break;case 10:ki(r)}n=n.return}iu=e,ou=Zu(e.current,null),lu=t,uu=Jl,cu=au=1073741823,su=null,fu=!1}function Au(e,t,n){if((ru&(Yl|Xl))!==Kl)throw l(Error(327));if(e.firstPendingTime<t)return null;if(n&&e.finishedExpirationTime===t)return Wu.bind(null,e);if(Hu(),e!==iu||t!==lu)Iu(e,t);else if(uu===tu)if(fu)Iu(e,t);else{var r=e.lastPendingTime;if(r<t)return Au.bind(null,e,r)}if(null!==ou){r=ru,ru|=Yl;var i=ql.current;if(null===i&&(i=Go),ql.current=Go,n){if(1073741823!==t){var o=Tu();if(o<t)return ru=r,bi(),ql.current=i,Au.bind(null,e,o)}}else Cu=0;for(;;)try{if(n)for(;null!==ou;)ou=ju(ou);else for(;null!==ou&&!$r();)ou=ju(ou);break}catch(n){if(bi(),Ao(),null===(o=ou)||null===o.return)throw Iu(e,t),ru=r,n;e:{var u=e,a=o.return,c=o,s=n,f=lu;if(c.effectTag|=1024,c.firstEffect=c.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var d=s,p=0!=(so.current&ao);s=a;do{var h;if((h=13===s.tag)&&(null!==s.memoizedState?h=!1:h=void 0!==(h=s.memoizedProps).fallback&&(!0!==h.unstable_avoidThisFallback||!p)),h){if(null===(a=s.updateQueue)?((a=new Set).add(d),s.updateQueue=a):a.add(d),0==(2&s.mode)){s.effectTag|=64,c.effectTag&=-1957,1===c.tag&&(null===c.alternate?c.tag=17:((f=Ni(1073741823,null)).tag=2,Oi(c,f))),c.expirationTime=1073741823;break e}c=u,u=f,null===(p=c.pingCache)?(p=c.pingCache=new Wl,a=new Set,p.set(d,a)):void 0===(a=p.get(d))&&(a=new Set,p.set(d,a)),a.has(u)||(a.add(u),c=qu.bind(null,c,d,u),d.then(c,c)),s.effectTag|=2048,s.expirationTime=f;break e}s=s.return}while(null!==s);s=Error((ct(c.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+st(c))}uu!==nu&&(uu=Zl),s=Ml(s,c),c=a;do{switch(c.tag){case 3:c.effectTag|=2048,c.expirationTime=f,Ri(c,f=Hl(c,s,f));break e;case 1:if(d=s,u=c.type,a=c.stateNode,0==(64&c.effectTag)&&("function"==typeof u.getDerivedStateFromError||null!==a&&"function"==typeof a.componentDidCatch&&(null===yu||!yu.has(a)))){c.effectTag|=2048,c.expirationTime=f,Ri(c,f=Vl(c,d,f));break e}}c=c.return}while(null!==c)}ou=Bu(o)}if(ru=r,bi(),ql.current=i,null!==ou)return Au.bind(null,e,t)}if(e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,function(e,t){var n=e.firstBatch;return!!(null!==n&&n._defer&&n._expirationTime>=t)&&(si(97,function(){return n._onComplete(),null}),!0)}(e,t))return null;switch(iu=null,uu){case Jl:throw l(Error(328));case Zl:return(r=e.lastPendingTime)<t?Au.bind(null,e,r):n?Wu.bind(null,e):(Iu(e,t),fi(Au.bind(null,e,t)),null);case eu:return 1073741823===au&&!n&&10<(n=du+pu-li())?fu?(Iu(e,t),Au.bind(null,e,t)):(r=e.lastPendingTime)<t?Au.bind(null,e,r):(e.timeoutHandle=xr(Wu.bind(null,e),n),null):Wu.bind(null,e);case tu:if(!n){if(fu)return Iu(e,t),Au.bind(null,e,t);if((n=e.lastPendingTime)<t)return Au.bind(null,e,n);if(1073741823!==cu?n=10*(1073741821-cu)-li():1073741823===au?n=0:(n=10*(1073741821-au)-5e3,0>(n=(r=li())-n)&&(n=0),(t=10*(1073741821-t)-r)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*$l(n/1960))-n)&&(n=t)),10<n)return e.timeoutHandle=xr(Wu.bind(null,e),n),null}return Wu.bind(null,e);case nu:return!n&&1073741823!==au&&null!==su&&(r=au,0>=(t=0|(i=su).busyMinDurationMs)?t=0:(n=0|i.busyDelayMs,t=(r=li()-(10*(1073741821-r)-(0|i.timeoutMs||5e3)))<=n?0:n+t-r),10<t)?(e.timeoutHandle=xr(Wu.bind(null,e),t),null):Wu.bind(null,e);default:throw l(Error(329))}}function Lu(e,t){e<au&&1<e&&(au=e),null!==t&&e<cu&&1<e&&(cu=e,su=t)}function ju(e){var t=Qu(e.alternate,e,lu);return e.memoizedProps=e.pendingProps,null===t&&(t=Bu(e)),Ql.current=null,t}function Bu(e){ou=e;do{var t=ou.alternate;if(e=ou.return,0==(1024&ou.effectTag)){e:{var n=t,r=lu,o=(t=ou).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Fr(t.type)&&Ur();break;case 3:io(),Ir(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==n&&null!==n.child||(ol(t),t.effectTag&=-3),Cl(t);break;case 5:lo(t),r=no(to.current);var u=t.type;if(null!==n&&null!=t.stateNode)Tl(n,t,u,o,r),n.ref!==t.ref&&(t.effectTag|=128);else if(o){var a=no(Zi.current);if(ol(t)){o=void 0,u=(n=t).stateNode;var c=n.type,s=n.memoizedProps;switch(u[z]=n,u[D]=s,c){case"iframe":case"object":case"embed":Dn("load",u);break;case"video":case"audio":for(var f=0;f<te.length;f++)Dn(te[f],u);break;case"source":Dn("error",u);break;case"img":case"image":case"link":Dn("error",u),Dn("load",u);break;case"form":Dn("reset",u),Dn("submit",u);break;case"details":Dn("toggle",u);break;case"input":kt(u,s),Dn("invalid",u),yr(r,"onChange");break;case"select":u._wrapperState={wasMultiple:!!s.multiple},Dn("invalid",u),yr(r,"onChange");break;case"textarea":tr(u,s),Dn("invalid",u),yr(r,"onChange")}for(o in mr(c,s),f=null,s)s.hasOwnProperty(o)&&(a=s[o],"children"===o?"string"==typeof a?u.textContent!==a&&(f=["children",a]):"number"==typeof a&&u.textContent!==""+a&&(f=["children",""+a]):p.hasOwnProperty(o)&&null!=a&&yr(r,o));switch(c){case"input":He(u),Ct(u,s,!0);break;case"textarea":He(u),rr(u);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(u.onclick=vr)}r=f,n.updateQueue=r,null!==r&&xl(t)}else{s=u,n=o,c=t,f=9===r.nodeType?r:r.ownerDocument,a===ir.html&&(a=or(s)),a===ir.html?"script"===s?((s=f.createElement("div")).innerHTML="<script><\/script>",f=s.removeChild(s.firstChild)):"string"==typeof n.is?f=f.createElement(s,{is:n.is}):(f=f.createElement(s),"select"===s&&(s=f,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):f=f.createElementNS(a,s),(s=f)[z]=c,s[D]=n,Sl(n=s,t,!1,!1),c=n;var d=r,h=gr(u,o);switch(u){case"iframe":case"object":case"embed":Dn("load",c),r=o;break;case"video":case"audio":for(r=0;r<te.length;r++)Dn(te[r],c);r=o;break;case"source":Dn("error",c),r=o;break;case"img":case"image":case"link":Dn("error",c),Dn("load",c),r=o;break;case"form":Dn("reset",c),Dn("submit",c),r=o;break;case"details":Dn("toggle",c),r=o;break;case"input":kt(c,o),r=Et(c,o),Dn("invalid",c),yr(d,"onChange");break;case"option":r=Jn(c,o);break;case"select":c._wrapperState={wasMultiple:!!o.multiple},r=i({},o,{value:void 0}),Dn("invalid",c),yr(d,"onChange");break;case"textarea":tr(c,o),r=er(c,o),Dn("invalid",c),yr(d,"onChange");break;default:r=o}mr(u,r),s=void 0,f=u,a=c;var m=r;for(s in m)if(m.hasOwnProperty(s)){var g=m[s];"style"===s?pr(a,g):"dangerouslySetInnerHTML"===s?null!=(g=g?g.__html:void 0)&&ar(a,g):"children"===s?"string"==typeof g?("textarea"!==f||""!==g)&&cr(a,g):"number"==typeof g&&cr(a,""+g):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(p.hasOwnProperty(s)?null!=g&&yr(d,s):null!=g&&wt(a,s,g,h))}switch(u){case"input":He(c),Ct(c,o,!1);break;case"textarea":He(c),rr(c);break;case"option":null!=o.value&&c.setAttribute("value",""+bt(o.value));break;case"select":r=c,c=o,r.multiple=!!c.multiple,null!=(s=c.value)?Zn(r,!!c.multiple,s,!1):null!=c.defaultValue&&Zn(r,!!c.multiple,c.defaultValue,!0);break;default:"function"==typeof r.onClick&&(c.onclick=vr)}Er(u,o)&&xl(t),t.stateNode=n}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw l(Error(166));break;case 6:if(n&&null!=t.stateNode)_l(n,t,n.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw l(Error(166));n=no(to.current),no(Zi.current),ol(t)?(r=t.stateNode,n=t.memoizedProps,r[z]=t,r.nodeValue!==n&&xl(t)):(r=t,(n=(9===n.nodeType?n:n.ownerDocument).createTextNode(o))[z]=t,r.stateNode=n)}break;case 11:break;case 13:if(Pr(so),o=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=r;break e}r=null!==o,o=!1,null===n?ol(t):(o=null!==(u=n.memoizedState),r||null===u||null!==(u=n.child.sibling)&&(null!==(c=t.firstEffect)?(t.firstEffect=u,u.nextEffect=c):(t.firstEffect=t.lastEffect=u,u.nextEffect=null),u.effectTag=8)),r&&!o&&0!=(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(so.current&ao)?uu===Jl&&(uu=eu):uu!==Jl&&uu!==eu||(uu=tu)),(r||o)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:io(),Cl(t);break;case 10:ki(t);break;case 9:case 14:break;case 17:Fr(t.type)&&Ur();break;case 18:break;case 19:if(Pr(so),null===(o=t.memoizedState))break;if(u=0!=(64&t.effectTag),null===(c=o.rendering)){if(u)Pl(o,!1);else if(uu!==Jl||null!==n&&0!=(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(c=fo(n))){for(t.effectTag|=64,Pl(o,!1),null!==(n=c.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),t.firstEffect=t.lastEffect=null,n=t.child;null!==n;)u=r,(o=n).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(c=o.alternate)?(o.childExpirationTime=0,o.expirationTime=u,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=c.childExpirationTime,o.expirationTime=c.expirationTime,o.child=c.child,o.memoizedProps=c.memoizedProps,o.memoizedState=c.memoizedState,o.updateQueue=c.updateQueue,u=c.dependencies,o.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),n=n.sibling;Nr(so,so.current&uo|co),t=t.child;break e}n=n.sibling}}else{if(!u)if(null!==(n=fo(c))){if(t.effectTag|=64,u=!0,Pl(o,!0),null===o.tail&&"hidden"===o.tailMode){null!==(r=n.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),null!==(t=t.lastEffect=o.lastEffect)&&(t.nextEffect=null);break}}else li()>o.tailExpiration&&1<r&&(t.effectTag|=64,u=!0,Pl(o,!1),t.expirationTime=t.childExpirationTime=r-1);o.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=o.last)?r.sibling=c:t.child=c,o.last=c)}if(null!==o.tail){0===o.tailExpiration&&(o.tailExpiration=li()+500),r=o.tail,o.rendering=r,o.tail=r.sibling,o.lastEffect=t.lastEffect,r.sibling=null,n=so.current,Nr(so,n=u?n&uo|co:n&uo),t=r;break e}break;case 20:break;default:throw l(Error(156))}t=null}if(r=ou,1===lu||1!==r.childExpirationTime){for(n=0,o=r.child;null!==o;)(u=o.expirationTime)>n&&(n=u),(c=o.childExpirationTime)>n&&(n=c),o=o.sibling;r.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(1024&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=ou.firstEffect),null!==ou.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=ou.firstEffect),e.lastEffect=ou.lastEffect),1<ou.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=ou:e.firstEffect=ou,e.lastEffect=ou))}else{if(null!==(t=Nl(ou)))return t.effectTag&=1023,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=1024)}if(null!==(t=ou.sibling))return t;ou=e}while(null!==ou);return uu===Jl&&(uu=nu),null}function Wu(e){var t=ui();return ci(99,function(e,t){if(Hu(),(ru&(Yl|Xl))!==Kl)throw l(Error(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw l(Error(177));e.callbackNode=null,e.callbackExpirationTime=0;var i=n.expirationTime,o=n.childExpirationTime;if(i=o>i?o:i,e.firstPendingTime=i,i<e.lastPendingTime&&(e.lastPendingTime=i),e===iu&&(ou=iu=null,lu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){o=ru,ru|=Xl,Ql.current=null,wr=zn;var u=Wn();if(Hn(u)){if("selectionStart"in u)var a={start:u.selectionStart,end:u.selectionEnd};else e:{var c=(a=(a=u.ownerDocument)&&a.defaultView||window).getSelection&&a.getSelection();if(c&&0!==c.rangeCount){a=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{a.nodeType,f.nodeType}catch(e){a=null;break e}var d=0,p=-1,h=-1,m=0,g=0,y=u,v=null;t:for(;;){for(var w;y!==a||0!==s&&3!==y.nodeType||(p=d+s),y!==f||0!==c&&3!==y.nodeType||(h=d+c),3===y.nodeType&&(d+=y.nodeValue.length),null!==(w=y.firstChild);)v=y,y=w;for(;;){if(y===u)break t;if(v===a&&++m===s&&(p=d),v===f&&++g===c&&(h=d),null!==(w=y.nextSibling))break;v=(y=v).parentNode}y=w}a=-1===p||-1===h?null:{start:p,end:h}}else a=null}a=a||{start:0,end:0}}else a=null;br={focusedElem:u,selectionRange:a},zn=!1,hu=i;do{try{for(;null!==hu;){if(0!=(256&hu.effectTag)){var b=hu.alternate;switch((u=hu).tag){case 0:case 11:case 15:Dl(ho,po,u);break;case 1:if(256&u.effectTag&&null!==b){var E=b.memoizedProps,k=b.memoizedState,x=u.stateNode,S=x.getSnapshotBeforeUpdate(u.elementType===u.type?E:mi(u.type,E),k);x.__reactInternalSnapshotBeforeUpdate=S}break;case 3:case 5:case 6:case 4:case 17:break;default:throw l(Error(163))}}hu=hu.nextEffect}}catch(e){if(null===hu)throw l(Error(330));$u(hu,e),hu=hu.nextEffect}}while(null!==hu);hu=i;do{try{for(b=t;null!==hu;){var C=hu.effectTag;if(16&C&&cr(hu.stateNode,""),128&C){var T=hu.alternate;if(null!==T){var _=T.ref;null!==_&&("function"==typeof _?_(null):_.current=null)}}switch(14&C){case 2:Al(hu),hu.effectTag&=-3;break;case 6:Al(hu),hu.effectTag&=-3,jl(hu.alternate,hu);break;case 4:jl(hu.alternate,hu);break;case 8:Ll(E=hu,b),E.return=null,E.child=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null;var P=E.alternate;null!==P&&(P.return=null,P.child=null,P.memoizedState=null,P.updateQueue=null,P.dependencies=null)}hu=hu.nextEffect}}catch(e){if(null===hu)throw l(Error(330));$u(hu,e),hu=hu.nextEffect}}while(null!==hu);if(_=br,T=Wn(),C=_.focusedElem,b=_.selectionRange,T!==C&&C&&C.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(C.ownerDocument.documentElement,C)){null!==b&&Hn(C)&&(T=b.start,void 0===(_=b.end)&&(_=T),"selectionStart"in C?(C.selectionStart=T,C.selectionEnd=Math.min(_,C.value.length)):(_=(T=C.ownerDocument||document)&&T.defaultView||window).getSelection&&(_=_.getSelection(),E=C.textContent.length,P=Math.min(b.start,E),b=void 0===b.end?P:Math.min(b.end,E),!_.extend&&P>b&&(E=b,b=P,P=E),E=Bn(C,P),k=Bn(C,b),E&&k&&(1!==_.rangeCount||_.anchorNode!==E.node||_.anchorOffset!==E.offset||_.focusNode!==k.node||_.focusOffset!==k.offset)&&((T=T.createRange()).setStart(E.node,E.offset),_.removeAllRanges(),P>b?(_.addRange(T),_.extend(k.node,k.offset)):(T.setEnd(k.node,k.offset),_.addRange(T))))),T=[];for(_=C;_=_.parentNode;)1===_.nodeType&&T.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"==typeof C.focus&&C.focus(),C=0;C<T.length;C++)(_=T[C]).element.scrollLeft=_.left,_.element.scrollTop=_.top}br=null,zn=!!wr,wr=null,e.current=n,hu=i;do{try{for(C=r;null!==hu;){var N=hu.effectTag;if(36&N){var M=hu.alternate;switch(_=C,(T=hu).tag){case 0:case 11:case 15:Dl(yo,vo,T);break;case 1:var O=T.stateNode;if(4&T.effectTag)if(null===M)O.componentDidMount();else{var R=T.elementType===T.type?M.memoizedProps:mi(T.type,M.memoizedProps);O.componentDidUpdate(R,M.memoizedState,O.__reactInternalSnapshotBeforeUpdate)}var z=T.updateQueue;null!==z&&Ui(0,z,O);break;case 3:var D=T.updateQueue;if(null!==D){if(P=null,null!==T.child)switch(T.child.tag){case 5:P=T.child.stateNode;break;case 1:P=T.child.stateNode}Ui(0,D,P)}break;case 5:var F=T.stateNode;null===M&&4&T.effectTag&&(_=F,Er(T.type,T.memoizedProps)&&_.focus());break;case 6:case 4:case 12:break;case 13:case 19:case 17:case 20:break;default:throw l(Error(163))}}if(128&N){var U=hu.ref;if(null!==U){var I=hu.stateNode;switch(hu.tag){case 5:var A=I;break;default:A=I}"function"==typeof U?U(A):U.current=A}}512&N&&(vu=!0),hu=hu.nextEffect}}catch(e){if(null===hu)throw l(Error(330));$u(hu,e),hu=hu.nextEffect}}while(null!==hu);hu=null,ti(),ru=o}else e.current=n;if(vu)vu=!1,wu=e,Eu=r,bu=t;else for(hu=i;null!==hu;)t=hu.nextEffect,hu.nextEffect=null,hu=t;if(0!==(t=e.firstPendingTime)?(N=hi(N=Tu(),t),Ou(e,N,t)):yu=null,"function"==typeof Ku&&Ku(n.stateNode,r),1073741823===t?e===Su?xu++:(xu=0,Su=e):xu=0,mu)throw mu=!1,e=gu,gu=null,e;return(ru&Gl)!==Kl?null:(di(),null)}.bind(null,e,t)),null!==wu&&si(97,function(){return Hu(),null}),null}function Hu(){if(null===wu)return!1;var e=wu,t=Eu,n=bu;return wu=null,Eu=0,bu=90,ci(97<n?97:n,function(e){if((ru&(Yl|Xl))!==Kl)throw l(Error(331));var t=ru;for(ru|=Xl,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:Dl(bo,po,n),Dl(po,wo,n)}}catch(t){if(null===e)throw l(Error(330));$u(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return ru=t,di(),!0}.bind(null,e,t))}function Vu(e,t,n){Oi(e,t=Hl(e,t=Ml(n,t),1073741823)),null!==(e=Mu(e,1073741823))&&Ou(e,99,1073741823)}function $u(e,t){if(3===e.tag)Vu(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Vu(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===yu||!yu.has(r))){Oi(n,e=Vl(n,e=Ml(t,e),1073741823)),null!==(n=Mu(n,1073741823))&&Ou(n,99,1073741823);break}}n=n.return}}function qu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),iu===e&&lu===n?uu===tu||uu===eu&&1073741823===au&&li()-du<pu?Iu(e,lu):fu=!0:e.lastPendingTime<n||(0!==(t=e.pingTime)&&t<n||(e.pingTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),Ou(e,t=hi(t=Tu(),n),n)))}var Qu=void 0;Qu=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||Rr.current)al=!0;else if(r<n){switch(al=!1,t.tag){case 3:yl(t),ll();break;case 5:if(oo(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:Fr(t.type)&&jr(t);break;case 4:ro(t,t.stateNode.containerInfo);break;case 10:Ei(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?wl(e,t,n):(Nr(so,so.current&uo),null!==(t=kl(e,t,n))?t.sibling:null);Nr(so,so.current&uo);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return El(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),Nr(so,so.current),!r)return null}return kl(e,t,n)}}else al=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Dr(t,Or.current),Si(t,n),i=Io(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,Ao(),Fr(r)){var o=!0;jr(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var u=r.getDerivedStateFromProps;"function"==typeof u&&ji(t,r,u,e),i.updater=Bi,t.stateNode=i,i._reactInternalFiber=t,$i(t,r,e,n),t=gl(null,t,r,!0,o,n)}else t.tag=0,cl(null,t,i,n),t=t.child;return t;case 16:switch(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(i),t.type=i,o=t.tag=function(e){if("function"==typeof e)return Ju(e)?1:0;if(null!=e){if((e=e.$$typeof)===nt)return 11;if(e===ot)return 14}return 2}(i),e=mi(i,e),o){case 0:t=hl(null,t,i,e,n);break;case 1:t=ml(null,t,i,e,n);break;case 11:t=sl(null,t,i,e,n);break;case 14:t=fl(null,t,i,mi(i.type,e),r,n);break;default:throw l(Error(306),i,"")}return t;case 0:return r=t.type,i=t.pendingProps,hl(e,t,r,i=t.elementType===r?i:mi(r,i),n);case 1:return r=t.type,i=t.pendingProps,ml(e,t,r,i=t.elementType===r?i:mi(r,i),n);case 3:if(yl(t),null===(r=t.updateQueue))throw l(Error(282));return i=null!==(i=t.memoizedState)?i.element:null,Fi(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i?(ll(),t=kl(e,t,n)):(i=t.stateNode,(i=(null===e||null===e.child)&&i.hydrate)&&(Zo=Cr(t.stateNode.containerInfo.firstChild),Jo=t,i=el=!0),i?(t.effectTag|=2,t.child=Xi(t,null,r,n)):(cl(e,t,r,n),ll()),t=t.child),t;case 5:return oo(t),null===e&&rl(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,u=i.children,kr(r,i)?u=null:null!==o&&kr(r,o)&&(t.effectTag|=16),pl(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(cl(e,t,u,n),t=t.child),t;case 6:return null===e&&rl(t),null;case 13:return wl(e,t,n);case 4:return ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yi(t,null,r,n):cl(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,sl(e,t,r,i=t.elementType===r?i:mi(r,i),n);case 7:return cl(e,t,t.pendingProps,n),t.child;case 8:case 12:return cl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,u=t.memoizedProps,Ei(t,o=i.value),null!==u){var a=u.value;if(0===(o=en(a,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(a,o):1073741823))){if(u.children===i.children&&!Rr.current){t=kl(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var c=a.dependencies;if(null!==c){u=a.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&o)){1===a.tag&&((s=Ni(n,null)).tag=2,Oi(a,s)),a.expirationTime<n&&(a.expirationTime=n),null!==(s=a.alternate)&&s.expirationTime<n&&(s.expirationTime=n),xi(a.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else u=10===a.tag&&a.type===t.type?null:a.child;if(null!==u)u.return=a;else for(u=a;null!==u;){if(u===t){u=null;break}if(null!==(a=u.sibling)){a.return=u.return,u=a;break}u=u.return}a=u}}cl(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,Si(t,n),r=r(i=Ci(i,o.unstable_observedBits)),t.effectTag|=1,cl(e,t,r,n),t.child;case 14:return o=mi(i=t.type,t.pendingProps),fl(e,t,i,o=mi(i.type,o),r,n);case 15:return dl(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:mi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Fr(r)?(e=!0,jr(t)):e=!1,Si(t,n),Hi(t,r,i),$i(t,r,i,n),gl(null,t,r,!0,e,n);case 19:return El(e,t,n)}throw l(Error(156))};var Ku=null,Gu=null;function Yu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Xu(e,t,n,r){return new Yu(e,t,n,r)}function Ju(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zu(e,t){var n=e.alternate;return null===n?((n=Xu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ea(e,t,n,r,i,o){var u=2;if(r=e,"function"==typeof e)Ju(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case Ye:return ta(n.children,i,o,t);case tt:u=8,i|=7;break;case Xe:u=8,i|=1;break;case Je:return(e=Xu(12,n,t,8|i)).elementType=Je,e.type=Je,e.expirationTime=o,e;case rt:return(e=Xu(13,n,t,i)).type=rt,e.elementType=rt,e.expirationTime=o,e;case it:return(e=Xu(19,n,t,i)).elementType=it,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ze:u=10;break e;case et:u=9;break e;case nt:u=11;break e;case ot:u=14;break e;case lt:u=16,r=null;break e}throw l(Error(130),null==e?e:typeof e,"")}return(t=Xu(u,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function ta(e,t,n,r){return(e=Xu(7,e,r,t)).expirationTime=n,e}function na(e,t,n){return(e=Xu(6,e,null,t)).expirationTime=n,e}function ra(e,t,n){return(t=Xu(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ia(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=this.firstBatch=null,this.pingTime=this.lastPendingTime=this.firstPendingTime=this.callbackExpirationTime=0}function oa(e,t,n){return e=new ia(e,t,n),t=Xu(3,null,null,2===t?7:1===t?3:0),e.current=t,t.stateNode=e}function la(e,t,n,r,i,o){var u=t.current;e:if(n){t:{if(2!==on(n=n._reactInternalFiber)||1!==n.tag)throw l(Error(170));var a=n;do{switch(a.tag){case 3:a=a.stateNode.context;break t;case 1:if(Fr(a.type)){a=a.stateNode.__reactInternalMemoizedMergedChildContext;break t}}a=a.return}while(null!==a);throw l(Error(171))}if(1===n.tag){var c=n.type;if(Fr(c)){n=Lr(n,c,a);break e}}n=a}else n=Mr;return null===t.context?t.context=n:t.pendingContext=n,t=o,(i=Ni(r,i)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),Oi(u,i),Nu(u,r),r}function ua(e,t,n,r){var i=t.current,o=Tu(),l=Ai.suspense;return la(e,t,n,i=_u(o,i,l),l,r)}function aa(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function ca(e){var t=1073741821-25*(1+((1073741821-Tu()+500)/25|0));t<=Pu&&--t,this._expirationTime=Pu=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function sa(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function fa(e,t,n){this._internalRoot=oa(e,t,n)}function da(e,t){this._internalRoot=oa(e,2,t)}function pa(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ha(e,t,n,r,i){var o=n._reactRootContainer,l=void 0;if(o){if(l=o._internalRoot,"function"==typeof i){var u=i;i=function(){var e=aa(l);u.call(e)}}ua(t,l,e,i)}else{if(o=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 fa(e,0,t)}(n,r),l=o._internalRoot,"function"==typeof i){var a=i;i=function(){var e=aa(l);a.call(e)}}Uu(function(){ua(t,l,e,i)})}return aa(l)}function ma(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!pa(t))throw l(Error(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ge,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Te=function(e,t,n){switch(t){case"input":if(St(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 i=A(r);if(!i)throw l(Error(90));Ve(r),St(r,i)}}}break;case"textarea":nr(e,n);break;case"select":null!=(t=n.value)&&Zn(e,!!n.multiple,t,!1)}},ca.prototype.render=function(e){if(!this._defer)throw l(Error(250));this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new sa;return la(e,t,null,n,null,r._onCommit),r},ca.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},ca.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(!this._defer||null===t)throw l(Error(251));if(this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,i=t;i!==this;)r=i,i=i._next;if(null===r)throw l(Error(251));r._next=i._next,this._next=t,e.firstBatch=this}if(this._defer=!1,t=n,(ru&(Yl|Xl))!==Kl)throw l(Error(253));fi(Au.bind(null,e,t)),di(),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},ca.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])()}},sa.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},sa.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];if("function"!=typeof n)throw l(Error(191),n);n()}}},da.prototype.render=fa.prototype.render=function(e,t){var n=this._internalRoot,r=new sa;return null!==(t=void 0===t?null:t)&&r.then(t),ua(e,n,null,r._onCommit),r},da.prototype.unmount=fa.prototype.unmount=function(e){var t=this._internalRoot,n=new sa;return null!==(e=void 0===e?null:e)&&n.then(e),ua(null,t,null,n._onCommit),n},da.prototype.createBatch=function(){var e=new ca(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},Re=Du,ze=Fu,De=zu,Fe=function(e,t){var n=ru;ru|=2;try{return e(t)}finally{(ru=n)===Kl&&di()}};var ga,ya,va={createPortal:ma,findDOMNode:function(e){if(null==e)e=null;else if(1!==e.nodeType){var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw l(Error(188));throw l(Error(268),Object.keys(e))}e=null===(e=un(t))?null:e.stateNode}return e},hydrate:function(e,t,n){if(!pa(t))throw l(Error(200));return ha(null,e,t,!0,n)},render:function(e,t,n){if(!pa(t))throw l(Error(200));return ha(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!pa(n))throw l(Error(200));if(null==e||void 0===e._reactInternalFiber)throw l(Error(38));return ha(e,t,n,!1,r)},unmountComponentAtNode:function(e){if(!pa(e))throw l(Error(40));return!!e._reactRootContainer&&(Uu(function(){ha(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return ma.apply(void 0,arguments)},unstable_batchedUpdates:Du,unstable_interactiveUpdates:function(e,t,n,r){return zu(),Fu(e,t,n,r)},unstable_discreteUpdates:Fu,unstable_flushDiscreteUpdates:zu,flushSync:function(e,t){if((ru&(Yl|Xl))!==Kl)throw l(Error(187));var n=ru;ru|=1;try{return ci(99,e.bind(null,t))}finally{ru=n,di()}},unstable_createRoot:function(e,t){if(!pa(e))throw l(Error(299),"unstable_createRoot");return new da(e,null!=t&&!0===t.hydrate)},unstable_createSyncRoot:function(e,t){if(!pa(e))throw l(Error(299),"unstable_createRoot");return new fa(e,1,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=ru;ru|=1;try{ci(99,e)}finally{(ru=t)===Kl&&di()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[U,I,A,M.injectEventPluginsByName,d,V,function(e){T(e,H)},Me,Oe,Un,N,Hu,{current:!1}]}};ya=(ga={findFiberByHostInstance:F,bundleType:0,version:"16.9.0",rendererPackageName:"react-dom"}).findFiberByHostInstance,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);Ku=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Gu=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},ga,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$e.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=un(e))?null:e.stateNode},findFiberByHostInstance:function(e){return ya?ya(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}));var wa={default:va},ba=wa&&va||wa;e.exports=ba.default||ba},function(e,t,n){"use strict";e.exports=n(6)},function(e,t,n){"use strict";
  /** @license React v0.15.0
   * scheduler.production.min.js
   *
   * Copyright (c) Facebook, Inc. and its affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,i=void 0,o=void 0,l=void 0,u=void 0;if(t.unstable_now=void 0,t.unstable_forceFrameRate=void 0,"undefined"==typeof window||"function"!=typeof MessageChannel){var a=null,c=null,s=function(){if(null!==a)try{var e=t.unstable_now();a(!0,e),a=null}catch(e){throw setTimeout(s,0),e}};t.unstable_now=function(){return Date.now()},r=function(e){null!==a?setTimeout(r,0,e):(a=e,setTimeout(s,0))},i=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},l=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,p=window.setTimeout,h=window.clearTimeout,m=window.requestAnimationFrame,g=window.cancelAnimationFrame;"undefined"!=typeof console&&("function"!=typeof m&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),t.unstable_now="object"==typeof f&&"function"==typeof f.now?function(){return f.now()}:function(){return d.now()};var y=!1,v=null,w=-1,b=-1,E=33.33,k=-1,x=-1,S=0,C=!1;l=function(){return t.unstable_now()>=S},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):0<e?(E=Math.floor(1e3/e),C=!0):(E=33.33,C=!1)};var T=function(){if(null!==v){var e=t.unstable_now(),n=0<S-e;try{v(n,e)||(v=null)}catch(e){throw P.postMessage(null),e}}},_=new MessageChannel,P=_.port2;_.port1.onmessage=T;var N=function(e){if(null===v)x=k=-1,y=!1;else{y=!0,m(function(e){h(w),N(e)});var n=function(){S=t.unstable_now()+E/2,T(),w=p(n,3*E)};if(w=p(n,3*E),-1!==k&&.1<e-k){var r=e-k;!C&&-1!==x&&r<E&&x<E&&(8.33>(E=r<x?x:r)&&(E=8.33)),x=r}k=e,S=e+E,P.postMessage(null)}};r=function(e){v=e,y||(y=!0,m(function(e){N(e)}))},i=function(e,n){b=p(function(){e(t.unstable_now())},n)},o=function(){h(b),b=-1}}var M=null,O=null,R=null,z=3,D=!1,F=!1,U=!1;function I(e,t){var n=e.next;if(n===e)M=null;else{e===M&&(M=n);var r=e.previous;r.next=n,n.previous=r}e.next=e.previous=null,n=e.callback,r=z;var i=R;z=e.priorityLevel,R=e;try{var o=e.expirationTime<=t;switch(z){case 1:var l=n(o);break;case 2:case 3:case 4:l=n(o);break;case 5:l=n(o)}}catch(e){throw e}finally{z=r,R=i}if("function"==typeof l)if(t=e.expirationTime,e.callback=l,null===M)M=e.next=e.previous=e;else{l=null,o=M;do{if(t<=o.expirationTime){l=o;break}o=o.next}while(o!==M);null===l?l=M:l===M&&(M=e),(t=l.previous).next=l.previous=e,e.next=l,e.previous=t}}function A(e){if(null!==O&&O.startTime<=e)do{var t=O,n=t.next;if(t===n)O=null;else{O=n;var r=t.previous;r.next=n,n.previous=r}t.next=t.previous=null,W(t,t.expirationTime)}while(null!==O&&O.startTime<=e)}function L(e){U=!1,A(e),F||(null!==M?(F=!0,r(j)):null!==O&&i(L,O.startTime-e))}function j(e,n){F=!1,U&&(U=!1,o()),A(n),D=!0;try{if(e){if(null!==M)do{I(M,n),A(n=t.unstable_now())}while(null!==M&&!l())}else for(;null!==M&&M.expirationTime<=n;)I(M,n),A(n=t.unstable_now());return null!==M||(null!==O&&i(L,O.startTime-n),!1)}finally{D=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}function W(e,t){if(null===M)M=e.next=e.previous=e;else{var n=null,r=M;do{if(t<r.expirationTime){n=r;break}r=r.next}while(r!==M);null===n?n=M:n===M&&(M=e),(t=n.previous).next=n.previous=e,e.next=n,e.previous=t}}var H=u;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=z;z=e;try{return t()}finally{z=n}},t.unstable_next=function(e){switch(z){case 1:case 2:case 3:var t=3;break;default:t=z}var n=z;z=t;try{return e()}finally{z=n}},t.unstable_scheduleCallback=function(e,n,l){var u=t.unstable_now();if("object"==typeof l&&null!==l){var a=l.delay;a="number"==typeof a&&0<a?u+a:u,l="number"==typeof l.timeout?l.timeout:B(e)}else l=B(e),a=u;if(e={callback:n,priorityLevel:e,startTime:a,expirationTime:l=a+l,next:null,previous:null},a>u){if(l=a,null===O)O=e.next=e.previous=e;else{n=null;var c=O;do{if(l<c.startTime){n=c;break}c=c.next}while(c!==O);null===n?n=O:n===O&&(O=e),(l=n.previous).next=n.previous=e,e.next=n,e.previous=l}null===M&&O===e&&(U?o():U=!0,i(L,a-u))}else W(e,l),F||D||(F=!0,r(j));return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(e===t)e===M?M=null:e===O&&(O=null);else{e===M?M=t:e===O&&(O=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var t=z;return function(){var n=z;z=t;try{return e.apply(this,arguments)}finally{z=n}}},t.unstable_getCurrentPriorityLevel=function(){return z},t.unstable_shouldYield=function(){var e=t.unstable_now();return A(e),null!==R&&null!==M&&M.startTime<=e&&M.expirationTime<R.expirationTime||l()},t.unstable_requestPaint=H,t.unstable_continueExecution=function(){F||D||(F=!0,r(j))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return M}},function(e,t,n){"use strict";function r(e){return null!=e&&"function"==typeof e.Dispose}n.r(t);function i(e){const t=e;return"number"==typeof t.offset?t.offset:1===e.kind?0:-6e4*e.getTimezoneOffset()}function o(e,t){return(e=e<0&&null!=t&&10!==t?4294967295+e+1:e).toString(t)}class l{static id(e){return l.idMap.has(e)||l.idMap.set(e,++l.count),l.idMap.get(e)}}function u(e){let t=0,n=5381;const r=e.length;for(;t<r;)n=33*n^e.charCodeAt(t++);return n}function a(e){return 2654435761*e|0}function c(e){return 0===e.length?0:e.reduce((e,t)=>(e<<5)+e^t)}function s(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return a(e);case"string":return u(e);default:if("function"==typeof e.GetHashCode)return e.GetHashCode();if(f(e)){const t=e,n=t.length,r=new Array(n);for(let e=0;e<n;e++)r[e]=s(t[e]);return c(r)}return u(String(e))}}function f(e){return Array.isArray(e)||ArrayBuffer.isView(e)}function d(e,t,n){if(null==e)return null==t;if(null==t)return!1;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function p(e,t){return d(e,t,h)}function h(e,t){return e===t||(null==e?null==t:null!=t&&("object"==typeof e&&("function"==typeof e.Equals?e.Equals(t):f(e)?f(t)&&p(e,t):e instanceof Date&&(t instanceof Date&&0===m(e,t)))))}function m(e,t){let n,r;return"offset"in e&&"offset"in t?(n=e.getTime(),r=t.getTime()):(n=e.getTime()+i(e),r=t.getTime()+i(t)),n===r?0:n<r?-1:1}function g(e,t){return e===t?0:e<t?-1:1}function y(e,t,n){if(null==e)return null==t?0:1;if(null==t)return-1;if(e.length!==t.length)return e.length<t.length?-1:1;for(let r=0,i=0;r<e.length;r++)if(0!==(i=n(e[r],t[r])))return i;return 0}function v(e,t){return y(e,t,w)}function w(e,t){return e===t?0:null==e?null==t?0:-1:null==t?1:"object"!=typeof e?e<t?-1:1:"function"==typeof e.CompareTo?e.CompareTo(t):f(e)?f(t)&&v(e,t):e instanceof Date?t instanceof Date&&m(e,t):1}function b(e,t,n){return e(t,n)>0?t:n}l.idMap=new WeakMap,l.count=0;const E={None:0,LowerFirst:1};function k(e,t){switch(t){case E.LowerFirst:return e.charAt(0).toLowerCase()+e.slice(1);case E.None:default:return e}}function x(e,t=E.None){function n(e){throw new Error("Cannot infer key and value of "+String(e))}const r={},i=t;for(let t of e){let e=E.None;if(null==t&&n(t),"function"==typeof t.toJSON&&(t=t.toJSON(),e=i),Array.isArray(t))switch(t.length){case 0:n(t);break;case 1:r[k(t[0],e)]=!0;break;case 2:const i=t[1];r[k(t[0],e)]=i;break;default:r[k(t[0],e)]=t.slice(1)}else"string"==typeof t?r[k(t,e)]=!0:n(t)}return r}const S="__CURRIED__";function C(e,t){if(null==t)return null;if(t.length>1)return t;let n;switch(e){case 2:n=(e,n)=>t(e)(n);break;case 3:n=(e,n,r)=>t(e)(n)(r);break;case 4:n=(e,n,r,i)=>t(e)(n)(r)(i);break;case 5:n=(e,n,r,i,o)=>t(e)(n)(r)(i)(o);break;case 6:n=(e,n,r,i,o,l)=>t(e)(n)(r)(i)(o)(l);break;case 7:n=(e,n,r,i,o,l,u)=>t(e)(n)(r)(i)(o)(l)(u);break;case 8:n=(e,n,r,i,o,l,u,a)=>t(e)(n)(r)(i)(o)(l)(u)(a);break;default:throw new Error("Uncurrying to more than 8-arity is not supported: "+e)}return n[S]=t,n}function T(e,t){if(null==t)return null;if(S in t)return t[S];switch(e){case 2:return e=>n=>t(e,n);case 3:return e=>n=>r=>t(e,n,r);case 4:return e=>n=>r=>i=>t(e,n,r,i);case 5:return e=>n=>r=>i=>o=>t(e,n,r,i,o);case 6:return e=>n=>r=>i=>o=>l=>t(e,n,r,i,o,l);case 7:return e=>n=>r=>i=>o=>l=>u=>t(e,n,r,i,o,l,u);case 8:return e=>n=>r=>i=>o=>l=>u=>a=>t(e,n,r,i,o,l,u,a);default:throw new Error("Currying to more than 8-arity is not supported: "+e)}}function _(e,t,n){if(null==t)return null;if(S in t){t=t[S];for(var r=0;r<n.length;r++)t=t(n[r]);return t}switch(e){case 1:return e=>t.apply(null,n.concat([e]));case 2:return e=>r=>t.apply(null,n.concat([e,r]));case 3:return e=>r=>i=>t.apply(null,n.concat([e,r,i]));case 4:return e=>r=>i=>o=>t.apply(null,n.concat([e,r,i,o]));case 5:return e=>r=>i=>o=>l=>t.apply(null,n.concat([e,r,i,o,l]));case 6:return e=>r=>i=>o=>l=>u=>t.apply(null,n.concat([e,r,i,o,l,u]));case 7:return e=>r=>i=>o=>l=>u=>a=>t.apply(null,n.concat([e,r,i,o,l,u,a]));case 8:return e=>r=>i=>o=>l=>u=>a=>c=>t.apply(null,n.concat([e,r,i,o,l,u,a,c]));default:throw new Error("Partially applying to more than 8-arity is not supported: "+e)}}function P(e,t){return null!=t&&Object.getPrototypeOf(e).constructor===Object.getPrototypeOf(t).constructor}function N(e,t){return function(e,t){e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}(e,t||M),e}function M(){}function O(e,t){if(e===t)return 0;if(null==t)return-1;for(;null!=e.tail;){if(null==t.tail)return 1;const n=w(e.head,t.head);if(0!==n)return n;e=e.tail,t=t.tail}return null==t.tail?0:-1}function R(e,t){this.head=e,this.tail=t}function z(e,t,...n){this.tag=0|e,this.name=t,this.fields=n}function D(e,t){const n={},r=null==t?Object.keys(e):t(e);for(let t=0;t<r.length;t++)n[r[t]]=e[r[t]];return n}function F(e,t,n){if(e===t)return!0;if(P(e,t)){const r=null==n?Object.keys(e):n(e);for(let n=0;n<r.length;n++)if(!h(e[r[n]],t[r[n]]))return!1;return!0}return!1}function U(e,t,n){if(e===t)return 0;if(P(e,t)){const r=null==n?Object.keys(e):n(e);for(let n=0;n<r.length;n++){const i=w(e[r[n]],t[r[n]]);if(0!==i)return i}return 0}return-1}function I(){}M.prototype.toString=function(){return"{"+Object.keys(this).map(e=>e+" = "+String(this[e])).join(";\n ")+"}"},M.prototype.GetHashCode=function(){return function(e){if(null==e)return 0;switch(typeof e){case"boolean":return e?1:0;case"number":return a(e);case"string":return u(e);default:return a(l.id(e))}}(this)},M.prototype.Equals=function(e){return this===e},R.prototype.toString=function(){return"["+Array.from(this).map(e=>String(e)).join("; ")+"]"},R.prototype.toJSON=function(){return Array.from(this)},R.prototype[Symbol.iterator]=function(){let e=this;return{next:()=>{const t=e;return e=e.tail,{done:null==t.tail,value:t.head}}}},R.prototype.GetHashCode=function(){return c(Array.from(this).map(s))},R.prototype.Equals=function(e){return 0===O(this,e)},R.prototype.CompareTo=function(e){return O(this,e)},z.prototype.toString=function(){const e=this.fields.length;return 0===e?this.name:1===e?this.name+" "+String(this.fields[0]):this.name+" ("+this.fields.map(e=>String(e)).join(",")+")"},z.prototype.toJSON=function(){return 0===this.fields.length?this.name:[this.name].concat(this.fields)},z.prototype.GetHashCode=function(){let e=this.fields.map(e=>s(e));return e.splice(0,0,a(this.tag)),c(e)},z.prototype.Equals=function(e){return this===e||P(this,e)&&this.tag===e.tag&&p(this.fields,e.fields)},z.prototype.CompareTo=function(e){return this===e?0:P(this,e)?this.tag===e.tag?v(this.fields,e.fields):this.tag<e.tag?-1:1:-1},I.prototype.toString=function(){return"{"+Object.keys(this).map(e=>e+" = "+String(this[e])).join(";\n ")+"}"},I.prototype.toJSON=function(){return D(this)},I.prototype.GetHashCode=function(){return c(Object.keys(this).map(e=>s(this[e])))},I.prototype.Equals=function(e){return F(this,e)},I.prototype.CompareTo=function(e){return U(this,e)};N(function(e){this.contents=e},I);const A=N(function(e){this.stack=Error().stack,this.message=e});function L(e){return Object.keys(e).filter(e=>"message"!==e&&"stack"!==e)}const j=N(function(){A.call(this)},A);j.prototype.toString=function(){const e=L(this),t=e.length;return 0===t?this.message:1===t?this.message+" "+String(this[e[0]]):this.message+" ("+e.map(e=>String(this[e])).join(",")+")"},j.prototype.toJSON=function(){return D(this,L)},j.prototype.GetHashCode=function(){return c(L(this).map(e=>s(this[e])))},j.prototype.Equals=function(e){return F(this,e,L)},j.prototype.CompareTo=function(e){return U(this,e,L)};N(function(e,t,n){this.arg1=e,this.arg2=0|t,this.arg3=0|n,this.message="The match cases were incomplete"},j),N(function(){});class B{constructor(e,t,n,r){this.declaringType=e,this.tag=t,this.name=n,this.fields=r}}class W{constructor(e,t,n,r,i){this.fullname=e,this.generics=t,this.constructor=n,this.fields=r,this.cases=i}toString(){return function e(t){const n=null==t.generics||Z(t)?[]:t.generics;return n.length>0?t.fullname+"["+n.map(t=>e(t)).join(",")+"]":t.fullname}(this)}Equals(e){return V(this,e)}CompareTo(e){return $(this,e)}}function H(e){return null!=e.generics?e.generics:[]}function V(e,t){return""===e.fullname?""===t.fullname&&d(ee(e),ee(t),([e,t],[n,r])=>e===n&&V(t,r)):e.fullname===t.fullname&&d(H(e),H(t),V)}function $(e,t){return e.fullname!==t.fullname?e.fullname<t.fullname?-1:1:y(H(e),H(t),$)}function q(e,t){return new W(e,t)}function Q(e,t,n,r){return new W(e,t,n,r)}function K(e,t,n,r){const i=new W(e,t,n,null,()=>r().map((e,t)=>"string"==typeof e?new B(i,t,e):new B(i,t,e[0],e[1])));return i}function G(...e){return new W("System.Tuple`"+e.length,e)}function Y(e){return new W("Microsoft.FSharp.Core.FSharpOption`1",[e])}new W("System.Object"),new W("Microsoft.FSharp.Core.Unit"),new W("System.Char");const X=new W("System.String"),J=(new W("System.Boolean"),new W("System.SByte"),new W("System.Byte"),new W("System.Int16"),new W("System.UInt16"),new W("System.Int32"));new W("System.UInt32"),new W("System.Single"),new W("System.Double"),new W("System.Decimal");function Z(e){return e.fullname.endsWith("[]")}function ee(e){if(null!=e.fields)return e.fields();throw new Error(`${e.fullname} is not an F# record type`)}class te{constructor(e){this.value=e}toString(){return String(this.value)}toJSON(){return this.value}GetHashCode(){return s(this.value)}Equals(e){return null!=e&&h(this.value,e instanceof te?e.value:e)}CompareTo(e){return null==e?1:w(this.value,e instanceof te?e.value:e)}}function ne(e){return null==e||e instanceof te?new te(e):e}function re(e,t){if(null==e){if(!t)throw new Error("Option has no value");return null}return e instanceof te?e.value:e}function ie(e,t,n){return null==e?t:null!=n?n(re(e)):re(e)}N(function(e,t,n){z.call(this,e,t,n)},z);const oe=N(function(e,t,n){z.call(this,e,t,n)},z);var le;function ue(e,t){switch(t){case 8:return e?[0,255]:[-128,127];case 16:return e?[0,65535]:[-32768,32767];case 32:return e?[0,4294967295]:[-2147483648,2147483647];default:throw new Error("Invalid bit size.")}}function ae(e,t,n){const r=/^\s*([\+\-])?(0[xXoObB])?([0-9a-fA-F]+)\s*$/.exec(e.replace(/_/g,""));if(null!=r){const[e,i,o,l]=r;if(!function(e){switch(e){case 2:return/[^0-1]/;case 8:return/[^0-7]/;case 10:return/[^0-9]/;case 16:return/[^0-9a-fA-F]/;default:throw new Error("Invalid Base.")}}(n=n||function(e,t){if(t&le.AllowHexSpecifier)return 16;switch(e){case"0b":case"0B":return 2;case"0o":case"0O":return 8;case"0x":case"0X":return 16;default:return 10}}(o,t)).test(l))return function(e,t){const[n,r,i,o]=e;return{sign:r||"",prefix:i||"",digits:o,radix:t}}(r,n)}return null}function ce(e,t,n,r){try{return[!0,function(e,t,n,r,i){const o=ae(e,t,i);if(null!=o){let e=Number.parseInt(o.sign+o.digits,o.radix);if(!Number.isNaN(e)){const[t,i]=ue(!0,r);!n&&10!==o.radix&&e>=t&&e<=i&&(e=e<<32-r>>32-r);const[l,u]=ue(n,r);if(e>=l&&e<=u)return e}}throw new Error("Input string was not in a correct format.")}(e,t,n,r)]}catch(e){}return[!1,0]}!function(e){e[e.AllowHexSpecifier=512]="AllowHexSpecifier"}(le||(le={}));var se=null;try{se=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(e){}function fe(e,t,n){this.low=0|e,this.high=0|t,this.unsigned=!!n}fe.prototype.GetHashCode=function(){return c([this.unsigned?1:0,this.high,this.low])},fe.prototype.Equals=function(e){return Le(this,e)},fe.prototype.CompareTo=function(e){return He(this,e)},fe.prototype.toString=function(e){return Fe(this,e)},fe.prototype.toJSON=function(){return Fe(this)};function de(e){return!0===(e&&e.__isLong__)}fe.prototype.__isLong__,Object.defineProperty(fe.prototype,"__isLong__",{value:!0});var pe={},he={};function me(e,t){var n,r,i;return t?(i=0<=(e>>>=0)&&e<256)&&(r=he[e])?r:(n=ye(e,(0|e)<0?-1:0,!0),i&&(he[e]=n),n):(i=-128<=(e|=0)&&e<128)&&(r=pe[e])?r:(n=ye(e,e<0?-1:0,!1),i&&(pe[e]=n),n)}function ge(e,t){if(isNaN(e))return t?Te:Ce;if(t){if(e<0)return Te;if(e>=ke)return Oe}else{if(e<=-xe)return Re;if(e+1>=xe)return Me}return e<0?Ve(ge(-e,t)):ye(e%Ee|0,e/Ee|0,t)}function ye(e,t,n){return new fe(e,t,n)}var ve=Math.pow;function we(e,t,n){if(0===e.length)throw Error("empty string");if("NaN"===e||"Infinity"===e||"+Infinity"===e||"-Infinity"===e)return Ce;if("number"==typeof t?(n=t,t=!1):t=!!t,(n=n||10)<2||36<n)throw RangeError("radix");var r=e.indexOf("-");if(r>0)throw Error("interior hyphen");if(0===r)return Ve(we(e.substring(1),t,n));for(var i=ge(ve(n,8)),o=Ce,l=0;l<e.length;l+=8){var u=Math.min(8,e.length-l),a=parseInt(e.substring(l,l+u),n);if(u<8)o=$e(Qe(o,ge(ve(n,u))),ge(a));else o=$e(o=Qe(o,i),ge(a))}return o.unsigned=t,o}function be(e,t){return"number"==typeof e?ge(e,t):"string"==typeof e?we(e,t):ye(e.low,e.high,"boolean"==typeof t?t:e.unsigned)}var Ee=4294967296,ke=Ee*Ee,xe=ke/2,Se=me(1<<24),Ce=me(0),Te=me(0,!0),_e=me(1),Pe=me(1,!0),Ne=me(-1),Me=ye(-1,2147483647,!1),Oe=ye(-1,-1,!0),Re=ye(0,-2147483648,!1);function ze(e){return e.unsigned?e.low>>>0:e.low}function De(e){return e.unsigned?(e.high>>>0)*Ee+(e.low>>>0):e.high*Ee+(e.low>>>0)}function Fe(e,t){if((t=t||10)<2||36<t)throw RangeError("radix");if(Ue(e))return"0";if(Ie(e)){if(Le(e,Re)){var n=ge(t),r=Ke(e,n),i=qe(Qe(r,n),e);return Fe(r,t)+ze(i).toString(t)}return"-"+Fe(Ve(e),t)}for(var o=ge(ve(t,6),e.unsigned),l=e,u="";;){var a=Ke(l,o),c=(ze(qe(l,Qe(a,o)))>>>0).toString(t);if(Ue(l=a))return c+u;for(;c.length<6;)c="0"+c;u=""+c+u}}function Ue(e){return 0===e.high&&0===e.low}function Ie(e){return!e.unsigned&&e.high<0}function Ae(e){return 1==(1&e.low)}function Le(e,t){return de(t)||(t=be(t)),(e.unsigned===t.unsigned||e.high>>>31!=1||t.high>>>31!=1)&&(e.high===t.high&&e.low===t.low)}function je(e,t){return He(e,t)<0}function Be(e,t){return He(e,t)>0}function We(e,t){return He(e,t)>=0}function He(e,t){if(de(t)||(t=be(t)),Le(e,t))return 0;var n=Ie(e),r=Ie(t);return n&&!r?-1:!n&&r?1:e.unsigned?t.high>>>0>e.high>>>0||t.high===e.high&&t.low>>>0>e.low>>>0?-1:1:Ie(qe(e,t))?-1:1}function Ve(e){return!e.unsigned&&Le(e,Re)?Re:$e(Ge(e),_e)}function $e(e,t){de(t)||(t=be(t));var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,l=t.high>>>16,u=65535&t.high,a=t.low>>>16,c=0,s=0,f=0,d=0;return f+=(d+=o+(65535&t.low))>>>16,s+=(f+=i+a)>>>16,c+=(s+=r+u)>>>16,c+=n+l,ye((f&=65535)<<16|(d&=65535),(c&=65535)<<16|(s&=65535),e.unsigned)}function qe(e,t){return de(t)||(t=be(t)),$e(e,Ve(t))}function Qe(e,t){if(Ue(e))return e.unsigned?Te:Ce;if(de(t)||(t=be(t)),se)return ye(se.mul(e.low,e.high,t.low,t.high),se.get_high(),e.unsigned);if(Ue(t))return e.unsigned?Te:Ce;if(Le(e,Re))return Ae(t)?Re:Ce;if(Le(t,Re))return Ae(e)?Re:Ce;if(Ie(e))return Ie(t)?Qe(Ve(e),Ve(t)):Ve(Qe(Ve(e),t));if(Ie(t))return Ve(Qe(e,Ve(t)));if(je(e,Se)&&je(t,Se))return ge(De(e)*De(t),e.unsigned);var n=e.high>>>16,r=65535&e.high,i=e.low>>>16,o=65535&e.low,l=t.high>>>16,u=65535&t.high,a=t.low>>>16,c=65535&t.low,s=0,f=0,d=0,p=0;return d+=(p+=o*c)>>>16,f+=(d+=i*c)>>>16,d&=65535,f+=(d+=o*a)>>>16,s+=(f+=r*c)>>>16,f&=65535,s+=(f+=i*a)>>>16,f&=65535,s+=(f+=o*u)>>>16,s+=n*c+r*a+i*u+o*l,ye((d&=65535)<<16|(p&=65535),(s&=65535)<<16|(f&=65535),e.unsigned)}function Ke(e,t){if(de(t)||(t=be(t)),Ue(t))throw Error("division by zero");var n,r,i;if(se)return e.unsigned||-2147483648!==e.high||-1!==t.low||-1!==t.high?ye((e.unsigned?se.div_u:se.div_s)(e.low,e.high,t.low,t.high),se.get_high(),e.unsigned):e;if(Ue(e))return e.unsigned?Te:Ce;if(e.unsigned){if(t.unsigned||(t=function(e){return e.unsigned?e:ye(e.low,e.high,!0)}(t)),Be(t,e))return Te;if(Be(t,function(e,t){de(t)&&(t=ze(t));if(0===(t&=63))return e;var n=e.high;return t<32?ye(e.low>>>t|n<<32-t,n>>>t,e.unsigned):ye(32===t?n:n>>>t-32,0,e.unsigned)}(e,1)))return Pe;i=Te}else{if(Le(e,Re))return Le(t,_e)||Le(t,Ne)?Re:Le(t,Re)?_e:Le(n=Ye(Ke(Xe(e,1),t),1),Ce)?Ie(t)?_e:Ne:i=$e(n,Ke(r=qe(e,Qe(t,n)),t));if(Le(t,Re))return e.unsigned?Te:Ce;if(Ie(e))return Ie(t)?Ke(Ve(e),Ve(t)):Ve(Ke(Ve(e),t));if(Ie(t))return Ve(Ke(e,Ve(t)));i=Ce}for(r=e;We(r,t);){n=Math.max(1,Math.floor(De(r)/De(t)));for(var o=Math.ceil(Math.log(n)/Math.LN2),l=o<=48?1:ve(2,o-48),u=ge(n),a=Qe(u,t);Ie(a)||Be(a,r);)a=Qe(u=ge(n-=l,e.unsigned),t);Ue(u)&&(u=_e),i=$e(i,u),r=qe(r,a)}return i}function Ge(e){return ye(~e.low,~e.high,e.unsigned)}function Ye(e,t){return de(t)&&(t=ze(t)),0==(t&=63)?e:t<32?ye(e.low<<t,e.high<<t|e.low>>>32-t,e.unsigned):ye(0,e.low<<t-32,e.unsigned)}function Xe(e,t){return de(t)&&(t=ze(t)),0==(t&=63)?e:t<32?ye(e.low>>>t|e.high<<32-t,e.high>>t,e.unsigned):ye(e.high>>t-32,e.high>=0?0:-1,e.unsigned)}function Je(e,t,n){return n?function(e,t){return new fe(e[0]|e[1]<<8|e[2]<<16|e[3]<<24,e[4]|e[5]<<8|e[6]<<16|e[7]<<24,t)}(e,t):function(e,t){return new fe(e[4]<<24|e[5]<<16|e[6]<<8|e[7],e[0]<<24|e[1]<<16|e[2]<<8|e[3],t)}(e,t)}var Ze={GetHashCode(){return c([this.s,this.e].concat(this.c))},Equals(e){return!this.cmp(e)},CompareTo(e){return this.cmp(e)}},et=28,tt=1,nt=1e6,rt=-29,it=29,ot="[big.js] ",lt=ot+"Invalid ",ut=lt+"decimal places",at=lt+"rounding mode",ct=void 0,st=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function ft(e,t){var n,r,i;if(0===t&&1/t<0)t="-0";else if(!st.test(t+=""))throw Error(lt+"number");for(e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),i=t.length,r=0;r<n&&r<i&&"0"==t.charAt(r);)++r;if(r==i)e.c=[e.e=0];else for(e.e=n-r-1,e.c=[],n=0;r<i;)e.c[n++]=+t.charAt(r++);return e=dt(e,ht.DP,ht.RM)}function dt(e,t,n,r){var i=e.c,o=e.e+t+1;if(o<i.length){if(1===n)r=i[o]>=5;else if(2===n)r=i[o]>5||5==i[o]&&(r||o<0||i[o+1]!==ct||1&i[o-1]);else if(3===n)r=r||!!i[0];else if(r=!1,0!==n)throw Error(at);if(o<1)i.length=1,r?(e.e=-t,i[0]=1):i[0]=e.e=0;else{if(i.length=o--,r)for(;++i[o]>9;)i[o]=0,o--||(++e.e,i.unshift(1));for(o=i.length;!i[--o];)i.pop()}}else if(n<0||n>3||n!==~~n)throw Error(at);return e}function pt(e,t,n,r){var i,o,l=e.constructor,u=!e.c[0];if(n!==ct){if(n!==~~n||n<(3==t)||n>nt)throw Error(3==t?lt+"precision":ut);for(n=r-(e=new l(e)).e,e.c.length>++r&&dt(e,n,l.RM),2==t&&(r=e.e+n+1);e.c.length<r;)e.c.push(0)}if(i=e.e,n=(o=e.c.join("")).length,2!=t&&(1==t||3==t&&r<=i||i<=l.NE||i>=l.PE))o=o.charAt(0)+(n>1?"."+o.slice(1):"")+(i<0?"e":"e+")+i;else if(i<0){for(;++i;)o="0"+o;o="0."+o}else if(i>0)if(++i>n)for(i-=n;i--;)o+="0";else i<n&&(o=o.slice(0,i)+"."+o.slice(i));else n>1&&(o=o.charAt(0)+"."+o.slice(1));return e.s<0&&(!u||4==t)?"-"+o:o}Ze.abs=function(){var e=new this.constructor(this);return e.s=1,e},Ze.cmp=function(e){var t,n=this.constructor,r=new n(this),i=(e=new n(e),r.c),o=e.c,l=r.s,u=e.s,a=r.e,c=e.e;if(!i[0]||!o[0])return i[0]?l:o[0]?-u:0;if(l!=u)return l;if(t=l<0,a!=c)return a>c^t?1:-1;for(u=Math.max(i.length,o.length),l=0;l<u;l++)if((a=l<i.length?i[l]:0)!=(c=l<o.length?o[l]:0))return a>c^t?1:-1;return 0},Ze.div=function(e){var t=this.constructor,n=new t(this),r=(e=new t(e),n.c),i=e.c,o=n.s==e.s?1:-1,l=t.DP;if(l!==~~l||l<0||l>nt)throw Error(ut);if(!i[0])throw Error("[big.js] Division by zero");if(!r[0])return new t(0*o);var u,a,c,s,f,d=i.slice(),p=u=i.length,h=r.length,m=r.slice(0,u),g=m.length,y=e,v=y.c=[],w=0,b=l+(y.e=n.e-e.e)+1;for(y.s=o,o=b<0?0:b,d.unshift(0);g++<u;)m.push(0);do{for(c=0;c<10;c++){if(u!=(g=m.length))s=u>g?1:-1;else for(f=-1,s=0;++f<u;)if(i[f]!=m[f]){s=i[f]>m[f]?1:-1;break}if(!(s<0))break;for(a=g==u?i:d;g;){if(m[--g]<a[g]){for(f=g;f&&!m[--f];)m[f]=9;--m[f],m[g]+=10}m[g]-=a[g]}for(;!m[0];)m.shift()}v[w++]=s?c:++c,m[0]&&s?m[g]=r[p]||0:m=[r[p]]}while((p++<h||m[0]!==ct)&&o--);return v[0]||1==w||(v.shift(),y.e--),w>b&&dt(y,l,t.RM,m[0]!==ct),y},Ze.eq=function(e){return!this.cmp(e)},Ze.gt=function(e){return this.cmp(e)>0},Ze.gte=function(e){return this.cmp(e)>-1},Ze.lt=function(e){return this.cmp(e)<0},Ze.lte=function(e){return this.cmp(e)<1},Ze.minus=Ze.sub=function(e){var t,n,r,i,o=this.constructor,l=new o(this),u=(e=new o(e),l.s),a=e.s;if(u!=a)return e.s=-a,l.plus(e);var c=l.c.slice(),s=l.e,f=e.c,d=e.e;if(!c[0]||!f[0])return f[0]?(e.s=-a,e):new o(c[0]?l:0);if(u=s-d){for((i=u<0)?(u=-u,r=c):(d=s,r=f),r.reverse(),a=u;a--;)r.push(0);r.reverse()}else for(n=((i=c.length<f.length)?c:f).length,u=a=0;a<n;a++)if(c[a]!=f[a]){i=c[a]<f[a];break}if(i&&(r=c,c=f,f=r,e.s=-e.s),(a=(n=f.length)-(t=c.length))>0)for(;a--;)c[t++]=0;for(a=t;n>u;){if(c[--n]<f[n]){for(t=n;t&&!c[--t];)c[t]=9;--c[t],c[n]+=10}c[n]-=f[n]}for(;0===c[--a];)c.pop();for(;0===c[0];)c.shift(),--d;return c[0]||(e.s=1,c=[d=0]),e.c=c,e.e=d,e},Ze.mod=function(e){var t,n=this.constructor,r=new n(this),i=(e=new n(e),r.s),o=e.s;if(!e.c[0])throw Error("[big.js] Division by zero");return r.s=e.s=1,t=1==e.cmp(r),r.s=i,e.s=o,t?new n(r):(i=n.DP,o=n.RM,n.DP=n.RM=0,r=r.div(e),n.DP=i,n.RM=o,this.minus(r.times(e)))},Ze.plus=Ze.add=function(e){var t,n=this.constructor,r=new n(this),i=(e=new n(e),r.s),o=e.s;if(i!=o)return e.s=-o,r.minus(e);var l=r.e,u=r.c,a=e.e,c=e.c;if(!u[0]||!c[0])return c[0]?e:new n(u[0]?r:0*i);if(u=u.slice(),i=l-a){for(i>0?(a=l,t=c):(i=-i,t=u),t.reverse();i--;)t.push(0);t.reverse()}for(u.length-c.length<0&&(t=c,c=u,u=t),i=c.length,o=0;i;u[i]%=10)o=(u[--i]=u[i]+c[i]+o)/10|0;for(o&&(u.unshift(o),++a),i=u.length;0===u[--i];)u.pop();return e.c=u,e.e=a,e},Ze.pow=function(e){var t=this.constructor,n=new t(this),r=new t(1),i=new t(1),o=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(lt+"exponent");for(o&&(e=-e);1&e&&(r=r.times(n)),e>>=1;)n=n.times(n);return o?i.div(r):r},Ze.round=function(e,t){var n=this.constructor;if(e===ct)e=0;else if(e!==~~e||e<-nt||e>nt)throw Error(ut);return dt(new n(this),e,t===ct?n.RM:t)},Ze.sqrt=function(){var e,t,n,r=this.constructor,i=new r(this),o=i.s,l=i.e,u=new r(.5);if(!i.c[0])return new r(i);if(o<0)throw Error(ot+"No square root");0===(o=Math.sqrt(i+""))||o===1/0?((t=i.c.join("")).length+l&1||(t+="0"),l=((l+1)/2|0)-(l<0||1&l),e=new r(((o=Math.sqrt(t))==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+l)):e=new r(o),l=e.e+(r.DP+=4);do{n=e,e=u.times(n.plus(i.div(n)))}while(n.c.slice(0,l).join("")!==e.c.slice(0,l).join(""));return dt(e,r.DP-=4,r.RM)},Ze.times=Ze.mul=function(e){var t,n=this.constructor,r=new n(this),i=(e=new n(e),r.c),o=e.c,l=i.length,u=o.length,a=r.e,c=e.e;if(e.s=r.s==e.s?1:-1,!i[0]||!o[0])return new n(0*e.s);for(e.e=a+c,l<u&&(t=i,i=o,o=t,c=l,l=u,u=c),t=new Array(c=l+u);c--;)t[c]=0;for(a=u;a--;){for(u=0,c=l+a;c>a;)u=t[c]+o[a]*i[c-a-1]+u,t[c--]=u%10,u=u/10|0;t[c]=(t[c]+u)%10}for(u?++e.e:t.shift(),a=t.length;!t[--a];)t.pop();return e.c=t,e},Ze.toExponential=function(e){return pt(this,1,e,e)},Ze.toFixed=function(e){return pt(this,2,e,this.e+e)},Ze.toPrecision=function(e){return pt(this,3,e,e-1)},Ze.toString=function(){return pt(this)},Ze.valueOf=Ze.toJSON=function(){return pt(this,4)};var ht=function e(){function t(n){var r=this;if(!(r instanceof t))return n===ct?e():new t(n);n instanceof t?(r.s=n.s,r.e=n.e,r.c=n.c.slice(),function(e){if((e=dt(e,et,0)).c.length>1&&!e.c[0]){let t=e.c.findIndex(e=>e);e.c=e.c.slice(t),e.e=e.e-t}}(r)):ft(r,n),r.constructor=t}return t.prototype=Ze,t.DP=et,t.RM=tt,t.NE=rt,t.PE=it,t.version="5.2.2",t}(),mt=ht;new mt(0),new mt(1),new mt(-1),new mt("79228162514264337593543950335"),new mt("-79228162514264337593543950335");class gt{constructor(e){this.iter=e}MoveNext(){const e=this.iter.next();return this.current=e.value,!e.done}get Current(){return this.current}Reset(){throw new Error("JS iterators cannot be reset")}Dispose(){}}function yt(e){return new gt(e[Symbol.iterator]())}function vt(e){return{next:()=>e.MoveNext()?{done:!1,value:e.Current}:{done:!0,value:null}}}function wt(e){return St(()=>Ft(t=>t<e.length?[e[t],t+1]:null,0))}function bt(e,t){let n=!0;const r=[];return xt(e=>n?(n=!1,Nt(t=>(r.push(t),[e,t]),t)):r.map(t=>[e,t]),e)}function Et(e,t){return St(()=>{let n=!1;let r=[e[Symbol.iterator](),null];return Ft(()=>{let e;if(!n){if(!(e=r[0].next()).done)return[e.value,r];n=!0,r=[null,t[Symbol.iterator]()]}return(e=r[1].next()).done?null:[e.value,r]},r)})}function kt(e){return St(()=>{const t=e[Symbol.iterator]();let n={value:null};return Ft(e=>{let r=!1;for(;!r;)if(null==e){const n=t.next();n.done?r=!0:e=n.value[Symbol.iterator]()}else{const t=e.next();t.done?e=null:(n={value:t.value},r=!0)}return null!=e&&null!=n?[n.value,e]:null},null)})}function xt(e,t){return kt(Nt(e,t))}function St(e){return{[Symbol.iterator]:()=>e()[Symbol.iterator]()}}function Ct(){return Ft(()=>void 0)}function Tt(e,t,n){if(Array.isArray(n)||ArrayBuffer.isView(n))return n.reduce(e,t);{let r;for(let i=0,o=n[Symbol.iterator]();!(r=o.next()).done;i++)t=e(t,r.value,i);return t}}function _t(e,t,n,r){const i=n[Symbol.iterator](),o=r[Symbol.iterator]();let l,u;for(let n=0;l=i.next(),u=o.next(),!l.done&&!u.done;n++)t=e(t,l.value,u.value,n);return t}function Pt(e,t){Tt((t,n)=>e(n),null,t)}function Nt(e,t){return St(()=>Ft(t=>{const n=t.next();return n.done?null:[e(n.value),t]},t[Symbol.iterator]()))}function Mt(e,t,n){if(0===t)throw new Error("Step cannot be 0");return St(()=>Ft(e=>t>0&&e<=n||t<0&&e>=n?[e,e+t]:null,e))}function Ot(e){return[e]}function Rt(e,t){return{[Symbol.iterator]:()=>{const n=t[Symbol.iterator]();for(let t=1;t<=e;t++)if(n.next().done)throw new Error("Seq has not enough elements");return n}}}function zt(e,t){return wt(Array.from(t).sort(e))}function Dt(e,t,n=!1){return St(()=>{const r=t[Symbol.iterator]();return Ft(t=>{if(t<e){const e=r.next();if(!e.done)return[e.value,t+1];if(!n)throw new Error("Seq has not enough elements")}},0)})}function Ft(e,t){return{[Symbol.iterator]:()=>{let n=t;return{next:()=>{const t=e(n);return null!=t?(n=t[1],{done:!1,value:t[0]}):{done:!0}}}}}}const Ut=/(^|[^%])%([0+ ]*)(-?\d+)?(?:\.(\d+))?(\w)/;function It(e){return e instanceof fe?Fe(e.unsigned?e:Je((t=e,n?function(e){var t=e.high,n=e.low;return[255&n,n>>>8&255,n>>>16&255,n>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]}(t):function(e){var t=e.high,n=e.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,n>>>24,n>>>16&255,n>>>8&255,255&n]}(t)),!0),16):(Number(e)>>>0).toString(16);var t,n}function At(e){return{input:e,cont:(t=e,e=>Ut.test(t)?function e(t,n){return(...r)=>{let i=t;for(const e of r)i=Bt(i,e);return Ut.test(i)?e(i,n):n(i.replace(/%%/g,"%"))}}(t,e):e(t))};var t}function Lt(e){return e.cont(e=>e)}function jt(e){return e.cont(e=>{throw new Error(e)})}function Bt(e,t){return e.replace(Ut,(e,n,r,i,o,l)=>{switch(l){case"f":case"F":t=Number(t).toFixed(o||6);break;case"g":case"G":t=Number(t).toPrecision(o);break;case"e":case"E":t=Number(t).toExponential(o);break;case"O":case"A":t=String(t);break;case"x":t=It(t);break;case"X":t=It(t).toUpperCase()}const u=r.indexOf("+")>=0&&parseInt(t,10)>=0;if(i=parseInt(i,10),!isNaN(i)){const e=i>=0&&r.indexOf("0")>=0?"0":" ";t=Ht(String(t),Math.abs(i)-(u?1:0),e,i<0)}return(n+(u?"+"+t:t)).replace(/%/g,"%%")})}function Wt(e,...t){return t.map(e=>String(e)).join(e)}function Ht(e,t,n,r){n=n||" ",t-=e.length;for(let i=0;i<t;i++)e=r?e+n:n+e;return e}const Vt=N(function(e,t,...n){z.call(this,e,t,...n)},z);function $t(e){return function e(t,n){e:for(;;){switch(n.tag){case 1:return t+1|0;case 2:{const r=n.fields[3];t=e(t+1,n.fields[2]),n=r;continue e}default:return 0|t}break}}(0,e)}function qt(){return new Vt(0,"MapEmpty")}function Qt(e){switch(e.tag){case 1:return 1;case 2:return 0|(0|e.fields[4]);default:return 0}}function Kt(e,t,n,r){switch(0===e.tag&&0===r.tag?0:1){case 0:return new Vt(1,"MapOne",t,n);case 1:{const i=0|Qt(e),o=0|Qt(r);return new Vt(2,"MapNode",t,n,e,r,(0|(i<o?o:i))+1)}}}function Gt(e,t,n,r){const i=0|Qt(e),o=0|Qt(r);if(o>i+2){if(2===r.tag){const o=r.fields[1],l=r.fields[3],u=r.fields[2],a=r.fields[0];if(Qt(u)>i+1){if(2===u.tag){const r=u.fields[1],i=u.fields[3],c=u.fields[2],s=u.fields[0];return Kt(Kt(e,t,n,c),s,r,Kt(i,a,o,l))}throw new Error("rebalance")}return Kt(Kt(e,t,n,u),a,o,l)}throw new Error("rebalance")}if(i>o+2){if(2===e.tag){const i=e.fields[1],l=e.fields[3],u=e.fields[2],a=e.fields[0];if(Qt(l)>o+1){if(2===l.tag){const e=l.fields[1],o=l.fields[3],c=l.fields[2],s=l.fields[0];return Kt(Kt(u,a,i,c),s,e,Kt(o,t,n,r))}throw new Error("re  balance")}return Kt(u,a,i,Kt(l,t,n,r))}throw new Error("rebalance")}return Kt(e,t,n,r)}function Yt(e,t,n,r){switch(r.tag){case 1:{const i=r.fields[0],o=0|e.Compare(t,i);return o<0?new Vt(2,"MapNode",t,n,new Vt(0,"MapEmpty"),r,2):0===o?new Vt(1,"MapOne",t,n):new Vt(2,"MapNode",t,n,r,new Vt(0,"MapEmpty"),2)}case 2:{const i=r.fields[1],o=r.fields[3],l=r.fields[2],u=r.fields[0],a=0|r.fields[4],c=0|e.Compare(t,u);return c<0?Gt(Yt(e,t,n,l),u,i,o):0===c?new Vt(2,"MapNode",t,n,l,o,a):Gt(l,u,i,Yt(e,t,n,o))}default:return new Vt(1,"MapOne",t,n)}}function Xt(e,t,n){e:for(;;){switch(n.tag){case 1:{const r=n.fields[1],i=n.fields[0];if(0===(0|e.Compare(t,i)))return r;throw new Error("key not found")}case 2:{const r=n.fields[1],i=n.fields[3],o=n.fields[2],l=n.fields[0],u=0|e.Compare(t,l);if(u<0){e=e,t=t,n=o;continue e}if(0===u)return r;e=e,t=t,n=i;continue e}default:throw new Error("key not found")}break}}function Jt(e,t,n){e:for(;;){switch(n.tag){case 1:{const r=n.fields[1],i=n.fields[0];return 0===(0|e.Compare(t,i))?ne(r):null}case 2:{const r=n.fields[1],i=n.fields[3],o=n.fields[2],l=n.fields[0],u=0|e.Compare(t,l);if(u<0){e=e,t=t,n=o;continue e}if(0===u)return ne(r);e=e,t=t,n=i;continue e}default:return null}break}}function Zt(e,t,n){switch(n.tag){case 1:{const r=n.fields[0];return 0===(0|e.Compare(t,r))?new Vt(0,"MapEmpty"):n}case 2:{const r=n.fields[1],i=n.fields[3],o=n.fields[2],l=n.fields[0],u=0|e.Compare(t,l);if(u<0)return Gt(Zt(e,t,o),l,r,i);if(0===u){if(0===o.tag)return i;if(0===i.tag)return o;{const e=function e(t){switch(t.tag){case 1:{const e=t.fields[1];return[t.fields[0],e,new Vt(0,"MapEmpty")]}case 2:{const n=t.fields[1],r=t.fields[3],i=t.fields[2],o=t.fields[0];if(0===i.tag)return[o,n,r];{const t=e(i),l=t[1],u=t[2];return[t[0],l,Kt(u,o,n,r)]}}default:throw new Error("internal error: Map.spliceOutSuccessor")}}(i),t=e[1];return Kt(o,e[0],t,e[2])}}return Gt(o,l,r,Zt(e,t,i))}default:return qt()}}function en(e,t,n){e:for(;;){switch(n.tag){case 1:{const r=n.fields[0];return 0===e.Compare(t,r)}case 2:{const r=n.fields[3],i=n.fields[2],o=n.fields[0],l=0|e.Compare(t,o);if(l<0){e=e,t=t,n=i;continue e}if(0===l)return!0;e=e,t=t,n=r;continue e}default:return!1}break}}function tn(e){return function e(t,n){e:for(;;){switch(t.tag){case 1:{const e=t.fields[1];return new R([t.fields[0],e],n)}case 2:{const r=t.fields[1],i=t.fields[3],o=t.fields[2],l=t.fields[0];t=o,n=new R([l,r],e(i,n));continue e}default:return n}break}}(e,new R)}function nn(e,t){const n=yt(t);try{return function(e,t,n){for(;;){if(!n.MoveNext())return t;{const r=n.Current,i=r[1],o=e,l=n;e=o,t=Yt(o,r[0],i,t),n=l}}}(e,qt(),n)}finally{r(n)&&n.Dispose()}}const rn=N(function(e,t){this.stack=e,this.started=t},I);function on(e){e:for(;;){if(null!=e.tail){if(1===e.head.tag)return e;if(2===e.head.tag){const t=e.head.fields[0],n=e.head.fields[2],r=e.head.fields[3],i=e.tail,o=e.head.fields[1];e=new R(n,new R(new Vt(1,"MapOne",t,o),new R(r,i)));continue e}e=e.tail;continue e}return new R}}function ln(e){return new rn(on(new R(e,new R)),!1)}function un(e){if(e.started){const t=e.stack;if(null==t.tail)return function(){throw new Error("enumeration already finished")}();if(1===t.head.tag){return[t.head.fields[0],t.head.fields[1]]}throw new Error("Please report error: Map iterator, unexpected stack for current")}return function(){throw new Error("enumeration not started")}()}const an=N(function(e){this.s=e,this.i=ln(this.s)});function cn(e){return function(e){return this instanceof an?an.call(this,e):new an(e)}(e)}function sn(e){return Ft(function(e){return e.MoveNext()?[e.Current,e]:null},cn(e))}Object.defineProperty(an.prototype,"Current",{get:function(){return un(this.i)}}),an.prototype.MoveNext=function(){return function(e){if(e.started){const t=e.stack;if(null==t.tail)return!1;if(1===t.head.tag){const n=t.tail;return e.stack=on(n),!(null==e.stack.tail)}throw new Error("Please report error: Map iterator, unexpected stack for moveNext")}return e.started=!0,!(null==e.stack.tail)}(this.i)},an.prototype.Reset=function(){this.i=ln(this.s)},an.prototype.Dispose=function(){};const fn=N(function(e,t){this.comparer=e,this.tree=t});function dn(e,t){return this instanceof fn?fn.call(this,e,t):new fn(e,t)}function pn(e){return e.tree}function hn(e,t){return Xt(e.comparer,t,e.tree)}function mn(e,t){return function e(t,n){e:for(;;){const r=t,i=n;switch(i.tag){case 1:{const e=i.fields[1];return r(i.fields[0],e)}case 2:{const o=i.fields[1],l=i.fields[3],u=i.fields[2],a=i.fields[0];if(e(r,u)||r(a,o))return!0;t=r,n=l;continue e}default:return!1}break}}(t,e.tree)}function gn(e){return $t(e.tree)}function yn(e,t){return en(e.comparer,t,e.tree)}function vn(e,t,n){return i=e,o=t,dn((r=n).comparer,Yt(r.comparer,i,o,r.tree));var r,i,o}function wn(e,t){return hn(t,e)}function bn(e,t){return r=e,Jt((n=t).comparer,r,n.tree);var n,r}function En(e,t,n){return function e(t,n,r){e:for(;;){const i=t,o=n,l=r;switch(l.tag){case 1:{const e=l.fields[1];return i(o,l.fields[0],e)}case 2:{const u=l.fields[1],a=l.fields[3],c=l.fields[2],s=l.fields[0],f=i(e(i,o,c),s,u);t=i,n=f,r=a;continue e}default:return o}break}}(e,t,pn(n))}function kn(e){return tn(e.tree)}function xn(e){return dn(e,new Vt(0,"MapEmpty"))}function Sn(e,t){return function(e,t){let n=t;return{get size(){return $t(n)},clear(){n=new Vt(0,"MapEmpty")},delete:t=>!!en(e,t,n)&&(n=Zt(e,t,n),!0),entries:()=>sn(n),get:t=>Xt(e,t,n),has:t=>en(e,t,n),keys:()=>Nt(function(e){return e[0]},sn(n)),set(t,r){return n=Yt(e,t,r,n),this},values:()=>Nt(function(e){return e[1]},sn(n)),[Symbol.iterator]:()=>vt(cn(n)),GetEnumerator:()=>cn(n)}}(t,nn(t,e))}fn.prototype.toString=function(){return"map ["+Wt("; ",...Nt(function(e){return Lt(At("(%A, %A)"))(e[0])(e[1])},this))+"]"},fn.prototype.GetHashCode=function(){const e=function(e,t){return(e<<1)+t+631};let t=0;const n=cn(pn(this));for(;n.MoveNext();){const r=n.Current,i=r[1];t=e(t,s(r[0])),t=e(t,s(i))}return 0|Math.abs(t)},fn.prototype.Equals=function(e){return 0===this.CompareTo(e)},fn.prototype[Symbol.iterator]=function(){return vt(cn(this.tree))},fn.prototype.CompareTo=function(e){const t=this,n=e;let i=0,o=!1;const l=cn(pn(t));try{const e=cn(pn(n));try{for(;!o&&0===i;){const n=[l.MoveNext(),e.MoveNext()];if(n[0])if(n[1]){const n=l.Current,r=e.Current,o=0|t.comparer.Compare(n[0],r[0]);i=0!==o?o:w(n[1],r[1])}else i=1;else n[1]?i=-1:o=!0}return 0|i}finally{r(e)&&e.Dispose()}}finally{r(l)&&l.Dispose()}},Object.defineProperty(fn.prototype,"size",{get:function(){return 0|gn(this)}}),fn.prototype.clear=function(){throw new Error("Map cannot be mutated")},fn.prototype.delete=function(e){throw new Error("Map cannot be mutated")},fn.prototype.entries=function(){return sn(pn(this))},fn.prototype.get=function(e){return hn(this,e)},fn.prototype.has=function(e){return yn(this,e)},fn.prototype.keys=function(){return Nt(function(e){return e[0]},sn(pn(this)))},fn.prototype.set=function(e,t){throw new Error("Map cannot be mutated")},fn.prototype.values=function(){return Nt(function(e){return e[1]},sn(pn(this)))};const Cn=N(function(e,t,...n){z.call(this,e,t,...n)},z);function Tn(e){return new Cn(2,"SetOne",e)}function _n(e,t,n,r){return new Cn(1,"SetNode",e,t,n,r)}function Pn(e){switch(e.tag){case 2:return 1;case 1:return 0|(0|e.fields[3]);default:return 0}}const Nn=2;function Mn(e,t,n){switch(0===e.tag&&0===n.tag?0:1){case 0:return Tn(t);case 1:{const r=0|Pn(e),i=0|Pn(n);return _n(t,e,n,(0|(r<i?i:r))+1)}}}function On(e,t,n){const r=0|Pn(e),i=0|Pn(n);if(i>r+Nn){if(1===n.tag){const i=n.fields[2],o=n.fields[1],l=n.fields[0];if(Pn(o)>r+1){if(1===o.tag){const n=o.fields[2],r=o.fields[1],u=o.fields[0];return Mn(Mn(e,t,r),u,Mn(n,l,i))}throw new Error("rebalance")}return Mn(Mn(e,t,o),l,i)}throw new Error("rebalance")}if(r>i+Nn){if(1===e.tag){const r=e.fields[2],o=e.fields[1],l=e.fields[0];if(Pn(r)>i+1){if(1===r.tag){const e=r.fields[2],i=r.fields[1],u=r.fields[0];return Mn(Mn(o,l,i),u,Mn(e,t,n))}throw new Error("rebalance")}return Mn(o,l,Mn(r,t,n))}throw new Error("rebalance")}return Mn(e,t,n)}function Rn(e,t,n){switch(n.tag){case 2:{const r=n.fields[0],i=0|e.Compare(t,r);return i<0?_n(t,new Cn(0,"SetEmpty"),n,2):0===i?n:_n(t,n,new Cn(0,"SetEmpty"),2)}case 0:return Tn(t);default:{const r=n.fields[2],i=n.fields[1],o=n.fields[0],l=0|e.Compare(t,o);return l<0?On(Rn(e,t,i),o,r):0===l?n:On(i,o,Rn(e,t,r))}}}function zn(e,t,n){e:for(;;){switch(n.tag){case 2:{const r=n.fields[0];return 0===e.Compare(t,r)}case 0:return!1;default:{const r=n.fields[2],i=n.fields[1],o=n.fields[0],l=0|e.Compare(t,o);if(l<0){e=e,t=t,n=i;continue e}if(0===l)return!0;e=e,t=t,n=r;continue e}}break}}function Dn(e,t,n){e:for(;;){const r=e,i=t,o=n;switch(o.tag){case 2:return r(i,o.fields[0]);case 0:return i;default:{const l=o.fields[2],u=o.fields[1],a=o.fields[0],c=r(Dn(r,i,u),a);e=r,t=c,n=l;continue e}}break}}function Fn(e,t){e:for(;;){const n=e,r=t;switch(r.tag){case 2:return n(r.fields[0]);case 0:return!1;default:{const i=r.fields[2],o=r.fields[1];if(n(r.fields[0])||Fn(n,o))return!0;e=n,t=i;continue e}}break}}function Un(e,t,n){return function e(t,n,r,i){e:for(;;){const o=t,l=n,u=r,a=i;switch(u.tag){case 2:{const e=u.fields[0];return l(e)?Rn(o,e,a):a}case 0:return a;default:{const c=u.fields[2],s=u.fields[1],f=u.fields[0],d=l(f)?Rn(o,f,a):a;t=o,n=l,r=s,i=e(o,l,c,d);continue e}}break}}(e,t,n,new Cn(0,"SetEmpty"))}function In(e,t,n){return function e(t,n,r,i){e:for(;;){switch(r.tag){case 2:{const e=r.fields[0];return zn(t,e,n)?Rn(t,e,i):i}case 0:return i;default:{const o=r.fields[2],l=r.fields[1],u=r.fields[0],a=e(t,n,o,i),c=zn(t,u,n)?Rn(t,u,a):a;t=t,n=n,r=l,i=c;continue e}}break}}(e,n,t,new Cn(0,"SetEmpty"))}const An=N(function(e,t){this.stack=e,this.started=t},I);function Ln(e){e:for(;;){if(null!=e.tail){if(2===e.head.tag)return e;if(1===e.head.tag){const t=e.head.fields[0],n=e.head.fields[1],r=e.head.fields[2],i=e.tail;e=new R(n,new R(Tn(t),new R(r,i)));continue e}e=e.tail;continue e}return new R}}function jn(e){return new An(Ln(new R(e,new R)),!1)}function Bn(e){if(e.started){const t=e.stack;if(null==t.tail)return function(){throw new Error("Enumeration already started")}();if(2===t.head.tag){return t.head.fields[0]}throw new Error("Please report error: Set iterator, unexpected stack for current")}return function(){throw new Error("Enumeration not started")}()}const Wn=N(function(e){this.s=e,this.i=jn(this.s)});function Hn(e){return function(e){return this instanceof Wn?Wn.call(this,e):new Wn(e)}(e)}function Vn(e,t,n){return 0===t.tag?0===n.tag?0:-1:0===n.tag?1:0|function(e,t,n){e:for(;;){var r,i,o,l,u,a,c,s,f,d,p,h,m,g,y,v,w,b,E,k,x,S,C,T,_,P,N,M,O,z,D,F,U,I,A,L;switch(null!=t.tail?null!=n.tail?2===n.head.tag?2===t.head.tag?(r=4,l=t.head.fields[0],u=n.head.fields[0],a=t.tail,c=n.tail):1===t.head.tag?0===t.head.fields[1].tag?(r=6,m=t.head.fields[1],g=t.head.fields[0],y=t.head.fields[2],v=n.head.fields[0],w=t.tail,b=n.tail):(r=9,N=t.head.fields[0],M=t.head.fields[1],O=t.head.fields[2],z=t.tail):(r=10,D=n.head.fields[0],F=n.tail):1===n.head.tag?0===n.head.fields[1].tag?2===t.head.tag?(r=5,s=t.head.fields[0],f=n.head.fields[0],d=n.head.fields[2],p=t.tail,h=n.tail):1===t.head.tag?0===t.head.fields[1].tag?(r=7,E=t.head.fields[0],k=t.head.fields[2],x=n.head.fields[0],S=n.head.fields[2],C=t.tail,T=n.tail):(r=9,N=t.head.fields[0],M=t.head.fields[1],O=t.head.fields[2],z=t.tail):(r=11,U=n.head.fields[0],I=n.head.fields[1],A=n.head.fields[2],L=n.tail):2===t.head.tag?(r=8,_=t.head.fields[0],P=t.tail):1===t.head.tag?(r=9,N=t.head.fields[0],M=t.head.fields[1],O=t.head.fields[2],z=t.tail):(r=11,U=n.head.fields[0],I=n.head.fields[1],A=n.head.fields[2],L=n.tail):2===t.head.tag?(r=8,_=t.head.fields[0],P=t.tail):1===t.head.tag?(r=9,N=t.head.fields[0],M=t.head.fields[1],O=t.head.fields[2],z=t.tail):(r=3,i=t.tail,o=n.tail):r=2:r=null!=n.tail?1:0,r){case 0:return 0;case 1:return-1;case 2:return 1;case 3:e=e,t=i,n=o;continue e;case 4:{const r=0|e.Compare(l,u);if(0!==r)return 0|r;e=e,t=a,n=c;continue e}case 5:{const r=0|e.Compare(s,f);if(0!==r)return 0|r;e=e,t=new R(new Cn(0,"SetEmpty"),p),n=new R(d,h);continue e}case 6:{const r=0|e.Compare(g,v);if(0!==r)return 0|r;e=e,t=new R(y,w),n=new R(m,b);continue e}case 7:{const r=0|e.Compare(E,x);if(0!==r)return 0|r;e=e,t=new R(k,C),n=new R(S,T);continue e}case 8:{const r=n;e=e,t=new R(new Cn(0,"SetEmpty"),new R(Tn(_),P)),n=r;continue e}case 9:{const r=n;e=e,t=new R(M,new R(_n(N,new Cn(0,"SetEmpty"),O,0),z)),n=r;continue e}case 10:e=e,t=t,n=new R(new Cn(0,"SetEmpty"),new R(Tn(D),F));continue e;case 11:e=e,t=t,n=new R(I,new R(_n(U,new Cn(0,"SetEmpty"),A,0),L));continue e}break}}(e,new R(t,new R),new R(n,new R))}function $n(e){return function e(t,n){e:for(;;){switch(t.tag){case 2:return new R(t.fields[0],n);case 0:return n;default:{const r=t.fields[2],i=t.fields[1],o=t.fields[0];t=i,n=new R(o,e(r,n));continue e}}break}}(e,new R)}function qn(e,t){const n=yt(t);try{return function(e,t,n){for(;;){if(!n.MoveNext())return t;{const r=t,i=e,o=n;e=i,t=Rn(i,o.Current,r),n=o}}}(e,new Cn(0,"SetEmpty"),n)}finally{r(n)&&n.Dispose()}}Object.defineProperty(Wn.prototype,"Current",{get:function(){return Bn(this.i)}}),Wn.prototype.MoveNext=function(){return function(e){if(e.started){const t=e.stack;if(null==t.tail)return!1;if(2===t.head.tag){const n=t.tail;return e.stack=Ln(n),!(null==e.stack.tail)}throw new Error("Please report error: Set iterator, unexpected stack for moveNext")}return e.started=!0,!(null==e.stack.tail)}(this.i)},Wn.prototype.Reset=function(){this.i=jn(this.s)},Wn.prototype.Dispose=function(){};const Qn=N(function(e,t){this.comparer=e,this.tree=t});function Kn(e,t){return this instanceof Qn?Qn.call(this,e,t):new Qn(e,t)}function Gn(e){return e.comparer}function Yn(e){return e.tree}function Xn(e,t){return zn(Gn(e),t,Yn(e))}function Jn(e,t){return 0===Yn(t).tag?t:0===Yn(e).tag?e:Kn(Gn(e),In(Gn(e),Yn(e),Yn(t)))}function Zn(e){return 0===Yn(e).tag}function er(e,t){return Xn(t,e)}function tr(e,t){return r=e,Kn(Gn(n=t),Rn(Gn(n),r,Yn(n)));var n,r}function nr(e,t){return Jn(e,t)}function rr(e){return Kn(e,new Cn(0,"SetEmpty"))}function ir(e,t){return Fn(e,Yn(t))}function or(e,t){return r=e,0===Yn(n=t).tag?n:Kn(Gn(n),Un(Gn(n),r,Yn(n)));var n,r}function lr(e,t,n){return Dn(e,t,Yn(n))}function ur(e,t){return Kn(t,qn(t,e))}function ar(e){return $n(Yn(e))}function cr(e){if(null!=e.tail){return e.head}throw new Error("List was empty")}function sr(e){if(null!=e.tail){return e.tail}throw new Error("List was empty")}function fr(e,t,n){return function(e,t,n,r){for(;;){const i=e,o=t,l=n,u=r;if(null==u.tail)return l;{const a=u.tail;e=i,t=o+1,n=i(o,l,u.head),r=a}}}(e,0,t,n)}function dr(e,t,n){for(;;){const r=e,i=t,o=n;if(null==o.tail)return i;{const l=o.tail;e=r,t=r(i,o.head),n=l}}}function pr(e){return dr(function(e,t){return new R(t,e)},new R,e)}function hr(e,t,n){return dr(function(t,n){return e(n,t)},n,pr(t))}function mr(e){return pr(Tt(function(e,t){return new R(t,e)},new R,e))}function gr(e,t,n,r){return _t(e,t,n,r)}function yr(e){return dr(function(e,t){return e+1},0,e)}function vr(e,t){return dr(function(e,t){return new R(t,e)},t,pr(e))}function wr(e,t){return mr(xt(e,t))}function br(e,t){return pr(dr(function(t,n){return new R(e(n),t)},new R,t))}function Er(e){return t=function(e,t){return[e,t]},n=e,pr(fr(function(e,n,r){return new R(t(e,r),n)},new R,n));var t,n}function kr(e,t){dr(function(t,n){e(n)},null,t)}function xr(e){let t=new R;for(let r=(f(n=e)?n.length:n.size)-1;r>=0;r--)t=new R(e[r],t);var n;return t}function Sr(e,t){return pr(dr(function(t,n){return e(n)?new R(n,t):t},new R,t))}function Cr(e,t){return function(e,t){let n=new R;for(let r=1;r<=e;r++)n=new R(t(e-r),n);return n}(e,function(e){return t})}function Tr(e,t){if(null!=t.tail){const n=t.tail;return dr(e,t.head,n)}throw new Error("List was empty")}Qn.prototype.toString=function(){return"set ["+Wt("; ",...Nt(function(e){return String(e)},this))+"]"},Qn.prototype.GetHashCode=function(){let e=0;const t=Hn(Yn(this));for(;t.MoveNext();)n=e,r=s(t.Current),e=(n<<1)+r+631;var n,r;return 0|Math.abs(e)},Qn.prototype.Equals=function(e){return 0===Vn(Gn(this),Yn(this),Yn(e))},Qn.prototype.CompareTo=function(e){return 0|Vn(Gn(this),Yn(this),Yn(e))},Qn.prototype[Symbol.iterator]=function(){return vt(Hn(Yn(this)))};const _r=N(function(e,t,...n){z.call(this,e,t,...n)},z);N(function(e,t,...n){z.call(this,e,t,...n)},z);function Pr(e){return br(pr,dr(function(e,t){return br(function(e){const t=e[0];return new R(e[1],t)},mr(bt(e,ar(t))))},new R(new R,new R),e))}function Nr(e,t,n){var r;return vn(t,null==(r=bn(t,e))?[n,rr({Compare:w})]:[n,r[1]],e)}function Mr(e,t){const n=yr(t)>(r=mr(St(function(){return xt(function(e){const t=0|e[0];return e[1],Ot(t)},e)})),i={Compare:g},Tr(function(e,t){return i.Compare(t,e)>0?t:e},r));var r,i;const o=function(e,t){const n=t[0],r=t[1];let i,o;const l=bn(n,e);if(null==l)o=[rr({Compare:w}),rr({Compare:w})];else{o=l}return vn(n,i=function(e,t,n){const r=[t,n];return[r[0],tr(e,r[1])]}(r,o[0],o[1]),e)};return n?new oe(0,"Ok",function(){var n;const r=(i=Er(t),hr(C(2,function(e){const t=e[0],n=e[1];return function(e){const r=e[0],i=e[1];return[new R(t,r),new R(n,i)]}}),i,[new R,new R]));var i;return(n=dr(o,xn({Compare:g}),e),function(e){return function(t){return gr(Nr,n,e,t)}})(r[0])(r[1])}()):new oe(1,"Error","Not enough node domains")}function Or(e,t,n,r){return i=r,o=br(function(e){return ur(e,{Compare:w})},function e(t){if(null!=t.tail)return null==t.head.tail?(t.tail,new R):(t.head,t.tail,new R(br(cr,t),e(br(sr,t))));throw new Error("huh?")}(Sr(n,Pr((l=t,br(function(e){return wn(e,l)[0]},r)))))),gr(function(e,t,n){var r;return vn(t,null==(r=bn(t,e))?n:nr(n,r),e)},xn({Compare:w}),i,o);var i,o,l}function Rr(e,t,n,r){if(null==t)return null;{const i=t,o=bn(n,i);if(null==o)return jt(At("In setDomainArcConsistent :: Node %d doesn't exist"))(n);{const t=o[0],l=o[1];return t.Equals(r)?i:e(n,vn(n,[nr(t,r),l],i))}}}function zr(e,t){let n;const r=wn(e,t),i=(n=[r[0],r[1]])[0],o=[function(e){return function(e,t){switch(t.tag){case 0:return[function(t){return er(t,e)},0|t.fields[0]];case 1:return[function(t){return ir(function(e){return!h(t,e)},e)},0|t.fields[0]];default:return null}}(i,e)},function(e){return function(e,t){if(2===t.tag){return[function(t){return er(Tr(function(e,t){return e+t},t),e)},t.fields[0]]}return null}(i,e)}],l=o[1],u=o[0];let a,c;const s=(f=n[1],lr(C(2,function(e){const t=e[0],n=e[1];return function(e){const r=u(e);if(null!=r)return[new R(r,t),n];{const r=l(e);if(null!=r)return[t,new R(r,n)];throw new Error("huh?")}}}),[new R,new R],f));var f;const d=s[1];return c=[br(function(e){return n=e[0],r=e[1],[i=r,or(n,wn(i,t)[0])];var n,r,i},s[0]),dr(function(e,t){return En(function(e,t,n){var r;return vn(t,null==(r=bn(t,e))?n:nr(r,n),e)},e,t)},xn({Compare:g}),br(function(e){return n=e[0],r=e[1],Or(0,t,n,r);var n,r},d))],a=dr(function(e,t){var n;const r=t[0],i=t[1];return vn(r,null==(n=bn(r,e))?i:nr(i,n),e)},c[1],c[0]),mn(a,function(e,t){return Zn(t)})?null:En(function(e,t,n){return Rr(zr,e,t,n)},t,a)}function Dr(e,t){const n=br(function(e){const t=0|e[0];e[1];return 0|t},kn(t));return ie(dr(function(e,t){return ie(e,null,function(e){return zr(t,e)})},t,n),null,_(1,function t(n,r){const i=function(t,n,r){return Rr(e,t,n,Kn({Compare:g},new Cn(2,"SetOne",r)))},o=function(e,n,o,l){if(null!=o)return o;{const o=i(r,e,l);if(null==o)return null;return t(n,o)}};if(null==n.tail)return r;{const e=n.tail,t=0|n.head,i=wn(t,r)[0];return lr(C(2,_(2,o,[t,e])),null,i)}},[n]))}const Fr=N(function(e,t,...n){z.call(this,e,t,...n)},z);function Ur(e){switch(e.tag){case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4;case 5:return 5;case 6:return 6;case 7:return 7;case 8:return 8;case 9:return 9;default:return null}}function Ir(e){var t;if((t=0|e)<1&&t>9){return new Fr(0,"Empty")}switch(e){case 1:return new Fr(1,"One");case 2:return new Fr(2,"Two");case 3:return new Fr(3,"Three");case 4:return new Fr(4,"Four");case 5:return new Fr(5,"Five");case 6:return new Fr(6,"Six");case 7:return new Fr(7,"Seven");case 8:return new Fr(8,"Eight");case 9:return new Fr(9,"Nine");default:throw new Error("Shouldn't happen #saod87h")}}const Ar=(Lr=br(function(e){return[e,new Fr(0,"Empty")]},mr(bt(mr(Mt(1,1,9)),mr(Mt(1,1,9))))),dn(jr={Compare:v},(Br=jr,Wr=Lr,Tt(function(e,t){const n=t[0],r=t[1];return Yt(Br,n,r,e)},qt(),Wr))));var Lr,jr,Br,Wr;function Hr(e){return En(C(3,function(e){return function(t){const n=0|t[0];return function(r){return function(e,t,n,r){const i=(0|t)-1+9*((0|n)-1)|0,o=Ur(r);return Nr(e,i,ur(null==o?mr(Mt(1,1,9)):new R(0|o,new R),{Compare:g}))}(e,n,t[1],r)}}}),function(){const e=br(function(e){return br(function(t){return e+t},mr(Mt(0,1,8)))},mr(Mt(0,9,72))),t=br(function(e){return br(function(t){return e+t},mr(Mt(0,9,72)))},mr(Mt(0,1,8))),n=br(function(e){return br(function(t){return e+t},xr([0,1,2,9,10,11,18,19,20]))},wr(function(e){return br(function(t){return e+t},xr([0,27,54]))},mr(Mt(0,3,6)))),r=Cr(81,ur(mr(Mt(1,1,9)),{Compare:g})),i=Mr(br(function(e){const t=0|e[0],n=0|e[1];return[t,new _r(1,"Neq",n)]},Sr(function(e){return(0|e[0])!==(0|e[1])},wr(function(e){return mr(bt(e,e))},vr(e,vr(t,n))))),r);if(1===i.tag){i.fields[0];throw new Error("huh?")}return i.fields[0]}(),e)}function Vr(e){return En(function(e,t,n){return function(e,t,n,r){let i;const o=ar(n);var l,u;switch(null!=o.tail&&null==o.tail.tail?(l=0,u=o.head):l=1,l){case 0:i=Ir(u);break;case 1:throw new Error("Shouldn't happen #98ads")}return vn([t%9+1,1+~~(t/9)],i,e)}(e,t,n[0],n[1])},Ar,e)}N(function(e,t,...n){z.call(this,e,t,...n)},z);N(function(e,t,...n){z.call(this,e,t,...n)},z);N(function(e){this.__html=e},I);const $r=N(function(e,t,...n){z.call(this,e,t,...n)},z);N(function(e,t,...n){z.call(this,e,t,...n)},z);const qr=N(function(e,t,...n){z.call(this,e,t,...n)},z);const Qr=N(function(e,t,...n){z.call(this,e,t,...n)},z);var Kr=n(0);class Gr{constructor(e=!1){this._id=0,this._cancelled=e,this._listeners=new Map}get isCancelled(){return this._cancelled}cancel(){if(!this._cancelled){this._cancelled=!0;for(const[,e]of this._listeners)e()}}addListener(e){const t=this._id;return this._listeners.set(this._id++,e),t}removeListener(e){return this._listeners.delete(e)}register(e,t){const n=this,r=this.addListener(null==t?e:()=>e(t));return{Dispose(){n.removeListener(r)}}}}class Yr extends Error{constructor(){super("The operation was canceled"),Object.setPrototypeOf(this,Yr.prototype)}}function Xr(e){return t=>{if(t.cancelToken.isCancelled)t.onCancel(new Yr);else if(t.trampoline.incrementAndCheck())t.trampoline.hijack(()=>{try{e(t)}catch(e){t.onError(e)}});else try{e(t)}catch(e){t.onError(e)}}}function Jr(e,t){return Xr(n=>{e({onSuccess:e=>{try{t(e)(n)}catch(e){n.onError(e)}},onError:n.onError,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline})})}function Zr(e){return Xr(t=>t.onSuccess(e))}new class{Bind(e,t){return Jr(e,t)}Combine(e,t){return this.Bind(e,()=>t)}Delay(e){return Xr(t=>e()(t))}For(e,t){const n=e[Symbol.iterator]();let r=n.next();return this.While(()=>!r.done,this.Delay(()=>{const e=t(r.value);return r=n.next(),e}))}Return(e){return Zr(e)}ReturnFrom(e){return e}TryFinally(e,t){return Xr(n=>{e({onSuccess:e=>{t(),n.onSuccess(e)},onError:e=>{t(),n.onError(e)},onCancel:e=>{t(),n.onCancel(e)},cancelToken:n.cancelToken,trampoline:n.trampoline})})}TryWith(e,t){return Xr(n=>{e({onSuccess:n.onSuccess,onCancel:n.onCancel,cancelToken:n.cancelToken,trampoline:n.trampoline,onError:e=>{try{t(e)(n)}catch(e){n.onError(e)}}})})}Using(e,t){return this.TryFinally(t(e),()=>e.Dispose())}While(e,t){return e()?this.Bind(t,()=>this.While(e,t)):this.Return(void 0)}Zero(){return Xr(e=>e.onSuccess(void 0))}};new Gr;function ei(e,t){kr(function(t){t(e)},t)}function ti(){return new R}function ni(e,t){console.error(e,t)}function ri(e,t){console.log(e,t)}const ii=N(function(e,t,...n){z.call(this,e,t,...n)},z);const oi=N(function(e){var t,n,r,i;this.state=new ii(0,"Writable",(t=new Array(b(g,e,10)),n=0,r=b(g,e,10),i=null,t.fill(i,n,n+r),t),0)});function li(e){const t=e.state;if(1===t.tag){const n=0|t.fields[1],r=0|t.fields[2],i=t.fields[0],o=(r+1)%i.length|0;return e.state=o===n?new ii(0,"Writable",i,n):new ii(1,"ReadWritable",i,n,o),ne(i[r])}return null}function ui(e,t){const n=e.state;if(1===n.tag){const l=0|n.fields[1],u=0|n.fields[2],a=n.fields[0];a[l]=t;const c=(l+1)%a.length|0;if(c===u){const t=(r=u,i=a,o=St(function(){return Et(Rt(r,i),St(function(){return Et(Dt(r,i),St(function(){return xt(function(e){return Ot(null)},Mt(0,1,i.length))}))}))}),Array.from(o));e.state=new ii(1,"ReadWritable",t,c,0)}else e.state=new ii(1,"ReadWritable",a,c,u)}else{const r=0|n.fields[1],i=n.fields[0];i[r]=t;const o=(r+1)%i.length|0;e.state=new ii(1,"ReadWritable",i,o,r)}var r,i,o}const ai=N(function(e,t,n,r,i,o,l){this.init=e,this.update=t,this.subscribe=n,this.view=r,this.setState=i,this.onError=o,this.syncDispatch=l},I);function ci(e,t){return new ai(t.init,t.update,t.subscribe,t.view,e,t.onError,t.syncDispatch)}function si(e){return T(2,e.view)}function fi(e,t){const n=t.init(e),r=n[0],i=n[1],o=function(e){return this instanceof oi?oi.call(this,e):new oi(e)}(10);let l=!1,u=r;const a=_(1,t.syncDispatch,[function(e){if(l)ui(o,e);else{l=!0;let n=ne(e);for(;null!=n;){const e=re(n);try{const n=t.update(e,u),r=n[0],i=n[1];t.setState(r,a),ei(a,i),u=r}catch(n){t.onError([Lt(At("Unable to process the message: %A"))(e),n])}n=li(o)}l=!1}}]);let c;t.setState(r,a);try{c=t.subscribe(r)}catch(e){t.onError(["Unable to subscribe:",e]),c=ti()}ei(a,vr(c,i))}var di=n(1);const pi=N(function(e,t,n){this.model=e,this.render=t,this.equal=n},I);const hi=N(function(e){Kr.Component.call(this,e)},Kr.Component);function mi(e,t,n,r){return Kr.createElement(hi,new pi(n,function(){return t(n,r)},e))}function gi(e,t,n){return ci(function(r,i){di.render(e(function(e,t){return e===t},C(2,si(n)),r,i),document.getElementById(t))},n)}hi.prototype.shouldComponentUpdate=function(e,t){return!this.props.equal(this.props.model,e.model)},hi.prototype.render=function(){return this.props.render()};const yi=N(function(e,t){this.table=e,this.active=t},I);function vi(){return Q("App.State",[],yi,()=>[["table",q("Microsoft.FSharp.Collections.FSharpMap`2",[G(J,J),K("Sudoku.CellValue",[],Fr,()=>["Empty","One","Two","Three","Four","Five","Six","Seven","Eight","Nine"])])],["active",Y(G(J,J))]])}const wi=N(function(e,t,...n){z.call(this,e,t,...n)},z);function bi(){return K("App.Event",[],wi,()=>[["SetCell",[G(J,J),X]],"Solve","Reset",["StartEdit",[G(J,J)]],"EndEdit"])}function Ei(){return new yi(Ar,null)}function ki(e,t){var n,r;switch(e.tag){case 1:return new yi(ie(ie(Dr(zr,Hr(r=t.table)),null,Vr),r),t.active);case 2:return Ei();case 3:{const n=e.fields[0];return new yi(t.table,n)}case 4:return new yi(t.table,null);default:{const r=e.fields[1],i=e.fields[0],o=ce(r,511,!1,32);switch(o[0]&&(n=0|o[1])>0&&n<10?0:1){case 0:{const e=0|o[1];return new yi(vn(i,Ir(e),t.table),t.active)}case 1:return o[0]?t:new yi(vn(i,new Fr(0,"Empty"),t.table),t.active)}}}}const xi="3px solid black",Si=["40px","40px"];function Ci(e,t){const n=[e,t];return vr(n[0]%3==0?new R(new Qr(70,"BorderRight",xi),new R):n[0]%3==1?new R(new Qr(65,"BorderLeft",xi),new R):new R,n[1]%3==0?new R(new Qr(42,"BorderBottom",xi),new R):n[1]%3==1?new R(new Qr(76,"BorderTop",xi),new R):new R)}const Ti=xr([new Qr(17,"Background","#b0b0b0"),new Qr(394,"Width",Si[0]),new Qr(325,"TextAlign","center")]);function _i(e,t,n,r){const i=[t,n];return Kr.createElement("td",x([new qr(25,"className","selected"),["style",{textAlign:"center"}]],1),Kr.createElement("input",x([["style",{width:"20px",textAlign:"center"}],new qr(15,"AutoFocus",!0),new $r(9,"OnChange",function(t){e(new wi(0,"SetCell",i,t.target.value)),e(new wi(4,"EndEdit"))}),new qr(121,"Value",r)],1)))}function Pi(e,t,n,r){var i;const l=[t,n];if(h(r.active,l)){const t=ie(bn(l,r.table),null,function(e){return ie(ie(Ur(e),null,o)," ")});return _i(e,l[0],l[1],t)}return Kr.createElement("td",x([["style",x(vr(Ti,Ci(l[0],l[1])),1)],new $r(40,"OnClick",function(t){e(new wi(3,"StartEdit",l))})],1),null==(i=bn(l,r.table))?"ERROR":ie(ie(Ur(i),null,o),""))}function Ni(e,t,n){return Nt(function(r){var i,o;return i=r[1],o=Nt(function(e){return e[0]},zt(function(e,t){return v(e[0],t[0])},i)),Kr.createElement("tr",x([["style",{verticalAlign:"center",height:Si[1]}]],1),...mr(St(function(){return Nt(function(r){return n(t,r,e)},o)})))},zt(function(e,t){return g(e[0],t[0])},function(e,t,n){const r=Sn(Ct(),n);return Pt(function(t){const n=e(t);r.has(n)?r.get(n).push(t):r.set(n,Array.from([t]))},t),Nt(function(e){return[e[0],e[1]]},r)}(function(e){e[1];const t=0|e[0][1];e[0][0];return 0|t},sn(pn(e.table)),{Compare:g})))}function Mi(e,t){return Kr.createElement("table",{},Kr.createElement("thead",{}),Kr.createElement("tbody",{},...Ni(e,t,C(3,function(e){return function(t){const n=0|t[0];return function(r){return Pi(e,n,t[1],r)}}}))))}function Oi(e,t){return Kr.createElement("div",{},Mi(e,t),Kr.createElement("div",{},Kr.createElement("button",{onClick:function(e){t(new wi(1,"Solve"))}},"Solve"),Kr.createElement("button",{onClick:function(e){t(new wi(2,"Reset"))}},"Reset")))}var Ri,zi,Di,Fi,Ui,Ii;zi="elmish-app",Fi=function(){return Ei()},Ui=ki,Di=new ai(function(e){return[Fi(e),ti()]},function(e,t){return[Ui(e,t),ti()]},function(e){return ti()},Ii=Oi,function(e,t){Ii(e,t)},function(e){ni(e[0],e[1])},C(2,function(e){return e})),Ri=gi(mi,zi,Di),fi(null,new ai(function(e){const t=Ri.init(e),n=t[0],r=t[1];return ri("Initial state:",n),[n,r]},function(e,t){ri("New message:",e);const n=Ri.update(e,t),r=n[0],i=n[1];return ri("Updated state:",r),[r,i]},Ri.subscribe,Ri.view,Ri.setState,Ri.onError,Ri.syncDispatch)),n.d(t,"State",function(){return yi}),n.d(t,"State$reflection",function(){return vi}),n.d(t,"Event$",function(){return wi}),n.d(t,"Event$$reflection",function(){return bi}),n.d(t,"init",function(){return Ei}),n.d(t,"update",function(){return ki}),n.d(t,"border",function(){return xi}),n.d(t,"cellDims",function(){return Si}),n.d(t,"borderStyle",function(){return Ci}),n.d(t,"cellStyle",function(){return Ti}),n.d(t,"renderEditor",function(){return _i}),n.d(t,"renderCell",function(){return Pi}),n.d(t,"tableToUI",function(){return Ni}),n.d(t,"sudokuTable",function(){return Mi}),n.d(t,"view",function(){return Oi})}]);