/** @license React vundefined
 * react-art.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

'use strict';var aa=require("react"),ba=require("object-assign"),ca=require("art/core/transform"),da=require("art/modes/current"),n=require("scheduler");var ea=require("art/modes/fast-noSideEffects");function fa(){fa=Object.assign||function(b){for(var a=1;a<arguments.length;a++){var c=arguments[a],d;for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(b[d]=c[d])}return b};return fa.apply(this,arguments)}
function ha(b,a){b.prototype=Object.create(a.prototype);b.prototype.constructor=b;b.__proto__=a}function ia(b){if(void 0===b)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b}
function p(b){for(var a=b.message,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)c+="&args[]="+encodeURIComponent(arguments[d]);b.message="Minified React error #"+a+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ";return b}var u=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;u.hasOwnProperty("ReactCurrentDispatcher")||(u.ReactCurrentDispatcher={current:null});
u.hasOwnProperty("ReactCurrentBatchConfig")||(u.ReactCurrentBatchConfig={suspense:null});
var z="function"===typeof Symbol&&Symbol.for,ja=z?Symbol.for("react.element"):60103,ka=z?Symbol.for("react.portal"):60106,la=z?Symbol.for("react.fragment"):60107,ma=z?Symbol.for("react.strict_mode"):60108,na=z?Symbol.for("react.profiler"):60114,oa=z?Symbol.for("react.provider"):60109,pa=z?Symbol.for("react.context"):60110,ra=z?Symbol.for("react.concurrent_mode"):60111,sa=z?Symbol.for("react.forward_ref"):60112,ta=z?Symbol.for("react.suspense"):60113,ua=z?Symbol.for("react.suspense_list"):60120,va=
z?Symbol.for("react.memo"):60115,wa=z?Symbol.for("react.lazy"):60116;z&&Symbol.for("react.fundamental");z&&Symbol.for("react.responder");var xa="function"===typeof Symbol&&Symbol.iterator;function ya(b){if(null===b||"object"!==typeof b)return null;b=xa&&b[xa]||b["@@iterator"];return"function"===typeof b?b:null}
function za(b){if(-1===b._status){b._status=0;var a=b._ctor;a=a();b._result=a;a.then(function(a){0===b._status&&(a=a.default,b._status=1,b._result=a)},function(a){0===b._status&&(b._status=2,b._result=a)})}}
function Aa(b){if(null==b)return null;if("function"===typeof b)return b.displayName||b.name||null;if("string"===typeof b)return b;switch(b){case la:return"Fragment";case ka:return"Portal";case na:return"Profiler";case ma:return"StrictMode";case ta:return"Suspense";case ua:return"SuspenseList"}if("object"===typeof b)switch(b.$$typeof){case pa:return"Context.Consumer";case oa:return"Context.Provider";case sa:var a=b.render;a=a.displayName||a.name||"";return b.displayName||(""!==a?"ForwardRef("+a+")":
"ForwardRef");case va:return Aa(b.type);case wa:if(b=1===b._status?b._result:null)return Aa(b)}return null}function Ba(b){var a=b;if(b.alternate)for(;a.return;)a=a.return;else{b=a;do{a=b;if(0!==(a.effectTag&1026))return 1;b=a.return}while(b)}return 3===a.tag?2:3}function Ca(b){if(2!==Ba(b))throw p(Error(188));}
function Da(b){var a=b.alternate;if(!a){a=Ba(b);if(3===a)throw p(Error(188));return 1===a?null:b}for(var c=b,d=a;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Ca(e),b;if(f===d)return Ca(e),a;f=f.sibling}throw p(Error(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h=f.child;h;){if(h===
c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw p(Error(189));}}if(c.alternate!==d)throw p(Error(190));}if(3!==c.tag)throw p(Error(188));return c.stateNode.current===c?b:a}function Ea(b){b=Da(b);if(!b)return null;for(var a=b;;){if(5===a.tag||6===a.tag)return a;if(a.child)a.child.return=a,a=a.child;else{if(a===b)break;for(;!a.sibling;){if(!a.return||a.return===b)return null;a=a.return}a.sibling.return=a.return;a=a.sibling}}return null}
var Fa={CLIPPING_RECTANGLE:"ClippingRectangle",GROUP:"Group",SHAPE:"Shape",TEXT:"Text"},Ga={onClick:"click",onMouseMove:"mousemove",onMouseOver:"mouseover",onMouseOut:"mouseout",onMouseUp:"mouseup",onMouseDown:"mousedown"};function Ha(b){return b?"string"===typeof b?b:b.length?b.join(""):"":""}function Ia(){throw p(Error(305));}var Ja=new ca,Ka={},La={};function Ma(b){return function(a){var c=b._listeners[a.type];c&&("function"===typeof c?c.call(b,a):c.handleEvent&&c.handleEvent(a))}}
function Na(b){if(b._subscriptions)for(var a in b._subscriptions)b._subscriptions[a]();b._subscriptions=null;b._listeners=null}function Oa(b,a){Pa(b,a,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});b.width=a.width;b.height=a.height}function Qa(b,a){Pa(b,a,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{});b.width=a.width;b.height=a.height}
function Pa(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};var d=null!=a.scaleX?a.scaleX:null!=a.scale?a.scale:1;var e=null!=a.scaleY?a.scaleY:null!=a.scale?a.scale:1;Ja.transformTo(1,0,0,1,0,0).move(a.x||0,a.y||0).rotate(a.rotation||0,a.originX,a.originY).scale(d,e,a.originX,a.originY);null!=a.transform&&Ja.transform(a.transform);b.xx===Ja.xx&&b.yx===Ja.yx&&b.xy===Ja.xy&&b.yy===Ja.yy&&b.x===Ja.x&&b.y===Ja.y||b.transformTo(Ja);a.cursor===c.cursor&&a.title===c.title||b.indicate(a.cursor,
a.title);b.blend&&a.opacity!==c.opacity&&b.blend(null==a.opacity?1:a.opacity);a.visible!==c.visible&&(null==a.visible||a.visible?b.show():b.hide());for(var f in Ga)c=b,d=Ga[f],e=a[f],c._listeners||(c._listeners={},c._subscriptions={}),(c._listeners[d]=e)?c._subscriptions[d]||(c._subscriptions[d]=c.subscribe(d,Ma(c),c)):c._subscriptions[d]&&(c._subscriptions[d](),delete c._subscriptions[d])}
function Ra(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Pa(b,a,c);c.fill!==a.fill&&(a.fill&&a.fill.applyFill?a.fill.applyFill(b):b.fill(a.fill));c.stroke===a.stroke&&c.strokeWidth===a.strokeWidth&&c.strokeCap===a.strokeCap&&c.strokeJoin===a.strokeJoin&&c.strokeDash===a.strokeDash||b.stroke(a.stroke,a.strokeWidth,a.strokeCap,a.strokeJoin,a.strokeDash)}
function Sa(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Ra(b,a,c);var d=a.d||Ha(a.children),e=b._prevDelta;if(d!==b._prevPath||d.delta!==e||c.height!==a.height||c.width!==a.width)b.draw(d,a.width,a.height),b._prevDelta=d.delta,b._prevPath=d}
function Ta(b,a){var c=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};Ra(b,a,c);var d=a.children,e;if(!(e=b._currentString!==d)){e=a.font;var f=c.font;e=e===f?!0:"string"===typeof f||"string"===typeof e?!1:f.fontSize===e.fontSize&&f.fontStyle===e.fontStyle&&f.fontVariant===e.fontVariant&&f.fontWeight===e.fontWeight&&f.fontFamily===e.fontFamily;e=!e}if(e||a.alignment!==c.alignment||a.path!==c.path)b.draw(d,a.font,a.alignment,a.path),b._currentString=d}var Ua=setTimeout,Va=clearTimeout;
function Wa(b,a){return"string"===typeof a.children||"number"===typeof a.children}var Xa=/^(.*)[\\\/]/;function Ya(b){var a="";do{a:switch(b.tag){case 3:case 4:case 6:case 7:case 10:case 9:var c="";break a;default:var d=b._debugOwner,e=b._debugSource,f=Aa(b.type);c=null;d&&(c=Aa(d.type));d=f;f="";e?f=" (at "+e.fileName.replace(Xa,"")+":"+e.lineNumber+")":c&&(f=" (created by "+c+")");c="\n    in "+(d||"Unknown")+f}a+=c;b=b.return}while(b);return a}new Set;var Za=[],$a=-1;
function A(b){0>$a||(b.current=Za[$a],Za[$a]=null,$a--)}function B(b,a){$a++;Za[$a]=b.current;b.current=a}var ab={},C={current:ab},D={current:!1},bb=ab;function cb(b,a){var c=b.type.contextTypes;if(!c)return ab;var d=b.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===a)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=a[f];d&&(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=a,b.__reactInternalMemoizedMaskedChildContext=e);return e}
function E(b){b=b.childContextTypes;return null!==b&&void 0!==b}function db(b){A(D,b);A(C,b)}function eb(b){A(D,b);A(C,b)}function fb(b,a,c){if(C.current!==ab)throw p(Error(168));B(C,a,b);B(D,c,b)}function gb(b,a,c){var d=b.stateNode;b=a.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in b))throw p(Error(108),Aa(a)||"Unknown",e);return ba({},c,{},d)}
function hb(b){var a=b.stateNode;a=a&&a.__reactInternalMemoizedMergedChildContext||ab;bb=C.current;B(C,a,b);B(D,D.current,b);return!0}function ib(b,a,c){var d=b.stateNode;if(!d)throw p(Error(169));c?(a=gb(b,a,bb),d.__reactInternalMemoizedMergedChildContext=a,A(D,b),A(C,b),B(C,a,b)):A(D,b);B(D,c,b)}
var jb=n.unstable_runWithPriority,kb=n.unstable_scheduleCallback,lb=n.unstable_cancelCallback,mb=n.unstable_shouldYield,nb=n.unstable_requestPaint,ob=n.unstable_now,pb=n.unstable_getCurrentPriorityLevel,qb=n.unstable_ImmediatePriority,rb=n.unstable_UserBlockingPriority,sb=n.unstable_NormalPriority,tb=n.unstable_LowPriority,ub=n.unstable_IdlePriority,vb={},wb=void 0!==nb?nb:function(){},xb=null,yb=null,zb=!1,Ab=ob(),F=1E4>Ab?ob:function(){return ob()-Ab};
function Bb(){switch(pb()){case qb:return 99;case rb:return 98;case sb:return 97;case tb:return 96;case ub:return 95;default:throw p(Error(332));}}function Cb(b){switch(b){case 99:return qb;case 98:return rb;case 97:return sb;case 96:return tb;case 95:return ub;default:throw p(Error(332));}}function Db(b,a){b=Cb(b);return jb(b,a)}function Eb(b,a,c){b=Cb(b);return kb(b,a,c)}function Fb(b){null===xb?(xb=[b],yb=kb(qb,Hb)):xb.push(b);return vb}function Ib(){if(null!==yb){var b=yb;yb=null;lb(b)}Hb()}
function Hb(){if(!zb&&null!==xb){zb=!0;var b=0;try{var a=xb;Db(99,function(){for(;b<a.length;b++){var c=a[b];do c=c(!0);while(null!==c)}});xb=null}catch(c){throw null!==xb&&(xb=xb.slice(b+1)),kb(qb,Ib),c;}finally{zb=!1}}}function Jb(b,a){if(1073741823===a)return 99;if(1===a)return 95;b=10*(1073741821-a)-10*(1073741821-b);return 0>=b?99:250>=b?98:5250>=b?97:95}function Kb(b,a){return b===a&&(0!==b||1/b===1/a)||b!==b&&a!==a}var Lb=Object.prototype.hasOwnProperty;
function Mb(b,a){if(Kb(b,a))return!0;if("object"!==typeof b||null===b||"object"!==typeof a||null===a)return!1;var c=Object.keys(b),d=Object.keys(a);if(c.length!==d.length)return!1;for(d=0;d<c.length;d++)if(!Lb.call(a,c[d])||!Kb(b[c[d]],a[c[d]]))return!1;return!0}function G(b,a){if(b&&b.defaultProps){a=ba({},a);b=b.defaultProps;for(var c in b)void 0===a[c]&&(a[c]=b[c])}return a}var Nb={current:null},Ob=null,Pb=null,Qb=null;function Rb(){Qb=Pb=Ob=null}
function Sb(b,a){var c=b.type._context;B(Nb,c._currentValue2,b);c._currentValue2=a}function Tb(b){var a=Nb.current;A(Nb,b);b.type._context._currentValue2=a}function Ub(b,a){for(;null!==b;){var c=b.alternate;if(b.childExpirationTime<a)b.childExpirationTime=a,null!==c&&c.childExpirationTime<a&&(c.childExpirationTime=a);else if(null!==c&&c.childExpirationTime<a)c.childExpirationTime=a;else break;b=b.return}}
function Vb(b,a){Ob=b;Qb=Pb=null;b=b.dependencies;null!==b&&null!==b.firstContext&&(b.expirationTime>=a&&(H=!0),b.firstContext=null)}function I(b,a){if(Qb!==b&&!1!==a&&0!==a){if("number"!==typeof a||1073741823===a)Qb=b,a=1073741823;a={context:b,observedBits:a,next:null};if(null===Pb){if(null===Ob)throw p(Error(308));Pb=a;Ob.dependencies={expirationTime:0,firstContext:a,responders:null}}else Pb=Pb.next=a}return b._currentValue2}var Wb=!1;
function Xb(b){return{baseState:b,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yb(b){return{baseState:b.baseState,firstUpdate:b.firstUpdate,lastUpdate:b.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}
function Zb(b,a){return{expirationTime:b,suspenseConfig:a,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function $b(b,a){null===b.lastUpdate?b.firstUpdate=b.lastUpdate=a:(b.lastUpdate.next=a,b.lastUpdate=a)}
function ac(b,a){var c=b.alternate;if(null===c){var d=b.updateQueue;var e=null;null===d&&(d=b.updateQueue=Xb(b.memoizedState))}else d=b.updateQueue,e=c.updateQueue,null===d?null===e?(d=b.updateQueue=Xb(b.memoizedState),e=c.updateQueue=Xb(c.memoizedState)):d=b.updateQueue=Yb(e):null===e&&(e=c.updateQueue=Yb(d));null===e||d===e?$b(d,a):null===d.lastUpdate||null===e.lastUpdate?($b(d,a),$b(e,a)):($b(d,a),e.lastUpdate=a)}
function bc(b,a){var c=b.updateQueue;c=null===c?b.updateQueue=Xb(b.memoizedState):cc(b,c);null===c.lastCapturedUpdate?c.firstCapturedUpdate=c.lastCapturedUpdate=a:(c.lastCapturedUpdate.next=a,c.lastCapturedUpdate=a)}function cc(b,a){var c=b.alternate;null!==c&&a===c.updateQueue&&(a=b.updateQueue=Yb(a));return a}
function dc(b,a,c,d,e,f){switch(c.tag){case 1:return b=c.payload,"function"===typeof b?b.call(f,d,e):b;case 3:b.effectTag=b.effectTag&-4097|64;case 0:b=c.payload;e="function"===typeof b?b.call(f,d,e):b;if(null===e||void 0===e)break;return ba({},d,e);case 2:Wb=!0}return d}
function ec(b,a,c,d,e){Wb=!1;a=cc(b,a);for(var f=a.baseState,g=null,h=0,l=a.firstUpdate,k=f;null!==l;){var m=l.expirationTime;m<e?(null===g&&(g=l,f=k),h<m&&(h=m)):(fc(m,l.suspenseConfig),k=dc(b,a,l,k,c,d),null!==l.callback&&(b.effectTag|=32,l.nextEffect=null,null===a.lastEffect?a.firstEffect=a.lastEffect=l:(a.lastEffect.nextEffect=l,a.lastEffect=l)));l=l.next}m=null;for(l=a.firstCapturedUpdate;null!==l;){var x=l.expirationTime;x<e?(null===m&&(m=l,null===g&&(f=k)),h<x&&(h=x)):(k=dc(b,a,l,k,c,d),null!==
l.callback&&(b.effectTag|=32,l.nextEffect=null,null===a.lastCapturedEffect?a.firstCapturedEffect=a.lastCapturedEffect=l:(a.lastCapturedEffect.nextEffect=l,a.lastCapturedEffect=l)));l=l.next}null===g&&(a.lastUpdate=null);null===m?a.lastCapturedUpdate=null:b.effectTag|=32;null===g&&null===m&&(f=k);a.baseState=f;a.firstUpdate=g;a.firstCapturedUpdate=m;b.expirationTime=h;b.memoizedState=k}
function gc(b,a,c){null!==a.firstCapturedUpdate&&(null!==a.lastUpdate&&(a.lastUpdate.next=a.firstCapturedUpdate,a.lastUpdate=a.lastCapturedUpdate),a.firstCapturedUpdate=a.lastCapturedUpdate=null);hc(a.firstEffect,c);a.firstEffect=a.lastEffect=null;hc(a.firstCapturedEffect,c);a.firstCapturedEffect=a.lastCapturedEffect=null}function hc(b,a){for(;null!==b;){var c=b.callback;if(null!==c){b.callback=null;var d=a;if("function"!==typeof c)throw p(Error(191),c);c.call(d)}b=b.nextEffect}}
var ic=u.ReactCurrentBatchConfig,jc=(new aa.Component).refs;function kc(b,a,c,d){a=b.memoizedState;c=c(d,a);c=null===c||void 0===c?a:ba({},a,c);b.memoizedState=c;d=b.updateQueue;null!==d&&0===b.expirationTime&&(d.baseState=c)}
var oc={isMounted:function(b){return(b=b._reactInternalFiber)?2===Ba(b):!1},enqueueSetState:function(b,a,c){b=b._reactInternalFiber;var d=lc(),e=ic.suspense;d=mc(d,b,e);e=Zb(d,e);e.payload=a;void 0!==c&&null!==c&&(e.callback=c);ac(b,e);nc(b,d)},enqueueReplaceState:function(b,a,c){b=b._reactInternalFiber;var d=lc(),e=ic.suspense;d=mc(d,b,e);e=Zb(d,e);e.tag=1;e.payload=a;void 0!==c&&null!==c&&(e.callback=c);ac(b,e);nc(b,d)},enqueueForceUpdate:function(b,a){b=b._reactInternalFiber;var c=lc(),d=ic.suspense;
c=mc(c,b,d);d=Zb(c,d);d.tag=2;void 0!==a&&null!==a&&(d.callback=a);ac(b,d);nc(b,c)}};function pc(b,a,c,d,e,f,g){b=b.stateNode;return"function"===typeof b.shouldComponentUpdate?b.shouldComponentUpdate(d,f,g):a.prototype&&a.prototype.isPureReactComponent?!Mb(c,d)||!Mb(e,f):!0}
function rc(b,a,c){var d=!1,e=ab;var f=a.contextType;"object"===typeof f&&null!==f?f=I(f):(e=E(a)?bb:C.current,d=a.contextTypes,f=(d=null!==d&&void 0!==d)?cb(b,e):ab);a=new a(c,f);b.memoizedState=null!==a.state&&void 0!==a.state?a.state:null;a.updater=oc;b.stateNode=a;a._reactInternalFiber=b;d&&(b=b.stateNode,b.__reactInternalMemoizedUnmaskedChildContext=e,b.__reactInternalMemoizedMaskedChildContext=f);return a}
function sc(b,a,c,d){b=a.state;"function"===typeof a.componentWillReceiveProps&&a.componentWillReceiveProps(c,d);"function"===typeof a.UNSAFE_componentWillReceiveProps&&a.UNSAFE_componentWillReceiveProps(c,d);a.state!==b&&oc.enqueueReplaceState(a,a.state,null)}
function tc(b,a,c,d){var e=b.stateNode;e.props=c;e.state=b.memoizedState;e.refs=jc;var f=a.contextType;"object"===typeof f&&null!==f?e.context=I(f):(f=E(a)?bb:C.current,e.context=cb(b,f));f=b.updateQueue;null!==f&&(ec(b,f,c,e,d),e.state=b.memoizedState);f=a.getDerivedStateFromProps;"function"===typeof f&&(kc(b,a,f,c),e.state=b.memoizedState);"function"===typeof a.getDerivedStateFromProps||"function"===typeof e.getSnapshotBeforeUpdate||"function"!==typeof e.UNSAFE_componentWillMount&&"function"!==
typeof e.componentWillMount||(a=e.state,"function"===typeof e.componentWillMount&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),a!==e.state&&oc.enqueueReplaceState(e,e.state,null),f=b.updateQueue,null!==f&&(ec(b,f,c,e,d),e.state=b.memoizedState));"function"===typeof e.componentDidMount&&(b.effectTag|=4)}var uc=Array.isArray;
function vc(b,a,c){b=c.ref;if(null!==b&&"function"!==typeof b&&"object"!==typeof b){if(c._owner){c=c._owner;if(c){if(1!==c.tag)throw p(Error(309));var d=c.stateNode}if(!d)throw p(Error(147),b);var e=""+b;if(null!==a&&null!==a.ref&&"function"===typeof a.ref&&a.ref._stringRef===e)return a.ref;a=function(a){var b=d.refs;b===jc&&(b=d.refs={});null===a?delete b[e]:b[e]=a};a._stringRef=e;return a}if("string"!==typeof b)throw p(Error(284));if(!c._owner)throw p(Error(290),b);}return b}
function wc(b,a){if("textarea"!==b.type)throw p(Error(31),"[object Object]"===Object.prototype.toString.call(a)?"object with keys {"+Object.keys(a).join(", ")+"}":a,"");}
function xc(b){function a(a,c){if(b){var d=a.lastEffect;null!==d?(d.nextEffect=c,a.lastEffect=c):a.firstEffect=a.lastEffect=c;c.nextEffect=null;c.effectTag=8}}function c(c,d){if(!b)return null;for(;null!==d;)a(c,d),d=d.sibling;return null}function d(a,b){for(a=new Map;null!==b;)null!==b.key?a.set(b.key,b):a.set(b.index,b),b=b.sibling;return a}function e(a,b,c){a=yc(a,b,c);a.index=0;a.sibling=null;return a}function f(a,c,d){a.index=d;if(!b)return c;d=a.alternate;if(null!==d)return d=d.index,d<c?(a.effectTag=
2,c):d;a.effectTag=2;return c}function g(a){b&&null===a.alternate&&(a.effectTag=2);return a}function h(a,b,c,d){if(null===b||6!==b.tag)return b=zc(c,a.mode,d),b.return=a,b;b=e(b,c,d);b.return=a;return b}function l(a,b,c,d){if(null!==b&&b.elementType===c.type)return d=e(b,c.props,d),d.ref=vc(a,b,c),d.return=a,d;d=Ac(c.type,c.key,c.props,null,a.mode,d);d.ref=vc(a,b,c);d.return=a;return d}function k(a,b,c,d){if(null===b||4!==b.tag||b.stateNode.containerInfo!==c.containerInfo||b.stateNode.implementation!==
c.implementation)return b=Bc(c,a.mode,d),b.return=a,b;b=e(b,c.children||[],d);b.return=a;return b}function m(a,b,c,d,f){if(null===b||7!==b.tag)return b=Cc(c,a.mode,d,f),b.return=a,b;b=e(b,c,d);b.return=a;return b}function x(a,b,c){if("string"===typeof b||"number"===typeof b)return b=zc(""+b,a.mode,c),b.return=a,b;if("object"===typeof b&&null!==b){switch(b.$$typeof){case ja:return c=Ac(b.type,b.key,b.props,null,a.mode,c),c.ref=vc(a,null,b),c.return=a,c;case ka:return b=Bc(b,a.mode,c),b.return=a,b}if(uc(b)||
ya(b))return b=Cc(b,a.mode,c,null),b.return=a,b;wc(a,b)}return null}function w(a,b,c,d){var e=null!==b?b.key:null;if("string"===typeof c||"number"===typeof c)return null!==e?null:h(a,b,""+c,d);if("object"===typeof c&&null!==c){switch(c.$$typeof){case ja:return c.key===e?c.type===la?m(a,b,c.props.children,d,e):l(a,b,c,d):null;case ka:return c.key===e?k(a,b,c,d):null}if(uc(c)||ya(c))return null!==e?null:m(a,b,c,d,null);wc(a,c)}return null}function r(a,b,c,d,e){if("string"===typeof d||"number"===typeof d)return a=
a.get(c)||null,h(b,a,""+d,e);if("object"===typeof d&&null!==d){switch(d.$$typeof){case ja:return a=a.get(null===d.key?c:d.key)||null,d.type===la?m(b,a,d.props.children,e,d.key):l(b,a,d,e);case ka:return a=a.get(null===d.key?c:d.key)||null,k(b,a,d,e)}if(uc(d)||ya(d))return a=a.get(c)||null,m(b,a,d,e,null);wc(b,d)}return null}function M(e,g,h,l){for(var k=null,y=null,q=g,v=g=0,m=null;null!==q&&v<h.length;v++){q.index>v?(m=q,q=null):m=q.sibling;var t=w(e,q,h[v],l);if(null===t){null===q&&(q=m);break}b&&
q&&null===t.alternate&&a(e,q);g=f(t,g,v);null===y?k=t:y.sibling=t;y=t;q=m}if(v===h.length)return c(e,q),k;if(null===q){for(;v<h.length;v++)q=x(e,h[v],l),null!==q&&(g=f(q,g,v),null===y?k=q:y.sibling=q,y=q);return k}for(q=d(e,q);v<h.length;v++)m=r(q,e,v,h[v],l),null!==m&&(b&&null!==m.alternate&&q.delete(null===m.key?v:m.key),g=f(m,g,v),null===y?k=m:y.sibling=m,y=m);b&&q.forEach(function(b){return a(e,b)});return k}function N(e,g,h,l){var k=ya(h);if("function"!==typeof k)throw p(Error(150));h=k.call(h);
if(null==h)throw p(Error(151));for(var q=k=null,m=g,v=g=0,y=null,t=h.next();null!==m&&!t.done;v++,t=h.next()){m.index>v?(y=m,m=null):y=m.sibling;var qa=w(e,m,t.value,l);if(null===qa){null===m&&(m=y);break}b&&m&&null===qa.alternate&&a(e,m);g=f(qa,g,v);null===q?k=qa:q.sibling=qa;q=qa;m=y}if(t.done)return c(e,m),k;if(null===m){for(;!t.done;v++,t=h.next())t=x(e,t.value,l),null!==t&&(g=f(t,g,v),null===q?k=t:q.sibling=t,q=t);return k}for(m=d(e,m);!t.done;v++,t=h.next())t=r(m,e,v,t.value,l),null!==t&&(b&&
null!==t.alternate&&m.delete(null===t.key?v:t.key),g=f(t,g,v),null===q?k=t:q.sibling=t,q=t);b&&m.forEach(function(b){return a(e,b)});return k}return function(b,d,f,h){var k="object"===typeof f&&null!==f&&f.type===la&&null===f.key;k&&(f=f.props.children);var l="object"===typeof f&&null!==f;if(l)switch(f.$$typeof){case ja:a:{l=f.key;for(k=d;null!==k;){if(k.key===l){if(7===k.tag?f.type===la:k.elementType===f.type){c(b,k.sibling);d=e(k,f.type===la?f.props.children:f.props,h);d.ref=vc(b,k,f);d.return=
b;b=d;break a}c(b,k);break}else a(b,k);k=k.sibling}f.type===la?(d=Cc(f.props.children,b.mode,h,f.key),d.return=b,b=d):(h=Ac(f.type,f.key,f.props,null,b.mode,h),h.ref=vc(b,d,f),h.return=b,b=h)}return g(b);case ka:a:{for(k=f.key;null!==d;){if(d.key===k){if(4===d.tag&&d.stateNode.containerInfo===f.containerInfo&&d.stateNode.implementation===f.implementation){c(b,d.sibling);d=e(d,f.children||[],h);d.return=b;b=d;break a}c(b,d);break}else a(b,d);d=d.sibling}d=Bc(f,b.mode,h);d.return=b;b=d}return g(b)}if("string"===
typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(b,d.sibling),d=e(d,f,h),d.return=b,b=d):(c(b,d),d=zc(f,b.mode,h),d.return=b,b=d),g(b);if(uc(f))return M(b,d,f,h);if(ya(f))return N(b,d,f,h);l&&wc(b,f);if("undefined"===typeof f&&!k)switch(b.tag){case 1:case 0:throw b=b.type,p(Error(152),b.displayName||b.name||"Component");}return c(b,d)}}var Dc=xc(!0),Ec=xc(!1),Fc={},J={current:Fc},Gc={current:Fc},Hc={current:Fc};function Ic(b){if(b===Fc)throw p(Error(174));return b}
function Jc(b,a){B(Hc,a,b);B(Gc,b,b);B(J,Fc,b);A(J,b);B(J,Ka,b)}function Kc(b){A(J,b);A(Gc,b);A(Hc,b)}function Lc(b){Ic(Hc.current);Ic(J.current)!==Ka&&(B(Gc,b,b),B(J,Ka,b))}function Mc(b){Gc.current===b&&(A(J,b),A(Gc,b))}var K={current:0};
function Nc(b){for(var a=b;null!==a;){if(13===a.tag){var c=a.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||Ia(c)||Ia(c)))return a}else if(19===a.tag&&void 0!==a.memoizedProps.revealOrder){if(0!==(a.effectTag&64))return a}else if(null!==a.child){a.child.return=a;a=a.child;continue}if(a===b)break;for(;null===a.sibling;){if(null===a.return||a.return===b)return null;a=a.return}a.sibling.return=a.return;a=a.sibling}return null}function Oc(b,a){return{responder:b,props:a}}
var Pc=u.ReactCurrentDispatcher,Qc=0,Rc=null,L=null,O=null,Sc=null,P=null,Tc=null,Uc=0,Q=null,Vc=0,Wc=!1,Xc=null,Yc=0;function R(){throw p(Error(321));}function Zc(b,a){if(null===a)return!1;for(var c=0;c<a.length&&c<b.length;c++)if(!Kb(b[c],a[c]))return!1;return!0}
function $c(b,a,c,d,e,f){Qc=f;Rc=a;O=null!==b?b.memoizedState:null;Pc.current=null===O?ad:bd;a=c(d,e);if(Wc){do Wc=!1,Yc+=1,O=null!==b?b.memoizedState:null,Tc=Sc,Q=P=L=null,Pc.current=bd,a=c(d,e);while(Wc);Xc=null;Yc=0}Pc.current=cd;b=Rc;b.memoizedState=Sc;b.expirationTime=Uc;b.updateQueue=Q;b.effectTag|=Vc;b=null!==L&&null!==L.next;Qc=0;Tc=P=Sc=O=L=Rc=null;Uc=0;Q=null;Vc=0;if(b)throw p(Error(300));return a}function dd(){Pc.current=cd;Qc=0;Tc=P=Sc=O=L=Rc=null;Uc=0;Q=null;Vc=0;Wc=!1;Xc=null;Yc=0}
function ed(){var b={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};null===P?Sc=P=b:P=P.next=b;return P}function fd(){if(null!==Tc)P=Tc,Tc=P.next,L=O,O=null!==L?L.next:null;else{if(null===O)throw p(Error(310));L=O;var b={memoizedState:L.memoizedState,baseState:L.baseState,queue:L.queue,baseUpdate:L.baseUpdate,next:null};P=null===P?Sc=b:P.next=b;O=L.next}return P}function gd(b,a){return"function"===typeof a?a(b):a}
function hd(b){var a=fd(),c=a.queue;if(null===c)throw p(Error(311));c.lastRenderedReducer=b;if(0<Yc){var d=c.dispatch;if(null!==Xc){var e=Xc.get(c);if(void 0!==e){Xc.delete(c);var f=a.memoizedState;do f=b(f,e.action),e=e.next;while(null!==e);Kb(f,a.memoizedState)||(H=!0);a.memoizedState=f;a.baseUpdate===c.last&&(a.baseState=f);c.lastRenderedState=f;return[f,d]}}return[a.memoizedState,d]}d=c.last;var g=a.baseUpdate;f=a.baseState;null!==g?(null!==d&&(d.next=null),d=g.next):d=null!==d?d.next:null;if(null!==
d){var h=e=null,l=d,k=!1;do{var m=l.expirationTime;m<Qc?(k||(k=!0,h=g,e=f),m>Uc&&(Uc=m)):(fc(m,l.suspenseConfig),f=l.eagerReducer===b?l.eagerState:b(f,l.action));g=l;l=l.next}while(null!==l&&l!==d);k||(h=g,e=f);Kb(f,a.memoizedState)||(H=!0);a.memoizedState=f;a.baseUpdate=h;a.baseState=e;c.lastRenderedState=f}return[a.memoizedState,c.dispatch]}
function id(b,a,c,d){b={tag:b,create:a,destroy:c,deps:d,next:null};null===Q?(Q={lastEffect:null},Q.lastEffect=b.next=b):(a=Q.lastEffect,null===a?Q.lastEffect=b.next=b:(c=a.next,a.next=b,b.next=c,Q.lastEffect=b));return b}function jd(b,a,c,d){var e=ed();Vc|=b;e.memoizedState=id(a,c,void 0,void 0===d?null:d)}
function kd(b,a,c,d){var e=fd();d=void 0===d?null:d;var f=void 0;if(null!==L){var g=L.memoizedState;f=g.destroy;if(null!==d&&Zc(d,g.deps)){id(0,c,f,d);return}}Vc|=b;e.memoizedState=id(a,c,f,d)}function ld(b,a){if("function"===typeof a)return b=b(),a(b),function(){a(null)};if(null!==a&&void 0!==a)return b=b(),a.current=b,function(){a.current=null}}function md(){}
function nd(b,a,c){if(!(25>Yc))throw p(Error(301));var d=b.alternate;if(b===Rc||null!==d&&d===Rc)if(Wc=!0,b={expirationTime:Qc,suspenseConfig:null,action:c,eagerReducer:null,eagerState:null,next:null},null===Xc&&(Xc=new Map),c=Xc.get(a),void 0===c)Xc.set(a,b);else{for(a=c;null!==a.next;)a=a.next;a.next=b}else{var e=lc(),f=ic.suspense;e=mc(e,b,f);f={expirationTime:e,suspenseConfig:f,action:c,eagerReducer:null,eagerState:null,next:null};var g=a.last;if(null===g)f.next=f;else{var h=g.next;null!==h&&
(f.next=h);g.next=f}a.last=f;if(0===b.expirationTime&&(null===d||0===d.expirationTime)&&(d=a.lastRenderedReducer,null!==d))try{var l=a.lastRenderedState,k=d(l,c);f.eagerReducer=d;f.eagerState=k;if(Kb(k,l))return}catch(m){}finally{}nc(b,e)}}
var cd={readContext:I,useCallback:R,useContext:R,useEffect:R,useImperativeHandle:R,useLayoutEffect:R,useMemo:R,useReducer:R,useRef:R,useState:R,useDebugValue:R,useResponder:R},ad={readContext:I,useCallback:function(b,a){ed().memoizedState=[b,void 0===a?null:a];return b},useContext:I,useEffect:function(b,a){return jd(516,192,b,a)},useImperativeHandle:function(b,a,c){c=null!==c&&void 0!==c?c.concat([b]):null;return jd(4,36,ld.bind(null,a,b),c)},useLayoutEffect:function(b,a){return jd(4,36,b,a)},useMemo:function(b,
a){var c=ed();a=void 0===a?null:a;b=b();c.memoizedState=[b,a];return b},useReducer:function(b,a,c){var d=ed();a=void 0!==c?c(a):a;d.memoizedState=d.baseState=a;b=d.queue={last:null,dispatch:null,lastRenderedReducer:b,lastRenderedState:a};b=b.dispatch=nd.bind(null,Rc,b);return[d.memoizedState,b]},useRef:function(b){var a=ed();b={current:b};return a.memoizedState=b},useState:function(b){var a=ed();"function"===typeof b&&(b=b());a.memoizedState=a.baseState=b;b=a.queue={last:null,dispatch:null,lastRenderedReducer:gd,
lastRenderedState:b};b=b.dispatch=nd.bind(null,Rc,b);return[a.memoizedState,b]},useDebugValue:md,useResponder:Oc},bd={readContext:I,useCallback:function(b,a){var c=fd();a=void 0===a?null:a;var d=c.memoizedState;if(null!==d&&null!==a&&Zc(a,d[1]))return d[0];c.memoizedState=[b,a];return b},useContext:I,useEffect:function(b,a){return kd(516,192,b,a)},useImperativeHandle:function(b,a,c){c=null!==c&&void 0!==c?c.concat([b]):null;return kd(4,36,ld.bind(null,a,b),c)},useLayoutEffect:function(b,a){return kd(4,
36,b,a)},useMemo:function(b,a){var c=fd();a=void 0===a?null:a;var d=c.memoizedState;if(null!==d&&null!==a&&Zc(a,d[1]))return d[0];b=b();c.memoizedState=[b,a];return b},useReducer:hd,useRef:function(){return fd().memoizedState},useState:function(b){return hd(gd,b)},useDebugValue:md,useResponder:Oc},od=null,pd=null,qd=!1;
function rd(b,a){switch(b.tag){case 5:return a=Ia(a,b.type,b.pendingProps),null!==a?(b.stateNode=a,!0):!1;case 6:return a=Ia(a,b.pendingProps),null!==a?(b.stateNode=a,!0):!1;case 13:return!1;default:return!1}}
function sd(b){if(qd){var a=pd;if(a){var c=a;if(!rd(b,a)){a=Ia(c);if(!a||!rd(b,a)){b.effectTag|=2;qd=!1;od=b;return}var d=od,e=td(5,null,null,0);e.elementType="DELETED";e.type="DELETED";e.stateNode=c;e.return=d;e.effectTag=8;null!==d.lastEffect?(d.lastEffect.nextEffect=e,d.lastEffect=e):d.firstEffect=d.lastEffect=e}od=b;pd=Ia(a)}else b.effectTag|=2,qd=!1,od=b}}var ud=u.ReactCurrentOwner,H=!1;function S(b,a,c,d){a.child=null===b?Ec(a,null,c,d):Dc(a,b.child,c,d)}
function vd(b,a,c,d,e){c=c.render;var f=a.ref;Vb(a,e);d=$c(b,a,c,d,f,e);if(null!==b&&!H)return a.updateQueue=b.updateQueue,a.effectTag&=-517,b.expirationTime<=e&&(b.expirationTime=0),wd(b,a,e);a.effectTag|=1;S(b,a,d,e);return a.child}
function xd(b,a,c,d,e,f){if(null===b){var g=c.type;if("function"===typeof g&&!yd(g)&&void 0===g.defaultProps&&null===c.compare&&void 0===c.defaultProps)return a.tag=15,a.type=g,zd(b,a,g,d,e,f);b=Ac(c.type,null,d,null,a.mode,f);b.ref=a.ref;b.return=a;return a.child=b}g=b.child;if(e<f&&(e=g.memoizedProps,c=c.compare,c=null!==c?c:Mb,c(e,d)&&b.ref===a.ref))return wd(b,a,f);a.effectTag|=1;b=yc(g,d,f);b.ref=a.ref;b.return=a;return a.child=b}
function zd(b,a,c,d,e,f){return null!==b&&Mb(b.memoizedProps,d)&&b.ref===a.ref&&(H=!1,e<f)?wd(b,a,f):Ad(b,a,c,d,f)}function Bd(b,a){var c=a.ref;if(null===b&&null!==c||null!==b&&b.ref!==c)a.effectTag|=128}function Ad(b,a,c,d,e){var f=E(c)?bb:C.current;f=cb(a,f);Vb(a,e);c=$c(b,a,c,d,f,e);if(null!==b&&!H)return a.updateQueue=b.updateQueue,a.effectTag&=-517,b.expirationTime<=e&&(b.expirationTime=0),wd(b,a,e);a.effectTag|=1;S(b,a,c,e);return a.child}
function Cd(b,a,c,d,e){if(E(c)){var f=!0;hb(a)}else f=!1;Vb(a,e);if(null===a.stateNode)null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2),rc(a,c,d,e),tc(a,c,d,e),d=!0;else if(null===b){var g=a.stateNode,h=a.memoizedProps;g.props=h;var l=g.context,k=c.contextType;"object"===typeof k&&null!==k?k=I(k):(k=E(c)?bb:C.current,k=cb(a,k));var m=c.getDerivedStateFromProps,x="function"===typeof m||"function"===typeof g.getSnapshotBeforeUpdate;x||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&
"function"!==typeof g.componentWillReceiveProps||(h!==d||l!==k)&&sc(a,g,d,k);Wb=!1;var w=a.memoizedState;l=g.state=w;var r=a.updateQueue;null!==r&&(ec(a,r,d,g,e),l=a.memoizedState);h!==d||w!==l||D.current||Wb?("function"===typeof m&&(kc(a,c,m,d),l=a.memoizedState),(h=Wb||pc(a,c,h,d,w,l,k))?(x||"function"!==typeof g.UNSAFE_componentWillMount&&"function"!==typeof g.componentWillMount||("function"===typeof g.componentWillMount&&g.componentWillMount(),"function"===typeof g.UNSAFE_componentWillMount&&
g.UNSAFE_componentWillMount()),"function"===typeof g.componentDidMount&&(a.effectTag|=4)):("function"===typeof g.componentDidMount&&(a.effectTag|=4),a.memoizedProps=d,a.memoizedState=l),g.props=d,g.state=l,g.context=k,d=h):("function"===typeof g.componentDidMount&&(a.effectTag|=4),d=!1)}else g=a.stateNode,h=a.memoizedProps,g.props=a.type===a.elementType?h:G(a.type,h),l=g.context,k=c.contextType,"object"===typeof k&&null!==k?k=I(k):(k=E(c)?bb:C.current,k=cb(a,k)),m=c.getDerivedStateFromProps,(x="function"===
typeof m||"function"===typeof g.getSnapshotBeforeUpdate)||"function"!==typeof g.UNSAFE_componentWillReceiveProps&&"function"!==typeof g.componentWillReceiveProps||(h!==d||l!==k)&&sc(a,g,d,k),Wb=!1,l=a.memoizedState,w=g.state=l,r=a.updateQueue,null!==r&&(ec(a,r,d,g,e),w=a.memoizedState),h!==d||l!==w||D.current||Wb?("function"===typeof m&&(kc(a,c,m,d),w=a.memoizedState),(m=Wb||pc(a,c,h,d,l,w,k))?(x||"function"!==typeof g.UNSAFE_componentWillUpdate&&"function"!==typeof g.componentWillUpdate||("function"===
typeof g.componentWillUpdate&&g.componentWillUpdate(d,w,k),"function"===typeof g.UNSAFE_componentWillUpdate&&g.UNSAFE_componentWillUpdate(d,w,k)),"function"===typeof g.componentDidUpdate&&(a.effectTag|=4),"function"===typeof g.getSnapshotBeforeUpdate&&(a.effectTag|=256)):("function"!==typeof g.componentDidUpdate||h===b.memoizedProps&&l===b.memoizedState||(a.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===b.memoizedProps&&l===b.memoizedState||(a.effectTag|=256),a.memoizedProps=d,a.memoizedState=
w),g.props=d,g.state=w,g.context=k,d=m):("function"!==typeof g.componentDidUpdate||h===b.memoizedProps&&l===b.memoizedState||(a.effectTag|=4),"function"!==typeof g.getSnapshotBeforeUpdate||h===b.memoizedProps&&l===b.memoizedState||(a.effectTag|=256),d=!1);return Dd(b,a,c,d,f,e)}
function Dd(b,a,c,d,e,f){Bd(b,a);var g=0!==(a.effectTag&64);if(!d&&!g)return e&&ib(a,c,!1),wd(b,a,f);d=a.stateNode;ud.current=a;var h=g&&"function"!==typeof c.getDerivedStateFromError?null:d.render();a.effectTag|=1;null!==b&&g?(a.child=Dc(a,b.child,null,f),a.child=Dc(a,null,h,f)):S(b,a,h,f);a.memoizedState=d.state;e&&ib(a,c,!0);return a.child}function Ed(b){var a=b.stateNode;a.pendingContext?fb(b,a.pendingContext,a.pendingContext!==a.context):a.context&&fb(b,a.context,!1);Jc(b,a.containerInfo)}
var Fd={dehydrated:null,retryTime:1};
function Gd(b,a,c){var d=a.mode,e=a.pendingProps,f=K.current,g=!1,h;(h=0!==(a.effectTag&64))||(h=0!==(f&2)&&(null===b||null!==b.memoizedState));h?(g=!0,a.effectTag&=-65):null!==b&&null===b.memoizedState||void 0===e.fallback||!0===e.unstable_avoidThisFallback||(f|=1);B(K,f&1,a);if(null===b){if(g){g=e.fallback;e=Cc(null,d,0,null);e.return=a;if(0===(a.mode&2))for(b=null!==a.memoizedState?a.child.child:a.child,e.child=b;null!==b;)b.return=e,b=b.sibling;c=Cc(g,d,c,null);c.return=a;e.sibling=c;a.memoizedState=
Fd;a.child=e;return c}d=e.children;a.memoizedState=null;return a.child=Ec(a,null,d,c)}if(null!==b.memoizedState){b=b.child;d=b.sibling;if(g){e=e.fallback;c=yc(b,b.pendingProps,0);c.return=a;if(0===(a.mode&2)&&(g=null!==a.memoizedState?a.child.child:a.child,g!==b.child))for(c.child=g;null!==g;)g.return=c,g=g.sibling;d=yc(d,e,d.expirationTime);d.return=a;c.sibling=d;c.childExpirationTime=0;a.memoizedState=Fd;a.child=c;return d}c=Dc(a,b.child,e.children,c);a.memoizedState=null;return a.child=c}b=b.child;
if(g){g=e.fallback;e=Cc(null,d,0,null);e.return=a;e.child=b;null!==b&&(b.return=e);if(0===(a.mode&2))for(b=null!==a.memoizedState?a.child.child:a.child,e.child=b;null!==b;)b.return=e,b=b.sibling;c=Cc(g,d,c,null);c.return=a;e.sibling=c;c.effectTag|=2;e.childExpirationTime=0;a.memoizedState=Fd;a.child=e;return c}a.memoizedState=null;return a.child=Dc(a,b,e.children,c)}
function Hd(b,a,c,d,e){var f=b.memoizedState;null===f?b.memoizedState={isBackwards:a,rendering:null,last:d,tail:c,tailExpiration:0,tailMode:e}:(f.isBackwards=a,f.rendering=null,f.last=d,f.tail=c,f.tailExpiration=0,f.tailMode=e)}
function Ld(b,a,c){var d=a.pendingProps,e=d.revealOrder,f=d.tail;S(b,a,d.children,c);d=K.current;if(0!==(d&2))d=d&1|2,a.effectTag|=64;else{if(null!==b&&0!==(b.effectTag&64))a:for(b=a.child;null!==b;){if(13===b.tag){if(null!==b.memoizedState){b.expirationTime<c&&(b.expirationTime=c);var g=b.alternate;null!==g&&g.expirationTime<c&&(g.expirationTime=c);Ub(b.return,c)}}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break a;for(;null===b.sibling;){if(null===b.return||b.return===a)break a;
b=b.return}b.sibling.return=b.return;b=b.sibling}d&=1}B(K,d,a);if(0===(a.mode&2))a.memoizedState=null;else switch(e){case "forwards":c=a.child;for(e=null;null!==c;)d=c.alternate,null!==d&&null===Nc(d)&&(e=c),c=c.sibling;c=e;null===c?(e=a.child,a.child=null):(e=c.sibling,c.sibling=null);Hd(a,!1,e,c,f);break;case "backwards":c=null;e=a.child;for(a.child=null;null!==e;){d=e.alternate;if(null!==d&&null===Nc(d)){a.child=e;break}d=e.sibling;e.sibling=c;c=e;e=d}Hd(a,!0,c,null,f);break;case "together":Hd(a,
!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function wd(b,a,c){null!==b&&(a.dependencies=b.dependencies);if(a.childExpirationTime<c)return null;if(null!==b&&a.child!==b.child)throw p(Error(153));if(null!==a.child){b=a.child;c=yc(b,b.pendingProps,b.expirationTime);a.child=c;for(c.return=a;null!==b.sibling;)b=b.sibling,c=c.sibling=yc(b,b.pendingProps,b.expirationTime),c.return=a;c.sibling=null}return a.child}var Md,Nd,Od,Pd;
Md=function(b,a){for(var c=a.child;null!==c;){if(5===c.tag||6===c.tag){var d=b,e=c.stateNode;if("string"===typeof e)throw p(Error(216));e.inject(d)}else if(4!==c.tag&&null!==c.child){c.child.return=c;c=c.child;continue}if(c===a)break;for(;null===c.sibling;){if(null===c.return||c.return===a)return;c=c.return}c.sibling.return=c.return;c=c.sibling}};Nd=function(){};Od=function(b,a,c,d){b.memoizedProps!==d&&(Ic(J.current),a.updateQueue=La)&&(a.effectTag|=4)};
Pd=function(b,a,c,d){c!==d&&(a.effectTag|=4)};function Qd(b,a){switch(b.tailMode){case "hidden":a=b.tail;for(var c=null;null!==a;)null!==a.alternate&&(c=a),a=a.sibling;null===c?b.tail=null:c.sibling=null;break;case "collapsed":c=b.tail;for(var d=null;null!==c;)null!==c.alternate&&(d=c),c=c.sibling;null===d?a||null===b.tail?b.tail=null:b.tail.sibling=null:d.sibling=null}}
function Rd(b){switch(b.tag){case 1:E(b.type)&&db(b);var a=b.effectTag;return a&4096?(b.effectTag=a&-4097|64,b):null;case 3:Kc(b);eb(b);a=b.effectTag;if(0!==(a&64))throw p(Error(285));b.effectTag=a&-4097|64;return b;case 5:return Mc(b),null;case 13:return A(K,b),a=b.effectTag,a&4096?(b.effectTag=a&-4097|64,b):null;case 19:return A(K,b),null;case 4:return Kc(b),null;case 10:return Tb(b),null;default:return null}}function Sd(b,a){return{value:b,source:a,stack:Ya(a)}}
var Td="function"===typeof WeakSet?WeakSet:Set;function Ud(b,a){var c=a.source,d=a.stack;null===d&&null!==c&&(d=Ya(c));null!==c&&Aa(c.type);a=a.value;null!==b&&1===b.tag&&Aa(b.type);try{console.error(a)}catch(e){setTimeout(function(){throw e;})}}function Vd(b,a){try{a.props=b.memoizedProps,a.state=b.memoizedState,a.componentWillUnmount()}catch(c){Wd(b,c)}}function Xd(b){var a=b.ref;if(null!==a)if("function"===typeof a)try{a(null)}catch(c){Wd(b,c)}else a.current=null}
function Yd(b,a,c){c=c.updateQueue;c=null!==c?c.lastEffect:null;if(null!==c){var d=c=c.next;do{if(0!==(d.tag&b)){var e=d.destroy;d.destroy=void 0;void 0!==e&&e()}0!==(d.tag&a)&&(e=d.create,d.destroy=e());d=d.next}while(d!==c)}}
function Zd(b,a,c){"function"===typeof $d&&$d(a);switch(a.tag){case 0:case 11:case 14:case 15:b=a.updateQueue;if(null!==b&&(b=b.lastEffect,null!==b)){var d=b.next;Db(97<c?97:c,function(){var b=d;do{var c=b.destroy;if(void 0!==c){var g=a;try{c()}catch(h){Wd(g,h)}}b=b.next}while(b!==d)})}break;case 1:Xd(a);c=a.stateNode;"function"===typeof c.componentWillUnmount&&Vd(a,c);break;case 5:Xd(a);break;case 4:ae(b,a,c)}}function be(b){return 5===b.tag||3===b.tag||4===b.tag}
function ce(b){a:{for(var a=b.return;null!==a;){if(be(a)){var c=a;break a}a=a.return}throw p(Error(160));}a=c.stateNode;switch(c.tag){case 5:var d=!1;break;case 3:a=a.containerInfo;d=!0;break;case 4:a=a.containerInfo;d=!0;break;default:throw p(Error(161));}c.effectTag&16&&(c.effectTag&=-17);a:b:for(c=b;;){for(;null===c.sibling;){if(null===c.return||be(c.return)){c=null;break a}c=c.return}c.sibling.return=c.return;for(c=c.sibling;5!==c.tag&&6!==c.tag&&18!==c.tag;){if(c.effectTag&2)continue b;if(null===
c.child||4===c.tag)continue b;else c.child.return=c,c=c.child}if(!(c.effectTag&2)){c=c.stateNode;break a}}for(var e=b;;){var f=5===e.tag||6===e.tag;if(f)if(f=f?e.stateNode:e.stateNode.instance,c)if(d){var g=c;if(f===g)throw p(Error(218));f.injectBefore(g)}else{g=c;if(f===g)throw p(Error(218));f.injectBefore(g)}else g=a,f.parentNode===g&&f.eject(),f.inject(g);else if(4!==e.tag&&null!==e.child){e.child.return=e;e=e.child;continue}if(e===b)break;for(;null===e.sibling;){if(null===e.return||e.return===
b)return;e=e.return}e.sibling.return=e.return;e=e.sibling}}
function ae(b,a,c){for(var d=a,e=!1,f;;){if(!e){e=d.return;a:for(;;){if(null===e)throw p(Error(160));switch(e.tag){case 5:f=!1;break a;case 3:f=!0;break a;case 4:f=!0;break a}e=e.return}e=!0}if(5===d.tag||6===d.tag){a:for(var g=b,h=d,l=c,k=h;;)if(Zd(g,k,l),null!==k.child&&4!==k.tag)k.child.return=k,k=k.child;else{if(k===h)break;for(;null===k.sibling;){if(null===k.return||k.return===h)break a;k=k.return}k.sibling.return=k.return;k=k.sibling}g=d.stateNode,Na(g),g.eject()}else if(4===d.tag){if(null!==
d.child){f=!0;d.child.return=d;d=d.child;continue}}else if(Zd(b,d,c),null!==d.child){d.child.return=d;d=d.child;continue}if(d===a)break;for(;null===d.sibling;){if(null===d.return||d.return===a)return;d=d.return;4===d.tag&&(e=!1)}d.sibling.return=d.return;d=d.sibling}}
function de(b,a){switch(a.tag){case 0:case 11:case 14:case 15:Yd(4,8,a);break;case 1:break;case 5:var c=a.stateNode;if(null!=c){var d=a.memoizedProps;b=null!==b?b.memoizedProps:d;var e=a.updateQueue;a.updateQueue=null;null!==e&&c._applyProps(c,d,b)}break;case 6:if(null===a.stateNode)throw p(Error(162));break;case 3:break;case 12:break;case 13:c=a;null===a.memoizedState?d=!1:(d=!0,c=a.child,ee=F());if(null!==c)a:for(b=c;;){if(5===b.tag)e=b.stateNode,d?e.hide():(e=b.memoizedProps,(null==e.visible||
e.visible)&&b.stateNode.show());else if(6!==b.tag)if(13===b.tag&&null!==b.memoizedState&&null===b.memoizedState.dehydrated){e=b.child.sibling;e.return=b;b=e;continue}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===c)break a;for(;null===b.sibling;){if(null===b.return||b.return===c)break a;b=b.return}b.sibling.return=b.return;b=b.sibling}fe(a);break;case 19:fe(a);break;case 17:break;case 20:break;default:throw p(Error(163));}}
function fe(b){var a=b.updateQueue;if(null!==a){b.updateQueue=null;var c=b.stateNode;null===c&&(c=b.stateNode=new Td);a.forEach(function(a){var d=ge.bind(null,b,a);c.has(a)||(c.add(a),a.then(d,d))})}}var he="function"===typeof WeakMap?WeakMap:Map;function ie(b,a,c){c=Zb(c,null);c.tag=3;c.payload={element:null};var d=a.value;c.callback=function(){je||(je=!0,ke=d);Ud(b,a)};return c}
function le(b,a,c){c=Zb(c,null);c.tag=3;var d=b.type.getDerivedStateFromError;if("function"===typeof d){var e=a.value;c.payload=function(){Ud(b,a);return d(e)}}var f=b.stateNode;null!==f&&"function"===typeof f.componentDidCatch&&(c.callback=function(){"function"!==typeof d&&(null===me?me=new Set([this]):me.add(this),Ud(b,a));var c=a.stack;this.componentDidCatch(a.value,{componentStack:null!==c?c:""})});return c}
var ne=Math.ceil,oe=u.ReactCurrentDispatcher,pe=u.ReactCurrentOwner,T=0,qe=8,re=16,se=32,te=0,ue=1,ve=2,we=3,xe=4,U=T,ye=null,V=null,W=0,X=te,ze=1073741823,Ae=1073741823,Be=null,Ce=!1,ee=0,De=500,Y=null,je=!1,ke=null,me=null,Ee=!1,Fe=null,Ge=90,He=0,Ie=null,Je=0,Ke=null,Le=0;function lc(){return(U&(re|se))!==T?1073741821-(F()/10|0):0!==Le?Le:Le=1073741821-(F()/10|0)}
function mc(b,a,c){a=a.mode;if(0===(a&2))return 1073741823;var d=Bb();if(0===(a&4))return 99===d?1073741823:1073741822;if((U&re)!==T)return W;if(null!==c)b=1073741821-25*(((1073741821-b+(c.timeoutMs|0||5E3)/10)/25|0)+1);else switch(d){case 99:b=1073741823;break;case 98:b=1073741821-10*(((1073741821-b+15)/10|0)+1);break;case 97:case 96:b=1073741821-25*(((1073741821-b+500)/25|0)+1);break;case 95:b=1;break;default:throw p(Error(326));}null!==ye&&b===W&&--b;return b}
function nc(b,a){if(50<Je)throw Je=0,Ke=null,p(Error(185));b=Me(b,a);if(null!==b){b.pingTime=0;var c=Bb();if(1073741823===a)if((U&qe)!==T&&(U&(re|se))===T)for(var d=Z(b,1073741823,!0);null!==d;)d=d(!0);else Ne(b,99,1073741823),U===T&&Ib();else Ne(b,c,a);(U&4)===T||98!==c&&99!==c||(null===Ie?Ie=new Map([[b,a]]):(c=Ie.get(b),(void 0===c||c>a)&&Ie.set(b,a)))}}
function Me(b,a){b.expirationTime<a&&(b.expirationTime=a);var c=b.alternate;null!==c&&c.expirationTime<a&&(c.expirationTime=a);var d=b.return,e=null;if(null===d&&3===b.tag)e=b.stateNode;else for(;null!==d;){c=d.alternate;d.childExpirationTime<a&&(d.childExpirationTime=a);null!==c&&c.childExpirationTime<a&&(c.childExpirationTime=a);if(null===d.return&&3===d.tag){e=d.stateNode;break}d=d.return}null!==e&&(a>e.firstPendingTime&&(e.firstPendingTime=a),b=e.lastPendingTime,0===b||a<b)&&(e.lastPendingTime=
a);return e}function Ne(b,a,c){if(b.callbackExpirationTime<c){var d=b.callbackNode;null!==d&&d!==vb&&lb(d);b.callbackExpirationTime=c;1073741823===c?b.callbackNode=Fb(Oe.bind(null,b,Z.bind(null,b,c))):(d=null,1!==c&&(d={timeout:10*(1073741821-c)-F()}),b.callbackNode=Eb(a,Oe.bind(null,b,Z.bind(null,b,c)),d))}}function Oe(b,a,c){var d=b.callbackNode,e=null;try{return e=a(c),null!==e?Oe.bind(null,b,e):null}finally{null===e&&d===b.callbackNode&&(b.callbackNode=null,b.callbackExpirationTime=0)}}
function Pe(b,a){var c=b.firstBatch;return null!==c&&c._defer&&c._expirationTime>=a?(Eb(97,function(){c._onComplete();return null}),!0):!1}
function Qe(b,a){b.finishedWork=null;b.finishedExpirationTime=0;var c=b.timeoutHandle;-1!==c&&(b.timeoutHandle=-1,Va(c));if(null!==V)for(c=V.return;null!==c;){var d=c;switch(d.tag){case 1:var e=d.type.childContextTypes;null!==e&&void 0!==e&&db(d);break;case 3:Kc(d);eb(d);break;case 5:Mc(d);break;case 4:Kc(d);break;case 13:A(K,d);break;case 19:A(K,d);break;case 10:Tb(d)}c=c.return}ye=b;V=yc(b.current,null,a);W=a;X=te;Ae=ze=1073741823;Be=null;Ce=!1}
function Z(b,a,c){if((U&(re|se))!==T)throw p(Error(327));if(b.firstPendingTime<a)return null;if(c&&b.finishedExpirationTime===a)return Re.bind(null,b);Se();if(b!==ye||a!==W)Qe(b,a);else if(X===we)if(Ce)Qe(b,a);else{var d=b.lastPendingTime;if(d<a)return Z.bind(null,b,d)}if(null!==V){d=U;U|=re;var e=oe.current;null===e&&(e=cd);oe.current=cd;if(c){if(1073741823!==a){var f=lc();if(f<a)return U=d,Rb(),oe.current=e,Z.bind(null,b,f)}}else Le=0;do try{if(c)for(;null!==V;)V=Te(V);else for(;null!==V&&!mb();)V=
Te(V);break}catch(M){Rb();dd();f=V;if(null===f||null===f.return)throw Qe(b,a),U=d,M;a:{var g=b,h=f.return,l=f,k=M,m=W;l.effectTag|=2048;l.firstEffect=l.lastEffect=null;if(null!==k&&"object"===typeof k&&"function"===typeof k.then){var x=k,w=0!==(K.current&1);k=h;do{var r;if(r=13===k.tag)r=k.memoizedState,null!==r?r=null!==r.dehydrated?!0:!1:(r=k.memoizedProps,r=void 0===r.fallback?!1:!0!==r.unstable_avoidThisFallback?!0:w?!1:!0);if(r){h=k.updateQueue;null===h?(h=new Set,h.add(x),k.updateQueue=h):h.add(x);
if(0===(k.mode&2)){k.effectTag|=64;l.effectTag&=-2981;1===l.tag&&(null===l.alternate?l.tag=17:(m=Zb(1073741823,null),m.tag=2,ac(l,m)));l.expirationTime=1073741823;break a}l=g;g=m;w=l.pingCache;null===w?(w=l.pingCache=new he,h=new Set,w.set(x,h)):(h=w.get(x),void 0===h&&(h=new Set,w.set(x,h)));h.has(g)||(h.add(g),l=Ue.bind(null,l,x,g),x.then(l,l));k.effectTag|=4096;k.expirationTime=m;break a}k=k.return}while(null!==k);k=Error((Aa(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+
Ya(l))}X!==xe&&(X=ue);k=Sd(k,l);l=h;do{switch(l.tag){case 3:l.effectTag|=4096;l.expirationTime=m;m=ie(l,k,m);bc(l,m);break a;case 1:if(x=k,g=l.type,h=l.stateNode,0===(l.effectTag&64)&&("function"===typeof g.getDerivedStateFromError||null!==h&&"function"===typeof h.componentDidCatch&&(null===me||!me.has(h)))){l.effectTag|=4096;l.expirationTime=m;m=le(l,x,m);bc(l,m);break a}}l=l.return}while(null!==l)}V=Ve(f)}while(1);U=d;Rb();oe.current=e;if(null!==V)return Z.bind(null,b,a)}b.finishedWork=b.current.alternate;
b.finishedExpirationTime=a;if(Pe(b,a))return null;ye=null;switch(X){case te:throw p(Error(328));case ue:return d=b.lastPendingTime,d<a?Z.bind(null,b,d):c?Re.bind(null,b):(Qe(b,a),Fb(Z.bind(null,b,a)),null);case ve:if(1073741823===ze&&!c&&(c=ee+De-F(),10<c)){if(Ce)return Qe(b,a),Z.bind(null,b,a);d=b.lastPendingTime;if(d<a)return Z.bind(null,b,d);b.timeoutHandle=Ua(Re.bind(null,b),c);return null}return Re.bind(null,b);case we:if(!c){if(Ce)return Qe(b,a),Z.bind(null,b,a);c=b.lastPendingTime;if(c<a)return Z.bind(null,
b,c);1073741823!==Ae?c=10*(1073741821-Ae)-F():1073741823===ze?c=0:(c=10*(1073741821-ze)-5E3,d=F(),a=10*(1073741821-a)-d,c=d-c,0>c&&(c=0),c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3E3>c?3E3:4320>c?4320:1960*ne(c/1960))-c,a<c&&(c=a));if(10<c)return b.timeoutHandle=Ua(Re.bind(null,b),c),null}return Re.bind(null,b);case xe:return!c&&1073741823!==ze&&null!==Be&&(d=ze,e=Be,a=e.busyMinDurationMs|0,0>=a?a=0:(c=e.busyDelayMs|0,d=F()-(10*(1073741821-d)-(e.timeoutMs|0||5E3)),a=d<=c?0:c+a-d),10<a)?(b.timeoutHandle=
Ua(Re.bind(null,b),a),null):Re.bind(null,b);default:throw p(Error(329));}}function fc(b,a){b<ze&&1<b&&(ze=b);null!==a&&b<Ae&&1<b&&(Ae=b,Be=a)}function Te(b){var a=We(b.alternate,b,W);b.memoizedProps=b.pendingProps;null===a&&(a=Ve(b));pe.current=null;return a}
function Ve(b){V=b;do{var a=V.alternate;b=V.return;if(0===(V.effectTag&2048)){a:{var c=a;a=V;var d=W,e=a.pendingProps;switch(a.tag){case 2:break;case 16:break;case 15:case 0:break;case 1:E(a.type)&&db(a);break;case 3:Kc(a);eb(a);c=a.stateNode;c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null);Nd(a);break;case 5:Mc(a);var f=Ic(Hc.current);d=a.type;if(null!==c&&null!=a.stateNode)Od(c,a,d,e,f),c.ref!==a.ref&&(a.effectTag|=128);else if(e){Ic(J.current);c=void 0;switch(d){case Fa.CLIPPING_RECTANGLE:c=
da.ClippingRectangle();c._applyProps=Oa;break;case Fa.GROUP:c=da.Group();c._applyProps=Qa;break;case Fa.SHAPE:c=da.Shape();c._applyProps=Sa;break;case Fa.TEXT:c=da.Text(e.children,e.font,e.alignment,e.path),c._applyProps=Ta}if(!c)throw p(Error(217),d);c._applyProps(c,e);Md(c,a,!1,!1);a.stateNode=c;null!==a.ref&&(a.effectTag|=128)}else if(null===a.stateNode)throw p(Error(166));break;case 6:if(c&&null!=a.stateNode)Pd(c,a,c.memoizedProps,e);else{if("string"!==typeof e&&null===a.stateNode)throw p(Error(166));
Ic(Hc.current);Ic(J.current);a.stateNode=e}break;case 11:break;case 13:A(K,a);e=a.memoizedState;if(0!==(a.effectTag&64)){a.expirationTime=d;break a}d=null!==e;e=!1;if(null!==c&&(f=c.memoizedState,e=null!==f,!d&&null!==f&&(f=c.child.sibling,null!==f))){var g=a.firstEffect;null!==g?(a.firstEffect=f,f.nextEffect=g):(a.firstEffect=a.lastEffect=f,f.nextEffect=null);f.effectTag=8}if(d&&!e&&0!==(a.mode&2))if(null===c&&!0!==a.memoizedProps.unstable_avoidThisFallback||0!==(K.current&1))X===te&&(X=ve);else if(X===
te||X===ve)X=we;if(d||e)a.effectTag|=4;break;case 7:break;case 8:break;case 12:break;case 4:Kc(a);Nd(a);break;case 10:Tb(a);break;case 9:break;case 14:break;case 17:E(a.type)&&db(a);break;case 19:A(K,a);e=a.memoizedState;if(null===e)break;f=0!==(a.effectTag&64);g=e.rendering;if(null===g)if(f)Qd(e,!1);else{if(X!==te||null!==c&&0!==(c.effectTag&64))for(c=a.child;null!==c;){g=Nc(c);if(null!==g){a.effectTag|=64;Qd(e,!1);c=g.updateQueue;null!==c&&(a.updateQueue=c,a.effectTag|=4);a.firstEffect=a.lastEffect=
null;c=d;for(d=a.child;null!==d;)e=d,f=c,e.effectTag&=2,e.nextEffect=null,e.firstEffect=null,e.lastEffect=null,g=e.alternate,null===g?(e.childExpirationTime=0,e.expirationTime=f,e.child=null,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null):(e.childExpirationTime=g.childExpirationTime,e.expirationTime=g.expirationTime,e.child=g.child,e.memoizedProps=g.memoizedProps,e.memoizedState=g.memoizedState,e.updateQueue=g.updateQueue,f=g.dependencies,e.dependencies=null===f?
null:{expirationTime:f.expirationTime,firstContext:f.firstContext,responders:f.responders}),d=d.sibling;B(K,K.current&1|2,a);a=a.child;break a}c=c.sibling}}else{if(!f)if(c=Nc(g),null!==c){if(a.effectTag|=64,f=!0,Qd(e,!0),null===e.tail&&"hidden"===e.tailMode){c=c.updateQueue;null!==c&&(a.updateQueue=c,a.effectTag|=4);a=a.lastEffect=e.lastEffect;null!==a&&(a.nextEffect=null);break}}else F()>e.tailExpiration&&1<d&&(a.effectTag|=64,f=!0,Qd(e,!1),a.expirationTime=a.childExpirationTime=d-1);e.isBackwards?
(g.sibling=a.child,a.child=g):(c=e.last,null!==c?c.sibling=g:a.child=g,e.last=g)}if(null!==e.tail){0===e.tailExpiration&&(e.tailExpiration=F()+500);c=e.tail;e.rendering=c;e.tail=c.sibling;e.lastEffect=a.lastEffect;c.sibling=null;d=K.current;d=f?d&1|2:d&1;B(K,d,a);a=c;break a}break;case 20:break;default:throw p(Error(156));}a=null}c=V;if(1===W||1!==c.childExpirationTime){d=0;for(e=c.child;null!==e;)f=e.expirationTime,g=e.childExpirationTime,f>d&&(d=f),g>d&&(d=g),e=e.sibling;c.childExpirationTime=d}if(null!==
a)return a;null!==b&&0===(b.effectTag&2048)&&(null===b.firstEffect&&(b.firstEffect=V.firstEffect),null!==V.lastEffect&&(null!==b.lastEffect&&(b.lastEffect.nextEffect=V.firstEffect),b.lastEffect=V.lastEffect),1<V.effectTag&&(null!==b.lastEffect?b.lastEffect.nextEffect=V:b.firstEffect=V,b.lastEffect=V))}else{a=Rd(V,W);if(null!==a)return a.effectTag&=2047,a;null!==b&&(b.firstEffect=b.lastEffect=null,b.effectTag|=2048)}a=V.sibling;if(null!==a)return a;V=b}while(null!==V);X===te&&(X=xe);return null}
function Re(b){var a=Bb();Db(99,Xe.bind(null,b,a));null!==Fe&&Eb(97,function(){Se();return null});return null}
function Xe(b,a){Se();if((U&(re|se))!==T)throw p(Error(327));var c=b.finishedWork,d=b.finishedExpirationTime;if(null===c)return null;b.finishedWork=null;b.finishedExpirationTime=0;if(c===b.current)throw p(Error(177));b.callbackNode=null;b.callbackExpirationTime=0;var e=c.expirationTime,f=c.childExpirationTime;e=f>e?f:e;b.firstPendingTime=e;e<b.lastPendingTime&&(b.lastPendingTime=e);b===ye&&(V=ye=null,W=0);1<c.effectTag?null!==c.lastEffect?(c.lastEffect.nextEffect=c,e=c.firstEffect):e=c:e=c.firstEffect;
if(null!==e){f=U;U|=se;pe.current=null;Y=e;do try{for(;null!==Y;){if(0!==(Y.effectTag&256)){var g=Y.alternate,h=Y;switch(h.tag){case 0:case 11:case 15:Yd(2,0,h);break;case 1:if(h.effectTag&256&&null!==g){var l=g.memoizedProps,k=g.memoizedState,m=h.stateNode,x=m.getSnapshotBeforeUpdate(h.elementType===h.type?l:G(h.type,l),k);m.__reactInternalSnapshotBeforeUpdate=x}break;case 3:case 5:case 6:case 4:case 17:break;default:throw p(Error(163));}}Y=Y.nextEffect}}catch(t){if(null===Y)throw p(Error(330));
Wd(Y,t);Y=Y.nextEffect}while(null!==Y);Y=e;do try{for(g=b,l=a;null!==Y;){var w=Y.effectTag;if(w&128){var r=Y.alternate;if(null!==r){var M=r.ref;null!==M&&("function"===typeof M?M(null):M.current=null)}}switch(w&1038){case 2:ce(Y);Y.effectTag&=-3;break;case 6:ce(Y);Y.effectTag&=-3;de(Y.alternate,Y);break;case 1024:Y.effectTag&=-1025;break;case 1028:Y.effectTag&=-1025;de(Y.alternate,Y);break;case 4:de(Y.alternate,Y);break;case 8:k=Y;ae(g,k,l);k.return=null;k.child=null;k.memoizedState=null;k.updateQueue=
null;k.dependencies=null;var N=k.alternate;null!==N&&(N.return=null,N.child=null,N.memoizedState=null,N.updateQueue=null,N.dependencies=null)}Y=Y.nextEffect}}catch(t){if(null===Y)throw p(Error(330));Wd(Y,t);Y=Y.nextEffect}while(null!==Y);b.current=c;Y=e;do try{for(w=d;null!==Y;){var y=Y.effectTag;if(y&36){var q=Y.alternate;r=Y;M=w;switch(r.tag){case 0:case 11:case 15:Yd(16,32,r);break;case 1:var v=r.stateNode;if(r.effectTag&4)if(null===q)v.componentDidMount();else{var qa=r.elementType===r.type?q.memoizedProps:
G(r.type,q.memoizedProps);v.componentDidUpdate(qa,q.memoizedState,v.__reactInternalSnapshotBeforeUpdate)}var Id=r.updateQueue;null!==Id&&gc(r,Id,v,M);break;case 3:var Jd=r.updateQueue;if(null!==Jd){N=null;if(null!==r.child)switch(r.child.tag){case 5:N=r.child.stateNode;break;case 1:N=r.child.stateNode}gc(r,Jd,N,M)}break;case 5:break;case 6:break;case 4:break;case 12:break;case 13:break;case 19:case 17:case 20:break;default:throw p(Error(163));}}if(y&128){var Gb=Y.ref;if(null!==Gb){var Kd=Y.stateNode;
switch(Y.tag){case 5:var qc=Kd;break;default:qc=Kd}"function"===typeof Gb?Gb(qc):Gb.current=qc}}y&512&&(Ee=!0);Y=Y.nextEffect}}catch(t){if(null===Y)throw p(Error(330));Wd(Y,t);Y=Y.nextEffect}while(null!==Y);Y=null;wb();U=f}else b.current=c;if(Ee)Ee=!1,Fe=b,He=d,Ge=a;else for(Y=e;null!==Y;)a=Y.nextEffect,Y.nextEffect=null,Y=a;a=b.firstPendingTime;0!==a?(y=lc(),y=Jb(y,a),Ne(b,y,a)):me=null;"function"===typeof Ye&&Ye(c.stateNode,d);1073741823===a?b===Ke?Je++:(Je=0,Ke=b):Je=0;if(je)throw je=!1,b=ke,ke=
null,b;if((U&qe)!==T)return null;Ib();return null}function Se(){if(null===Fe)return!1;var b=Fe,a=He,c=Ge;Fe=null;He=0;Ge=90;return Db(97<c?97:c,Ze.bind(null,b,a))}function Ze(b){if((U&(re|se))!==T)throw p(Error(331));var a=U;U|=se;for(b=b.current.firstEffect;null!==b;){try{var c=b;if(0!==(c.effectTag&512))switch(c.tag){case 0:case 11:case 15:Yd(128,0,c),Yd(0,64,c)}}catch(d){if(null===b)throw p(Error(330));Wd(b,d)}c=b.nextEffect;b.nextEffect=null;b=c}U=a;Ib();return!0}
function $e(b,a,c){a=Sd(c,a);a=ie(b,a,1073741823);ac(b,a);b=Me(b,1073741823);null!==b&&Ne(b,99,1073741823)}function Wd(b,a){if(3===b.tag)$e(b,b,a);else for(var c=b.return;null!==c;){if(3===c.tag){$e(c,b,a);break}else if(1===c.tag){var d=c.stateNode;if("function"===typeof c.type.getDerivedStateFromError||"function"===typeof d.componentDidCatch&&(null===me||!me.has(d))){b=Sd(a,b);b=le(c,b,1073741823);ac(c,b);c=Me(c,1073741823);null!==c&&Ne(c,99,1073741823);break}}c=c.return}}
function Ue(b,a,c){var d=b.pingCache;null!==d&&d.delete(a);ye===b&&W===c?X===we||X===ve&&1073741823===ze&&F()-ee<De?Qe(b,W):Ce=!0:b.lastPendingTime<c||(a=b.pingTime,0!==a&&a<c||(b.pingTime=c,b.finishedExpirationTime===c&&(b.finishedExpirationTime=0,b.finishedWork=null),a=lc(),a=Jb(a,c),Ne(b,a,c)))}function ge(b,a){var c=b.stateNode;null!==c&&c.delete(a);a=1;c=lc();1===a&&(a=mc(c,b,null));c=Jb(c,a);b=Me(b,a);null!==b&&Ne(b,c,a)}var We;
We=function(b,a,c){var d=a.expirationTime;if(null!==b)if(b.memoizedProps!==a.pendingProps||D.current)H=!0;else{if(d<c){H=!1;switch(a.tag){case 3:Ed(a);break;case 5:Lc(a);break;case 1:E(a.type)&&hb(a);break;case 4:Jc(a,a.stateNode.containerInfo);break;case 10:Sb(a,a.memoizedProps.value);break;case 13:if(null!==a.memoizedState){d=a.child.childExpirationTime;if(0!==d&&d>=c)return Gd(b,a,c);B(K,K.current&1,a);a=wd(b,a,c);return null!==a?a.sibling:null}B(K,K.current&1,a);break;case 19:d=a.childExpirationTime>=
c;if(0!==(b.effectTag&64)){if(d)return Ld(b,a,c);a.effectTag|=64}var e=a.memoizedState;null!==e&&(e.rendering=null,e.tail=null);B(K,K.current,a);if(!d)return null}return wd(b,a,c)}H=!1}else H=!1;a.expirationTime=0;switch(a.tag){case 2:d=a.type;null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2);b=a.pendingProps;e=cb(a,C.current);Vb(a,c);e=$c(null,a,d,b,e,c);a.effectTag|=1;if("object"===typeof e&&null!==e&&"function"===typeof e.render&&void 0===e.$$typeof){a.tag=1;dd();if(E(d)){var f=!0;hb(a)}else f=
!1;a.memoizedState=null!==e.state&&void 0!==e.state?e.state:null;var g=d.getDerivedStateFromProps;"function"===typeof g&&kc(a,d,g,b);e.updater=oc;a.stateNode=e;e._reactInternalFiber=a;tc(a,d,b,c);a=Dd(null,a,d,!0,f,c)}else a.tag=0,S(null,a,e,c),a=a.child;return a;case 16:e=a.elementType;null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2);b=a.pendingProps;za(e);if(1!==e._status)throw e._result;e=e._result;a.type=e;f=a.tag=af(e);b=G(e,b);switch(f){case 0:a=Ad(null,a,e,b,c);break;case 1:a=Cd(null,
a,e,b,c);break;case 11:a=vd(null,a,e,b,c);break;case 14:a=xd(null,a,e,G(e.type,b),d,c);break;default:throw p(Error(306),e,"");}return a;case 0:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),Ad(b,a,d,e,c);case 1:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),Cd(b,a,d,e,c);case 3:Ed(a);d=a.updateQueue;if(null===d)throw p(Error(282));e=a.memoizedState;e=null!==e?e.element:null;ec(a,d,a.pendingProps,null,c);d=a.memoizedState.element;d===e?a=wd(b,a,c):(S(b,a,d,c),a=a.child);
return a;case 5:return Lc(a),null===b&&sd(a),d=a.type,e=a.pendingProps,f=null!==b?b.memoizedProps:null,g=e.children,Wa(d,e)?g=null:null!==f&&Wa(d,f)&&(a.effectTag|=16),Bd(b,a),S(b,a,g,c),a.child;case 6:return null===b&&sd(a),null;case 13:return Gd(b,a,c);case 4:return Jc(a,a.stateNode.containerInfo),d=a.pendingProps,null===b?a.child=Dc(a,null,d,c):S(b,a,d,c),a.child;case 11:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),vd(b,a,d,e,c);case 7:return S(b,a,a.pendingProps,c),a.child;case 8:return S(b,
a,a.pendingProps.children,c),a.child;case 12:return S(b,a,a.pendingProps.children,c),a.child;case 10:a:{d=a.type._context;e=a.pendingProps;g=a.memoizedProps;f=e.value;Sb(a,f);if(null!==g){var h=g.value;f=Kb(h,f)?0:("function"===typeof d._calculateChangedBits?d._calculateChangedBits(h,f):1073741823)|0;if(0===f){if(g.children===e.children&&!D.current){a=wd(b,a,c);break a}}else for(h=a.child,null!==h&&(h.return=a);null!==h;){var l=h.dependencies;if(null!==l){g=h.child;for(var k=l.firstContext;null!==
k;){if(k.context===d&&0!==(k.observedBits&f)){1===h.tag&&(k=Zb(c,null),k.tag=2,ac(h,k));h.expirationTime<c&&(h.expirationTime=c);k=h.alternate;null!==k&&k.expirationTime<c&&(k.expirationTime=c);Ub(h.return,c);l.expirationTime<c&&(l.expirationTime=c);break}k=k.next}}else g=10===h.tag?h.type===a.type?null:h.child:h.child;if(null!==g)g.return=h;else for(g=h;null!==g;){if(g===a){g=null;break}h=g.sibling;if(null!==h){h.return=g.return;g=h;break}g=g.return}h=g}}S(b,a,e.children,c);a=a.child}return a;case 9:return e=
a.type,f=a.pendingProps,d=f.children,Vb(a,c),e=I(e,f.unstable_observedBits),d=d(e),a.effectTag|=1,S(b,a,d,c),a.child;case 14:return e=a.type,f=G(e,a.pendingProps),f=G(e.type,f),xd(b,a,e,f,d,c);case 15:return zd(b,a,a.type,a.pendingProps,d,c);case 17:return d=a.type,e=a.pendingProps,e=a.elementType===d?e:G(d,e),null!==b&&(b.alternate=null,a.alternate=null,a.effectTag|=2),a.tag=1,E(d)?(b=!0,hb(a)):b=!1,Vb(a,c),rc(a,d,e,c),tc(a,d,e,c),Dd(null,a,d,!0,b,c);case 19:return Ld(b,a,c)}throw p(Error(156));
};var Ye=null,$d=null;function bf(b){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var a=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(a.isDisabled||!a.supportsFiber)return!0;try{var c=a.inject(b);Ye=function(b){try{a.onCommitFiberRoot(c,b,void 0,64===(b.current.effectTag&64))}catch(e){}};$d=function(b){try{a.onCommitFiberUnmount(c,b)}catch(e){}}}catch(d){}return!0}
function cf(b,a,c,d){this.tag=b;this.key=c;this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null;this.index=0;this.ref=null;this.pendingProps=a;this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null;this.mode=d;this.effectTag=0;this.lastEffect=this.firstEffect=this.nextEffect=null;this.childExpirationTime=this.expirationTime=0;this.alternate=null}function td(b,a,c,d){return new cf(b,a,c,d)}
function yd(b){b=b.prototype;return!(!b||!b.isReactComponent)}function af(b){if("function"===typeof b)return yd(b)?1:0;if(void 0!==b&&null!==b){b=b.$$typeof;if(b===sa)return 11;if(b===va)return 14}return 2}
function yc(b,a){var c=b.alternate;null===c?(c=td(b.tag,a,b.key,b.mode),c.elementType=b.elementType,c.type=b.type,c.stateNode=b.stateNode,c.alternate=b,b.alternate=c):(c.pendingProps=a,c.effectTag=0,c.nextEffect=null,c.firstEffect=null,c.lastEffect=null);c.childExpirationTime=b.childExpirationTime;c.expirationTime=b.expirationTime;c.child=b.child;c.memoizedProps=b.memoizedProps;c.memoizedState=b.memoizedState;c.updateQueue=b.updateQueue;a=b.dependencies;c.dependencies=null===a?null:{expirationTime:a.expirationTime,
firstContext:a.firstContext,responders:a.responders};c.sibling=b.sibling;c.index=b.index;c.ref=b.ref;return c}
function Ac(b,a,c,d,e,f){var g=2;d=b;if("function"===typeof b)yd(b)&&(g=1);else if("string"===typeof b)g=5;else a:switch(b){case la:return Cc(c.children,e,f,a);case ra:g=8;e|=7;break;case ma:g=8;e|=1;break;case na:return b=td(12,c,a,e|8),b.elementType=na,b.type=na,b.expirationTime=f,b;case ta:return b=td(13,c,a,e),b.type=ta,b.elementType=ta,b.expirationTime=f,b;case ua:return b=td(19,c,a,e),b.elementType=ua,b.expirationTime=f,b;default:if("object"===typeof b&&null!==b)switch(b.$$typeof){case oa:g=
10;break a;case pa:g=9;break a;case sa:g=11;break a;case va:g=14;break a;case wa:g=16;d=null;break a}throw p(Error(130),null==b?b:typeof b,"");}a=td(g,c,a,e);a.elementType=b;a.type=d;a.expirationTime=f;return a}function Cc(b,a,c,d){b=td(7,b,d,a);b.expirationTime=c;return b}function zc(b,a,c){b=td(6,b,null,a);b.expirationTime=c;return b}
function Bc(b,a,c){a=td(4,null!==b.children?b.children:[],b.key,a);a.expirationTime=c;a.stateNode={containerInfo:b.containerInfo,pendingChildren:null,implementation:b.implementation};return a}
function df(b,a,c){this.tag=a;this.current=null;this.containerInfo=b;this.pingCache=this.pendingChildren=null;this.finishedExpirationTime=0;this.finishedWork=null;this.timeoutHandle=-1;this.pendingContext=this.context=null;this.hydrate=c;this.callbackNode=this.firstBatch=null;this.pingTime=this.lastPendingTime=this.firstPendingTime=this.callbackExpirationTime=0}
function ef(b,a,c,d){var e=a.current,f=lc(),g=ic.suspense;e=mc(f,e,g);f=a.current;a:if(c){c=c._reactInternalFiber;b:{if(2!==Ba(c)||1!==c.tag)throw p(Error(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(E(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext;break b}}h=h.return}while(null!==h);throw p(Error(171));}if(1===c.tag){var l=c.type;if(E(l)){c=gb(c,l,h);break a}}c=h}else c=ab;null===a.context?a.context=c:a.pendingContext=c;a=d;g=Zb(e,g);g.payload={element:b};
a=void 0===a?null:a;null!==a&&(g.callback=a);ac(f,g);nc(f,e);return e}da.setCurrent(ea);
var ff=Array.prototype.slice,gf=function(){function b(a,b,d,e,f){this._args=ff.call(arguments)}b.prototype.applyFill=function(a){a.fillLinear.apply(a,this._args)};return b}(),hf=function(){function b(a,b,d,e,f,g,h){this._args=ff.call(arguments)}b.prototype.applyFill=function(a){a.fillRadial.apply(a,this._args)};return b}(),jf=function(){function b(a,b,d,e,f){this._args=ff.call(arguments)}b.prototype.applyFill=function(a){a.fillImage.apply(a,this._args)};return b}(),kf=function(b){function a(){return b.apply(this,
arguments)||this}ha(a,b);var c=a.prototype;c.componentDidMount=function(){var a=this.props;this._surface=da.Surface(+a.width,+a.height,this._tagRef);a=new df(this._surface,0,!1);var b=td(3,null,null,0);a.current=b;this._mountNode=b.stateNode=a;ef(this.props.children,this._mountNode,this)};c.componentDidUpdate=function(a){var b=this.props;b.height===a.height&&b.width===a.width||this._surface.resize(+b.width,+b.height);ef(this.props.children,this._mountNode,this);this._surface.render&&this._surface.render()};
c.componentWillUnmount=function(){ef(null,this._mountNode,this)};c.render=function(){var a=this,b=this.props;return aa.createElement(da.Surface.tagName,{ref:function(b){return a._tagRef=b},accessKey:b.accessKey,className:b.className,draggable:b.draggable,role:b.role,style:b.style,tabIndex:b.tabIndex,title:b.title})};return a}(aa.Component),lf=function(b){function a(a){var c=b.call(this,a)||this;["height","width","x","y"].forEach(function(a){Object.defineProperty(ia(c),a,{get:function(){return this._text?
this._text[a]:void 0}})});return c}ha(a,b);a.prototype.render=function(){var a=this;return aa.createElement(Fa.TEXT,fa({},this.props,{ref:function(b){return a._text=b}}),Ha(this.props.children))};return a}(aa.Component);
(function(b){var a=b.findFiberByHostInstance;return bf(ba({},b,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:u.ReactCurrentDispatcher,findHostInstanceByFiber:function(a){a=Ea(a);return null===a?null:a.stateNode},findFiberByHostInstance:function(b){return a?a(b):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:function(){return null},bundleType:0,
version:"16.8.6",rendererPackageName:"react-art"});module.exports={ClippingRectangle:Fa.CLIPPING_RECTANGLE,Group:Fa.GROUP,Shape:Fa.SHAPE,Path:da.Path,LinearGradient:gf,Pattern:jf,RadialGradient:hf,Surface:kf,Text:lf,Transform:ca};
