Skip to content

Instantly share code, notes, and snippets.

@Rich-Harris
Last active February 9, 2023 14:04
  • Star 58 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Rich-Harris/cb14f4bc0670c47d00d191565be36bf0 to your computer and use it in GitHub Desktop.
Creating a React app with Rollup
{
"presets": [["latest", {
"es2015": {
"modules": false
}
}]],
"plugins": ["external-helpers", "transform-react-jsx"]
}
node_modules

This is a simple template for building a React app with Rollup. Do this...

git clone https://gist.github.com/Rich-Harris/cb14f4bc0670c47d00d191565be36bf0 react-rollup
cd react-rollup
npm install
npm run dev

...then open index.html to see the Hello World application. npm run build will build the app with React in production mode, and minify the result.

!function(){"use strict";function e(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function t(){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;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function r(e,t,n,r,o,a,i,u){if(No(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,a,i,u],c=0;l=new Error(t.replace(/%s/g,function(){return s[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}function o(e){return function(){return e}}function a(e){return void 0!==e.ref}function i(e){return void 0!==e.key}function u(e){var t=e&&(Jo&&e[Jo]||e[ea]);if("function"==typeof t)return t}function l(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function s(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}function c(e,t){return e&&"object"==typeof e&&null!=e.key?ua.escape(e.key):t.toString(36)}function p(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===aa)return n(r,e,""===t?la+c(e,0):t),1;var a,i,u=0,l=""===t?la:t+sa;if(Array.isArray(e))for(var s=0;s<e.length;s++)a=e[s],i=l+c(a,s),u+=p(a,i,n,r);else{var d=ia(e);if(d){var f,h=d.call(e);if(d!==e.entries)for(var m=0;!(f=h.next()).done;)a=f.value,i=l+c(a,m++),u+=p(a,i,n,r);else for(;!(f=h.next()).done;){var v=f.value;v&&(a=v[1],i=l+ua.escape(v[0])+sa+c(a,0),u+=p(a,i,n,r))}}else if("object"===o){var g="",y=String(e);oa("31","[object Object]"===y?"object with keys {"+Object.keys(e).join(", ")+"}":y,g)}}return u}function d(e,t,n){return null==e?0:p(e,"",t,n)}function f(e){return(""+e).replace(ga,"$&/")}function h(e,t){this.func=e,this.context=t,this.count=0}function m(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function v(e,t,n){if(null==e)return e;var r=h.getPooled(t,n);ha(e,m,r),h.release(r)}function g(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var r=e.result,o=e.keyPrefix,a=e.func,i=e.context,u=a.call(i,t,e.count++);Array.isArray(u)?_(u,r,n,fa.thatReturnsArgument):null!=u&&(da.isValidElement(u)&&(u=da.cloneAndReplaceKey(u,o+(!u.key||t&&t.key===u.key?"":f(u.key)+"/")+n)),r.push(u))}function _(e,t,n,r,o){var a="";null!=n&&(a=f(n)+"/");var i=g.getPooled(t,a,r,o);ha(e,y,i),g.release(i)}function C(e,t,n){if(null==e)return e;var r=[];return _(e,r,null,t,n),r}function b(e,t,n){return null}function E(e,t){return ha(e,b,null)}function w(e){var t=[];return _(e,t,null,fa.thatReturnsArgument),t}function k(e,t){}function T(e,t,n){this.props=e,this.context=t,this.refs=Pa,this.updater=n||Ta}function P(e,t,n){this.props=e,this.context=t,this.refs=Ia,this.updater=n||xa}function N(){}function S(e){return e}function M(e,t){var n=Ha.hasOwnProperty(t)?Ha[t]:null;Ka.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?Da("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?Da("74",t):void 0)}function x(e,t){if(t){"function"==typeof t?Da("75"):void 0,Fa.isValidElement(t)?Da("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(Ba)&&qa.mixins(e,t.mixins);for(var o in t)if(t.hasOwnProperty(o)&&o!==Ba){var a=t[o],i=n.hasOwnProperty(o);if(M(i,o),qa.hasOwnProperty(o))qa[o](e,a);else{var u=Ha.hasOwnProperty(o),l="function"==typeof a,s=l&&!u&&!i&&t.autobind!==!1;if(s)r.push(o,a),n[o]=a;else if(i){var c=Ha[o];!u||"DEFINE_MANY_MERGED"!==c&&"DEFINE_MANY"!==c?Da("77",c,o):void 0,"DEFINE_MANY_MERGED"===c?n[o]=O(n[o],a):"DEFINE_MANY"===c&&(n[o]=R(n[o],a))}else n[o]=a}}}}function I(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in qa;o?Da("78",n):void 0;var a=n in e;a?Da("79",n):void 0,e[n]=r}}}function A(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:Da("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?Da("81",n):void 0,e[n]=t[n]);return e}function O(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return A(o,n),A(o,r),o}}function R(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function D(e,t){var n=t.bind(e);return n}function L(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=D(e,o)}}function U(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function F(e){this.message=e,this.stack=""}function j(e){function t(t,n,r,o,a,i,u){if(o=o||ii,i=i||r,null==n[r]){var l=ni[a];return t?new F(null===n[r]?"The "+l+" `"+i+"` is marked as required "+("in `"+o+"`, but its value is `null`."):"The "+l+" `"+i+"` is marked as required in "+("`"+o+"`, but its value is `undefined`.")):null}return e(n,r,o,a,i)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function V(e){function t(t,n,r,o,a,i){var u=t[n],l=Z(u);if(l!==e){var s=ni[o],c=J(u);return new F("Invalid "+s+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return j(t)}function B(){return j(oi.thatReturns(null))}function W(e){function t(t,n,r,o,a){if("function"!=typeof e)return new F("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var i=t[n];if(!Array.isArray(i)){var u=ni[o],l=Z(i);return new F("Invalid "+u+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an array."))}for(var s=0;s<i.length;s++){var c=e(i,s,r,o,a+"["+s+"]",ri);if(c instanceof Error)return c}return null}return j(t)}function H(){function e(e,t,n,r,o){var a=e[t];if(!ti.isValidElement(a)){var i=ni[r],u=Z(a);return new F("Invalid "+i+" `"+o+"` of type "+("`"+u+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return j(e)}function q(e){function t(t,n,r,o,a){if(!(t[n]instanceof e)){var i=ni[o],u=e.name||ii,l=ee(t[n]);return new F("Invalid "+i+" `"+a+"` of type "+("`"+l+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return j(t)}function K(e){function t(t,n,r,o,a){for(var i=t[n],u=0;u<e.length;u++)if(U(i,e[u]))return null;var l=ni[o],s=JSON.stringify(e);return new F("Invalid "+l+" `"+a+"` of value `"+i+"` "+("supplied to `"+r+"`, expected one of "+s+"."))}return Array.isArray(e)?j(t):oi.thatReturnsNull}function Y(e){function t(t,n,r,o,a){if("function"!=typeof e)return new F("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var i=t[n],u=Z(i);if("object"!==u){var l=ni[o];return new F("Invalid "+l+" `"+a+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var s in i)if(i.hasOwnProperty(s)){var c=e(i,s,r,o,a+"."+s,ri);if(c instanceof Error)return c}return null}return j(t)}function z(e){function t(t,n,r,o,a){for(var i=0;i<e.length;i++){var u=e[i];if(null==u(t,n,r,o,a,ri))return null}var l=ni[o];return new F("Invalid "+l+" `"+a+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?j(t):oi.thatReturnsNull}function X(){function e(e,t,n,r,o){if(!Q(e[t])){var a=ni[r];return new F("Invalid "+a+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return j(e)}function G(e){function t(t,n,r,o,a){var i=t[n],u=Z(i);if("object"!==u){var l=ni[o];return new F("Invalid "+l+" `"+a+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var s in e){var c=e[s];if(c){var p=c(i,s,r,o,a+"."+s,ri);if(p)return p}}return null}return j(t)}function Q(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(Q);if(null===e||ti.isValidElement(e))return!0;var t=ai(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!Q(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!Q(o[1]))return!1}return!0;default:return!1}}function $(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function Z(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":$(t,e)?"symbol":t}function J(e){var t=Z(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function ee(e){return e.constructor&&e.constructor.name?e.constructor.name:ii}function te(e){return fi.isValidElement(e)?void 0:di("143"),e}function ne(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}function re(e,t){return(e&t)===t}function oe(e,t){return 1===e.nodeType&&e.getAttribute(Hi)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function ae(e){for(var t;t=e._renderedComponent;)e=t;return e}function ie(e,t){var n=ae(e);n._hostNode=t,t[Ki]=n}function ue(e){var t=e._hostNode;t&&(delete t[Ki],e._hostNode=null)}function le(e,t){if(!(e._flags&qi.hasCachedChildNodes)){var n=e._renderedChildren,r=t.firstChild;e:for(var o in n)if(n.hasOwnProperty(o)){var a=n[o],i=ae(a)._domID;if(0!==i){for(;null!==r;r=r.nextSibling)if(oe(r,i)){ie(a,r);continue e}Vi("32",i)}}e._flags|=qi.hasCachedChildNodes}}function se(e){if(e[Ki])return e[Ki];for(var t=[];!e[Ki];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[Ki]);e=t.pop())n=r,t.length&&le(r,e);return n}function ce(e){var t=se(e);return null!=t&&t._hostNode===e?t:null}function pe(e){if(void 0===e._hostNode?Vi("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:Vi("34"),e=e._hostParent;for(;t.length;e=t.pop())le(e,e._hostNode);return e._hostNode}function de(){if($i)for(var e in Zi){var t=Zi[e],n=$i.indexOf(e);if(n>-1?void 0:Qi("96",e),!Ji.plugins[n]){t.extractEvents?void 0:Qi("97",e),Ji.plugins[n]=t;var r=t.eventTypes;for(var o in r)fe(r[o],t,o)?void 0:Qi("98",o,e)}}}function fe(e,t,n){Ji.eventNameDispatchConfigs.hasOwnProperty(n)?Qi("99",n):void 0,Ji.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];he(a,t,n)}return!0}return!!e.registrationName&&(he(e.registrationName,t,n),!0)}function he(e,t,n){Ji.registrationNameModules[e]?Qi("100",e):void 0,Ji.registrationNameModules[e]=t,Ji.registrationNameDependencies[e]=t.eventTypes[n].dependencies}function me(e,t,n){try{t(n)}catch(e){null===tu&&(tu=e)}}function ve(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function ge(e){return"topMouseMove"===e||"topTouchMove"===e}function ye(e){return"topMouseDown"===e||"topTouchStart"===e}function _e(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=uu.getNodeFromInstance(r),t?au.invokeGuardedCallbackWithCatch(o,n,e):au.invokeGuardedCallback(o,n,e),e.currentTarget=null}function Ce(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)_e(e,t,n[o],r[o]);else n&&_e(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function be(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function Ee(e){var t=be(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function we(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?ou("103"):void 0,e.currentTarget=t?uu.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function ke(e){return!!e._dispatchListeners}function Te(e,t){return null==t?su("30"):void 0,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 Pe(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function Ne(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function Se(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!Ne(t));default:return!1}}function Me(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return xu(e,r)}function xe(e,t,n){var r=Me(e,n,t);r&&(n._dispatchListeners=Su(n._dispatchListeners,r),n._dispatchInstances=Su(n._dispatchInstances,e))}function Ie(e){e&&e.dispatchConfig.phasedRegistrationNames&&Nu.traverseTwoPhase(e._targetInst,xe,e)}function Ae(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?Nu.getParentInstance(t):null;Nu.traverseTwoPhase(n,xe,e)}}function Oe(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=xu(e,r);o&&(n._dispatchListeners=Su(n._dispatchListeners,o),n._dispatchInstances=Su(n._dispatchInstances,e))}}function Re(e){e&&e.dispatchConfig.registrationName&&Oe(e._targetInst,null,e)}function De(e){Mu(e,Ie)}function Le(e){Mu(e,Ae)}function Ue(e,t,n,r){Nu.traverseEnterLeave(n,r,Oe,e,t)}function Fe(e){Mu(e,Re)}function je(){return!Xu&&zu.canUseDOM&&(Xu="textContent"in document.documentElement?"textContent":"innerText"),Xu}function Ve(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}function Be(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){var i=o[a];i?this[a]=i(n):"target"===a?this.target=r:this[a]=n[a]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=nl.thatReturnsTrue:this.isDefaultPrevented=nl.thatReturnsFalse,this.isPropagationStopped=nl.thatReturnsFalse,this}function We(e,t,n,r){return il.call(this,e,t,n,r)}function He(e,t,n,r){return sl.call(this,e,t,n,r)}function qe(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function Ke(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function Ye(e){switch(e){case"topCompositionStart":return Tl.compositionStart;case"topCompositionEnd":return Tl.compositionEnd;case"topCompositionUpdate":return Tl.compositionUpdate}}function ze(e,t){return"topKeyDown"===e&&t.keyCode===yl}function Xe(e,t){switch(e){case"topKeyUp":return gl.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==yl;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function Ge(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function Qe(e,t,n,r){var o,a;if(_l?o=Ye(e):Nl?Xe(e,n)&&(o=Tl.compositionEnd):ze(e,n)&&(o=Tl.compositionStart),!o)return null;El&&(Nl||o!==Tl.compositionStart?o===Tl.compositionEnd&&Nl&&(a=Nl.getData()):Nl=hl.getPooled(r));var i=ml.getPooled(o,t,n,r);if(a)i.data=a;else{var u=Ge(n);null!==u&&(i.data=u)}return dl.accumulateTwoPhaseDispatches(i),i}function $e(e,t){switch(e){case"topCompositionEnd":return Ge(t);case"topKeyPress":var n=t.which;return n!==wl?null:(Pl=!0,kl);case"topTextInput":var r=t.data;return r===kl&&Pl?null:r;default:return null}}function Ze(e,t){if(Nl){if("topCompositionEnd"===e||!_l&&Xe(e,t)){var n=Nl.getData();return hl.release(Nl),Nl=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!Ke(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return El?null:t.data;default:return null}}function Je(e,t,n,r){var o;if(o=bl?$e(e,n):Ze(e,n),!o)return null;var a=vl.getPooled(Tl.beforeInput,t,n,r);return a.data=o,dl.accumulateTwoPhaseDispatches(a),a}function et(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}function nt(e,t,n){"function"==typeof e?e(t.getPublicInstance()):jl.addComponentAsRefTo(t,e,n)}function rt(e,t,n){"function"==typeof e?e(null):jl.removeComponentAsRefFrom(t,e,n)}function ot(){Wl.attachRefs(this,this._currentElement)}function at(){fs.ReactReconcileTransaction&&is?void 0:Gl("123")}function it(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=$l.getPooled(),this.reconcileTransaction=fs.ReactReconcileTransaction.getPooled(!0)}function ut(e,t,n,r,o,a){return at(),is.batchedUpdates(e,t,n,r,o,a)}function lt(e,t){return e._mountOrder-t._mountOrder}function st(e){var t=e.dirtyComponentsLength;t!==ns.length?Gl("124",t,ns.length):void 0,ns.sort(lt),rs++;for(var n=0;n<t;n++){var r=ns[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var a;if(Jl.logTopLevelRenders){var i=r;r._currentElement.type.isReactTopLevelWrapper&&(i=r._renderedComponent),a="React update: "+i.getName(),console.time(a)}if(es.performUpdateIfNecessary(r,e.reconcileTransaction,rs),a&&console.timeEnd(a),o)for(var u=0;u<o.length;u++)e.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function ct(e){return at(),is.isBatchingUpdates?(ns.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=rs+1))):void is.batchedUpdates(ct,e)}function pt(e,t){is.isBatchingUpdates?void 0:Gl("125"),os.enqueue(e,t),as=!0}function dt(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}function ft(e,t){if(!vs.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&cs&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}function ht(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ys[e.type]:"textarea"===t}function mt(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function vt(e){var t=Ts.getPooled(Ms.change,Is,e,Ps(e));bs.accumulateTwoPhaseDispatches(t),ks.batchedUpdates(gt,t)}function gt(e){Cs.enqueueEvents(e),Cs.processEventQueue(!1)}function yt(e,t){xs=e,Is=t,xs.attachEvent("onchange",vt)}function _t(){xs&&(xs.detachEvent("onchange",vt),xs=null,Is=null)}function Ct(e,t){if("topChange"===e)return t}function bt(e,t,n){"topFocus"===e?(_t(),yt(t,n)):"topBlur"===e&&_t()}function Et(e,t){xs=e,Is=t,As=e.value,Os=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(xs,"value",Ls),xs.attachEvent?xs.attachEvent("onpropertychange",kt):xs.addEventListener("propertychange",kt,!1)}function wt(){xs&&(delete xs.value,xs.detachEvent?xs.detachEvent("onpropertychange",kt):xs.removeEventListener("propertychange",kt,!1),xs=null,Is=null,As=null,Os=null)}function kt(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==As&&(As=t,vt(e))}}function Tt(e,t){if("topInput"===e)return t}function Pt(e,t,n){"topFocus"===e?(wt(),Et(t,n)):"topBlur"===e&&wt()}function Nt(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&xs&&xs.value!==As)return As=xs.value,Is}function St(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function Mt(e,t){if("topClick"===e)return t}function xt(e,t,n,r){return Bs.call(this,e,t,n,r)}function It(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=zs[e];return!!r&&!!n[r]}function At(e){return It}function Ot(e,t,n,r){return Gs.call(this,e,t,n,r)}function Rt(e){var t=""+e,n=Nc.exec(t);if(!n)return t;var r,o="",a=0,i=0;for(a=n.index;a<t.length;a++){switch(t.charCodeAt(a)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}i!==a&&(o+=t.substring(i,a)),i=a+1,o+=r}return i!==a?o+t.substring(i,a):o}function Dt(e){return"boolean"==typeof e||"number"==typeof e?""+e:Rt(e)}function Lt(e){if(Vc){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)Bc(t,n[r],null);else null!=e.html?Dc(t,e.html):null!=e.text&&Uc(t,e.text)}}function Ut(e,t){e.parentNode.replaceChild(t.node,e),Lt(t)}function Ft(e,t){Vc?e.children.push(t):e.node.appendChild(t.node)}function jt(e,t){Vc?e.html=t:Dc(e.node,t)}function Vt(e,t){Vc?e.text=t:Uc(e.node,t)}function Bt(){return this.node.nodeName}function Wt(e){return{node:e,children:[],html:null,text:null,toString:Bt}}function Ht(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?Hc(!1):void 0,"number"!=typeof t?Hc(!1):void 0,0===t||t-1 in e?void 0:Hc(!1),"function"==typeof e.callee?Hc(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function qt(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function Kt(e){return qt(e)?Array.isArray(e)?e.slice():Ht(e):[e]}function Yt(e){return zc?void 0:Yc(!1),Jc.hasOwnProperty(e)||(e="*"),Xc.hasOwnProperty(e)||("*"===e?zc.innerHTML="<link />":zc.innerHTML="<"+e+"></"+e+">",Xc[e]=!zc.firstChild),Xc[e]?Jc[e]:null}function zt(e){var t=e.match(up);return t&&t[1].toLowerCase()}function Xt(e,t){var n=ip;ip?void 0:ap(!1);var r=zt(e),o=r&&op(r);if(o){n.innerHTML=o[1]+e+o[2];for(var a=o[0];a--;)n=n.lastChild}else n.innerHTML=e;var i=n.getElementsByTagName("script");i.length&&(t?void 0:ap(!1),rp(i).forEach(t));for(var u=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return u}function Gt(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function Qt(e,t,n){vp.insertTreeBefore(e,t,n)}function $t(e,t,n){Array.isArray(t)?Jt(e,t[0],t[1],n):bp(e,t,n)}function Zt(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],en(e,t,n),e.removeChild(n)}e.removeChild(t)}function Jt(e,t,n,r){for(var o=t;;){var a=o.nextSibling;if(bp(e,o,r),o===n)break;o=a}}function en(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function tn(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&bp(r,document.createTextNode(n),o):n?(Cp(o,n),en(r,o,t)):en(r,e,t)}function nn(e){try{e.focus()}catch(e){}}function rn(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function on(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);return o||0===t||qp.hasOwnProperty(e)&&qp[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}function an(e){return e.replace(Yp,"-$1").toLowerCase()}function un(e){return Xp(e).replace(Gp,"-ms-")}function ln(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}function sn(e){return'"'+sd(e)+'"'}function cn(e){return!!md.hasOwnProperty(e)||!hd.hasOwnProperty(e)&&(fd.test(e)?(md[e]=!0,!0):(hd[e]=!0,!1))}function pn(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}function dn(e){yd.enqueueEvents(e),yd.processEventQueue(!1)}function fn(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function hn(e){if(wd[e])return wd[e];if(!Ed[e])return e;var t=Ed[e];for(var n in t)if(t.hasOwnProperty(n)&&n in kd)return wd[e]=t[n];return""}function mn(e){return Object.prototype.hasOwnProperty.call(e,Ud)||(e[Ud]=Dd++,Od[e[Ud]]={}),Od[e[Ud]]}function vn(e){null!=e.checkedLink&&null!=e.valueLink?Wd("87"):void 0}function gn(e){vn(e),null!=e.value||null!=e.onChange?Wd("88"):void 0}function yn(e){vn(e),null!=e.checked||null!=e.onChange?Wd("89"):void 0}function _n(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function Cn(){this._rootNodeID&&nf.updateWrapper(this)}function bn(e){var t=this._currentElement.props,n=Jd.executeOnChange(t,e);tf.asap(Cn,this);var r=t.name;if("radio"===t.type&&null!=r){for(var o=ef.getNodeFromInstance(this),a=o;a.parentNode;)a=a.parentNode;for(var i=a.querySelectorAll("input[name="+JSON.stringify(""+r)+'][type="radio"]'),u=0;u<i.length;u++){var l=i[u];if(l!==o&&l.form===o.form){var s=ef.getInstanceFromNode(l);s?void 0:Qd("90"),tf.asap(Cn,s)}}}return n}function En(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=af.getValue(e);null!=t&&wn(this,Boolean(e.multiple),t)}}function wn(e,t,n){var r,o,a=uf.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<a.length;o++){var i=r.hasOwnProperty(a[o].value);a[o].selected!==i&&(a[o].selected=i)}}else{for(r=""+n,o=0;o<a.length;o++)if(a[o].value===r)return void(a[o].selected=!0);a.length&&(a[0].selected=!0)}}function kn(e){var t=this._currentElement.props,n=af.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),lf.asap(En,this),n}function Tn(e){var t="";return ff.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:vf||(vf=!0))}),t}function Pn(){this._rootNodeID&&kf.updateWrapper(this)}function Nn(e){var t=this._currentElement.props,n=bf.executeOnChange(t,e);return wf.asap(Pn,this),n}function Sn(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function Mn(e,t){if(Sn(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(var o=0;o<n.length;o++)if(!Lf.call(t,n[o])||!Sn(e[n[o]],t[n[o]]))return!1;return!0}function xn(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,a=typeof t;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}function In(e){}function An(e,t){}function On(e){return!(!e.prototype||!e.prototype.isReactComponent)}function Rn(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}function Dn(e){return ih?void 0:ah("111",e.type),new ih(e)}function Ln(e){return new uh(e)}function Un(e){return e instanceof uh}function Fn(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function jn(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function Vn(e,t){var n;if(null===e||e===!1)n=hh.create(Vn);else if("object"==typeof e){var r=e,o=r.type;if("function"!=typeof o&&"string"!=typeof o){var a="";a+=Fn(r._owner),ph("130",null==o?o:typeof o,a)}"string"==typeof r.type?n=mh.createInternalComponent(r):jn(r.type)?(n=new r.type(r),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new vh(r)}else"string"==typeof e||"number"==typeof e?n=mh.createInstanceForText(e):ph("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}function Bn(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function Wn(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}function Hn(e){var t=e&&(Mh&&e[Mh]||e[xh]);if("function"==typeof t)return t}function qn(e,t){return e&&"object"==typeof e&&null!=e.key?Dh.escape(e.key):t.toString(36)}function Kn(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===Oh)return n(r,e,""===t?Lh+qn(e,0):t),1;var a,i,u=0,l=""===t?Lh:t+Uh;if(Array.isArray(e))for(var s=0;s<e.length;s++)a=e[s],i=l+qn(a,s),u+=Kn(a,i,n,r);else{var c=Rh(e);if(c){var p,d=c.call(e);if(c!==e.entries)for(var f=0;!(p=d.next()).done;)a=p.value,i=l+qn(a,f++),u+=Kn(a,i,n,r);else for(;!(p=d.next()).done;){var h=p.value;h&&(a=h[1],i=l+Dh.escape(h[0])+Uh+qn(a,0),u+=Kn(a,i,n,r))}}else if("object"===o){var m="",v=String(e);Ah("31","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,m)}}return u}function Yn(e,t,n){return null==e?0:Kn(e,"",t,n)}function zn(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function Xn(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=zh(t,!0))}function Gn(e,t,n,r){if(e&&"object"==typeof e){var o=e,a=void 0===o[n];a&&null!=t&&(o[n]=t)}}function Qn(e,t){if(null==e)return e;var n={};return Zh(e,Gn,n),n}function $n(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function Zn(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:nm.getHostNode(e),toIndex:n,afterNode:t}}function Jn(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function er(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function tr(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function nr(e,t){return t&&(e=e||[],e.push(t)),e}function rr(e,t){tm.processChildrenUpdates(e,t)}function or(e){sm.enqueueUpdate(e)}function ar(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function ir(e,t){var n=lm.get(e);return n?n:null}function ur(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){}function sr(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new ym(this)}function cr(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function pr(e,t){t&&(nv[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?wm("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?wm("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&Qm in t.dangerouslySetInnerHTML?void 0:wm("61")),null!=t.style&&"object"!=typeof t.style?wm("62",cr(e)):void 0)}function dr(e,t,n,r){if(!(r instanceof Bm)){var o=e._hostContainerInfo,a=o._node&&o._node.nodeType===Zm,i=a?o._node:o._ownerDocument;Ym(t,i),r.getReactMountReady().enqueue(fr,{inst:e,registrationName:t,listener:n})}}function fr(){var e=this;Im.putListener(e.inst,e.registrationName,e.listener)}function hr(){var e=this;Lm.postMountWrapper(e)}function mr(){var e=this;jm.postMountWrapper(e)}function vr(){var e=this;Um.postMountWrapper(e)}function gr(){var e=this;e._rootNodeID?void 0:wm("63");var t=Km(e);switch(t?void 0:wm("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[Om.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in Jm)Jm.hasOwnProperty(n)&&e._wrapperState.listeners.push(Om.trapBubbledEvent(n,Jm[n],t));break;case"source":e._wrapperState.listeners=[Om.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[Om.trapBubbledEvent("topError","error",t),Om.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[Om.trapBubbledEvent("topReset","reset",t),Om.trapBubbledEvent("topSubmit","submit",t)];
break;case"input":case"select":case"textarea":e._wrapperState.listeners=[Om.trapBubbledEvent("topInvalid","invalid",t)]}}function yr(){Fm.postUpdateWrapper(this)}function _r(e){av.call(ov,e)||(rv.test(e)?void 0:wm("65",e),ov[e]=!0)}function Cr(e,t){return e.indexOf("-")>=0||null!=t.is}function br(e){var t=e.type;_r(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}function Er(e,t){"_hostNode"in e?void 0:fv("33"),"_hostNode"in t?void 0:fv("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,a=t;a;a=a._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var i=n;i--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function wr(e,t){"_hostNode"in e?void 0:fv("35"),"_hostNode"in t?void 0:fv("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function kr(e){return"_hostNode"in e?void 0:fv("36"),e._hostParent}function Tr(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function Pr(e,t,n,r,o){for(var a=e&&t?Er(e,t):null,i=[];e&&e!==a;)i.push(e),e=e._hostParent;for(var u=[];t&&t!==a;)u.push(t),t=t._hostParent;var l;for(l=0;l<i.length;l++)n(i[l],"bubbled",r);for(l=u.length;l-- >0;)n(u[l],"captured",o)}function Nr(){this.reinitializeTransaction()}function Sr(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}function Mr(e){for(;e._hostParent;)e=e._hostParent;var t=Bv.getNodeFromInstance(e),n=t.parentNode;return Bv.getClosestInstanceFromNode(n)}function xr(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function Ir(e){var t=Hv(e.nativeEvent),n=Bv.getClosestInstanceFromNode(t),r=n;do e.ancestors.push(r),r=r&&Mr(r);while(r);for(var o=0;o<e.ancestors.length;o++)n=e.ancestors[o],Kv._handleTopLevel(e.topLevelType,n,e.nativeEvent,Hv(e.nativeEvent))}function Ar(e){var t=qv(window);e(t)}function Or(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Rr(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function Dr(e,t){for(var n=Or(e),r=0,o=0;n;){if(3===n.nodeType){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=Or(Rr(n))}}function Lr(e,t,n,r){return e===n&&t===r}function Ur(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var a=o.text.length,i=a+r;return{start:a,end:i}}function Fr(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,r=t.anchorOffset,o=t.focusNode,a=t.focusOffset,i=t.getRangeAt(0);try{i.startContainer.nodeType,i.endContainer.nodeType}catch(e){return null}var u=Lr(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=u?0:i.toString().length,s=i.cloneRange();s.selectNodeContents(e),s.setEnd(i.startContainer,i.startOffset);var c=Lr(s.startContainer,s.startOffset,s.endContainer,s.endOffset),p=c?0:s.toString().length,d=p+l,f=document.createRange();f.setStart(n,r),f.setEnd(o,a);var h=f.collapsed;return{start:h?d:p,end:h?p:d}}function jr(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function Vr(e,t){if(window.getSelection){var n=window.getSelection(),r=e[ig()].length,o=Math.min(t.start,r),a=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var u=ag(e,o),l=ag(e,a);if(u&&l){var s=document.createRange();s.setStart(u.node,u.offset),n.removeAllRanges(),o>a?(n.addRange(s),n.extend(l.node,l.offset)):(s.setEnd(l.node,l.offset),n.addRange(s))}}}function Br(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}function Wr(e){return pg(e)&&3==e.nodeType}function Hr(e,t){return!(!e||!t)&&(e===t||!fg(e)&&(fg(t)?Hr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function qr(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}function Kr(e){return gg(document.documentElement,e)}function Yr(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=wg.getPooled(null),this.useCreateElement=e}function zr(e){if("selectionStart"in e&&Wg.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function Xr(e,t){if(Zg||null==Gg||Gg!==qg())return null;var n=zr(Gg);if(!$g||!Yg($g,n)){$g=n;var r=Hg.getPooled(Xg.select,Qg,e,t);return r.type="select",r.target=Gg,jg.accumulateTwoPhaseDispatches(r),r}return null}function Gr(e,t,n,r){return ny.call(this,e,t,n,r)}function Qr(e,t,n,r){return ay.call(this,e,t,n,r)}function $r(e,t,n,r){return ly.call(this,e,t,n,r)}function Zr(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}function Jr(e){if(e.key){var t=fy[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=dy(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?hy[e.keyCode]||"Unidentified":""}function eo(e,t,n,r){return vy.call(this,e,t,n,r)}function to(e,t,n,r){return Ey.call(this,e,t,n,r)}function no(e,t,n,r){return Ty.call(this,e,t,n,r)}function ro(e,t,n,r){return My.call(this,e,t,n,r)}function oo(e,t,n,r){return Ay.call(this,e,t,n,r)}function ao(e){return"."+e._rootNodeID}function io(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function uo(){E_||(E_=!0,g_.EventEmitter.injectReactEventListener(v_),g_.EventPluginHub.injectEventPluginOrder(i_),g_.EventPluginUtils.injectComponentTree(p_),g_.EventPluginUtils.injectTreeTraversal(f_),g_.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:b_,EnterLeaveEventPlugin:u_,ChangeEventPlugin:a_,SelectEventPlugin:C_,BeforeInputEventPlugin:o_}),g_.HostComponent.injectGenericComponentClass(c_),g_.HostComponent.injectTextComponentClass(h_),g_.DOMProperty.injectDOMPropertyConfig(r_),g_.DOMProperty.injectDOMPropertyConfig(l_),g_.DOMProperty.injectDOMPropertyConfig(__),g_.EmptyComponent.injectEmptyComponentFactory(function(e){return new d_(e)}),g_.Updates.injectReconcileTransaction(y_),g_.Updates.injectBatchingStrategy(m_),g_.Component.injectEnvironment(s_))}function lo(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===k_?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}function so(e){for(var t=1,n=0,r=0,o=e.length,a=o&-4;r<a;){for(var i=Math.min(r+4096,a);r<i;r+=4)n+=(t+=e.charCodeAt(r))+(t+=e.charCodeAt(r+1))+(t+=e.charCodeAt(r+2))+(t+=e.charCodeAt(r+3));t%=S_,n%=S_}for(;r<o;r++)n+=t+=e.charCodeAt(r);return t%=S_,n%=S_,t|n<<16}function co(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function po(e){return e?e.nodeType===nC?e.documentElement:e.firstChild:null}function fo(e){return e.getAttribute&&e.getAttribute(J_)||""}function ho(e,t,n,r,o){var a;if(H_.logTopLevelRenders){var i=e._currentElement.props.child,u=i.type;a="React mount: "+("string"==typeof u?u:u.displayName||u.name),console.time(a)}var l=Y_.mountComponent(e,n,null,B_(e,t),o,0);a&&console.timeEnd(a),e._renderedComponent._topLevelWrapper=e,uC._mountImageIntoNode(l,t,e,r,n)}function mo(e,t,n,r){var o=X_.ReactReconcileTransaction.getPooled(!n&&W_.useCreateElement);o.perform(ho,null,e,t,o,n,r),X_.ReactReconcileTransaction.release(o)}function vo(e,t,n){for(Y_.unmountComponent(e,n),t.nodeType===nC&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function go(e){var t=po(e);if(t){var n=V_.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function yo(e){return!(!e||e.nodeType!==tC&&e.nodeType!==nC&&e.nodeType!==rC)}function _o(e){var t=po(e),n=t&&V_.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function Co(e){var t=_o(e);return t?t._hostContainerInfo._topLevelWrapper:null}function bo(e){for(var t;(t=e._renderedNodeType)===cC.COMPOSITE;)e=e._renderedComponent;return t===cC.HOST?e._renderedComponent:t===cC.EMPTY?null:void 0}function Eo(e){if(null==e)return null;if(1===e.nodeType)return e;var t=hC.get(e);return t?(t=mC(t),t?fC.getNodeFromInstance(t):null):void("function"==typeof e.render?dC("44"):dC("45",Object.keys(e)))}var wo=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,To=t()?Object.assign:function(t,n){for(var r,o,a=e(t),i=1;i<arguments.length;i++){r=Object(arguments[i]);for(var u in r)wo.call(r,u)&&(a[u]=r[u]);if(Object.getOwnPropertySymbols){o=Object.getOwnPropertySymbols(r);for(var l=0;l<o.length;l++)ko.call(r,o[l])&&(a[o[l]]=r[o[l]])}}return a},Po=n,No=function(e){},So=r,Mo=Po,xo=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},Io=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},Ao=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},Oo=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},Ro=function(e){var t=this;e instanceof t?void 0:Mo("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},Do=10,Lo=xo,Uo=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||Lo,n.poolSize||(n.poolSize=Do),n.release=Ro,n},Fo={addPoolingTo:Uo,oneArgumentPooler:xo,twoArgumentPooler:Io,threeArgumentPooler:Ao,fourArgumentPooler:Oo},jo=Fo,Vo={current:null},Bo=Vo,Wo=function(){};Wo.thatReturns=o,Wo.thatReturnsFalse=o(!1),Wo.thatReturnsTrue=o(!0),Wo.thatReturnsNull=o(null),Wo.thatReturnsThis=function(){return this},Wo.thatReturnsArgument=function(e){return e};var Ho=Wo,qo="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ko=qo,Yo=To,zo=Bo,Xo=Object.prototype.hasOwnProperty,Go=Ko,Qo={key:!0,ref:!0,__self:!0,__source:!0},$o=function(e,t,n,r,o,a,i){var u={$$typeof:Go,type:e,key:t,ref:n,props:i,_owner:a};return u};$o.createElement=function(e,t,n){var r,o={},u=null,l=null,s=null,c=null;if(null!=t){a(t)&&(l=t.ref),i(t)&&(u=""+t.key),s=void 0===t.__self?null:t.__self,c=void 0===t.__source?null:t.__source;for(r in t)Xo.call(t,r)&&!Qo.hasOwnProperty(r)&&(o[r]=t[r])}var p=arguments.length-2;if(1===p)o.children=n;else if(p>1){for(var d=Array(p),f=0;f<p;f++)d[f]=arguments[f+2];o.children=d}if(e&&e.defaultProps){var h=e.defaultProps;for(r in h)void 0===o[r]&&(o[r]=h[r])}return $o(e,u,l,s,c,zo.current,o)},$o.createFactory=function(e){var t=$o.createElement.bind(null,e);return t.type=e,t},$o.cloneAndReplaceKey=function(e,t){var n=$o(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},$o.cloneElement=function(e,t,n){var r,o=Yo({},e.props),u=e.key,l=e.ref,s=e._self,c=e._source,p=e._owner;if(null!=t){a(t)&&(l=t.ref,p=zo.current),i(t)&&(u=""+t.key);var d;e.type&&e.type.defaultProps&&(d=e.type.defaultProps);for(r in t)Xo.call(t,r)&&!Qo.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==d?o[r]=d[r]:o[r]=t[r])}var f=arguments.length-2;if(1===f)o.children=n;else if(f>1){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];o.children=h}return $o(e.type,u,l,s,c,p,o)},$o.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Go};var Zo=$o,Jo="function"==typeof Symbol&&Symbol.iterator,ea="@@iterator",ta=u,na={escape:l,unescape:s},ra=na,oa=Po,aa=Ko,ia=ta,ua=ra,la=".",sa=":",ca=d,pa=jo,da=Zo,fa=Ho,ha=ca,ma=pa.twoArgumentPooler,va=pa.fourArgumentPooler,ga=/\/+/g;h.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},pa.addPoolingTo(h,ma),g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},pa.addPoolingTo(g,va);var ya={forEach:v,map:C,mapIntoWithKeyPrefixInternal:_,count:E,toArray:w},_a=ya,Ca={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){k(e,"forceUpdate")},enqueueReplaceState:function(e,t){k(e,"replaceState")},enqueueSetState:function(e,t){k(e,"setState")}},ba=Ca,Ea={},wa=Ea,ka=Po,Ta=ba,Pa=wa;T.prototype.isReactComponent={},T.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?ka("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},T.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};var Na=T,Sa=To,Ma=Na,xa=ba,Ia=wa;N.prototype=Ma.prototype,P.prototype=new N,P.prototype.constructor=P,Sa(P.prototype,Ma.prototype),P.prototype.isPureReactComponent=!0;var Aa=P,Oa={},Ra=Oa,Da=Po,La=To,Ua=Na,Fa=Zo,ja=ba,Va=wa,Ba="mixins",Wa=[],Ha={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},qa={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)x(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=La({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=La({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=O(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=La({},e.propTypes,t)},statics:function(e,t){I(e,t)},autobind:function(){}},Ka={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},Ya=function(){};La(Ya.prototype,Ua.prototype,Ka);var za={createClass:function(e){var t=S(function(e,n,r){this.__reactAutoBindPairs.length&&L(this),this.props=e,this.context=n,this.refs=Va,this.updater=r||ja,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?Da("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new Ya,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],Wa.forEach(x.bind(null,t)),x(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:Da("83");for(var n in Ha)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){Wa.push(e)}}},Xa=za,Ga=Zo,Qa=Ga.createFactory,$a={a:Qa("a"),abbr:Qa("abbr"),address:Qa("address"),area:Qa("area"),article:Qa("article"),aside:Qa("aside"),audio:Qa("audio"),b:Qa("b"),base:Qa("base"),bdi:Qa("bdi"),bdo:Qa("bdo"),big:Qa("big"),blockquote:Qa("blockquote"),body:Qa("body"),br:Qa("br"),button:Qa("button"),canvas:Qa("canvas"),caption:Qa("caption"),cite:Qa("cite"),code:Qa("code"),col:Qa("col"),colgroup:Qa("colgroup"),data:Qa("data"),datalist:Qa("datalist"),dd:Qa("dd"),del:Qa("del"),details:Qa("details"),dfn:Qa("dfn"),dialog:Qa("dialog"),div:Qa("div"),dl:Qa("dl"),dt:Qa("dt"),em:Qa("em"),embed:Qa("embed"),fieldset:Qa("fieldset"),figcaption:Qa("figcaption"),figure:Qa("figure"),footer:Qa("footer"),form:Qa("form"),h1:Qa("h1"),h2:Qa("h2"),h3:Qa("h3"),h4:Qa("h4"),h5:Qa("h5"),h6:Qa("h6"),head:Qa("head"),header:Qa("header"),hgroup:Qa("hgroup"),hr:Qa("hr"),html:Qa("html"),i:Qa("i"),iframe:Qa("iframe"),img:Qa("img"),input:Qa("input"),ins:Qa("ins"),kbd:Qa("kbd"),keygen:Qa("keygen"),label:Qa("label"),legend:Qa("legend"),li:Qa("li"),link:Qa("link"),main:Qa("main"),map:Qa("map"),mark:Qa("mark"),menu:Qa("menu"),menuitem:Qa("menuitem"),meta:Qa("meta"),meter:Qa("meter"),nav:Qa("nav"),noscript:Qa("noscript"),object:Qa("object"),ol:Qa("ol"),optgroup:Qa("optgroup"),option:Qa("option"),output:Qa("output"),p:Qa("p"),param:Qa("param"),picture:Qa("picture"),pre:Qa("pre"),progress:Qa("progress"),q:Qa("q"),rp:Qa("rp"),rt:Qa("rt"),ruby:Qa("ruby"),s:Qa("s"),samp:Qa("samp"),script:Qa("script"),section:Qa("section"),select:Qa("select"),small:Qa("small"),source:Qa("source"),span:Qa("span"),strong:Qa("strong"),style:Qa("style"),sub:Qa("sub"),summary:Qa("summary"),sup:Qa("sup"),table:Qa("table"),tbody:Qa("tbody"),td:Qa("td"),textarea:Qa("textarea"),tfoot:Qa("tfoot"),th:Qa("th"),thead:Qa("thead"),time:Qa("time"),title:Qa("title"),tr:Qa("tr"),track:Qa("track"),u:Qa("u"),ul:Qa("ul"),var:Qa("var"),video:Qa("video"),wbr:Qa("wbr"),circle:Qa("circle"),clipPath:Qa("clipPath"),defs:Qa("defs"),ellipse:Qa("ellipse"),g:Qa("g"),image:Qa("image"),line:Qa("line"),linearGradient:Qa("linearGradient"),mask:Qa("mask"),path:Qa("path"),pattern:Qa("pattern"),polygon:Qa("polygon"),polyline:Qa("polyline"),radialGradient:Qa("radialGradient"),rect:Qa("rect"),stop:Qa("stop"),svg:Qa("svg"),text:Qa("text"),tspan:Qa("tspan")},Za=$a,Ja="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ei=Ja,ti=Zo,ni=Ra,ri=ei,oi=Ho,ai=ta,ii="<<anonymous>>",ui={array:V("array"),bool:V("boolean"),func:V("function"),number:V("number"),object:V("object"),string:V("string"),symbol:V("symbol"),any:B(),arrayOf:W,element:H(),instanceOf:q,node:X(),objectOf:Y,oneOf:K,oneOfType:z,shape:G};F.prototype=Error.prototype;var li,si,ci=ui,pi="15.4.2",di=Po,fi=Zo,hi=te,mi=To,vi=_a,gi=Na,yi=Aa,_i=Xa,Ci=Za,bi=Zo,Ei=ci,wi=pi,ki=hi,Ti=bi.createElement,Pi=bi.createFactory,Ni=bi.cloneElement,Si=mi,Mi={Children:{map:vi.map,forEach:vi.forEach,count:vi.count,toArray:vi.toArray,only:ki},Component:gi,PureComponent:yi,createElement:Ti,cloneElement:Ni,isValidElement:bi.isValidElement,PropTypes:Ei,createClass:_i.createClass,createFactory:Pi,createMixin:function(e){return e},DOM:Ci,version:wi,__spread:Si},xi=Mi,Ii=xi,Ai=ne,Oi=Ai,Ri={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=Ri,n=e.Properties||{},r=e.DOMAttributeNamespaces||{},o=e.DOMAttributeNames||{},a=e.DOMPropertyNames||{},i=e.DOMMutationMethods||{};e.isCustomAttribute&&Li._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var u in n){Li.properties.hasOwnProperty(u)?Oi("48",u):void 0;var l=u.toLowerCase(),s=n[u],c={attributeName:l,attributeNamespace:null,propertyName:u,mutationMethod:null,mustUseProperty:re(s,t.MUST_USE_PROPERTY),hasBooleanValue:re(s,t.HAS_BOOLEAN_VALUE),hasNumericValue:re(s,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:re(s,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:re(s,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(c.hasBooleanValue+c.hasNumericValue+c.hasOverloadedBooleanValue<=1?void 0:Oi("50",u),o.hasOwnProperty(u)){var p=o[u];c.attributeName=p}r.hasOwnProperty(u)&&(c.attributeNamespace=r[u]),a.hasOwnProperty(u)&&(c.propertyName=a[u]),i.hasOwnProperty(u)&&(c.mutationMethod=i[u]),Li.properties[u]=c}}},Di=":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",Li={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:Di,ATTRIBUTE_NAME_CHAR:Di+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<Li._isCustomAttributeFunctions.length;t++){var n=Li._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:Ri},Ui=Li,Fi={hasCachedChildNodes:1},ji=Fi,Vi=Ai,Bi=Ui,Wi=ji,Hi=Bi.ID_ATTRIBUTE_NAME,qi=Wi,Ki="__reactInternalInstance$"+Math.random().toString(36).slice(2),Yi={getClosestInstanceFromNode:se,getInstanceFromNode:ce,getNodeFromInstance:pe,precacheChildNodes:le,precacheNode:ie,uncacheNode:ue},zi=Yi,Xi={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}},Gi=Xi,Qi=Ai,$i=null,Zi={},Ji={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){$i?Qi("101"):void 0,$i=Array.prototype.slice.call(e),de()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];Zi.hasOwnProperty(n)&&Zi[n]===r||(Zi[n]?Qi("102",n):void 0,Zi[n]=r,t=!0)}t&&de()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return Ji.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=Ji.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){$i=null;for(var e in Zi)Zi.hasOwnProperty(e)&&delete Zi[e];Ji.plugins.length=0;var t=Ji.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=Ji.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}},eu=Ji,tu=null,nu={invokeGuardedCallback:me,invokeGuardedCallbackWithCatch:me,rethrowCaughtError:function(){if(tu){var e=tu;throw tu=null,e}}},ru=nu,ou=Ai,au=ru,iu={injectComponentTree:function(e){li=e},injectTreeTraversal:function(e){si=e}},uu={isEndish:ve,isMoveish:ge,isStartish:ye,executeDirectDispatch:we,executeDispatchesInOrder:Ce,executeDispatchesInOrderStopAtTrue:Ee,hasDispatches:ke,getInstanceFromNode:function(e){return li.getInstanceFromNode(e)},getNodeFromInstance:function(e){return li.getNodeFromInstance(e)},isAncestor:function(e,t){return si.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return si.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return si.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return si.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,o){return si.traverseEnterLeave(e,t,n,r,o)},injection:iu},lu=uu,su=Ai,cu=Te,pu=Pe,du=Ai,fu=eu,hu=lu,mu=ru,vu=cu,gu=pu,yu={},_u=null,Cu=function(e,t){e&&(hu.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},bu=function(e){return Cu(e,!0)},Eu=function(e){return Cu(e,!1)},wu=function(e){return"."+e._rootNodeID},ku={injection:{injectEventPluginOrder:fu.injectEventPluginOrder,injectEventPluginsByName:fu.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?du("94",t,typeof n):void 0;var r=wu(e),o=yu[t]||(yu[t]={});o[r]=n;var a=fu.registrationNameModules[t];a&&a.didPutListener&&a.didPutListener(e,t,n)},getListener:function(e,t){var n=yu[t];if(Se(t,e._currentElement.type,e._currentElement.props))return null;var r=wu(e);return n&&n[r]},deleteListener:function(e,t){var n=fu.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=yu[t];if(r){var o=wu(e);delete r[o]}},deleteAllListeners:function(e){var t=wu(e);for(var n in yu)if(yu.hasOwnProperty(n)&&yu[n][t]){var r=fu.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete yu[n][t]}},extractEvents:function(e,t,n,r){for(var o,a=fu.plugins,i=0;i<a.length;i++){var u=a[i];if(u){var l=u.extractEvents(e,t,n,r);l&&(o=vu(o,l))}}return o},enqueueEvents:function(e){e&&(_u=vu(_u,e))},processEventQueue:function(e){var t=_u;_u=null,e?gu(t,bu):gu(t,Eu),_u?du("95"):void 0,mu.rethrowCaughtError()},__purge:function(){yu={}},__getListenerBank:function(){return yu}},Tu=ku,Pu=Tu,Nu=lu,Su=cu,Mu=pu,xu=Pu.getListener,Iu={accumulateTwoPhaseDispatches:De,accumulateTwoPhaseDispatchesSkipTarget:Le,accumulateDirectDispatches:Fe,accumulateEnterLeaveDispatches:Ue},Au=Iu,Ou=!("undefined"==typeof window||!window.document||!window.document.createElement),Ru={canUseDOM:Ou,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:Ou&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:Ou&&!!window.screen,isInWorker:!Ou},Du=Ru,Lu=Ai,Uu=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},Fu=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},ju=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},Vu=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},Bu=function(e){var t=this;e instanceof t?void 0:Lu("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},Wu=10,Hu=Uu,qu=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||Hu,n.poolSize||(n.poolSize=Wu),n.release=Bu,n},Ku={addPoolingTo:qu,oneArgumentPooler:Uu,twoArgumentPooler:Fu,threeArgumentPooler:ju,fourArgumentPooler:Vu},Yu=Ku,zu=Du,Xu=null,Gu=je,Qu=To,$u=Yu,Zu=Gu;Qu(Ve.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[Zu()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var u=t>1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),$u.addPoolingTo(Ve);var Ju=Ve,el=To,tl=Yu,nl=Ho,rl=["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"],ol={type:null,target:null,currentTarget:nl.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};el(Be.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nl.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nl.thatReturnsTrue)},persist:function(){this.isPersistent=nl.thatReturnsTrue},isPersistent:nl.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<rl.length;n++)this[rl[n]]=null}}),Be.Interface=ol,Be.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var o=new r;el(o,e.prototype),e.prototype=o,e.prototype.constructor=e,e.Interface=el({},n.Interface,t),e.augmentClass=n.augmentClass,tl.addPoolingTo(e,tl.fourArgumentPooler)},tl.addPoolingTo(Be,tl.fourArgumentPooler);var al=Be,il=al,ul={data:null};il.augmentClass(We,ul);var ll=We,sl=al,cl={data:null};sl.augmentClass(He,cl);var pl=He,dl=Au,fl=Du,hl=Ju,ml=ll,vl=pl,gl=[9,13,27,32],yl=229,_l=fl.canUseDOM&&"CompositionEvent"in window,Cl=null;fl.canUseDOM&&"documentMode"in document&&(Cl=document.documentMode);var bl=fl.canUseDOM&&"TextEvent"in window&&!Cl&&!qe(),El=fl.canUseDOM&&(!_l||Cl&&Cl>8&&Cl<=11),wl=32,kl=String.fromCharCode(wl),Tl={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},Pl=!1,Nl=null,Sl={eventTypes:Tl,extractEvents:function(e,t,n,r){return[Qe(e,t,n,r),Je(e,t,n,r)]}},Ml=Sl,xl=Ai,Il=Yu,Al=function(){function e(t){et(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?xl("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}(),Ol=Il.addPoolingTo(Al),Rl={logTopLevelRenders:!1},Dl=Rl,Ll=Ai,Ul={addComponentAsRefTo:function(e,t,n){tt(n)?void 0:Ll("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){tt(n)?void 0:Ll("120");var r=n.getPublicInstance();r&&r.refs[t]===e.getPublicInstance()&&n.detachRef(t)}},Fl=Ul,jl=Fl,Vl={};Vl.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&nt(n,e,t._owner)}},Vl.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,a=null;return null!==t&&"object"==typeof t&&(o=t.ref,a=t._owner),n!==o||"string"==typeof o&&a!==r},Vl.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&rt(n,e,t._owner)}};var Bl=Vl,Wl=Bl,Hl={mountComponent:function(e,t,n,r,o,a){var i=e.mountComponent(t,n,r,o,a);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(ot,e),i},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){Wl.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,r){var o=e._currentElement;if(t!==o||r!==e._context){var a=Wl.shouldUpdateRefs(o,t);a&&Wl.detachRefs(e,o),e.receiveComponent(t,n,r),a&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(ot,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}},ql=Hl,Kl=Ai,Yl={},zl={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,r,o,a,i,u){this.isInTransaction()?Kl("27"):void 0;var l,s;try{
this._isInTransaction=!0,l=!0,this.initializeAll(0),s=e.call(t,n,r,o,a,i,u),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return s},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=Yl,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===Yl)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:Kl("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r,o=t[n],a=this.wrapperInitData[n];try{r=!0,a!==Yl&&o.close&&o.close.call(this,a),r=!1}finally{if(r)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}},Xl=zl,Gl=Ai,Ql=To,$l=Ol,Zl=Yu,Jl=Dl,es=ql,ts=Xl,ns=[],rs=0,os=$l.getPooled(),as=!1,is=null,us={initialize:function(){this.dirtyComponentsLength=ns.length},close:function(){this.dirtyComponentsLength!==ns.length?(ns.splice(0,this.dirtyComponentsLength),ps()):ns.length=0}},ls={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},ss=[us,ls];Ql(it.prototype,ts,{getTransactionWrappers:function(){return ss},destructor:function(){this.dirtyComponentsLength=null,$l.release(this.callbackQueue),this.callbackQueue=null,fs.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return ts.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),Zl.addPoolingTo(it);var cs,ps=function(){for(;ns.length||as;){if(ns.length){var e=it.getPooled();e.perform(st,null,e),it.release(e)}if(as){as=!1;var t=os;os=$l.getPooled(),t.notifyAll(),$l.release(t)}}},ds={injectReconcileTransaction:function(e){e?void 0:Gl("126"),fs.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:Gl("127"),"function"!=typeof e.batchedUpdates?Gl("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?Gl("129"):void 0,is=e}},fs={ReactReconcileTransaction:null,batchedUpdates:ut,enqueueUpdate:ct,flushBatchedUpdates:ps,injection:ds,asap:pt},hs=fs,ms=dt,vs=Du;vs.canUseDOM&&(cs=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);var gs=ft,ys={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},_s=ht,Cs=Tu,bs=Au,Es=Du,ws=zi,ks=hs,Ts=al,Ps=ms,Ns=gs,Ss=_s,Ms={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},xs=null,Is=null,As=null,Os=null,Rs=!1;Es.canUseDOM&&(Rs=Ns("change")&&(!document.documentMode||document.documentMode>8));var Ds=!1;Es.canUseDOM&&(Ds=Ns("input")&&(!document.documentMode||document.documentMode>11));var Ls={get:function(){return Os.get.call(this)},set:function(e){As=""+e,Os.set.call(this,e)}},Us={eventTypes:Ms,extractEvents:function(e,t,n,r){var o,a,i=t?ws.getNodeFromInstance(t):window;if(mt(i)?Rs?o=Ct:a=bt:Ss(i)?Ds?o=Tt:(o=Nt,a=Pt):St(i)&&(o=Mt),o){var u=o(e,t);if(u){var l=Ts.getPooled(Ms.change,u,n,r);return l.type="change",bs.accumulateTwoPhaseDispatches(l),l}}a&&a(e,i,t)}},Fs=Us,js=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"],Vs=js,Bs=al,Ws=ms,Hs={view:function(e){if(e.view)return e.view;var t=Ws(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};Bs.augmentClass(xt,Hs);var qs=xt,Ks={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){Ks.currentScrollLeft=e.x,Ks.currentScrollTop=e.y}},Ys=Ks,zs={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Xs=At,Gs=qs,Qs=Ys,$s=Xs,Zs={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:$s,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+Qs.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+Qs.currentScrollTop}};Gs.augmentClass(Ot,Zs);var Js,ec=Ot,tc=Au,nc=zi,rc=ec,oc={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},ac={eventTypes:oc,extractEvents:function(e,t,n,r){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var o;if(r.window===r)o=r;else{var a=r.ownerDocument;o=a?a.defaultView||a.parentWindow:window}var i,u;if("topMouseOut"===e){i=t;var l=n.relatedTarget||n.toElement;u=l?nc.getClosestInstanceFromNode(l):null}else i=null,u=t;if(i===u)return null;var s=null==i?o:nc.getNodeFromInstance(i),c=null==u?o:nc.getNodeFromInstance(u),p=rc.getPooled(oc.mouseLeave,i,n,r);p.type="mouseleave",p.target=s,p.relatedTarget=c;var d=rc.getPooled(oc.mouseEnter,u,n,r);return d.type="mouseenter",d.target=c,d.relatedTarget=s,tc.accumulateEnterLeaveDispatches(p,d,i,u),[p,d]}},ic=ac,uc=Ui,lc=uc.injection.MUST_USE_PROPERTY,sc=uc.injection.HAS_BOOLEAN_VALUE,cc=uc.injection.HAS_NUMERIC_VALUE,pc=uc.injection.HAS_POSITIVE_NUMERIC_VALUE,dc=uc.injection.HAS_OVERLOADED_BOOLEAN_VALUE,fc={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+uc.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:sc,allowTransparency:0,alt:0,as:0,async:sc,autoComplete:0,autoPlay:sc,capture:sc,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:lc|sc,cite:0,classID:0,className:0,cols:pc,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:sc,coords:0,crossOrigin:0,data:0,dateTime:0,default:sc,defer:sc,dir:0,disabled:sc,download:dc,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:sc,formTarget:0,frameBorder:0,headers:0,height:0,hidden:sc,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:sc,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:lc|sc,muted:lc|sc,name:0,nonce:0,noValidate:sc,open:sc,optimum:0,pattern:0,placeholder:0,playsInline:sc,poster:0,preload:0,profile:0,radioGroup:0,readOnly:sc,referrerPolicy:0,rel:0,required:sc,reversed:sc,role:0,rows:pc,rowSpan:cc,sandbox:0,scope:0,scoped:sc,scrolling:0,seamless:sc,selected:lc|sc,shape:0,size:pc,sizes:0,span:pc,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:cc,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:sc,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}},hc=fc,mc={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},vc=mc,gc=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e},yc=gc,_c=Du,Cc=vc,bc=/^[ \r\n\t\f]/,Ec=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,wc=yc,kc=wc(function(e,t){if(e.namespaceURI!==Cc.svg||"innerHTML"in e)e.innerHTML=t;else{Js=Js||document.createElement("div"),Js.innerHTML="<svg>"+t+"</svg>";for(var n=Js.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(_c.canUseDOM){var Tc=document.createElement("div");Tc.innerHTML=" ",""===Tc.innerHTML&&(kc=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),bc.test(t)||"<"===t[0]&&Ec.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),Tc=null}var Pc=kc,Nc=/["'&<>]/,Sc=Dt,Mc=Du,xc=Sc,Ic=Pc,Ac=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};Mc.canUseDOM&&("textContent"in document.documentElement||(Ac=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void Ic(e,xc(t))}));var Oc=Ac,Rc=vc,Dc=Pc,Lc=yc,Uc=Oc,Fc=1,jc=11,Vc="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),Bc=Lc(function(e,t,n){t.node.nodeType===jc||t.node.nodeType===Fc&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===Rc.html)?(Lt(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),Lt(t))});Wt.insertTreeBefore=Bc,Wt.replaceChildWithTree=Ut,Wt.queueChild=Ft,Wt.queueHTML=jt,Wt.queueText=Vt;var Wc=Wt,Hc=So,qc=Kt,Kc=Du,Yc=So,zc=Kc.canUseDOM?document.createElement("div"):null,Xc={},Gc=[1,'<select multiple="true">',"</select>"],Qc=[1,"<table>","</table>"],$c=[3,"<table><tbody><tr>","</tr></tbody></table>"],Zc=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],Jc={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:Gc,option:Gc,caption:Qc,colgroup:Qc,tbody:Qc,tfoot:Qc,thead:Qc,td:$c,th:$c},ep=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];ep.forEach(function(e){Jc[e]=Zc,Xc[e]=!0});var tp=Yt,np=Du,rp=qc,op=tp,ap=So,ip=np.canUseDOM?document.createElement("div"):null,up=/^\s*<(\w+)/,lp=Xt,sp=Ai,cp=Wc,pp=Du,dp=lp,fp=Ho,hp={dangerouslyReplaceNodeWithMarkup:function(e,t){if(pp.canUseDOM?void 0:sp("56"),t?void 0:sp("57"),"HTML"===e.nodeName?sp("58"):void 0,"string"==typeof t){var n=dp(t,fp)[0];e.parentNode.replaceChild(n,e)}else cp.replaceChildWithTree(e,t)}},mp=hp,vp=Wc,gp=mp,yp=yc,_p=Pc,Cp=Oc,bp=yp(function(e,t,n){e.insertBefore(t,n)}),Ep=gp.dangerouslyReplaceNodeWithMarkup,wp={dangerouslyReplaceNodeWithMarkup:Ep,replaceDelimitedText:tn,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];switch(r.type){case"INSERT_MARKUP":Qt(e,r.content,Gt(e,r.afterNode));break;case"MOVE_EXISTING":$t(e,r.fromNode,Gt(e,r.afterNode));break;case"SET_MARKUP":_p(e,r.content);break;case"TEXT_CONTENT":Cp(e,r.content);break;case"REMOVE_NODE":Zt(e,r.fromNode)}}}},kp=wp,Tp=kp,Pp=zi,Np={dangerouslyProcessChildrenUpdates:function(e,t){var n=Pp.getNodeFromInstance(e);Tp.processUpdates(n,t)}},Sp=Np,Mp=kp,xp=Sp,Ip={processChildrenUpdates:xp.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:Mp.dangerouslyReplaceNodeWithMarkup},Ap=Ip,Op=nn,Rp=zi,Dp=Op,Lp={focusDOMComponent:function(){Dp(Rp.getNodeFromInstance(this))}},Up=Lp,Fp={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!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},jp=["Webkit","ms","Moz","O"];Object.keys(Fp).forEach(function(e){jp.forEach(function(t){Fp[rn(t,e)]=Fp[e]})});var Vp={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},Bp={isUnitlessNumber:Fp,shorthandPropertyExpansions:Vp},Wp=Bp,Hp=Wp,qp=Hp.isUnitlessNumber,Kp=on,Yp=/([A-Z])/g,zp=an,Xp=zp,Gp=/^ms-/,Qp=un,$p=ln,Zp=Wp,Jp=Du,ed=Kp,td=Qp,nd=$p,rd=nd(function(e){return td(e)}),od=!1,ad="cssFloat";if(Jp.canUseDOM){var id=document.createElement("div").style;try{id.font=""}catch(e){od=!0}void 0===document.documentElement.style.cssFloat&&(ad="styleFloat")}var ud={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=rd(r)+":",n+=ed(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var r=e.style;for(var o in t)if(t.hasOwnProperty(o)){var a=ed(o,t[o],n);if("float"!==o&&"cssFloat"!==o||(o=ad),a)r[o]=a;else{var i=od&&Zp.shorthandPropertyExpansions[o];if(i)for(var u in i)r[u]="";else r[o]=""}}}},ld=ud,sd=Sc,cd=sn,pd=Ui,dd=cd,fd=new RegExp("^["+pd.ATTRIBUTE_NAME_START_CHAR+"]["+pd.ATTRIBUTE_NAME_CHAR+"]*$"),hd={},md={},vd={createMarkupForID:function(e){return pd.ID_ATTRIBUTE_NAME+"="+dd(e)},setAttributeForID:function(e,t){e.setAttribute(pd.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return pd.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(pd.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=pd.properties.hasOwnProperty(e)?pd.properties[e]:null;if(n){if(pn(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+dd(t)}return pd.isCustomAttribute(e)?null==t?"":e+"="+dd(t):null},createMarkupForCustomAttribute:function(e,t){return cn(e)&&null!=t?e+"="+dd(t):""},setValueForProperty:function(e,t,n){var r=pd.properties.hasOwnProperty(t)?pd.properties[t]:null;if(r){var o=r.mutationMethod;if(o)o(e,n);else{if(pn(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var a=r.attributeName,i=r.attributeNamespace;i?e.setAttributeNS(i,a,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(a,""):e.setAttribute(a,""+n)}}}else if(pd.isCustomAttribute(t))return void vd.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){cn(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=pd.properties.hasOwnProperty(t)?pd.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else pd.isCustomAttribute(t)&&e.removeAttribute(t)}},gd=vd,yd=Tu,_d={handleTopLevel:function(e,t,n,r){var o=yd.extractEvents(e,t,n,r);dn(o)}},Cd=_d,bd=Du,Ed={animationend:fn("Animation","AnimationEnd"),animationiteration:fn("Animation","AnimationIteration"),animationstart:fn("Animation","AnimationStart"),transitionend:fn("Transition","TransitionEnd")},wd={},kd={};bd.canUseDOM&&(kd=document.createElement("div").style,"AnimationEvent"in window||(delete Ed.animationend.animation,delete Ed.animationiteration.animation,delete Ed.animationstart.animation),"TransitionEvent"in window||delete Ed.transitionend.transition);var Td,Pd=hn,Nd=To,Sd=eu,Md=Cd,xd=Ys,Id=Pd,Ad=gs,Od={},Rd=!1,Dd=0,Ld={topAbort:"abort",topAnimationEnd:Id("animationend")||"animationend",topAnimationIteration:Id("animationiteration")||"animationiteration",topAnimationStart:Id("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:Id("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},Ud="_reactListenersID"+String(Math.random()).slice(2),Fd=Nd({},Md,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(Fd.handleTopLevel),Fd.ReactEventListener=e}},setEnabled:function(e){Fd.ReactEventListener&&Fd.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!Fd.ReactEventListener||!Fd.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=mn(n),o=Sd.registrationNameDependencies[e],a=0;a<o.length;a++){var i=o[a];r.hasOwnProperty(i)&&r[i]||("topWheel"===i?Ad("wheel")?Fd.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):Ad("mousewheel")?Fd.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):Fd.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===i?Ad("scroll",!0)?Fd.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):Fd.ReactEventListener.trapBubbledEvent("topScroll","scroll",Fd.ReactEventListener.WINDOW_HANDLE):"topFocus"===i||"topBlur"===i?(Ad("focus",!0)?(Fd.ReactEventListener.trapCapturedEvent("topFocus","focus",n),Fd.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):Ad("focusin")&&(Fd.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),Fd.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),r.topBlur=!0,r.topFocus=!0):Ld.hasOwnProperty(i)&&Fd.ReactEventListener.trapBubbledEvent(i,Ld[i],n),r[i]=!0)}},trapBubbledEvent:function(e,t,n){return Fd.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return Fd.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===Td&&(Td=Fd.supportsEventPageXY()),!Td&&!Rd){var e=xd.refreshScrollValues;Fd.ReactEventListener.monitorScrollValue(e),Rd=!0}}}),jd=Fd,Vd="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Bd=Vd,Wd=Ai,Hd=xi,qd=Bd,Kd={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Yd={value:function(e,t,n){return!e[t]||Kd[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:Hd.PropTypes.func},zd={},Xd={checkPropTypes:function(e,t,n){for(var r in Yd){if(Yd.hasOwnProperty(r))var o=Yd[r](t,r,e,"prop",null,qd);if(o instanceof Error&&!(o.message in zd)){zd[o.message]=!0;_n(n)}}},getValue:function(e){return e.valueLink?(gn(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(yn(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(gn(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(yn(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}},Gd=Xd,Qd=Ai,$d=To,Zd=gd,Jd=Gd,ef=zi,tf=hs,nf={getHostProps:function(e,t){var n=Jd.getValue(t),r=Jd.getChecked(t),o=$d({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:bn.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&Zd.setValueForProperty(ef.getNodeFromInstance(e),"checked",n||!1);var r=ef.getNodeFromInstance(e),o=Jd.getValue(t);if(null!=o){var a=""+o;a!==r.value&&(r.value=a)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=ef.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}},rf=nf,of=To,af=Gd,uf=zi,lf=hs,sf=!1,cf={getHostProps:function(e,t){return of({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=af.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:kn.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||sf||(sf=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=af.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,wn(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?wn(e,Boolean(t.multiple),t.defaultValue):wn(e,Boolean(t.multiple),t.multiple?[]:""))}},pf=cf,df=To,ff=xi,hf=zi,mf=pf,vf=!1,gf={mountWrapper:function(e,t,n){var r=null;if(null!=n){var o=n;"optgroup"===o._tag&&(o=o._hostParent),null!=o&&"select"===o._tag&&(r=mf.getSelectValueContext(o))}var a=null;if(null!=r){var i;if(i=null!=t.value?t.value+"":Tn(t.children),a=!1,Array.isArray(r)){for(var u=0;u<r.length;u++)if(""+r[u]===i){a=!0;break}}else a=""+r===i}e._wrapperState={selected:a}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=hf.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=df({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var r=Tn(t.children);return r&&(n.children=r),n}},yf=gf,_f=Ai,Cf=To,bf=Gd,Ef=zi,wf=hs,kf={getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?_f("91"):void 0;var n=Cf({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=bf.getValue(t),r=n;if(null==n){var o=t.defaultValue,a=t.children;null!=a&&(null!=o?_f("92"):void 0,Array.isArray(a)&&(a.length<=1?void 0:_f("93"),a=a[0]),o=""+a),null==o&&(o=""),r=o}e._wrapperState={initialValue:""+r,listeners:null,onChange:Nn.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=Ef.getNodeFromInstance(e),r=bf.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=Ef.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}},Tf=kf,Pf=Ai,Nf=!1,Sf={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){Nf?Pf("104"):void 0,Sf.replaceNodeWithMarkup=e.replaceNodeWithMarkup,Sf.processChildrenUpdates=e.processChildrenUpdates,Nf=!0}}},Mf=Sf,xf={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}},If=xf,Af=Ai,Of=xi,Rf={HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?Rf.EMPTY:Of.isValidElement(e)?"function"==typeof e.type?Rf.COMPOSITE:Rf.HOST:void Af("26",e)}},Df=Rf,Lf=Object.prototype.hasOwnProperty,Uf=Mn,Ff=xn,jf=Ai,Vf=To,Bf=xi,Wf=Mf,Hf=Bo,qf=ru,Kf=If,Yf=Df,zf=ql,Xf=wa,Gf=Uf,Qf=Ff,$f={ImpureClass:0,PureClass:1,StatelessFunctional:2};In.prototype.render=function(){var e=Kf.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return An(e,t),t};var Zf,Jf=1,eh={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,r){this._context=r,this._mountOrder=Jf++,this._hostParent=t,this._hostContainerInfo=n;var o,a=this._currentElement.props,i=this._processContext(r),u=this._currentElement.type,l=e.getUpdateQueue(),s=On(u),c=this._constructComponent(s,a,i,l);s||null!=c&&null!=c.render?Rn(u)?this._compositeType=$f.PureClass:this._compositeType=$f.ImpureClass:(o=c,An(u,o),null===c||c===!1||Bf.isValidElement(c)?void 0:jf("105",u.displayName||u.name||"Component"),c=new In(u),this._compositeType=$f.StatelessFunctional),c.props=a,c.context=i,c.refs=Xf,c.updater=l,this._instance=c,Kf.set(c,this);var p=c.state;void 0===p&&(c.state=p=null),"object"!=typeof p||Array.isArray(p)?jf("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var d;return d=c.unstable_handleError?this.performInitialMountWithErrorHandling(o,t,n,e,r):this.performInitialMount(o,t,n,e,r),c.componentDidMount&&e.getReactMountReady().enqueue(c.componentDidMount,c),d},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var a,i=r.checkpoint();try{a=this.performInitialMount(e,t,n,r,o)}catch(u){r.rollback(i),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),a=this.performInitialMount(e,t,n,r,o)}return a},performInitialMount:function(e,t,n,r,o){var a=this._instance,i=0;a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),void 0===e&&(e=this._renderValidatedComponent());var u=Yf.getType(e);this._renderedNodeType=u;var l=this._instantiateReactComponent(e,u!==Yf.EMPTY);this._renderedComponent=l;var s=zf.mountComponent(l,r,t,n,this._processChildContext(o),i);return s},getHostNode:function(){return zf.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";qf.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(zf.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,Kf.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return Xf;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?jf("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:jf("108",this.getName()||"ReactCompositeComponent",o);return Vf({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?zf.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var a=this._instance;null==a?jf("136",this.getName()||"ReactCompositeComponent"):void 0;var i,u=!1;this._context===o?i=a.context:(i=this._processContext(o),u=!0);var l=t.props,s=n.props;t!==n&&(u=!0),u&&a.componentWillReceiveProps&&a.componentWillReceiveProps(s,i);var c=this._processPendingState(s,i),p=!0;this._pendingForceUpdate||(a.shouldComponentUpdate?p=a.shouldComponentUpdate(s,c,i):this._compositeType===$f.PureClass&&(p=!Gf(l,s)||!Gf(a.state,c))),this._updateBatchNumber=null,p?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,s,c,i,e,o)):(this._currentElement=n,this._context=o,a.props=s,a.state=c,a.context=i)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=Vf({},o?r[0]:n.state),i=o?1:0;i<r.length;i++){var u=r[i];Vf(a,"function"==typeof u?u.call(n,a,e,t):u)}return a},_performComponentUpdate:function(e,t,n,r,o,a){var i,u,l,s=this._instance,c=Boolean(s.componentDidUpdate);c&&(i=s.props,u=s.state,l=s.context),s.componentWillUpdate&&s.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,s.props=t,s.state=n,s.context=r,this._updateRenderedComponent(o,a),c&&o.getReactMountReady().enqueue(s.componentDidUpdate.bind(s,i,u,l),s)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),a=0;if(Qf(r,o))zf.receiveComponent(n,o,e,this._processChildContext(t));else{var i=zf.getHostNode(n);zf.unmountComponent(n,!1);var u=Yf.getType(o);this._renderedNodeType=u;var l=this._instantiateReactComponent(o,u!==Yf.EMPTY);this._renderedComponent=l;var s=zf.mountComponent(l,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),a);this._replaceNodeWithMarkup(i,s,n)}},_replaceNodeWithMarkup:function(e,t,n){Wf.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==$f.StatelessFunctional){Hf.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext();
}finally{Hf.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||Bf.isValidElement(e)?void 0:jf("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?jf("110"):void 0;var r=t.getPublicInstance(),o=n.refs===Xf?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===$f.StatelessFunctional?null:e},_instantiateReactComponent:null},th=eh,nh={injectEmptyComponentFactory:function(e){Zf=e}},rh={create:function(e){return Zf(e)}};rh.injection=nh;var oh=rh,ah=Ai,ih=null,uh=null,lh={injectGenericComponentClass:function(e){ih=e},injectTextComponentClass:function(e){uh=e}},sh={createInternalComponent:Dn,createInstanceForText:Ln,isTextComponent:Un,injection:lh},ch=sh,ph=Ai,dh=To,fh=th,hh=oh,mh=ch,vh=function(e){this.construct(e)};dh(vh.prototype,fh,{_instantiateReactComponent:Vn});var gh,yh,_h,Ch,bh,Eh,wh,kh=Vn,Th={escape:Bn,unescape:Wn},Ph=Th,Nh="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Sh=Nh,Mh="function"==typeof Symbol&&Symbol.iterator,xh="@@iterator",Ih=Hn,Ah=Ai,Oh=Sh,Rh=Ih,Dh=Ph,Lh=".",Uh=":",Fh=Yn,jh="function"==typeof Array.from&&"function"==typeof Map&&zn(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&zn(Map.prototype.keys)&&"function"==typeof Set&&zn(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&zn(Set.prototype.keys);if(jh){var Vh=new Map,Bh=new Set;gh=function(e,t){Vh.set(e,t)},yh=function(e){return Vh.get(e)},_h=function(e){Vh.delete(e)},Ch=function(){return Array.from(Vh.keys())},bh=function(e){Bh.add(e)},Eh=function(e){Bh.delete(e)},wh=function(){return Array.from(Bh.keys())}}else{var Wh={},Hh={},qh=function(e){return"."+e},Kh=function(e){return parseInt(e.substr(1),10)};gh=function(e,t){var n=qh(e);Wh[n]=t},yh=function(e){var t=qh(e);return Wh[t]},_h=function(e){var t=qh(e);delete Wh[t]},Ch=function(){return Object.keys(Wh).map(Kh)},bh=function(e){var t=qh(e);Hh[t]=!0},Eh=function(e){var t=qh(e);delete Hh[t]},wh=function(){return Object.keys(Hh).map(Kh)}}var Yh=ql,zh=kh,Xh=Ff,Gh=Fh,Qh={instantiateChildren:function(e,t,n,r){if(null==e)return null;var o={};return Gh(e,Xn,o),o},updateChildren:function(e,t,n,r,o,a,i,u,l){if(t||e){var s,c;for(s in t)if(t.hasOwnProperty(s)){c=e&&e[s];var p=c&&c._currentElement,d=t[s];if(null!=c&&Xh(p,d))Yh.receiveComponent(c,d,o,u),t[s]=c;else{c&&(r[s]=Yh.getHostNode(c),Yh.unmountComponent(c,!1));var f=zh(d,!0);t[s]=f;var h=Yh.mountComponent(f,o,a,i,u,l);n.push(h)}}for(s in e)!e.hasOwnProperty(s)||t&&t.hasOwnProperty(s)||(c=e[s],r[s]=Yh.getHostNode(c),Yh.unmountComponent(c,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];Yh.unmountComponent(r,t)}}},$h=Qh,Zh=Fh,Jh=Qn,em=Ai,tm=Mf,nm=ql,rm=$h,om=Jh,am={Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return rm.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,a){var i,u=0;return i=om(t,u),rm.updateChildren(e,i,n,r,o,this,this._hostContainerInfo,a,u),i},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],a=0;for(var i in r)if(r.hasOwnProperty(i)){var u=r[i],l=0,s=nm.mountComponent(u,t,this,this._hostContainerInfo,n,l);u._mountIndex=a++,o.push(s)}return o},updateTextContent:function(e){var t=this._renderedChildren;rm.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&em("118");var r=[tr(e)];rr(this,r)},updateMarkup:function(e){var t=this._renderedChildren;rm.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&em("118");var r=[er(e)];rr(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},a=[],i=this._reconcilerUpdateChildren(r,e,a,o,t,n);if(i||r){var u,l=null,s=0,c=0,p=0,d=null;for(u in i)if(i.hasOwnProperty(u)){var f=r&&r[u],h=i[u];f===h?(l=nr(l,this.moveChild(f,d,s,c)),c=Math.max(f._mountIndex,c),f._mountIndex=s):(f&&(c=Math.max(f._mountIndex,c)),l=nr(l,this._mountChildAtIndex(h,a[p],d,s,t,n)),p++),s++,d=nm.getHostNode(h)}for(u in o)o.hasOwnProperty(u)&&(l=nr(l,this._unmountChild(r[u],o[u])));l&&rr(this,l),this._renderedChildren=i}},unmountChildren:function(e){var t=this._renderedChildren;rm.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return Zn(e,t,n)},createChild:function(e,t,n){return $n(n,t,e._mountIndex)},removeChild:function(e,t){return Jn(e,t)},_mountChildAtIndex:function(e,t,n,r,o,a){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}},im=am,um=Ai,lm=If,sm=hs,cm={isMounted:function(e){var t=lm.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){cm.validateCallback(t,n);var r=ir(e);return r?(r._pendingCallbacks?r._pendingCallbacks.push(t):r._pendingCallbacks=[t],void or(r)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],or(e)},enqueueForceUpdate:function(e){var t=ir(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,or(t))},enqueueReplaceState:function(e,t){var n=ir(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,or(n))},enqueueSetState:function(e,t){var n=ir(e,"setState");if(n){var r=n._pendingStateQueue||(n._pendingStateQueue=[]);r.push(t),or(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,or(e)},validateCallback:function(e,t){e&&"function"!=typeof e?um("122",t,ar(e)):void 0}},pm=cm,dm=pm,fm=function(){function e(t){ur(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&dm.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?dm.enqueueForceUpdate(e):lr(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?dm.enqueueReplaceState(e,t):lr(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?dm.enqueueSetState(e,t):lr(e,"setState")},e}(),hm=fm,mm=To,vm=Yu,gm=Xl,ym=hm,_m=[],Cm={enqueue:function(){}},bm={getTransactionWrappers:function(){return _m},getReactMountReady:function(){return Cm},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};mm(sr.prototype,gm,bm),vm.addPoolingTo(sr);var Em=sr,wm=Ai,km=To,Tm=Up,Pm=ld,Nm=Wc,Sm=vc,Mm=Ui,xm=gd,Im=Tu,Am=eu,Om=jd,Rm=ji,Dm=zi,Lm=rf,Um=yf,Fm=pf,jm=Tf,Vm=im,Bm=Em,Wm=Sc,Hm=Rm,qm=Im.deleteListener,Km=Dm.getNodeFromInstance,Ym=Om.listenTo,zm=Am.registrationNameModules,Xm={string:!0,number:!0},Gm="style",Qm="__html",$m={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Zm=11,Jm={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},ev={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},tv={listing:!0,pre:!0,textarea:!0},nv=km({menuitem:!0},ev),rv=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ov={},av={}.hasOwnProperty,iv=1;br.displayName="ReactDOMComponent",br.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=iv++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var o=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(gr,this);break;case"input":Lm.mountWrapper(this,o,t),o=Lm.getHostProps(this,o),e.getReactMountReady().enqueue(gr,this);break;case"option":Um.mountWrapper(this,o,t),o=Um.getHostProps(this,o);break;case"select":Fm.mountWrapper(this,o,t),o=Fm.getHostProps(this,o),e.getReactMountReady().enqueue(gr,this);break;case"textarea":jm.mountWrapper(this,o,t),o=jm.getHostProps(this,o),e.getReactMountReady().enqueue(gr,this)}pr(this,o);var a,i;null!=t?(a=t._namespaceURI,i=t._tag):n._tag&&(a=n._namespaceURI,i=n._tag),(null==a||a===Sm.svg&&"foreignobject"===i)&&(a=Sm.html),a===Sm.html&&("svg"===this._tag?a=Sm.svg:"math"===this._tag&&(a=Sm.mathml)),this._namespaceURI=a;var u;if(e.useCreateElement){var l,s=n._ownerDocument;if(a===Sm.html)if("script"===this._tag){var c=s.createElement("div"),p=this._currentElement.type;c.innerHTML="<"+p+"></"+p+">",l=c.removeChild(c.firstChild)}else l=o.is?s.createElement(this._currentElement.type,o.is):s.createElement(this._currentElement.type);else l=s.createElementNS(a,this._currentElement.type);Dm.precacheNode(this,l),this._flags|=Hm.hasCachedChildNodes,this._hostParent||xm.setAttributeForRoot(l),this._updateDOMProperties(null,o,e);var d=Nm(l);this._createInitialChildren(e,o,r,d),u=d}else{var f=this._createOpenTagMarkupAndPutListeners(e,o),h=this._createContentMarkup(e,o,r);u=!h&&ev[this._tag]?f+"/>":f+">"+h+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(hr,this),o.autoFocus&&e.getReactMountReady().enqueue(Tm.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(mr,this),o.autoFocus&&e.getReactMountReady().enqueue(Tm.focusDOMComponent,this);break;case"select":o.autoFocus&&e.getReactMountReady().enqueue(Tm.focusDOMComponent,this);break;case"button":o.autoFocus&&e.getReactMountReady().enqueue(Tm.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(vr,this)}return u},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(zm.hasOwnProperty(r))o&&dr(this,r,o,e);else{r===Gm&&(o&&(o=this._previousStyleCopy=km({},t.style)),o=Pm.createMarkupForStyles(o,this));var a=null;null!=this._tag&&Cr(this._tag,t)?$m.hasOwnProperty(r)||(a=xm.createMarkupForCustomAttribute(r,o)):a=xm.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+xm.createMarkupForRoot()),n+=" "+xm.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=Xm[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)r=Wm(a);else if(null!=i){var u=this.mountChildren(i,e,n);r=u.join("")}}return tv[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&Nm.queueHTML(r,o.__html);else{var a=Xm[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)""!==a&&Nm.queueText(r,a);else if(null!=i)for(var u=this.mountChildren(i,e,n),l=0;l<u.length;l++)Nm.queueChild(r,u[l])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var o=t.props,a=this._currentElement.props;switch(this._tag){case"input":o=Lm.getHostProps(this,o),a=Lm.getHostProps(this,a);break;case"option":o=Um.getHostProps(this,o),a=Um.getHostProps(this,a);break;case"select":o=Fm.getHostProps(this,o),a=Fm.getHostProps(this,a);break;case"textarea":o=jm.getHostProps(this,o),a=jm.getHostProps(this,a)}switch(pr(this,a),this._updateDOMProperties(o,a,e),this._updateDOMChildren(o,a,e,r),this._tag){case"input":Lm.updateWrapper(this);break;case"textarea":jm.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(yr,this)}},_updateDOMProperties:function(e,t,n){var r,o,a;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===Gm){var i=this._previousStyleCopy;for(o in i)i.hasOwnProperty(o)&&(a=a||{},a[o]="");this._previousStyleCopy=null}else zm.hasOwnProperty(r)?e[r]&&qm(this,r):Cr(this._tag,e)?$m.hasOwnProperty(r)||xm.deleteValueForAttribute(Km(this),r):(Mm.properties[r]||Mm.isCustomAttribute(r))&&xm.deleteValueForProperty(Km(this),r);for(r in t){var u=t[r],l=r===Gm?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&u!==l&&(null!=u||null!=l))if(r===Gm)if(u?u=this._previousStyleCopy=km({},u):this._previousStyleCopy=null,l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(a=a||{},a[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(a=a||{},a[o]=u[o])}else a=u;else if(zm.hasOwnProperty(r))u?dr(this,r,u,n):l&&qm(this,r);else if(Cr(this._tag,t))$m.hasOwnProperty(r)||xm.setValueForAttribute(Km(this),r,u);else if(Mm.properties[r]||Mm.isCustomAttribute(r)){var s=Km(this);null!=u?xm.setValueForProperty(s,r,u):xm.deleteValueForProperty(s,r)}}a&&Pm.setValueForStyles(Km(this),a,this)},_updateDOMChildren:function(e,t,n,r){var o=Xm[typeof e.children]?e.children:null,a=Xm[typeof t.children]?t.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,l=null!=o?null:e.children,s=null!=a?null:t.children,c=null!=o||null!=i,p=null!=a||null!=u;null!=l&&null==s?this.updateChildren(null,n,r):c&&!p&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=u?i!==u&&this.updateMarkup(""+u):null!=s&&this.updateChildren(s,n,r)},getHostNode:function(){return Km(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":wm("66",this._tag)}this.unmountChildren(e),Dm.uncacheNode(this),Im.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return Km(this)}},km(br.prototype,br.Mixin,Vm.Mixin);var uv=br,lv=To,sv=Wc,cv=zi,pv=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};lv(pv.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++;this._domID=o,this._hostParent=t,this._hostContainerInfo=n;var a=" react-empty: "+this._domID+" ";if(e.useCreateElement){var i=n._ownerDocument,u=i.createComment(a);return cv.precacheNode(this,u),sv(u)}return e.renderToStaticMarkup?"":"<!--"+a+"-->"},receiveComponent:function(){},getHostNode:function(){return cv.getNodeFromInstance(this)},unmountComponent:function(){cv.uncacheNode(this)}});var dv=pv,fv=Ai,hv={isAncestor:wr,getLowestCommonAncestor:Er,getParentInstance:kr,traverseTwoPhase:Tr,traverseEnterLeave:Pr},mv=Ai,vv=To,gv=kp,yv=Wc,_v=zi,Cv=Sc,bv=function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null};vv(bv.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,a=" react-text: "+o+" ",i=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var u=n._ownerDocument,l=u.createComment(a),s=u.createComment(i),c=yv(u.createDocumentFragment());return yv.queueChild(c,yv(l)),this._stringText&&yv.queueChild(c,yv(u.createTextNode(this._stringText))),yv.queueChild(c,yv(s)),_v.precacheNode(this,l),this._closingComment=s,c}var p=Cv(this._stringText);return e.renderToStaticMarkup?p:"<!--"+a+"-->"+p+"<!--"+i+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();gv.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=_v.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?mv("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,_v.uncacheNode(this)}});var Ev=bv,wv=To,kv=hs,Tv=Xl,Pv=Ho,Nv={initialize:Pv,close:function(){Iv.isBatchingUpdates=!1}},Sv={initialize:Pv,close:kv.flushBatchedUpdates.bind(kv)},Mv=[Sv,Nv];wv(Nr.prototype,Tv,{getTransactionWrappers:function(){return Mv}});var xv=new Nr,Iv={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=Iv.isBatchingUpdates;return Iv.isBatchingUpdates=!0,i?e(t,n,r,o,a):xv.perform(e,null,t,n,r,o,a)}},Av=Iv,Ov=Ho,Rv={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:Ov}},registerDefault:function(){}},Dv=Rv,Lv=Sr,Uv=To,Fv=Dv,jv=Du,Vv=Yu,Bv=zi,Wv=hs,Hv=ms,qv=Lv;Uv(xr.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),Vv.addPoolingTo(xr,Vv.twoArgumentPooler);var Kv={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:jv.canUseDOM?window:null,setHandleTopLevel:function(e){Kv._handleTopLevel=e},setEnabled:function(e){Kv._enabled=!!e},isEnabled:function(){return Kv._enabled},trapBubbledEvent:function(e,t,n){return n?Fv.listen(n,t,Kv.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?Fv.capture(n,t,Kv.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=Ar.bind(null,e);Fv.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(Kv._enabled){var n=xr.getPooled(e,t);try{Wv.batchedUpdates(Ir,n)}finally{xr.release(n)}}}},Yv=Kv,zv=Ui,Xv=Tu,Gv=lu,Qv=Mf,$v=oh,Zv=jd,Jv=ch,eg=hs,tg={Component:Qv.injection,DOMProperty:zv.injection,EmptyComponent:$v.injection,EventPluginHub:Xv.injection,EventPluginUtils:Gv.injection,EventEmitter:Zv.injection,HostComponent:Jv.injection,Updates:eg.injection},ng=tg,rg=Dr,og=Du,ag=rg,ig=Gu,ug=og.canUseDOM&&"selection"in document&&!("getSelection"in window),lg={getOffsets:ug?Ur:Fr,setOffsets:ug?jr:Vr},sg=lg,cg=Br,pg=cg,dg=Wr,fg=dg,hg=Hr,mg=qr,vg=sg,gg=hg,yg=Op,_g=mg,Cg={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=_g();return{focusedElem:e,selectionRange:Cg.hasSelectionCapabilities(e)?Cg.getSelection(e):null}},restoreSelection:function(e){var t=_g(),n=e.focusedElem,r=e.selectionRange;t!==n&&Kr(n)&&(Cg.hasSelectionCapabilities(n)&&Cg.setSelection(n,r),yg(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=vg.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else vg.setOffsets(e,t)}},bg=Cg,Eg=To,wg=Ol,kg=Yu,Tg=jd,Pg=bg,Ng=Xl,Sg=pm,Mg={initialize:Pg.getSelectionInformation,close:Pg.restoreSelection},xg={initialize:function(){var e=Tg.isEnabled();return Tg.setEnabled(!1),e},close:function(e){Tg.setEnabled(e)}},Ig={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},Ag=[Mg,xg,Ig],Og={getTransactionWrappers:function(){return Ag},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return Sg},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){wg.release(this.reactMountReady),this.reactMountReady=null}};Eg(Yr.prototype,Ng,Og),kg.addPoolingTo(Yr);var Rg=Yr,Dg={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},Lg={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},Ug={Properties:{},DOMAttributeNamespaces:{xlinkActuate:Dg.xlink,xlinkArcrole:Dg.xlink,xlinkHref:Dg.xlink,xlinkRole:Dg.xlink,xlinkShow:Dg.xlink,xlinkTitle:Dg.xlink,xlinkType:Dg.xlink,xmlBase:Dg.xml,xmlLang:Dg.xml,xmlSpace:Dg.xml},DOMAttributeNames:{}};Object.keys(Lg).forEach(function(e){Ug.Properties[e]=0,Lg[e]&&(Ug.DOMAttributeNames[e]=Lg[e])});var Fg=Ug,jg=Au,Vg=Du,Bg=zi,Wg=bg,Hg=al,qg=mg,Kg=_s,Yg=Uf,zg=Vg.canUseDOM&&"documentMode"in document&&document.documentMode<=11,Xg={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},Gg=null,Qg=null,$g=null,Zg=!1,Jg=!1,ey={eventTypes:Xg,extractEvents:function(e,t,n,r){if(!Jg)return null;var o=t?Bg.getNodeFromInstance(t):window;switch(e){case"topFocus":(Kg(o)||"true"===o.contentEditable)&&(Gg=o,Qg=t,$g=null);break;case"topBlur":Gg=null,Qg=null,$g=null;break;case"topMouseDown":Zg=!0;break;case"topContextMenu":case"topMouseUp":return Zg=!1,Xr(n,r);case"topSelectionChange":if(zg)break;case"topKeyDown":case"topKeyUp":return Xr(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(Jg=!0)}},ty=ey,ny=al,ry={animationName:null,elapsedTime:null,pseudoElement:null};ny.augmentClass(Gr,ry);var oy=Gr,ay=al,iy={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};ay.augmentClass(Qr,iy);var uy=Qr,ly=qs,sy={relatedTarget:null};ly.augmentClass($r,sy);var cy=$r,py=Zr,dy=py,fy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hy={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"},my=Jr,vy=qs,gy=py,yy=my,_y=Xs,Cy={key:yy,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:_y,charCode:function(e){return"keypress"===e.type?gy(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?gy(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};vy.augmentClass(eo,Cy);var by=eo,Ey=ec,wy={dataTransfer:null};Ey.augmentClass(to,wy);var ky=to,Ty=qs,Py=Xs,Ny={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Py};Ty.augmentClass(no,Ny);var Sy=no,My=al,xy={propertyName:null,elapsedTime:null,pseudoElement:null};My.augmentClass(ro,xy);var Iy=ro,Ay=ec,Oy={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};Ay.augmentClass(oo,Oy);var Ry=oo,Dy=Ai,Ly=Dv,Uy=Au,Fy=zi,jy=oy,Vy=uy,By=al,Wy=cy,Hy=by,qy=ec,Ky=ky,Yy=Sy,zy=Iy,Xy=qs,Gy=Ry,Qy=Ho,$y=py,Zy={},Jy={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};Zy[e]=o,Jy[r]=o});var e_={},t_={eventTypes:Zy,extractEvents:function(e,t,n,r){var o=Jy[e];if(!o)return null;var a;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":a=By;break;case"topKeyPress":if(0===$y(n))return null;case"topKeyDown":case"topKeyUp":a=Hy;break;case"topBlur":case"topFocus":a=Wy;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":a=qy;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":a=Ky;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":a=Yy;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":a=jy;break;case"topTransitionEnd":a=zy;break;case"topScroll":a=Xy;break;case"topWheel":a=Gy;break;case"topCopy":case"topCut":case"topPaste":a=Vy}a?void 0:Dy("86",e);var i=a.getPooled(o,t,n,r);return Uy.accumulateTwoPhaseDispatches(i),i},didPutListener:function(e,t,n){if("onClick"===t&&!io(e._tag)){var r=ao(e),o=Fy.getNodeFromInstance(e);e_[r]||(e_[r]=Ly.listen(o,"click",Qy))}},willDeleteListener:function(e,t){if("onClick"===t&&!io(e._tag)){var n=ao(e);e_[n].remove(),delete e_[n]}}},n_=t_,r_=Gi,o_=Ml,a_=Fs,i_=Vs,u_=ic,l_=hc,s_=Ap,c_=uv,p_=zi,d_=dv,f_=hv,h_=Ev,m_=Av,v_=Yv,g_=ng,y_=Rg,__=Fg,C_=ty,b_=n_,E_=!1,w_={inject:uo},k_=9,T_=lo,P_={useCreateElement:!0,useFiber:!1},N_=P_,S_=65521,M_=so,x_=M_,I_=/\/?>/,A_=/^<\!\-\-/,O_={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=x_(e);return A_.test(e)?e:e.replace(I_," "+O_.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(O_.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var r=x_(e);return r===n;
}},R_=O_,D_=Ai,L_=Wc,U_=Ui,F_=xi,j_=jd,V_=zi,B_=T_,W_=N_,H_=Dl,q_=If,K_=R_,Y_=ql,z_=pm,X_=hs,G_=wa,Q_=kh,$_=Pc,Z_=Ff,J_=U_.ID_ATTRIBUTE_NAME,eC=U_.ROOT_ATTRIBUTE_NAME,tC=1,nC=9,rC=11,oC={},aC=1,iC=function(){this.rootID=aC++};iC.prototype.isReactComponent={},iC.prototype.render=function(){return this.props.child},iC.isReactTopLevelWrapper=!0;var uC={TopLevelWrapper:iC,_instancesByReactRootID:oC,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return uC.scrollMonitor(r,function(){z_.enqueueElementInternal(e,t,n),o&&z_.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){yo(t)?void 0:D_("37"),j_.ensureScrollValueMonitoring();var o=Q_(e,!1);X_.batchedUpdates(mo,o,t,n,r);var a=o._instance.rootID;return oC[a]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&q_.has(e)?void 0:D_("38"),uC._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){z_.validateCallback(r,"ReactDOM.render"),F_.isValidElement(t)?void 0:D_("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var o,a=F_.createElement(iC,{child:t});if(e){var i=q_.get(e);o=i._processChildContext(i._context)}else o=G_;var u=Co(n);if(u){var l=u._currentElement,s=l.props.child;if(Z_(s,t)){var c=u._renderedComponent.getPublicInstance(),p=r&&function(){r.call(c)};return uC._updateRootComponent(u,a,o,n,p),c}uC.unmountComponentAtNode(n)}var d=po(n),f=d&&!!fo(d),h=go(n),m=f&&!u&&!h,v=uC._renderNewRootComponent(a,n,m,o)._renderedComponent.getPublicInstance();return r&&r.call(v),v},render:function(e,t,n){return uC._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){yo(e)?void 0:D_("40");var t=Co(e);if(!t){go(e),1===e.nodeType&&e.hasAttribute(eC);return!1}return delete oC[t._instance.rootID],X_.batchedUpdates(vo,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,r,o){if(yo(t)?void 0:D_("41"),r){var a=po(t);if(K_.canReuseMarkup(e,a))return void V_.precacheNode(n,a);var i=a.getAttribute(K_.CHECKSUM_ATTR_NAME);a.removeAttribute(K_.CHECKSUM_ATTR_NAME);var u=a.outerHTML;a.setAttribute(K_.CHECKSUM_ATTR_NAME,i);var l=e,s=co(l,u),c=" (client) "+l.substring(s-20,s+20)+"\n (server) "+u.substring(s-20,s+20);t.nodeType===nC?D_("42",c):void 0}if(t.nodeType===nC?D_("43"):void 0,o.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);L_.insertTreeBefore(t,e,null)}else $_(t,e),V_.precacheNode(n,t.firstChild)}},lC=uC,sC="15.4.2",cC=Df,pC=bo,dC=Ai,fC=zi,hC=If,mC=pC,vC=Eo,gC=lC,yC=gC.renderSubtreeIntoContainer,_C=zi,CC=w_,bC=lC,EC=ql,wC=hs,kC=sC,TC=vC,PC=pC,NC=yC;CC.inject();var SC={findDOMNode:TC,render:bC.render,unmountComponentAtNode:bC.unmountComponentAtNode,version:kC,unstable_batchedUpdates:wC.batchedUpdates,unstable_renderSubtreeIntoContainer:NC};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:_C.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=PC(e)),e?_C.getNodeFromInstance(e):null}},Mount:bC,Reconciler:EC});var MC=SC,xC=MC;xC.render(Ii.createElement("h1",null,"Hello, world!"),document.getElementById("root"))}();
<body>
<main id="root"></main>
<script src="bundle.js"></script>
</body>
import React from 'react';
import ReactDOM from 'react-dom';
ReactDOM.render(
<h1>Hello, world!</h1>,
document.getElementById('root')
);
{
"devDependencies": {
"babel-plugin-external-helpers": "^6.18.0",
"babel-plugin-transform-react-jsx": "^6.8.0",
"babel-preset-latest": "^6.16.0",
"rollup": "^0.41.4",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^7.0.0",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-uglify": "^1.0.1",
"rollup-watch": "^3.2.2"
},
"scripts": {
"build": "export NODE_ENV=production && rollup -c",
"dev": "export NODE_ENV=development && rollup -c -w"
},
"dependencies": {
"react": "^15.4.2",
"react-dom": "^15.4.2"
}
}
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import nodeResolve from 'rollup-plugin-node-resolve';
import replace from 'rollup-plugin-replace';
import uglify from 'rollup-plugin-uglify';
const env = process.env.NODE_ENV;
export default {
entry: 'main.jsx',
dest: 'bundle.js',
format: 'iife',
plugins: [
nodeResolve(),
replace({ 'process.env.NODE_ENV': JSON.stringify(env) }),
commonjs(),
babel({
exclude: 'node_modules/**'
}),
env === 'production' && uglify()
]
};
@LenaNesg
Copy link

On running your example I received such error :>
@ build C:\GIT\Rich-Harris\cb14f4bc0670c47d00d191565be36bf0

export NODE_ENV=production && rollup -c

'export' is not recognized as an internal or external command,
operable program or batch file.

@minocoko
Copy link

install cross-env and replace 'export' with 'cross-env'

@funkybob
Copy link

This seems to only consider *.jsx for transforming JSX content... is there a way to control that?

@thongpol
Copy link

install cross-env and replace 'export' with 'cross-env'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment