=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+u;return{name:c,styles:i,next:be}},Ie=!!t.useInsertionEffect&&t.useInsertionEffect,Ce=Ie||function(e){return e()},_e=Ie||e.useLayoutEffect,xe=e.createContext("undefined"!==typeof HTMLElement?le({key:"css"}):null);xe.Provider;var Be=function(t){return(0,e.forwardRef)((function(n,r){var i=(0,e.useContext)(xe);return t(n,i,r)}))};var ke=e.createContext({});var Se=function(){return e.useContext(ke)},Re=fe((function(e){return fe((function(t){return function(e,t){return"function"===typeof t?t(e):o({},e,t)}(e,t)}))})),Ne=function(t){var n=e.useContext(ke);return t.theme!==n&&(n=Re(n)(t.theme)),e.createElement(ke.Provider,{value:n},t.children)};var Qe,Oe,Me=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},De=function(e,t,n){Me(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}},Te=u,Le=function(e){return"theme"!==e},Pe=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?Te:Le},Fe=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},je=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Me(t,n,r),Ce((function(){return De(t,n,r)})),null},Ue=function t(n,r){var i,a,s=n.__emotion_real===n,u=s&&n.__emotion_base||n;void 0!==r&&(i=r.label,a=r.target);var c=Fe(n,r,s),l=c||Pe(u),f=!l("as");return function(){var d=arguments,h=s&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==i&&h.push("label:"+i+";"),null==d[0]||void 0===d[0].raw)h.push.apply(h,d);else{0,h.push(d[0][0]);for(var p=d.length,A=1;Ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function It(e,t,n,r){void 0===r&&(r={});var i=r,o=i.window,a=void 0===o?document.defaultView:o,s=i.v5Compat,u=void 0!==s&&s,c=a.history,l=He.Pop,f=null,d=h();function h(){return(c.state||{idx:null}).idx}function p(){l=He.Pop;var e=h(),t=null==e?null:e-d;d=e,f&&f({action:l,location:v.location,delta:t})}function A(e){var t="null"!==a.location.origin?a.location.origin:a.location.href,n="string"===typeof e?e:wt(e);return gt(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,c.replaceState(pt({},c.state,{idx:d}),""));var v={get action(){return l},get location(){return e(a,c)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(vt,p),f=e,function(){a.removeEventListener(vt,p),f=null}},createHref:function(e){return t(a,e)},createURL:A,encodeLocation:function(e){var t=A(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l=He.Push;var r=bt(v.location,e,t);n&&n(r,e);var i=yt(r,d=h()+1),o=v.createHref(r);try{c.pushState(i,"",o)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;a.location.assign(o)}u&&f&&f({action:l,location:v.location,delta:1})},replace:function(e,t){l=He.Replace;var r=bt(v.location,e,t);n&&n(r,e);var i=yt(r,d=h()),o=v.createHref(r);c.replaceState(i,"",o),u&&f&&f({action:l,location:v.location,delta:0})},go:function(e){return c.go(e)}};return v}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(At||(At={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function Ct(e,t,n){void 0===n&&(n="/");var r=Pt(("string"===typeof t?Et(t):t).pathname||"/",n);if(null==r)return null;var i=_t(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(i);for(var o=null,a=0;null==o&&a0&&(gt(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),_t(e.children,t,u,s)),(null!=e.path||e.index)&&t.push({path:s,score:Mt(s,e.index),routesMeta:u})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=ht(xt(e.path));try{for(o.s();!(r=o.n()).done;){var a=r.value;i(e,t,a)}}catch(s){o.e(s)}finally{o.f()}}else i(e,t)})),t}function xt(e){var t=e.split("/");if(0===t.length)return[];var n=dt(t),r=n[0],i=n.slice(1),o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===i.length)return o?[a,""]:[a];var s=xt(i.join("/")),u=[];return u.push.apply(u,Ye(s.map((function(e){return""===e?a:[a,e].join("/")})))),o&&u.push.apply(u,Ye(s)),u.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var Bt=/^:\w+$/,kt=3,St=2,Rt=1,Nt=10,Qt=-2,Ot=function(e){return"*"===e};function Mt(e,t){var n=e.split("/"),r=n.length;return n.some(Ot)&&(r+=Qt),t&&(r+=St),n.filter((function(e){return!Ot(e)})).reduce((function(e,t){return e+(Bt.test(t)?kt:""===t?Rt:Nt)}),r)}function Dt(e,t){for(var n=e.routesMeta,r={},i="/",o=[],a=0;a and the router will parse it for you.'}function jt(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function Ut(e,t,n,r){var i;void 0===r&&(r=!1),"string"===typeof e?i=Et(e):(gt(!(i=pt({},e)).pathname||!i.pathname.includes("?"),Ft("?","pathname","search",i)),gt(!i.pathname||!i.pathname.includes("#"),Ft("#","pathname","hash",i)),gt(!i.search||!i.search.includes("#"),Ft("#","search","hash",i)));var o,a=""===e||""===i.pathname,s=a?"/":i.pathname;if(r||null==s)o=n;else{var u=t.length-1;if(s.startsWith("..")){for(var c=s.split("/");".."===c[0];)c.shift(),u-=1;i.pathname=c.join("/")}o=u>=0?t[u]:"/"}var l=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?Et(e):e,r=n.pathname,i=n.search,o=void 0===i?"":i,a=n.hash,s=void 0===a?"":a,u=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:u,search:zt(o),hash:Vt(s)}}(i,o),f=s&&"/"!==s&&s.endsWith("/"),d=(a||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!f&&!d||(l.pathname+="/"),l}var Ht=function(e){return e.join("/").replace(/\/\/+/g,"/")},Gt=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},zt=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Vt=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Jt=function(e){tt(n,e);var t=at(n);function n(){return We(this,n),t.apply(this,arguments)}return $e(n)}(ut(Error));function Xt(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var Yt=["post","put","patch","delete"],Wt=(new Set(Yt),["get"].concat(Yt));new Set(Wt),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred");function Zt(){return Zt=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||gt(!1),a=a.slice(0,Math.min(a.length,u+1))}return a.reduceRight((function(t,i,o){var u=i.route.id?null==s?void 0:s[i.route.id]:null,c=null;r&&(c=i.route.errorElement||dn);var l=n.concat(a.slice(0,o+1)),f=function(){var n;return n=u?c:i.route.Component?e.createElement(i.route.Component,null):i.route.element?i.route.element:t,e.createElement(pn,{match:i,routeContext:{outlet:t,matches:l,isDataRoute:null!=r},children:n})};return r&&(i.route.ErrorBoundary||i.route.errorElement||0===o)?e.createElement(hn,{location:r.location,revalidation:r.revalidation,component:c,error:u,children:f(),routeContext:{outlet:null,matches:l,isDataRoute:!0}}):f()}),null)}var vn=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(vn||{}),gn=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(gn||{});function mn(t){var n=e.useContext(qt);return n||gt(!1),n}function yn(t){var n=e.useContext(Kt);return n||gt(!1),n}function bn(t){var n=function(t){var n=e.useContext(nn);return n||gt(!1),n}(),r=n.matches[n.matches.length-1];return r.route.id||gt(!1),r.route.id}t.startTransition;function wn(t){var n=t.to,r=t.replace,i=t.state,o=t.relative;on()||gt(!1);var a=e.useContext(nn).matches,s=an().pathname,u=un(),c=Ut(n,jt(a).map((function(e){return e.pathnameBase})),s,"path"===o),l=JSON.stringify(c);return e.useEffect((function(){return u(JSON.parse(l),{replace:r,state:i,relative:o})}),[u,l,o,r,i]),null}function En(e){gt(!1)}function In(t){var n=t.basename,r=void 0===n?"/":n,i=t.children,o=void 0===i?null:i,a=t.location,s=t.navigationType,u=void 0===s?He.Pop:s,c=t.navigator,l=t.static,f=void 0!==l&&l;on()&>(!1);var d=r.replace(/^\/*/,"/"),h=e.useMemo((function(){return{basename:d,navigator:c,static:f}}),[d,c,f]);"string"===typeof a&&(a=Et(a));var p=a,A=p.pathname,v=void 0===A?"/":A,g=p.search,m=void 0===g?"":g,y=p.hash,b=void 0===y?"":y,w=p.state,E=void 0===w?null:w,I=p.key,C=void 0===I?"default":I,_=e.useMemo((function(){var e=Pt(v,d);return null==e?null:{location:{pathname:e,search:m,hash:b,state:E,key:C},navigationType:u}}),[d,v,m,b,E,C,u]);return null==_?null:e.createElement(en.Provider,{value:h},e.createElement(tn.Provider,{children:o,value:_}))}function Cn(e){var t=e.children,n=e.location;return ln(Bn(t),n)}var _n=function(e){return e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error",e}(_n||{}),xn=new Promise((function(){}));e.Component;function Bn(t,n){void 0===n&&(n=[]);var r=[];return e.Children.forEach(t,(function(t,i){if(e.isValidElement(t)){var o=[].concat(Ye(n),[i]);if(t.type!==e.Fragment){t.type!==En&>(!1),t.props.index&&t.props.children&>(!1);var a={id:t.props.id||o.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(a.children=Bn(t.props.children,o)),r.push(a)}else r.push.apply(r,Bn(t.props.children,o))}})),r}function kn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function fr(e){var t=function(e,t){if("object"!==typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof t?t:String(t)}var dr=Symbol("mobx-stored-annotations");function hr(e){return Object.assign((function(t,n){pr(t,n,e)}),e)}function pr(e,t,n){tr(e,dr)||Xn(e,dr,or({},e[dr])),function(e){return e.annotationType_===Er}(n)||(e[dr][t]=n)}var Ar=Symbol("mobx administration"),vr=function(){function e(e){void 0===e&&(e="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.batchId_=void 0,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=gi.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=e,this.batchId_=Ti.inBatch?Ti.batchId:NaN}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach((function(e){return e()}))},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach((function(e){return e()}))},t.reportObserved=function(){return Hi(this)},t.reportChanged=function(){Ti.inBatch&&this.batchId_===Ti.batchId||(Ti.stateVersion=Ti.stateVersionr&&(r=s.dependenciesState_)}n.length=i,e.newObserving_=null,o=t.length;for(;o--;){var u=t[o];0===u.diffValue_&&Pi(u,e),u.diffValue_=0}for(;i--;){var c=n[i];1===c.diffValue_&&(c.diffValue_=0,Li(c,e))}r!==gi.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}(e),Ni(r),i}function xi(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)Pi(t[n],e);e.dependenciesState_=gi.NOT_TRACKING_}function Bi(e){var t=ki();try{return e()}finally{Si(t)}}function ki(){var e=Ti.trackingDerivation;return Ti.trackingDerivation=null,e}function Si(e){Ti.trackingDerivation=e}function Ri(e){var t=Ti.allowStateReads;return Ti.allowStateReads=e,t}function Ni(e){Ti.allowStateReads=e}function Qi(e){if(e.dependenciesState_!==gi.UP_TO_DATE_){e.dependenciesState_=gi.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=gi.UP_TO_DATE_}}var Oi=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.batchId=Number.MIN_SAFE_INTEGER,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0,this.stateVersion=Number.MIN_SAFE_INTEGER},Mi=!0,Di=!1,Ti=function(){var e=Rn();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Mi=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==(new Oi).version&&(Mi=!1),Mi?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Oi):(setTimeout((function(){Di||kn(35)}),1),new Oi)}();function Li(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function Pi(e,t){e.observers_.delete(t),0===e.observers_.size&&Fi(e)}function Fi(e){!1===e.isPendingUnobservation_&&(e.isPendingUnobservation_=!0,Ti.pendingUnobservations.push(e))}function ji(){0===Ti.inBatch&&(Ti.batchId=Ti.batchId0&&Fi(e),!1)}function Gi(e){e.lowestObserverState_!==gi.STALE_&&(e.lowestObserverState_=gi.STALE_,e.observers_.forEach((function(e){e.dependenciesState_===gi.UP_TO_DATE_&&e.onBecomeStale_(),e.dependenciesState_=gi.STALE_})))}var zi=function(){function e(e,t,n,r){void 0===e&&(e="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=gi.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=mi.NONE,this.name_=e,this.onInvalidate_=t,this.errorHandler_=n,this.requiresObservable_=r}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,Ti.pendingReactions.push(this),Xi())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){ji(),this.isScheduled_=!1;var e=Ti.trackingContext;if(Ti.trackingContext=this,Ii(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(rk){this.reportExceptionInDerivation_(rk)}}Ti.trackingContext=e,Ui()}},t.track=function(e){if(!this.isDisposed_){ji();0,this.isRunning_=!0;var t=Ti.trackingContext;Ti.trackingContext=this;var n=_i(this,e,void 0);Ti.trackingContext=t,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&xi(this),Ei(n)&&this.reportExceptionInDerivation_(n.cause),Ui()}},t.reportExceptionInDerivation_=function(e){var t=this;if(this.errorHandler_)this.errorHandler_(e,this);else{if(Ti.disableErrorBoundaries)throw e;var n="[mobx] uncaught error in '"+this+"'";Ti.suppressReactionErrors||console.error(n,e),Ti.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(ji(),xi(this),Ui()))},t.getDisposer_=function(e){var t=this,n=function n(){t.dispose(),null==e||null==e.removeEventListener||e.removeEventListener("abort",n)};return null==e||null==e.addEventListener||e.addEventListener("abort",n),n[Ar]=this,n},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(e){void 0===e&&(e=!1)},e}();var Vi=100,Ji=function(e){return e()};function Xi(){Ti.inBatch>0||Ti.isRunningReactions||Ji(Yi)}function Yi(){Ti.isRunningReactions=!0;for(var e=Ti.pendingReactions,t=0;e.length>0;){++t===Vi&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,i=n.length;r",$i=Ir(Zi),eo=Ir("action.bound",{bound:!0}),to=Ir(qi,{autoAction:!0}),no=Ir("autoAction.bound",{autoAction:!0,bound:!0});function ro(e){return function(t,n){return Hn(t)?li(t.name||Ki,t,e):Hn(n)?li(t,n,e):Gn(n)?pr(t,n,e?to:$i):Gn(t)?hr(Ir(e?qi:Zi,{name:t,autoAction:e})):void 0}}var io=ro(!1);Object.assign(io,$i);var oo=ro(!0);function ao(e){return Hn(e)&&!0===e.isMobxAction}function so(e,t){var n,r,i,o,a;void 0===t&&(t=Tn);var s,u=null!=(n=null==(r=t)?void 0:r.name)?n:"Autorun";if(!t.scheduler&&!t.delay)s=new zi(u,(function(){this.track(f)}),t.onError,t.requiresObservable);else{var c=co(t),l=!1;s=new zi(u,(function(){l||(l=!0,c((function(){l=!1,s.isDisposed_||s.track(f)})))}),t.onError,t.requiresObservable)}function f(){e(s)}return null!=(i=t)&&null!=(o=i.signal)&&o.aborted||s.schedule_(),s.getDisposer_(null==(a=t)?void 0:a.signal)}Object.assign(oo,to),io.bound=hr(eo),oo.bound=hr(no);var uo=function(e){return e()};function co(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:uo}function lo(e,t,n){var r,i,o,a;void 0===n&&(n=Tn);var s,u,c,l,f=null!=(r=n.name)?r:"Reaction",d=io(f,n.onError?(s=n.onError,u=t,function(){try{return u.apply(this,arguments)}catch(rk){s.call(this,rk)}}):t),h=!n.scheduler&&!n.delay,p=co(n),A=!0,v=!1,g=n.compareStructural?yr.structural:n.equals||yr.default,m=new zi(f,(function(){A||h?y():v||(v=!0,p(y))}),n.onError,n.requiresObservable);function y(){if(v=!1,!m.isDisposed_){var t=!1;m.track((function(){var n=di(!1,(function(){return e(m)}));t=A||!g(c,n),l=c,c=n})),(A&&n.fireImmediately||!A&&t)&&d(c,l,m),A=!1}}return null!=(i=n)&&null!=(o=i.signal)&&o.aborted||m.schedule_(),m.getDisposer_(null==(a=n)?void 0:a.signal)}var fo="onBO",ho="onBUO";function po(e,t,n){return Ao(ho,e,t,n)}function Ao(e,t,n,r){var i="function"===typeof r?Da(t,n):Da(t),o=Hn(r)?r:n,a=e+"L";return i[a]?i[a].add(o):i[a]=new Set([o]),function(){var e=i[a];e&&(e.delete(o),0===e.size&&delete i[a])}}var vo="never",go="always",mo="observed";function yo(e){!0===e.isolateGlobalState&&function(){if((Ti.pendingReactions.length||Ti.inBatch||Ti.isRunningReactions)&&kn(36),Di=!0,Mi){var e=Rn();0===--e.__mobxInstanceCount&&(e.__mobxGlobals=void 0),Ti=new Oi}}();var t=e.useProxies,n=e.enforceActions;if(void 0!==t&&(Ti.useProxies=t===go||t!==vo&&"undefined"!==typeof Proxy),"ifavailable"===t&&(Ti.verifyProxies=!0),void 0!==n){var r=n===go?go:n===mo;Ti.enforceActions=r,Ti.allowStateChanges=!0!==r&&r!==go}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach((function(t){t in e&&(Ti[t]=!!e[t])})),Ti.allowStateReads=!Ti.observableRequiresReaction,e.reactionScheduler&&function(e){var t=Ji;Ji=function(n){return e((function(){return t(n)}))}}(e.reactionScheduler)}function bo(e,t,n,r){var i=nr(t);return Pa((function(){var t=ma(e,r)[Ar];$n(i).forEach((function(e){t.extend_(e,i[e],!n||(!(e in n)||n[e]))}))})),e}function wo(e,t){return Eo(Da(e,t))}function Eo(e){var t,n={name:e.name_};return e.observing_&&e.observing_.length>0&&(n.dependencies=(t=e.observing_,Array.from(new Set(t))).map(Eo)),n}var Io=0;function Co(){this.message="FLOW_CANCELLED"}Co.prototype=Object.create(Error.prototype);var _o=Br("flow"),xo=Br("flow.bound",{bound:!0}),Bo=Object.assign((function(e,t){if(Gn(t))return pr(e,t,_o);var n=e,r=n.name||"",i=function(){var e,t=arguments,i=++Io,o=io(r+" - runid: "+i+" - init",n).apply(this,t),a=void 0,s=new Promise((function(t,n){var s=0;function u(e){var t;a=void 0;try{t=io(r+" - runid: "+i+" - yield "+s++,o.next).call(o,e)}catch(rk){return n(rk)}l(t)}function c(e){var t;a=void 0;try{t=io(r+" - runid: "+i+" - yield "+s++,o.throw).call(o,e)}catch(rk){return n(rk)}l(t)}function l(e){if(!Hn(null==e?void 0:e.then))return e.done?t(e.value):(a=Promise.resolve(e.value)).then(u,c);e.then(l,n)}e=n,u(void 0)}));return s.cancel=io(r+" - runid: "+i+" - cancel",(function(){try{a&&ko(a);var t=o.return(void 0),n=Promise.resolve(t.value);n.then(Un,Un),ko(n),e(new Co)}catch(rk){e(rk)}})),s};return i.isMobXFlow=!0,i}),_o);function ko(e){Hn(e.cancel)&&e.cancel()}function So(e){return!0===(null==e?void 0:e.isMobXFlow)}function Ro(e,t){return!!e&&(void 0!==t?!!wa(e)&&e[Ar].values_.has(t):wa(e)||!!e[Ar]||gr(e)||Wi(e)||bi(e))}function No(e){return Ro(e)}function Qo(e,t){void 0===t&&(t=void 0),ji();try{return e.apply(t)}finally{Ui()}}function Oo(e,t,n){return 1===arguments.length||t&&"object"===typeof t?function(e,t){var n,r,i;0;if(null!=t&&null!=(n=t.signal)&&n.aborted)return Object.assign(Promise.reject(new Error("WHEN_ABORTED")),{cancel:function(){return null}});var o=new Promise((function(n,o){var a,s=Mo(e,n,or({},t,{onError:o}));r=function(){s(),o(new Error("WHEN_CANCELLED"))},i=function(){s(),o(new Error("WHEN_ABORTED"))},null==t||null==(a=t.signal)||null==a.addEventListener||a.addEventListener("abort",i)})).finally((function(){var e;return null==t||null==(e=t.signal)||null==e.removeEventListener?void 0:e.removeEventListener("abort",i)}));return o.cancel=r,o}(e,t):Mo(e,t,n||{})}function Mo(e,t,n){var r;if("number"===typeof n.timeout){var i=new Error("WHEN_TIMEOUT");r=setTimeout((function(){if(!a[Ar].isDisposed_){if(a(),!n.onError)throw i;n.onError(i)}}),n.timeout)}n.name="When";var o=li("When-effect",t),a=so((function(t){di(!1,e)&&(t.dispose(),r&&clearTimeout(r),o())}),n);return a}function Do(e){return e[Ar]}Bo.bound=hr(xo);var To={has:function(e,t){return Do(e).has_(t)},get:function(e,t){return Do(e).get_(t)},set:function(e,t,n){var r;return!!Gn(t)&&(null==(r=Do(e).set_(t,n,!0))||r)},deleteProperty:function(e,t){var n;return!!Gn(t)&&(null==(n=Do(e).delete_(t,!0))||n)},defineProperty:function(e,t,n){var r;return null==(r=Do(e).defineProperty_(t,n))||r},ownKeys:function(e){return Do(e).ownKeys_()},preventExtensions:function(e){kn(13)}};function Lo(e){return void 0!==e.interceptors_&&e.interceptors_.length>0}function Po(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),jn((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Fo(e,t){var n=ki();try{for(var r=[].concat(e.interceptors_||[]),i=0,o=r.length;i0}function Uo(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),jn((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function Ho(e,t){var n=ki(),r=e.changeListeners_;if(r){for(var i=0,o=(r=r.slice()).length;i0?e.map(this.dehancer):e},t.intercept_=function(e){return Po(this,e)},t.observe_=function(e,t){return void 0===t&&(t=!1),t&&e({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Uo(this,e)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(e){("number"!==typeof e||isNaN(e)||e<0)&&kn("Out of range: "+e);var t=this.values_.length;if(e!==t)if(e>t){for(var n=new Array(e-t),r=0;r0&&Oa(e+t+1)},t.spliceWithArray_=function(e,t,n){var r=this;this.atom_;var i=this.values_.length;if(void 0===e?e=0:e>i?e=i:e<0&&(e=Math.max(0,i+e)),t=1===arguments.length?i-e:void 0===t||null===t?0:Math.max(0,Math.min(t,i-e)),void 0===n&&(n=Dn),Lo(this)){var o=Fo(this,{object:this.proxy_,type:Vo,index:e,removedCount:t,added:n});if(!o)return Dn;t=o.removedCount,n=o.added}if(n=0===n.length?n:n.map((function(e){return r.enhancer_(e,void 0)})),this.legacyMode_){var a=n.length-t;this.updateArrayLength_(i,a)}var s=this.spliceItemsIntoValues_(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice_(e,n,s),this.dehanceValues_(s)},t.spliceItemsIntoValues_=function(e,t,n){var r;if(n.length<1e4)return(r=this.values_).splice.apply(r,[e,t].concat(n));var i=this.values_.slice(e,e+t),o=this.values_.slice(e+t);this.values_.length+=n.length-t;for(var a=0;a=this.values_.length))return this.atom_.reportObserved(),this.dehanceValue_(this.values_[e]);console.warn("[mobx] Out of bounds read: "+e)},t.set_=function(e,t){var n=this.values_;if(this.legacyMode_&&e>n.length&&kn(17,e,n.length),e2?n-2:0),i=2;i-1&&(this.splice(n,1),!0)}};function qo(e,t){"function"===typeof Array.prototype[e]&&(Zo[e]=t(e))}function Ko(e){return function(){var t=this[Ar];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function $o(e){return function(t,n){var r=this,i=this[Ar];return i.atom_.reportObserved(),i.dehanceValues_(i.values_)[e]((function(e,i){return t.call(n,e,i,r)}))}}function ea(e){return function(){var t=this,n=this[Ar];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),i=arguments[0];return arguments[0]=function(e,n,r){return i(e,n,r,t)},r[e].apply(r,arguments)}}qo("concat",Ko),qo("flat",Ko),qo("includes",Ko),qo("indexOf",Ko),qo("join",Ko),qo("lastIndexOf",Ko),qo("slice",Ko),qo("toString",Ko),qo("toLocaleString",Ko),qo("every",$o),qo("filter",$o),qo("find",$o),qo("findIndex",$o),qo("flatMap",$o),qo("forEach",$o),qo("map",$o),qo("some",$o),qo("reduce",ea),qo("reduceRight",ea);var ta,na,ra=Wn("ObservableArrayAdministration",Yo);function ia(e){return zn(e)&&ra(e[Ar])}var oa={},aa="add",sa="delete";ta=Symbol.iterator,na=Symbol.toStringTag;var ua,ca,la=function(){function e(e,t,n){var r=this;void 0===t&&(t=br),void 0===n&&(n="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Ar]=oa,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=t,this.name_=n,Hn(Map)||kn(18),Pa((function(){r.keysAtom_=mr("ObservableMap.keys()"),r.data_=new Map,r.hasMap_=new Map,e&&r.merge(e)}))}var t=e.prototype;return t.has_=function(e){return this.data_.has(e)},t.has=function(e){var t=this;if(!Ti.trackingDerivation)return this.has_(e);var n=this.hasMap_.get(e);if(!n){var r=n=new vi(this.has_(e),wr,"ObservableMap.key?",!1);this.hasMap_.set(e,r),po(r,(function(){return t.hasMap_.delete(e)}))}return n.get()},t.set=function(e,t){var n=this.has_(e);if(Lo(this)){var r=Fo(this,{type:n?Jo:aa,object:this,newValue:t,name:e});if(!r)return this;t=r.newValue}return n?this.updateValue_(e,t):this.addValue_(e,t),this},t.delete=function(e){var t=this;if((this.keysAtom_,Lo(this))&&!Fo(this,{type:sa,object:this,name:e}))return!1;if(this.has_(e)){var n=jo(this),r=n?{observableKind:"map",debugObjectName:this.name_,type:sa,object:this,oldValue:this.data_.get(e).value_,name:e}:null;return Qo((function(){var n;t.keysAtom_.reportChanged(),null==(n=t.hasMap_.get(e))||n.setNewValue_(!1),t.data_.get(e).setNewValue_(void 0),t.data_.delete(e)})),n&&Ho(this,r),!0}return!1},t.updateValue_=function(e,t){var n=this.data_.get(e);if((t=n.prepareNewValue_(t))!==Ti.UNCHANGED){var r=jo(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:Jo,object:this,oldValue:n.value_,name:e,newValue:t}:null;0,n.setNewValue_(t),r&&Ho(this,i)}},t.addValue_=function(e,t){var n=this;this.keysAtom_,Qo((function(){var r,i=new vi(t,n.enhancer_,"ObservableMap.key",!1);n.data_.set(e,i),t=i.value_,null==(r=n.hasMap_.get(e))||r.setNewValue_(!0),n.keysAtom_.reportChanged()}));var r=jo(this),i=r?{observableKind:"map",debugObjectName:this.name_,type:aa,object:this,name:e,newValue:t}:null;r&&Ho(this,i)},t.get=function(e){return this.has(e)?this.dehanceValue_(this.data_.get(e).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var e=this,t=this.keys();return Ga({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:e.get(i)}}})},t.entries=function(){var e=this,t=this.keys();return Ga({next:function(){var n=t.next(),r=n.done,i=n.value;return{done:r,value:r?void 0:[i,e.get(i)]}}})},t[ta]=function(){return this.entries()},t.forEach=function(e,t){for(var n,r=lr(this);!(n=r()).done;){var i=n.value,o=i[0],a=i[1];e.call(t,a,o,this)}},t.merge=function(e){var t=this;return fa(e)&&(e=new Map(e)),Qo((function(){Vn(e)?function(e){var t=Object.keys(e);if(!Kn)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter((function(t){return Mn.propertyIsEnumerable.call(e,t)}))):t}(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],r=e[1];return t.set(n,r)})):Zn(e)?(e.constructor!==Map&&kn(19,e),e.forEach((function(e,n){return t.set(n,e)}))):null!==e&&void 0!==e&&kn(20,e)})),this},t.clear=function(){var e=this;Qo((function(){Bi((function(){for(var t,n=lr(e.keys());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.replace=function(e){var t=this;return Qo((function(){for(var n,r=function(e){if(Zn(e)||fa(e))return e;if(Array.isArray(e))return new Map(e);if(Vn(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}return kn(21,e)}(e),i=new Map,o=!1,a=lr(t.data_.keys());!(n=a()).done;){var s=n.value;if(!r.has(s))if(t.delete(s))o=!0;else{var u=t.data_.get(s);i.set(s,u)}}for(var c,l=lr(r.entries());!(c=l()).done;){var f=c.value,d=f[0],h=f[1],p=t.data_.has(d);if(t.set(d,h),t.data_.has(d)){var A=t.data_.get(d);i.set(d,A),p||(o=!0)}}if(!o)if(t.data_.size!==i.size)t.keysAtom_.reportChanged();else for(var v=t.data_.keys(),g=i.keys(),m=v.next(),y=g.next();!m.done;){if(m.value!==y.value){t.keysAtom_.reportChanged();break}m=v.next(),y=g.next()}t.data_=i})),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(e,t){return Uo(this,e)},t.intercept_=function(e){return Po(this,e)},ir(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:na,get:function(){return"Map"}}]),e}(),fa=Wn("ObservableMap",la);var da={};ua=Symbol.iterator,ca=Symbol.toStringTag;var ha=function(){function e(e,t,n){var r=this;void 0===t&&(t=br),void 0===n&&(n="ObservableSet"),this.name_=void 0,this[Ar]=da,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=n,Hn(Set)||kn(22),this.enhancer_=function(e,r){return t(e,r,n)},Pa((function(){r.atom_=mr(r.name_),e&&r.replace(e)}))}var t=e.prototype;return t.dehanceValue_=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.clear=function(){var e=this;Qo((function(){Bi((function(){for(var t,n=lr(e.data_.values());!(t=n()).done;){var r=t.value;e.delete(r)}}))}))},t.forEach=function(e,t){for(var n,r=lr(this);!(n=r()).done;){var i=n.value;e.call(t,i,i,this)}},t.add=function(e){var t=this;if((this.atom_,Lo(this))&&!Fo(this,{type:aa,object:this,newValue:e}))return this;if(!this.has(e)){Qo((function(){t.data_.add(t.enhancer_(e,void 0)),t.atom_.reportChanged()}));var n=!1,r=jo(this),i=r?{observableKind:"set",debugObjectName:this.name_,type:aa,object:this,newValue:e}:null;n,r&&Ho(this,i)}return this},t.delete=function(e){var t=this;if(Lo(this)&&!Fo(this,{type:sa,object:this,oldValue:e}))return!1;if(this.has(e)){var n=jo(this),r=n?{observableKind:"set",debugObjectName:this.name_,type:sa,object:this,oldValue:e}:null;return Qo((function(){t.atom_.reportChanged(),t.data_.delete(e)})),n&&Ho(this,r),!0}return!1},t.has=function(e){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(e))},t.entries=function(){var e=0,t=Array.from(this.keys()),n=Array.from(this.values());return Ga({next:function(){var r=e;return e+=1,rka){for(var t=ka;t=0&&n++}e=Ha(e),t=Ha(t);var s="[object Array]"===a;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,c=t.constructor;if(u!==c&&!(Hn(u)&&u instanceof u&&Hn(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(0===n)return!1;n<0&&(n=-1),i=i||[];for(var l=(r=r||[]).length;l--;)if(r[l]===e)return i[l]===t;if(r.push(e),i.push(t),s){if((l=e.length)!==t.length)return!1;for(;l--;)if(!Ua(e[l],t[l],n-1,r,i))return!1}else{var f,d=Object.keys(e);if(l=d.length,Object.keys(t).length!==l)return!1;for(;l--;)if(!tr(t,f=d[l])||!Ua(e[f],t[f],n-1,r,i))return!1}return r.pop(),i.pop(),!0}function Ha(e){return ia(e)?e.slice():Zn(e)||fa(e)||qn(e)||pa(e)?Array.from(e.entries()):e}function Ga(e){return e[Symbol.iterator]=za,e}function za(){return this}if(["Symbol","Map","Set"].forEach((function(e){"undefined"===typeof Rn()[e]&&kn("MobX requires global '"+e+"' to be available or polyfilled")})),"object"===typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:function(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}},extras:{getDebugName:La},$mobx:Ar}),!e.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!function(e,t,n){return Pa((function(){var r=ma(e,n)[Ar];null!=t||(t=function(e){return tr(e,dr)||Xn(e,dr,or({},e[dr])),e[dr]}(e)),$n(t).forEach((function(e){return r.make_(e,t[e])}))})),e})throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");var Va=n(4164);function Ja(e){e()}function Xa(e){return wo(e)}var Ya=!1;function Wa(){return Ya}var Za=function(){function e(e){var t=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"registrations",{enumerable:!0,configurable:!0,writable:!0,value:new Map}),Object.defineProperty(this,"sweepTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"sweep",{enumerable:!0,configurable:!0,writable:!0,value:function(e){void 0===e&&(e=1e4),clearTimeout(t.sweepTimeout),t.sweepTimeout=void 0;var n=Date.now();t.registrations.forEach((function(r,i){n-r.registeredAt>=e&&(t.finalize(r.value),t.registrations.delete(i))})),t.registrations.size>0&&t.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){t.sweep(0)}})}return Object.defineProperty(e.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,n){this.registrations.set(n,{value:t,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(e.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this.registrations.delete(e)}}),Object.defineProperty(e.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){void 0===this.sweepTimeout&&(this.sweepTimeout=setTimeout(this.sweep,1e4))}}),e}(),qa=new("undefined"!==typeof FinalizationRegistry?FinalizationRegistry:Za)((function(e){var t;null===(t=e.reaction)||void 0===t||t.dispose(),e.reaction=null})),Ka=n(7248),$a=function(){};function es(e){e.reaction=new zi("observer".concat(e.name),(function(){var t;e.stateVersion=Symbol(),null===(t=e.onStoreChange)||void 0===t||t.call(e)}))}function ts(t,n){if(void 0===n&&(n="observed"),Wa())return t();var r=e.useRef(null);if(!r.current){var i={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:n,subscribe:function(e){return qa.unregister(i),i.onStoreChange=e,i.reaction||(es(i),i.stateVersion=Symbol()),function(){var e;i.onStoreChange=null,null===(e=i.reaction)||void 0===e||e.dispose(),i.reaction=null}},getSnapshot:function(){return i.stateVersion}};r.current=i}var o,a,s=r.current;if(s.reaction||(es(s),qa.register(r,s,s)),e.useDebugValue(s.reaction,Xa),(0,Ka.useSyncExternalStore)(s.subscribe,s.getSnapshot,$a),s.reaction.track((function(){try{o=t()}catch(rk){a=rk}})),a)throw a;return o}var ns="function"===typeof Symbol&&Symbol.for,rs=ns?Symbol.for("react.forward_ref"):"function"===typeof e.forwardRef&&(0,e.forwardRef)((function(e){return null})).$$typeof,is=ns?Symbol.for("react.memo"):"function"===typeof e.memo&&(0,e.memo)((function(e){return null})).$$typeof;function os(t,n){var r;if(is&&t.$$typeof===is)throw new Error("[mobx-react-lite] You are trying to use `observer` on a function component wrapped in either another `observer` or `React.memo`. The observer already applies 'React.memo' for you.");if(Wa())return t;var i=null!==(r=null===n||void 0===n?void 0:n.forwardRef)&&void 0!==r&&r,o=t,a=t.displayName||t.name;if(rs&&t.$$typeof===rs&&(i=!0,"function"!==typeof(o=t.render)))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var s,u,c=function(e,t){return ts((function(){return o(e,t)}),a)};return c.displayName=t.displayName,Object.defineProperty(c,"name",{value:t.name,writable:!0,configurable:!0}),t.contextTypes&&(c.contextTypes=t.contextTypes),i&&(c=(0,e.forwardRef)(c)),c=(0,e.memo)(c),s=t,u=c,Object.keys(s).forEach((function(e){as[e]||Object.defineProperty(u,e,Object.getOwnPropertyDescriptor(s,e))})),c}var as={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};var ss;!function(e){e||(e=Ja),yo({reactionScheduler:e})}(Va.unstable_batchedUpdates);ss=qa.finalizeAllImmediately;function us(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}var cs=Symbol("patchMixins"),ls=Symbol("patchedDefinition");function fs(e,t){for(var n=this,r=arguments.length,i=new Array(r>2?r-2:0),o=2;o"}function ys(e){var t=e.bind(this),n=gs(this);return function(){n.reaction||(n.reaction=function(t){return new zi(t.name+".render()",(function(){if(t.mounted)try{null==t.forceUpdate||t.forceUpdate()}catch(e){var n;null==(n=t.reaction)||n.dispose(),t.reaction=null}else t.reactionInvalidatedBeforeMount=!0}))}(n),n.mounted||qa.register(this,n,this));var e=void 0,r=void 0;if(n.reaction.track((function(){try{r=di(!1,t)}catch(rk){e=rk}})),e)throw e;return r}}function bs(e,t){return Wa()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==t||!function(e,t){if(us(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 i=0;i {}` or `render = function() {}` is not supported.")}n.render=function(){return Object.defineProperty(this,"render",{configurable:!1,writable:!1,value:Wa()?i:ys.call(this,i)}),this.render()};var a=n.componentDidMount;return n.componentDidMount=function(){var e=this,t=gs(this);return t.mounted=!0,qa.unregister(t),t.forceUpdate=function(){return e.forceUpdate()},t.reaction&&!t.reactionInvalidatedBeforeMount||t.forceUpdate(),null==a?void 0:a.apply(this,arguments)},hs(n,"componentWillUnmount",(function(){var e;if(!Wa()){var t=gs(this);null==(e=t.reaction)||e.dispose(),t.reaction=null,t.forceUpdate=null,t.mounted=!1,t.reactionInvalidatedBeforeMount=!1}})),t}(t):os(t)}e.version.split(".")[0];if(!e.Component)throw new Error("mobx-react requires React to be available");if(!ei)throw new Error("mobx-react requires mobx to be available");function Es(e,t,n){return(t=qe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Is(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cs(e){for(var t=1;t=0||(i[n]=e[n]);return i}function xs(e,t){if(null==e)return{};var n,r,i=_s(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r