@sticky-studio-npm/ui-core 0.1.14 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-bundle.umd.js +296 -0
- package/package.json +1 -1
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
(function(ac,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react/jsx-runtime"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","react-dom"],w):(ac=typeof globalThis<"u"?globalThis:ac||self,w(ac.UiCore={},ac.jsxRuntime,ac.React,ac.ReactDOM))})(this,(function(ac,w,Ie,P0){"use strict";var Mm={exports:{}},Sp={},zm={exports:{}},eb={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* scheduler.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var n1;function UT(){return n1||(n1=1,(function(r){function h(x,F){var ee=x.length;x.push(F);e:for(;0<ee;){var ge=ee-1>>>1,_e=x[ge];if(0<m(_e,F))x[ge]=F,x[ee]=_e,ee=ge;else break e}}function v(x){return x.length===0?null:x[0]}function d(x){if(x.length===0)return null;var F=x[0],ee=x.pop();if(ee!==F){x[0]=ee;e:for(var ge=0,_e=x.length,Tt=_e>>>1;ge<Tt;){var ye=2*(ge+1)-1,ke=x[ye],ot=ye+1,Bn=x[ot];if(0>m(ke,ee))ot<_e&&0>m(Bn,ke)?(x[ge]=Bn,x[ot]=ee,ge=ot):(x[ge]=ke,x[ye]=ee,ge=ye);else if(ot<_e&&0>m(Bn,ee))x[ge]=Bn,x[ot]=ee,ge=ot;else break e}}return F}function m(x,F){var ee=x.sortIndex-F.sortIndex;return ee!==0?ee:x.id-F.id}if(r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var S=performance;r.unstable_now=function(){return S.now()}}else{var A=Date,U=A.now();r.unstable_now=function(){return A.now()-U}}var D=[],W=[],k=1,te=null,ne=3,ce=!1,fe=!1,Me=!1,me=!1,ze=typeof setTimeout=="function"?setTimeout:null,qt=typeof clearTimeout=="function"?clearTimeout:null,Be=typeof setImmediate<"u"?setImmediate:null;function Ze(x){for(var F=v(W);F!==null;){if(F.callback===null)d(W);else if(F.startTime<=x)d(W),F.sortIndex=F.expirationTime,h(D,F);else break;F=v(W)}}function mt(x){if(Me=!1,Ze(x),!fe)if(v(D)!==null)fe=!0,pt||(pt=!0,we());else{var F=v(W);F!==null&&Tn(mt,F.startTime-x)}}var pt=!1,We=-1,Hn=5,ve=-1;function Lt(){return me?!0:!(r.unstable_now()-ve<Hn)}function vt(){if(me=!1,pt){var x=r.unstable_now();ve=x;var F=!0;try{e:{fe=!1,Me&&(Me=!1,qt(We),We=-1),ce=!0;var ee=ne;try{t:{for(Ze(x),te=v(D);te!==null&&!(te.expirationTime>x&&Lt());){var ge=te.callback;if(typeof ge=="function"){te.callback=null,ne=te.priorityLevel;var _e=ge(te.expirationTime<=x);if(x=r.unstable_now(),typeof _e=="function"){te.callback=_e,Ze(x),F=!0;break t}te===v(D)&&d(D),Ze(x)}else d(D);te=v(D)}if(te!==null)F=!0;else{var Tt=v(W);Tt!==null&&Tn(mt,Tt.startTime-x),F=!1}}break e}finally{te=null,ne=ee,ce=!1}F=void 0}}finally{F?we():pt=!1}}}var we;if(typeof Be=="function")we=function(){Be(vt)};else if(typeof MessageChannel<"u"){var En=new MessageChannel,Ia=En.port2;En.port1.onmessage=vt,we=function(){Ia.postMessage(null)}}else we=function(){ze(vt,0)};function Tn(x,F){We=ze(function(){x(r.unstable_now())},F)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(x){x.callback=null},r.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Hn=0<x?Math.floor(1e3/x):5},r.unstable_getCurrentPriorityLevel=function(){return ne},r.unstable_next=function(x){switch(ne){case 1:case 2:case 3:var F=3;break;default:F=ne}var ee=ne;ne=F;try{return x()}finally{ne=ee}},r.unstable_requestPaint=function(){me=!0},r.unstable_runWithPriority=function(x,F){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var ee=ne;ne=x;try{return F()}finally{ne=ee}},r.unstable_scheduleCallback=function(x,F,ee){var ge=r.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?ge+ee:ge):ee=ge,x){case 1:var _e=-1;break;case 2:_e=250;break;case 5:_e=1073741823;break;case 4:_e=1e4;break;default:_e=5e3}return _e=ee+_e,x={id:k++,callback:F,priorityLevel:x,startTime:ee,expirationTime:_e,sortIndex:-1},ee>ge?(x.sortIndex=ee,h(W,x),v(D)===null&&x===v(W)&&(Me?(qt(We),We=-1):Me=!0,Tn(mt,ee-ge))):(x.sortIndex=_e,h(D,x),fe||ce||(fe=!0,pt||(pt=!0,we()))),x},r.unstable_shouldYield=Lt,r.unstable_wrapCallback=function(x){var F=ne;return function(){var ee=ne;ne=F;try{return x.apply(this,arguments)}finally{ne=ee}}}})(eb)),eb}var tb={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* scheduler.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var a1;function xT(){return a1||(a1=1,(function(r){process.env.NODE_ENV!=="production"&&(function(){function h(){if(mt=!1,ve){var x=r.unstable_now();we=x;var F=!0;try{e:{Be=!1,Ze&&(Ze=!1,We(Lt),Lt=-1),qt=!0;var ee=ze;try{t:{for(A(x),me=d(ce);me!==null&&!(me.expirationTime>x&&D());){var ge=me.callback;if(typeof ge=="function"){me.callback=null,ze=me.priorityLevel;var _e=ge(me.expirationTime<=x);if(x=r.unstable_now(),typeof _e=="function"){me.callback=_e,A(x),F=!0;break t}me===d(ce)&&m(ce),A(x)}else m(ce);me=d(ce)}if(me!==null)F=!0;else{var Tt=d(fe);Tt!==null&&W(U,Tt.startTime-x),F=!1}}break e}finally{me=null,ze=ee,qt=!1}F=void 0}}finally{F?En():ve=!1}}}function v(x,F){var ee=x.length;x.push(F);e:for(;0<ee;){var ge=ee-1>>>1,_e=x[ge];if(0<S(_e,F))x[ge]=F,x[ee]=_e,ee=ge;else break e}}function d(x){return x.length===0?null:x[0]}function m(x){if(x.length===0)return null;var F=x[0],ee=x.pop();if(ee!==F){x[0]=ee;e:for(var ge=0,_e=x.length,Tt=_e>>>1;ge<Tt;){var ye=2*(ge+1)-1,ke=x[ye],ot=ye+1,Bn=x[ot];if(0>S(ke,ee))ot<_e&&0>S(Bn,ke)?(x[ge]=Bn,x[ot]=ee,ge=ot):(x[ge]=ke,x[ye]=ee,ge=ye);else if(ot<_e&&0>S(Bn,ee))x[ge]=Bn,x[ot]=ee,ge=ot;else break e}}return F}function S(x,F){var ee=x.sortIndex-F.sortIndex;return ee!==0?ee:x.id-F.id}function A(x){for(var F=d(fe);F!==null;){if(F.callback===null)m(fe);else if(F.startTime<=x)m(fe),F.sortIndex=F.expirationTime,v(ce,F);else break;F=d(fe)}}function U(x){if(Ze=!1,A(x),!Be)if(d(ce)!==null)Be=!0,ve||(ve=!0,En());else{var F=d(fe);F!==null&&W(U,F.startTime-x)}}function D(){return mt?!0:!(r.unstable_now()-we<vt)}function W(x,F){Lt=pt(function(){x(r.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),r.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var k=performance;r.unstable_now=function(){return k.now()}}else{var te=Date,ne=te.now();r.unstable_now=function(){return te.now()-ne}}var ce=[],fe=[],Me=1,me=null,ze=3,qt=!1,Be=!1,Ze=!1,mt=!1,pt=typeof setTimeout=="function"?setTimeout:null,We=typeof clearTimeout=="function"?clearTimeout:null,Hn=typeof setImmediate<"u"?setImmediate:null,ve=!1,Lt=-1,vt=5,we=-1;if(typeof Hn=="function")var En=function(){Hn(h)};else if(typeof MessageChannel<"u"){var Ia=new MessageChannel,Tn=Ia.port2;Ia.port1.onmessage=h,En=function(){Tn.postMessage(null)}}else En=function(){pt(h,0)};r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(x){x.callback=null},r.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):vt=0<x?Math.floor(1e3/x):5},r.unstable_getCurrentPriorityLevel=function(){return ze},r.unstable_next=function(x){switch(ze){case 1:case 2:case 3:var F=3;break;default:F=ze}var ee=ze;ze=F;try{return x()}finally{ze=ee}},r.unstable_requestPaint=function(){mt=!0},r.unstable_runWithPriority=function(x,F){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var ee=ze;ze=x;try{return F()}finally{ze=ee}},r.unstable_scheduleCallback=function(x,F,ee){var ge=r.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?ge+ee:ge):ee=ge,x){case 1:var _e=-1;break;case 2:_e=250;break;case 5:_e=1073741823;break;case 4:_e=1e4;break;default:_e=5e3}return _e=ee+_e,x={id:Me++,callback:F,priorityLevel:x,startTime:ee,expirationTime:_e,sortIndex:-1},ee>ge?(x.sortIndex=ee,v(fe,x),d(ce)===null&&x===d(fe)&&(Ze?(We(Lt),Lt=-1):Ze=!0,W(U,ee-ge))):(x.sortIndex=_e,v(ce,x),Be||qt||(Be=!0,ve||(ve=!0,En()))),x},r.unstable_shouldYield=D,r.unstable_wrapCallback=function(x){var F=ze;return function(){var ee=ze;ze=F;try{return x.apply(this,arguments)}finally{ze=ee}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(tb)),tb}var l1;function u1(){return l1||(l1=1,process.env.NODE_ENV==="production"?zm.exports=UT():zm.exports=xT()),zm.exports}/**
|
|
18
|
+
* @license React
|
|
19
|
+
* react-dom-client.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var i1;function CT(){if(i1)return Sp;i1=1;var r=u1(),h=Ie,v=P0;function d(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)l+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function m(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function S(n){var l=n,u=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(u=l.return),n=l.return;while(n)}return l.tag===3?u:null}function A(n){if(n.tag===13){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function U(n){if(S(n)!==n)throw Error(d(188))}function D(n){var l=n.alternate;if(!l){if(l=S(n),l===null)throw Error(d(188));return l!==n?null:n}for(var u=n,c=l;;){var f=u.return;if(f===null)break;var p=f.alternate;if(p===null){if(c=f.return,c!==null){u=c;continue}break}if(f.child===p.child){for(p=f.child;p;){if(p===u)return U(f),n;if(p===c)return U(f),l;p=p.sibling}throw Error(d(188))}if(u.return!==c.return)u=f,c=p;else{for(var b=!1,_=f.child;_;){if(_===u){b=!0,u=f,c=p;break}if(_===c){b=!0,c=f,u=p;break}_=_.sibling}if(!b){for(_=p.child;_;){if(_===u){b=!0,u=p,c=f;break}if(_===c){b=!0,c=p,u=f;break}_=_.sibling}if(!b)throw Error(d(189))}}if(u.alternate!==c)throw Error(d(190))}if(u.tag!==3)throw Error(d(188));return u.stateNode.current===u?n:l}function W(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=W(n),l!==null)return l;n=n.sibling}return null}var k=Object.assign,te=Symbol.for("react.element"),ne=Symbol.for("react.transitional.element"),ce=Symbol.for("react.portal"),fe=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),qt=Symbol.for("react.consumer"),Be=Symbol.for("react.context"),Ze=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),pt=Symbol.for("react.suspense_list"),We=Symbol.for("react.memo"),Hn=Symbol.for("react.lazy"),ve=Symbol.for("react.activity"),Lt=Symbol.for("react.memo_cache_sentinel"),vt=Symbol.iterator;function we(n){return n===null||typeof n!="object"?null:(n=vt&&n[vt]||n["@@iterator"],typeof n=="function"?n:null)}var En=Symbol.for("react.client.reference");function Ia(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===En?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case fe:return"Fragment";case me:return"Profiler";case Me:return"StrictMode";case mt:return"Suspense";case pt:return"SuspenseList";case ve:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case ce:return"Portal";case Be:return(n.displayName||"Context")+".Provider";case qt:return(n._context.displayName||"Context")+".Consumer";case Ze:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case We:return l=n.displayName||null,l!==null?l:Ia(n.type)||"Memo";case Hn:l=n._payload,n=n._init;try{return Ia(n(l))}catch{}}return null}var Tn=Array.isArray,x=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=v.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},ge=[],_e=-1;function Tt(n){return{current:n}}function ye(n){0>_e||(n.current=ge[_e],ge[_e]=null,_e--)}function ke(n,l){_e++,ge[_e]=n.current,n.current=l}var ot=Tt(null),Bn=Tt(null),at=Tt(null),Wf=Tt(null);function Ws(n,l){switch(ke(at,l),ke(Bn,n),ke(ot,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?Ju(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=Ju(l),n=ys(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}ye(ot),ke(ot,n)}function Ml(){ye(ot),ye(Bn),ye(at)}function ri(n){n.memoizedState!==null&&ke(Wf,n);var l=ot.current,u=ys(l,n.type);l!==u&&(ke(Bn,n),ke(ot,u))}function Fs(n){Bn.current===n&&(ye(ot),ye(Bn)),Wf.current===n&&(ye(Wf),ca._currentValue=ee)}var Ff=Object.prototype.hasOwnProperty,sc=r.unstable_scheduleCallback,Bp=r.unstable_cancelCallback,Bb=r.unstable_shouldYield,rc=r.unstable_requestPaint,sa=r.unstable_now,Is=r.unstable_getCurrentPriorityLevel,lg=r.unstable_ImmediatePriority,wp=r.unstable_UserBlockingPriority,Ps=r.unstable_NormalPriority,Vp=r.unstable_LowPriority,To=r.unstable_IdlePriority,wb=r.log,ug=r.unstable_setDisableYieldValue,Ao=null,wn=null;function Au(n){if(typeof wb=="function"&&ug(n),wn&&typeof wn.setStrictMode=="function")try{wn.setStrictMode(Ao,n)}catch{}}var Jn=Math.clz32?Math.clz32:Vb,jp=Math.log,ig=Math.LN2;function Vb(n){return n>>>=0,n===0?32:31-(jp(n)/ig|0)|0}var Oo=256,Ou=4194304;function ra(n){var l=n&42;if(l!==0)return l;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function fi(n,l,u){var c=n.pendingLanes;if(c===0)return 0;var f=0,p=n.suspendedLanes,b=n.pingedLanes;n=n.warmLanes;var _=c&134217727;return _!==0?(c=_&~p,c!==0?f=ra(c):(b&=_,b!==0?f=ra(b):u||(u=_&~n,u!==0&&(f=ra(u))))):(_=c&~p,_!==0?f=ra(_):b!==0?f=ra(b):u||(u=c&~n,u!==0&&(f=ra(u)))),f===0?0:l!==0&&l!==f&&(l&p)===0&&(p=f&-f,u=l&-l,p>=u||p===32&&(u&4194048)!==0)?l:f}function zl(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function Pt(n,l){switch(n){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function di(){var n=Oo;return Oo<<=1,(Oo&4194048)===0&&(Oo=256),n}function fc(){var n=Ou;return Ou<<=1,(Ou&62914560)===0&&(Ou=4194304),n}function hi(n){for(var l=[],u=0;31>u;u++)l.push(n);return l}function dc(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function cg(n,l,u,c,f,p){var b=n.pendingLanes;n.pendingLanes=u,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=u,n.entangledLanes&=u,n.errorRecoveryDisabledLanes&=u,n.shellSuspendCounter=0;var _=n.entanglements,O=n.expirationTimes,B=n.hiddenUpdates;for(u=b&~u;0<u;){var K=31-Jn(u),$=1<<K;_[K]=0,O[K]=-1;var j=B[K];if(j!==null)for(B[K]=null,K=0;K<j.length;K++){var Y=j[K];Y!==null&&(Y.lane&=-536870913)}u&=~$}c!==0&&er(n,c,0),p!==0&&f===0&&n.tag!==0&&(n.suspendedLanes|=p&~(b&~l))}function er(n,l,u){n.pendingLanes|=l,n.suspendedLanes&=~l;var c=31-Jn(l);n.entangledLanes|=l,n.entanglements[c]=n.entanglements[c]|1073741824|u&4194090}function tr(n,l){var u=n.entangledLanes|=l;for(n=n.entanglements;u;){var c=31-Jn(u),f=1<<c;f&l|n[c]&l&&(n[c]|=l),u&=~f}}function Pa(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function If(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function og(){var n=F.p;return n!==0?n:(n=window.event,n===void 0?32:Gy(n.type))}function jb(n,l){var u=F.p;try{return F.p=n,l()}finally{F.p=u}}var Zt=Math.random().toString(36).slice(2),en="__reactFiber$"+Zt,Vn="__reactProps$"+Zt,Do="__reactContainer$"+Zt,Pf="__reactEvents$"+Zt,sg="__reactListeners$"+Zt,ed="__reactHandles$"+Zt,rg="__reactResources$"+Zt,oe="__reactMarker$"+Zt;function nr(n){delete n[en],delete n[Vn],delete n[Pf],delete n[sg],delete n[ed]}function rn(n){var l=n[en];if(l)return l;for(var u=n.parentNode;u;){if(l=u[Do]||u[en]){if(u=l.alternate,l.child!==null||u!==null&&u.child!==null)for(n=mn(n);n!==null;){if(u=n[en])return u;n=mn(n)}return l}n=u,u=n.parentNode}return null}function hc(n){if(n=n[en]||n[Do]){var l=n.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return n}return null}function ar(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(d(33))}function Du(n){var l=n[rg];return l||(l=n[rg]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Kt(n){n[oe]=!0}var lr=new Set,fa={};function pi(n,l){vi(n,l),vi(n+"Capture",l)}function vi(n,l){for(fa[n]=l,n=0;n<l.length;n++)lr.add(l[n])}var fg=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),td={},qp={};function dg(n){return Ff.call(qp,n)?!0:Ff.call(td,n)?!1:fg.test(n)?qp[n]=!0:(td[n]=!0,!1)}function Mu(n,l,u){if(dg(l))if(u===null)n.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var c=l.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+u)}}function ur(n,l,u){if(u===null)n.removeAttribute(l);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+u)}}function Nl(n,l,u,c){if(c===null)n.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(u);return}n.setAttributeNS(l,u,""+c)}}var nd,Yp;function pc(n){if(nd===void 0)try{throw Error()}catch(u){var l=u.stack.trim().match(/\n( *(at )?)/);nd=l&&l[1]||"",Yp=-1<u.stack.indexOf(`
|
|
26
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
27
|
+
`+nd+n+Yp}var jn=!1;function yi(n,l){if(!n||jn)return"";jn=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(l){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(Y){var j=Y}Reflect.construct(n,[],$)}else{try{$.call()}catch(Y){j=Y}n.call($.prototype)}}else{try{throw Error()}catch(Y){j=Y}($=n())&&typeof $.catch=="function"&&$.catch(function(){})}}catch(Y){if(Y&&j&&typeof Y.stack=="string")return[Y.stack,j.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=c.DetermineComponentFrameRoot(),b=p[0],_=p[1];if(b&&_){var O=b.split(`
|
|
28
|
+
`),B=_.split(`
|
|
29
|
+
`);for(f=c=0;c<O.length&&!O[c].includes("DetermineComponentFrameRoot");)c++;for(;f<B.length&&!B[f].includes("DetermineComponentFrameRoot");)f++;if(c===O.length||f===B.length)for(c=O.length-1,f=B.length-1;1<=c&&0<=f&&O[c]!==B[f];)f--;for(;1<=c&&0<=f;c--,f--)if(O[c]!==B[f]){if(c!==1||f!==1)do if(c--,f--,0>f||O[c]!==B[f]){var K=`
|
|
30
|
+
`+O[c].replace(" at new "," at ");return n.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",n.displayName)),K}while(1<=c&&0<=f);break}}}finally{jn=!1,Error.prepareStackTrace=u}return(u=n?n.displayName||n.name:"")?pc(u):""}function vc(n){switch(n.tag){case 26:case 27:case 5:return pc(n.type);case 16:return pc("Lazy");case 13:return pc("Suspense");case 19:return pc("SuspenseList");case 0:case 15:return yi(n.type,!1);case 11:return yi(n.type.render,!1);case 1:return yi(n.type,!0);case 31:return pc("Activity");default:return""}}function Lp(n){try{var l="";do l+=vc(n),n=n.return;while(n);return l}catch(u){return`
|
|
31
|
+
Error generating stack: `+u.message+`
|
|
32
|
+
`+u.stack}}function An(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ir(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Gp(n){var l=ir(n)?"checked":"value",u=Object.getOwnPropertyDescriptor(n.constructor.prototype,l),c=""+n[l];if(!n.hasOwnProperty(l)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var f=u.get,p=u.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return f.call(this)},set:function(b){c=""+b,p.call(this,b)}}),Object.defineProperty(n,l,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(b){c=""+b},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function mi(n){n._valueTracker||(n._valueTracker=Gp(n))}function yc(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var u=l.getValue(),c="";return n&&(c=ir(n)?n.checked?"true":"false":n.value),n=c,n!==u?(l.setValue(n),!0):!1}function Mo(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var qb=/[\n"\\]/g;function Ma(n){return n.replace(qb,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function ad(n,l,u,c,f,p,b,_){n.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?n.type=b:n.removeAttribute("type"),l!=null?b==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+An(l)):n.value!==""+An(l)&&(n.value=""+An(l)):b!=="submit"&&b!=="reset"||n.removeAttribute("value"),l!=null?cr(n,b,An(l)):u!=null?cr(n,b,An(u)):c!=null&&n.removeAttribute("value"),f==null&&p!=null&&(n.defaultChecked=!!p),f!=null&&(n.checked=f&&typeof f!="function"&&typeof f!="symbol"),_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?n.name=""+An(_):n.removeAttribute("name")}function ld(n,l,u,c,f,p,b,_){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(n.type=p),l!=null||u!=null){if(!(p!=="submit"&&p!=="reset"||l!=null))return;u=u!=null?""+An(u):"",l=l!=null?""+An(l):u,_||l===n.value||(n.value=l),n.defaultValue=l}c=c??f,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=_?n.checked:!!c,n.defaultChecked=!!c,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(n.name=b)}function cr(n,l,u){l==="number"&&Mo(n.ownerDocument)===n||n.defaultValue===""+u||(n.defaultValue=""+u)}function mc(n,l,u,c){if(n=n.options,l){l={};for(var f=0;f<u.length;f++)l["$"+u[f]]=!0;for(u=0;u<n.length;u++)f=l.hasOwnProperty("$"+n[u].value),n[u].selected!==f&&(n[u].selected=f),f&&c&&(n[u].defaultSelected=!0)}else{for(u=""+An(u),l=null,f=0;f<n.length;f++){if(n[f].value===u){n[f].selected=!0,c&&(n[f].defaultSelected=!0);return}l!==null||n[f].disabled||(l=n[f])}l!==null&&(l.selected=!0)}}function Xp(n,l,u){if(l!=null&&(l=""+An(l),l!==n.value&&(n.value=l),u==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=u!=null?""+An(u):""}function Qp(n,l,u,c){if(l==null){if(c!=null){if(u!=null)throw Error(d(92));if(Tn(c)){if(1<c.length)throw Error(d(93));c=c[0]}u=c}u==null&&(u=""),l=u}u=An(l),n.defaultValue=u,c=n.textContent,c===u&&c!==""&&c!==null&&(n.value=c)}function zo(n,l){if(l){var u=n.firstChild;if(u&&u===n.lastChild&&u.nodeType===3){u.nodeValue=l;return}}n.textContent=l}var hg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ud(n,l,u){var c=l.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":c?n.setProperty(l,u):typeof u!="number"||u===0||hg.has(l)?l==="float"?n.cssFloat=u:n[l]=(""+u).trim():n[l]=u+"px"}function or(n,l,u){if(l!=null&&typeof l!="object")throw Error(d(62));if(n=n.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||l!=null&&l.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var f in l)c=l[f],l.hasOwnProperty(f)&&u[f]!==c&&ud(n,f,c)}else for(var p in l)l.hasOwnProperty(p)&&ud(n,p,l[p])}function gc(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Yb=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),pg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function sr(n){return pg.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var bc=null;function id(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var No=null,Ro=null;function vg(n){var l=hc(n);if(l&&(n=l.stateNode)){var u=n[Vn]||null;e:switch(n=l.stateNode,l.type){case"input":if(ad(n,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),l=u.name,u.type==="radio"&&l!=null){for(u=n;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Ma(""+l)+'"][type="radio"]'),l=0;l<u.length;l++){var c=u[l];if(c!==n&&c.form===n.form){var f=c[Vn]||null;if(!f)throw Error(d(90));ad(c,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(l=0;l<u.length;l++)c=u[l],c.form===n.form&&yc(c)}break e;case"textarea":Xp(n,u.value,u.defaultValue);break e;case"select":l=u.value,l!=null&&mc(n,!!u.multiple,l,!1)}}}var Zp=!1;function Uo(n,l,u){if(Zp)return n(l,u);Zp=!0;try{var c=n(l);return c}finally{if(Zp=!1,(No!==null||Ro!==null)&&(Fc(),No&&(l=No,n=Ro,Ro=No=null,vg(l),n)))for(l=0;l<n.length;l++)vg(n[l])}}function Sc(n,l){var u=n.stateNode;if(u===null)return null;var c=u[Vn]||null;if(c===null)return null;u=c[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(u&&typeof u!="function")throw Error(d(231,l,typeof u));return u}var Rl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),cd=!1;if(Rl)try{var zu={};Object.defineProperty(zu,"passive",{get:function(){cd=!0}}),window.addEventListener("test",zu,zu),window.removeEventListener("test",zu,zu)}catch{cd=!1}var Nu=null,xo=null,_c=null;function Kp(){if(_c)return _c;var n,l=xo,u=l.length,c,f="value"in Nu?Nu.value:Nu.textContent,p=f.length;for(n=0;n<u&&l[n]===f[n];n++);var b=u-n;for(c=1;c<=b&&l[u-c]===f[p-c];c++);return _c=f.slice(n,1<c?1-c:void 0)}function fn(n){var l=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),32<=n||n===13?n:0}function od(){return!0}function sd(){return!1}function qn(n){function l(u,c,f,p,b){this._reactName=u,this._targetInst=f,this.type=c,this.nativeEvent=p,this.target=b,this.currentTarget=null;for(var _ in n)n.hasOwnProperty(_)&&(u=n[_],this[_]=u?u(p):p[_]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?od:sd,this.isPropagationStopped=sd,this}return k(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=od)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=od)},persist:function(){},isPersistent:od}),l}var gi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rd=qn(gi),rr=k({},gi,{view:0,detail:0}),yg=qn(rr),Jp,fd,fr,Ec=k({},rr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ru,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==fr&&(fr&&n.type==="mousemove"?(Jp=n.screenX-fr.screenX,fd=n.screenY-fr.screenY):fd=Jp=0,fr=n),Jp)},movementY:function(n){return"movementY"in n?n.movementY:fd}}),kp=qn(Ec),mg=k({},Ec,{dataTransfer:0}),gg=qn(mg),Lb=k({},rr,{relatedTarget:0}),$p=qn(Lb),Gb=k({},gi,{animationName:0,elapsedTime:0,pseudoElement:0}),Xb=qn(Gb),Qb=k({},gi,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),dr=qn(Qb),bg=k({},gi,{data:0}),Wp=qn(bg),Sg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_g={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Eg(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=Fp[n])?!!l[n]:!1}function Ru(){return Eg}var Tc=k({},rr,{key:function(n){if(n.key){var l=Sg[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=fn(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?_g[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ru,charCode:function(n){return n.type==="keypress"?fn(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?fn(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),el=qn(Tc),da=k({},Ec,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hr=qn(da),dd=k({},rr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ru}),Ip=qn(dd),kn=k({},gi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Tg=qn(kn),hd=k({},Ec,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Ac=qn(hd),Pp=k({},gi,{newState:0,oldState:0}),Ag=qn(Pp),Og=[9,13,27,32],pr=Rl&&"CompositionEvent"in window,vr=null;Rl&&"documentMode"in document&&(vr=document.documentMode);var ev=Rl&&"TextEvent"in window&&!vr,Ul=Rl&&(!pr||vr&&8<vr&&11>=vr),tv=" ",pd=!1;function yr(n,l){switch(n){case"keyup":return Og.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bi(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Si=!1;function nv(n,l){switch(n){case"compositionend":return bi(l);case"keypress":return l.which!==32?null:(pd=!0,tv);case"textInput":return n=l.data,n===tv&&pd?null:n;default:return null}}function Oc(n,l){if(Si)return n==="compositionend"||!pr&&yr(n,l)?(n=Kp(),_c=xo=Nu=null,Si=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Ul&&l.locale!=="ko"?null:l.data;default:return null}}var Dg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function vd(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!Dg[n.type]:l==="textarea"}function yd(n,l,u,c){No?Ro?Ro.push(c):Ro=[c]:No=c,l=vs(l,"onChange"),0<l.length&&(u=new rd("onChange","change",null,u,c),n.push({event:u,listeners:l}))}var tl=null,nl=null;function av(n){to(n,0)}function xl(n){var l=ar(n);if(yc(l))return n}function lv(n,l){if(n==="change")return l}var uv=!1;if(Rl){var Dc;if(Rl){var Mc="oninput"in document;if(!Mc){var iv=document.createElement("div");iv.setAttribute("oninput","return;"),Mc=typeof iv.oninput=="function"}Dc=Mc}else Dc=!1;uv=Dc&&(!document.documentMode||9<document.documentMode)}function Co(){tl&&(tl.detachEvent("onpropertychange",cv),nl=tl=null)}function cv(n){if(n.propertyName==="value"&&xl(nl)){var l=[];yd(l,nl,n,id(n)),Uo(av,l)}}function md(n,l,u){n==="focusin"?(Co(),tl=l,nl=u,tl.attachEvent("onpropertychange",cv)):n==="focusout"&&Co()}function _i(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return xl(nl)}function Uu(n,l){if(n==="click")return xl(l)}function ov(n,l){if(n==="input"||n==="change")return xl(l)}function sv(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var dn=typeof Object.is=="function"?Object.is:sv;function Ei(n,l){if(dn(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var u=Object.keys(n),c=Object.keys(l);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var f=u[c];if(!Ff.call(l,f)||!dn(n[f],l[f]))return!1}return!0}function Ti(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function bt(n,l){var u=Ti(n);n=0;for(var c;u;){if(u.nodeType===3){if(c=n+u.textContent.length,n<=l&&c>=l)return{node:u,offset:l-n};n=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Ti(u)}}function mr(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?mr(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function rv(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=Mo(n.document);l instanceof n.HTMLIFrameElement;){try{var u=typeof l.contentWindow.location.href=="string"}catch{u=!1}if(u)n=l.contentWindow;else break;l=Mo(n.document)}return l}function gr(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l&&(l==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||l==="textarea"||n.contentEditable==="true")}var zc=Rl&&"documentMode"in document&&11>=document.documentMode,Cl=null,al=null,Ai=null,Nc=!1;function gd(n,l,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Nc||Cl==null||Cl!==Mo(c)||(c=Cl,"selectionStart"in c&&gr(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Ai&&Ei(Ai,c)||(Ai=c,c=vs(al,"onSelect"),0<c.length&&(l=new rd("onSelect","select",null,l,u),n.push({event:l,listeners:c}),l.target=Cl)))}function xu(n,l){var u={};return u[n.toLowerCase()]=l.toLowerCase(),u["Webkit"+n]="webkit"+l,u["Moz"+n]="moz"+l,u}var Rc={animationend:xu("Animation","AnimationEnd"),animationiteration:xu("Animation","AnimationIteration"),animationstart:xu("Animation","AnimationStart"),transitionrun:xu("Transition","TransitionRun"),transitionstart:xu("Transition","TransitionStart"),transitioncancel:xu("Transition","TransitionCancel"),transitionend:xu("Transition","TransitionEnd")},za={},ll={};Rl&&(ll=document.createElement("div").style,"AnimationEvent"in window||(delete Rc.animationend.animation,delete Rc.animationiteration.animation,delete Rc.animationstart.animation),"TransitionEvent"in window||delete Rc.transitionend.transition);function Hl(n){if(za[n])return za[n];if(!Rc[n])return n;var l=Rc[n],u;for(u in l)if(l.hasOwnProperty(u)&&u in ll)return za[n]=l[u];return n}var Mg=Hl("animationend"),fv=Hl("animationiteration"),zg=Hl("animationstart"),dv=Hl("transitionrun"),bd=Hl("transitionstart"),Ng=Hl("transitioncancel"),hv=Hl("transitionend"),pv=new Map,Ho="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Ho.push("scrollEnd");function Na(n,l){pv.set(n,l),pi(l,[n])}var vv=new WeakMap;function ha(n,l){if(typeof n=="object"&&n!==null){var u=vv.get(n);return u!==void 0?u:(l={value:n,source:l,stack:Lp(l)},vv.set(n,l),l)}return{value:n,source:l,stack:Lp(l)}}var $n=[],Oi=0,Bl=0;function ul(){for(var n=Oi,l=Bl=Oi=0;l<n;){var u=$n[l];$n[l++]=null;var c=$n[l];$n[l++]=null;var f=$n[l];$n[l++]=null;var p=$n[l];if($n[l++]=null,c!==null&&f!==null){var b=c.pending;b===null?f.next=f:(f.next=b.next,b.next=f),c.pending=f}p!==0&&wo(u,f,p)}}function Di(n,l,u,c){$n[Oi++]=n,$n[Oi++]=l,$n[Oi++]=u,$n[Oi++]=c,Bl|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function Bo(n,l,u,c){return Di(n,l,u,c),br(n)}function wl(n,l){return Di(n,null,null,l),br(n)}function wo(n,l,u){n.lanes|=u;var c=n.alternate;c!==null&&(c.lanes|=u);for(var f=!1,p=n.return;p!==null;)p.childLanes|=u,c=p.alternate,c!==null&&(c.childLanes|=u),p.tag===22&&(n=p.stateNode,n===null||n._visibility&1||(f=!0)),n=p,p=p.return;return n.tag===3?(p=n.stateNode,f&&l!==null&&(f=31-Jn(u),n=p.hiddenUpdates,c=n[f],c===null?n[f]=[l]:c.push(l),l.lane=u|536870912),p):null}function br(n){if(50<ss)throw ss=0,vy=null,Error(d(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var Vo={};function Rg(n,l,u,c){this.tag=n,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Wn(n,l,u,c){return new Rg(n,l,u,c)}function Sr(n){return n=n.prototype,!(!n||!n.isReactComponent)}function il(n,l){var u=n.alternate;return u===null?(u=Wn(n.tag,l,n.key,n.mode),u.elementType=n.elementType,u.type=n.type,u.stateNode=n.stateNode,u.alternate=n,n.alternate=u):(u.pendingProps=l,u.type=n.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=n.flags&65011712,u.childLanes=n.childLanes,u.lanes=n.lanes,u.child=n.child,u.memoizedProps=n.memoizedProps,u.memoizedState=n.memoizedState,u.updateQueue=n.updateQueue,l=n.dependencies,u.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},u.sibling=n.sibling,u.index=n.index,u.ref=n.ref,u.refCleanup=n.refCleanup,u}function Ve(n,l){n.flags&=65011714;var u=n.alternate;return u===null?(n.childLanes=0,n.lanes=l,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=u.childLanes,n.lanes=u.lanes,n.child=u.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=u.memoizedProps,n.memoizedState=u.memoizedState,n.updateQueue=u.updateQueue,n.type=u.type,l=u.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function I(n,l,u,c,f,p){var b=0;if(c=n,typeof n=="function")Sr(n)&&(b=1);else if(typeof n=="string")b=r0(n,u,ot.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case ve:return n=Wn(31,u,l,f),n.elementType=ve,n.lanes=p,n;case fe:return Ra(u.children,f,p,l);case Me:b=8,f|=24;break;case me:return n=Wn(12,u,l,f|2),n.elementType=me,n.lanes=p,n;case mt:return n=Wn(13,u,l,f),n.elementType=mt,n.lanes=p,n;case pt:return n=Wn(19,u,l,f),n.elementType=pt,n.lanes=p,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ze:case Be:b=10;break e;case qt:b=9;break e;case Ze:b=11;break e;case We:b=14;break e;case Hn:b=16,c=null;break e}b=29,u=Error(d(130,n===null?"null":typeof n,"")),c=null}return l=Wn(b,u,l,f),l.elementType=n,l.type=c,l.lanes=p,l}function Ra(n,l,u,c){return n=Wn(7,n,c,l),n.lanes=u,n}function jo(n,l,u){return n=Wn(6,n,null,l),n.lanes=u,n}function zt(n,l,u){return l=Wn(4,n.children!==null?n.children:[],n.key,l),l.lanes=u,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var Mi=[],zi=0,_r=null,qo=0,Ua=[],Fn=0,Cu=null,cl=1,Ut="";function Ke(n,l){Mi[zi++]=qo,Mi[zi++]=_r,_r=n,qo=l}function Sd(n,l,u){Ua[Fn++]=cl,Ua[Fn++]=Ut,Ua[Fn++]=Cu,Cu=n;var c=cl;n=Ut;var f=32-Jn(c)-1;c&=~(1<<f),u+=1;var p=32-Jn(l)+f;if(30<p){var b=f-f%5;p=(c&(1<<b)-1).toString(32),c>>=b,f-=b,cl=1<<32-Jn(l)+f|u<<f|c,Ut=p+n}else cl=1<<p|u<<f|c,Ut=n}function Uc(n){n.return!==null&&(Ke(n,1),Sd(n,1,0))}function Vl(n){for(;n===_r;)_r=Mi[--zi],Mi[zi]=null,qo=Mi[--zi],Mi[zi]=null;for(;n===Cu;)Cu=Ua[--Fn],Ua[Fn]=null,Ut=Ua[--Fn],Ua[Fn]=null,cl=Ua[--Fn],Ua[Fn]=null}var Yt=null,Pe=null,Fe=!1,xa=null,Ca=!1,xc=Error(d(519));function Hu(n){var l=Error(d(418,""));throw Go(ha(l,n)),xc}function Er(n){var l=n.stateNode,u=n.type,c=n.memoizedProps;switch(l[en]=n,l[Vn]=c,u){case"dialog":Re("cancel",l),Re("close",l);break;case"iframe":case"object":case"embed":Re("load",l);break;case"video":case"audio":for(u=0;u<of.length;u++)Re(of[u],l);break;case"source":Re("error",l);break;case"img":case"image":case"link":Re("error",l),Re("load",l);break;case"details":Re("toggle",l);break;case"input":Re("invalid",l),ld(l,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),mi(l);break;case"select":Re("invalid",l);break;case"textarea":Re("invalid",l),Qp(l,c.value,c.defaultValue,c.children),mi(l)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||l.textContent===""+u||c.suppressHydrationWarning===!0||Ny(l.textContent,u)?(c.popover!=null&&(Re("beforetoggle",l),Re("toggle",l)),c.onScroll!=null&&Re("scroll",l),c.onScrollEnd!=null&&Re("scrollend",l),c.onClick!=null&&(l.onclick=Rh),l=!0):l=!1,l||Hu(n)}function yv(n){for(Yt=n.return;Yt;)switch(Yt.tag){case 5:case 13:Ca=!1;return;case 27:case 3:Ca=!0;return;default:Yt=Yt.return}}function Yo(n){if(n!==Yt)return!1;if(!Fe)return yv(n),Fe=!0,!1;var l=n.tag,u;if((u=l!==3&&l!==27)&&((u=l===5)&&(u=n.type,u=!(u!=="form"&&u!=="button")||au(n.type,n.memoizedProps)),u=!u),u&&Pe&&Hu(n),yv(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(d(317));e:{for(n=n.nextSibling,l=0;n;){if(n.nodeType===8)if(u=n.data,u==="/$"){if(l===0){Pe=hl(n.nextSibling);break e}l--}else u!=="$"&&u!=="$!"&&u!=="$?"||l++;n=n.nextSibling}Pe=null}}else l===27?(l=Pe,Ki(n.type)?(n=Ji,Ji=null,Pe=n):Pe=l):Pe=Yt?hl(n.stateNode.nextSibling):null;return!0}function Lo(){Pe=Yt=null,Fe=!1}function mv(){var n=xa;return n!==null&&(aa===null?aa=n:aa.push.apply(aa,n),xa=null),n}function Go(n){xa===null?xa=[n]:xa.push(n)}var Tr=Tt(null),Bu=null,ol=null;function wu(n,l,u){ke(Tr,l._currentValue),l._currentValue=u}function jl(n){n._currentValue=Tr.current,ye(Tr)}function _d(n,l,u){for(;n!==null;){var c=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,c!==null&&(c.childLanes|=l)):c!==null&&(c.childLanes&l)!==l&&(c.childLanes|=l),n===u)break;n=n.return}}function gv(n,l,u,c){var f=n.child;for(f!==null&&(f.return=n);f!==null;){var p=f.dependencies;if(p!==null){var b=f.child;p=p.firstContext;e:for(;p!==null;){var _=p;p=f;for(var O=0;O<l.length;O++)if(_.context===l[O]){p.lanes|=u,_=p.alternate,_!==null&&(_.lanes|=u),_d(p.return,u,n),c||(b=null);break e}p=_.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(d(341));b.lanes|=u,p=b.alternate,p!==null&&(p.lanes|=u),_d(b,u,n),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===n){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function Xo(n,l,u,c){n=null;for(var f=l,p=!1;f!==null;){if(!p){if((f.flags&524288)!==0)p=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(d(387));if(b=b.memoizedProps,b!==null){var _=f.type;dn(f.pendingProps.value,b.value)||(n!==null?n.push(_):n=[_])}}else if(f===Wf.current){if(b=f.alternate,b===null)throw Error(d(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(n!==null?n.push(ca):n=[ca])}f=f.return}n!==null&&gv(l,n,u,c),l.flags|=262144}function Ar(n){for(n=n.firstContext;n!==null;){if(!dn(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Ni(n){Bu=n,ol=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function tn(n){return bv(Bu,n)}function Or(n,l){return Bu===null&&Ni(n),bv(n,l)}function bv(n,l){var u=l._currentValue;if(l={context:l,memoizedValue:u,next:null},ol===null){if(n===null)throw Error(d(308));ol=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else ol=ol.next=l;return u}var Qo=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(u,c){n.push(c)}};this.abort=function(){l.aborted=!0,n.forEach(function(u){return u()})}},Ed=r.unstable_scheduleCallback,Ug=r.unstable_NormalPriority,Jt={$$typeof:Be,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zo(){return{controller:new Qo,data:new Map,refCount:0}}function ql(n){n.refCount--,n.refCount===0&&Ed(Ug,function(){n.controller.abort()})}var Ri=null,Dr=0,Ha=0,kt=null;function Td(n,l){if(Ri===null){var u=Ri=[];Dr=0,Ha=eo(),kt={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Dr++,l.then(Ad,Ad),l}function Ad(){if(--Dr===0&&Ri!==null){kt!==null&&(kt.status="fulfilled");var n=Ri;Ri=null,Ha=0,kt=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function xg(n,l){var u=[],c={status:"pending",value:null,reason:null,then:function(f){u.push(f)}};return n.then(function(){c.status="fulfilled",c.value=l;for(var f=0;f<u.length;f++)(0,u[f])(l)},function(f){for(c.status="rejected",c.reason=f,f=0;f<u.length;f++)(0,u[f])(void 0)}),c}var Od=x.S;x.S=function(n,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&Td(n,l),Od!==null&&Od(n,l)};var Yl=Tt(null);function Mr(){var n=Yl.current;return n!==null?n:yt.pooledCache}function Cc(n,l){l===null?ke(Yl,Yl.current):ke(Yl,l.pool)}function Dd(){var n=Mr();return n===null?null:{parent:Jt._currentValue,pool:n}}var Ui=Error(d(460)),Md=Error(d(474)),zr=Error(d(542)),zd={then:function(){}};function Nd(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Nr(){}function Sv(n,l,u){switch(u=n[u],u===void 0?n.push(l):u!==l&&(l.then(Nr,Nr),l=u),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ev(n),n;default:if(typeof l.status=="string")l.then(Nr,Nr);else{if(n=yt,n!==null&&100<n.shellSuspendCounter)throw Error(d(482));n=l,n.status="pending",n.then(function(c){if(l.status==="pending"){var f=l;f.status="fulfilled",f.value=c}},function(c){if(l.status==="pending"){var f=l;f.status="rejected",f.reason=c}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ev(n),n}throw Hc=l,Ui}}var Hc=null;function _v(){if(Hc===null)throw Error(d(459));var n=Hc;return Hc=null,n}function Ev(n){if(n===Ui||n===zr)throw Error(d(483))}var Ll=!1;function Rd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ud(n,l){n=n.updateQueue,l.updateQueue===n&&(l.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function In(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Gl(n,l,u){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(ut&2)!==0){var f=c.pending;return f===null?l.next=l:(l.next=f.next,f.next=l),c.pending=l,l=br(n),wo(n,null,u),l}return Di(n,c,l,u),br(n)}function Bc(n,l,u){if(l=l.updateQueue,l!==null&&(l=l.shared,(u&4194048)!==0)){var c=l.lanes;c&=n.pendingLanes,u|=c,l.lanes=u,tr(n,u)}}function Tv(n,l){var u=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var f=null,p=null;if(u=u.firstBaseUpdate,u!==null){do{var b={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};p===null?f=p=b:p=p.next=b,u=u.next}while(u!==null);p===null?f=p=l:p=p.next=l}else f=p=l;u={baseState:c.baseState,firstBaseUpdate:f,lastBaseUpdate:p,shared:c.shared,callbacks:c.callbacks},n.updateQueue=u;return}n=u.lastBaseUpdate,n===null?u.firstBaseUpdate=l:n.next=l,u.lastBaseUpdate=l}var Av=!1;function Ko(){if(Av){var n=kt;if(n!==null)throw n}}function Vu(n,l,u,c){Av=!1;var f=n.updateQueue;Ll=!1;var p=f.firstBaseUpdate,b=f.lastBaseUpdate,_=f.shared.pending;if(_!==null){f.shared.pending=null;var O=_,B=O.next;O.next=null,b===null?p=B:b.next=B,b=O;var K=n.alternate;K!==null&&(K=K.updateQueue,_=K.lastBaseUpdate,_!==b&&(_===null?K.firstBaseUpdate=B:_.next=B,K.lastBaseUpdate=O))}if(p!==null){var $=f.baseState;b=0,K=B=O=null,_=p;do{var j=_.lane&-536870913,Y=j!==_.lane;if(Y?(Ge&j)===j:(c&j)===j){j!==0&&j===Ha&&(Av=!0),K!==null&&(K=K.next={lane:0,tag:_.tag,payload:_.payload,callback:null,next:null});e:{var he=n,pe=_;j=l;var tt=u;switch(pe.tag){case 1:if(he=pe.payload,typeof he=="function"){$=he.call(tt,$,j);break e}$=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=pe.payload,j=typeof he=="function"?he.call(tt,$,j):he,j==null)break e;$=k({},$,j);break e;case 2:Ll=!0}}j=_.callback,j!==null&&(n.flags|=64,Y&&(n.flags|=8192),Y=f.callbacks,Y===null?f.callbacks=[j]:Y.push(j))}else Y={lane:j,tag:_.tag,payload:_.payload,callback:_.callback,next:null},K===null?(B=K=Y,O=$):K=K.next=Y,b|=j;if(_=_.next,_===null){if(_=f.shared.pending,_===null)break;Y=_,_=Y.next,Y.next=null,f.lastBaseUpdate=Y,f.shared.pending=null}}while(!0);K===null&&(O=$),f.baseState=O,f.firstBaseUpdate=B,f.lastBaseUpdate=K,p===null&&(f.shared.lanes=0),Qu|=b,n.lanes=b,n.memoizedState=$}}function xd(n,l){if(typeof n!="function")throw Error(d(191,n));n.call(l)}function Rr(n,l){var u=n.callbacks;if(u!==null)for(n.callbacks=null,n=0;n<u.length;n++)xd(u[n],l)}var wc=Tt(null),Ur=Tt(0);function nn(n,l){n=Xu,ke(Ur,n),ke(wc,l),Xu=n|l.baseLanes}function Jo(){ke(Ur,Xu),ke(wc,wc.current)}function ko(){Xu=Ur.current,ye(wc),ye(Ur)}var Ba=0,Ne=null,lt=null,Nt=null,xr=!1,pa=!1,xi=!1,sl=0,va=0,ju=null,Ov=0;function Rt(){throw Error(d(321))}function Cd(n,l){if(l===null)return!1;for(var u=0;u<l.length&&u<n.length;u++)if(!dn(n[u],l[u]))return!1;return!0}function Hd(n,l,u,c,f,p){return Ba=p,Ne=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,x.H=n===null||n.memoizedState===null?Yv:Lv,xi=!1,p=u(c,f),xi=!1,pa&&(p=Dv(l,u,c,f)),Ci(n),p}function Ci(n){x.H=Fd;var l=lt!==null&<.next!==null;if(Ba=0,Nt=lt=Ne=null,xr=!1,va=0,ju=null,l)throw Error(d(300));n===null||$t||(n=n.dependencies,n!==null&&Ar(n)&&($t=!0))}function Dv(n,l,u,c){Ne=n;var f=0;do{if(pa&&(ju=null),va=0,pa=!1,25<=f)throw Error(d(301));if(f+=1,Nt=lt=null,n.updateQueue!=null){var p=n.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}x.H=qu,p=l(u,c)}while(pa);return p}function Cg(){var n=x.H,l=n.useState()[0];return l=typeof l.then=="function"?Hr(l):l,n=n.useState()[0],(lt!==null?lt.memoizedState:null)!==n&&(Ne.flags|=1024),l}function Bd(){var n=sl!==0;return sl=0,n}function $o(n,l,u){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~u}function wd(n){if(xr){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}xr=!1}Ba=0,Nt=lt=Ne=null,pa=!1,va=sl=0,ju=null}function On(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nt===null?Ne.memoizedState=Nt=n:Nt=Nt.next=n,Nt}function xt(){if(lt===null){var n=Ne.alternate;n=n!==null?n.memoizedState:null}else n=lt.next;var l=Nt===null?Ne.memoizedState:Nt.next;if(l!==null)Nt=l,lt=n;else{if(n===null)throw Ne.alternate===null?Error(d(467)):Error(d(310));lt=n,n={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},Nt===null?Ne.memoizedState=Nt=n:Nt=Nt.next=n}return Nt}function Cr(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Hr(n){var l=va;return va+=1,ju===null&&(ju=[]),n=Sv(ju,n,l),l=Ne,(Nt===null?l.memoizedState:Nt.next)===null&&(l=l.alternate,x.H=l===null||l.memoizedState===null?Yv:Lv),n}function Gt(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Hr(n);if(n.$$typeof===Be)return tn(n)}throw Error(d(438,String(n)))}function Vd(n){var l=null,u=Ne.updateQueue;if(u!==null&&(l=u.memoCache),l==null){var c=Ne.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(l={data:c.data.map(function(f){return f.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),u===null&&(u=Cr(),Ne.updateQueue=u),u.memoCache=l,u=l.data[l.index],u===void 0)for(u=l.data[l.index]=Array(n),c=0;c<n;c++)u[c]=Lt;return l.index++,u}function Xl(n,l){return typeof l=="function"?l(n):l}function Br(n){var l=xt();return jd(l,lt,n)}function jd(n,l,u){var c=n.queue;if(c===null)throw Error(d(311));c.lastRenderedReducer=u;var f=n.baseQueue,p=c.pending;if(p!==null){if(f!==null){var b=f.next;f.next=p.next,p.next=b}l.baseQueue=f=p,c.pending=null}if(p=n.baseState,f===null)n.memoizedState=p;else{l=f.next;var _=b=null,O=null,B=l,K=!1;do{var $=B.lane&-536870913;if($!==B.lane?(Ge&$)===$:(Ba&$)===$){var j=B.revertLane;if(j===0)O!==null&&(O=O.next={lane:0,revertLane:0,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),$===Ha&&(K=!0);else if((Ba&j)===j){B=B.next,j===Ha&&(K=!0);continue}else $={lane:0,revertLane:B.revertLane,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},O===null?(_=O=$,b=p):O=O.next=$,Ne.lanes|=j,Qu|=j;$=B.action,xi&&u(p,$),p=B.hasEagerState?B.eagerState:u(p,$)}else j={lane:$,revertLane:B.revertLane,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},O===null?(_=O=j,b=p):O=O.next=j,Ne.lanes|=$,Qu|=$;B=B.next}while(B!==null&&B!==l);if(O===null?b=p:O.next=_,!dn(p,n.memoizedState)&&($t=!0,K&&(u=kt,u!==null)))throw u;n.memoizedState=p,n.baseState=b,n.baseQueue=O,c.lastRenderedState=p}return f===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function qd(n){var l=xt(),u=l.queue;if(u===null)throw Error(d(311));u.lastRenderedReducer=n;var c=u.dispatch,f=u.pending,p=l.memoizedState;if(f!==null){u.pending=null;var b=f=f.next;do p=n(p,b.action),b=b.next;while(b!==f);dn(p,l.memoizedState)||($t=!0),l.memoizedState=p,l.baseQueue===null&&(l.baseState=p),u.lastRenderedState=p}return[p,c]}function wr(n,l,u){var c=Ne,f=xt(),p=Fe;if(p){if(u===void 0)throw Error(d(407));u=u()}else u=l();var b=!dn((lt||f).memoizedState,u);b&&(f.memoizedState=u,$t=!0),f=f.queue;var _=zv.bind(null,c,f,n);if(ft(2048,8,_,[n]),f.getSnapshot!==l||b||Nt!==null&&Nt.memoizedState.tag&1){if(c.flags|=2048,Pn(9,qr(),Mv.bind(null,c,f,u,l),null),yt===null)throw Error(d(349));p||(Ba&124)!==0||Yd(c,l,u)}return u}function Yd(n,l,u){n.flags|=16384,n={getSnapshot:l,value:u},l=Ne.updateQueue,l===null?(l=Cr(),Ne.updateQueue=l,l.stores=[n]):(u=l.stores,u===null?l.stores=[n]:u.push(n))}function Mv(n,l,u,c){l.value=u,l.getSnapshot=c,Nv(l)&&Ld(n)}function zv(n,l,u){return u(function(){Nv(l)&&Ld(n)})}function Nv(n){var l=n.getSnapshot;n=n.value;try{var u=l();return!dn(n,u)}catch{return!0}}function Ld(n){var l=wl(n,2);l!==null&&ga(l,n,2)}function Vr(n){var l=On();if(typeof n=="function"){var u=n;if(n=u(),xi){Au(!0);try{u()}finally{Au(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xl,lastRenderedState:n},l}function Gd(n,l,u,c){return n.baseState=u,jd(n,lt,typeof c=="function"?c:Xl)}function Hg(n,l,u,c,f){if(Yc(n))throw Error(d(485));if(n=l.action,n!==null){var p={payload:f,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){p.listeners.push(b)}};x.T!==null?u(!0):p.isTransition=!1,c(p),u=l.pending,u===null?(p.next=l.pending=p,Xd(l,p)):(p.next=u.next,l.pending=u.next=p)}}function Xd(n,l){var u=l.action,c=l.payload,f=n.state;if(l.isTransition){var p=x.T,b={};x.T=b;try{var _=u(f,c),O=x.S;O!==null&&O(b,_),jr(n,l,_)}catch(B){Zd(n,l,B)}finally{x.T=p}}else try{p=u(f,c),jr(n,l,p)}catch(B){Zd(n,l,B)}}function jr(n,l,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Qd(n,l,c)},function(c){return Zd(n,l,c)}):Qd(n,l,u)}function Qd(n,l,u){l.status="fulfilled",l.value=u,Rv(l),n.state=u,l=n.pending,l!==null&&(u=l.next,u===l?n.pending=null:(u=u.next,l.next=u,Xd(n,u)))}function Zd(n,l,u){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do l.status="rejected",l.reason=u,Rv(l),l=l.next;while(l!==c)}n.action=null}function Rv(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function Kd(n,l){return l}function Uv(n,l){if(Fe){var u=yt.formState;if(u!==null){e:{var c=Ne;if(Fe){if(Pe){t:{for(var f=Pe,p=Ca;f.nodeType!==8;){if(!p){f=null;break t}if(f=hl(f.nextSibling),f===null){f=null;break t}}p=f.data,f=p==="F!"||p==="F"?f:null}if(f){Pe=hl(f.nextSibling),c=f.data==="F!";break e}}Hu(c)}c=!1}c&&(l=u[0])}}return u=On(),u.memoizedState=u.baseState=l,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kd,lastRenderedState:l},u.queue=c,u=jv.bind(null,Ne,c),c.dispatch=u,c=Vr(!1),p=Gr.bind(null,Ne,!1,c.queue),c=On(),f={state:l,dispatch:null,action:n,pending:null},c.queue=f,u=Hg.bind(null,Ne,f,p,u),f.dispatch=u,c.memoizedState=n,[l,u,!1]}function Ql(n){var l=xt();return Jd(l,lt,n)}function Jd(n,l,u){if(l=jd(n,l,Kd)[0],n=Br(Xl)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var c=Hr(l)}catch(b){throw b===Ui?zr:b}else c=l;l=xt();var f=l.queue,p=f.dispatch;return u!==l.memoizedState&&(Ne.flags|=2048,Pn(9,qr(),Zb.bind(null,f,u),null)),[c,p,n]}function Zb(n,l){n.action=l}function kd(n){var l=xt(),u=lt;if(u!==null)return Jd(l,u,n);xt(),l=l.memoizedState,u=xt();var c=u.queue.dispatch;return u.memoizedState=n,[l,c,!1]}function Pn(n,l,u,c){return n={tag:n,create:u,deps:c,inst:l,next:null},l=Ne.updateQueue,l===null&&(l=Cr(),Ne.updateQueue=l),u=l.lastEffect,u===null?l.lastEffect=n.next=n:(c=u.next,u.next=n,n.next=c,l.lastEffect=n),n}function qr(){return{destroy:void 0,resource:void 0}}function Yr(){return xt().memoizedState}function Hi(n,l,u,c){var f=On();c=c===void 0?null:c,Ne.flags|=n,f.memoizedState=Pn(1|l,qr(),u,c)}function ft(n,l,u,c){var f=xt();c=c===void 0?null:c;var p=f.memoizedState.inst;lt!==null&&c!==null&&Cd(c,lt.memoizedState.deps)?f.memoizedState=Pn(l,p,u,c):(Ne.flags|=n,f.memoizedState=Pn(1|l,p,u,c))}function Bg(n,l){Hi(8390656,8,n,l)}function wg(n,l){ft(2048,8,n,l)}function xv(n,l){return ft(4,2,n,l)}function rl(n,l){return ft(4,4,n,l)}function Cv(n,l){if(typeof l=="function"){n=n();var u=l(n);return function(){typeof u=="function"?u():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function $d(n,l,u){u=u!=null?u.concat([n]):null,ft(4,4,Cv.bind(null,l,n),u)}function Vc(){}function jc(n,l){var u=xt();l=l===void 0?null:l;var c=u.memoizedState;return l!==null&&Cd(l,c[1])?c[0]:(u.memoizedState=[n,l],n)}function Hv(n,l){var u=xt();l=l===void 0?null:l;var c=u.memoizedState;if(l!==null&&Cd(l,c[1]))return c[0];if(c=n(),xi){Au(!0);try{n()}finally{Au(!1)}}return u.memoizedState=[c,l],c}function Lr(n,l,u){return u===void 0||(Ba&1073741824)!==0?n.memoizedState=l:(n.memoizedState=u,n=yy(),Ne.lanes|=n,Qu|=n,u)}function Bv(n,l,u,c){return dn(u,l)?u:wc.current!==null?(n=Lr(n,u,c),dn(n,l)||($t=!0),n):(Ba&42)===0?($t=!0,n.memoizedState=u):(n=yy(),Ne.lanes|=n,Qu|=n,l)}function Vg(n,l,u,c,f){var p=F.p;F.p=p!==0&&8>p?p:8;var b=x.T,_={};x.T=_,Gr(n,!1,l,u);try{var O=f(),B=x.S;if(B!==null&&B(_,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var K=xg(O,c);qc(n,l,K,ma(n))}else qc(n,l,c,ma(n))}catch($){qc(n,l,{then:function(){},status:"rejected",reason:$},ma())}finally{F.p=p,x.T=b}}function Kb(){}function Wd(n,l,u,c){if(n.tag!==5)throw Error(d(476));var f=jg(n).queue;Vg(n,f,l,ee,u===null?Kb:function(){return Wo(n),u(c)})}function jg(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xl,lastRenderedState:ee},next:null};var u={};return l.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Xl,lastRenderedState:u},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function Wo(n){var l=jg(n).next.queue;qc(n,l,{},ma())}function wa(){return tn(ca)}function wv(){return xt().memoizedState}function qg(){return xt().memoizedState}function Yg(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var u=ma();n=In(u);var c=Gl(l,n,u);c!==null&&(ga(c,l,u),Bc(c,l,u)),l={cache:Zo()},n.payload=l;return}l=l.return}}function Vv(n,l,u){var c=ma();u={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},Yc(n)?Lg(l,u):(u=Bo(n,l,u,c),u!==null&&(ga(u,n,c),qv(u,l,c)))}function jv(n,l,u){var c=ma();qc(n,l,u,c)}function qc(n,l,u,c){var f={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(Yc(n))Lg(l,f);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=l.lastRenderedReducer,p!==null))try{var b=l.lastRenderedState,_=p(b,u);if(f.hasEagerState=!0,f.eagerState=_,dn(_,b))return Di(n,l,f,0),yt===null&&ul(),!1}catch{}finally{}if(u=Bo(n,l,f,c),u!==null)return ga(u,n,c),qv(u,l,c),!0}return!1}function Gr(n,l,u,c){if(c={lane:2,revertLane:eo(),action:c,hasEagerState:!1,eagerState:null,next:null},Yc(n)){if(l)throw Error(d(479))}else l=Bo(n,u,c,2),l!==null&&ga(l,n,2)}function Yc(n){var l=n.alternate;return n===Ne||l!==null&&l===Ne}function Lg(n,l){pa=xr=!0;var u=n.pending;u===null?l.next=l:(l.next=u.next,u.next=l),n.pending=l}function qv(n,l,u){if((u&4194048)!==0){var c=l.lanes;c&=n.pendingLanes,u|=c,l.lanes=u,tr(n,u)}}var Fd={readContext:tn,use:Gt,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useLayoutEffect:Rt,useInsertionEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useSyncExternalStore:Rt,useId:Rt,useHostTransitionStatus:Rt,useFormState:Rt,useActionState:Rt,useOptimistic:Rt,useMemoCache:Rt,useCacheRefresh:Rt},Yv={readContext:tn,use:Gt,useCallback:function(n,l){return On().memoizedState=[n,l===void 0?null:l],n},useContext:tn,useEffect:Bg,useImperativeHandle:function(n,l,u){u=u!=null?u.concat([n]):null,Hi(4194308,4,Cv.bind(null,l,n),u)},useLayoutEffect:function(n,l){return Hi(4194308,4,n,l)},useInsertionEffect:function(n,l){Hi(4,2,n,l)},useMemo:function(n,l){var u=On();l=l===void 0?null:l;var c=n();if(xi){Au(!0);try{n()}finally{Au(!1)}}return u.memoizedState=[c,l],c},useReducer:function(n,l,u){var c=On();if(u!==void 0){var f=u(l);if(xi){Au(!0);try{u(l)}finally{Au(!1)}}}else f=l;return c.memoizedState=c.baseState=f,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:f},c.queue=n,n=n.dispatch=Vv.bind(null,Ne,n),[c.memoizedState,n]},useRef:function(n){var l=On();return n={current:n},l.memoizedState=n},useState:function(n){n=Vr(n);var l=n.queue,u=jv.bind(null,Ne,l);return l.dispatch=u,[n.memoizedState,u]},useDebugValue:Vc,useDeferredValue:function(n,l){var u=On();return Lr(u,n,l)},useTransition:function(){var n=Vr(!1);return n=Vg.bind(null,Ne,n.queue,!0,!1),On().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,u){var c=Ne,f=On();if(Fe){if(u===void 0)throw Error(d(407));u=u()}else{if(u=l(),yt===null)throw Error(d(349));(Ge&124)!==0||Yd(c,l,u)}f.memoizedState=u;var p={value:u,getSnapshot:l};return f.queue=p,Bg(zv.bind(null,c,p,n),[n]),c.flags|=2048,Pn(9,qr(),Mv.bind(null,c,p,u,l),null),u},useId:function(){var n=On(),l=yt.identifierPrefix;if(Fe){var u=Ut,c=cl;u=(c&~(1<<32-Jn(c)-1)).toString(32)+u,l="«"+l+"R"+u,u=sl++,0<u&&(l+="H"+u.toString(32)),l+="»"}else u=Ov++,l="«"+l+"r"+u.toString(32)+"»";return n.memoizedState=l},useHostTransitionStatus:wa,useFormState:Uv,useActionState:Uv,useOptimistic:function(n){var l=On();l.memoizedState=l.baseState=n;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=u,l=Gr.bind(null,Ne,!0,u),u.dispatch=l,[n,l]},useMemoCache:Vd,useCacheRefresh:function(){return On().memoizedState=Yg.bind(null,Ne)}},Lv={readContext:tn,use:Gt,useCallback:jc,useContext:tn,useEffect:wg,useImperativeHandle:$d,useInsertionEffect:xv,useLayoutEffect:rl,useMemo:Hv,useReducer:Br,useRef:Yr,useState:function(){return Br(Xl)},useDebugValue:Vc,useDeferredValue:function(n,l){var u=xt();return Bv(u,lt.memoizedState,n,l)},useTransition:function(){var n=Br(Xl)[0],l=xt().memoizedState;return[typeof n=="boolean"?n:Hr(n),l]},useSyncExternalStore:wr,useId:wv,useHostTransitionStatus:wa,useFormState:Ql,useActionState:Ql,useOptimistic:function(n,l){var u=xt();return Gd(u,lt,n,l)},useMemoCache:Vd,useCacheRefresh:qg},qu={readContext:tn,use:Gt,useCallback:jc,useContext:tn,useEffect:wg,useImperativeHandle:$d,useInsertionEffect:xv,useLayoutEffect:rl,useMemo:Hv,useReducer:qd,useRef:Yr,useState:function(){return qd(Xl)},useDebugValue:Vc,useDeferredValue:function(n,l){var u=xt();return lt===null?Lr(u,n,l):Bv(u,lt.memoizedState,n,l)},useTransition:function(){var n=qd(Xl)[0],l=xt().memoizedState;return[typeof n=="boolean"?n:Hr(n),l]},useSyncExternalStore:wr,useId:wv,useHostTransitionStatus:wa,useFormState:kd,useActionState:kd,useOptimistic:function(n,l){var u=xt();return lt!==null?Gd(u,lt,n,l):(u.baseState=n,[n,u.queue.dispatch])},useMemoCache:Vd,useCacheRefresh:qg},Lc=null,Fo=0;function Id(n){var l=Fo;return Fo+=1,Lc===null&&(Lc=[]),Sv(Lc,n,l)}function Gc(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Dn(n,l){throw l.$$typeof===te?Error(d(525)):(n=Object.prototype.toString.call(l),Error(d(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function Gv(n){var l=n._init;return l(n._payload)}function ea(n){function l(C,R){if(n){var H=C.deletions;H===null?(C.deletions=[R],C.flags|=16):H.push(R)}}function u(C,R){if(!n)return null;for(;R!==null;)l(C,R),R=R.sibling;return null}function c(C){for(var R=new Map;C!==null;)C.key!==null?R.set(C.key,C):R.set(C.index,C),C=C.sibling;return R}function f(C,R){return C=il(C,R),C.index=0,C.sibling=null,C}function p(C,R,H){return C.index=H,n?(H=C.alternate,H!==null?(H=H.index,H<R?(C.flags|=67108866,R):H):(C.flags|=67108866,R)):(C.flags|=1048576,R)}function b(C){return n&&C.alternate===null&&(C.flags|=67108866),C}function _(C,R,H,J){return R===null||R.tag!==6?(R=jo(H,C.mode,J),R.return=C,R):(R=f(R,H),R.return=C,R)}function O(C,R,H,J){var ie=H.type;return ie===fe?K(C,R,H.props.children,J,H.key):R!==null&&(R.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===Hn&&Gv(ie)===R.type)?(R=f(R,H.props),Gc(R,H),R.return=C,R):(R=I(H.type,H.key,H.props,null,C.mode,J),Gc(R,H),R.return=C,R)}function B(C,R,H,J){return R===null||R.tag!==4||R.stateNode.containerInfo!==H.containerInfo||R.stateNode.implementation!==H.implementation?(R=zt(H,C.mode,J),R.return=C,R):(R=f(R,H.children||[]),R.return=C,R)}function K(C,R,H,J,ie){return R===null||R.tag!==7?(R=Ra(H,C.mode,J,ie),R.return=C,R):(R=f(R,H),R.return=C,R)}function $(C,R,H){if(typeof R=="string"&&R!==""||typeof R=="number"||typeof R=="bigint")return R=jo(""+R,C.mode,H),R.return=C,R;if(typeof R=="object"&&R!==null){switch(R.$$typeof){case ne:return H=I(R.type,R.key,R.props,null,C.mode,H),Gc(H,R),H.return=C,H;case ce:return R=zt(R,C.mode,H),R.return=C,R;case Hn:var J=R._init;return R=J(R._payload),$(C,R,H)}if(Tn(R)||we(R))return R=Ra(R,C.mode,H,null),R.return=C,R;if(typeof R.then=="function")return $(C,Id(R),H);if(R.$$typeof===Be)return $(C,Or(C,R),H);Dn(C,R)}return null}function j(C,R,H,J){var ie=R!==null?R.key:null;if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return ie!==null?null:_(C,R,""+H,J);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case ne:return H.key===ie?O(C,R,H,J):null;case ce:return H.key===ie?B(C,R,H,J):null;case Hn:return ie=H._init,H=ie(H._payload),j(C,R,H,J)}if(Tn(H)||we(H))return ie!==null?null:K(C,R,H,J,null);if(typeof H.then=="function")return j(C,R,Id(H),J);if(H.$$typeof===Be)return j(C,R,Or(C,H),J);Dn(C,H)}return null}function Y(C,R,H,J,ie){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return C=C.get(H)||null,_(R,C,""+J,ie);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case ne:return C=C.get(J.key===null?H:J.key)||null,O(R,C,J,ie);case ce:return C=C.get(J.key===null?H:J.key)||null,B(R,C,J,ie);case Hn:var je=J._init;return J=je(J._payload),Y(C,R,H,J,ie)}if(Tn(J)||we(J))return C=C.get(H)||null,K(R,C,J,ie,null);if(typeof J.then=="function")return Y(C,R,H,Id(J),ie);if(J.$$typeof===Be)return Y(C,R,H,Or(R,J),ie);Dn(R,J)}return null}function he(C,R,H,J){for(var ie=null,je=null,de=R,Se=R=0,un=null;de!==null&&Se<H.length;Se++){de.index>Se?(un=de,de=null):un=de.sibling;var $e=j(C,de,H[Se],J);if($e===null){de===null&&(de=un);break}n&&de&&$e.alternate===null&&l(C,de),R=p($e,R,Se),je===null?ie=$e:je.sibling=$e,je=$e,de=un}if(Se===H.length)return u(C,de),Fe&&Ke(C,Se),ie;if(de===null){for(;Se<H.length;Se++)de=$(C,H[Se],J),de!==null&&(R=p(de,R,Se),je===null?ie=de:je.sibling=de,je=de);return Fe&&Ke(C,Se),ie}for(de=c(de);Se<H.length;Se++)un=Y(de,C,Se,H[Se],J),un!==null&&(n&&un.alternate!==null&&de.delete(un.key===null?Se:un.key),R=p(un,R,Se),je===null?ie=un:je.sibling=un,je=un);return n&&de.forEach(function(Ii){return l(C,Ii)}),Fe&&Ke(C,Se),ie}function pe(C,R,H,J){if(H==null)throw Error(d(151));for(var ie=null,je=null,de=R,Se=R=0,un=null,$e=H.next();de!==null&&!$e.done;Se++,$e=H.next()){de.index>Se?(un=de,de=null):un=de.sibling;var Ii=j(C,de,$e.value,J);if(Ii===null){de===null&&(de=un);break}n&&de&&Ii.alternate===null&&l(C,de),R=p(Ii,R,Se),je===null?ie=Ii:je.sibling=Ii,je=Ii,de=un}if($e.done)return u(C,de),Fe&&Ke(C,Se),ie;if(de===null){for(;!$e.done;Se++,$e=H.next())$e=$(C,$e.value,J),$e!==null&&(R=p($e,R,Se),je===null?ie=$e:je.sibling=$e,je=$e);return Fe&&Ke(C,Se),ie}for(de=c(de);!$e.done;Se++,$e=H.next())$e=Y(de,C,Se,$e.value,J),$e!==null&&(n&&$e.alternate!==null&&de.delete($e.key===null?Se:$e.key),R=p($e,R,Se),je===null?ie=$e:je.sibling=$e,je=$e);return n&&de.forEach(function(lS){return l(C,lS)}),Fe&&Ke(C,Se),ie}function tt(C,R,H,J){if(typeof H=="object"&&H!==null&&H.type===fe&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case ne:e:{for(var ie=H.key;R!==null;){if(R.key===ie){if(ie=H.type,ie===fe){if(R.tag===7){u(C,R.sibling),J=f(R,H.props.children),J.return=C,C=J;break e}}else if(R.elementType===ie||typeof ie=="object"&&ie!==null&&ie.$$typeof===Hn&&Gv(ie)===R.type){u(C,R.sibling),J=f(R,H.props),Gc(J,H),J.return=C,C=J;break e}u(C,R);break}else l(C,R);R=R.sibling}H.type===fe?(J=Ra(H.props.children,C.mode,J,H.key),J.return=C,C=J):(J=I(H.type,H.key,H.props,null,C.mode,J),Gc(J,H),J.return=C,C=J)}return b(C);case ce:e:{for(ie=H.key;R!==null;){if(R.key===ie)if(R.tag===4&&R.stateNode.containerInfo===H.containerInfo&&R.stateNode.implementation===H.implementation){u(C,R.sibling),J=f(R,H.children||[]),J.return=C,C=J;break e}else{u(C,R);break}else l(C,R);R=R.sibling}J=zt(H,C.mode,J),J.return=C,C=J}return b(C);case Hn:return ie=H._init,H=ie(H._payload),tt(C,R,H,J)}if(Tn(H))return he(C,R,H,J);if(we(H)){if(ie=we(H),typeof ie!="function")throw Error(d(150));return H=ie.call(H),pe(C,R,H,J)}if(typeof H.then=="function")return tt(C,R,Id(H),J);if(H.$$typeof===Be)return tt(C,R,Or(C,H),J);Dn(C,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,R!==null&&R.tag===6?(u(C,R.sibling),J=f(R,H),J.return=C,C=J):(u(C,R),J=jo(H,C.mode,J),J.return=C,C=J),b(C)):u(C,R)}return function(C,R,H,J){try{Fo=0;var ie=tt(C,R,H,J);return Lc=null,ie}catch(de){if(de===Ui||de===zr)throw de;var je=Wn(29,de,null,C.mode);return je.lanes=J,je.return=C,je}finally{}}}var Xc=ea(!0),Zl=ea(!1),ya=Tt(null),Mn=null;function Yu(n){var l=n.alternate;ke(dt,dt.current&1),ke(ya,n),Mn===null&&(l===null||wc.current!==null||l.memoizedState!==null)&&(Mn=n)}function Kl(n){if(n.tag===22){if(ke(dt,dt.current),ke(ya,n),Mn===null){var l=n.alternate;l!==null&&l.memoizedState!==null&&(Mn=n)}}else Jl()}function Jl(){ke(dt,dt.current),ke(ya,ya.current)}function fl(n){ye(ya),Mn===n&&(Mn=null),ye(dt)}var dt=Tt(0);function Xr(n){for(var l=n;l!==null;){if(l.tag===13){var u=l.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||hf(u)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}function Bi(n,l,u,c){l=n.memoizedState,u=u(c,l),u=u==null?l:k({},l,u),n.memoizedState=u,n.lanes===0&&(n.updateQueue.baseState=u)}var Pd={enqueueSetState:function(n,l,u){n=n._reactInternals;var c=ma(),f=In(c);f.payload=l,u!=null&&(f.callback=u),l=Gl(n,f,c),l!==null&&(ga(l,n,c),Bc(l,n,c))},enqueueReplaceState:function(n,l,u){n=n._reactInternals;var c=ma(),f=In(c);f.tag=1,f.payload=l,u!=null&&(f.callback=u),l=Gl(n,f,c),l!==null&&(ga(l,n,c),Bc(l,n,c))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var u=ma(),c=In(u);c.tag=2,l!=null&&(c.callback=l),l=Gl(n,c,u),l!==null&&(ga(l,n,u),Bc(l,n,u))}};function Io(n,l,u,c,f,p,b){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,p,b):l.prototype&&l.prototype.isPureReactComponent?!Ei(u,c)||!Ei(f,p):!0}function Qc(n,l,u,c){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(u,c),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(u,c),l.state!==n&&Pd.enqueueReplaceState(l,l.state,null)}function wi(n,l){var u=l;if("ref"in l){u={};for(var c in l)c!=="ref"&&(u[c]=l[c])}if(n=n.defaultProps){u===l&&(u=k({},u));for(var f in n)u[f]===void 0&&(u[f]=n[f])}return u}var Qr=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function Po(n){Qr(n)}function Xv(n){console.error(n)}function Zr(n){Qr(n)}function Kr(n,l){try{var u=n.onUncaughtError;u(l.value,{componentStack:l.stack})}catch(c){setTimeout(function(){throw c})}}function Qv(n,l,u){try{var c=n.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function Zv(n,l,u){return u=In(u),u.tag=3,u.payload={element:null},u.callback=function(){Kr(n,l)},u}function Kv(n){return n=In(n),n.tag=3,n}function ta(n,l,u,c){var f=u.type.getDerivedStateFromError;if(typeof f=="function"){var p=c.value;n.payload=function(){return f(p)},n.callback=function(){Qv(l,u,c)}}var b=u.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(n.callback=function(){Qv(l,u,c),typeof f!="function"&&(Yi===null?Yi=new Set([this]):Yi.add(this));var _=c.stack;this.componentDidCatch(c.value,{componentStack:_!==null?_:""})})}function Gg(n,l,u,c,f){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(l=u.alternate,l!==null&&Xo(l,u,f,!0),u=ya.current,u!==null){switch(u.tag){case 13:return Mn===null?Pc():u.alternate===null&&wt===0&&(wt=3),u.flags&=-257,u.flags|=65536,u.lanes=f,c===zd?u.flags|=16384:(l=u.updateQueue,l===null?u.updateQueue=new Set([c]):l.add(c),Oh(n,c,f)),!1;case 22:return u.flags|=65536,c===zd?u.flags|=16384:(l=u.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=l):(u=l.retryQueue,u===null?l.retryQueue=new Set([c]):u.add(c)),Oh(n,c,f)),!1}throw Error(d(435,u.tag))}return Oh(n,c,f),Pc(),!1}if(Fe)return l=ya.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=f,c!==xc&&(n=Error(d(422),{cause:c}),Go(ha(n,u)))):(c!==xc&&(l=Error(d(423),{cause:c}),Go(ha(l,u))),n=n.current.alternate,n.flags|=65536,f&=-f,n.lanes|=f,c=ha(c,u),f=Zv(n.stateNode,c,f),Tv(n,f),wt!==4&&(wt=2)),!1;var p=Error(d(520),{cause:c});if(p=ha(p,u),is===null?is=[p]:is.push(p),wt!==4&&(wt=2),l===null)return!0;c=ha(c,u),u=l;do{switch(u.tag){case 3:return u.flags|=65536,n=f&-f,u.lanes|=n,n=Zv(u.stateNode,c,n),Tv(u,n),!1;case 1:if(l=u.type,p=u.stateNode,(u.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Yi===null||!Yi.has(p))))return u.flags|=65536,f&=-f,u.lanes|=f,f=Kv(f),ta(f,n,u,c),Tv(u,f),!1}u=u.return}while(u!==null);return!1}var Ct=Error(d(461)),$t=!1;function an(n,l,u,c){l.child=n===null?Zl(l,null,u,c):Xc(l,n.child,u,c)}function Xg(n,l,u,c,f){u=u.render;var p=l.ref;if("ref"in c){var b={};for(var _ in c)_!=="ref"&&(b[_]=c[_])}else b=c;return Ni(l),c=Hd(n,l,u,b,p,f),_=Bd(),n!==null&&!$t?($o(n,l,f),kl(n,l,f)):(Fe&&_&&Uc(l),l.flags|=1,an(n,l,c,f),l.child)}function Lu(n,l,u,c,f){if(n===null){var p=u.type;return typeof p=="function"&&!Sr(p)&&p.defaultProps===void 0&&u.compare===null?(l.tag=15,l.type=p,Zc(n,l,p,c,f)):(n=I(u.type,null,c,l,l.mode,f),n.ref=l.ref,n.return=l,l.child=n)}if(p=n.child,!sh(n,f)){var b=p.memoizedProps;if(u=u.compare,u=u!==null?u:Ei,u(b,c)&&n.ref===l.ref)return kl(n,l,f)}return l.flags|=1,n=il(p,c),n.ref=l.ref,n.return=l,l.child=n}function Zc(n,l,u,c,f){if(n!==null){var p=n.memoizedProps;if(Ei(p,c)&&n.ref===l.ref)if($t=!1,l.pendingProps=c=p,sh(n,f))(n.flags&131072)!==0&&($t=!0);else return l.lanes=n.lanes,kl(n,l,f)}return th(n,l,u,c,f)}function eh(n,l,u){var c=l.pendingProps,f=c.children,p=n!==null?n.memoizedState:null;if(c.mode==="hidden"){if((l.flags&128)!==0){if(c=p!==null?p.baseLanes|u:u,n!==null){for(f=l.child=n.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;l.childLanes=p&~c}else l.childLanes=0,l.child=null;return Kc(n,l,c,u)}if((u&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Cc(l,p!==null?p.cachePool:null),p!==null?nn(l,p):Jo(),Kl(l);else return l.lanes=l.childLanes=536870912,Kc(n,l,p!==null?p.baseLanes|u:u,u)}else p!==null?(Cc(l,p.cachePool),nn(l,p),Jl(),l.memoizedState=null):(n!==null&&Cc(l,null),Jo(),Jl());return an(n,l,f,u),l.child}function Kc(n,l,u,c){var f=Mr();return f=f===null?null:{parent:Jt._currentValue,pool:f},l.memoizedState={baseLanes:u,cachePool:f},n!==null&&Cc(l,null),Jo(),Kl(l),n!==null&&Xo(n,l,c,!0),null}function Jr(n,l){var u=l.ref;if(u===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(d(284));(n===null||n.ref!==u)&&(l.flags|=4194816)}}function th(n,l,u,c,f){return Ni(l),u=Hd(n,l,u,c,void 0,f),c=Bd(),n!==null&&!$t?($o(n,l,f),kl(n,l,f)):(Fe&&c&&Uc(l),l.flags|=1,an(n,l,u,f),l.child)}function Jv(n,l,u,c,f,p){return Ni(l),l.updateQueue=null,u=Dv(l,c,u,f),Ci(n),c=Bd(),n!==null&&!$t?($o(n,l,p),kl(n,l,p)):(Fe&&c&&Uc(l),l.flags|=1,an(n,l,u,p),l.child)}function nh(n,l,u,c,f){if(Ni(l),l.stateNode===null){var p=Vo,b=u.contextType;typeof b=="object"&&b!==null&&(p=tn(b)),p=new u(c,p),l.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=Pd,l.stateNode=p,p._reactInternals=l,p=l.stateNode,p.props=c,p.state=l.memoizedState,p.refs={},Rd(l),b=u.contextType,p.context=typeof b=="object"&&b!==null?tn(b):Vo,p.state=l.memoizedState,b=u.getDerivedStateFromProps,typeof b=="function"&&(Bi(l,u,b,c),p.state=l.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&Pd.enqueueReplaceState(p,p.state,null),Vu(l,c,p,f),Ko(),p.state=l.memoizedState),typeof p.componentDidMount=="function"&&(l.flags|=4194308),c=!0}else if(n===null){p=l.stateNode;var _=l.memoizedProps,O=wi(u,_);p.props=O;var B=p.context,K=u.contextType;b=Vo,typeof K=="object"&&K!==null&&(b=tn(K));var $=u.getDerivedStateFromProps;K=typeof $=="function"||typeof p.getSnapshotBeforeUpdate=="function",_=l.pendingProps!==_,K||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(_||B!==b)&&Qc(l,p,c,b),Ll=!1;var j=l.memoizedState;p.state=j,Vu(l,c,p,f),Ko(),B=l.memoizedState,_||j!==B||Ll?(typeof $=="function"&&(Bi(l,u,$,c),B=l.memoizedState),(O=Ll||Io(l,u,O,c,j,B,b))?(K||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(l.flags|=4194308)):(typeof p.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=c,l.memoizedState=B),p.props=c,p.state=B,p.context=b,c=O):(typeof p.componentDidMount=="function"&&(l.flags|=4194308),c=!1)}else{p=l.stateNode,Ud(n,l),b=l.memoizedProps,K=wi(u,b),p.props=K,$=l.pendingProps,j=p.context,B=u.contextType,O=Vo,typeof B=="object"&&B!==null&&(O=tn(B)),_=u.getDerivedStateFromProps,(B=typeof _=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(b!==$||j!==O)&&Qc(l,p,c,O),Ll=!1,j=l.memoizedState,p.state=j,Vu(l,c,p,f),Ko();var Y=l.memoizedState;b!==$||j!==Y||Ll||n!==null&&n.dependencies!==null&&Ar(n.dependencies)?(typeof _=="function"&&(Bi(l,u,_,c),Y=l.memoizedState),(K=Ll||Io(l,u,K,c,j,Y,O)||n!==null&&n.dependencies!==null&&Ar(n.dependencies))?(B||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(c,Y,O),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(c,Y,O)),typeof p.componentDidUpdate=="function"&&(l.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof p.componentDidUpdate!="function"||b===n.memoizedProps&&j===n.memoizedState||(l.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&j===n.memoizedState||(l.flags|=1024),l.memoizedProps=c,l.memoizedState=Y),p.props=c,p.state=Y,p.context=O,c=K):(typeof p.componentDidUpdate!="function"||b===n.memoizedProps&&j===n.memoizedState||(l.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||b===n.memoizedProps&&j===n.memoizedState||(l.flags|=1024),c=!1)}return p=c,Jr(n,l),c=(l.flags&128)!==0,p||c?(p=l.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:p.render(),l.flags|=1,n!==null&&c?(l.child=Xc(l,n.child,null,f),l.child=Xc(l,null,u,f)):an(n,l,u,f),l.memoizedState=p.state,n=l.child):n=kl(n,l,f),n}function ah(n,l,u,c){return Lo(),l.flags|=256,an(n,l,u,c),l.child}var lh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function kv(n){return{baseLanes:n,cachePool:Dd()}}function $v(n,l,u){return n=n!==null?n.childLanes&~u:0,l&&(n|=qa),n}function Wv(n,l,u){var c=l.pendingProps,f=!1,p=(l.flags&128)!==0,b;if((b=p)||(b=n!==null&&n.memoizedState===null?!1:(dt.current&2)!==0),b&&(f=!0,l.flags&=-129),b=(l.flags&32)!==0,l.flags&=-33,n===null){if(Fe){if(f?Yu(l):Jl(),Fe){var _=Pe,O;if(O=_){e:{for(O=_,_=Ca;O.nodeType!==8;){if(!_){_=null;break e}if(O=hl(O.nextSibling),O===null){_=null;break e}}_=O}_!==null?(l.memoizedState={dehydrated:_,treeContext:Cu!==null?{id:cl,overflow:Ut}:null,retryLane:536870912,hydrationErrors:null},O=Wn(18,null,null,0),O.stateNode=_,O.return=l,l.child=O,Yt=l,Pe=null,O=!0):O=!1}O||Hu(l)}if(_=l.memoizedState,_!==null&&(_=_.dehydrated,_!==null))return hf(_)?l.lanes=32:l.lanes=536870912,null;fl(l)}return _=c.children,c=c.fallback,f?(Jl(),f=l.mode,_=ih({mode:"hidden",children:_},f),c=Ra(c,f,u,null),_.return=l,c.return=l,_.sibling=c,l.child=_,f=l.child,f.memoizedState=kv(u),f.childLanes=$v(n,b,u),l.memoizedState=lh,c):(Yu(l),uh(l,_))}if(O=n.memoizedState,O!==null&&(_=O.dehydrated,_!==null)){if(p)l.flags&256?(Yu(l),l.flags&=-257,l=Vi(n,l,u)):l.memoizedState!==null?(Jl(),l.child=n.child,l.flags|=128,l=null):(Jl(),f=c.fallback,_=l.mode,c=ih({mode:"visible",children:c.children},_),f=Ra(f,_,u,null),f.flags|=2,c.return=l,f.return=l,c.sibling=f,l.child=c,Xc(l,n.child,null,u),c=l.child,c.memoizedState=kv(u),c.childLanes=$v(n,b,u),l.memoizedState=lh,l=f);else if(Yu(l),hf(_)){if(b=_.nextSibling&&_.nextSibling.dataset,b)var B=b.dgst;b=B,c=Error(d(419)),c.stack="",c.digest=b,Go({value:c,source:null,stack:null}),l=Vi(n,l,u)}else if($t||Xo(n,l,u,!1),b=(u&n.childLanes)!==0,$t||b){if(b=yt,b!==null&&(c=u&-u,c=(c&42)!==0?1:Pa(c),c=(c&(b.suspendedLanes|u))!==0?0:c,c!==0&&c!==O.retryLane))throw O.retryLane=c,wl(n,c),ga(b,n,c),Ct;_.data==="$?"||Pc(),l=Vi(n,l,u)}else _.data==="$?"?(l.flags|=192,l.child=n.child,l=null):(n=O.treeContext,Pe=hl(_.nextSibling),Yt=l,Fe=!0,xa=null,Ca=!1,n!==null&&(Ua[Fn++]=cl,Ua[Fn++]=Ut,Ua[Fn++]=Cu,cl=n.id,Ut=n.overflow,Cu=l),l=uh(l,c.children),l.flags|=4096);return l}return f?(Jl(),f=c.fallback,_=l.mode,O=n.child,B=O.sibling,c=il(O,{mode:"hidden",children:c.children}),c.subtreeFlags=O.subtreeFlags&65011712,B!==null?f=il(B,f):(f=Ra(f,_,u,null),f.flags|=2),f.return=l,c.return=l,c.sibling=f,l.child=c,c=f,f=l.child,_=n.child.memoizedState,_===null?_=kv(u):(O=_.cachePool,O!==null?(B=Jt._currentValue,O=O.parent!==B?{parent:B,pool:B}:O):O=Dd(),_={baseLanes:_.baseLanes|u,cachePool:O}),f.memoizedState=_,f.childLanes=$v(n,b,u),l.memoizedState=lh,c):(Yu(l),u=n.child,n=u.sibling,u=il(u,{mode:"visible",children:c.children}),u.return=l,u.sibling=null,n!==null&&(b=l.deletions,b===null?(l.deletions=[n],l.flags|=16):b.push(n)),l.child=u,l.memoizedState=null,u)}function uh(n,l){return l=ih({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function ih(n,l){return n=Wn(22,n,null,l),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function Vi(n,l,u){return Xc(l,n.child,null,u),n=uh(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function kr(n,l,u){n.lanes|=l;var c=n.alternate;c!==null&&(c.lanes|=l),_d(n.return,l,u)}function ch(n,l,u,c,f){var p=n.memoizedState;p===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:f}:(p.isBackwards=l,p.rendering=null,p.renderingStartTime=0,p.last=c,p.tail=u,p.tailMode=f)}function oh(n,l,u){var c=l.pendingProps,f=c.revealOrder,p=c.tail;if(an(n,l,c.children,u),c=dt.current,(c&2)!==0)c=c&1|2,l.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&kr(n,u,l);else if(n.tag===19)kr(n,u,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}c&=1}switch(ke(dt,c),f){case"forwards":for(u=l.child,f=null;u!==null;)n=u.alternate,n!==null&&Xr(n)===null&&(f=u),u=u.sibling;u=f,u===null?(f=l.child,l.child=null):(f=u.sibling,u.sibling=null),ch(l,!1,f,u,p);break;case"backwards":for(u=null,f=l.child,l.child=null;f!==null;){if(n=f.alternate,n!==null&&Xr(n)===null){l.child=f;break}n=f.sibling,f.sibling=u,u=f,f=n}ch(l,!0,u,null,p);break;case"together":ch(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function kl(n,l,u){if(n!==null&&(l.dependencies=n.dependencies),Qu|=l.lanes,(u&l.childLanes)===0)if(n!==null){if(Xo(n,l,u,!1),(u&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(d(153));if(l.child!==null){for(n=l.child,u=il(n,n.pendingProps),l.child=u,u.return=l;n.sibling!==null;)n=n.sibling,u=u.sibling=il(n,n.pendingProps),u.return=l;u.sibling=null}return l.child}function sh(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&Ar(n)))}function Qg(n,l,u){switch(l.tag){case 3:Ws(l,l.stateNode.containerInfo),wu(l,Jt,n.memoizedState.cache),Lo();break;case 27:case 5:ri(l);break;case 4:Ws(l,l.stateNode.containerInfo);break;case 10:wu(l,l.type,l.memoizedProps.value);break;case 13:var c=l.memoizedState;if(c!==null)return c.dehydrated!==null?(Yu(l),l.flags|=128,null):(u&l.child.childLanes)!==0?Wv(n,l,u):(Yu(l),n=kl(n,l,u),n!==null?n.sibling:null);Yu(l);break;case 19:var f=(n.flags&128)!==0;if(c=(u&l.childLanes)!==0,c||(Xo(n,l,u,!1),c=(u&l.childLanes)!==0),f){if(c)return oh(n,l,u);l.flags|=128}if(f=l.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),ke(dt,dt.current),c)break;return null;case 22:case 23:return l.lanes=0,eh(n,l,u);case 24:wu(l,Jt,n.memoizedState.cache)}return kl(n,l,u)}function Zg(n,l,u){if(n!==null)if(n.memoizedProps!==l.pendingProps)$t=!0;else{if(!sh(n,u)&&(l.flags&128)===0)return $t=!1,Qg(n,l,u);$t=(n.flags&131072)!==0}else $t=!1,Fe&&(l.flags&1048576)!==0&&Sd(l,qo,l.index);switch(l.lanes=0,l.tag){case 16:e:{n=l.pendingProps;var c=l.elementType,f=c._init;if(c=f(c._payload),l.type=c,typeof c=="function")Sr(c)?(n=wi(c,n),l.tag=1,l=nh(null,l,c,n,u)):(l.tag=0,l=th(null,l,c,n,u));else{if(c!=null){if(f=c.$$typeof,f===Ze){l.tag=11,l=Xg(null,l,c,n,u);break e}else if(f===We){l.tag=14,l=Lu(null,l,c,n,u);break e}}throw l=Ia(c)||c,Error(d(306,l,""))}}return l;case 0:return th(n,l,l.type,l.pendingProps,u);case 1:return c=l.type,f=wi(c,l.pendingProps),nh(n,l,c,f,u);case 3:e:{if(Ws(l,l.stateNode.containerInfo),n===null)throw Error(d(387));c=l.pendingProps;var p=l.memoizedState;f=p.element,Ud(n,l),Vu(l,c,null,u);var b=l.memoizedState;if(c=b.cache,wu(l,Jt,c),c!==p.cache&&gv(l,[Jt],u,!0),Ko(),c=b.element,p.isDehydrated)if(p={element:c,isDehydrated:!1,cache:b.cache},l.updateQueue.baseState=p,l.memoizedState=p,l.flags&256){l=ah(n,l,c,u);break e}else if(c!==f){f=ha(Error(d(424)),l),Go(f),l=ah(n,l,c,u);break e}else{switch(n=l.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Pe=hl(n.firstChild),Yt=l,Fe=!0,xa=null,Ca=!0,u=Zl(l,null,c,u),l.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(Lo(),c===f){l=kl(n,l,u);break e}an(n,l,c,u)}l=l.child}return l;case 26:return Jr(n,l),n===null?(u=c0(l.type,null,l.pendingProps,null))?l.memoizedState=u:Fe||(u=l.type,n=l.pendingProps,c=La(at.current).createElement(u),c[en]=l,c[Vn]=n,Ee(c,u,n),Kt(c),l.stateNode=c):l.memoizedState=c0(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return ri(l),n===null&&Fe&&(c=l.stateNode=le(l.type,l.pendingProps,at.current),Yt=l,Ca=!0,f=Pe,Ki(l.type)?(Ji=f,Pe=hl(c.firstChild)):Pe=f),an(n,l,l.pendingProps.children,u),Jr(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&Fe&&((f=c=Pe)&&(c=gs(c,l.type,l.pendingProps,Ca),c!==null?(l.stateNode=c,Yt=l,Pe=hl(c.firstChild),Ca=!1,f=!0):f=!1),f||Hu(l)),ri(l),f=l.type,p=l.pendingProps,b=n!==null?n.memoizedProps:null,c=p.children,au(f,p)?c=null:b!==null&&au(f,b)&&(l.flags|=32),l.memoizedState!==null&&(f=Hd(n,l,Cg,null,null,u),ca._currentValue=f),Jr(n,l),an(n,l,c,u),l.child;case 6:return n===null&&Fe&&((n=u=Pe)&&(u=tS(u,l.pendingProps,Ca),u!==null?(l.stateNode=u,Yt=l,Pe=null,n=!0):n=!1),n||Hu(l)),null;case 13:return Wv(n,l,u);case 4:return Ws(l,l.stateNode.containerInfo),c=l.pendingProps,n===null?l.child=Xc(l,null,c,u):an(n,l,c,u),l.child;case 11:return Xg(n,l,l.type,l.pendingProps,u);case 7:return an(n,l,l.pendingProps,u),l.child;case 8:return an(n,l,l.pendingProps.children,u),l.child;case 12:return an(n,l,l.pendingProps.children,u),l.child;case 10:return c=l.pendingProps,wu(l,l.type,c.value),an(n,l,c.children,u),l.child;case 9:return f=l.type._context,c=l.pendingProps.children,Ni(l),f=tn(f),c=c(f),l.flags|=1,an(n,l,c,u),l.child;case 14:return Lu(n,l,l.type,l.pendingProps,u);case 15:return Zc(n,l,l.type,l.pendingProps,u);case 19:return oh(n,l,u);case 31:return c=l.pendingProps,u=l.mode,c={mode:c.mode,children:c.children},n===null?(u=ih(c,u),u.ref=l.ref,l.child=u,u.return=l,l=u):(u=il(n.child,c),u.ref=l.ref,l.child=u,u.return=l,l=u),l;case 22:return eh(n,l,u);case 24:return Ni(l),c=tn(Jt),n===null?(f=Mr(),f===null&&(f=yt,p=Zo(),f.pooledCache=p,p.refCount++,p!==null&&(f.pooledCacheLanes|=u),f=p),l.memoizedState={parent:c,cache:f},Rd(l),wu(l,Jt,f)):((n.lanes&u)!==0&&(Ud(n,l),Vu(l,null,null,u),Ko()),f=n.memoizedState,p=l.memoizedState,f.parent!==c?(f={parent:c,cache:c},l.memoizedState=f,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=f),wu(l,Jt,c)):(c=p.cache,wu(l,Jt,c),c!==f.cache&&gv(l,[Jt],u,!0))),an(n,l,l.pendingProps.children,u),l.child;case 29:throw l.pendingProps}throw Error(d(156,l.tag))}function $l(n){n.flags|=4}function es(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Cy(l)){if(l=ya.current,l!==null&&((Ge&4194048)===Ge?Mn!==null:(Ge&62914560)!==Ge&&(Ge&536870912)===0||l!==Mn))throw Hc=zd,Md;n.flags|=8192}}function $r(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?fc():536870912,n.lanes|=l,us|=l)}function ts(n,l){if(!Fe)switch(n.tailMode){case"hidden":l=n.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?n.tail=null:u.sibling=null;break;case"collapsed":u=n.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function be(n){var l=n.alternate!==null&&n.alternate.child===n.child,u=0,c=0;if(l)for(var f=n.child;f!==null;)u|=f.lanes|f.childLanes,c|=f.subtreeFlags&65011712,c|=f.flags&65011712,f.return=n,f=f.sibling;else for(f=n.child;f!==null;)u|=f.lanes|f.childLanes,c|=f.subtreeFlags,c|=f.flags,f.return=n,f=f.sibling;return n.subtreeFlags|=c,n.childLanes=u,l}function Fv(n,l,u){var c=l.pendingProps;switch(Vl(l),l.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return be(l),null;case 1:return be(l),null;case 3:return u=l.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),l.memoizedState.cache!==c&&(l.flags|=2048),jl(Jt),Ml(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(n===null||n.child===null)&&(Yo(l)?$l(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,mv())),be(l),null;case 26:return u=l.memoizedState,n===null?($l(l),u!==null?(be(l),es(l,u)):(be(l),l.flags&=-16777217)):u?u!==n.memoizedState?($l(l),be(l),es(l,u)):(be(l),l.flags&=-16777217):(n.memoizedProps!==c&&$l(l),be(l),l.flags&=-16777217),null;case 27:Fs(l),u=at.current;var f=l.type;if(n!==null&&l.stateNode!=null)n.memoizedProps!==c&&$l(l);else{if(!c){if(l.stateNode===null)throw Error(d(166));return be(l),null}n=ot.current,Yo(l)?Er(l):(n=le(f,c,u),l.stateNode=n,$l(l))}return be(l),null;case 5:if(Fs(l),u=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==c&&$l(l);else{if(!c){if(l.stateNode===null)throw Error(d(166));return be(l),null}if(n=ot.current,Yo(l))Er(l);else{switch(f=La(at.current),n){case 1:n=f.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=f.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=f.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=f.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof c.is=="string"?f.createElement("select",{is:c.is}):f.createElement("select"),c.multiple?n.multiple=!0:c.size&&(n.size=c.size);break;default:n=typeof c.is=="string"?f.createElement(u,{is:c.is}):f.createElement(u)}}n[en]=l,n[Vn]=c;e:for(f=l.child;f!==null;){if(f.tag===5||f.tag===6)n.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break e;for(;f.sibling===null;){if(f.return===null||f.return===l)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}l.stateNode=n;e:switch(Ee(n,u,c),u){case"button":case"input":case"select":case"textarea":n=!!c.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&$l(l)}}return be(l),l.flags&=-16777217,null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==c&&$l(l);else{if(typeof c!="string"&&l.stateNode===null)throw Error(d(166));if(n=at.current,Yo(l)){if(n=l.stateNode,u=l.memoizedProps,c=null,f=Yt,f!==null)switch(f.tag){case 27:case 5:c=f.memoizedProps}n[en]=l,n=!!(n.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||Ny(n.nodeValue,u)),n||Hu(l)}else n=La(n).createTextNode(c),n[en]=l,l.stateNode=n}return be(l),null;case 13:if(c=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(f=Yo(l),c!==null&&c.dehydrated!==null){if(n===null){if(!f)throw Error(d(318));if(f=l.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(d(317));f[en]=l}else Lo(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;be(l),f=!1}else f=mv(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=f),f=!0;if(!f)return l.flags&256?(fl(l),l):(fl(l),null)}if(fl(l),(l.flags&128)!==0)return l.lanes=u,l;if(u=c!==null,n=n!==null&&n.memoizedState!==null,u){c=l.child,f=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(f=c.alternate.memoizedState.cachePool.pool);var p=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(p=c.memoizedState.cachePool.pool),p!==f&&(c.flags|=2048)}return u!==n&&u&&(l.child.flags|=8192),$r(l,l.updateQueue),be(l),null;case 4:return Ml(),n===null&&My(l.stateNode.containerInfo),be(l),null;case 10:return jl(l.type),be(l),null;case 19:if(ye(dt),f=l.memoizedState,f===null)return be(l),null;if(c=(l.flags&128)!==0,p=f.rendering,p===null)if(c)ts(f,!1);else{if(wt!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(p=Xr(n),p!==null){for(l.flags|=128,ts(f,!1),n=p.updateQueue,l.updateQueue=n,$r(l,n),l.subtreeFlags=0,n=u,u=l.child;u!==null;)Ve(u,n),u=u.sibling;return ke(dt,dt.current&1|2),l.child}n=n.sibling}f.tail!==null&&sa()>gh&&(l.flags|=128,c=!0,ts(f,!1),l.lanes=4194304)}else{if(!c)if(n=Xr(p),n!==null){if(l.flags|=128,c=!0,n=n.updateQueue,l.updateQueue=n,$r(l,n),ts(f,!0),f.tail===null&&f.tailMode==="hidden"&&!p.alternate&&!Fe)return be(l),null}else 2*sa()-f.renderingStartTime>gh&&u!==536870912&&(l.flags|=128,c=!0,ts(f,!1),l.lanes=4194304);f.isBackwards?(p.sibling=l.child,l.child=p):(n=f.last,n!==null?n.sibling=p:l.child=p,f.last=p)}return f.tail!==null?(l=f.tail,f.rendering=l,f.tail=l.sibling,f.renderingStartTime=sa(),l.sibling=null,n=dt.current,ke(dt,c?n&1|2:n&1),l):(be(l),null);case 22:case 23:return fl(l),ko(),c=l.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(l.flags|=8192):c&&(l.flags|=8192),c?(u&536870912)!==0&&(l.flags&128)===0&&(be(l),l.subtreeFlags&6&&(l.flags|=8192)):be(l),u=l.updateQueue,u!==null&&$r(l,u.retryQueue),u=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==u&&(l.flags|=2048),n!==null&&ye(Yl),null;case 24:return u=null,n!==null&&(u=n.memoizedState.cache),l.memoizedState.cache!==u&&(l.flags|=2048),jl(Jt),be(l),null;case 25:return null;case 30:return null}throw Error(d(156,l.tag))}function Jb(n,l){switch(Vl(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return jl(Jt),Ml(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return Fs(l),null;case 13:if(fl(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(d(340));Lo()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return ye(dt),null;case 4:return Ml(),null;case 10:return jl(l.type),null;case 22:case 23:return fl(l),ko(),n!==null&&ye(Yl),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return jl(Jt),null;case 25:return null;default:return null}}function Iv(n,l){switch(Vl(l),l.tag){case 3:jl(Jt),Ml();break;case 26:case 27:case 5:Fs(l);break;case 4:Ml();break;case 13:fl(l);break;case 19:ye(dt);break;case 10:jl(l.type);break;case 22:case 23:fl(l),ko(),n!==null&&ye(Yl);break;case 24:jl(Jt)}}function Wr(n,l){try{var u=l.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var f=c.next;u=f;do{if((u.tag&n)===n){c=void 0;var p=u.create,b=u.inst;c=p(),b.destroy=c}u=u.next}while(u!==f)}}catch(_){st(l,l.return,_)}}function ji(n,l,u){try{var c=l.updateQueue,f=c!==null?c.lastEffect:null;if(f!==null){var p=f.next;c=p;do{if((c.tag&n)===n){var b=c.inst,_=b.destroy;if(_!==void 0){b.destroy=void 0,f=l;var O=u,B=_;try{B()}catch(K){st(f,O,K)}}}c=c.next}while(c!==p)}}catch(K){st(l,l.return,K)}}function rh(n){var l=n.updateQueue;if(l!==null){var u=n.stateNode;try{Rr(l,u)}catch(c){st(n,n.return,c)}}}function Pv(n,l,u){u.props=wi(n.type,n.memoizedProps),u.state=n.memoizedState;try{u.componentWillUnmount()}catch(c){st(n,l,c)}}function ns(n,l){try{var u=n.ref;if(u!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof u=="function"?n.refCleanup=u(c):u.current=c}}catch(f){st(n,l,f)}}function dl(n,l){var u=n.ref,c=n.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(f){st(n,l,f)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(f){st(n,l,f)}else u.current=null}function as(n){var l=n.type,u=n.memoizedProps,c=n.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(f){st(n,n.return,f)}}function ey(n,l,u){try{var c=n.stateNode;Ib(c,n.type,u,l),c[Vn]=l}catch(f){st(n,n.return,f)}}function Kg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Ki(n.type)||n.tag===4}function Va(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Kg(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Ki(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Jc(n,l,u){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(n,l):(l=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,l.appendChild(n),u=u._reactRootContainer,u!=null||l.onclick!==null||(l.onclick=Rh));else if(c!==4&&(c===27&&Ki(n.type)&&(u=n.stateNode,l=null),n=n.child,n!==null))for(Jc(n,l,u),n=n.sibling;n!==null;)Jc(n,l,u),n=n.sibling}function fh(n,l,u){var c=n.tag;if(c===5||c===6)n=n.stateNode,l?u.insertBefore(n,l):u.appendChild(n);else if(c!==4&&(c===27&&Ki(n.type)&&(u=n.stateNode),n=n.child,n!==null))for(fh(n,l,u),n=n.sibling;n!==null;)fh(n,l,u),n=n.sibling}function dh(n){var l=n.stateNode,u=n.memoizedProps;try{for(var c=n.type,f=l.attributes;f.length;)l.removeAttributeNode(f[0]);Ee(l,c,u),l[en]=n,l[Vn]=u}catch(p){st(n,n.return,p)}}var Wl=!1,Ht=!1,hh=!1,ph=typeof WeakSet=="function"?WeakSet:Set,Wt=null;function ty(n,l){if(n=n.containerInfo,rf=yf,n=rv(n),gr(n)){if("selectionStart"in n)var u={start:n.selectionStart,end:n.selectionEnd};else e:{u=(u=n.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var f=c.anchorOffset,p=c.focusNode;c=c.focusOffset;try{u.nodeType,p.nodeType}catch{u=null;break e}var b=0,_=-1,O=-1,B=0,K=0,$=n,j=null;t:for(;;){for(var Y;$!==u||f!==0&&$.nodeType!==3||(_=b+f),$!==p||c!==0&&$.nodeType!==3||(O=b+c),$.nodeType===3&&(b+=$.nodeValue.length),(Y=$.firstChild)!==null;)j=$,$=Y;for(;;){if($===n)break t;if(j===u&&++B===f&&(_=b),j===p&&++K===c&&(O=b),(Y=$.nextSibling)!==null)break;$=j,j=$.parentNode}$=Y}u=_===-1||O===-1?null:{start:_,end:O}}else u=null}u=u||{start:0,end:0}}else u=null;for(ff={focusedElem:n,selectionRange:u},yf=!1,Wt=l;Wt!==null;)if(l=Wt,n=l.child,(l.subtreeFlags&1024)!==0&&n!==null)n.return=l,Wt=n;else for(;Wt!==null;){switch(l=Wt,p=l.alternate,n=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&p!==null){n=void 0,u=l,f=p.memoizedProps,p=p.memoizedState,c=u.stateNode;try{var he=wi(u.type,f,u.elementType===u.type);n=c.getSnapshotBeforeUpdate(he,p),c.__reactInternalSnapshotBeforeUpdate=n}catch(pe){st(u,u.return,pe)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,u=n.nodeType,u===9)df(n);else if(u===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":df(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(d(163))}if(n=l.sibling,n!==null){n.return=l.return,Wt=n;break}Wt=l.return}}function ny(n,l,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:Il(n,u),c&4&&Wr(5,u);break;case 1:if(Il(n,u),c&4)if(n=u.stateNode,l===null)try{n.componentDidMount()}catch(b){st(u,u.return,b)}else{var f=wi(u.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(f,l,n.__reactInternalSnapshotBeforeUpdate)}catch(b){st(u,u.return,b)}}c&64&&rh(u),c&512&&ns(u,u.return);break;case 3:if(Il(n,u),c&64&&(n=u.updateQueue,n!==null)){if(l=null,u.child!==null)switch(u.child.tag){case 27:case 5:l=u.child.stateNode;break;case 1:l=u.child.stateNode}try{Rr(n,l)}catch(b){st(u,u.return,b)}}break;case 27:l===null&&c&4&&dh(u);case 26:case 5:Il(n,u),l===null&&c&4&&as(u),c&512&&ns(u,u.return);break;case 12:Il(n,u);break;case 13:Il(n,u),c&4&&vh(n,u),c&64&&(n=u.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(u=kb.bind(null,u),nS(n,u))));break;case 22:if(c=u.memoizedState!==null||Wl,!c){l=l!==null&&l.memoizedState!==null||Ht,f=Wl;var p=Ht;Wl=c,(Ht=l)&&!p?qi(n,u,(u.subtreeFlags&8772)!==0):Il(n,u),Wl=f,Ht=p}break;case 30:break;default:Il(n,u)}}function ay(n){var l=n.alternate;l!==null&&(n.alternate=null,ay(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&nr(l)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var At=null,hn=!1;function Fl(n,l,u){for(u=u.child;u!==null;)Ye(n,l,u),u=u.sibling}function Ye(n,l,u){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(Ao,u)}catch{}switch(u.tag){case 26:Ht||dl(u,l),Fl(n,l,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Ht||dl(u,l);var c=At,f=hn;Ki(u.type)&&(At=u.stateNode,hn=!1),Fl(n,l,u),ua(u.stateNode),At=c,hn=f;break;case 5:Ht||dl(u,l);case 6:if(c=At,f=hn,At=null,Fl(n,l,u),At=c,hn=f,At!==null)if(hn)try{(At.nodeType===9?At.body:At.nodeName==="HTML"?At.ownerDocument.body:At).removeChild(u.stateNode)}catch(p){st(u,l,p)}else try{At.removeChild(u.stateNode)}catch(p){st(u,l,p)}break;case 18:At!==null&&(hn?(n=At,xh(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,u.stateNode),iu(n)):xh(At,u.stateNode));break;case 4:c=At,f=hn,At=u.stateNode.containerInfo,hn=!0,Fl(n,l,u),At=c,hn=f;break;case 0:case 11:case 14:case 15:Ht||ji(2,u,l),Ht||ji(4,u,l),Fl(n,l,u);break;case 1:Ht||(dl(u,l),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Pv(u,l,c)),Fl(n,l,u);break;case 21:Fl(n,l,u);break;case 22:Ht=(c=Ht)||u.memoizedState!==null,Fl(n,l,u),Ht=c;break;default:Fl(n,l,u)}}function vh(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{iu(n)}catch(u){st(l,l.return,u)}}function ly(n){switch(n.tag){case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new ph),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new ph),l;default:throw Error(d(435,n.tag))}}function yh(n,l){var u=ly(n);l.forEach(function(c){var f=$b.bind(null,n,c);u.has(c)||(u.add(c),c.then(f,f))})}function Yn(n,l){var u=l.deletions;if(u!==null)for(var c=0;c<u.length;c++){var f=u[c],p=n,b=l,_=b;e:for(;_!==null;){switch(_.tag){case 27:if(Ki(_.type)){At=_.stateNode,hn=!1;break e}break;case 5:At=_.stateNode,hn=!1;break e;case 3:case 4:At=_.stateNode.containerInfo,hn=!0;break e}_=_.return}if(At===null)throw Error(d(160));Ye(p,b,f),At=null,hn=!1,p=f.alternate,p!==null&&(p.return=null),f.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)Fr(l,n),l=l.sibling}var Ln=null;function Fr(n,l){var u=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Yn(l,n),ln(n),c&4&&(ji(3,n,n.return),Wr(3,n),ji(5,n,n.return));break;case 1:Yn(l,n),ln(n),c&512&&(Ht||u===null||dl(u,u.return)),c&64&&Wl&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(u=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var f=Ln;if(Yn(l,n),ln(n),c&512&&(Ht||u===null||dl(u,u.return)),c&4){var p=u!==null?u.memoizedState:null;if(c=n.memoizedState,u===null)if(c===null)if(n.stateNode===null){e:{c=n.type,u=n.memoizedProps,f=f.ownerDocument||f;t:switch(c){case"title":p=f.getElementsByTagName("title")[0],(!p||p[oe]||p[en]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=f.createElement(c),f.head.insertBefore(p,f.querySelector("head > title"))),Ee(p,c,u),p[en]=n,Kt(p),c=p;break e;case"link":var b=Uy("link","href",f).get(c+(u.href||""));if(b){for(var _=0;_<b.length;_++)if(p=b[_],p.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&p.getAttribute("rel")===(u.rel==null?null:u.rel)&&p.getAttribute("title")===(u.title==null?null:u.title)&&p.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){b.splice(_,1);break t}}p=f.createElement(c),Ee(p,c,u),f.head.appendChild(p);break;case"meta":if(b=Uy("meta","content",f).get(c+(u.content||""))){for(_=0;_<b.length;_++)if(p=b[_],p.getAttribute("content")===(u.content==null?null:""+u.content)&&p.getAttribute("name")===(u.name==null?null:u.name)&&p.getAttribute("property")===(u.property==null?null:u.property)&&p.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&p.getAttribute("charset")===(u.charSet==null?null:u.charSet)){b.splice(_,1);break t}}p=f.createElement(c),Ee(p,c,u),f.head.appendChild(p);break;default:throw Error(d(468,c))}p[en]=n,Kt(p),c=p}n.stateNode=c}else xy(f,n.type,n.stateNode);else n.stateNode=s0(f,c,n.memoizedProps);else p!==c?(p===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):p.count--,c===null?xy(f,n.type,n.stateNode):s0(f,c,n.memoizedProps)):c===null&&n.stateNode!==null&&ey(n,n.memoizedProps,u.memoizedProps)}break;case 27:Yn(l,n),ln(n),c&512&&(Ht||u===null||dl(u,u.return)),u!==null&&c&4&&ey(n,n.memoizedProps,u.memoizedProps);break;case 5:if(Yn(l,n),ln(n),c&512&&(Ht||u===null||dl(u,u.return)),n.flags&32){f=n.stateNode;try{zo(f,"")}catch(Y){st(n,n.return,Y)}}c&4&&n.stateNode!=null&&(f=n.memoizedProps,ey(n,f,u!==null?u.memoizedProps:f)),c&1024&&(hh=!0);break;case 6:if(Yn(l,n),ln(n),c&4){if(n.stateNode===null)throw Error(d(162));c=n.memoizedProps,u=n.stateNode;try{u.nodeValue=c}catch(Y){st(n,n.return,Y)}}break;case 3:if(Wi=null,f=Ln,Ln=Ch(l.containerInfo),Yn(l,n),Ln=f,ln(n),c&4&&u!==null&&u.memoizedState.isDehydrated)try{iu(l.containerInfo)}catch(Y){st(n,n.return,Y)}hh&&(hh=!1,uy(n));break;case 4:c=Ln,Ln=Ch(n.stateNode.containerInfo),Yn(l,n),ln(n),Ln=c;break;case 12:Yn(l,n),ln(n);break;case 13:Yn(l,n),ln(n),n.child.flags&8192&&n.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(hy=sa()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,yh(n,c)));break;case 22:f=n.memoizedState!==null;var O=u!==null&&u.memoizedState!==null,B=Wl,K=Ht;if(Wl=B||f,Ht=K||O,Yn(l,n),Ht=K,Wl=B,ln(n),c&8192)e:for(l=n.stateNode,l._visibility=f?l._visibility&-2:l._visibility|1,f&&(u===null||O||Wl||Ht||Ot(n)),u=null,l=n;;){if(l.tag===5||l.tag===26){if(u===null){O=u=l;try{if(p=O.stateNode,f)b=p.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{_=O.stateNode;var $=O.memoizedProps.style,j=$!=null&&$.hasOwnProperty("display")?$.display:null;_.style.display=j==null||typeof j=="boolean"?"":(""+j).trim()}}catch(Y){st(O,O.return,Y)}}}else if(l.tag===6){if(u===null){O=l;try{O.stateNode.nodeValue=f?"":O.memoizedProps}catch(Y){st(O,O.return,Y)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===n)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;u===l&&(u=null),l=l.return}u===l&&(u=null),l.sibling.return=l.return,l=l.sibling}c&4&&(c=n.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,yh(n,u))));break;case 19:Yn(l,n),ln(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,yh(n,c)));break;case 30:break;case 21:break;default:Yn(l,n),ln(n)}}function ln(n){var l=n.flags;if(l&2){try{for(var u,c=n.return;c!==null;){if(Kg(c)){u=c;break}c=c.return}if(u==null)throw Error(d(160));switch(u.tag){case 27:var f=u.stateNode,p=Va(n);fh(n,p,f);break;case 5:var b=u.stateNode;u.flags&32&&(zo(b,""),u.flags&=-33);var _=Va(n);fh(n,_,b);break;case 3:case 4:var O=u.stateNode.containerInfo,B=Va(n);Jc(n,B,O);break;default:throw Error(d(161))}}catch(K){st(n,n.return,K)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function uy(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;uy(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function Il(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)ny(n,l.alternate,l),l=l.sibling}function Ot(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:ji(4,l,l.return),Ot(l);break;case 1:dl(l,l.return);var u=l.stateNode;typeof u.componentWillUnmount=="function"&&Pv(l,l.return,u),Ot(l);break;case 27:ua(l.stateNode);case 26:case 5:dl(l,l.return),Ot(l);break;case 22:l.memoizedState===null&&Ot(l);break;case 30:Ot(l);break;default:Ot(l)}n=n.sibling}}function qi(n,l,u){for(u=u&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var c=l.alternate,f=n,p=l,b=p.flags;switch(p.tag){case 0:case 11:case 15:qi(f,p,u),Wr(4,p);break;case 1:if(qi(f,p,u),c=p,f=c.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(B){st(c,c.return,B)}if(c=p,f=c.updateQueue,f!==null){var _=c.stateNode;try{var O=f.shared.hiddenCallbacks;if(O!==null)for(f.shared.hiddenCallbacks=null,f=0;f<O.length;f++)xd(O[f],_)}catch(B){st(c,c.return,B)}}u&&b&64&&rh(p),ns(p,p.return);break;case 27:dh(p);case 26:case 5:qi(f,p,u),u&&c===null&&b&4&&as(p),ns(p,p.return);break;case 12:qi(f,p,u);break;case 13:qi(f,p,u),u&&b&4&&vh(f,p);break;case 22:p.memoizedState===null&&qi(f,p,u),ns(p,p.return);break;case 30:break;default:qi(f,p,u)}l=l.sibling}}function ja(n,l){var u=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==u&&(n!=null&&n.refCount++,u!=null&&ql(u))}function mh(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&ql(n))}function pn(n,l,u,c){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)iy(n,l,u,c),l=l.sibling}function iy(n,l,u,c){var f=l.flags;switch(l.tag){case 0:case 11:case 15:pn(n,l,u,c),f&2048&&Wr(9,l);break;case 1:pn(n,l,u,c);break;case 3:pn(n,l,u,c),f&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&ql(n)));break;case 12:if(f&2048){pn(n,l,u,c),n=l.stateNode;try{var p=l.memoizedProps,b=p.id,_=p.onPostCommit;typeof _=="function"&&_(b,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(O){st(l,l.return,O)}}else pn(n,l,u,c);break;case 13:pn(n,l,u,c);break;case 23:break;case 22:p=l.stateNode,b=l.alternate,l.memoizedState!==null?p._visibility&2?pn(n,l,u,c):et(n,l):p._visibility&2?pn(n,l,u,c):(p._visibility|=2,Gu(n,l,u,c,(l.subtreeFlags&10256)!==0)),f&2048&&ja(b,l);break;case 24:pn(n,l,u,c),f&2048&&mh(l.alternate,l);break;default:pn(n,l,u,c)}}function Gu(n,l,u,c,f){for(f=f&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var p=n,b=l,_=u,O=c,B=b.flags;switch(b.tag){case 0:case 11:case 15:Gu(p,b,_,O,f),Wr(8,b);break;case 23:break;case 22:var K=b.stateNode;b.memoizedState!==null?K._visibility&2?Gu(p,b,_,O,f):et(p,b):(K._visibility|=2,Gu(p,b,_,O,f)),f&&B&2048&&ja(b.alternate,b);break;case 24:Gu(p,b,_,O,f),f&&B&2048&&mh(b.alternate,b);break;default:Gu(p,b,_,O,f)}l=l.sibling}}function et(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var u=n,c=l,f=c.flags;switch(c.tag){case 22:et(u,c),f&2048&&ja(c.alternate,c);break;case 24:et(u,c),f&2048&&mh(c.alternate,c);break;default:et(u,c)}l=l.sibling}}var kc=8192;function Bt(n){if(n.subtreeFlags&kc)for(n=n.child;n!==null;)Jg(n),n=n.sibling}function Jg(n){switch(n.tag){case 26:Bt(n),n.flags&kc&&n.memoizedState!==null&&d0(Ln,n.memoizedState,n.memoizedProps);break;case 5:Bt(n);break;case 3:case 4:var l=Ln;Ln=Ch(n.stateNode.containerInfo),Bt(n),Ln=l;break;case 22:n.memoizedState===null&&(l=n.alternate,l!==null&&l.memoizedState!==null?(l=kc,kc=16777216,Bt(n),kc=l):Bt(n));break;default:Bt(n)}}function cy(n){var l=n.alternate;if(l!==null&&(n=l.child,n!==null)){l.child=null;do l=n.sibling,n.sibling=null,n=l;while(n!==null)}}function $c(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var u=0;u<l.length;u++){var c=l[u];Wt=c,sy(c,n)}cy(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)oy(n),n=n.sibling}function oy(n){switch(n.tag){case 0:case 11:case 15:$c(n),n.flags&2048&&ji(9,n,n.return);break;case 3:$c(n);break;case 12:$c(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Gn(n)):$c(n);break;default:$c(n)}}function Gn(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var u=0;u<l.length;u++){var c=l[u];Wt=c,sy(c,n)}cy(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:ji(8,l,l.return),Gn(l);break;case 22:u=l.stateNode,u._visibility&2&&(u._visibility&=-3,Gn(l));break;default:Gn(l)}n=n.sibling}}function sy(n,l){for(;Wt!==null;){var u=Wt;switch(u.tag){case 0:case 11:case 15:ji(8,u,l);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:ql(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,Wt=c;else e:for(u=n;Wt!==null;){c=Wt;var f=c.sibling,p=c.return;if(ay(c),c===u){Wt=null;break e}if(f!==null){f.return=p,Wt=f;break e}Wt=p}}}var ry={getCacheForType:function(n){var l=tn(Jt),u=l.data.get(n);return u===void 0&&(u=n(),l.data.set(n,u)),u}},kg=typeof WeakMap=="function"?WeakMap:Map,ut=0,yt=null,Le=null,Ge=0,ct=0,na=null,Pl=!1,ls=!1,fy=!1,Xu=0,wt=0,Qu=0,Wc=0,eu=0,qa=0,us=0,is=null,aa=null,dy=!1,hy=0,gh=1/0,cs=null,Yi=null,vn=0,tu=null,os=null,yn=0,bh=0,Sh=null,py=null,ss=0,vy=null;function ma(){if((ut&2)!==0&&Ge!==0)return Ge&-Ge;if(x.T!==null){var n=Ha;return n!==0?n:eo()}return og()}function yy(){qa===0&&(qa=(Ge&536870912)===0||Fe?di():536870912);var n=ya.current;return n!==null&&(n.flags|=32),qa}function ga(n,l,u){(n===yt&&(ct===2||ct===9)||n.cancelPendingCommit!==null)&&(nu(n,0),Zu(n,Ge,qa,!1)),dc(n,u),((ut&2)===0||n!==yt)&&(n===yt&&((ut&2)===0&&(Wc|=u),wt===4&&Zu(n,Ge,qa,!1)),la(n))}function rs(n,l,u){if((ut&6)!==0)throw Error(d(327));var c=!u&&(l&124)===0&&(l&n.expiredLanes)===0||zl(n,l),f=c?gy(n,l):_h(n,l,!0),p=c;do{if(f===0){ls&&!c&&Zu(n,l,0,!1);break}else{if(u=n.current.alternate,p&&!$g(u)){f=_h(n,l,!1),p=!1;continue}if(f===2){if(p=l,n.errorRecoveryDisabledLanes&p)var b=0;else b=n.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){l=b;e:{var _=n;f=is;var O=_.current.memoizedState.isDehydrated;if(O&&(nu(_,b).flags|=256),b=_h(_,b,!1),b!==2){if(fy&&!O){_.errorRecoveryDisabledLanes|=p,Wc|=p,f=4;break e}p=aa,aa=f,p!==null&&(aa===null?aa=p:aa.push.apply(aa,p))}f=b}if(p=!1,f!==2)continue}}if(f===1){nu(n,0),Zu(n,l,0,!0);break}e:{switch(c=n,p=f,p){case 0:case 1:throw Error(d(345));case 4:if((l&4194048)!==l)break;case 6:Zu(c,l,qa,!Pl);break e;case 2:aa=null;break;case 3:case 5:break;default:throw Error(d(329))}if((l&62914560)===l&&(f=hy+300-sa(),10<f)){if(Zu(c,l,qa,!Pl),fi(c,0,!0)!==0)break e;c.timeoutHandle=Uh(Ir.bind(null,c,u,aa,cs,dy,l,qa,Wc,us,Pl,p,2,-0,0),f);break e}Ir(c,u,aa,cs,dy,l,qa,Wc,us,Pl,p,0,-0,0)}}break}while(!0);la(n)}function Ir(n,l,u,c,f,p,b,_,O,B,K,$,j,Y){if(n.timeoutHandle=-1,$=l.subtreeFlags,($&8192||($&16785408)===16785408)&&(Es={stylesheets:null,count:0,unsuspend:f0},Jg(l),$=Hy(),$!==null)){n.cancelPendingCommit=$(Ig.bind(null,n,l,p,u,c,f,b,_,O,K,1,j,Y)),Zu(n,p,b,!B);return}Ig(n,l,p,u,c,f,b,_,O)}function $g(n){for(var l=n;;){var u=l.tag;if((u===0||u===11||u===15)&&l.flags&16384&&(u=l.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var f=u[c],p=f.getSnapshot;f=f.value;try{if(!dn(p(),f))return!1}catch{return!1}}if(u=l.child,l.subtreeFlags&16384&&u!==null)u.return=l,l=u;else{if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Zu(n,l,u,c){l&=~eu,l&=~Wc,n.suspendedLanes|=l,n.pingedLanes&=~l,c&&(n.warmLanes|=l),c=n.expirationTimes;for(var f=l;0<f;){var p=31-Jn(f),b=1<<p;c[p]=-1,f&=~b}u!==0&&er(n,u,l)}function Fc(){return(ut&6)===0?(nf(0),!1):!0}function Li(){if(Le!==null){if(ct===0)var n=Le.return;else n=Le,ol=Bu=null,wd(n),Lc=null,Fo=0,n=Le;for(;n!==null;)Iv(n.alternate,n),n=n.return;Le=null}}function nu(n,l){var u=n.timeoutHandle;u!==-1&&(n.timeoutHandle=-1,Pb(u)),u=n.cancelPendingCommit,u!==null&&(n.cancelPendingCommit=null,u()),Li(),yt=n,Le=u=il(n.current,null),Ge=l,ct=0,na=null,Pl=!1,ls=zl(n,l),fy=!1,us=qa=eu=Wc=Qu=wt=0,aa=is=null,dy=!1,(l&8)!==0&&(l|=l&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=l;0<c;){var f=31-Jn(c),p=1<<f;l|=n[f],c&=~p}return Xu=l,ul(),u}function my(n,l){Ne=null,x.H=Fd,l===Ui||l===zr?(l=_v(),ct=3):l===Md?(l=_v(),ct=4):ct=l===Ct?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,na=l,Le===null&&(wt=1,Kr(n,ha(l,n.current)))}function Wg(){var n=x.H;return x.H=Fd,n===null?Fd:n}function Ic(){var n=x.A;return x.A=ry,n}function Pc(){wt=4,Pl||(Ge&4194048)!==Ge&&ya.current!==null||(ls=!0),(Qu&134217727)===0&&(Wc&134217727)===0||yt===null||Zu(yt,Ge,qa,!1)}function _h(n,l,u){var c=ut;ut|=2;var f=Wg(),p=Ic();(yt!==n||Ge!==l)&&(cs=null,nu(n,l)),l=!1;var b=wt;e:do try{if(ct!==0&&Le!==null){var _=Le,O=na;switch(ct){case 8:Li(),b=6;break e;case 3:case 2:case 9:case 6:ya.current===null&&(l=!0);var B=ct;if(ct=0,na=null,fs(n,_,O,B),u&&ls){b=0;break e}break;default:B=ct,ct=0,na=null,fs(n,_,O,B)}}Eh(),b=wt;break}catch(K){my(n,K)}while(!0);return l&&n.shellSuspendCounter++,ol=Bu=null,ut=c,x.H=f,x.A=p,Le===null&&(yt=null,Ge=0,ul()),b}function Eh(){for(;Le!==null;)Sy(Le)}function gy(n,l){var u=ut;ut|=2;var c=Wg(),f=Ic();yt!==n||Ge!==l?(cs=null,gh=sa()+500,nu(n,l)):ls=zl(n,l);e:do try{if(ct!==0&&Le!==null){l=Le;var p=na;t:switch(ct){case 1:ct=0,na=null,fs(n,l,p,1);break;case 2:case 9:if(Nd(p)){ct=0,na=null,_y(l);break}l=function(){ct!==2&&ct!==9||yt!==n||(ct=7),la(n)},p.then(l,l);break e;case 3:ct=7;break e;case 4:ct=5;break e;case 7:Nd(p)?(ct=0,na=null,_y(l)):(ct=0,na=null,fs(n,l,p,7));break;case 5:var b=null;switch(Le.tag){case 26:b=Le.memoizedState;case 5:case 27:var _=Le;if(!b||Cy(b)){ct=0,na=null;var O=_.sibling;if(O!==null)Le=O;else{var B=_.return;B!==null?(Le=B,Pr(B)):Le=null}break t}}ct=0,na=null,fs(n,l,p,5);break;case 6:ct=0,na=null,fs(n,l,p,6);break;case 8:Li(),wt=6;break e;default:throw Error(d(462))}}by();break}catch(K){my(n,K)}while(!0);return ol=Bu=null,x.H=c,x.A=f,ut=u,Le!==null?0:(yt=null,Ge=0,ul(),wt)}function by(){for(;Le!==null&&!Bb();)Sy(Le)}function Sy(n){var l=Zg(n.alternate,n,Xu);n.memoizedProps=n.pendingProps,l===null?Pr(n):Le=l}function _y(n){var l=n,u=l.alternate;switch(l.tag){case 15:case 0:l=Jv(u,l,l.pendingProps,l.type,void 0,Ge);break;case 11:l=Jv(u,l,l.pendingProps,l.type.render,l.ref,Ge);break;case 5:wd(l);default:Iv(u,l),l=Le=Ve(l,Xu),l=Zg(u,l,Xu)}n.memoizedProps=n.pendingProps,l===null?Pr(n):Le=l}function fs(n,l,u,c){ol=Bu=null,wd(l),Lc=null,Fo=0;var f=l.return;try{if(Gg(n,f,l,u,Ge)){wt=1,Kr(n,ha(u,n.current)),Le=null;return}}catch(p){if(f!==null)throw Le=f,p;wt=1,Kr(n,ha(u,n.current)),Le=null;return}l.flags&32768?(Fe||c===1?n=!0:ls||(Ge&536870912)!==0?n=!1:(Pl=n=!0,(c===2||c===9||c===3||c===6)&&(c=ya.current,c!==null&&c.tag===13&&(c.flags|=16384))),Fg(l,n)):Pr(l)}function Pr(n){var l=n;do{if((l.flags&32768)!==0){Fg(l,Pl);return}n=l.return;var u=Fv(l.alternate,l,Xu);if(u!==null){Le=u;return}if(l=l.sibling,l!==null){Le=l;return}Le=l=n}while(l!==null);wt===0&&(wt=5)}function Fg(n,l){do{var u=Jb(n.alternate,n);if(u!==null){u.flags&=32767,Le=u;return}if(u=n.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!l&&(n=n.sibling,n!==null)){Le=n;return}Le=n=u}while(n!==null);wt=6,Le=null}function Ig(n,l,u,c,f,p,b,_,O){n.cancelPendingCommit=null;do Ah();while(vn!==0);if((ut&6)!==0)throw Error(d(327));if(l!==null){if(l===n.current)throw Error(d(177));if(p=l.lanes|l.childLanes,p|=Bl,cg(n,u,p,b,_,O),n===yt&&(Le=yt=null,Ge=0),os=l,tu=n,yn=u,bh=p,Sh=f,py=c,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,Wb(Ps,function(){return Ey(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||c){c=x.T,x.T=null,f=F.p,F.p=2,b=ut,ut|=4;try{ty(n,l,u)}finally{ut=b,F.p=f,x.T=c}}vn=1,Pg(),ef(),Th()}}function Pg(){if(vn===1){vn=0;var n=tu,l=os,u=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||u){u=x.T,x.T=null;var c=F.p;F.p=2;var f=ut;ut|=4;try{Fr(l,n);var p=ff,b=rv(n.containerInfo),_=p.focusedElem,O=p.selectionRange;if(b!==_&&_&&_.ownerDocument&&mr(_.ownerDocument.documentElement,_)){if(O!==null&&gr(_)){var B=O.start,K=O.end;if(K===void 0&&(K=B),"selectionStart"in _)_.selectionStart=B,_.selectionEnd=Math.min(K,_.value.length);else{var $=_.ownerDocument||document,j=$&&$.defaultView||window;if(j.getSelection){var Y=j.getSelection(),he=_.textContent.length,pe=Math.min(O.start,he),tt=O.end===void 0?pe:Math.min(O.end,he);!Y.extend&&pe>tt&&(b=tt,tt=pe,pe=b);var C=bt(_,pe),R=bt(_,tt);if(C&&R&&(Y.rangeCount!==1||Y.anchorNode!==C.node||Y.anchorOffset!==C.offset||Y.focusNode!==R.node||Y.focusOffset!==R.offset)){var H=$.createRange();H.setStart(C.node,C.offset),Y.removeAllRanges(),pe>tt?(Y.addRange(H),Y.extend(R.node,R.offset)):(H.setEnd(R.node,R.offset),Y.addRange(H))}}}}for($=[],Y=_;Y=Y.parentNode;)Y.nodeType===1&&$.push({element:Y,left:Y.scrollLeft,top:Y.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_<$.length;_++){var J=$[_];J.element.scrollLeft=J.left,J.element.scrollTop=J.top}}yf=!!rf,ff=rf=null}finally{ut=f,F.p=c,x.T=u}}n.current=l,vn=2}}function ef(){if(vn===2){vn=0;var n=tu,l=os,u=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||u){u=x.T,x.T=null;var c=F.p;F.p=2;var f=ut;ut|=4;try{ny(n,l.alternate,l)}finally{ut=f,F.p=c,x.T=u}}vn=3}}function Th(){if(vn===4||vn===3){vn=0,rc();var n=tu,l=os,u=yn,c=py;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?vn=5:(vn=0,os=tu=null,e0(n,n.pendingLanes));var f=n.pendingLanes;if(f===0&&(Yi=null),If(u),l=l.stateNode,wn&&typeof wn.onCommitFiberRoot=="function")try{wn.onCommitFiberRoot(Ao,l,void 0,(l.current.flags&128)===128)}catch{}if(c!==null){l=x.T,f=F.p,F.p=2,x.T=null;try{for(var p=n.onRecoverableError,b=0;b<c.length;b++){var _=c[b];p(_.value,{componentStack:_.stack})}}finally{x.T=l,F.p=f}}(yn&3)!==0&&Ah(),la(n),f=n.pendingLanes,(u&4194090)!==0&&(f&42)!==0?n===vy?ss++:(ss=0,vy=n):ss=0,nf(0)}}function e0(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,ql(l)))}function Ah(n){return Pg(),ef(),Th(),Ey()}function Ey(){if(vn!==5)return!1;var n=tu,l=bh;bh=0;var u=If(yn),c=x.T,f=F.p;try{F.p=32>u?32:u,x.T=null,u=Sh,Sh=null;var p=tu,b=yn;if(vn=0,os=tu=null,yn=0,(ut&6)!==0)throw Error(d(331));var _=ut;if(ut|=4,oy(p.current),iy(p,p.current,b,u),ut=_,nf(0,!1),wn&&typeof wn.onPostCommitFiberRoot=="function")try{wn.onPostCommitFiberRoot(Ao,p)}catch{}return!0}finally{F.p=f,x.T=c,e0(n,l)}}function Ty(n,l,u){l=ha(u,l),l=Zv(n.stateNode,l,2),n=Gl(n,l,2),n!==null&&(dc(n,2),la(n))}function st(n,l,u){if(n.tag===3)Ty(n,n,u);else for(;l!==null;){if(l.tag===3){Ty(l,n,u);break}else if(l.tag===1){var c=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Yi===null||!Yi.has(c))){n=ha(u,n),u=Kv(2),c=Gl(l,u,2),c!==null&&(ta(u,c,l,n),dc(c,2),la(c));break}}l=l.return}}function Oh(n,l,u){var c=n.pingCache;if(c===null){c=n.pingCache=new kg;var f=new Set;c.set(l,f)}else f=c.get(l),f===void 0&&(f=new Set,c.set(l,f));f.has(u)||(fy=!0,f.add(u),n=Ay.bind(null,n,l,u),l.then(n,n))}function Ay(n,l,u){var c=n.pingCache;c!==null&&c.delete(l),n.pingedLanes|=n.suspendedLanes&u,n.warmLanes&=~u,yt===n&&(Ge&u)===u&&(wt===4||wt===3&&(Ge&62914560)===Ge&&300>sa()-hy?(ut&2)===0&&nu(n,0):eu|=u,us===Ge&&(us=0)),la(n)}function Oy(n,l){l===0&&(l=fc()),n=wl(n,l),n!==null&&(dc(n,l),la(n))}function kb(n){var l=n.memoizedState,u=0;l!==null&&(u=l.retryLane),Oy(n,u)}function $b(n,l){var u=0;switch(n.tag){case 13:var c=n.stateNode,f=n.memoizedState;f!==null&&(u=f.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(d(314))}c!==null&&c.delete(l),Oy(n,u)}function Wb(n,l){return sc(n,l)}var Dh=null,Gi=null,tf=!1,ds=!1,Mh=!1,Xi=0;function la(n){n!==Gi&&n.next===null&&(Gi===null?Dh=Gi=n:Gi=Gi.next=n),ds=!0,tf||(tf=!0,a0())}function nf(n,l){if(!Mh&&ds){Mh=!0;do for(var u=!1,c=Dh;c!==null;){if(n!==0){var f=c.pendingLanes;if(f===0)var p=0;else{var b=c.suspendedLanes,_=c.pingedLanes;p=(1<<31-Jn(42|n)+1)-1,p&=f&~(b&~_),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(u=!0,lf(c,p))}else p=Ge,p=fi(c,c===yt?p:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(p&3)===0||zl(c,p)||(u=!0,lf(c,p));c=c.next}while(u);Mh=!1}}function t0(){af()}function af(){ds=tf=!1;var n=0;Xi!==0&&(ku()&&(n=Xi),Xi=0);for(var l=sa(),u=null,c=Dh;c!==null;){var f=c.next,p=Dy(c,l);p===0?(c.next=null,u===null?Dh=f:u.next=f,f===null&&(Gi=u)):(u=c,(n!==0||(p&3)!==0)&&(ds=!0)),c=f}nf(n)}function Dy(n,l){for(var u=n.suspendedLanes,c=n.pingedLanes,f=n.expirationTimes,p=n.pendingLanes&-62914561;0<p;){var b=31-Jn(p),_=1<<b,O=f[b];O===-1?((_&u)===0||(_&c)!==0)&&(f[b]=Pt(_,l)):O<=l&&(n.expiredLanes|=_),p&=~_}if(l=yt,u=Ge,u=fi(n,n===l?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,u===0||n===l&&(ct===2||ct===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&Bp(c),n.callbackNode=null,n.callbackPriority=0;if((u&3)===0||zl(n,u)){if(l=u&-u,l===n.callbackPriority)return l;switch(c!==null&&Bp(c),If(u)){case 2:case 8:u=wp;break;case 32:u=Ps;break;case 268435456:u=To;break;default:u=Ps}return c=n0.bind(null,n),u=sc(u,c),n.callbackPriority=l,n.callbackNode=u,l}return c!==null&&c!==null&&Bp(c),n.callbackPriority=2,n.callbackNode=null,2}function n0(n,l){if(vn!==0&&vn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var u=n.callbackNode;if(Ah()&&n.callbackNode!==u)return null;var c=Ge;return c=fi(n,n===yt?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(rs(n,c,l),Dy(n,sa()),n.callbackNode!=null&&n.callbackNode===u?n0.bind(null,n):null)}function lf(n,l){if(Ah())return null;rs(n,l,!0)}function a0(){eS(function(){(ut&6)!==0?sc(lg,t0):af()})}function eo(){return Xi===0&&(Xi=di()),Xi}function zh(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:sr(""+n)}function uf(n,l){var u=l.ownerDocument.createElement("input");return u.name=l.name,u.value=l.value,n.id&&u.setAttribute("form",n.id),l.parentNode.insertBefore(u,l),n=new FormData(n),u.parentNode.removeChild(u),n}function l0(n,l,u,c,f){if(l==="submit"&&u&&u.stateNode===f){var p=zh((f[Vn]||null).action),b=c.submitter;b&&(l=(l=b[Vn]||null)?zh(l.formAction):b.getAttribute("formAction"),l!==null&&(p=l,b=null));var _=new rd("action","action",null,c,f);n.push({event:_,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Xi!==0){var O=b?uf(f,b):new FormData(f);Wd(u,{pending:!0,data:O,method:f.method,action:p},null,O)}}else typeof p=="function"&&(_.preventDefault(),O=b?uf(f,b):new FormData(f),Wd(u,{pending:!0,data:O,method:f.method,action:p},p,O))},currentTarget:f}]})}}for(var Vt=0;Vt<Ho.length;Vt++){var cf=Ho[Vt],Fb=cf.toLowerCase(),He=cf[0].toUpperCase()+cf.slice(1);Na(Fb,"on"+He)}Na(Mg,"onAnimationEnd"),Na(fv,"onAnimationIteration"),Na(zg,"onAnimationStart"),Na("dblclick","onDoubleClick"),Na("focusin","onFocus"),Na("focusout","onBlur"),Na(dv,"onTransitionRun"),Na(bd,"onTransitionStart"),Na(Ng,"onTransitionCancel"),Na(hv,"onTransitionEnd"),vi("onMouseEnter",["mouseout","mouseover"]),vi("onMouseLeave",["mouseout","mouseover"]),vi("onPointerEnter",["pointerout","pointerover"]),vi("onPointerLeave",["pointerout","pointerover"]),pi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pi("onBeforeInput",["compositionend","keypress","textInput","paste"]),pi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var of="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qi=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(of));function to(n,l){l=(l&4)!==0;for(var u=0;u<n.length;u++){var c=n[u],f=c.event;c=c.listeners;e:{var p=void 0;if(l)for(var b=c.length-1;0<=b;b--){var _=c[b],O=_.instance,B=_.currentTarget;if(_=_.listener,O!==p&&f.isPropagationStopped())break e;p=_,f.currentTarget=B;try{p(f)}catch(K){Qr(K)}f.currentTarget=null,p=O}else for(b=0;b<c.length;b++){if(_=c[b],O=_.instance,B=_.currentTarget,_=_.listener,O!==p&&f.isPropagationStopped())break e;p=_,f.currentTarget=B;try{p(f)}catch(K){Qr(K)}f.currentTarget=null,p=O}}}}function Re(n,l){var u=l[Pf];u===void 0&&(u=l[Pf]=new Set);var c=n+"__bubble";u.has(c)||(Nh(l,n,2,!1),u.add(c))}function hs(n,l,u){var c=0;l&&(c|=4),Nh(u,n,c,l)}var ps="_reactListening"+Math.random().toString(36).slice(2);function My(n){if(!n[ps]){n[ps]=!0,lr.forEach(function(u){u!=="selectionchange"&&(Qi.has(u)||hs(u,!1,n),hs(u,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[ps]||(l[ps]=!0,hs("selectionchange",!1,l))}}function Nh(n,l,u,c){switch(Gy(l)){case 2:var f=h0;break;case 8:f=p0;break;default:f=Yy}u=f.bind(null,l,u,n),f=void 0,!cd||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(f=!0),c?f!==void 0?n.addEventListener(l,u,{capture:!0,passive:f}):n.addEventListener(l,u,!0):f!==void 0?n.addEventListener(l,u,{passive:f}):n.addEventListener(l,u,!1)}function Ya(n,l,u,c,f){var p=c;if((l&1)===0&&(l&2)===0&&c!==null)e:for(;;){if(c===null)return;var b=c.tag;if(b===3||b===4){var _=c.stateNode.containerInfo;if(_===f)break;if(b===4)for(b=c.return;b!==null;){var O=b.tag;if((O===3||O===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;_!==null;){if(b=rn(_),b===null)return;if(O=b.tag,O===5||O===6||O===26||O===27){c=p=b;continue e}_=_.parentNode}}c=c.return}Uo(function(){var B=p,K=id(u),$=[];e:{var j=pv.get(n);if(j!==void 0){var Y=rd,he=n;switch(n){case"keypress":if(fn(u)===0)break e;case"keydown":case"keyup":Y=el;break;case"focusin":he="focus",Y=$p;break;case"focusout":he="blur",Y=$p;break;case"beforeblur":case"afterblur":Y=$p;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=kp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=gg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=Ip;break;case Mg:case fv:case zg:Y=Xb;break;case hv:Y=Tg;break;case"scroll":case"scrollend":Y=yg;break;case"wheel":Y=Ac;break;case"copy":case"cut":case"paste":Y=dr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=hr;break;case"toggle":case"beforetoggle":Y=Ag}var pe=(l&4)!==0,tt=!pe&&(n==="scroll"||n==="scrollend"),C=pe?j!==null?j+"Capture":null:j;pe=[];for(var R=B,H;R!==null;){var J=R;if(H=J.stateNode,J=J.tag,J!==5&&J!==26&&J!==27||H===null||C===null||(J=Sc(R,C),J!=null&&pe.push(Ku(R,J,H))),tt)break;R=R.return}0<pe.length&&(j=new Y(j,he,null,u,K),$.push({event:j,listeners:pe}))}}if((l&7)===0){e:{if(j=n==="mouseover"||n==="pointerover",Y=n==="mouseout"||n==="pointerout",j&&u!==bc&&(he=u.relatedTarget||u.fromElement)&&(rn(he)||he[Do]))break e;if((Y||j)&&(j=K.window===K?K:(j=K.ownerDocument)?j.defaultView||j.parentWindow:window,Y?(he=u.relatedTarget||u.toElement,Y=B,he=he?rn(he):null,he!==null&&(tt=S(he),pe=he.tag,he!==tt||pe!==5&&pe!==27&&pe!==6)&&(he=null)):(Y=null,he=B),Y!==he)){if(pe=kp,J="onMouseLeave",C="onMouseEnter",R="mouse",(n==="pointerout"||n==="pointerover")&&(pe=hr,J="onPointerLeave",C="onPointerEnter",R="pointer"),tt=Y==null?j:ar(Y),H=he==null?j:ar(he),j=new pe(J,R+"leave",Y,u,K),j.target=tt,j.relatedTarget=H,J=null,rn(K)===B&&(pe=new pe(C,R+"enter",he,u,K),pe.target=H,pe.relatedTarget=tt,J=pe),tt=J,Y&&he)t:{for(pe=Y,C=he,R=0,H=pe;H;H=Zi(H))R++;for(H=0,J=C;J;J=Zi(J))H++;for(;0<R-H;)pe=Zi(pe),R--;for(;0<H-R;)C=Zi(C),H--;for(;R--;){if(pe===C||C!==null&&pe===C.alternate)break t;pe=Zi(pe),C=Zi(C)}pe=null}else pe=null;Y!==null&&sf($,j,Y,pe,!1),he!==null&&tt!==null&&sf($,tt,he,pe,!0)}}e:{if(j=B?ar(B):window,Y=j.nodeName&&j.nodeName.toLowerCase(),Y==="select"||Y==="input"&&j.type==="file")var ie=lv;else if(vd(j))if(uv)ie=ov;else{ie=_i;var je=md}else Y=j.nodeName,!Y||Y.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?B&&gc(B.elementType)&&(ie=lv):ie=Uu;if(ie&&(ie=ie(n,B))){yd($,ie,u,K);break e}je&&je(n,j,B),n==="focusout"&&B&&j.type==="number"&&B.memoizedProps.value!=null&&cr(j,"number",j.value)}switch(je=B?ar(B):window,n){case"focusin":(vd(je)||je.contentEditable==="true")&&(Cl=je,al=B,Ai=null);break;case"focusout":Ai=al=Cl=null;break;case"mousedown":Nc=!0;break;case"contextmenu":case"mouseup":case"dragend":Nc=!1,gd($,u,K);break;case"selectionchange":if(zc)break;case"keydown":case"keyup":gd($,u,K)}var de;if(pr)e:{switch(n){case"compositionstart":var Se="onCompositionStart";break e;case"compositionend":Se="onCompositionEnd";break e;case"compositionupdate":Se="onCompositionUpdate";break e}Se=void 0}else Si?yr(n,u)&&(Se="onCompositionEnd"):n==="keydown"&&u.keyCode===229&&(Se="onCompositionStart");Se&&(Ul&&u.locale!=="ko"&&(Si||Se!=="onCompositionStart"?Se==="onCompositionEnd"&&Si&&(de=Kp()):(Nu=K,xo="value"in Nu?Nu.value:Nu.textContent,Si=!0)),je=vs(B,Se),0<je.length&&(Se=new Wp(Se,n,null,u,K),$.push({event:Se,listeners:je}),de?Se.data=de:(de=bi(u),de!==null&&(Se.data=de)))),(de=ev?nv(n,u):Oc(n,u))&&(Se=vs(B,"onBeforeInput"),0<Se.length&&(je=new Wp("onBeforeInput","beforeinput",null,u,K),$.push({event:je,listeners:Se}),je.data=de)),l0($,n,B,u,K)}to($,l)})}function Ku(n,l,u){return{instance:n,listener:l,currentTarget:u}}function vs(n,l){for(var u=l+"Capture",c=[];n!==null;){var f=n,p=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||p===null||(f=Sc(n,u),f!=null&&c.unshift(Ku(n,f,p)),f=Sc(n,l),f!=null&&c.push(Ku(n,f,p))),n.tag===3)return c;n=n.return}return[]}function Zi(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function sf(n,l,u,c,f){for(var p=l._reactName,b=[];u!==null&&u!==c;){var _=u,O=_.alternate,B=_.stateNode;if(_=_.tag,O!==null&&O===c)break;_!==5&&_!==26&&_!==27||B===null||(O=B,f?(B=Sc(u,p),B!=null&&b.unshift(Ku(u,B,O))):f||(B=Sc(u,p),B!=null&&b.push(Ku(u,B,O)))),u=u.return}b.length!==0&&n.push({event:l,listeners:b})}var ba=/\r\n?/g,zy=/\u0000|\uFFFD/g;function u0(n){return(typeof n=="string"?n:""+n).replace(ba,`
|
|
33
|
+
`).replace(zy,"")}function Ny(n,l){return l=u0(l),u0(n)===l}function Rh(){}function Oe(n,l,u,c,f,p){switch(u){case"children":typeof c=="string"?l==="body"||l==="textarea"&&c===""||zo(n,c):(typeof c=="number"||typeof c=="bigint")&&l!=="body"&&zo(n,""+c);break;case"className":ur(n,"class",c);break;case"tabIndex":ur(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":ur(n,u,c);break;case"style":or(n,c,p);break;case"data":if(l!=="object"){ur(n,"data",c);break}case"src":case"href":if(c===""&&(l!=="a"||u!=="href")){n.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(u);break}c=sr(""+c),n.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(u==="formAction"?(l!=="input"&&Oe(n,l,"name",f.name,f,null),Oe(n,l,"formEncType",f.formEncType,f,null),Oe(n,l,"formMethod",f.formMethod,f,null),Oe(n,l,"formTarget",f.formTarget,f,null)):(Oe(n,l,"encType",f.encType,f,null),Oe(n,l,"method",f.method,f,null),Oe(n,l,"target",f.target,f,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(u);break}c=sr(""+c),n.setAttribute(u,c);break;case"onClick":c!=null&&(n.onclick=Rh);break;case"onScroll":c!=null&&Re("scroll",n);break;case"onScrollEnd":c!=null&&Re("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(d(61));if(u=c.__html,u!=null){if(f.children!=null)throw Error(d(60));n.innerHTML=u}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}u=sr(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(u,""+c):n.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(u,""):n.removeAttribute(u);break;case"capture":case"download":c===!0?n.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(u,c):n.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(u,c):n.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(u):n.setAttribute(u,c);break;case"popover":Re("beforetoggle",n),Re("toggle",n),Mu(n,"popover",c);break;case"xlinkActuate":Nl(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Nl(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Nl(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Nl(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Nl(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Nl(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Nl(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Nl(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Nl(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Mu(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=Yb.get(u)||u,Mu(n,u,c))}}function L(n,l,u,c,f,p){switch(u){case"style":or(n,c,p);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(d(61));if(u=c.__html,u!=null){if(f.children!=null)throw Error(d(60));n.innerHTML=u}}break;case"children":typeof c=="string"?zo(n,c):(typeof c=="number"||typeof c=="bigint")&&zo(n,""+c);break;case"onScroll":c!=null&&Re("scroll",n);break;case"onScrollEnd":c!=null&&Re("scrollend",n);break;case"onClick":c!=null&&(n.onclick=Rh);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!fa.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(f=u.endsWith("Capture"),l=u.slice(2,f?u.length-7:void 0),p=n[Vn]||null,p=p!=null?p[u]:null,typeof p=="function"&&n.removeEventListener(l,p,f),typeof c=="function")){typeof p!="function"&&p!==null&&(u in n?n[u]=null:n.hasAttribute(u)&&n.removeAttribute(u)),n.addEventListener(l,c,f);break e}u in n?n[u]=c:c===!0?n.setAttribute(u,""):Mu(n,u,c)}}}function Ee(n,l,u){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Re("error",n),Re("load",n);var c=!1,f=!1,p;for(p in u)if(u.hasOwnProperty(p)){var b=u[p];if(b!=null)switch(p){case"src":c=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(d(137,l));default:Oe(n,l,p,b,u,null)}}f&&Oe(n,l,"srcSet",u.srcSet,u,null),c&&Oe(n,l,"src",u.src,u,null);return;case"input":Re("invalid",n);var _=p=b=f=null,O=null,B=null;for(c in u)if(u.hasOwnProperty(c)){var K=u[c];if(K!=null)switch(c){case"name":f=K;break;case"type":b=K;break;case"checked":O=K;break;case"defaultChecked":B=K;break;case"value":p=K;break;case"defaultValue":_=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(d(137,l));break;default:Oe(n,l,c,K,u,null)}}ld(n,p,_,O,B,b,f,!1),mi(n);return;case"select":Re("invalid",n),c=b=p=null;for(f in u)if(u.hasOwnProperty(f)&&(_=u[f],_!=null))switch(f){case"value":p=_;break;case"defaultValue":b=_;break;case"multiple":c=_;default:Oe(n,l,f,_,u,null)}l=p,u=b,n.multiple=!!c,l!=null?mc(n,!!c,l,!1):u!=null&&mc(n,!!c,u,!0);return;case"textarea":Re("invalid",n),p=f=c=null;for(b in u)if(u.hasOwnProperty(b)&&(_=u[b],_!=null))switch(b){case"value":c=_;break;case"defaultValue":f=_;break;case"children":p=_;break;case"dangerouslySetInnerHTML":if(_!=null)throw Error(d(91));break;default:Oe(n,l,b,_,u,null)}Qp(n,c,f,p),mi(n);return;case"option":for(O in u)if(u.hasOwnProperty(O)&&(c=u[O],c!=null))switch(O){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Oe(n,l,O,c,u,null)}return;case"dialog":Re("beforetoggle",n),Re("toggle",n),Re("cancel",n),Re("close",n);break;case"iframe":case"object":Re("load",n);break;case"video":case"audio":for(c=0;c<of.length;c++)Re(of[c],n);break;case"image":Re("error",n),Re("load",n);break;case"details":Re("toggle",n);break;case"embed":case"source":case"link":Re("error",n),Re("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(B in u)if(u.hasOwnProperty(B)&&(c=u[B],c!=null))switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(d(137,l));default:Oe(n,l,B,c,u,null)}return;default:if(gc(l)){for(K in u)u.hasOwnProperty(K)&&(c=u[K],c!==void 0&&L(n,l,K,c,u,void 0));return}}for(_ in u)u.hasOwnProperty(_)&&(c=u[_],c!=null&&Oe(n,l,_,c,u,null))}function Ib(n,l,u,c){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,p=null,b=null,_=null,O=null,B=null,K=null;for(Y in u){var $=u[Y];if(u.hasOwnProperty(Y)&&$!=null)switch(Y){case"checked":break;case"value":break;case"defaultValue":O=$;default:c.hasOwnProperty(Y)||Oe(n,l,Y,null,c,$)}}for(var j in c){var Y=c[j];if($=u[j],c.hasOwnProperty(j)&&(Y!=null||$!=null))switch(j){case"type":p=Y;break;case"name":f=Y;break;case"checked":B=Y;break;case"defaultChecked":K=Y;break;case"value":b=Y;break;case"defaultValue":_=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(d(137,l));break;default:Y!==$&&Oe(n,l,j,Y,c,$)}}ad(n,b,_,O,B,K,p,f);return;case"select":Y=b=_=j=null;for(p in u)if(O=u[p],u.hasOwnProperty(p)&&O!=null)switch(p){case"value":break;case"multiple":Y=O;default:c.hasOwnProperty(p)||Oe(n,l,p,null,c,O)}for(f in c)if(p=c[f],O=u[f],c.hasOwnProperty(f)&&(p!=null||O!=null))switch(f){case"value":j=p;break;case"defaultValue":_=p;break;case"multiple":b=p;default:p!==O&&Oe(n,l,f,p,c,O)}l=_,u=b,c=Y,j!=null?mc(n,!!u,j,!1):!!c!=!!u&&(l!=null?mc(n,!!u,l,!0):mc(n,!!u,u?[]:"",!1));return;case"textarea":Y=j=null;for(_ in u)if(f=u[_],u.hasOwnProperty(_)&&f!=null&&!c.hasOwnProperty(_))switch(_){case"value":break;case"children":break;default:Oe(n,l,_,null,c,f)}for(b in c)if(f=c[b],p=u[b],c.hasOwnProperty(b)&&(f!=null||p!=null))switch(b){case"value":j=f;break;case"defaultValue":Y=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(d(91));break;default:f!==p&&Oe(n,l,b,f,c,p)}Xp(n,j,Y);return;case"option":for(var he in u)if(j=u[he],u.hasOwnProperty(he)&&j!=null&&!c.hasOwnProperty(he))switch(he){case"selected":n.selected=!1;break;default:Oe(n,l,he,null,c,j)}for(O in c)if(j=c[O],Y=u[O],c.hasOwnProperty(O)&&j!==Y&&(j!=null||Y!=null))switch(O){case"selected":n.selected=j&&typeof j!="function"&&typeof j!="symbol";break;default:Oe(n,l,O,j,c,Y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var pe in u)j=u[pe],u.hasOwnProperty(pe)&&j!=null&&!c.hasOwnProperty(pe)&&Oe(n,l,pe,null,c,j);for(B in c)if(j=c[B],Y=u[B],c.hasOwnProperty(B)&&j!==Y&&(j!=null||Y!=null))switch(B){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(d(137,l));break;default:Oe(n,l,B,j,c,Y)}return;default:if(gc(l)){for(var tt in u)j=u[tt],u.hasOwnProperty(tt)&&j!==void 0&&!c.hasOwnProperty(tt)&&L(n,l,tt,void 0,c,j);for(K in c)j=c[K],Y=u[K],!c.hasOwnProperty(K)||j===Y||j===void 0&&Y===void 0||L(n,l,K,j,c,Y);return}}for(var C in u)j=u[C],u.hasOwnProperty(C)&&j!=null&&!c.hasOwnProperty(C)&&Oe(n,l,C,null,c,j);for($ in c)j=c[$],Y=u[$],!c.hasOwnProperty($)||j===Y||j==null&&Y==null||Oe(n,l,$,j,c,Y)}var rf=null,ff=null;function La(n){return n.nodeType===9?n:n.ownerDocument}function Ju(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ys(n,l){if(n===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&l==="foreignObject"?0:n}function au(n,l){return n==="textarea"||n==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var ms=null;function ku(){var n=window.event;return n&&n.type==="popstate"?n===ms?!1:(ms=n,!0):(ms=null,!1)}var Uh=typeof setTimeout=="function"?setTimeout:void 0,Pb=typeof clearTimeout=="function"?clearTimeout:void 0,i0=typeof Promise=="function"?Promise:void 0,eS=typeof queueMicrotask=="function"?queueMicrotask:typeof i0<"u"?function(n){return i0.resolve(null).then(n).catch(lu)}:Uh;function lu(n){setTimeout(function(){throw n})}function Ki(n){return n==="head"}function xh(n,l){var u=l,c=0,f=0;do{var p=u.nextSibling;if(n.removeChild(u),p&&p.nodeType===8)if(u=p.data,u==="/$"){if(0<c&&8>c){u=c;var b=n.ownerDocument;if(u&1&&ua(b.documentElement),u&2&&ua(b.body),u&4)for(u=b.head,ua(u),b=u.firstChild;b;){var _=b.nextSibling,O=b.nodeName;b[oe]||O==="SCRIPT"||O==="STYLE"||O==="LINK"&&b.rel.toLowerCase()==="stylesheet"||u.removeChild(b),b=_}}if(f===0){n.removeChild(p),iu(l);return}f--}else u==="$"||u==="$?"||u==="$!"?f++:c=u.charCodeAt(0)-48;else c=0;u=p}while(u);iu(l)}function df(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var u=l;switch(l=l.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":df(u),nr(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}n.removeChild(u)}}function gs(n,l,u,c){for(;n.nodeType===1;){var f=u;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[oe])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(p=n.getAttribute("rel"),p==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(p!==f.rel||n.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||n.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||n.getAttribute("title")!==(f.title==null?null:f.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(p=n.getAttribute("src"),(p!==(f.src==null?null:f.src)||n.getAttribute("type")!==(f.type==null?null:f.type)||n.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&p&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var p=f.name==null?null:""+f.name;if(f.type==="hidden"&&n.getAttribute("name")===p)return n}else return n;if(n=hl(n.nextSibling),n===null)break}return null}function tS(n,l,u){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!u||(n=hl(n.nextSibling),n===null))return null;return n}function hf(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState==="complete"}function nS(n,l){var u=n.ownerDocument;if(n.data!=="$?"||u.readyState==="complete")l();else{var c=function(){l(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function hl(n){for(;n!=null;n=n.nextSibling){var l=n.nodeType;if(l===1||l===3)break;if(l===8){if(l=n.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return n}var Ji=null;function mn(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var u=n.data;if(u==="$"||u==="$!"||u==="$?"){if(l===0)return n;l--}else u==="/$"&&l++}n=n.previousSibling}return null}function le(n,l,u){switch(l=La(u),n){case"html":if(n=l.documentElement,!n)throw Error(d(452));return n;case"head":if(n=l.head,!n)throw Error(d(453));return n;case"body":if(n=l.body,!n)throw Error(d(454));return n;default:throw Error(d(451))}}function ua(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);nr(n)}var jt=new Map,zn=new Set;function Ch(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var $u=F.d;F.d={f:Hh,r:Bh,D:Wu,C:wh,L:ki,m:Nn,X:$i,S:ia,M:Ry};function Hh(){var n=$u.f(),l=Fc();return n||l}function Bh(n){var l=hc(n);l!==null&&l.tag===5&&l.type==="form"?Wo(l):$u.r(n)}var gn=typeof document>"u"?null:document;function pl(n,l,u){var c=gn;if(c&&typeof l=="string"&&l){var f=Ma(l);f='link[rel="'+n+'"][href="'+f+'"]',typeof u=="string"&&(f+='[crossorigin="'+u+'"]'),zn.has(f)||(zn.add(f),n={rel:n,crossOrigin:u,href:l},c.querySelector(f)===null&&(l=c.createElement("link"),Ee(l,"link",n),Kt(l),c.head.appendChild(l)))}}function Wu(n){$u.D(n),pl("dns-prefetch",n,null)}function wh(n,l){$u.C(n,l),pl("preconnect",n,l)}function ki(n,l,u){$u.L(n,l,u);var c=gn;if(c&&n&&l){var f='link[rel="preload"][as="'+Ma(l)+'"]';l==="image"&&u&&u.imageSrcSet?(f+='[imagesrcset="'+Ma(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(f+='[imagesizes="'+Ma(u.imageSizes)+'"]')):f+='[href="'+Ma(n)+'"]';var p=f;switch(l){case"style":p=bs(n);break;case"script":p=Ga(n)}jt.has(p)||(n=k({rel:"preload",href:l==="image"&&u&&u.imageSrcSet?void 0:n,as:l},u),jt.set(p,n),c.querySelector(f)!==null||l==="style"&&c.querySelector(Ss(p))||l==="script"&&c.querySelector(no(p))||(l=c.createElement("link"),Ee(l,"link",n),Kt(l),c.head.appendChild(l)))}}function Nn(n,l){$u.m(n,l);var u=gn;if(u&&n){var c=l&&typeof l.as=="string"?l.as:"script",f='link[rel="modulepreload"][as="'+Ma(c)+'"][href="'+Ma(n)+'"]',p=f;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ga(n)}if(!jt.has(p)&&(n=k({rel:"modulepreload",href:n},l),jt.set(p,n),u.querySelector(f)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(no(p)))return}c=u.createElement("link"),Ee(c,"link",n),Kt(c),u.head.appendChild(c)}}}function ia(n,l,u){$u.S(n,l,u);var c=gn;if(c&&n){var f=Du(c).hoistableStyles,p=bs(n);l=l||"default";var b=f.get(p);if(!b){var _={loading:0,preload:null};if(b=c.querySelector(Ss(p)))_.loading=5;else{n=k({rel:"stylesheet",href:n,"data-precedence":l},u),(u=jt.get(p))&&jh(n,u);var O=b=c.createElement("link");Kt(O),Ee(O,"link",n),O._p=new Promise(function(B,K){O.onload=B,O.onerror=K}),O.addEventListener("load",function(){_.loading|=1}),O.addEventListener("error",function(){_.loading|=2}),_.loading|=4,Vh(b,l,c)}b={type:"stylesheet",instance:b,count:1,state:_},f.set(p,b)}}}function $i(n,l){$u.X(n,l);var u=gn;if(u&&n){var c=Du(u).hoistableScripts,f=Ga(n),p=c.get(f);p||(p=u.querySelector(no(f)),p||(n=k({src:n,async:!0},l),(l=jt.get(f))&&qh(n,l),p=u.createElement("script"),Kt(p),Ee(p,"link",n),u.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(f,p))}}function Ry(n,l){$u.M(n,l);var u=gn;if(u&&n){var c=Du(u).hoistableScripts,f=Ga(n),p=c.get(f);p||(p=u.querySelector(no(f)),p||(n=k({src:n,async:!0,type:"module"},l),(l=jt.get(f))&&qh(n,l),p=u.createElement("script"),Kt(p),Ee(p,"link",n),u.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},c.set(f,p))}}function c0(n,l,u,c){var f=(f=at.current)?Ch(f):null;if(!f)throw Error(d(446));switch(n){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(l=bs(u.href),u=Du(f).hoistableStyles,c=u.get(l),c||(c={type:"style",instance:null,count:0,state:null},u.set(l,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){n=bs(u.href);var p=Du(f).hoistableStyles,b=p.get(n);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(n,b),(p=f.querySelector(Ss(n)))&&!p._p&&(b.instance=p,b.state.loading=5),jt.has(n)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},jt.set(n,u),p||o0(f,n,u,b.state))),l&&c===null)throw Error(d(528,""));return b}if(l&&c!==null)throw Error(d(529,""));return null;case"script":return l=u.async,u=u.src,typeof u=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ga(u),u=Du(f).hoistableScripts,c=u.get(l),c||(c={type:"script",instance:null,count:0,state:null},u.set(l,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(d(444,n))}}function bs(n){return'href="'+Ma(n)+'"'}function Ss(n){return'link[rel="stylesheet"]['+n+"]"}function _s(n){return k({},n,{"data-precedence":n.precedence,precedence:null})}function o0(n,l,u,c){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?c.loading=1:(l=n.createElement("link"),c.preload=l,l.addEventListener("load",function(){return c.loading|=1}),l.addEventListener("error",function(){return c.loading|=2}),Ee(l,"link",u),Kt(l),n.head.appendChild(l))}function Ga(n){return'[src="'+Ma(n)+'"]'}function no(n){return"script[async]"+n}function s0(n,l,u){if(l.count++,l.instance===null)switch(l.type){case"style":var c=n.querySelector('style[data-href~="'+Ma(u.href)+'"]');if(c)return l.instance=c,Kt(c),c;var f=k({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),Kt(c),Ee(c,"style",f),Vh(c,u.precedence,n),l.instance=c;case"stylesheet":f=bs(u.href);var p=n.querySelector(Ss(f));if(p)return l.state.loading|=4,l.instance=p,Kt(p),p;c=_s(u),(f=jt.get(f))&&jh(c,f),p=(n.ownerDocument||n).createElement("link"),Kt(p);var b=p;return b._p=new Promise(function(_,O){b.onload=_,b.onerror=O}),Ee(p,"link",c),l.state.loading|=4,Vh(p,u.precedence,n),l.instance=p;case"script":return p=Ga(u.src),(f=n.querySelector(no(p)))?(l.instance=f,Kt(f),f):(c=u,(f=jt.get(p))&&(c=k({},u),qh(c,f)),n=n.ownerDocument||n,f=n.createElement("script"),Kt(f),Ee(f,"link",c),n.head.appendChild(f),l.instance=f);case"void":return null;default:throw Error(d(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(c=l.instance,l.state.loading|=4,Vh(c,u.precedence,n));return l.instance}function Vh(n,l,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=c.length?c[c.length-1]:null,p=f,b=0;b<c.length;b++){var _=c[b];if(_.dataset.precedence===l)p=_;else if(p!==f)break}p?p.parentNode.insertBefore(n,p.nextSibling):(l=u.nodeType===9?u.head:u,l.insertBefore(n,l.firstChild))}function jh(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function qh(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var Wi=null;function Uy(n,l,u){if(Wi===null){var c=new Map,f=Wi=new Map;f.set(u,c)}else f=Wi,c=f.get(u),c||(c=new Map,f.set(u,c));if(c.has(n))return c;for(c.set(n,null),u=u.getElementsByTagName(n),f=0;f<u.length;f++){var p=u[f];if(!(p[oe]||p[en]||n==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var b=p.getAttribute(l)||"";b=n+b;var _=c.get(b);_?_.push(p):c.set(b,[p])}}return c}function xy(n,l,u){n=n.ownerDocument||n,n.head.insertBefore(u,l==="title"?n.querySelector("head > title"):null)}function r0(n,l,u){if(u===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return n=l.disabled,typeof l.precedence=="string"&&n==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Cy(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}var Es=null;function f0(){}function d0(n,l,u){if(Es===null)throw Error(d(475));var c=Es;if(l.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var f=bs(u.href),p=n.querySelector(Ss(f));if(p){n=p._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(c.count++,c=pf.bind(c),n.then(c,c)),l.state.loading|=4,l.instance=p,Kt(p);return}p=n.ownerDocument||n,u=_s(u),(f=jt.get(f))&&jh(u,f),p=p.createElement("link"),Kt(p);var b=p;b._p=new Promise(function(_,O){b.onload=_,b.onerror=O}),Ee(p,"link",u),l.instance=p}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(c.count++,l=pf.bind(c),n.addEventListener("load",l),n.addEventListener("error",l))}}function Hy(){if(Es===null)throw Error(d(475));var n=Es;return n.stylesheets&&n.count===0&&vf(n,n.stylesheets),0<n.count?function(l){var u=setTimeout(function(){if(n.stylesheets&&vf(n,n.stylesheets),n.unsuspend){var c=n.unsuspend;n.unsuspend=null,c()}},6e4);return n.unsuspend=l,function(){n.unsuspend=null,clearTimeout(u)}}:null}function pf(){if(this.count--,this.count===0){if(this.stylesheets)vf(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Ts=null;function vf(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Ts=new Map,l.forEach(Sa,n),Ts=null,pf.call(n))}function Sa(n,l){if(!(l.state.loading&4)){var u=Ts.get(n);if(u)var c=u.get(null);else{u=new Map,Ts.set(n,u);for(var f=n.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<f.length;p++){var b=f[p];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(u.set(b.dataset.precedence,b),c=b)}c&&u.set(null,c)}f=l.instance,b=f.getAttribute("data-precedence"),p=u.get(b)||c,p===c&&u.set(null,f),u.set(b,f),this.count++,c=pf.bind(this),f.addEventListener("load",c),f.addEventListener("error",c),p?p.parentNode.insertBefore(f,p.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(f,n.firstChild)),l.state.loading|=4}}var ca={$$typeof:Be,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function aS(n,l,u,c,f,p,b,_){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=hi(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hi(0),this.hiddenUpdates=hi(null),this.identifierPrefix=c,this.onUncaughtError=f,this.onCaughtError=p,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map}function By(n,l,u,c,f,p,b,_,O,B,K,$){return n=new aS(n,l,u,b,_,O,B,$),l=1,p===!0&&(l|=24),p=Wn(3,null,null,l),n.current=p,p.stateNode=n,l=Zo(),l.refCount++,n.pooledCache=l,l.refCount++,p.memoizedState={element:c,isDehydrated:u,cache:l},Rd(p),n}function wy(n){return n?(n=Vo,n):Vo}function Vy(n,l,u,c,f,p){f=wy(f),c.context===null?c.context=f:c.pendingContext=f,c=In(l),c.payload={element:u},p=p===void 0?null:p,p!==null&&(c.callback=p),u=Gl(n,c,l),u!==null&&(ga(u,n,l),Bc(u,n,l))}function jy(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var u=n.retryLane;n.retryLane=u!==0&&u<l?u:l}}function Yh(n,l){jy(n,l),(n=n.alternate)&&jy(n,l)}function qy(n){if(n.tag===13){var l=wl(n,67108864);l!==null&&ga(l,n,67108864),Yh(n,67108864)}}var yf=!0;function h0(n,l,u,c){var f=x.T;x.T=null;var p=F.p;try{F.p=2,Yy(n,l,u,c)}finally{F.p=p,x.T=f}}function p0(n,l,u,c){var f=x.T;x.T=null;var p=F.p;try{F.p=8,Yy(n,l,u,c)}finally{F.p=p,x.T=f}}function Yy(n,l,u,c){if(yf){var f=Lh(c);if(f===null)Ya(n,l,c,Gh,u),ao(n,c);else if(y0(f,n,l,u,c))c.stopPropagation();else if(ao(n,c),l&4&&-1<v0.indexOf(n)){for(;f!==null;){var p=hc(f);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var b=ra(p.pendingLanes);if(b!==0){var _=p;for(_.pendingLanes|=2,_.entangledLanes|=2;b;){var O=1<<31-Jn(b);_.entanglements[1]|=O,b&=~O}la(p),(ut&6)===0&&(gh=sa()+500,nf(0))}}break;case 13:_=wl(p,2),_!==null&&ga(_,p,2),Fc(),Yh(p,2)}if(p=Lh(c),p===null&&Ya(n,l,c,Gh,u),p===f)break;f=p}f!==null&&c.stopPropagation()}else Ya(n,l,c,null,u)}}function Lh(n){return n=id(n),Ly(n)}var Gh=null;function Ly(n){if(Gh=null,n=rn(n),n!==null){var l=S(n);if(l===null)n=null;else{var u=l.tag;if(u===13){if(n=A(l),n!==null)return n;n=null}else if(u===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return Gh=n,null}function Gy(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Is()){case lg:return 2;case wp:return 8;case Ps:case Vp:return 32;case To:return 268435456;default:return 32}default:return 32}}var As=!1,uu=null,Fu=null,Iu=null,mf=new Map,gf=new Map,Fi=[],v0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function ao(n,l){switch(n){case"focusin":case"focusout":uu=null;break;case"dragenter":case"dragleave":Fu=null;break;case"mouseover":case"mouseout":Iu=null;break;case"pointerover":case"pointerout":mf.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":gf.delete(l.pointerId)}}function lo(n,l,u,c,f,p){return n===null||n.nativeEvent!==p?(n={blockedOn:l,domEventName:u,eventSystemFlags:c,nativeEvent:p,targetContainers:[f]},l!==null&&(l=hc(l),l!==null&&qy(l)),n):(n.eventSystemFlags|=c,l=n.targetContainers,f!==null&&l.indexOf(f)===-1&&l.push(f),n)}function y0(n,l,u,c,f){switch(l){case"focusin":return uu=lo(uu,n,l,u,c,f),!0;case"dragenter":return Fu=lo(Fu,n,l,u,c,f),!0;case"mouseover":return Iu=lo(Iu,n,l,u,c,f),!0;case"pointerover":var p=f.pointerId;return mf.set(p,lo(mf.get(p)||null,n,l,u,c,f)),!0;case"gotpointercapture":return p=f.pointerId,gf.set(p,lo(gf.get(p)||null,n,l,u,c,f)),!0}return!1}function Xy(n){var l=rn(n.target);if(l!==null){var u=S(l);if(u!==null){if(l=u.tag,l===13){if(l=A(u),l!==null){n.blockedOn=l,jb(n.priority,function(){if(u.tag===13){var c=ma();c=Pa(c);var f=wl(u,c);f!==null&&ga(f,u,c),Yh(u,c)}});return}}else if(l===3&&u.stateNode.current.memoizedState.isDehydrated){n.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}n.blockedOn=null}function bf(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var u=Lh(n.nativeEvent);if(u===null){u=n.nativeEvent;var c=new u.constructor(u.type,u);bc=c,u.target.dispatchEvent(c),bc=null}else return l=hc(u),l!==null&&qy(l),n.blockedOn=u,!1;l.shift()}return!0}function Sf(n,l,u){bf(n)&&u.delete(l)}function Os(){As=!1,uu!==null&&bf(uu)&&(uu=null),Fu!==null&&bf(Fu)&&(Fu=null),Iu!==null&&bf(Iu)&&(Iu=null),mf.forEach(Sf),gf.forEach(Sf)}function Xh(n,l){n.blockedOn===l&&(n.blockedOn=null,As||(As=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,Os)))}var uo=null;function Qy(n){uo!==n&&(uo=n,r.unstable_scheduleCallback(r.unstable_NormalPriority,function(){uo===n&&(uo=null);for(var l=0;l<n.length;l+=3){var u=n[l],c=n[l+1],f=n[l+2];if(typeof c!="function"){if(Ly(c||u)===null)continue;break}var p=hc(u);p!==null&&(n.splice(l,3),l-=3,Wd(p,{pending:!0,data:f,method:u.method,action:c},c,f))}}))}function iu(n){function l(O){return Xh(O,n)}uu!==null&&Xh(uu,n),Fu!==null&&Xh(Fu,n),Iu!==null&&Xh(Iu,n),mf.forEach(l),gf.forEach(l);for(var u=0;u<Fi.length;u++){var c=Fi[u];c.blockedOn===n&&(c.blockedOn=null)}for(;0<Fi.length&&(u=Fi[0],u.blockedOn===null);)Xy(u),u.blockedOn===null&&Fi.shift();if(u=(n.ownerDocument||n).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var f=u[c],p=u[c+1],b=f[Vn]||null;if(typeof p=="function")b||Qy(u);else if(b){var _=null;if(p&&p.hasAttribute("formAction")){if(f=p,b=p[Vn]||null)_=b.formAction;else if(Ly(f)!==null)continue}else _=b.action;typeof _=="function"?u[c+1]=_:(u.splice(c,3),c-=3),Qy(u)}}}function Zy(n){this._internalRoot=n}Qh.prototype.render=Zy.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(d(409));var u=l.current,c=ma();Vy(u,c,n,l,null,null)},Qh.prototype.unmount=Zy.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;Vy(n.current,2,null,n,null,null),Fc(),l[Do]=null}};function Qh(n){this._internalRoot=n}Qh.prototype.unstable_scheduleHydration=function(n){if(n){var l=og();n={blockedOn:null,target:n,priority:l};for(var u=0;u<Fi.length&&l!==0&&l<Fi[u].priority;u++);Fi.splice(u,0,n),u===0&&Xy(n)}};var Ky=h.version;if(Ky!=="19.1.1")throw Error(d(527,Ky,"19.1.1"));F.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(d(188)):(n=Object.keys(n).join(","),Error(d(268,n)));return n=D(l),n=n!==null?W(n):null,n=n===null?null:n.stateNode,n};var Xn={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var _f=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!_f.isDisabled&&_f.supportsFiber)try{Ao=_f.inject(Xn),wn=_f}catch{}}return Sp.createRoot=function(n,l){if(!m(n))throw Error(d(299));var u=!1,c="",f=Po,p=Xv,b=Zr,_=null;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(c=l.identifierPrefix),l.onUncaughtError!==void 0&&(f=l.onUncaughtError),l.onCaughtError!==void 0&&(p=l.onCaughtError),l.onRecoverableError!==void 0&&(b=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(_=l.unstable_transitionCallbacks)),l=By(n,1,!1,null,null,u,c,f,p,b,_,null),n[Do]=l.current,My(n),new Zy(l)},Sp.hydrateRoot=function(n,l,u){if(!m(n))throw Error(d(299));var c=!1,f="",p=Po,b=Xv,_=Zr,O=null,B=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(f=u.identifierPrefix),u.onUncaughtError!==void 0&&(p=u.onUncaughtError),u.onCaughtError!==void 0&&(b=u.onCaughtError),u.onRecoverableError!==void 0&&(_=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(O=u.unstable_transitionCallbacks),u.formState!==void 0&&(B=u.formState)),l=By(n,1,!0,l,u??null,c,f,p,b,_,O,B),l.context=wy(null),u=l.current,c=ma(),c=Pa(c),f=In(c),f.callback=null,Gl(u,f,c),u=c,l.current.lanes=u,dc(l,u),la(l),n[Do]=l.current,My(n),new Qh(l)},Sp.version="19.1.1",Sp}var _p={};/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.development.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var c1;function HT(){return c1||(c1=1,process.env.NODE_ENV!=="production"&&(function(){function r(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function h(e,t,a,i){if(a>=t.length)return i;var o=t[a],s=Oe(e)?e.slice():He({},e);return s[o]=h(e[o],t,a+1,i),s}function v(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return d(e,t,a,0)}}function d(e,t,a,i){var o=t[i],s=Oe(e)?e.slice():He({},e);return i+1===t.length?(s[a[i]]=s[o],Oe(s)?s.splice(o,1):delete s[o]):s[o]=d(e[o],t,a,i+1),s}function m(e,t,a){var i=t[a],o=Oe(e)?e.slice():He({},e);return a+1===t.length?(Oe(o)?o.splice(i,1):delete o[i],o):(o[i]=m(e[i],t,a+1),o)}function S(){return!1}function A(){return null}function U(){}function D(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function W(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function k(){}function te(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function ne(e,t,a,i){return new vr(e,t,a,i)}function ce(e,t){e.context===Ds&&(st(e.current,2,t,e,null,null),Zc())}function fe(e,t){if(ou!==null){var a=t.staleFamilies;t=t.updatedFamilies,es(),pr(e.current,t,a),Zc()}}function Me(e){ou=e}function me(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ze(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function qt(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Be(e){if(ze(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Ze(e){var t=e.alternate;if(!t){if(t=ze(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,i=t;;){var o=a.return;if(o===null)break;var s=o.alternate;if(s===null){if(i=o.return,i!==null){a=i;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===a)return Be(o),e;if(s===i)return Be(o),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==i.return)a=o,i=s;else{for(var y=!1,g=o.child;g;){if(g===a){y=!0,a=o,i=s;break}if(g===i){y=!0,i=o,a=s;break}g=g.sibling}if(!y){for(g=s.child;g;){if(g===a){y=!0,a=s,i=o;break}if(g===i){y=!0,i=s,a=o;break}g=g.sibling}if(!y)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==i)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function mt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=mt(e),t!==null)return t;e=e.sibling}return null}function pt(e){return e===null||typeof e!="object"?null:(e=Ny&&e[Ny]||e["@@iterator"],typeof e=="function"?e:null)}function We(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Rh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Re:return"Fragment";case ps:return"Profiler";case hs:return"StrictMode";case vs:return"Suspense";case Zi:return"SuspenseList";case zy:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case to:return"Portal";case Ya:return(e.displayName||"Context")+".Provider";case Nh:return(e._context.displayName||"Context")+".Consumer";case Ku:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sf:return t=e.displayName||null,t!==null?t:We(e.type)||"Memo";case ba:t=e._payload,e=e._init;try{return We(e(t))}catch{}}return null}function Hn(e){return typeof e.tag=="number"?ve(e):typeof e.name=="string"?e.name:null}function ve(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return We(t);case 8:return t===hs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return ve(e.return)}return null}function Lt(e){return{current:e}}function vt(e,t){0>La?console.error("Unexpected pop."):(t!==ff[La]&&console.error("Unexpected Fiber popped."),e.current=rf[La],rf[La]=null,ff[La]=null,La--)}function we(e,t,a){La++,rf[La]=e.current,ff[La]=a,e.current=t}function En(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function Ia(e,t){we(au,t,e),we(ys,e,e),we(Ju,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?ct(t):yo;break;default:if(a=t.tagName,t=t.namespaceURI)t=ct(t),t=na(t,a);else switch(a){case"svg":t=gp;break;case"math":t=K0;break;default:t=yo}}a=a.toLowerCase(),a=Xp(null,a),a={context:t,ancestorInfo:a},vt(Ju,e),we(Ju,a,e)}function Tn(e){vt(Ju,e),vt(ys,e),vt(au,e)}function x(){return En(Ju.current)}function F(e){e.memoizedState!==null&&we(ms,e,e);var t=En(Ju.current),a=e.type,i=na(t.context,a);a=Xp(t.ancestorInfo,a),i={context:i,ancestorInfo:a},t!==i&&(we(ys,e,e),we(Ju,i,e))}function ee(e){ys.current===e&&(vt(Ju,e),vt(ys,e)),ms.current===e&&(vt(ms,e),Am._currentValue=qf)}function ge(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function _e(e){try{return Tt(e),!1}catch{return!0}}function Tt(e){return""+e}function ye(e,t){if(_e(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,ge(e)),Tt(e)}function ke(e,t){if(_e(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,ge(e)),Tt(e)}function ot(e){if(_e(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",ge(e)),Tt(e)}function Bn(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{Ji=t.inject(e),mn=t}catch(a){console.error("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function at(e){if(typeof nS=="function"&&hl(e),mn&&typeof mn.setStrictMode=="function")try{mn.setStrictMode(Ji,e)}catch(t){ua||(ua=!0,console.error("React instrumentation encountered an error: %s",t))}}function Wf(e){le=e}function Ws(){le!==null&&typeof le.markCommitStopped=="function"&&le.markCommitStopped()}function Ml(e){le!==null&&typeof le.markComponentRenderStarted=="function"&&le.markComponentRenderStarted(e)}function ri(){le!==null&&typeof le.markComponentRenderStopped=="function"&&le.markComponentRenderStopped()}function Fs(e){le!==null&&typeof le.markRenderStarted=="function"&&le.markRenderStarted(e)}function Ff(){le!==null&&typeof le.markRenderStopped=="function"&&le.markRenderStopped()}function sc(e,t){le!==null&&typeof le.markStateUpdateScheduled=="function"&&le.markStateUpdateScheduled(e,t)}function Bp(e){return e>>>=0,e===0?32:31-(Ch(e)/$u|0)|0}function Bb(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function rc(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function sa(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var o=0,s=e.suspendedLanes,y=e.pingedLanes;e=e.warmLanes;var g=i&134217727;return g!==0?(i=g&~s,i!==0?o=rc(i):(y&=g,y!==0?o=rc(y):a||(a=g&~e,a!==0&&(o=rc(a))))):(g=i&~s,g!==0?o=rc(g):y!==0?o=rc(y):a||(a=i&~e,a!==0&&(o=rc(a)))),o===0?0:t!==0&&t!==o&&(t&s)===0&&(s=o&-o,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:o}function Is(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function lg(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function wp(){var e=Hh;return Hh<<=1,(Hh&4194048)===0&&(Hh=256),e}function Ps(){var e=Bh;return Bh<<=1,(Bh&62914560)===0&&(Bh=4194304),e}function Vp(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function To(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function wb(e,t,a,i,o,s){var y=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var g=e.entanglements,E=e.expirationTimes,T=e.hiddenUpdates;for(a=y&~a;0<a;){var q=31-zn(a),X=1<<q;g[q]=0,E[q]=-1;var V=T[q];if(V!==null)for(T[q]=null,q=0;q<V.length;q++){var Q=V[q];Q!==null&&(Q.lane&=-536870913)}a&=~X}i!==0&&ug(e,i,0),s!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=s&~(y&~t))}function ug(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-zn(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&4194090}function Ao(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-zn(a),o=1<<i;o&t|e[i]&t&&(e[i]|=t),a&=~o}}function wn(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Au(e,t,a){if(jt)for(e=e.pendingUpdatersLaneMap;0<a;){var i=31-zn(a),o=1<<i;e[i].add(t),a&=~o}}function Jn(e,t){if(jt)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var o=31-zn(t);e=1<<o,o=a[o],0<o.size&&(o.forEach(function(s){var y=s.alternate;y!==null&&i.has(y)||i.add(s)}),o.clear()),t&=~e}}function jp(e){return e&=-e,gn<e?pl<e?(e&134217727)!==0?Wu:wh:pl:gn}function ig(){var e=Ee.p;return e!==0?e:(e=window.event,e===void 0?Wu:Mh(e.type))}function Vb(e,t){var a=Ee.p;try{return Ee.p=e,t()}finally{Ee.p=a}}function Oo(e){delete e[Nn],delete e[ia],delete e[Ry],delete e[c0],delete e[bs]}function Ou(e){var t=e[Nn];if(t)return t;for(var a=e.parentNode;a;){if(t=a[$i]||a[Nn]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=ss(e);e!==null;){if(a=e[Nn])return a;e=ss(e)}return t}e=a,a=e.parentNode}return null}function ra(e){if(e=e[Nn]||e[$i]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function fi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function zl(e){var t=e[Ss];return t||(t=e[Ss]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Pt(e){e[_s]=!0}function di(e,t){fc(e,t),fc(e+"Capture",t)}function fc(e,t){Ga[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Ga[e]=t;var a=e.toLowerCase();for(no[a]=e,e==="onDoubleClick"&&(no.ondblclick=e),e=0;e<t.length;e++)o0.add(t[e])}function hi(e,t){s0[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function dc(e){return ku.call(qh,e)?!0:ku.call(jh,e)?!1:Vh.test(e)?qh[e]=!0:(jh[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function cg(e,t,a){if(dc(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(ye(a,t),e===""+a?a:e)}}function er(e,t,a){if(dc(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}ye(a,t),e.setAttribute(t,""+a)}}function tr(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ye(a,t),e.setAttribute(t,""+a)}}function Pa(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}ye(i,a),e.setAttributeNS(t,a,""+i)}}function If(){}function og(){if(Wi===0){Uy=console.log,xy=console.info,r0=console.warn,Cy=console.error,Es=console.group,f0=console.groupCollapsed,d0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:If,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Wi++}function jb(){if(Wi--,Wi===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:He({},e,{value:Uy}),info:He({},e,{value:xy}),warn:He({},e,{value:r0}),error:He({},e,{value:Cy}),group:He({},e,{value:Es}),groupCollapsed:He({},e,{value:f0}),groupEnd:He({},e,{value:d0})})}0>Wi&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Zt(e){if(Hy===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Hy=t&&t[1]||"",pf=-1<a.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+Hy+e+pf}function en(e,t){if(!e||Ts)return"";var a=vf.get(e);if(a!==void 0)return a;Ts=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=L.H,L.H=null,og();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(se){var Q=se}Reflect.construct(e,[],V)}else{try{V.call()}catch(se){Q=se}e.call(V.prototype)}}else{try{throw Error()}catch(se){Q=se}(V=e())&&typeof V.catch=="function"&&V.catch(function(){})}}catch(se){if(se&&Q&&typeof se.stack=="string")return[se.stack,Q.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var y=o.DetermineComponentFrameRoot(),g=y[0],E=y[1];if(g&&E){var T=g.split(`
|
|
44
|
+
`),q=E.split(`
|
|
45
|
+
`);for(y=s=0;s<T.length&&!T[s].includes("DetermineComponentFrameRoot");)s++;for(;y<q.length&&!q[y].includes("DetermineComponentFrameRoot");)y++;if(s===T.length||y===q.length)for(s=T.length-1,y=q.length-1;1<=s&&0<=y&&T[s]!==q[y];)y--;for(;1<=s&&0<=y;s--,y--)if(T[s]!==q[y]){if(s!==1||y!==1)do if(s--,y--,0>y||T[s]!==q[y]){var X=`
|
|
46
|
+
`+T[s].replace(" at new "," at ");return e.displayName&&X.includes("<anonymous>")&&(X=X.replace("<anonymous>",e.displayName)),typeof e=="function"&&vf.set(e,X),X}while(1<=s&&0<=y);break}}}finally{Ts=!1,L.H=i,jb(),Error.prepareStackTrace=a}return T=(T=e?e.displayName||e.name:"")?Zt(T):"",typeof e=="function"&&vf.set(e,T),T}function Vn(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
47
|
+
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
48
|
+
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
49
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function Do(e){switch(e.tag){case 26:case 27:case 5:return Zt(e.type);case 16:return Zt("Lazy");case 13:return Zt("Suspense");case 19:return Zt("SuspenseList");case 0:case 15:return en(e.type,!1);case 11:return en(e.type.render,!1);case 1:return en(e.type,!0);case 31:return Zt("Activity");default:return""}}function Pf(e){try{var t="";do{t+=Do(e);var a=e._debugInfo;if(a)for(var i=a.length-1;0<=i;i--){var o=a[i];if(typeof o.name=="string"){var s=t,y=o.env,g=Zt(o.name+(y?" ["+y+"]":""));t=s+g}}e=e.return}while(e);return t}catch(E){return`
|
|
50
|
+
Error generating stack: `+E.message+`
|
|
51
|
+
`+E.stack}}function sg(e){return(e=e?e.displayName||e.name:"")?Zt(e):""}function ed(){if(Sa===null)return null;var e=Sa._debugOwner;return e!=null?Hn(e):null}function rg(){if(Sa===null)return"";var e=Sa;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Zt(e.type);break;case 13:t+=Zt("Suspense");break;case 19:t+=Zt("SuspenseList");break;case 31:t+=Zt("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=sg(e.type));break;case 11:e._debugOwner||t!==""||(t+=sg(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var i=a._debugStack;e&&i&&(typeof i!="string"&&(a._debugStack=i=Vn(i)),i!==""&&(t+=`
|
|
52
|
+
`+i))}else if(e.debugStack!=null){var o=e.debugStack;(e=e.owner)&&o&&(t+=`
|
|
53
|
+
`+Vn(o))}else break;var s=t}catch(y){s=`
|
|
54
|
+
Error generating stack: `+y.message+`
|
|
55
|
+
`+y.stack}return s}function oe(e,t,a,i,o,s,y){var g=Sa;nr(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,i,o,s,y)):t(a,i,o,s,y)}finally{nr(g)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function nr(e){L.getCurrentStack=e===null?null:rg,ca=!1,Sa=e}function rn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return ot(e),e;default:return""}}function hc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ar(e){var t=hc(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);ot(e[t]);var i=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,s=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(y){ot(y),i=""+y,s.call(this,y)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return i},setValue:function(y){ot(y),i=""+y},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Du(e){e._valueTracker||(e._valueTracker=ar(e))}function Kt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=hc(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function lr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function fa(e){return e.replace(aS,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function pi(e,t){t.checked===void 0||t.defaultChecked===void 0||wy||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ed()||"A component",t.type),wy=!0),t.value===void 0||t.defaultValue===void 0||By||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",ed()||"A component",t.type),By=!0)}function vi(e,t,a,i,o,s,y,g){e.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(ye(y,"type"),e.type=y):e.removeAttribute("type"),t!=null?y==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+rn(t)):e.value!==""+rn(t)&&(e.value=""+rn(t)):y!=="submit"&&y!=="reset"||e.removeAttribute("value"),t!=null?td(e,y,rn(t)):a!=null?td(e,y,rn(a)):i!=null&&e.removeAttribute("value"),o==null&&s!=null&&(e.defaultChecked=!!s),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(ye(g,"name"),e.name=""+rn(g)):e.removeAttribute("name")}function fg(e,t,a,i,o,s,y,g){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(ye(s,"type"),e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;a=a!=null?""+rn(a):"",t=t!=null?""+rn(t):a,g||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=g?e.checked:!!i,e.defaultChecked=!!i,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(ye(y,"name"),e.name=y)}function td(e,t,a){t==="number"&&lr(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function qp(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?cf.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||jy||(jy=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||Yh||(Yh=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Vy||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Vy=!0)}function dg(){var e=ed();return e?`
|
|
56
|
+
|
|
57
|
+
Check the render method of \``+e+"`.":""}function Mu(e,t,a,i){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&i&&(e[a].defaultSelected=!0)}else{for(a=""+rn(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function ur(e,t){for(e=0;e<yf.length;e++){var a=yf[e];if(t[a]!=null){var i=Oe(t[a]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,dg()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,dg())}}t.value===void 0||t.defaultValue===void 0||qy||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),qy=!0)}function Nl(e,t){t.value===void 0||t.defaultValue===void 0||h0||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",ed()||"A component"),h0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function nd(e,t,a){if(t!=null&&(t=""+rn(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+rn(a):""}function Yp(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Oe(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}a=i}a==null&&(a=""),t=a}a=rn(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i)}function pc(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?pc(e.children[0],t):e}function jn(e){return" "+" ".repeat(e)}function yi(e){return"+ "+" ".repeat(e)}function vc(e){return"- "+" ".repeat(e)}function Lp(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function An(e,t){return p0.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function ir(e,t,a){var i=120-2*a;if(t===null)return yi(a)+An(e,i)+`
|
|
58
|
+
`;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>i-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),yi(a)+An(e,i)+`
|
|
59
|
+
`+vc(a)+An(t,i)+`
|
|
60
|
+
`}return jn(a)+An(e,i)+`
|
|
61
|
+
`}function Gp(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function mi(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(Oe(e))return"[...]";if(e.$$typeof===Qi)return(t=We(e.type))?"<"+t+">":"<...>";var a=Gp(e);if(a==="Object"){a="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),t-=i.length-2,o=mi(e[i],15>t?t:15),t-=o.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+i+":"+o}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function yc(e,t){return typeof e!="string"||p0.test(e)?"{"+mi(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function Mo(e,t,a){var i=120-a.length-e.length,o=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var y=yc(t[s],120-a.length-s.length-1);i-=s.length+y.length+2,o.push(s+"="+y)}return o.length===0?a+"<"+e+`>
|
|
62
|
+
`:0<i?a+"<"+e+" "+o.join(" ")+`>
|
|
63
|
+
`:a+"<"+e+`
|
|
64
|
+
`+a+" "+o.join(`
|
|
65
|
+
`+a+" ")+`
|
|
66
|
+
`+a+`>
|
|
67
|
+
`}function qb(e,t,a){var i="",o=He({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete o[s];var y=120-2*a-s.length-2,g=mi(e[s],y);t.hasOwnProperty(s)?(y=mi(t[s],y),i+=yi(a)+s+": "+g+`
|
|
68
|
+
`,i+=vc(a)+s+": "+y+`
|
|
69
|
+
`):i+=yi(a)+s+": "+g+`
|
|
70
|
+
`}for(var E in o)o.hasOwnProperty(E)&&(e=mi(o[E],120-2*a-E.length-2),i+=vc(a)+E+": "+e+`
|
|
71
|
+
`);return i}function Ma(e,t,a,i){var o="",s=new Map;for(T in a)a.hasOwnProperty(T)&&s.set(T.toLowerCase(),T);if(s.size===1&&s.has("children"))o+=Mo(e,t,jn(i));else{for(var y in t)if(t.hasOwnProperty(y)&&y!=="children"){var g=120-2*(i+1)-y.length-1,E=s.get(y.toLowerCase());if(E!==void 0){s.delete(y.toLowerCase());var T=t[y];E=a[E];var q=yc(T,g);g=yc(E,g),typeof T=="object"&&T!==null&&typeof E=="object"&&E!==null&&Gp(T)==="Object"&&Gp(E)==="Object"&&(2<Object.keys(T).length||2<Object.keys(E).length||-1<q.indexOf("...")||-1<g.indexOf("..."))?o+=jn(i+1)+y+`={{
|
|
72
|
+
`+qb(T,E,i+2)+jn(i+1)+`}}
|
|
73
|
+
`:(o+=yi(i+1)+y+"="+q+`
|
|
74
|
+
`,o+=vc(i+1)+y+"="+g+`
|
|
75
|
+
`)}else o+=jn(i+1)+y+"="+yc(t[y],g)+`
|
|
76
|
+
`}s.forEach(function(X){if(X!=="children"){var V=120-2*(i+1)-X.length-1;o+=vc(i+1)+X+"="+yc(a[X],V)+`
|
|
77
|
+
`}}),o=o===""?jn(i)+"<"+e+`>
|
|
78
|
+
`:jn(i)+"<"+e+`
|
|
79
|
+
`+o+jn(i)+`>
|
|
80
|
+
`}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(s="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=""+t),o+=ir(s,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+ir(""+t,null,i+1):o+ir(""+t,void 0,i+1)),o}function ad(e,t){var a=Lp(e);if(a===null){for(a="",e=e.child;e;)a+=ad(e,t),e=e.sibling;return a}return jn(t)+"<"+a+`>
|
|
81
|
+
`}function ld(e,t){var a=pc(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return jn(t)+`...
|
|
82
|
+
`+ld(a,t+1);a="";var i=e.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var s=i[o].name;typeof s=="string"&&(a+=jn(t)+"<"+s+`>
|
|
83
|
+
`,t++)}if(i="",o=e.fiber.pendingProps,e.fiber.tag===6)i=ir(o,e.serverProps,t),t++;else if(s=Lp(e.fiber),s!==null)if(e.serverProps===void 0){i=t;var y=120-2*i-s.length-2,g="";for(T in o)if(o.hasOwnProperty(T)&&T!=="children"){var E=yc(o[T],15);if(y-=T.length+E.length+2,0>y){g+=" ...";break}g+=" "+T+"="+E}i=jn(i)+"<"+s+g+`>
|
|
84
|
+
`,t++}else e.serverProps===null?(i=Mo(s,o,yi(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(i=Ma(s,o,e.serverProps,t),t++);var T="";for(o=e.fiber.child,s=0;o&&s<e.children.length;)y=e.children[s],y.fiber===o?(T+=ld(y,t),s++):T+=ad(o,t),o=o.sibling;for(o&&0<e.children.length&&(T+=jn(t)+`...
|
|
85
|
+
`),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)s=o[e],T=typeof s=="string"?T+(vc(t)+An(s,120-2*t)+`
|
|
86
|
+
`):T+Mo(s.type,s.props,vc(t));return a+i+T}function cr(e){try{return`
|
|
87
|
+
|
|
88
|
+
`+ld(e,0)}catch{return""}}function mc(e,t,a){for(var i=t,o=null,s=0;i;)i===e&&(s=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===t?a:i===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,i=i.return;return o!==null?cr(o).replaceAll(/^[+-]/gm,">"):""}function Xp(e,t){var a=He({},e||Gy),i={tag:t};return Lh.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),Gh.indexOf(t)!==-1&&(a.pTagInButtonScope=null),Yy.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Qp(e,t,a){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Ly.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function zo(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function hg(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function ud(e,t){t=t||Gy;var a=t.current;if(t=(a=Qp(e,a&&a.tag,t.implicitRootScope)?null:a)?null:zo(e,t),t=a||t,!t)return!0;var i=t.tag;if(t=String(!!a)+"|"+e+"|"+i,As[t])return!1;As[t]=!0;var o=(t=Sa)?hg(t.return,i):null,s=t!==null&&o!==null?mc(o,t,null):"",y="<"+e+">";return a?(a="",i==="table"&&e==="tr"&&(a+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
89
|
+
This will cause a hydration error.%s`,y,i,a,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
90
|
+
This will cause a hydration error.%s`,y,i,s),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||oe(o,function(){console.error(`<%s> cannot contain a nested %s.
|
|
91
|
+
See this log for the ancestor stack trace.`,i,y)})),!1}function or(e,t,a){if(a||Qp("#text",t,!1))return!0;if(a="#text|"+t,As[a])return!1;As[a]=!0;var i=(a=Sa)?hg(a,t):null;return a=a!==null&&i!==null?mc(i,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
92
|
+
This will cause a hydration error.%s`,t,a):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
93
|
+
This will cause a hydration error.%s`,t,a),!1}function gc(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function Yb(e){return e.replace(Fi,function(t,a){return a.toUpperCase()})}function pg(e,t,a){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?ao.hasOwnProperty(t)&&ao[t]||(ao[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Yb(t.replace(gf,"ms-")))):mf.test(t)?ao.hasOwnProperty(t)&&ao[t]||(ao[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!v0.test(a)||lo.hasOwnProperty(a)&&lo[a]||(lo[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(v0,""))),typeof a=="number"&&(isNaN(a)?y0||(y0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||Xy||(Xy=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||bf.has(t)?t==="float"?e.cssFloat=a:(ke(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function sr(e,t,a){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,a!=null){if(t){var i={};if(a){for(var o in a)if(a.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var s=uu[o]||[o],y=0;y<s.length;y++)i[s[y]]=o}for(var g in t)if(t.hasOwnProperty(g)&&(!a||a[g]!==t[g]))for(o=uu[g]||[g],s=0;s<o.length;s++)i[o[s]]=g;g={};for(var E in t)for(o=uu[E]||[E],s=0;s<o.length;s++)g[o[s]]=E;E={};for(var T in i)if(o=i[T],(s=g[T])&&o!==s&&(y=o+","+s,!E[y])){E[y]=!0,y=console;var q=t[o];y.error.call(y,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",q==null||typeof q=="boolean"||q===""?"Removing":"Updating",o,s)}}for(var X in a)!a.hasOwnProperty(X)||t!=null&&t.hasOwnProperty(X)||(X.indexOf("--")===0?e.setProperty(X,""):X==="float"?e.cssFloat="":e[X]="");for(var V in t)T=t[V],t.hasOwnProperty(V)&&a[V]!==T&&pg(e,V,T)}else for(i in t)t.hasOwnProperty(i)&&pg(e,i,t[i])}function bc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function id(e){return Xh.get(e)||e}function No(e,t){if(ku.call(iu,t)&&iu[t])return!0;if(Qh.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Qy.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),iu[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),iu[t]=!0}if(Zy.test(t)){if(e=t.toLowerCase(),e=Qy.hasOwnProperty(e)?e:null,e==null)return iu[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),iu[t]=!0)}return!0}function Ro(e,t){var a=[],i;for(i in t)No(e,i)||a.push(i);t=a.map(function(o){return"`"+o+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function vg(e,t,a,i){if(ku.call(Xn,t)&&Xn[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Xn[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),Xn[t]=!0;if(_f.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Xn[t]=!0}else if(_f.test(t))return n.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Xn[t]=!0;if(l.test(t)||u.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Xn[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Xn[t]=!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),Xn[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Xn[t]=!0;if(uo.hasOwnProperty(o)){if(o=uo[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),Xn[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),Xn[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof a){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(a?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',a,t,t,a,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',a,t,t,a,t,t,t),Xn[t]=!0)}case"function":case"symbol":return Xn[t]=!0,!1;case"string":if(a==="false"||a==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",a,t,a==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,a),Xn[t]=!0}}return!0}function Zp(e,t,a){var i=[],o;for(o in t)vg(e,o,t[o],a)||i.push(o);t=i.map(function(s){return"`"+s+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<i.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Uo(e){return c.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Sc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Rl(e){var t=ra(e);if(t&&(e=t.stateNode)){var a=e[ia]||null;e:switch(e=t.stateNode,t.type){case"input":if(vi(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(ye(t,"name"),a=a.querySelectorAll('input[name="'+fa(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var o=i[ia]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");vi(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&Kt(i)}break e;case"textarea":nd(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Mu(e,!!a.multiple,t,!1)}}}function cd(e,t,a){if(_)return e(t,a);_=!0;try{var i=e(t);return i}finally{if(_=!1,(p!==null||b!==null)&&(Zc(),p&&(t=p,e=b,b=p=null,Rl(t),e)))for(t=0;t<e.length;t++)Rl(e[t])}}function zu(e,t){var a=e.stateNode;if(a===null)return null;var i=a[ia]||null;if(i===null)return null;a=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Nu(){if(Y)return Y;var e,t=j,a=t.length,i,o="value"in $?$.value:$.textContent,s=o.length;for(e=0;e<a&&t[e]===o[e];e++);var y=a-e;for(i=1;i<=y&&t[a-i]===o[s-i];i++);return Y=o.slice(e,1<i?1-i:void 0)}function xo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function _c(){return!0}function Kp(){return!1}function fn(e){function t(a,i,o,s,y){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=s,this.target=y,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(a=e[g],this[g]=a?a(s):s[g]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?_c:Kp,this.isPropagationStopped=Kp,this}return He(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=_c)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=_c)},persist:function(){},isPersistent:_c}),t}function od(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=wO[e])?!!t[e]:!1}function sd(){return od}function qn(e,t){switch(e){case"keyup":return kO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==B_;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function gi(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function rd(e,t){switch(e){case"compositionend":return gi(t);case"keypress":return t.which!==V_?null:(q_=!0,j_);case"textInput":return e=t.data,e===j_&&q_?null:e;default:return null}}function rr(e,t){if(Zh)return e==="compositionend"||!uS&&qn(e,t)?(e=Nu(),Y=j=$=null,Zh=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return w_&&t.locale!=="ko"?null:t.data;default:return null}}function yg(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!WO[e.type]:t==="textarea"}function Jp(e){if(!O)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function fd(e,t,a,i){p?b?b.push(i):b=[i]:p=i,t=Fr(t,"onChange"),0<t.length&&(a=new pe("onChange","change",null,a,i),e.push({event:a,listeners:t}))}function fr(e){Fl(e,0)}function Ec(e){var t=fi(e);if(Kt(t))return e}function kp(e,t){if(e==="change")return t}function mg(){ky&&(ky.detachEvent("onpropertychange",gg),$y=ky=null)}function gg(e){if(e.propertyName==="value"&&Ec($y)){var t=[];fd(t,$y,e,Sc(e)),cd(fr,t)}}function Lb(e,t,a){e==="focusin"?(mg(),ky=t,$y=a,ky.attachEvent("onpropertychange",gg)):e==="focusout"&&mg()}function $p(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ec($y)}function Gb(e,t){if(e==="click")return Ec(t)}function Xb(e,t){if(e==="input"||e==="change")return Ec(t)}function Qb(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function dr(e,t){if(_a(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var o=a[i];if(!ku.call(t,o)||!_a(e[o],t[o]))return!1}return!0}function bg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Wp(e,t){var a=bg(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=bg(a)}}function Sg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function _g(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=lr(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=lr(e.document)}return t}function Fp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Eg(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;cS||Kh==null||Kh!==lr(i)||(i=Kh,"selectionStart"in i&&Fp(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Wy&&dr(Wy,i)||(Wy=i,i=Fr(iS,"onSelect"),0<i.length&&(t=new pe("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=Kh)))}function Ru(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function Tc(e){if(oS[e])return oS[e];if(!Jh[e])return e;var t=Jh[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in L_)return oS[e]=t[a];return e}function el(e,t){K_.set(e,t),di(t,[e])}function da(e,t){if(typeof e=="object"&&e!==null){var a=rS.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Pf(t)},rS.set(e,t),t)}return{value:e,source:t,stack:Pf(t)}}function hr(){for(var e=kh,t=fS=kh=0;t<e;){var a=cu[t];cu[t++]=null;var i=cu[t];cu[t++]=null;var o=cu[t];cu[t++]=null;var s=cu[t];if(cu[t++]=null,i!==null&&o!==null){var y=i.pending;y===null?o.next=o:(o.next=y.next,y.next=o),i.pending=o}s!==0&&Tg(a,o,s)}}function dd(e,t,a,i){cu[kh++]=e,cu[kh++]=t,cu[kh++]=a,cu[kh++]=i,fS|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Ip(e,t,a,i){return dd(e,t,a,i),hd(e)}function kn(e,t){return dd(e,null,null,t),hd(e)}function Tg(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var o=!1,s=e.return;s!==null;)s.childLanes|=a,i=s.alternate,i!==null&&(i.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&m0||(o=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,o&&t!==null&&(o=31-zn(a),e=s.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=a|536870912),s):null}function hd(e){if(gm>bD)throw Hf=gm=0,bm=LS=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Hf>SD&&(Hf=0,bm=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&dl(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&dl(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function Ac(e){if(ou===null)return e;var t=ou(e);return t===void 0?e:t.current}function Pp(e){if(ou===null)return e;var t=ou(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Ac(e.render),e.render!==t)?(t={$$typeof:Ku,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Ag(e,t){if(ou===null)return!1;var a=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===ba)&&(i=!0);break;case 11:(o===Ku||o===ba)&&(i=!0);break;case 14:case 15:(o===sf||o===ba)&&(i=!0);break;default:return!1}return!!(i&&(e=ou(a),e!==void 0&&e===ou(t)))}function Og(e){ou!==null&&typeof WeakSet=="function"&&($h===null&&($h=new WeakSet),$h.add(e))}function pr(e,t,a){var i=e.alternate,o=e.child,s=e.sibling,y=e.tag,g=e.type,E=null;switch(y){case 0:case 15:case 1:E=g;break;case 11:E=g.render}if(ou===null)throw Error("Expected resolveFamily to be set during hot reload.");var T=!1;g=!1,E!==null&&(E=ou(E),E!==void 0&&(a.has(E)?g=!0:t.has(E)&&(y===1?g=!0:T=!0))),$h!==null&&($h.has(e)||i!==null&&$h.has(i))&&(g=!0),g&&(e._debugNeedsRemount=!0),(g||T)&&(i=kn(e,2),i!==null&&Ct(i,e,2)),o===null||g||pr(o,t,a),s!==null&&pr(s,t,a)}function vr(e,t,a,i){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,k_||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function ev(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ul(e,t){var a=e.alternate;switch(a===null?(a=ne(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=Ac(e.type);break;case 1:a.type=Ac(e.type);break;case 11:a.type=Pp(e.type)}return a}function tv(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function pd(e,t,a,i,o,s){var y=0,g=e;if(typeof e=="function")ev(e)&&(y=1),g=Ac(g);else if(typeof e=="string")y=x(),y=fs(e,a,y)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case zy:return t=ne(31,a,t,o),t.elementType=zy,t.lanes=s,t;case Re:return bi(a.children,o,s,t);case hs:y=8,o|=oa,o|=Pu;break;case ps:return e=a,i=o,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=ne(12,e,t,i|Qn),t.elementType=ps,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case vs:return t=ne(13,a,t,o),t.elementType=vs,t.lanes=s,t;case Zi:return t=ne(19,a,t,o),t.elementType=Zi,t.lanes=s,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case My:case Ya:y=10;break e;case Nh:y=9;break e;case Ku:y=11,g=Pp(g);break e;case sf:y=14;break e;case ba:y=16,g=null;break e}g="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?a="null":Oe(e)?a="array":e!==void 0&&e.$$typeof===Qi?(a="<"+(We(e.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(y=i?Hn(i):null)&&(g+=`
|
|
94
|
+
|
|
95
|
+
Check the render method of \``+y+"`."),y=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+g)),g=null}return t=ne(y,a,t,o),t.elementType=e,t.type=g,t.lanes=s,t._debugOwner=i,t}function yr(e,t,a){return t=pd(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function bi(e,t,a,i){return e=ne(7,e,i,t),e.lanes=a,e}function Si(e,t,a){return e=ne(6,e,null,t),e.lanes=a,e}function nv(e,t,a){return t=ne(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Oc(e,t){tl(),Wh[Fh++]=b0,Wh[Fh++]=g0,g0=e,b0=t}function Dg(e,t,a){tl(),su[ru++]=co,su[ru++]=oo,su[ru++]=Ef,Ef=e;var i=co;e=oo;var o=32-zn(i)-1;i&=~(1<<o),a+=1;var s=32-zn(t)+o;if(30<s){var y=o-o%5;s=(i&(1<<y)-1).toString(32),i>>=y,o-=y,co=1<<32-zn(t)+o|a<<o|i,oo=s+e}else co=1<<s|a<<o|i,oo=e}function vd(e){tl(),e.return!==null&&(Oc(e,1),Dg(e,1,0))}function yd(e){for(;e===g0;)g0=Wh[--Fh],Wh[Fh]=null,b0=Wh[--Fh],Wh[Fh]=null;for(;e===Ef;)Ef=su[--ru],su[ru]=null,oo=su[--ru],su[ru]=null,co=su[--ru],su[ru]=null}function tl(){nt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function nl(e,t){if(e.return===null){if(fu===null)fu={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(fu.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");fu.distanceFromLeaf>t&&(fu.distanceFromLeaf=t)}return fu}var a=nl(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function av(e,t){so||(e=nl(e,0),e.serverProps=null,t!==null&&(t=bh(t),e.serverTail.push(t)))}function xl(e){var t="",a=fu;throw a!==null&&(fu=null,t=cr(a)),Co(da(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
96
|
+
|
|
97
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
98
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
99
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
100
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
101
|
+
- Invalid HTML tag nesting.
|
|
102
|
+
|
|
103
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
104
|
+
|
|
105
|
+
https://react.dev/link/hydration-mismatch`+t),e)),dS}function lv(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[Nn]=e,t[ia]=i,Il(a,i),a){case"dialog":Ye("cancel",t),Ye("close",t);break;case"iframe":case"object":case"embed":Ye("load",t);break;case"video":case"audio":for(a=0;a<Sm.length;a++)Ye(Sm[a],t);break;case"source":Ye("error",t);break;case"img":case"image":case"link":Ye("error",t),Ye("load",t);break;case"details":Ye("toggle",t);break;case"input":hi("input",i),Ye("invalid",t),pi(t,i),fg(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),Du(t);break;case"option":qp(t,i);break;case"select":hi("select",i),Ye("invalid",t),ur(t,i);break;case"textarea":hi("textarea",i),Ye("invalid",t),Nl(t,i),Yp(t,i.value,i.defaultValue,i.children),Du(t)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||iy(t.textContent,a)?(i.popover!=null&&(Ye("beforetoggle",t),Ye("toggle",t)),i.onScroll!=null&&Ye("scroll",t),i.onScrollEnd!=null&&Ye("scrollend",t),i.onClick!=null&&(t.onclick=Gu),t=!0):t=!1,t||xl(e)}function uv(e){for(Ea=e.return;Ea;)switch(Ea.tag){case 5:case 13:Pi=!1;return;case 27:case 3:Pi=!0;return;default:Ea=Ea.return}}function Dc(e){if(e!==Ea)return!1;if(!nt)return uv(e),nt=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||Pl(e.type,e.memoizedProps)),a=!a),a&&Xt){for(a=Xt;a;){var i=nl(e,0),o=bh(a);i.serverTail.push(o),a=o.type==="Suspense"?py(a):yn(a.nextSibling)}xl(e)}if(uv(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Xt=py(e)}else t===27?(t=Xt,eu(e.type)?(e=PS,PS=null,Xt=e):Xt=t):Xt=Ea?yn(e.stateNode.nextSibling):null;return!0}function Mc(){Xt=Ea=null,so=nt=!1}function iv(){var e=Tf;return e!==null&&(Oa===null?Oa=e:Oa.push.apply(Oa,e),Tf=null),e}function Co(e){Tf===null?Tf=[e]:Tf.push(e)}function cv(){var e=fu;if(e!==null){fu=null;for(var t=cr(e);0<e.children.length;)e=e.children[0];oe(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
106
|
+
|
|
107
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
108
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
109
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
110
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
111
|
+
- Invalid HTML tag nesting.
|
|
112
|
+
|
|
113
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
114
|
+
|
|
115
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function md(){Ih=S0=null,Ph=!1}function _i(e,t,a){we(hS,t._currentValue,e),t._currentValue=a,we(pS,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==I_&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=I_}function Uu(e,t){e._currentValue=hS.current;var a=pS.current;vt(pS,t),e._currentRenderer=a,vt(hS,t)}function ov(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}e!==a&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function sv(e,t,a,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){var y=o.child;s=s.firstContext;e:for(;s!==null;){var g=s;s=o;for(var E=0;E<t.length;E++)if(g.context===t[E]){s.lanes|=a,g=s.alternate,g!==null&&(g.lanes|=a),ov(s.return,a,e),i||(y=null);break e}s=g.next}}else if(o.tag===18){if(y=o.return,y===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");y.lanes|=a,s=y.alternate,s!==null&&(s.lanes|=a),ov(y,a,e),y=null}else y=o.child;if(y!==null)y.return=o;else for(y=o;y!==null;){if(y===e){y=null;break}if(o=y.sibling,o!==null){o.return=y.return,y=o;break}y=y.return}o=y}}function dn(e,t,a,i){e=null;for(var o=t,s=!1;o!==null;){if(!s){if((o.flags&524288)!==0)s=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var y=o.alternate;if(y===null)throw Error("Should have a current fiber. This is a bug in React.");if(y=y.memoizedProps,y!==null){var g=o.type;_a(o.pendingProps.value,y.value)||(e!==null?e.push(g):e=[g])}}else if(o===ms.current){if(y=o.alternate,y===null)throw Error("Should have a current fiber. This is a bug in React.");y.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(Am):e=[Am])}o=o.return}e!==null&&sv(t,e,a,i),t.flags|=262144}function Ei(e){for(e=e.firstContext;e!==null;){if(!_a(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ti(e){S0=e,Ih=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function bt(e){return Ph&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),rv(S0,e)}function mr(e,t){return S0===null&&Ti(e),rv(e,t)}function rv(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Ih===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Ih=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Ih=Ih.next=t;return a}function gr(){return{controller:new lD,data:new Map,refCount:0}}function zc(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Cl(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&uD(iD,function(){e.controller.abort()})}function al(){var e=Af;return Af=0,e}function Ai(e){var t=Af;return Af=e,t}function Nc(e){var t=Af;return Af+=e,t}function gd(e){Xa=ep(),0>e.actualStartTime&&(e.actualStartTime=Xa)}function xu(e){if(0<=Xa){var t=ep()-Xa;e.actualDuration+=t,e.selfBaseDuration=t,Xa=-1}}function Rc(e){if(0<=Xa){var t=ep()-Xa;e.actualDuration+=t,Xa=-1}}function za(){if(0<=Xa){var e=ep()-Xa;Xa=-1,Af+=e}}function ll(){Xa=ep()}function Hl(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Mg(e,t){if(Fy===null){var a=Fy=[];vS=0,Of=ty(),tp={status:"pending",value:void 0,then:function(i){a.push(i)}}}return vS++,t.then(fv,fv),t}function fv(){if(--vS===0&&Fy!==null){tp!==null&&(tp.status="fulfilled");var e=Fy;Fy=null,Of=0,tp=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function zg(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}function dv(){var e=Df.current;return e!==null?e:St.pooledCache}function bd(e,t){t===null?we(Df,Df.current,e):we(Df,t.pool,e)}function Ng(){var e=dv();return e===null?null:{parent:bn._currentValue,pool:e}}function hv(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function pv(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Ho(){}function Na(e,t,a){L.actQueue!==null&&(L.didUsePromise=!0);var i=e.thenables;switch(a=i[a],a===void 0?i.push(t):a!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(Ho,Ho),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ha(e),e;default:if(typeof t.status=="string")t.then(Ho,Ho);else{if(e=St,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(o){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=o}},function(o){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ha(e),e}throw um=t,D0=!0,lm}}function vv(){if(um===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=um;return um=null,D0=!1,e}function ha(e){if(e===lm||e===O0)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function $n(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Oi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Bl(e){return{lane:e,tag:aE,payload:null,callback:null,next:null}}function ul(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,gS===i&&!iE){var o=ve(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
116
|
+
|
|
117
|
+
Please update the following component: %s`,o),iE=!0}return(rt&Aa)!==vl?(o=i.pending,o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=hd(e),Tg(e,null,a),t):(dd(e,i,t,a),hd(e))}function Di(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Ao(e,a)}}function Bo(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var o=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var y={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?o=s=y:s=s.next=y,a=a.next}while(a!==null);s===null?o=s=t:s=s.next=t}else o=s=t;a={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function wl(){if(bS){var e=tp;if(e!==null)throw e}}function wo(e,t,a,i){bS=!1;var o=e.updateQueue;Ms=!1,gS=o.shared;var s=o.firstBaseUpdate,y=o.lastBaseUpdate,g=o.shared.pending;if(g!==null){o.shared.pending=null;var E=g,T=E.next;E.next=null,y===null?s=T:y.next=T,y=E;var q=e.alternate;q!==null&&(q=q.updateQueue,g=q.lastBaseUpdate,g!==y&&(g===null?q.firstBaseUpdate=T:g.next=T,q.lastBaseUpdate=E))}if(s!==null){var X=o.baseState;y=0,q=T=E=null,g=s;do{var V=g.lane&-536870913,Q=V!==g.lane;if(Q?(Qe&V)===V:(i&V)===V){V!==0&&V===Of&&(bS=!0),q!==null&&(q=q.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{V=e;var se=g,Te=t,_t=a;switch(se.tag){case lE:if(se=se.payload,typeof se=="function"){Ph=!0;var Je=se.call(_t,X,Te);if(V.mode&oa){at(!0);try{se.call(_t,X,Te)}finally{at(!1)}}Ph=!1,X=Je;break e}X=se;break e;case mS:V.flags=V.flags&-65537|128;case aE:if(Je=se.payload,typeof Je=="function"){if(Ph=!0,se=Je.call(_t,X,Te),V.mode&oa){at(!0);try{Je.call(_t,X,Te)}finally{at(!1)}}Ph=!1}else se=Je;if(se==null)break e;X=He({},X,se);break e;case uE:Ms=!0}}V=g.callback,V!==null&&(e.flags|=64,Q&&(e.flags|=8192),Q=o.callbacks,Q===null?o.callbacks=[V]:Q.push(V))}else Q={lane:V,tag:g.tag,payload:g.payload,callback:g.callback,next:null},q===null?(T=q=Q,E=X):q=q.next=Q,y|=V;if(g=g.next,g===null){if(g=o.shared.pending,g===null)break;Q=g,g=Q.next,Q.next=null,o.lastBaseUpdate=Q,o.shared.pending=null}}while(!0);q===null&&(E=X),o.baseState=E,o.firstBaseUpdate=T,o.lastBaseUpdate=q,s===null&&(o.shared.lanes=0),Us|=y,e.lanes=y,e.memoizedState=X}gS=null}function br(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Vo(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)br(a[e],t)}function Rg(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)br(a[e],t)}function Wn(e,t){var a=nc;we(M0,a,e),we(np,t,e),nc=a|t.baseLanes}function Sr(e){we(M0,nc,e),we(np,np.current,e)}function il(e){nc=M0.current,vt(np,e),vt(M0,e)}function Ve(){var e=G;pu===null?pu=[e]:pu.push(e)}function I(){var e=G;if(pu!==null&&(fo++,pu[fo]!==e)){var t=ve(De);if(!cE.has(t)&&(cE.add(t),pu!==null)){for(var a="",i=0;i<=fo;i++){var o=pu[i],s=i===fo?e:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=s+`
|
|
118
|
+
`,a+=o}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
119
|
+
|
|
120
|
+
Previous render Next render
|
|
121
|
+
------------------------------------------------------
|
|
122
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
123
|
+
`,t,a)}}}function Ra(e){e==null||Oe(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",G,typeof e)}function jo(){var e=ve(De);sE.has(e)||(sE.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function zt(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
124
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
125
|
+
2. You might be breaking the Rules of Hooks
|
|
126
|
+
3. You might have more than one copy of React in the same app
|
|
127
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Mi(e,t){if(cm)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",G),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
128
|
+
|
|
129
|
+
Previous: %s
|
|
130
|
+
Incoming: %s`,G,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!_a(e[a],t[a]))return!1;return!0}function zi(e,t,a,i,o,s){zs=s,De=t,pu=e!==null?e._debugHookTypes:null,fo=-1,cm=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(s=ve(De),SS.has(s)||(SS.add(s),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",s===null?"An unknown Component":"<"+s+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e!==null&&e.memoizedState!==null?ES:pu!==null?rE:_S,zf=s=(t.mode&oa)!==Dt;var y=TS(a,i,o);if(zf=!1,lp&&(y=qo(t,a,i,o)),s){at(!0);try{y=qo(t,a,i,o)}finally{at(!1)}}return _r(e,t),y}function _r(e,t){t._debugHookTypes=pu,t.dependencies===null?ro!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:ro}):t.dependencies._debugThenableState=ro,L.H=R0;var a=gt!==null&>.next!==null;if(zs=0,pu=G=cn=gt=De=null,fo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),z0=!1,im=0,ro=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Rn||(e=e.dependencies,e!==null&&Ei(e)&&(Rn=!0)),D0?(D0=!1,e=!0):e=!1,e&&(t=ve(t)||"Unknown",oE.has(t)||SS.has(t)||(oE.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function qo(e,t,a,i){De=e;var o=0;do{if(lp&&(ro=null),im=0,lp=!1,o>=oD)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,cm=!1,cn=gt=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}fo=-1,L.H=fE,s=TS(t,a,i)}while(lp);return s}function Ua(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?Uc(t):t,e=e.useState()[0],(gt!==null?gt.memoizedState:null)!==e&&(De.flags|=1024),t}function Fn(){var e=N0!==0;return N0=0,e}function Cu(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&Pu)!==Dt?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function cl(e){if(z0){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}z0=!1}zs=0,pu=cn=gt=De=null,fo=-1,G=null,lp=!1,im=N0=0,ro=null}function Ut(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return cn===null?De.memoizedState=cn=e:cn=cn.next=e,cn}function Ke(){if(gt===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=gt.next;var t=cn===null?De.memoizedState:cn.next;if(t!==null)cn=t,gt=e;else{if(e===null)throw De.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");gt=e,e={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},cn===null?De.memoizedState=cn=e:cn=cn.next=e}return cn}function Sd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Uc(e){var t=im;return im+=1,ro===null&&(ro=hv()),e=Na(ro,e,t),t=De,(cn===null?t.memoizedState:cn.next)===null&&(t=t.alternate,L.H=t!==null&&t.memoizedState!==null?ES:_S),e}function Vl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Uc(e);if(e.$$typeof===Ya)return bt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Yt(e){var t=null,a=De.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=De.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Sd(),De.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||cm)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=u0;else a.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",a.length,e);return t.index++,a}function Pe(e,t){return typeof t=="function"?t(e):t}function Fe(e,t,a){var i=Ut();if(a!==void 0){var o=a(t);if(zf){at(!0);try{a(t)}finally{at(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=Av.bind(null,De,e),[i.memoizedState,e]}function xa(e){var t=Ke();return Ca(t,gt,e)}function Ca(e,t,a){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=a;var o=e.baseQueue,s=i.pending;if(s!==null){if(o!==null){var y=o.next;o.next=s.next,s.next=y}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=s,i.pending=null}if(s=e.baseState,o===null)e.memoizedState=s;else{t=o.next;var g=y=null,E=null,T=t,q=!1;do{var X=T.lane&-536870913;if(X!==T.lane?(Qe&X)===X:(zs&X)===X){var V=T.revertLane;if(V===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),X===Of&&(q=!0);else if((zs&V)===V){T=T.next,V===Of&&(q=!0);continue}else X={lane:0,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(g=E=X,y=s):E=E.next=X,De.lanes|=V,Us|=V;X=T.action,zf&&a(s,X),s=T.hasEagerState?T.eagerState:a(s,X)}else V={lane:X,revertLane:T.revertLane,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},E===null?(g=E=V,y=s):E=E.next=V,De.lanes|=X,Us|=X;T=T.next}while(T!==null&&T!==t);if(E===null?y=s:E.next=g,!_a(s,e.memoizedState)&&(Rn=!0,q&&(a=tp,a!==null)))throw a;e.memoizedState=s,e.baseState=y,e.baseQueue=E,i.lastRenderedState=s}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function xc(e){var t=Ke(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var i=a.dispatch,o=a.pending,s=t.memoizedState;if(o!==null){a.pending=null;var y=o=o.next;do s=e(s,y.action),y=y.next;while(y!==o);_a(s,t.memoizedState)||(Rn=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),a.lastRenderedState=s}return[s,i]}function Hu(e,t,a){var i=De,o=Ut();if(nt){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=a();ap||s===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),ap=!0)}else{if(s=t(),ap||(a=t(),_a(s,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ap=!0)),St===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Qe&124)!==0||yv(i,t,s)}return o.memoizedState=s,a={value:s,getSnapshot:t},o.queue=a,Td(Lo.bind(null,i,a,e),[e]),i.flags|=2048,ql(hu|Sn,Ri(),Yo.bind(null,i,a,s,t),null),s}function Er(e,t,a){var i=De,o=Ke(),s=nt;if(s){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!ap){var y=t();_a(a,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),ap=!0)}(y=!_a((gt||o).memoizedState,a))&&(o.memoizedState=a,Rn=!0),o=o.queue;var g=Lo.bind(null,i,o,e);if(kt(2048,Sn,g,[e]),o.getSnapshot!==t||y||cn!==null&&cn.memoizedState.tag&hu){if(i.flags|=2048,ql(hu|Sn,Ri(),Yo.bind(null,i,o,a,t),null),St===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(zs&124)!==0||yv(i,t,a)}return a}function yv(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=De.updateQueue,t===null?(t=Sd(),De.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Yo(e,t,a,i){t.value=a,t.getSnapshot=i,mv(t)&&Go(e)}function Lo(e,t,a){return a(function(){mv(t)&&Go(e)})}function mv(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!_a(e,a)}catch{return!0}}function Go(e){var t=kn(e,2);t!==null&&Ct(t,e,2)}function Tr(e){var t=Ut();if(typeof e=="function"){var a=e;if(e=a(),zf){at(!0);try{a()}finally{at(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pe,lastRenderedState:e},t}function Bu(e){e=Tr(e);var t=e.queue,a=Ko.bind(null,De,t);return t.dispatch=a,[e.memoizedState,a]}function ol(e){var t=Ut();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=xd.bind(null,De,!0,a),a.dispatch=t,[e,t]}function wu(e,t){var a=Ke();return jl(a,gt,e,t)}function jl(e,t,a,i){return e.baseState=a,Ca(e,gt,typeof i=="function"?i:Pe)}function _d(e,t){var a=Ke();return gt!==null?jl(a,gt,e,t):(a.baseState=e,[e,a.queue.dispatch])}function gv(e,t,a,i,o){if(Rr(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){s.listeners.push(y)}};L.T!==null?a(!0):s.isTransition=!1,i(s),a=t.pending,a===null?(s.next=t.pending=s,Xo(t,s)):(s.next=a.next,t.pending=a.next=s)}}function Xo(e,t){var a=t.action,i=t.payload,o=e.state;if(t.isTransition){var s=L.T,y={};L.T=y,L.T._updatedFibers=new Set;try{var g=a(o,i),E=L.S;E!==null&&E(y,g),Ar(e,t,g)}catch(T){tn(e,t,T)}finally{L.T=s,s===null&&y._updatedFibers&&(e=y._updatedFibers.size,y._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{y=a(o,i),Ar(e,t,y)}catch(T){tn(e,t,T)}}function Ar(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(a.then(function(i){Ni(e,t,i)},function(i){return tn(e,t,i)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):Ni(e,t,a)}function Ni(e,t,a){t.status="fulfilled",t.value=a,Or(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Xo(e,a)))}function tn(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,Or(t),t=t.next;while(t!==i)}e.action=null}function Or(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function bv(e,t){return t}function Qo(e,t){if(nt){var a=St.formState;if(a!==null){e:{var i=De;if(nt){if(Xt){t:{for(var o=Xt,s=Pi;o.nodeType!==8;){if(!s){o=null;break t}if(o=yn(o.nextSibling),o===null){o=null;break t}}s=o.data,o=s===$S||s===sT?o:null}if(o){Xt=yn(o.nextSibling),i=o.data===$S;break e}}xl(i)}i=!1}i&&(t=a[0])}}return a=Ut(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bv,lastRenderedState:t},a.queue=i,a=Ko.bind(null,De,i),i.dispatch=a,i=Tr(!1),s=xd.bind(null,De,!1,i.queue),i=Ut(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,a=gv.bind(null,De,o,s,a),o.dispatch=a,i.memoizedState=e,[t,a,!1]}function Ed(e){var t=Ke();return Ug(t,gt,e)}function Ug(e,t,a){if(t=Ca(e,t,bv)[0],e=xa(Pe)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Uc(t)}catch(y){throw y===lm?O0:y}else i=t;t=Ke();var o=t.queue,s=o.dispatch;return a!==t.memoizedState&&(De.flags|=2048,ql(hu|Sn,Ri(),Jt.bind(null,o,a),null)),[i,s,e]}function Jt(e,t){e.action=t}function Zo(e){var t=Ke(),a=gt;if(a!==null)return Ug(t,a,e);Ke(),t=t.memoizedState,a=Ke();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function ql(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=De.updateQueue,t===null&&(t=Sd(),De.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function Ri(){return{destroy:void 0,resource:void 0}}function Dr(e){var t=Ut();return e={current:e},t.memoizedState=e}function Ha(e,t,a,i){var o=Ut();i=i===void 0?null:i,De.flags|=e,o.memoizedState=ql(hu|t,Ri(),a,i)}function kt(e,t,a,i){var o=Ke();i=i===void 0?null:i;var s=o.memoizedState.inst;gt!==null&&i!==null&&Mi(i,gt.memoizedState.deps)?o.memoizedState=ql(t,s,a,i):(De.flags|=e,o.memoizedState=ql(hu|t,s,a,i))}function Td(e,t){(De.mode&Pu)!==Dt&&(De.mode&J_)===Dt?Ha(276826112,Sn,e,t):Ha(8390656,Sn,e,t)}function Ad(e,t){var a=4194308;return(De.mode&Pu)!==Dt&&(a|=134217728),Ha(a,Zn,e,t)}function xg(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Od(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null;var i=4194308;(De.mode&Pu)!==Dt&&(i|=134217728),Ha(i,Zn,xg.bind(null,t,e),a)}function Yl(e,t,a){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),a=a!=null?a.concat([e]):null,kt(4,Zn,xg.bind(null,t,e),a)}function Mr(e,t){return Ut().memoizedState=[e,t===void 0?null:t],e}function Cc(e,t){var a=Ke();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&Mi(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function Dd(e,t){var a=Ut();t=t===void 0?null:t;var i=e();if(zf){at(!0);try{e()}finally{at(!1)}}return a.memoizedState=[i,t],i}function Ui(e,t){var a=Ke();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&Mi(t,i[1]))return i[0];if(i=e(),zf){at(!0);try{e()}finally{at(!1)}}return a.memoizedState=[i,t],i}function Md(e,t){var a=Ut();return Nd(a,e,t)}function zr(e,t){var a=Ke();return Nr(a,gt.memoizedState,e,t)}function zd(e,t){var a=Ke();return gt===null?Nd(a,e,t):Nr(a,gt.memoizedState,e,t)}function Nd(e,t,a){return a===void 0||(zs&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=Gg(),De.lanes|=e,Us|=e,a)}function Nr(e,t,a,i){return _a(a,t)?a:np.current!==null?(e=Nd(e,a,i),_a(e,t)||(Rn=!0),e):(zs&42)===0?(Rn=!0,e.memoizedState=a):(e=Gg(),De.lanes|=e,Us|=e,t)}function Sv(e,t,a,i,o){var s=Ee.p;Ee.p=s!==0&&s<pl?s:pl;var y=L.T,g={};L.T=g,xd(e,!1,t,a),g._updatedFibers=new Set;try{var E=o(),T=L.S;if(T!==null&&T(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var q=zg(E,i);Vu(e,t,q,ta(e))}else Vu(e,t,i,ta(e))}catch(X){Vu(e,t,{then:function(){},status:"rejected",reason:X},ta(e))}finally{Ee.p=s,L.T=y,y===null&&g._updatedFibers&&(e=g._updatedFibers.size,g._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function Hc(e,t,a,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=_v(e).queue;Sv(e,o,t,qf,a===null?k:function(){return Ev(e),a(i)})}function _v(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:qf,baseState:qf,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pe,lastRenderedState:qf},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Pe,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ev(e){L.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=_v(e).next.queue;Vu(e,t,{},ta(e))}function Ll(){var e=Tr(!1);return e=Sv.bind(null,De,e.queue,!0,!1),Ut().memoizedState=e,[!1,e]}function Rd(){var e=xa(Pe)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:Uc(e),t]}function Ud(){var e=xc(Pe)[0],t=Ke().memoizedState;return[typeof e=="boolean"?e:Uc(e),t]}function In(){return bt(Am)}function Gl(){var e=Ut(),t=St.identifierPrefix;if(nt){var a=oo,i=co;a=(i&~(1<<32-zn(i)-1)).toString(32)+a,t="«"+t+"R"+a,a=N0++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=cD++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t}function Bc(){return Ut().memoizedState=Tv.bind(null,De)}function Tv(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var i=ta(a);e=Bl(i);var o=ul(a,e,i);o!==null&&(Ct(o,a,i),Di(o,a,i)),a=gr(),t!=null&&o!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:a};return}a=a.return}}function Av(e,t,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=ta(e);var o={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};Rr(e)?wc(t,o):(o=Ip(e,t,o,i),o!==null&&(Ct(o,e,i),Ur(o,t,i))),sc(e,i)}function Ko(e,t,a){var i=arguments;typeof i[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),i=ta(e),Vu(e,t,a,i),sc(e,i)}function Vu(e,t,a,i){var o={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(Rr(e))wc(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var y=L.H;L.H=ti;try{var g=t.lastRenderedState,E=s(g,a);if(o.hasEagerState=!0,o.eagerState=E,_a(E,g))return dd(e,t,o,0),St===null&&hr(),!1}catch{}finally{L.H=y}}if(a=Ip(e,t,o,i),a!==null)return Ct(a,e,i),Ur(a,t,i),!0}return!1}function xd(e,t,a,i){if(L.T===null&&Of===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),i={lane:2,revertLane:ty(),action:i,hasEagerState:!1,eagerState:null,next:null},Rr(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Ip(e,a,i,2),t!==null&&Ct(t,e,2);sc(e,2)}function Rr(e){var t=e.alternate;return e===De||t!==null&&t===De}function wc(e,t){lp=z0=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Ur(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Ao(e,a)}}function nn(e){var t=qe;return e!=null&&(qe=t===null?e:t.concat(e)),t}function Jo(e,t,a){for(var i=Object.keys(e.props),o=0;o<i.length;o++){var s=i[o];if(s!=="children"&&s!=="key"){t===null&&(t=yr(e,a.mode,0),t._debugInfo=qe,t.return=a),oe(t,function(y){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y)},s);break}}}function ko(e){var t=om;return om+=1,up===null&&(up=hv()),Na(up,e,t)}function Ba(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ne(e,t){throw t.$$typeof===of?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
131
|
+
- Multiple copies of the "react" package is used.
|
|
132
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
133
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function lt(e,t){var a=ve(e)||"Component";DE[a]||(DE[a]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
134
|
+
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
135
|
+
<%s>{%s}</%s>`,t,t,a,t,a))}function Nt(e,t){var a=ve(e)||"Component";ME[a]||(ME[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
136
|
+
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
137
|
+
<%s>%s</%s>`,a,t,a))}function xr(e){function t(M,z){if(e){var N=M.deletions;N===null?(M.deletions=[z],M.flags|=16):N.push(z)}}function a(M,z){if(!e)return null;for(;z!==null;)t(M,z),z=z.sibling;return null}function i(M){for(var z=new Map;M!==null;)M.key!==null?z.set(M.key,M):z.set(M.index,M),M=M.sibling;return z}function o(M,z){return M=Ul(M,z),M.index=0,M.sibling=null,M}function s(M,z,N){return M.index=N,e?(N=M.alternate,N!==null?(N=N.index,N<z?(M.flags|=67108866,z):N):(M.flags|=67108866,z)):(M.flags|=1048576,z)}function y(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function g(M,z,N,Z){return z===null||z.tag!==6?(z=Si(N,M.mode,Z),z.return=M,z._debugOwner=M,z._debugTask=M._debugTask,z._debugInfo=qe,z):(z=o(z,N),z.return=M,z._debugInfo=qe,z)}function E(M,z,N,Z){var ae=N.type;return ae===Re?(z=q(M,z,N.props.children,Z,N.key),Jo(N,z,M),z):z!==null&&(z.elementType===ae||Ag(z,N)||typeof ae=="object"&&ae!==null&&ae.$$typeof===ba&&Ns(ae)===z.type)?(z=o(z,N.props),Ba(z,N),z.return=M,z._debugOwner=N._owner,z._debugInfo=qe,z):(z=yr(N,M.mode,Z),Ba(z,N),z.return=M,z._debugInfo=qe,z)}function T(M,z,N,Z){return z===null||z.tag!==4||z.stateNode.containerInfo!==N.containerInfo||z.stateNode.implementation!==N.implementation?(z=nv(N,M.mode,Z),z.return=M,z._debugInfo=qe,z):(z=o(z,N.children||[]),z.return=M,z._debugInfo=qe,z)}function q(M,z,N,Z,ae){return z===null||z.tag!==7?(z=bi(N,M.mode,Z,ae),z.return=M,z._debugOwner=M,z._debugTask=M._debugTask,z._debugInfo=qe,z):(z=o(z,N),z.return=M,z._debugInfo=qe,z)}function X(M,z,N){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return z=Si(""+z,M.mode,N),z.return=M,z._debugOwner=M,z._debugTask=M._debugTask,z._debugInfo=qe,z;if(typeof z=="object"&&z!==null){switch(z.$$typeof){case Qi:return N=yr(z,M.mode,N),Ba(N,z),N.return=M,M=nn(z._debugInfo),N._debugInfo=qe,qe=M,N;case to:return z=nv(z,M.mode,N),z.return=M,z._debugInfo=qe,z;case ba:var Z=nn(z._debugInfo);return z=Ns(z),M=X(M,z,N),qe=Z,M}if(Oe(z)||pt(z))return N=bi(z,M.mode,N,null),N.return=M,N._debugOwner=M,N._debugTask=M._debugTask,M=nn(z._debugInfo),N._debugInfo=qe,qe=M,N;if(typeof z.then=="function")return Z=nn(z._debugInfo),M=X(M,ko(z),N),qe=Z,M;if(z.$$typeof===Ya)return X(M,mr(M,z),N);Ne(M,z)}return typeof z=="function"&<(M,z),typeof z=="symbol"&&Nt(M,z),null}function V(M,z,N,Z){var ae=z!==null?z.key:null;if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return ae!==null?null:g(M,z,""+N,Z);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Qi:return N.key===ae?(ae=nn(N._debugInfo),M=E(M,z,N,Z),qe=ae,M):null;case to:return N.key===ae?T(M,z,N,Z):null;case ba:return ae=nn(N._debugInfo),N=Ns(N),M=V(M,z,N,Z),qe=ae,M}if(Oe(N)||pt(N))return ae!==null?null:(ae=nn(N._debugInfo),M=q(M,z,N,Z,null),qe=ae,M);if(typeof N.then=="function")return ae=nn(N._debugInfo),M=V(M,z,ko(N),Z),qe=ae,M;if(N.$$typeof===Ya)return V(M,z,mr(M,N),Z);Ne(M,N)}return typeof N=="function"&<(M,N),typeof N=="symbol"&&Nt(M,N),null}function Q(M,z,N,Z,ae){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return M=M.get(N)||null,g(z,M,""+Z,ae);if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Qi:return N=M.get(Z.key===null?N:Z.key)||null,M=nn(Z._debugInfo),z=E(z,N,Z,ae),qe=M,z;case to:return M=M.get(Z.key===null?N:Z.key)||null,T(z,M,Z,ae);case ba:var Ue=nn(Z._debugInfo);return Z=Ns(Z),z=Q(M,z,N,Z,ae),qe=Ue,z}if(Oe(Z)||pt(Z))return N=M.get(N)||null,M=nn(Z._debugInfo),z=q(z,N,Z,ae,null),qe=M,z;if(typeof Z.then=="function")return Ue=nn(Z._debugInfo),z=Q(M,z,N,ko(Z),ae),qe=Ue,z;if(Z.$$typeof===Ya)return Q(M,z,N,mr(z,Z),ae);Ne(z,Z)}return typeof Z=="function"&<(z,Z),typeof Z=="symbol"&&Nt(z,Z),null}function se(M,z,N,Z){if(typeof N!="object"||N===null)return Z;switch(N.$$typeof){case Qi:case to:U(M,z,N);var ae=N.key;if(typeof ae!="string")break;if(Z===null){Z=new Set,Z.add(ae);break}if(!Z.has(ae)){Z.add(ae);break}oe(z,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",ae)});break;case ba:N=Ns(N),se(M,z,N,Z)}return Z}function Te(M,z,N,Z){for(var ae=null,Ue=null,re=null,xe=z,Ce=z=0,Mt=null;xe!==null&&Ce<N.length;Ce++){xe.index>Ce?(Mt=xe,xe=null):Mt=xe.sibling;var It=V(M,xe,N[Ce],Z);if(It===null){xe===null&&(xe=Mt);break}ae=se(M,It,N[Ce],ae),e&&xe&&It.alternate===null&&t(M,xe),z=s(It,z,Ce),re===null?Ue=It:re.sibling=It,re=It,xe=Mt}if(Ce===N.length)return a(M,xe),nt&&Oc(M,Ce),Ue;if(xe===null){for(;Ce<N.length;Ce++)xe=X(M,N[Ce],Z),xe!==null&&(ae=se(M,xe,N[Ce],ae),z=s(xe,z,Ce),re===null?Ue=xe:re.sibling=xe,re=xe);return nt&&Oc(M,Ce),Ue}for(xe=i(xe);Ce<N.length;Ce++)Mt=Q(xe,M,Ce,N[Ce],Z),Mt!==null&&(ae=se(M,Mt,N[Ce],ae),e&&Mt.alternate!==null&&xe.delete(Mt.key===null?Ce:Mt.key),z=s(Mt,z,Ce),re===null?Ue=Mt:re.sibling=Mt,re=Mt);return e&&xe.forEach(function(go){return t(M,go)}),nt&&Oc(M,Ce),Ue}function _t(M,z,N,Z){if(N==null)throw Error("An iterable object provided no iterator.");for(var ae=null,Ue=null,re=z,xe=z=0,Ce=null,Mt=null,It=N.next();re!==null&&!It.done;xe++,It=N.next()){re.index>xe?(Ce=re,re=null):Ce=re.sibling;var go=V(M,re,It.value,Z);if(go===null){re===null&&(re=Ce);break}Mt=se(M,go,It.value,Mt),e&&re&&go.alternate===null&&t(M,re),z=s(go,z,xe),Ue===null?ae=go:Ue.sibling=go,Ue=go,re=Ce}if(It.done)return a(M,re),nt&&Oc(M,xe),ae;if(re===null){for(;!It.done;xe++,It=N.next())re=X(M,It.value,Z),re!==null&&(Mt=se(M,re,It.value,Mt),z=s(re,z,xe),Ue===null?ae=re:Ue.sibling=re,Ue=re);return nt&&Oc(M,xe),ae}for(re=i(re);!It.done;xe++,It=N.next())Ce=Q(re,M,xe,It.value,Z),Ce!==null&&(Mt=se(M,Ce,It.value,Mt),e&&Ce.alternate!==null&&re.delete(Ce.key===null?xe:Ce.key),z=s(Ce,z,xe),Ue===null?ae=Ce:Ue.sibling=Ce,Ue=Ce);return e&&re.forEach(function(HD){return t(M,HD)}),nt&&Oc(M,xe),ae}function Je(M,z,N,Z){if(typeof N=="object"&&N!==null&&N.type===Re&&N.key===null&&(Jo(N,null,M),N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case Qi:var ae=nn(N._debugInfo);e:{for(var Ue=N.key;z!==null;){if(z.key===Ue){if(Ue=N.type,Ue===Re){if(z.tag===7){a(M,z.sibling),Z=o(z,N.props.children),Z.return=M,Z._debugOwner=N._owner,Z._debugInfo=qe,Jo(N,Z,M),M=Z;break e}}else if(z.elementType===Ue||Ag(z,N)||typeof Ue=="object"&&Ue!==null&&Ue.$$typeof===ba&&Ns(Ue)===z.type){a(M,z.sibling),Z=o(z,N.props),Ba(Z,N),Z.return=M,Z._debugOwner=N._owner,Z._debugInfo=qe,M=Z;break e}a(M,z);break}else t(M,z);z=z.sibling}N.type===Re?(Z=bi(N.props.children,M.mode,Z,N.key),Z.return=M,Z._debugOwner=M,Z._debugTask=M._debugTask,Z._debugInfo=qe,Jo(N,Z,M),M=Z):(Z=yr(N,M.mode,Z),Ba(Z,N),Z.return=M,Z._debugInfo=qe,M=Z)}return M=y(M),qe=ae,M;case to:e:{for(ae=N,N=ae.key;z!==null;){if(z.key===N)if(z.tag===4&&z.stateNode.containerInfo===ae.containerInfo&&z.stateNode.implementation===ae.implementation){a(M,z.sibling),Z=o(z,ae.children||[]),Z.return=M,M=Z;break e}else{a(M,z);break}else t(M,z);z=z.sibling}Z=nv(ae,M.mode,Z),Z.return=M,M=Z}return y(M);case ba:return ae=nn(N._debugInfo),N=Ns(N),M=Je(M,z,N,Z),qe=ae,M}if(Oe(N))return ae=nn(N._debugInfo),M=Te(M,z,N,Z),qe=ae,M;if(pt(N)){if(ae=nn(N._debugInfo),Ue=pt(N),typeof Ue!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var re=Ue.call(N);return re===N?(M.tag!==0||Object.prototype.toString.call(M.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(re)!=="[object Generator]")&&(AE||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),AE=!0):N.entries!==Ue||OS||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),OS=!0),M=_t(M,z,re,Z),qe=ae,M}if(typeof N.then=="function")return ae=nn(N._debugInfo),M=Je(M,z,ko(N),Z),qe=ae,M;if(N.$$typeof===Ya)return Je(M,z,mr(M,N),Z);Ne(M,N)}return typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint"?(ae=""+N,z!==null&&z.tag===6?(a(M,z.sibling),Z=o(z,ae),Z.return=M,M=Z):(a(M,z),Z=Si(ae,M.mode,Z),Z.return=M,Z._debugOwner=M,Z._debugTask=M._debugTask,Z._debugInfo=qe,M=Z),y(M)):(typeof N=="function"&<(M,N),typeof N=="symbol"&&Nt(M,N),a(M,z))}return function(M,z,N,Z){var ae=qe;qe=null;try{om=0;var Ue=Je(M,z,N,Z);return up=null,Ue}catch(Mt){if(Mt===lm||Mt===O0)throw Mt;var re=ne(29,Mt,null,M.mode);re.lanes=Z,re.return=M;var xe=re._debugInfo=qe;if(re._debugOwner=M._debugOwner,re._debugTask=M._debugTask,xe!=null){for(var Ce=xe.length-1;0<=Ce;Ce--)if(typeof xe[Ce].stack=="string"){re._debugOwner=xe[Ce],re._debugTask=xe[Ce].debugTask;break}}return re}finally{qe=ae}}}function pa(e){var t=e.alternate;we(_n,_n.current&cp,e),we(vu,e,e),tc===null&&(t===null||np.current!==null||t.memoizedState!==null)&&(tc=e)}function xi(e){if(e.tag===22){if(we(_n,_n.current,e),we(vu,e,e),tc===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(tc=e)}}else sl(e)}function sl(e){we(_n,_n.current,e),we(vu,vu.current,e)}function va(e){vt(vu,e),tc===e&&(tc=null),vt(_n,e)}function ju(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data===vo||tu(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ov(e){if(e!==null&&typeof e!="function"){var t=String(e);qE.has(t)||(qE.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function Rt(e,t,a,i){var o=e.memoizedState,s=a(i,o);if(e.mode&oa){at(!0);try{s=a(i,o)}finally{at(!1)}}s===void 0&&(t=We(t)||"Component",BE.has(t)||(BE.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=s==null?o:He({},o,s),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function Cd(e,t,a,i,o,s,y){var g=e.stateNode;if(typeof g.shouldComponentUpdate=="function"){if(a=g.shouldComponentUpdate(i,s,y),e.mode&oa){at(!0);try{a=g.shouldComponentUpdate(i,s,y)}finally{at(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",We(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!dr(a,i)||!dr(o,s):!0}function Hd(e,t,a,i){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==o&&(e=ve(e)||"Component",RE.has(e)||(RE.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),DS.enqueueReplaceState(t,t.state,null))}function Ci(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=He({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function Dv(e){MS(e),console.warn(`%s
|
|
138
|
+
|
|
139
|
+
%s
|
|
140
|
+
`,op?"An error occurred in the <"+op+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
141
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Cg(e){var t=op?"The above error occurred in the <"+op+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((zS||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
|
|
142
|
+
|
|
143
|
+
%s
|
|
144
|
+
|
|
145
|
+
%s
|
|
146
|
+
`,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,mT+e[0],gT,$0+i+$0,bT):e.splice(0,0,mT,gT,$0+i+$0,bT),e.unshift(console),i=xD.apply(console.error,e),i()}else console.error(`%o
|
|
147
|
+
|
|
148
|
+
%s
|
|
149
|
+
|
|
150
|
+
%s
|
|
151
|
+
`,e,t,a)}function Bd(e){MS(e)}function $o(e,t){try{op=t.source?ve(t.source):null,zS=null;var a=t.value;if(L.actQueue!==null)L.thrownErrors.push(a);else{var i=e.onUncaughtError;i(a,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function wd(e,t,a){try{op=a.source?ve(a.source):null,zS=ve(t);var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function On(e,t,a){return a=Bl(a),a.tag=mS,a.payload={element:null},a.callback=function(){oe(t.source,$o,e,t)},a}function xt(e){return e=Bl(e),e.tag=mS,e}function Cr(e,t,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var s=i.value;e.payload=function(){return o(s)},e.callback=function(){Og(a),oe(i.source,wd,t,a,i)}}var y=a.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(e.callback=function(){Og(a),oe(i.source,wd,t,a,i),typeof o!="function"&&(Cs===null?Cs=new Set([this]):Cs.add(this)),sD(this,i),typeof o=="function"||(a.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ve(a)||"Unknown")})}function Hr(e,t,a,i,o){if(a.flags|=32768,jt&&as(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&dn(t,a,o,!0),nt&&(so=!0),a=vu.current,a!==null){switch(a.tag){case 13:return tc===null?nh():a.alternate===null&&Qt===po&&(Qt=xS),a.flags&=-257,a.flags|=65536,a.lanes=o,i===yS?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),Fv(e,i,o)),!1;case 22:return a.flags|=65536,i===yS?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),Fv(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Fv(e,i,o),nh(),!1}if(nt)return so=!0,t=vu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==dS&&Co(da(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),a))):(i!==dS&&Co(da(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),a)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=da(i,a),o=On(e.stateNode,i,o),Bo(e,o),Qt!==Nf&&(Qt=dp)),!1;var s=da(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),a);if(ym===null?ym=[s]:ym.push(s),Qt!==Nf&&(Qt=dp),t===null)return!0;i=da(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=On(a.stateNode,i,e),Bo(a,e),!1;case 1:if(t=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Cs===null||!Cs.has(s))))return a.flags|=65536,o&=-o,a.lanes|=o,o=xt(o),Cr(o,e,a,i),Bo(a,o),!1}a=a.return}while(a!==null);return!1}function Gt(e,t,a,i){t.child=e===null?zE(t,null,a,i):ip(t,e.child,a,i)}function Vd(e,t,a,i,o){a=a.render;var s=t.ref;if("ref"in i){var y={};for(var g in i)g!=="ref"&&(y[g]=i[g])}else y=i;return Ti(t),Ml(t),i=zi(e,t,a,y,s,o),g=Fn(),ri(),e!==null&&!Rn?(Cu(e,t,o),Ql(e,t,o)):(nt&&g&&vd(t),t.flags|=1,Gt(e,t,i,o),t.child)}function Xl(e,t,a,i,o){if(e===null){var s=a.type;return typeof s=="function"&&!ev(s)&&s.defaultProps===void 0&&a.compare===null?(a=Ac(s),t.tag=15,t.type=a,Ld(t,s),Br(e,t,a,i,o)):(e=pd(a.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Jd(e,o)){var y=s.memoizedProps;if(a=a.compare,a=a!==null?a:dr,a(y,i)&&e.ref===t.ref)return Ql(e,t,o)}return t.flags|=1,e=Ul(s,i),e.ref=t.ref,e.return=t,t.child=e}function Br(e,t,a,i,o){if(e!==null){var s=e.memoizedProps;if(dr(s,i)&&e.ref===t.ref&&t.type===e.type)if(Rn=!1,t.pendingProps=i=s,Jd(e,o))(e.flags&131072)!==0&&(Rn=!0);else return t.lanes=e.lanes,Ql(e,t,o)}return Yd(e,t,a,i,o)}function jd(e,t,a){var i=t.pendingProps,o=i.children,s=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=s!==null?s.baseLanes|a:a,e!==null){for(o=t.child=e.child,s=0;o!==null;)s=s|o.lanes|o.childLanes,o=o.sibling;t.childLanes=s&~i}else t.childLanes=0,t.child=null;return qd(e,t,i,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&bd(t,s!==null?s.cachePool:null),s!==null?Wn(t,s):Sr(t),xi(t);else return t.lanes=t.childLanes=536870912,qd(e,t,s!==null?s.baseLanes|a:a,a)}else s!==null?(bd(t,s.cachePool),Wn(t,s),sl(t),t.memoizedState=null):(e!==null&&bd(t,null),Sr(t),sl(t));return Gt(e,t,o,a),t.child}function qd(e,t,a,i){var o=dv();return o=o===null?null:{parent:bn._currentValue,pool:o},t.memoizedState={baseLanes:a,cachePool:o},e!==null&&bd(t,null),Sr(t),xi(t),e!==null&&dn(e,t,i,!0),null}function wr(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Yd(e,t,a,i,o){if(a.prototype&&typeof a.prototype.render=="function"){var s=We(a)||"Unknown";LE[s]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",s,s),LE[s]=!0)}return t.mode&oa&&ei.recordLegacyContextWarning(t,null),e===null&&(Ld(t,t.type),a.contextTypes&&(s=We(a)||"Unknown",XE[s]||(XE[s]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",s)))),Ti(t),Ml(t),a=zi(e,t,a,i,void 0,o),i=Fn(),ri(),e!==null&&!Rn?(Cu(e,t,o),Ql(e,t,o)):(nt&&i&&vd(t),t.flags|=1,Gt(e,t,a,o),t.child)}function Mv(e,t,a,i,o,s){return Ti(t),Ml(t),fo=-1,cm=e!==null&&e.type!==t.type,t.updateQueue=null,a=qo(t,i,a,o),_r(e,t),i=Fn(),ri(),e!==null&&!Rn?(Cu(e,t,s),Ql(e,t,s)):(nt&&i&&vd(t),t.flags|=1,Gt(e,t,a,s),t.child)}function zv(e,t,a,i,o){switch(A(t)){case!1:var s=t.stateNode,y=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,y,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var g=o&-o;if(t.lanes|=g,y=St,y===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");g=xt(g),Cr(g,y,t,da(s,t)),Bo(t,g)}if(Ti(t),t.stateNode===null){if(y=Ds,s=a.contextType,"contextType"in a&&s!==null&&(s===void 0||s.$$typeof!==Ya)&&!jE.has(a)&&(jE.add(a),g=s===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof s!="object"?" However, it is set to a "+typeof s+".":s.$$typeof===Nh?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",We(a)||"Component",g)),typeof s=="object"&&s!==null&&(y=bt(s)),s=new a(i,y),t.mode&oa){at(!0);try{s=new a(i,y)}finally{at(!1)}}if(y=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=DS,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=NE,typeof a.getDerivedStateFromProps=="function"&&y===null&&(y=We(a)||"Component",UE.has(y)||(UE.add(y),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",y,s.state===null?"null":"undefined",y))),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"){var E=g=y=null;if(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?y="componentWillMount":typeof s.UNSAFE_componentWillMount=="function"&&(y="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?g="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps=="function"&&(g="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),y!==null||g!==null||E!==null){s=We(a)||"Component";var T=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";CE.has(s)||(CE.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
152
|
+
|
|
153
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
154
|
+
|
|
155
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
156
|
+
https://react.dev/link/unsafe-component-lifecycles`,s,T,y!==null?`
|
|
157
|
+
`+y:"",g!==null?`
|
|
158
|
+
`+g:"",E!==null?`
|
|
159
|
+
`+E:""))}}s=t.stateNode,y=We(a)||"Component",s.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",y):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",y)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",y),s.getDefaultProps&&!s.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",y),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),a.childContextTypes&&!VE.has(a)&&(VE.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",y)),a.contextTypes&&!wE.has(a)&&(wE.add(a),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",y)),typeof s.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",y),a.prototype&&a.prototype.isPureReactComponent&&typeof s.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",We(a)||"A pure component"),typeof s.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",y),typeof s.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",y),typeof s.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof s.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y),g=s.props!==i,s.props!==void 0&&g&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",y),s.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",y,y),typeof s.getSnapshotBeforeUpdate!="function"||typeof s.componentDidUpdate=="function"||xE.has(a)||(xE.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",We(a))),typeof s.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof s.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",y),(g=s.state)&&(typeof g!="object"||Oe(g))&&console.error("%s.state: must be set to an object or null",y),typeof s.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y),s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},$n(t),y=a.contextType,s.context=typeof y=="object"&&y!==null?bt(y):Ds,s.state===i&&(y=We(a)||"Component",HE.has(y)||(HE.add(y),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",y))),t.mode&oa&&ei.recordLegacyContextWarning(t,s),ei.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,y=a.getDerivedStateFromProps,typeof y=="function"&&(Rt(t,a,y,i),s.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(y=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),y!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ve(t)||"Component"),DS.enqueueReplaceState(s,s.state,null)),wo(t,i,s,o),wl(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Pu)!==Dt&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var q=t.memoizedProps;g=Ci(a,q),s.props=g;var X=s.context;E=a.contextType,y=Ds,typeof E=="object"&&E!==null&&(y=bt(E)),T=a.getDerivedStateFromProps,E=typeof T=="function"||typeof s.getSnapshotBeforeUpdate=="function",q=t.pendingProps!==q,E||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(q||X!==y)&&Hd(t,s,i,y),Ms=!1;var V=t.memoizedState;s.state=V,wo(t,i,s,o),wl(),X=t.memoizedState,q||V!==X||Ms?(typeof T=="function"&&(Rt(t,a,T,i),X=t.memoizedState),(g=Ms||Cd(t,a,g,i,V,X,y))?(E||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Pu)!==Dt&&(t.flags|=134217728)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Pu)!==Dt&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=X),s.props=i,s.state=X,s.context=y,s=g):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Pu)!==Dt&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,Oi(e,t),y=t.memoizedProps,E=Ci(a,y),s.props=E,T=t.pendingProps,V=s.context,X=a.contextType,g=Ds,typeof X=="object"&&X!==null&&(g=bt(X)),q=a.getDerivedStateFromProps,(X=typeof q=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(y!==T||V!==g)&&Hd(t,s,i,g),Ms=!1,V=t.memoizedState,s.state=V,wo(t,i,s,o),wl();var Q=t.memoizedState;y!==T||V!==Q||Ms||e!==null&&e.dependencies!==null&&Ei(e.dependencies)?(typeof q=="function"&&(Rt(t,a,q,i),Q=t.memoizedState),(E=Ms||Cd(t,a,E,i,V,Q,g)||e!==null&&e.dependencies!==null&&Ei(e.dependencies))?(X||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,Q,g),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,Q,g)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=Q),s.props=i,s.state=Q,s.context=g,s=E):(typeof s.componentDidUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||y===e.memoizedProps&&V===e.memoizedState||(t.flags|=1024),s=!1)}if(g=s,wr(e,t),y=(t.flags&128)!==0,g||y){if(g=t.stateNode,nr(t),y&&typeof a.getDerivedStateFromError!="function")a=null,Xa=-1;else{if(Ml(t),a=pE(g),t.mode&oa){at(!0);try{pE(g)}finally{at(!1)}}ri()}t.flags|=1,e!==null&&y?(t.child=ip(t,e.child,null,o),t.child=ip(t,null,a,o)):Gt(e,t,a,o),t.memoizedState=g.state,e=t.child}else e=Ql(e,t,o);return o=t.stateNode,s&&o.props!==i&&(sp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ve(t)||"a component"),sp=!0),e}function Nv(e,t,a,i){return Mc(),t.flags|=256,Gt(e,t,a,i),t.child}function Ld(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
160
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=We(t)||"Unknown",QE[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),QE[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=We(t)||"Unknown",GE[t]||(console.error("%s: Function components do not support contextType.",t),GE[t]=!0))}function Vr(e){return{baseLanes:e,cachePool:Ng()}}function Gd(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=ml),e}function Hg(e,t,a){var i,o=t.pendingProps;S(t)&&(t.flags|=128);var s=!1,y=(t.flags&128)!==0;if((i=y)||(i=e!==null&&e.memoizedState===null?!1:(_n.current&sm)!==0),i&&(s=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(nt){if(s?pa(t):sl(t),nt){var g=Xt,E;if(!(E=!g)){e:{var T=g;for(E=Pi;T.nodeType!==8;){if(!E){E=null;break e}if(T=yn(T.nextSibling),T===null){E=null;break e}}E=T}E!==null?(tl(),t.memoizedState={dehydrated:E,treeContext:Ef!==null?{id:co,overflow:oo}:null,retryLane:536870912,hydrationErrors:null},T=ne(18,null,null,Dt),T.stateNode=E,T.return=t,t.child=T,Ea=t,Xt=null,E=!0):E=!1,E=!E}E&&(av(t,g),xl(t))}if(g=t.memoizedState,g!==null&&(g=g.dehydrated,g!==null))return tu(g)?t.lanes=32:t.lanes=536870912,null;va(t)}return g=o.children,o=o.fallback,s?(sl(t),s=t.mode,g=jr({mode:"hidden",children:g},s),o=bi(o,s,a,null),g.return=t,o.return=t,g.sibling=o,t.child=g,s=t.child,s.memoizedState=Vr(a),s.childLanes=Gd(e,i,a),t.memoizedState=RS,o):(pa(t),Xd(t,g))}var q=e.memoizedState;if(q!==null&&(g=q.dehydrated,g!==null)){if(y)t.flags&256?(pa(t),t.flags&=-257,t=Qd(e,t,a)):t.memoizedState!==null?(sl(t),t.child=e.child,t.flags|=128,t=null):(sl(t),s=o.fallback,g=t.mode,o=jr({mode:"visible",children:o.children},g),s=bi(s,g,a,null),s.flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,ip(t,e.child,null,a),o=t.child,o.memoizedState=Vr(a),o.childLanes=Gd(e,i,a),t.memoizedState=RS,t=s);else if(pa(t),nt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),tu(g)){if(i=g.nextSibling&&g.nextSibling.dataset,i){E=i.dgst;var X=i.msg;T=i.stck;var V=i.cstck}g=X,i=E,o=T,E=s=V,s=Error(g||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s.stack=o||"",s.digest=i,i=E===void 0?null:E,o={value:s,source:null,stack:i},typeof i=="string"&&rS.set(s,o),Co(o),t=Qd(e,t,a)}else if(Rn||dn(e,t,a,!1),i=(a&e.childLanes)!==0,Rn||i){if(i=St,i!==null&&(o=a&-a,o=(o&42)!==0?1:wn(o),o=(o&(i.suspendedLanes|a))!==0?0:o,o!==0&&o!==q.retryLane))throw q.retryLane=o,kn(e,o),Ct(i,e,o),YE;g.data===vo||nh(),t=Qd(e,t,a)}else g.data===vo?(t.flags|=192,t.child=e.child,t=null):(e=q.treeContext,Xt=yn(g.nextSibling),Ea=t,nt=!0,Tf=null,so=!1,fu=null,Pi=!1,e!==null&&(tl(),su[ru++]=co,su[ru++]=oo,su[ru++]=Ef,co=e.id,oo=e.overflow,Ef=t),t=Xd(t,o.children),t.flags|=4096);return t}return s?(sl(t),s=o.fallback,g=t.mode,E=e.child,T=E.sibling,o=Ul(E,{mode:"hidden",children:o.children}),o.subtreeFlags=E.subtreeFlags&65011712,T!==null?s=Ul(T,s):(s=bi(s,g,a,null),s.flags|=2),s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,g=e.child.memoizedState,g===null?g=Vr(a):(E=g.cachePool,E!==null?(T=bn._currentValue,E=E.parent!==T?{parent:T,pool:T}:E):E=Ng(),g={baseLanes:g.baseLanes|a,cachePool:E}),s.memoizedState=g,s.childLanes=Gd(e,i,a),t.memoizedState=RS,o):(pa(t),a=e.child,e=a.sibling,a=Ul(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function Xd(e,t){return t=jr({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function jr(e,t){return e=ne(22,e,null,t),e.lanes=0,e.stateNode={_visibility:m0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Qd(e,t,a){return ip(t,e.child,null,a),e=Xd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Zd(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),ov(e.return,t,a)}function Rv(e,t){var a=Oe(e);return e=!a&&typeof pt(e)=="function",a||e?(a=a?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1):!0}function Kd(e,t,a,i,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=a,s.tailMode=o)}function Uv(e,t,a){var i=t.pendingProps,o=i.revealOrder,s=i.tail;if(i=i.children,o!==void 0&&o!=="forwards"&&o!=="backwards"&&o!=="together"&&!ZE[o])if(ZE[o]=!0,typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o);s===void 0||NS[s]||(s!=="collapsed"&&s!=="hidden"?(NS[s]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',s)):o!=="forwards"&&o!=="backwards"&&(NS[s]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s)));e:if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(Oe(i)){for(var y=0;y<i.length;y++)if(!Rv(i[y],y))break e}else if(y=pt(i),typeof y=="function"){if(y=y.call(i))for(var g=y.next(),E=0;!g.done;g=y.next()){if(!Rv(g.value,E))break e;E++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(Gt(e,t,i,a),i=_n.current,(i&sm)!==0)i=i&cp|sm,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Zd(e,a,t);else if(e.tag===19)Zd(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=cp}switch(we(_n,i,t),o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&ju(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),Kd(t,!1,o,a,s);break;case"backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&ju(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}Kd(t,!0,a,null,s);break;case"together":Kd(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ql(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Xa=-1,Us|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(dn(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,a=Ul(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Ul(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Jd(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ei(e)))}function Zb(e,t,a){switch(t.tag){case 3:Ia(t,t.stateNode.containerInfo),_i(t,bn,e.memoizedState.cache),Mc();break;case 27:case 5:F(t);break;case 4:Ia(t,t.stateNode.containerInfo);break;case 10:_i(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(pa(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Hg(e,t,a):(pa(t),e=Ql(e,t,a),e!==null?e.sibling:null);pa(t);break;case 19:var o=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(dn(e,t,a,!1),i=(a&t.childLanes)!==0),o){if(i)return Uv(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),we(_n,_n.current,t),i)break;return null;case 22:case 23:return t.lanes=0,jd(e,t,a);case 24:_i(t,bn,e.memoizedState.cache)}return Ql(e,t,a)}function kd(e,t,a){if(t._debugNeedsRemount&&e!==null){a=pd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===i.child)i.child=a;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=a}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Rn=!0;else{if(!Jd(e,a)&&(t.flags&128)===0)return Rn=!1,Zb(e,t,a);Rn=(e.flags&131072)!==0}else Rn=!1,(i=nt)&&(tl(),i=(t.flags&1048576)!==0),i&&(i=t.index,tl(),Dg(t,b0,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=Ns(t.elementType),t.type=e,typeof e=="function")ev(e)?(i=Ci(e,i),t.tag=1,t.type=e=Ac(e),t=zv(null,t,e,i,a)):(t.tag=0,Ld(t,e),t.type=e=Ac(e),t=Yd(null,t,e,i,a));else{if(e!=null){if(o=e.$$typeof,o===Ku){t.tag=11,t.type=e=Pp(e),t=Vd(null,t,e,i,a);break e}else if(o===sf){t.tag=14,t=Xl(null,t,e,i,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===ba&&(t=" Did you wrap a component in React.lazy() more than once?"),e=We(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return Yd(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,o=Ci(i,t.pendingProps),zv(e,t,i,o,a);case 3:e:{if(Ia(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var s=t.memoizedState;o=s.element,Oi(e,t),wo(t,i,null,a);var y=t.memoizedState;if(i=y.cache,_i(t,bn,i),i!==s.cache&&sv(t,[bn],a,!0),wl(),i=y.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:y.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=Nv(e,t,i,a);break e}else if(i!==o){o=da(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),Co(o),t=Nv(e,t,i,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Xt=yn(e.firstChild),Ea=t,nt=!0,Tf=null,so=!1,fu=null,Pi=!0,e=zE(t,null,i,a),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Mc(),i===o){t=Ql(e,t,a);break e}Gt(e,t,i,a)}t=t.child}return t;case 26:return wr(e,t),e===null?(e=Zu(t.type,null,t.pendingProps,null))?t.memoizedState=e:nt||(e=t.type,a=t.pendingProps,i=En(au.current),i=Ge(i).createElement(e),i[Nn]=t,i[ia]=a,Bt(i,e,a),Pt(i),t.stateNode=i):t.memoizedState=Zu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return F(t),e===null&&nt&&(i=En(au.current),o=x(),i=t.stateNode=yy(t.type,t.pendingProps,i,o,!1),so||(o=yt(i,t.type,t.pendingProps,o),o!==null&&(nl(t,0).serverProps=o)),Ea=t,Pi=!0,o=Xt,eu(t.type)?(PS=o,Xt=yn(i.firstChild)):Xt=o),Gt(e,t,t.pendingProps.children,a),wr(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&nt&&(s=x(),i=ud(t.type,s.ancestorInfo),o=Xt,(y=!o)||(y=Yi(o,t.type,t.pendingProps,Pi),y!==null?(t.stateNode=y,so||(s=yt(y,t.type,t.pendingProps,s),s!==null&&(nl(t,0).serverProps=s)),Ea=t,Xt=yn(y.firstChild),Pi=!1,s=!0):s=!1,y=!s),y&&(i&&av(t,o),xl(t))),F(t),o=t.type,s=t.pendingProps,y=e!==null?e.memoizedProps:null,i=s.children,Pl(o,s)?i=null:y!==null&&Pl(o,y)&&(t.flags|=32),t.memoizedState!==null&&(o=zi(e,t,Ua,null,null,a),Am._currentValue=o),wr(e,t),Gt(e,t,i,a),t.child;case 6:return e===null&&nt&&(e=t.pendingProps,a=x(),i=a.ancestorInfo.current,e=i!=null?or(e,i.tag,a.ancestorInfo.implicitRootScope):!0,a=Xt,(i=!a)||(i=vn(a,t.pendingProps,Pi),i!==null?(t.stateNode=i,Ea=t,Xt=null,i=!0):i=!1,i=!i),i&&(e&&av(t,a),xl(t))),null;case 13:return Hg(e,t,a);case 4:return Ia(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=ip(t,null,i,a):Gt(e,t,i,a),t.child;case 11:return Vd(e,t,t.type,t.pendingProps,a);case 7:return Gt(e,t,t.pendingProps,a),t.child;case 8:return Gt(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,Gt(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.type,o=t.pendingProps,s=o.value,"value"in o||KE||(KE=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),_i(t,i,s),Gt(e,t,o.children,a),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ti(t),o=bt(o),Ml(t),i=TS(i,o,void 0),ri(),t.flags|=1,Gt(e,t,i,a),t.child;case 14:return Xl(e,t,t.type,t.pendingProps,a);case 15:return Br(e,t,t.type,t.pendingProps,a);case 19:return Uv(e,t,a);case 31:return i=t.pendingProps,a=t.mode,i={mode:i.mode,children:i.children},e===null?(e=jr(i,a),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Ul(e.child,i),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return jd(e,t,a);case 24:return Ti(t),i=bt(bn),e===null?(o=dv(),o===null&&(o=St,s=gr(),o.pooledCache=s,zc(s),s!==null&&(o.pooledCacheLanes|=a),o=s),t.memoizedState={parent:i,cache:o},$n(t),_i(t,bn,o)):((e.lanes&a)!==0&&(Oi(e,t),wo(t,null,null,a),wl()),o=e.memoizedState,s=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),_i(t,bn,i)):(i=s.cache,_i(t,bn,i),i!==o.cache&&sv(t,[bn],a,!0))),Gt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Pn(e){e.flags|=4}function qr(e,t){if(t.type!=="stylesheet"||(t.state.loading&yu)!==jf)e.flags&=-16777217;else if(e.flags|=16777216,!Pr(t)){if(t=vu.current,t!==null&&((Qe&4194048)===Qe?tc!==null:(Qe&62914560)!==Qe&&(Qe&536870912)===0||t!==tc))throw um=yS,nE;e.flags|=8192}}function Yr(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ps():536870912,e.lanes|=t,xf|=t)}function Hi(e,t){if(!nt)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function ft(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)if((e.mode&Qn)!==Dt){for(var o=e.selfBaseDuration,s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,o+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&Qn)!==Dt){o=e.actualDuration,s=e.selfBaseDuration;for(var y=e.child;y!==null;)a|=y.lanes|y.childLanes,i|=y.subtreeFlags,i|=y.flags,o+=y.actualDuration,s+=y.treeBaseDuration,y=y.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function Bg(e,t,a){var i=t.pendingProps;switch(yd(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ft(t),null;case 1:return ft(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Uu(bn,t),Tn(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Dc(t)?(cv(),Pn(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,iv())),ft(t),null;case 26:return a=t.memoizedState,e===null?(Pn(t),a!==null?(ft(t),qr(t,a)):(ft(t),t.flags&=-16777217)):a?a!==e.memoizedState?(Pn(t),ft(t),qr(t,a)):(ft(t),t.flags&=-16777217):(e.memoizedProps!==i&&Pn(t),ft(t),t.flags&=-16777217),null;case 27:ee(t),a=En(au.current);var o=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Pn(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ft(t),null}e=x(),Dc(t)?lv(t):(e=yy(o,i,a,e,!0),t.stateNode=e,Pn(t))}return ft(t),null;case 5:if(ee(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Pn(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return ft(t),null}if(o=x(),Dc(t))lv(t);else{switch(e=En(au.current),ud(a,o.ancestorInfo),o=o.context,e=Ge(e),o){case gp:e=e.createElementNS(Os,a);break;case K0:e=e.createElementNS(Sf,a);break;default:switch(a){case"svg":e=e.createElementNS(Os,a);break;case"math":e=e.createElementNS(Sf,a);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?e.createElement("select",{is:i.is}):e.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?e.createElement(a,{is:i.is}):e.createElement(a),a.indexOf("-")===-1&&(a!==a.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||ku.call(fT,a)||(fT[a]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",a)))}}e[Nn]=t,e[ia]=i;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(Bt(e,a,i),a){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Pn(t)}}return ft(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Pn(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=En(au.current),a=x(),Dc(t)){e=t.stateNode,a=t.memoizedProps,o=!so,i=null;var s=Ea;if(s!==null)switch(s.tag){case 3:o&&(o=Sh(e,a,i),o!==null&&(nl(t,0).serverProps=o));break;case 27:case 5:i=s.memoizedProps,o&&(o=Sh(e,a,i),o!==null&&(nl(t,0).serverProps=o))}e[Nn]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||iy(e.nodeValue,a)),e||xl(t)}else o=a.ancestorInfo.current,o!=null&&or(i,o.tag,a.ancestorInfo.implicitRootScope),e=Ge(e).createTextNode(i),e[Nn]=t,t.stateNode=e}return ft(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Dc(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o[Nn]=t,ft(t),(t.mode&Qn)!==Dt&&i!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else cv(),Mc(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,ft(t),(t.mode&Qn)!==Dt&&i!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=iv(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(va(t),t):(va(t),null)}return va(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&Qn)!==Dt&&Hl(t),t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==o&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Yr(t,t.updateQueue),ft(t),(t.mode&Qn)!==Dt&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Tn(t),e===null&&ly(t.stateNode.containerInfo),ft(t),null;case 10:return Uu(t.type,t),ft(t),null;case 19:if(vt(_n,t),o=t.memoizedState,o===null)return ft(t),null;if(i=(t.flags&128)!==0,s=o.rendering,s===null)if(i)Hi(o,!1);else{if(Qt!==po||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=ju(e),s!==null){for(t.flags|=128,Hi(o,!1),e=s.updateQueue,t.updateQueue=e,Yr(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)tv(a,e),a=a.sibling;return we(_n,_n.current&cp|sm,t),t.child}e=e.sibling}o.tail!==null&&lu()>H0&&(t.flags|=128,i=!0,Hi(o,!1),t.lanes=4194304)}else{if(!i)if(e=ju(s),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Yr(t,e),Hi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!nt)return ft(t),null}else 2*lu()-o.renderingStartTime>H0&&a!==536870912&&(t.flags|=128,i=!0,Hi(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(e=o.last,e!==null?e.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=lu(),e.sibling=null,a=_n.current,a=i?a&cp|sm:a&cp,we(_n,a,t),e):(ft(t),null);case 22:case 23:return va(t),il(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(ft(t),t.subtreeFlags&6&&(t.flags|=8192)):ft(t),a=t.updateQueue,a!==null&&Yr(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&vt(Df,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Uu(bn,t),ft(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function wg(e,t){switch(yd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Qn)!==Dt&&Hl(t),t):null;case 3:return Uu(bn,t),Tn(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ee(t),null;case 13:if(va(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Mc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Qn)!==Dt&&Hl(t),t):null;case 19:return vt(_n,t),null;case 4:return Tn(t),null;case 10:return Uu(t.type,t),null;case 22:case 23:return va(t),il(t),e!==null&&vt(Df,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Qn)!==Dt&&Hl(t),t):null;case 24:return Uu(bn,t),null;case 25:return null;default:return null}}function xv(e,t){switch(yd(t),t.tag){case 3:Uu(bn,t),Tn(t);break;case 26:case 27:case 5:ee(t);break;case 4:Tn(t);break;case 13:va(t);break;case 19:vt(_n,t);break;case 10:Uu(t.type,t);break;case 22:case 23:va(t),il(t),e!==null&&vt(Df,t);break;case 24:Uu(bn,t)}}function rl(e){return(e.mode&Qn)!==Dt}function Cv(e,t){rl(e)?(ll(),Vc(t,e),za()):Vc(t,e)}function $d(e,t,a){rl(e)?(ll(),jc(a,e,t),za()):jc(a,e,t)}function Vc(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;do{if((a.tag&e)===e&&((e&Sn)!==du?le!==null&&typeof le.markComponentPassiveEffectMountStarted=="function"&&le.markComponentPassiveEffectMountStarted(t):(e&Zn)!==du&&le!==null&&typeof le.markComponentLayoutEffectMountStarted=="function"&&le.markComponentLayoutEffectMountStarted(t),i=void 0,(e&Ta)!==du&&(yp=!0),i=oe(t,rD,a),(e&Ta)!==du&&(yp=!1),(e&Sn)!==du?le!==null&&typeof le.markComponentPassiveEffectMountStopped=="function"&&le.markComponentPassiveEffectMountStopped():(e&Zn)!==du&&le!==null&&typeof le.markComponentLayoutEffectMountStopped=="function"&&le.markComponentLayoutEffectMountStopped(),i!==void 0&&typeof i!="function")){var s=void 0;s=(a.tag&Zn)!==0?"useLayoutEffect":(a.tag&Ta)!==0?"useInsertionEffect":"useEffect";var y=void 0;y=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
161
|
+
|
|
162
|
+
It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
163
|
+
|
|
164
|
+
`+s+`(() => {
|
|
165
|
+
async function fetchData() {
|
|
166
|
+
// You can await here
|
|
167
|
+
const response = await MyAPI.getData(someId);
|
|
168
|
+
// ...
|
|
169
|
+
}
|
|
170
|
+
fetchData();
|
|
171
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
172
|
+
|
|
173
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,oe(t,function(g,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",g,E)},s,y)}a=a.next}while(a!==o)}}catch(g){be(t,t.return,g)}}function jc(e,t,a){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var s=o.next;i=s;do{if((i.tag&e)===e){var y=i.inst,g=y.destroy;g!==void 0&&(y.destroy=void 0,(e&Sn)!==du?le!==null&&typeof le.markComponentPassiveEffectUnmountStarted=="function"&&le.markComponentPassiveEffectUnmountStarted(t):(e&Zn)!==du&&le!==null&&typeof le.markComponentLayoutEffectUnmountStarted=="function"&&le.markComponentLayoutEffectUnmountStarted(t),(e&Ta)!==du&&(yp=!0),o=t,oe(o,fD,o,a,g),(e&Ta)!==du&&(yp=!1),(e&Sn)!==du?le!==null&&typeof le.markComponentPassiveEffectUnmountStopped=="function"&&le.markComponentPassiveEffectUnmountStopped():(e&Zn)!==du&&le!==null&&typeof le.markComponentLayoutEffectUnmountStopped=="function"&&le.markComponentLayoutEffectUnmountStopped())}i=i.next}while(i!==s)}}catch(E){be(t,t.return,E)}}function Hv(e,t){rl(e)?(ll(),Vc(t,e),za()):Vc(t,e)}function Lr(e,t,a){rl(e)?(ll(),jc(a,e,t),za()):jc(a,e,t)}function Bv(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||sp||(a.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(e)||"instance"),a.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(e)||"instance"));try{oe(e,Rg,t,a)}catch(i){be(e,e.return,i)}}}function Vg(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function Kb(e,t){var a=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||sp||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(e)||"instance"));try{var o=Ci(e.type,a,e.elementType===e.type),s=oe(e,Vg,t,o,i);a=JE,s!==void 0||a.has(e.type)||(a.add(e.type),oe(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ve(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(y){be(e,e.return,y)}}function Wd(e,t,a){a.props=Ci(e.type,e.memoizedProps),a.state=e.memoizedState,rl(e)?(ll(),oe(e,SE,e,t,a),za()):oe(e,SE,e,t,a)}function jg(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(rl(e))try{ll(),e.refCleanup=t(a)}finally{za()}else e.refCleanup=t(a);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ve(e)),t.current=a}}function Wo(e,t){try{oe(e,jg,e)}catch(a){be(e,t,a)}}function wa(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{if(rl(e))try{ll(),oe(e,i)}finally{za(e)}else oe(e,i)}catch(o){be(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(rl(e))try{ll(),oe(e,a,null)}finally{za(e)}else oe(e,a,null)}catch(o){be(e,t,o)}else a.current=null}function wv(e,t,a,i){var o=e.memoizedProps,s=o.id,y=o.onCommit;o=o.onRender,t=t===null?"mount":"update",E0&&(t="nested-update"),typeof o=="function"&&o(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof y=="function"&&y(e.memoizedProps.id,t,i,a)}function qg(e,t,a,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",E0&&(t="nested-update"),typeof o=="function"&&o(e,t,i,a)}function Yg(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{oe(e,Xu,i,t,a,e)}catch(o){be(e,e.return,o)}}function Vv(e,t,a){try{oe(e,wt,e.stateNode,e.type,a,t,e)}catch(i){be(e,e.return,i)}}function jv(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&eu(e.type)||e.tag===4}function qc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&eu(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Gr(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Gu));else if(i!==4&&(i===27&&eu(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Gr(e,t,a),e=e.sibling;e!==null;)Gr(e,t,a),e=e.sibling}function Yc(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&eu(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Yc(e,t,a),e=e.sibling;e!==null;)Yc(e,t,a),e=e.sibling}function Lg(e){for(var t,a=e.return;a!==null;){if(jv(a)){t=a;break}a=a.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,a=qc(e),Yc(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(Qu(a),t.flags&=-33),t=qc(e),Yc(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=qc(e),Gr(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function qv(e){var t=e.stateNode,a=e.memoizedProps;try{oe(e,ga,e.type,a,t,e)}catch(i){be(e,e.return,i)}}function Fd(e,t){if(e=e.containerInfo,WS=W0,e=_g(e),Fp(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var o=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var y=0,g=-1,E=-1,T=0,q=0,X=e,V=null;t:for(;;){for(var Q;X!==a||o!==0&&X.nodeType!==3||(g=y+o),X!==s||i!==0&&X.nodeType!==3||(E=y+i),X.nodeType===3&&(y+=X.nodeValue.length),(Q=X.firstChild)!==null;)V=X,X=Q;for(;;){if(X===e)break t;if(V===a&&++T===o&&(g=y),V===s&&++q===i&&(E=y),(Q=X.nextSibling)!==null)break;X=V,V=X.parentNode}X=Q}a=g===-1||E===-1?null:{start:g,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(FS={focusedElem:e,selectionRange:a},W0=!1,Un=t;Un!==null;)if(t=Un,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Un=e;else for(;Un!==null;){switch(e=t=Un,a=e.alternate,o=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(o&1024)!==0&&a!==null&&Kb(e,a);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)cs(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":cs(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,Un=e;break}Un=t.return}}function Yv(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:Zl(e,a),i&4&&Cv(a,Zn|hu);break;case 1:if(Zl(e,a),i&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||sp||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(a)||"instance")),rl(a)?(ll(),oe(a,AS,a,e),za()):oe(a,AS,a,e);else{var o=Ci(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||sp||(e.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ve(a)||"instance"),e.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ve(a)||"instance")),rl(a)?(ll(),oe(a,mE,a,e,o,t,e.__reactInternalSnapshotBeforeUpdate),za()):oe(a,mE,a,e,o,t,e.__reactInternalSnapshotBeforeUpdate)}i&64&&Bv(a),i&512&&Wo(a,a.return);break;case 3:if(t=al(),Zl(e,a),i&64&&(i=a.updateQueue,i!==null)){if(o=null,a.child!==null)switch(a.child.tag){case 27:case 5:o=a.child.stateNode;break;case 1:o=a.child.stateNode}try{oe(a,Rg,i,o)}catch(y){be(a,a.return,y)}}e.effectDuration+=Ai(t);break;case 27:t===null&&i&4&&qv(a);case 26:case 5:Zl(e,a),t===null&&i&4&&Yg(a),i&512&&Wo(a,a.return);break;case 12:if(i&4){i=al(),Zl(e,a),e=a.stateNode,e.effectDuration+=Nc(i);try{oe(a,wv,a,t,_0,e.effectDuration)}catch(y){be(a,a.return,y)}}else Zl(e,a);break;case 13:Zl(e,a),i&4&&Fo(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=Wr.bind(null,a),os(e,a))));break;case 22:if(i=a.memoizedState!==null||ho,!i){t=t!==null&&t.memoizedState!==null||Ft,o=ho;var s=Ft;ho=i,(Ft=t)&&!s?Kl(e,a,(a.subtreeFlags&8772)!==0):Zl(e,a),ho=o,Ft=s}break;case 30:break;default:Zl(e,a)}}function Lv(e){var t=e.alternate;t!==null&&(e.alternate=null,Lv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Oo(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function qu(e,t,a){for(a=a.child;a!==null;)Lc(e,t,a),a=a.sibling}function Lc(e,t,a){if(mn&&typeof mn.onCommitFiberUnmount=="function")try{mn.onCommitFiberUnmount(Ji,a)}catch(s){ua||(ua=!0,console.error("React instrumentation encountered an error: %s",s))}switch(a.tag){case 26:Ft||wa(a,t),qu(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ft||wa(a,t);var i=on,o=Qa;eu(a.type)&&(on=a.stateNode,Qa=!1),qu(e,t,a),oe(a,rs,a.stateNode),on=i,Qa=o;break;case 5:Ft||wa(a,t);case 6:if(i=on,o=Qa,on=null,qu(e,t,a),on=i,Qa=o,on!==null)if(Qa)try{oe(a,us,on,a.stateNode)}catch(s){be(a,t,s)}else try{oe(a,qa,on,a.stateNode)}catch(s){be(a,t,s)}break;case 18:on!==null&&(Qa?(e=on,is(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),eo(e)):is(on,a.stateNode));break;case 4:i=on,o=Qa,on=a.stateNode.containerInfo,Qa=!0,qu(e,t,a),on=i,Qa=o;break;case 0:case 11:case 14:case 15:Ft||jc(Ta,a,t),Ft||$d(a,t,Zn),qu(e,t,a);break;case 1:Ft||(wa(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&Wd(a,t,i)),qu(e,t,a);break;case 21:qu(e,t,a);break;case 22:Ft=(i=Ft)||a.memoizedState!==null,qu(e,t,a),Ft=i;break;default:qu(e,t,a)}}function Fo(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{oe(t,ma,e)}catch(a){be(t,t.return,a)}}function Id(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new kE),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new kE),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Gc(e,t){var a=Id(e);t.forEach(function(i){var o=ji.bind(null,e,i);if(!a.has(i)){if(a.add(i),jt)if(rp!==null&&fp!==null)as(fp,rp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(o,o)}})}function Dn(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=e,s=t,y=a[i],g=s;e:for(;g!==null;){switch(g.tag){case 27:if(eu(g.type)){on=g.stateNode,Qa=!1;break e}break;case 5:on=g.stateNode,Qa=!1;break e;case 3:case 4:on=g.stateNode.containerInfo,Qa=!0;break e}g=g.return}if(on===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Lc(o,s,y),on=null,Qa=!1,o=y,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Gv(t,e),t=t.sibling}function Gv(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Dn(t,e),ea(e),i&4&&(jc(Ta|hu,e,e.return),Vc(Ta|hu,e),$d(e,e.return,Zn|hu));break;case 1:Dn(t,e),ea(e),i&512&&(Ft||a===null||wa(a,a.return)),i&64&&ho&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var o=ni;if(Dn(t,e),ea(e),i&512&&(Ft||a===null||wa(a,a.return)),i&4)if(t=a!==null?a.memoizedState:null,i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,t=o.ownerDocument||o;t:switch(i){case"title":o=t.getElementsByTagName("title")[0],(!o||o[_s]||o[Nn]||o.namespaceURI===Os||o.hasAttribute("itemprop"))&&(o=t.createElement(i),t.head.insertBefore(o,t.querySelector("head > title"))),Bt(o,i,a),o[Nn]=e,Pt(o),i=o;break e;case"link":var s=Sy("link","href",t).get(i+(a.href||""));if(s){for(var y=0;y<s.length;y++)if(o=s[y],o.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&o.getAttribute("rel")===(a.rel==null?null:a.rel)&&o.getAttribute("title")===(a.title==null?null:a.title)&&o.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){s.splice(y,1);break t}}o=t.createElement(i),Bt(o,i,a),t.head.appendChild(o);break;case"meta":if(s=Sy("meta","content",t).get(i+(a.content||""))){for(y=0;y<s.length;y++)if(o=s[y],ye(a.content,"content"),o.getAttribute("content")===(a.content==null?null:""+a.content)&&o.getAttribute("name")===(a.name==null?null:a.name)&&o.getAttribute("property")===(a.property==null?null:a.property)&&o.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&o.getAttribute("charset")===(a.charSet==null?null:a.charSet)){s.splice(y,1);break t}}o=t.createElement(i),Bt(o,i,a),t.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+i+'". This is a bug in React.')}o[Nn]=e,Pt(o),i=o}e.stateNode=i}else _y(o,e.type,e.stateNode);else e.stateNode=_h(o,i,e.memoizedProps);else t!==i?(t===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):t.count--,i===null?_y(o,e.type,e.stateNode):_h(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&Vv(e,e.memoizedProps,a.memoizedProps);break;case 27:Dn(t,e),ea(e),i&512&&(Ft||a===null||wa(a,a.return)),a!==null&&i&4&&Vv(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Dn(t,e),ea(e),i&512&&(Ft||a===null||wa(a,a.return)),e.flags&32){t=e.stateNode;try{oe(e,Qu,t)}catch(q){be(e,e.return,q)}}i&4&&e.stateNode!=null&&(t=e.memoizedProps,Vv(e,t,a!==null?a.memoizedProps:t)),i&1024&&(US=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Dn(t,e),ea(e),i&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");i=e.memoizedProps,a=a!==null?a.memoizedProps:i,t=e.stateNode;try{oe(e,Wc,t,a,i)}catch(q){be(e,e.return,q)}}break;case 3:if(o=al(),J0=null,s=ni,ni=Ir(t.containerInfo),Dn(t,e),ni=s,ea(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{oe(e,vy,t.containerInfo)}catch(q){be(e,e.return,q)}US&&(US=!1,Xc(e)),t.effectDuration+=Ai(o);break;case 4:i=ni,ni=Ir(e.stateNode.containerInfo),Dn(t,e),ea(e),ni=i;break;case 12:i=al(),Dn(t,e),ea(e),e.stateNode.effectDuration+=Nc(i);break;case 13:Dn(t,e),ea(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(VS=lu()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Gc(e,i)));break;case 22:o=e.memoizedState!==null;var g=a!==null&&a.memoizedState!==null,E=ho,T=Ft;if(ho=E||o,Ft=T||g,Dn(t,e),Ft=T,ho=E,ea(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&~m0:t._visibility|m0,o&&(a===null||g||ho||Ft||Mn(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){g=a=t;try{s=g.stateNode,o?oe(g,aa,s):oe(g,hy,g.stateNode,g.memoizedProps)}catch(q){be(g,g.return,q)}}}else if(t.tag===6){if(a===null){g=t;try{y=g.stateNode,o?oe(g,dy,y):oe(g,gh,y,g.memoizedProps)}catch(q){be(g,g.return,q)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,Gc(e,a))));break;case 19:Dn(t,e),ea(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Gc(e,i)));break;case 30:break;case 21:break;default:Dn(t,e),ea(e)}}function ea(e){var t=e.flags;if(t&2){try{oe(e,Lg,e)}catch(a){be(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Xc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Xc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Zl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Yv(e,t.alternate,t),t=t.sibling}function ya(e){switch(e.tag){case 0:case 11:case 14:case 15:$d(e,e.return,Zn),Mn(e);break;case 1:wa(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&Wd(e,e.return,t),Mn(e);break;case 27:oe(e,rs,e.stateNode);case 26:case 5:wa(e,e.return),Mn(e);break;case 22:e.memoizedState===null&&Mn(e);break;case 30:Mn(e);break;default:Mn(e)}}function Mn(e){for(e=e.child;e!==null;)ya(e),e=e.sibling}function Yu(e,t,a,i){var o=a.flags;switch(a.tag){case 0:case 11:case 15:Kl(e,a,i),Cv(a,Zn);break;case 1:if(Kl(e,a,i),t=a.stateNode,typeof t.componentDidMount=="function"&&oe(a,AS,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{oe(a,Vo,t,e)}catch(s){be(a,a.return,s)}}i&&o&64&&Bv(a),Wo(a,a.return);break;case 27:qv(a);case 26:case 5:Kl(e,a,i),i&&t===null&&o&4&&Yg(a),Wo(a,a.return);break;case 12:if(i&&o&4){o=al(),Kl(e,a,i),i=a.stateNode,i.effectDuration+=Nc(o);try{oe(a,wv,a,t,_0,i.effectDuration)}catch(s){be(a,a.return,s)}}else Kl(e,a,i);break;case 13:Kl(e,a,i),i&&o&4&&Fo(e,a);break;case 22:a.memoizedState===null&&Kl(e,a,i),Wo(a,a.return);break;case 30:break;default:Kl(e,a,i)}}function Kl(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Yu(e,t.alternate,t,a),t=t.sibling}function Jl(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&zc(e),a!=null&&Cl(a))}function fl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(zc(t),e!=null&&Cl(e))}function dt(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xr(e,t,a,i),t=t.sibling}function Xr(e,t,a,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:dt(e,t,a,i),o&2048&&Hv(t,Sn|hu);break;case 1:dt(e,t,a,i);break;case 3:var s=al();dt(e,t,a,i),o&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(zc(t),a!=null&&Cl(a))),e.passiveEffectDuration+=Ai(s);break;case 12:if(o&2048){o=al(),dt(e,t,a,i),e=t.stateNode,e.passiveEffectDuration+=Nc(o);try{oe(t,qg,t,t.alternate,_0,e.passiveEffectDuration)}catch(g){be(t,t.return,g)}}else dt(e,t,a,i);break;case 13:dt(e,t,a,i);break;case 23:break;case 22:s=t.stateNode;var y=t.alternate;t.memoizedState!==null?s._visibility&io?dt(e,t,a,i):Io(e,t):s._visibility&io?dt(e,t,a,i):(s._visibility|=io,Bi(e,t,a,i,(t.subtreeFlags&10256)!==0)),o&2048&&Jl(y,t);break;case 24:dt(e,t,a,i),o&2048&&fl(t.alternate,t);break;default:dt(e,t,a,i)}}function Bi(e,t,a,i,o){for(o=o&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)Pd(e,t,a,i,o),t=t.sibling}function Pd(e,t,a,i,o){var s=t.flags;switch(t.tag){case 0:case 11:case 15:Bi(e,t,a,i,o),Hv(t,Sn);break;case 23:break;case 22:var y=t.stateNode;t.memoizedState!==null?y._visibility&io?Bi(e,t,a,i,o):Io(e,t):(y._visibility|=io,Bi(e,t,a,i,o)),o&&s&2048&&Jl(t.alternate,t);break;case 24:Bi(e,t,a,i,o),o&&s&2048&&fl(t.alternate,t);break;default:Bi(e,t,a,i,o)}}function Io(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,o=i.flags;switch(i.tag){case 22:Io(a,i),o&2048&&Jl(i.alternate,i);break;case 24:Io(a,i),o&2048&&fl(i.alternate,i);break;default:Io(a,i)}t=t.sibling}}function Qc(e){if(e.subtreeFlags&rm)for(e=e.child;e!==null;)wi(e),e=e.sibling}function wi(e){switch(e.tag){case 26:Qc(e),e.flags&rm&&e.memoizedState!==null&&Ig(ni,e.memoizedState,e.memoizedProps);break;case 5:Qc(e);break;case 3:case 4:var t=ni;ni=Ir(e.stateNode.containerInfo),Qc(e),ni=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=rm,rm=16777216,Qc(e),rm=t):Qc(e));break;default:Qc(e)}}function Qr(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Po(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Un=i,Qv(i,e)}Qr(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Xv(e),e=e.sibling}function Xv(e){switch(e.tag){case 0:case 11:case 15:Po(e),e.flags&2048&&Lr(e,e.return,Sn|hu);break;case 3:var t=al();Po(e),e.stateNode.passiveEffectDuration+=Ai(t);break;case 12:t=al(),Po(e),e.stateNode.passiveEffectDuration+=Nc(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&io&&(e.return===null||e.return.tag!==13)?(t._visibility&=~io,Zr(e)):Po(e);break;default:Po(e)}}function Zr(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Un=i,Qv(i,e)}Qr(e)}for(e=e.child;e!==null;)Kr(e),e=e.sibling}function Kr(e){switch(e.tag){case 0:case 11:case 15:Lr(e,e.return,Sn),Zr(e);break;case 22:var t=e.stateNode;t._visibility&io&&(t._visibility&=~io,Zr(e));break;default:Zr(e)}}function Qv(e,t){for(;Un!==null;){var a=Un,i=a;switch(i.tag){case 0:case 11:case 15:Lr(i,t,Sn);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(i=i.memoizedState.cachePool.pool,i!=null&&zc(i));break;case 24:Cl(i.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Un=i;else e:for(a=e;Un!==null;){i=Un;var o=i.sibling,s=i.return;if(Lv(i),i===a){Un=null;break e}if(o!==null){o.return=s,Un=o;break e}Un=s}}}function Zv(){hD.forEach(function(e){return e()})}function Kv(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||L.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ta(e){if((rt&Aa)!==vl&&Qe!==0)return Qe&-Qe;var t=L.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Of,e!==0?e:ty()):ig()}function Gg(){ml===0&&(ml=(Qe&536870912)===0||nt?wp():536870912);var e=vu.current;return e!==null&&(e.flags|=32),ml}function Ct(e,t,a){if(yp&&console.error("useInsertionEffect must not schedule updates."),GS&&(B0=!0),(e===St&&(ht===Rf||ht===Uf)||e.cancelPendingCommit!==null)&&(Kc(e,0),Lu(e,Qe,ml,!1)),To(e,a),(rt&Aa)!==0&&e===St){if(ca)switch(t.tag){case 0:case 11:case 15:e=Xe&&ve(Xe)||"Unknown",lT.has(e)||(lT.add(e),t=ve(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:aT||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),aT=!0)}}else jt&&Au(e,t,a),Kg(t),e===St&&((rt&Aa)===vl&&(xs|=a),Qt===Nf&&Lu(e,Qe,ml,!1)),Va(e)}function $t(e,t,a){if((rt&(Aa|ai))!==vl)throw Error("Should not already be working.");var i=!a&&(t&124)===0&&(t&e.expiredLanes)===0||Is(e,t),o=i?kv(e,t):ah(e,t,!0),s=i;do{if(o===po){pp&&!i&&Lu(e,t,0,!1);break}else{if(a=e.current.alternate,s&&!Xg(a)){o=ah(e,t,!1),s=!1;continue}if(o===dp){if(s=t,e.errorRecoveryDisabledLanes&s)var y=0;else y=e.pendingLanes&-536870913,y=y!==0?y:y&536870912?536870912:0;if(y!==0){t=y;e:{o=e;var g=y;y=ym;var E=o.current.memoizedState.isDehydrated;if(E&&(Kc(o,g).flags|=256),g=ah(o,g,!1),g!==dp){if(BS&&!E){o.errorRecoveryDisabledLanes|=s,xs|=s,o=Nf;break e}o=Oa,Oa=y,o!==null&&(Oa===null?Oa=o:Oa.push.apply(Oa,o))}o=g}if(s=!1,o!==dp)continue}}if(o===dm){Kc(e,0),Lu(e,t,0,!0);break}e:{switch(i=e,o){case po:case dm:throw Error("Root did not complete. This is a bug in React.");case Nf:if((t&4194048)!==t)break;case x0:Lu(i,t,ml,!Rs);break e;case dp:Oa=null;break;case xS:case $E:break;default:throw Error("Unknown root exit status.")}if(L.actQueue!==null)oh(i,a,t,Oa,mm,C0,ml,xs,xf);else{if((t&62914560)===t&&(s=VS+FE-lu(),10<s)){if(Lu(i,t,ml,!Rs),sa(i,0,!0)!==0)break e;i.timeoutHandle=dT(an.bind(null,i,a,Oa,mm,C0,t,ml,xs,xf,Rs,o,mD,P_,0),s);break e}an(i,a,Oa,mm,C0,t,ml,xs,xf,Rs,o,vD,P_,0)}}}break}while(!0);Va(e)}function an(e,t,a,i,o,s,y,g,E,T,q,X,V,Q){if(e.timeoutHandle=Vf,X=t.subtreeFlags,(X&8192||(X&16785408)===16785408)&&(Tm={stylesheets:null,count:0,unsuspend:Fg},wi(t),X=Pg(),X!==null)){e.cancelPendingCommit=X(oh.bind(null,e,t,s,a,i,o,y,g,E,q,yD,V,Q)),Lu(e,s,y,!T);return}oh(e,t,s,a,i,o,y,g,E)}function Xg(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var o=a[i],s=o.getSnapshot;o=o.value;try{if(!_a(s(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Lu(e,t,a,i){t&=~wS,t&=~xs,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var s=31-zn(o),y=1<<s;i[s]=-1,o&=~y}a!==0&&ug(e,a,t)}function Zc(){return(rt&(Aa|ai))===vl?(Jc(0),!1):!0}function eh(){if(Xe!==null){if(ht===Za)var e=Xe.return;else e=Xe,md(),cl(e),up=null,om=0,e=Xe;for(;e!==null;)xv(e.alternate,e),e=e.return;Xe=null}}function Kc(e,t){var a=e.timeoutHandle;a!==Vf&&(e.timeoutHandle=Vf,RD(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),eh(),St=e,Xe=a=Ul(e.current,null),Qe=t,ht=Za,yl=null,Rs=!1,pp=Is(e,t),BS=!1,Qt=po,xf=ml=wS=xs=Us=0,Oa=ym=null,C0=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-zn(i),s=1<<o;t|=e[o],i&=~s}return nc=t,hr(),t=F_(),1e3<t-W_&&(L.recentlyCreatedOwnerStacks=0,W_=t),ei.discardPendingWarnings(),a}function Jr(e,t){De=null,L.H=R0,L.getCurrentStack=null,ca=!1,Sa=null,t===lm||t===O0?(t=vv(),ht=pm):t===nE?(t=vv(),ht=WE):ht=t===YE?HS:t!==null&&typeof t=="object"&&typeof t.then=="function"?hp:hm,yl=t;var a=Xe;if(a===null)Qt=dm,$o(e,da(t,e.current));else switch(a.mode&Qn&&xu(a),ri(),ht){case hm:le!==null&&typeof le.markComponentErrored=="function"&&le.markComponentErrored(a,t,Qe);break;case Rf:case Uf:case pm:case hp:case vm:le!==null&&typeof le.markComponentSuspended=="function"&&le.markComponentSuspended(a,t,Qe)}}function th(){var e=L.H;return L.H=R0,e===null?R0:e}function Jv(){var e=L.A;return L.A=dD,e}function nh(){Qt=Nf,Rs||(Qe&4194048)!==Qe&&vu.current!==null||(pp=!0),(Us&134217727)===0&&(xs&134217727)===0||St===null||Lu(St,Qe,ml,!1)}function ah(e,t,a){var i=rt;rt|=Aa;var o=th(),s=Jv();if(St!==e||Qe!==t){if(jt){var y=e.memoizedUpdaters;0<y.size&&(as(e,Qe),y.clear()),Jn(e,t)}mm=null,Kc(e,t)}Fs(t),t=!1,y=Qt;e:do try{if(ht!==Za&&Xe!==null){var g=Xe,E=yl;switch(ht){case HS:eh(),y=x0;break e;case pm:case Rf:case Uf:case hp:vu.current===null&&(t=!0);var T=ht;if(ht=Za,yl=null,Vi(e,g,E,T),a&&pp){y=po;break e}break;default:T=ht,ht=Za,yl=null,Vi(e,g,E,T)}}lh(),y=Qt;break}catch(q){Jr(e,q)}while(!0);return t&&e.shellSuspendCounter++,md(),rt=i,L.H=o,L.A=s,Ff(),Xe===null&&(St=null,Qe=0,hr()),y}function lh(){for(;Xe!==null;)Wv(Xe)}function kv(e,t){var a=rt;rt|=Aa;var i=th(),o=Jv();if(St!==e||Qe!==t){if(jt){var s=e.memoizedUpdaters;0<s.size&&(as(e,Qe),s.clear()),Jn(e,t)}mm=null,H0=lu()+IE,Kc(e,t)}else pp=Is(e,t);Fs(t);e:do try{if(ht!==Za&&Xe!==null)t:switch(t=Xe,s=yl,ht){case hm:ht=Za,yl=null,Vi(e,t,s,hm);break;case Rf:case Uf:if(pv(s)){ht=Za,yl=null,uh(t);break}t=function(){ht!==Rf&&ht!==Uf||St!==e||(ht=vm),Va(e)},s.then(t,t);break e;case pm:ht=vm;break e;case WE:ht=CS;break e;case vm:pv(s)?(ht=Za,yl=null,uh(t)):(ht=Za,yl=null,Vi(e,t,s,vm));break;case CS:var y=null;switch(Xe.tag){case 26:y=Xe.memoizedState;case 5:case 27:var g=Xe;if(!y||Pr(y)){ht=Za,yl=null;var E=g.sibling;if(E!==null)Xe=E;else{var T=g.return;T!==null?(Xe=T,kr(T)):Xe=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ht=Za,yl=null,Vi(e,t,s,CS);break;case hp:ht=Za,yl=null,Vi(e,t,s,hp);break;case HS:eh(),Qt=x0;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}L.actQueue!==null?lh():$v();break}catch(q){Jr(e,q)}while(!0);return md(),L.H=i,L.A=o,rt=a,Xe!==null?(le!==null&&typeof le.markRenderYielded=="function"&&le.markRenderYielded(),po):(Ff(),St=null,Qe=0,hr(),Qt)}function $v(){for(;Xe!==null&&!i0();)Wv(Xe)}function Wv(e){var t=e.alternate;(e.mode&Qn)!==Dt?(gd(e),t=oe(e,kd,t,e,nc),xu(e)):t=oe(e,kd,t,e,nc),e.memoizedProps=e.pendingProps,t===null?kr(e):Xe=t}function uh(e){var t=oe(e,ih,e);e.memoizedProps=e.pendingProps,t===null?kr(e):Xe=t}function ih(e){var t=e.alternate,a=(e.mode&Qn)!==Dt;switch(a&&gd(e),e.tag){case 15:case 0:t=Mv(t,e,e.pendingProps,e.type,void 0,Qe);break;case 11:t=Mv(t,e,e.pendingProps,e.type.render,e.ref,Qe);break;case 5:cl(e);default:xv(t,e),e=Xe=tv(e,nc),t=kd(t,e,nc)}return a&&xu(e),t}function Vi(e,t,a,i){md(),cl(t),up=null,om=0;var o=t.return;try{if(Hr(e,o,t,a,Qe)){Qt=dm,$o(e,da(a,e.current)),Xe=null;return}}catch(s){if(o!==null)throw Xe=o,s;Qt=dm,$o(e,da(a,e.current)),Xe=null;return}t.flags&32768?(nt||i===hm?e=!0:pp||(Qe&536870912)!==0?e=!1:(Rs=e=!0,(i===Rf||i===Uf||i===pm||i===hp)&&(i=vu.current,i!==null&&i.tag===13&&(i.flags|=16384))),ch(t,e)):kr(t)}function kr(e){var t=e;do{if((t.flags&32768)!==0){ch(t,Rs);return}var a=t.alternate;if(e=t.return,gd(t),a=oe(t,Bg,a,t,nc),(t.mode&Qn)!==Dt&&Rc(t),a!==null){Xe=a;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);Qt===po&&(Qt=$E)}function ch(e,t){do{var a=wg(e.alternate,e);if(a!==null){a.flags&=32767,Xe=a;return}if((e.mode&Qn)!==Dt){Rc(e),a=e.actualDuration;for(var i=e.child;i!==null;)a+=i.actualDuration,i=i.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){Xe=e;return}Xe=e=a}while(e!==null);Qt=x0,Xe=null}function oh(e,t,a,i,o,s,y,g,E){e.cancelPendingCommit=null;do es();while(Kn!==Cf);if(ei.flushLegacyContextWarning(),ei.flushPendingUnsafeLifecycleWarnings(),(rt&(Aa|ai))!==vl)throw Error("Should not already be working.");if(le!==null&&typeof le.markCommitStarted=="function"&&le.markCommitStarted(a),t===null)Ws();else{if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(s=t.lanes|t.childLanes,s|=fS,wb(e,a,s,y,g,E),e===St&&(Xe=St=null,Qe=0),vp=t,Hs=e,Bs=a,qS=s,YS=o,nT=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ey(gs,function(){return $r(),null})):(e.callbackNode=null,e.callbackPriority=0),_0=ep(),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=L.T,L.T=null,o=Ee.p,Ee.p=gn,y=rt,rt|=ai;try{Fd(e,t,a)}finally{rt=y,Ee.p=o,L.T=i}}Kn=PE,kl(),sh(),Qg()}}function kl(){if(Kn===PE){Kn=Cf;var e=Hs,t=vp,a=Bs,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var o=Ee.p;Ee.p=gn;var s=rt;rt|=ai;try{rp=a,fp=e,Gv(t,e),fp=rp=null,a=FS;var y=_g(e.containerInfo),g=a.focusedElem,E=a.selectionRange;if(y!==g&&g&&g.ownerDocument&&Sg(g.ownerDocument.documentElement,g)){if(E!==null&&Fp(g)){var T=E.start,q=E.end;if(q===void 0&&(q=T),"selectionStart"in g)g.selectionStart=T,g.selectionEnd=Math.min(q,g.value.length);else{var X=g.ownerDocument||document,V=X&&X.defaultView||window;if(V.getSelection){var Q=V.getSelection(),se=g.textContent.length,Te=Math.min(E.start,se),_t=E.end===void 0?Te:Math.min(E.end,se);!Q.extend&&Te>_t&&(y=_t,_t=Te,Te=y);var Je=Wp(g,Te),M=Wp(g,_t);if(Je&&M&&(Q.rangeCount!==1||Q.anchorNode!==Je.node||Q.anchorOffset!==Je.offset||Q.focusNode!==M.node||Q.focusOffset!==M.offset)){var z=X.createRange();z.setStart(Je.node,Je.offset),Q.removeAllRanges(),Te>_t?(Q.addRange(z),Q.extend(M.node,M.offset)):(z.setEnd(M.node,M.offset),Q.addRange(z))}}}}for(X=[],Q=g;Q=Q.parentNode;)Q.nodeType===1&&X.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<X.length;g++){var N=X[g];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}W0=!!WS,FS=WS=null}finally{rt=s,Ee.p=o,L.T=i}}e.current=t,Kn=eT}}function sh(){if(Kn===eT){Kn=Cf;var e=Hs,t=vp,a=Bs,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var o=Ee.p;Ee.p=gn;var s=rt;rt|=ai;try{le!==null&&typeof le.markLayoutEffectsStarted=="function"&&le.markLayoutEffectsStarted(a),rp=a,fp=e,Yv(e,t.alternate,t),fp=rp=null,le!==null&&typeof le.markLayoutEffectsStopped=="function"&&le.markLayoutEffectsStopped()}finally{rt=s,Ee.p=o,L.T=i}}Kn=tT}}function Qg(){if(Kn===gD||Kn===tT){Kn=Cf,eS();var e=Hs,t=vp,a=Bs,i=nT,o=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;o?Kn=jS:(Kn=Cf,vp=Hs=null,$l(e,e.pendingLanes),Hf=0,bm=null);var s=e.pendingLanes;if(s===0&&(Cs=null),o||ns(e),o=jp(a),t=t.stateNode,mn&&typeof mn.onCommitFiberRoot=="function")try{var y=(t.current.flags&128)===128;switch(o){case gn:var g=xh;break;case pl:g=df;break;case Wu:g=gs;break;case wh:g=hf;break;default:g=gs}mn.onCommitFiberRoot(Ji,t,g,y)}catch(X){ua||(ua=!0,console.error("React instrumentation encountered an error: %s",X))}if(jt&&e.memoizedUpdaters.clear(),Zv(),i!==null){y=L.T,g=Ee.p,Ee.p=gn,L.T=null;try{var E=e.onRecoverableError;for(t=0;t<i.length;t++){var T=i[t],q=Zg(T.stack);oe(T.source,E,T.value,q)}}finally{L.T=y,Ee.p=g}}(Bs&3)!==0&&es(),Va(e),s=e.pendingLanes,(a&4194090)!==0&&(s&42)!==0?(T0=!0,e===LS?gm++:(gm=0,LS=e)):gm=0,Jc(0),Ws()}}function Zg(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function $l(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Cl(t)))}function es(e){return kl(),sh(),Qg(),$r()}function $r(){if(Kn!==jS)return!1;var e=Hs,t=qS;qS=0;var a=jp(Bs),i=Wu>a?Wu:a;a=L.T;var o=Ee.p;try{Ee.p=i,L.T=null,i=YS,YS=null;var s=Hs,y=Bs;if(Kn=Cf,vp=Hs=null,Bs=0,(rt&(Aa|ai))!==vl)throw Error("Cannot flush passive effects while already rendering.");GS=!0,B0=!1,le!==null&&typeof le.markPassiveEffectsStarted=="function"&&le.markPassiveEffectsStarted(y);var g=rt;if(rt|=ai,Xv(s.current),Xr(s,s.current,y,i),le!==null&&typeof le.markPassiveEffectsStopped=="function"&&le.markPassiveEffectsStopped(),ns(s),rt=g,Jc(0,!1),B0?s===bm?Hf++:(Hf=0,bm=s):Hf=0,B0=GS=!1,mn&&typeof mn.onPostCommitFiberRoot=="function")try{mn.onPostCommitFiberRoot(Ji,s)}catch(T){ua||(ua=!0,console.error("React instrumentation encountered an error: %s",T))}var E=s.current.stateNode;return E.effectDuration=0,E.passiveEffectDuration=0,!0}finally{Ee.p=o,L.T=a,$l(e,t)}}function ts(e,t,a){t=da(a,t),t=On(e.stateNode,t,2),e=ul(e,t,2),e!==null&&(To(e,2),Va(e))}function be(e,t,a){if(yp=!1,e.tag===3)ts(e,e,a);else{for(;t!==null;){if(t.tag===3){ts(t,e,a);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Cs===null||!Cs.has(i))){e=da(a,e),a=xt(2),i=ul(t,a,2),i!==null&&(Cr(a,i,t,e),To(i,2),Va(i));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
174
|
+
|
|
175
|
+
Error message:
|
|
176
|
+
|
|
177
|
+
%s`,a)}}function Fv(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new pD;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(a)||(BS=!0,o.add(a),i=Jb.bind(null,e,t,a),jt&&as(e,a),t.then(i,i))}function Jb(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Kv()&&L.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
178
|
+
|
|
179
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
180
|
+
|
|
181
|
+
act(() => {
|
|
182
|
+
/* finish loading suspended data */
|
|
183
|
+
});
|
|
184
|
+
/* assert on the output */
|
|
185
|
+
|
|
186
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),St===e&&(Qe&a)===a&&(Qt===Nf||Qt===xS&&(Qe&62914560)===Qe&&lu()-VS<FE?(rt&Aa)===vl&&Kc(e,0):wS|=a,xf===Qe&&(xf=0)),Va(e)}function Iv(e,t){t===0&&(t=Ps()),e=kn(e,t),e!==null&&(To(e,t),Va(e))}function Wr(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Iv(e,a)}function ji(e,t){var a=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),Iv(e,a)}function rh(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,o=t,s=o.type===hs;s=a||s,o.tag!==22?o.flags&67108864?s&&oe(o,Pv,i,o,(o.mode&J_)===Dt):rh(i,o,s):o.memoizedState===null&&(s&&o.flags&8192?oe(o,Pv,i,o):o.subtreeFlags&67108864&&oe(o,rh,i,o,s)),t=t.sibling}}function Pv(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;at(!0);try{ya(t),a&&Kr(t),Yu(e,t.alternate,t,!1),a&&Pd(e,t,0,null,!1,0)}finally{at(!1)}}function ns(e){var t=!0;e.current.mode&(oa|Pu)||(t=!1),rh(e,e.current,t)}function dl(e){if((rt&Aa)===vl){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=ve(e)||"ReactComponent",w0!==null){if(w0.has(t))return;w0.add(t)}else w0=new Set([t]);oe(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function as(e,t){jt&&e.memoizedUpdaters.forEach(function(a){Au(e,a,t)})}function ey(e,t){var a=L.actQueue;return a!==null?(a.push(t),_D):Uh(e,t)}function Kg(e){Kv()&&L.actQueue===null&&oe(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
187
|
+
|
|
188
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
189
|
+
|
|
190
|
+
act(() => {
|
|
191
|
+
/* fire events that update state */
|
|
192
|
+
});
|
|
193
|
+
/* assert on the output */
|
|
194
|
+
|
|
195
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,ve(e))})}function Va(e){e!==mp&&e.next===null&&(mp===null?V0=mp=e:mp=mp.next=e),j0=!0,L.actQueue!==null?QS||(QS=!0,Wt()):XS||(XS=!0,Wt())}function Jc(e,t){if(!ZS&&j0){ZS=!0;do for(var a=!1,i=V0;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var s=0;else{var y=i.suspendedLanes,g=i.pingedLanes;s=(1<<31-zn(42|e)+1)-1,s&=o&~(y&~g),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,hh(i,s))}else s=Qe,s=sa(i,i===St?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Vf),(s&3)===0||Is(i,s)||(a=!0,hh(i,s));i=i.next}while(a);ZS=!1}}function fh(){dh()}function dh(){j0=QS=XS=!1;var e=0;Bf!==0&&(ls()&&(e=Bf),Bf=0);for(var t=lu(),a=null,i=V0;i!==null;){var o=i.next,s=Wl(i,t);s===0?(i.next=null,a===null?V0=o:a.next=o,o===null&&(mp=a)):(a=i,(e!==0||(s&3)!==0)&&(j0=!0)),i=o}Jc(e)}function Wl(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var y=31-zn(s),g=1<<y,E=o[y];E===-1?((g&a)===0||(g&i)!==0)&&(o[y]=lg(g,t)):E<=t&&(e.expiredLanes|=g),s&=~g}if(t=St,a=Qe,a=sa(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Vf),i=e.callbackNode,a===0||e===t&&(ht===Rf||ht===Uf)||e.cancelPendingCommit!==null)return i!==null&&ph(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Is(e,a)){if(t=a&-a,t!==e.callbackPriority||L.actQueue!==null&&i!==KS)ph(i);else return t;switch(jp(a)){case gn:case pl:a=df;break;case Wu:a=gs;break;case wh:a=hf;break;default:a=gs}return i=Ht.bind(null,e),L.actQueue!==null?(L.actQueue.push(i),a=KS):a=Uh(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&ph(i),e.callbackPriority=2,e.callbackNode=null,2}function Ht(e,t){if(T0=E0=!1,Kn!==Cf&&Kn!==jS)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(es()&&e.callbackNode!==a)return null;var i=Qe;return i=sa(e,e===St?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Vf),i===0?null:($t(e,i,t),Wl(e,lu()),e.callbackNode!=null&&e.callbackNode===a?Ht.bind(null,e):null)}function hh(e,t){if(es())return null;E0=T0,T0=!1,$t(e,t,!0)}function ph(e){e!==KS&&e!==null&&Pb(e)}function Wt(){L.actQueue!==null&&L.actQueue.push(function(){return dh(),null}),UD(function(){(rt&(Aa|ai))!==vl?Uh(xh,fh):dh()})}function ty(){return Bf===0&&(Bf=wp()),Bf}function ny(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ye(e,"action"),Uo(""+e))}function ay(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function At(e,t,a,i,o){if(t==="submit"&&a&&a.stateNode===o){var s=ny((o[ia]||null).action),y=i.submitter;y&&(t=(t=y[ia]||null)?ny(t.formAction):y.getAttribute("formAction"),t!==null&&(s=t,y=null));var g=new pe("action","action",null,i,o);e.push({event:g,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Bf!==0){var E=y?ay(o,y):new FormData(o),T={pending:!0,data:E,method:o.method,action:s};Object.freeze(T),Hc(a,T,null,E)}}else typeof s=="function"&&(g.preventDefault(),E=y?ay(o,y):new FormData(o),T={pending:!0,data:E,method:o.method,action:s},Object.freeze(T),Hc(a,T,s,E))},currentTarget:o}]})}}function hn(e,t,a){e.currentTarget=a;try{t(e)}catch(i){MS(i)}e.currentTarget=null}function Fl(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a];e:{var o=void 0,s=i.event;if(i=i.listeners,t)for(var y=i.length-1;0<=y;y--){var g=i[y],E=g.instance,T=g.currentTarget;if(g=g.listener,E!==o&&s.isPropagationStopped())break e;E!==null?oe(E,hn,s,g,T):hn(s,g,T),o=E}else for(y=0;y<i.length;y++){if(g=i[y],E=g.instance,T=g.currentTarget,g=g.listener,E!==o&&s.isPropagationStopped())break e;E!==null?oe(E,hn,s,g,T):hn(s,g,T),o=E}}}}function Ye(e,t){JS.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[Ry];a===void 0&&(a=t[Ry]=new Set);var i=e+"__bubble";a.has(i)||(yh(t,e,2,!1),a.add(i))}function vh(e,t,a){JS.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var i=0;t&&(i|=4),yh(a,e,i,t)}function ly(e){if(!e[q0]){e[q0]=!0,o0.forEach(function(a){a!=="selectionchange"&&(JS.has(a)||vh(a,!1,e),vh(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[q0]||(t[q0]=!0,vh("selectionchange",!1,t))}}function yh(e,t,a,i){switch(Mh(t)){case gn:var o=Wb;break;case pl:o=Dh;break;default:o=Gi}a=o.bind(null,t,a,e),o=void 0,!B||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function Yn(e,t,a,i,o){var s=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var y=i.tag;if(y===3||y===4){var g=i.stateNode.containerInfo;if(g===o)break;if(y===4)for(y=i.return;y!==null;){var E=y.tag;if((E===3||E===4)&&y.stateNode.containerInfo===o)return;y=y.return}for(;g!==null;){if(y=Ou(g),y===null)return;if(E=y.tag,E===5||E===6||E===26||E===27){i=s=y;continue e}g=g.parentNode}}i=i.return}cd(function(){var T=s,q=Sc(a),X=[];e:{var V=K_.get(e);if(V!==void 0){var Q=pe,se=e;switch(e){case"keypress":if(xo(a)===0)break e;case"keydown":case"keyup":Q=jO;break;case"focusin":se="focus",Q=$e;break;case"focusout":se="blur",Q=$e;break;case"beforeblur":case"afterblur":Q=$e;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Q=je;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=Se;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=LO;break;case G_:case X_:case Q_:Q=lS;break;case Z_:Q=XO;break;case"scroll":case"scrollend":Q=C;break;case"wheel":Q=ZO;break;case"copy":case"cut":case"paste":Q=UO;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=H_;break;case"toggle":case"beforetoggle":Q=JO}var Te=(t&4)!==0,_t=!Te&&(e==="scroll"||e==="scrollend"),Je=Te?V!==null?V+"Capture":null:V;Te=[];for(var M=T,z;M!==null;){var N=M;if(z=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||z===null||Je===null||(N=zu(M,Je),N!=null&&Te.push(Ln(M,N,z))),_t)break;M=M.return}0<Te.length&&(V=new Q(V,se,null,a,q),X.push({event:V,listeners:Te}))}}if((t&7)===0){e:{if(V=e==="mouseover"||e==="pointerover",Q=e==="mouseout"||e==="pointerout",V&&a!==f&&(se=a.relatedTarget||a.fromElement)&&(Ou(se)||se[$i]))break e;if((Q||V)&&(V=q.window===q?q:(V=q.ownerDocument)?V.defaultView||V.parentWindow:window,Q?(se=a.relatedTarget||a.toElement,Q=T,se=se?Ou(se):null,se!==null&&(_t=ze(se),Te=se.tag,se!==_t||Te!==5&&Te!==27&&Te!==6)&&(se=null)):(Q=null,se=T),Q!==se)){if(Te=je,N="onMouseLeave",Je="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(Te=H_,N="onPointerLeave",Je="onPointerEnter",M="pointer"),_t=Q==null?V:fi(Q),z=se==null?V:fi(se),V=new Te(N,M+"leave",Q,a,q),V.target=_t,V.relatedTarget=z,N=null,Ou(q)===T&&(Te=new Te(Je,M+"enter",se,a,q),Te.target=z,Te.relatedTarget=_t,N=Te),_t=N,Q&&se)t:{for(Te=Q,Je=se,M=0,z=Te;z;z=ln(z))M++;for(z=0,N=Je;N;N=ln(N))z++;for(;0<M-z;)Te=ln(Te),M--;for(;0<z-M;)Je=ln(Je),z--;for(;M--;){if(Te===Je||Je!==null&&Te===Je.alternate)break t;Te=ln(Te),Je=ln(Je)}Te=null}else Te=null;Q!==null&&uy(X,V,Q,Te,!1),se!==null&&_t!==null&&uy(X,_t,se,Te,!0)}}e:{if(V=T?fi(T):window,Q=V.nodeName&&V.nodeName.toLowerCase(),Q==="select"||Q==="input"&&V.type==="file")var Z=kp;else if(yg(V))if(Y_)Z=Xb;else{Z=$p;var ae=Lb}else Q=V.nodeName,!Q||Q.toLowerCase()!=="input"||V.type!=="checkbox"&&V.type!=="radio"?T&&bc(T.elementType)&&(Z=kp):Z=Gb;if(Z&&(Z=Z(e,T))){fd(X,Z,a,q);break e}ae&&ae(e,V,T),e==="focusout"&&T&&V.type==="number"&&T.memoizedProps.value!=null&&td(V,"number",V.value)}switch(ae=T?fi(T):window,e){case"focusin":(yg(ae)||ae.contentEditable==="true")&&(Kh=ae,iS=T,Wy=null);break;case"focusout":Wy=iS=Kh=null;break;case"mousedown":cS=!0;break;case"contextmenu":case"mouseup":case"dragend":cS=!1,Eg(X,a,q);break;case"selectionchange":if(FO)break;case"keydown":case"keyup":Eg(X,a,q)}var Ue;if(uS)e:{switch(e){case"compositionstart":var re="onCompositionStart";break e;case"compositionend":re="onCompositionEnd";break e;case"compositionupdate":re="onCompositionUpdate";break e}re=void 0}else Zh?qn(e,a)&&(re="onCompositionEnd"):e==="keydown"&&a.keyCode===B_&&(re="onCompositionStart");re&&(w_&&a.locale!=="ko"&&(Zh||re!=="onCompositionStart"?re==="onCompositionEnd"&&Zh&&(Ue=Nu()):($=q,j="value"in $?$.value:$.textContent,Zh=!0)),ae=Fr(T,re),0<ae.length&&(re=new C_(re,e,null,a,q),X.push({event:re,listeners:ae}),Ue?re.data=Ue:(Ue=gi(a),Ue!==null&&(re.data=Ue)))),(Ue=$O?rd(e,a):rr(e,a))&&(re=Fr(T,"onBeforeInput"),0<re.length&&(ae=new CO("onBeforeInput","beforeinput",null,a,q),X.push({event:ae,listeners:re}),ae.data=Ue)),At(X,e,T,a,q)}Fl(X,t)})}function Ln(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Fr(e,t){for(var a=t+"Capture",i=[];e!==null;){var o=e,s=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||s===null||(o=zu(e,a),o!=null&&i.unshift(Ln(e,o,s)),o=zu(e,t),o!=null&&i.push(Ln(e,o,s))),e.tag===3)return i;e=e.return}return[]}function ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function uy(e,t,a,i,o){for(var s=t._reactName,y=[];a!==null&&a!==i;){var g=a,E=g.alternate,T=g.stateNode;if(g=g.tag,E!==null&&E===i)break;g!==5&&g!==26&&g!==27||T===null||(E=T,o?(T=zu(a,s),T!=null&&y.unshift(Ln(a,T,E))):o||(T=zu(a,s),T!=null&&y.push(Ln(a,T,E)))),a=a.return}y.length!==0&&e.push({event:t,listeners:y})}function Il(e,t){Ro(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Ky||(Ky=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var a={registrationNameDependencies:Ga,possibleRegistrationNames:no};bc(e)||typeof t.is=="string"||Zp(e,t,a),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Ot(e,t,a,i){t!==a&&(a=pn(a),pn(t)!==a&&(i[e]=t))}function qi(e,t,a){t.forEach(function(i){a[cy(i)]=i==="style"?$c(e):e.getAttribute(i)})}function ja(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function mh(e,t){return e=e.namespaceURI===Sf||e.namespaceURI===Os?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function pn(e){return _e(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",ge(e)),Tt(e)),(typeof e=="string"?e:""+e).replace(ED,`
|
|
196
|
+
`).replace(TD,"")}function iy(e,t){return t=pn(t),pn(e)===t}function Gu(){}function et(e,t,a,i,o,s){switch(a){case"children":typeof i=="string"?(or(i,t,!1),t==="body"||t==="textarea"&&i===""||gc(e,i)):(typeof i=="number"||typeof i=="bigint")&&(or(""+i,t,!1),t!=="body"&&gc(e,""+i));break;case"className":tr(e,"class",i);break;case"tabIndex":tr(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":tr(e,a,i);break;case"style":sr(e,i,s);break;case"data":if(t!=="object"){tr(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){console.error(a==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',a,a),e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}ye(i,a),i=Uo(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||G0||(G0=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),o.target==null||L0||(L0=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||Y0?t!=="button"||o.type==null||o.type==="submit"||Y0?typeof i=="function"&&(o.name==null||cT||(cT=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),o.formEncType==null&&o.formMethod==null||G0||(G0=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),o.formTarget==null||L0||(L0=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(Y0=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Y0=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(a==="formAction"?(t!=="input"&&et(e,t,"name",o.name,o,null),et(e,t,"formEncType",o.formEncType,o,null),et(e,t,"formMethod",o.formMethod,o,null),et(e,t,"formTarget",o.formTarget,o,null)):(et(e,t,"encType",o.encType,o,null),et(e,t,"method",o.method,o,null),et(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}ye(i,a),i=Uo(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&ja(a,i),e.onclick=Gu);break;case"onScroll":i!=null&&(typeof i!="function"&&ja(a,i),Ye("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&ja(a,i),Ye("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}ye(i,a),a=Uo(""+i),e.setAttributeNS(wf,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(ye(i,a),e.setAttribute(a,""+i)):e.removeAttribute(a);break;case"inert":i!==""||X0[a]||(X0[a]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",a));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(ye(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(ye(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):(ye(i,a),e.setAttribute(a,i));break;case"popover":Ye("beforetoggle",e),Ye("toggle",e),er(e,"popover",i);break;case"xlinkActuate":Pa(e,wf,"xlink:actuate",i);break;case"xlinkArcrole":Pa(e,wf,"xlink:arcrole",i);break;case"xlinkRole":Pa(e,wf,"xlink:role",i);break;case"xlinkShow":Pa(e,wf,"xlink:show",i);break;case"xlinkTitle":Pa(e,wf,"xlink:title",i);break;case"xlinkType":Pa(e,wf,"xlink:type",i);break;case"xmlBase":Pa(e,kS,"xml:base",i);break;case"xmlLang":Pa(e,kS,"xml:lang",i);break;case"xmlSpace":Pa(e,kS,"xml:space",i);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),er(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":oT||i==null||typeof i!="object"||(oT=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=id(a),er(e,a,i)):Ga.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&ja(a,i)}}function kc(e,t,a,i,o,s){switch(a){case"style":sr(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof i=="string"?gc(e,i):(typeof i=="number"||typeof i=="bigint")&&gc(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&ja(a,i),Ye("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&ja(a,i),Ye("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&ja(a,i),e.onclick=Gu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Ga.hasOwnProperty(a))i!=null&&typeof i!="function"&&ja(a,i);else e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),s=e[ia]||null,s=s!=null?s[a]:null,typeof s=="function"&&e.removeEventListener(t,s,o),typeof i=="function")){typeof s!="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,o);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):er(e,a,i)}}}function Bt(e,t,a){switch(Il(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ye("error",e),Ye("load",e);var i=!1,o=!1,s;for(s in a)if(a.hasOwnProperty(s)){var y=a[s];if(y!=null)switch(s){case"src":i=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:et(e,t,s,y,a,null)}}o&&et(e,t,"srcSet",a.srcSet,a,null),i&&et(e,t,"src",a.src,a,null);return;case"input":hi("input",a),Ye("invalid",e);var g=s=y=o=null,E=null,T=null;for(i in a)if(a.hasOwnProperty(i)){var q=a[i];if(q!=null)switch(i){case"name":o=q;break;case"type":y=q;break;case"checked":E=q;break;case"defaultChecked":T=q;break;case"value":s=q;break;case"defaultValue":g=q;break;case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:et(e,t,i,q,a,null)}}pi(e,a),fg(e,s,g,E,T,y,o,!1),Du(e);return;case"select":hi("select",a),Ye("invalid",e),i=y=s=null;for(o in a)if(a.hasOwnProperty(o)&&(g=a[o],g!=null))switch(o){case"value":s=g;break;case"defaultValue":y=g;break;case"multiple":i=g;default:et(e,t,o,g,a,null)}ur(e,a),t=s,a=y,e.multiple=!!i,t!=null?Mu(e,!!i,t,!1):a!=null&&Mu(e,!!i,a,!0);return;case"textarea":hi("textarea",a),Ye("invalid",e),s=o=i=null;for(y in a)if(a.hasOwnProperty(y)&&(g=a[y],g!=null))switch(y){case"value":i=g;break;case"defaultValue":o=g;break;case"children":s=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:et(e,t,y,g,a,null)}Nl(e,a),Yp(e,i,o,s),Du(e);return;case"option":qp(e,a);for(E in a)if(a.hasOwnProperty(E)&&(i=a[E],i!=null))switch(E){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:et(e,t,E,i,a,null)}return;case"dialog":Ye("beforetoggle",e),Ye("toggle",e),Ye("cancel",e),Ye("close",e);break;case"iframe":case"object":Ye("load",e);break;case"video":case"audio":for(i=0;i<Sm.length;i++)Ye(Sm[i],e);break;case"image":Ye("error",e),Ye("load",e);break;case"details":Ye("toggle",e);break;case"embed":case"source":case"link":Ye("error",e),Ye("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in a)if(a.hasOwnProperty(T)&&(i=a[T],i!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:et(e,t,T,i,a,null)}return;default:if(bc(t)){for(q in a)a.hasOwnProperty(q)&&(i=a[q],i!==void 0&&kc(e,t,q,i,a,void 0));return}}for(g in a)a.hasOwnProperty(g)&&(i=a[g],i!=null&&et(e,t,g,i,a,null))}function Jg(e,t,a,i){switch(Il(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,s=null,y=null,g=null,E=null,T=null,q=null;for(Q in a){var X=a[Q];if(a.hasOwnProperty(Q)&&X!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":E=X;default:i.hasOwnProperty(Q)||et(e,t,Q,null,i,X)}}for(var V in i){var Q=i[V];if(X=a[V],i.hasOwnProperty(V)&&(Q!=null||X!=null))switch(V){case"type":s=Q;break;case"name":o=Q;break;case"checked":T=Q;break;case"defaultChecked":q=Q;break;case"value":y=Q;break;case"defaultValue":g=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Q!==X&&et(e,t,V,Q,i,X)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||iT||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),iT=!0),!t||i||uT||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),uT=!0),vi(e,y,g,E,T,q,s,o);return;case"select":Q=y=g=V=null;for(s in a)if(E=a[s],a.hasOwnProperty(s)&&E!=null)switch(s){case"value":break;case"multiple":Q=E;default:i.hasOwnProperty(s)||et(e,t,s,null,i,E)}for(o in i)if(s=i[o],E=a[o],i.hasOwnProperty(o)&&(s!=null||E!=null))switch(o){case"value":V=s;break;case"defaultValue":g=s;break;case"multiple":y=s;default:s!==E&&et(e,t,o,s,i,E)}i=g,t=y,a=Q,V!=null?Mu(e,!!t,V,!1):!!a!=!!t&&(i!=null?Mu(e,!!t,i,!0):Mu(e,!!t,t?[]:"",!1));return;case"textarea":Q=V=null;for(g in a)if(o=a[g],a.hasOwnProperty(g)&&o!=null&&!i.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:et(e,t,g,null,i,o)}for(y in i)if(o=i[y],s=a[y],i.hasOwnProperty(y)&&(o!=null||s!=null))switch(y){case"value":V=o;break;case"defaultValue":Q=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==s&&et(e,t,y,o,i,s)}nd(e,V,Q);return;case"option":for(var se in a)if(V=a[se],a.hasOwnProperty(se)&&V!=null&&!i.hasOwnProperty(se))switch(se){case"selected":e.selected=!1;break;default:et(e,t,se,null,i,V)}for(E in i)if(V=i[E],Q=a[E],i.hasOwnProperty(E)&&V!==Q&&(V!=null||Q!=null))switch(E){case"selected":e.selected=V&&typeof V!="function"&&typeof V!="symbol";break;default:et(e,t,E,V,i,Q)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Te in a)V=a[Te],a.hasOwnProperty(Te)&&V!=null&&!i.hasOwnProperty(Te)&&et(e,t,Te,null,i,V);for(T in i)if(V=i[T],Q=a[T],i.hasOwnProperty(T)&&V!==Q&&(V!=null||Q!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:et(e,t,T,V,i,Q)}return;default:if(bc(t)){for(var _t in a)V=a[_t],a.hasOwnProperty(_t)&&V!==void 0&&!i.hasOwnProperty(_t)&&kc(e,t,_t,void 0,i,V);for(q in i)V=i[q],Q=a[q],!i.hasOwnProperty(q)||V===Q||V===void 0&&Q===void 0||kc(e,t,q,V,i,Q);return}}for(var Je in a)V=a[Je],a.hasOwnProperty(Je)&&V!=null&&!i.hasOwnProperty(Je)&&et(e,t,Je,null,i,V);for(X in i)V=i[X],Q=a[X],!i.hasOwnProperty(X)||V===Q||V==null&&Q==null||et(e,t,X,V,i,Q)}function cy(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function $c(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var i=e[a];t[i]=e.getPropertyValue(i)}return t}function oy(e,t,a){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var i,o=i="",s;for(s in t)if(t.hasOwnProperty(s)){var y=t[s];y!=null&&typeof y!="boolean"&&y!==""&&(s.indexOf("--")===0?(ke(y,s),i+=o+s+":"+(""+y).trim()):typeof y!="number"||y===0||bf.has(s)?(ke(y,s),i+=o+s.replace(Fu,"-$1").toLowerCase().replace(Iu,"-ms-")+":"+(""+y).trim()):i+=o+s.replace(Fu,"-$1").toLowerCase().replace(Iu,"-ms-")+":"+y+"px",o=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=pn(i),pn(t)!==i&&(a.style=$c(e)))}}function Gn(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(ye(i,t),e===""+i)return}Ot(t,e,i,s)}function sy(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}Ot(t,e,i,s)}function ry(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(ye(i,a),e===""+i)return}Ot(t,e,i,s)}function kg(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(ye(i,t),e===""+i))return}Ot(t,e,i,s)}function ut(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(ye(i,t),a=Uo(""+i),e===a)return}Ot(t,e,i,s)}function yt(e,t,a,i){for(var o={},s=new Set,y=e.attributes,g=0;g<y.length;g++)switch(y[g].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(y[g].name)}if(bc(t)){for(var E in a)if(a.hasOwnProperty(E)){var T=a[E];if(T!=null){if(Ga.hasOwnProperty(E))typeof T!="function"&&ja(E,T);else if(a.suppressHydrationWarning!==!0)switch(E){case"children":typeof T!="string"&&typeof T!="number"||Ot("children",e.textContent,T,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=e.innerHTML,T=T?T.__html:void 0,T!=null&&(T=mh(e,T),Ot(E,y,T,o));continue;case"style":s.delete(E),oy(e,T,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":s.delete("class"),y=cg(e,"class",T),Ot("className",y,T,o);continue;default:i.context===yo&&t!=="svg"&&t!=="math"?s.delete(E.toLowerCase()):s.delete(E),y=cg(e,E,T),Ot(E,y,T,o)}}}}else for(T in a)if(a.hasOwnProperty(T)&&(E=a[T],E!=null)){if(Ga.hasOwnProperty(T))typeof E!="function"&&ja(T,E);else if(a.suppressHydrationWarning!==!0)switch(T){case"children":typeof E!="string"&&typeof E!="number"||Ot("children",e.textContent,E,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=e.innerHTML,E=E?E.__html:void 0,E!=null&&(E=mh(e,E),y!==E&&(o[T]={__html:y}));continue;case"className":Gn(e,T,"class",E,s,o);continue;case"tabIndex":Gn(e,T,"tabindex",E,s,o);continue;case"style":s.delete(T),oy(e,E,o);continue;case"multiple":s.delete(T),Ot(T,e.multiple,E,o);continue;case"muted":s.delete(T),Ot(T,e.muted,E,o);continue;case"autoFocus":s.delete("autofocus"),Ot(T,e.autofocus,E,o);continue;case"data":if(t!=="object"){s.delete(T),y=e.getAttribute("data"),Ot(T,y,E,o);continue}case"src":case"href":if(!(E!==""||t==="a"&&T==="href"||t==="object"&&T==="data")){console.error(T==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',T,T);continue}ut(e,T,T,E,s,o);continue;case"action":case"formAction":if(y=e.getAttribute(T),typeof E=="function"){s.delete(T.toLowerCase()),T==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(y===AD){s.delete(T.toLowerCase()),Ot(T,"function",E,o);continue}ut(e,T,T.toLowerCase(),E,s,o);continue;case"xlinkHref":ut(e,T,"xlink:href",E,s,o);continue;case"contentEditable":ry(e,T,"contenteditable",E,s,o);continue;case"spellCheck":ry(e,T,"spellcheck",E,s,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":ry(e,T,T,E,s,o);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":sy(e,T,T.toLowerCase(),E,s,o);continue;case"capture":case"download":e:{g=e;var q=y=T,X=o;if(s.delete(q),g=g.getAttribute(q),g===null)switch(typeof E){case"undefined":case"function":case"symbol":break e;default:if(E===!1)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&g==="")break e;break;default:if(ye(E,y),g===""+E)break e}Ot(y,g,E,X)}continue;case"cols":case"rows":case"size":case"span":e:{if(g=e,q=y=T,X=o,s.delete(q),g=g.getAttribute(q),g===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(E)||1>E)break e}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(ye(E,y),g===""+E))break e}Ot(y,g,E,X)}continue;case"rowSpan":kg(e,T,"rowspan",E,s,o);continue;case"start":kg(e,T,T,E,s,o);continue;case"xHeight":Gn(e,T,"x-height",E,s,o);continue;case"xlinkActuate":Gn(e,T,"xlink:actuate",E,s,o);continue;case"xlinkArcrole":Gn(e,T,"xlink:arcrole",E,s,o);continue;case"xlinkRole":Gn(e,T,"xlink:role",E,s,o);continue;case"xlinkShow":Gn(e,T,"xlink:show",E,s,o);continue;case"xlinkTitle":Gn(e,T,"xlink:title",E,s,o);continue;case"xlinkType":Gn(e,T,"xlink:type",E,s,o);continue;case"xmlBase":Gn(e,T,"xml:base",E,s,o);continue;case"xmlLang":Gn(e,T,"xml:lang",E,s,o);continue;case"xmlSpace":Gn(e,T,"xml:space",E,s,o);continue;case"inert":E!==""||X0[T]||(X0[T]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",T)),sy(e,T,T,E,s,o);continue;default:if(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N"){g=id(T),y=!1,i.context===yo&&t!=="svg"&&t!=="math"?s.delete(g.toLowerCase()):(q=T.toLowerCase(),q=uo.hasOwnProperty(q)&&uo[q]||null,q!==null&&q!==T&&(y=!0,s.delete(q)),s.delete(g));e:if(q=e,X=g,g=E,dc(X))if(q.hasAttribute(X))q=q.getAttribute(X),ye(g,X),g=q===""+g?g:q;else{switch(typeof g){case"function":case"symbol":break e;case"boolean":if(q=X.toLowerCase().slice(0,5),q!=="data-"&&q!=="aria-")break e}g=g===void 0?void 0:null}else g=void 0;y||Ot(T,g,E,o)}}}return 0<s.size&&a.suppressHydrationWarning!==!0&&qi(e,s,o),Object.keys(o).length===0?null:o}function Le(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function Ge(e){return e.nodeType===9?e:e.ownerDocument}function ct(e){switch(e){case Os:return gp;case Sf:return K0;default:return yo}}function na(e,t){if(e===yo)switch(t){case"svg":return gp;case"math":return K0;default:return yo}return e===gp&&t==="foreignObject"?yo:e}function Pl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function ls(){var e=window.event;return e&&e.type==="popstate"?e===IS?!1:(IS=e,!0):(IS=null,!1)}function fy(e){setTimeout(function(){throw e})}function Xu(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function wt(e,t,a,i){Jg(e,t,a,i),e[ia]=i}function Qu(e){gc(e,"")}function Wc(e,t,a){e.nodeValue=a}function eu(e){return e==="head"}function qa(e,t){e.removeChild(t)}function us(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function is(e,t){var a=t,i=0,o=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a===Z0){if(0<i&&8>i){a=i;var y=e.ownerDocument;if(a&DD&&rs(y.documentElement),a&MD&&rs(y.body),a&zD)for(a=y.head,rs(a),y=a.firstChild;y;){var g=y.nextSibling,E=y.nodeName;y[_s]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&y.rel.toLowerCase()==="stylesheet"||a.removeChild(y),y=g}}if(o===0){e.removeChild(s),eo(t);return}o--}else a===Q0||a===vo||a===_m?o++:i=a.charCodeAt(0)-48;else i=0;a=s}while(a);eo(t)}function aa(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function dy(e){e.nodeValue=""}function hy(e,t){t=t[ND],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function gh(e,t){e.nodeValue=t}function cs(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":cs(a),Oo(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Yi(e,t,a,i){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[_s])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ye(o.name,"name");var s=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=yn(e.nextSibling),e===null)break}return null}function vn(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=yn(e.nextSibling),e===null))return null;return e}function tu(e){return e.data===_m||e.data===vo&&e.ownerDocument.readyState===rT}function os(e,t){var a=e.ownerDocument;if(e.data!==vo||a.readyState===rT)t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function yn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===Q0||t===_m||t===vo||t===$S||t===sT)break;if(t===Z0)return null}}return e}function bh(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},i=e.attributes,o=0;o<i.length;o++){var s=i[o];a[cy(s.name)]=s.name.toLowerCase()==="style"?$c(e):s.value}return{type:t,props:a}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Sh(e,t,a){return a===null||a[OD]!==!0?(e.nodeValue===t?e=null:(t=pn(t),e=pn(e.nodeValue)===t?null:e.nodeValue),e):null}function py(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===Z0){if(t===0)return yn(e.nextSibling);t--}else a!==Q0&&a!==_m&&a!==vo||t++}e=e.nextSibling}return null}function ss(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===Q0||a===_m||a===vo){if(t===0)return e;t--}else a===Z0&&t++}e=e.previousSibling}return null}function vy(e){eo(e)}function ma(e){eo(e)}function yy(e,t,a,i,o){switch(o&&ud(e,i.ancestorInfo),t=Ge(a),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function ga(e,t,a,i){if(!a[$i]&&ra(a)){var o=a.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",o,o,o)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(o=a.attributes;o.length;)a.removeAttributeNode(o[0]);Bt(a,e,t),a[Nn]=i,a[ia]=t}function rs(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Oo(e)}function Ir(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function $g(e,t,a){var i=bp;if(i&&typeof t=="string"&&t){var o=fa(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),yT.has(o)||(yT.add(o),e={rel:e,crossOrigin:a,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),Bt(t,"link",e),Pt(t),i.head.appendChild(t)))}}function Zu(e,t,a,i){var o=(o=au.current)?Ir(o):null;if(!o)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Li(a.href),t=zl(o).hoistableStyles,i=t.get(a),i||(i={type:"style",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Li(a.href);var s=zl(o).hoistableStyles,y=s.get(e);if(!y&&(o=o.ownerDocument||o,y={type:"stylesheet",instance:null,count:0,state:{loading:jf,preload:null}},s.set(e,y),(s=o.querySelector(nu(e)))&&!s._p&&(y.instance=s,y.state.loading=Em|yu),!mu.has(e))){var g={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};mu.set(e,g),s||Wg(o,e,g,y.state)}if(t&&i===null)throw a=`
|
|
197
|
+
|
|
198
|
+
- `+Fc(t)+`
|
|
199
|
+
+ `+Fc(a),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return y}if(t&&i!==null)throw a=`
|
|
200
|
+
|
|
201
|
+
- `+Fc(t)+`
|
|
202
|
+
+ `+Fc(a),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=Ic(a),t=zl(o).hoistableScripts,i=t.get(a),i||(i={type:"script",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Fc(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):ku.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):ku.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):ku.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function Li(e){return'href="'+fa(e)+'"'}function nu(e){return'link[rel="stylesheet"]['+e+"]"}function my(e){return He({},e,{"data-precedence":e.precedence,precedence:null})}function Wg(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=Em:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=Em}),t.addEventListener("error",function(){return i.loading|=pT}),Bt(t,"link",a),Pt(t),e.head.appendChild(t))}function Ic(e){return'[src="'+fa(e)+'"]'}function Pc(e){return"script[async]"+e}function _h(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+fa(a.href)+'"]');if(i)return t.instance=i,Pt(i),i;var o=He({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Pt(i),Bt(i,"style",o),Eh(i,a.precedence,e),t.instance=i;case"stylesheet":o=Li(a.href);var s=e.querySelector(nu(o));if(s)return t.state.loading|=yu,t.instance=s,Pt(s),s;i=my(a),(o=mu.get(o))&&gy(i,o),s=(e.ownerDocument||e).createElement("link"),Pt(s);var y=s;return y._p=new Promise(function(g,E){y.onload=g,y.onerror=E}),Bt(s,"link",i),t.state.loading|=yu,Eh(s,a.precedence,e),t.instance=s;case"script":return s=Ic(a.src),(o=e.querySelector(Pc(s)))?(t.instance=o,Pt(o),o):(i=a,(o=mu.get(s))&&(i=He({},a),by(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),Pt(o),Bt(o,"link",i),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&yu)===jf&&(i=t.instance,t.state.loading|=yu,Eh(i,a.precedence,e));return t.instance}function Eh(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,s=o,y=0;y<i.length;y++){var g=i[y];if(g.dataset.precedence===t)s=g;else if(s!==o)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function gy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function by(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Sy(e,t,a){if(J0===null){var i=new Map,o=J0=new Map;o.set(a,i)}else o=J0,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var s=a[o];if(!(s[_s]||s[Nn]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==Os){var y=s.getAttribute(t)||"";y=e+y;var g=i.get(y);g?g.push(s):i.set(y,[s])}}return i}function _y(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function fs(e,t,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===gp||t.itemProp!=null)return!i||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){i&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var o=t.onError,s=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),o&&a.push("`onError`"),s!=null&&a.push("`disabled`"),o=Le(a,"and"),o+=a.length===1?" prop":" props",s=a.length===1?"an "+o:"the "+o,a.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,s,o)}i&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&i&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){i&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Pr(e){return!(e.type==="stylesheet"&&(e.state.loading&vT)===jf)}function Fg(){}function Ig(e,t,a){if(Tm===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var i=Tm;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&yu)===jf){if(t.instance===null){var o=Li(a.href),s=e.querySelector(nu(o));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=ef.bind(i),e.then(i,i)),t.state.loading|=yu,t.instance=s,Pt(s);return}s=e.ownerDocument||e,a=my(a),(o=mu.get(o))&&gy(a,o),s=s.createElement("link"),Pt(s);var y=s;y._p=new Promise(function(g,E){y.onload=g,y.onerror=E}),Bt(s,"link",a),t.instance=s}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&vT)===jf&&(i.count++,t=ef.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function Pg(){if(Tm===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=Tm;return e.stylesheets&&e.count===0&&Th(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Th(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function ef(){if(this.count--,this.count===0){if(this.stylesheets)Th(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Th(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,k0=new Map,t.forEach(e0,e),k0=null,ef.call(e))}function e0(e,t){if(!(t.state.loading&yu)){var a=k0.get(e);if(a)var i=a.get(e1);else{a=new Map,k0.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<o.length;s++){var y=o[s];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(a.set(y.dataset.precedence,y),i=y)}i&&a.set(e1,i)}o=t.instance,y=o.getAttribute("data-precedence"),s=a.get(y)||i,s===i&&a.set(e1,o),a.set(y,o),this.count++,i=ef.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),s?s.parentNode.insertBefore(o,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=yu}}function Ah(e,t,a,i,o,s,y,g){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Vf,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Vp(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vp(0),this.hiddenUpdates=Vp(null),this.identifierPrefix=i,this.onUncaughtError=o,this.onCaughtError=s,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function Ey(e,t,a,i,o,s,y,g,E,T,q,X){return e=new Ah(e,t,a,y,g,E,T,X),t=tD,s===!0&&(t|=oa|Pu),jt&&(t|=Qn),s=ne(3,null,null,t),e.current=s,s.stateNode=e,t=gr(),zc(t),e.pooledCache=t,zc(t),s.memoizedState={element:i,isDehydrated:a,cache:t},$n(s),e}function Ty(e){return e?(e=Ds,e):Ds}function st(e,t,a,i,o,s){if(mn&&typeof mn.onScheduleFiberRoot=="function")try{mn.onScheduleFiberRoot(Ji,i,a)}catch(y){ua||(ua=!0,console.error("React instrumentation encountered an error: %s",y))}le!==null&&typeof le.markRenderScheduled=="function"&&le.markRenderScheduled(t),o=Ty(o),i.context===null?i.context=o:i.pendingContext=o,ca&&Sa!==null&&!ST&&(ST=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
203
|
+
|
|
204
|
+
Check the render method of %s.`,ve(Sa)||"Unknown")),i=Bl(t),i.payload={element:a},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),i.callback=s),a=ul(e,i,t),a!==null&&(Ct(a,e,t),Di(a,e,t))}function Oh(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Ay(e,t){Oh(e,t),(e=e.alternate)&&Oh(e,t)}function Oy(e){if(e.tag===13){var t=kn(e,67108864);t!==null&&Ct(t,e,67108864),Ay(e,67108864)}}function kb(){return Sa}function $b(){for(var e=new Map,t=1,a=0;31>a;a++){var i=Bb(t);e.set(t,i),t*=2}return e}function Wb(e,t,a,i){var o=L.T;L.T=null;var s=Ee.p;try{Ee.p=gn,Gi(e,t,a,i)}finally{Ee.p=s,L.T=o}}function Dh(e,t,a,i){var o=L.T;L.T=null;var s=Ee.p;try{Ee.p=pl,Gi(e,t,a,i)}finally{Ee.p=s,L.T=o}}function Gi(e,t,a,i){if(W0){var o=tf(i);if(o===null)Yn(e,t,i,F0,a),Xi(e,i);else if(nf(o,e,t,a,i))i.stopPropagation();else if(Xi(e,i),t&4&&-1<CD.indexOf(e)){for(;o!==null;){var s=ra(o);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var y=rc(s.pendingLanes);if(y!==0){var g=s;for(g.pendingLanes|=2,g.entangledLanes|=2;y;){var E=1<<31-zn(y);g.entanglements[1]|=E,y&=~E}Va(s),(rt&(Aa|ai))===vl&&(H0=lu()+IE,Jc(0))}}break;case 13:g=kn(s,2),g!==null&&Ct(g,s,2),Zc(),Ay(s,2)}if(s=tf(i),s===null&&Yn(e,t,i,F0,a),s===o)break;o=s}o!==null&&i.stopPropagation()}else Yn(e,t,i,null,a)}}function tf(e){return e=Sc(e),ds(e)}function ds(e){if(F0=null,e=Ou(e),e!==null){var t=ze(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=qt(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return F0=e,null}function Mh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return gn;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return pl;case"message":switch(Ki()){case xh:return gn;case df:return pl;case gs:case tS:return Wu;case hf:return wh;default:return Wu}default:return Wu}}function Xi(e,t){switch(e){case"focusin":case"focusout":ws=null;break;case"dragenter":case"dragleave":Vs=null;break;case"mouseover":case"mouseout":js=null;break;case"pointerover":case"pointerout":Om.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dm.delete(t.pointerId)}}function la(e,t,a,i,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:s,targetContainers:[o]},t!==null&&(t=ra(t),t!==null&&Oy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function nf(e,t,a,i,o){switch(t){case"focusin":return ws=la(ws,e,t,a,i,o),!0;case"dragenter":return Vs=la(Vs,e,t,a,i,o),!0;case"mouseover":return js=la(js,e,t,a,i,o),!0;case"pointerover":var s=o.pointerId;return Om.set(s,la(Om.get(s)||null,e,t,a,i,o)),!0;case"gotpointercapture":return s=o.pointerId,Dm.set(s,la(Dm.get(s)||null,e,t,a,i,o)),!0}return!1}function t0(e){var t=Ou(e.target);if(t!==null){var a=ze(t);if(a!==null){if(t=a.tag,t===13){if(t=qt(a),t!==null){e.blockedOn=t,Vb(e.priority,function(){if(a.tag===13){var i=ta(a);i=wn(i);var o=kn(a,i);o!==null&&Ct(o,a,i),Ay(a,i)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function af(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=tf(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a),o=i;f!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),f=o,a.target.dispatchEvent(i),f===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),f=null}else return t=ra(a),t!==null&&Oy(t),e.blockedOn=a,!1;t.shift()}return!0}function Dy(e,t,a){af(e)&&a.delete(t)}function n0(){t1=!1,ws!==null&&af(ws)&&(ws=null),Vs!==null&&af(Vs)&&(Vs=null),js!==null&&af(js)&&(js=null),Om.forEach(Dy),Dm.forEach(Dy)}function lf(e,t){e.blockedOn===t&&(e.blockedOn=null,t1||(t1=!0,Vt.unstable_scheduleCallback(Vt.unstable_NormalPriority,n0)))}function a0(e){I0!==e&&(I0=e,Vt.unstable_scheduleCallback(Vt.unstable_NormalPriority,function(){I0===e&&(I0=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(ds(i||a)===null)continue;break}var s=ra(a);s!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:o,method:a.method,action:i},Object.freeze(a),Hc(s,a,i,o))}}))}function eo(e){function t(E){return lf(E,e)}ws!==null&&lf(ws,e),Vs!==null&&lf(Vs,e),js!==null&&lf(js,e),Om.forEach(t),Dm.forEach(t);for(var a=0;a<qs.length;a++){var i=qs[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<qs.length&&(a=qs[0],a.blockedOn===null);)t0(a),a.blockedOn===null&&qs.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],s=a[i+1],y=o[ia]||null;if(typeof s=="function")y||a0(a);else if(y){var g=null;if(s&&s.hasAttribute("formAction")){if(o=s,y=s[ia]||null)g=y.formAction;else if(ds(o)!==null)continue}else g=y.action;typeof g=="function"?a[i+1]=g:(a.splice(i,3),i-=3),a0(a)}}}function zh(e){this._internalRoot=e}function uf(e){this._internalRoot=e}function l0(e){e[$i]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Vt=u1(),cf=Ie,Fb=P0,He=Object.assign,of=Symbol.for("react.element"),Qi=Symbol.for("react.transitional.element"),to=Symbol.for("react.portal"),Re=Symbol.for("react.fragment"),hs=Symbol.for("react.strict_mode"),ps=Symbol.for("react.profiler"),My=Symbol.for("react.provider"),Nh=Symbol.for("react.consumer"),Ya=Symbol.for("react.context"),Ku=Symbol.for("react.forward_ref"),vs=Symbol.for("react.suspense"),Zi=Symbol.for("react.suspense_list"),sf=Symbol.for("react.memo"),ba=Symbol.for("react.lazy"),zy=Symbol.for("react.activity"),u0=Symbol.for("react.memo_cache_sentinel"),Ny=Symbol.iterator,Rh=Symbol.for("react.client.reference"),Oe=Array.isArray,L=cf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee=Fb.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ib=Object.freeze({pending:!1,data:null,method:null,action:null}),rf=[],ff=[],La=-1,Ju=Lt(null),ys=Lt(null),au=Lt(null),ms=Lt(null),ku=Object.prototype.hasOwnProperty,Uh=Vt.unstable_scheduleCallback,Pb=Vt.unstable_cancelCallback,i0=Vt.unstable_shouldYield,eS=Vt.unstable_requestPaint,lu=Vt.unstable_now,Ki=Vt.unstable_getCurrentPriorityLevel,xh=Vt.unstable_ImmediatePriority,df=Vt.unstable_UserBlockingPriority,gs=Vt.unstable_NormalPriority,tS=Vt.unstable_LowPriority,hf=Vt.unstable_IdlePriority,nS=Vt.log,hl=Vt.unstable_setDisableYieldValue,Ji=null,mn=null,le=null,ua=!1,jt=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",zn=Math.clz32?Math.clz32:Bp,Ch=Math.log,$u=Math.LN2,Hh=256,Bh=4194304,gn=2,pl=8,Wu=32,wh=268435456,ki=Math.random().toString(36).slice(2),Nn="__reactFiber$"+ki,ia="__reactProps$"+ki,$i="__reactContainer$"+ki,Ry="__reactEvents$"+ki,c0="__reactListeners$"+ki,bs="__reactHandles$"+ki,Ss="__reactResources$"+ki,_s="__reactMarker$"+ki,o0=new Set,Ga={},no={},s0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Vh=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),jh={},qh={},Wi=0,Uy,xy,r0,Cy,Es,f0,d0;If.__reactDisabledLog=!0;var Hy,pf,Ts=!1,vf=new(typeof WeakMap=="function"?WeakMap:Map),Sa=null,ca=!1,aS=/[\n"\\]/g,By=!1,wy=!1,Vy=!1,jy=!1,Yh=!1,qy=!1,yf=["value","defaultValue"],h0=!1,p0=/["'&<>\n\t]|^\s|\s$/,Yy="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),Lh="applet caption html table td th marquee object template foreignObject desc title".split(" "),Gh=Lh.concat(["button"]),Ly="dd dt li option optgroup p rp rt".split(" "),Gy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},As={},uu={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Fu=/([A-Z])/g,Iu=/^ms-/,mf=/^(?:webkit|moz|o)[A-Z]/,gf=/^-ms-/,Fi=/-(.)/g,v0=/;\s*$/,ao={},lo={},y0=!1,Xy=!1,bf=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),Sf="http://www.w3.org/1998/Math/MathML",Os="http://www.w3.org/2000/svg",Xh=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),uo={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Qy={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},iu={},Zy=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Qh=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ky=!1,Xn={},_f=/^on./,n=/^on[^A-Z]/,l=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),u=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),c=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,f=null,p=null,b=null,_=!1,O=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),B=!1;if(O)try{var K={};Object.defineProperty(K,"passive",{get:function(){B=!0}}),window.addEventListener("test",K,K),window.removeEventListener("test",K,K)}catch{B=!1}var $=null,j=null,Y=null,he={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pe=fn(he),tt=He({},he,{view:0,detail:0}),C=fn(tt),R,H,J,ie=He({},tt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==J&&(J&&e.type==="mousemove"?(R=e.screenX-J.screenX,H=e.screenY-J.screenY):H=R=0,J=e),R)},movementY:function(e){return"movementY"in e?e.movementY:H}}),je=fn(ie),de=He({},ie,{dataTransfer:0}),Se=fn(de),un=He({},tt,{relatedTarget:0}),$e=fn(un),Ii=He({},he,{animationName:0,elapsedTime:0,pseudoElement:0}),lS=fn(Ii),RO=He({},he,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),UO=fn(RO),xO=He({},he,{data:0}),C_=fn(xO),CO=C_,HO={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},BO={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wO={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},VO=He({},tt,{key:function(e){if(e.key){var t=HO[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?BO[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sd,charCode:function(e){return e.type==="keypress"?xo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),jO=fn(VO),qO=He({},ie,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),H_=fn(qO),YO=He({},tt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sd}),LO=fn(YO),GO=He({},he,{propertyName:0,elapsedTime:0,pseudoElement:0}),XO=fn(GO),QO=He({},ie,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),ZO=fn(QO),KO=He({},he,{newState:0,oldState:0}),JO=fn(KO),kO=[9,13,27,32],B_=229,uS=O&&"CompositionEvent"in window,Jy=null;O&&"documentMode"in document&&(Jy=document.documentMode);var $O=O&&"TextEvent"in window&&!Jy,w_=O&&(!uS||Jy&&8<Jy&&11>=Jy),V_=32,j_=String.fromCharCode(V_),q_=!1,Zh=!1,WO={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},ky=null,$y=null,Y_=!1;O&&(Y_=Jp("input")&&(!document.documentMode||9<document.documentMode));var _a=typeof Object.is=="function"?Object.is:Qb,FO=O&&"documentMode"in document&&11>=document.documentMode,Kh=null,iS=null,Wy=null,cS=!1,Jh={animationend:Ru("Animation","AnimationEnd"),animationiteration:Ru("Animation","AnimationIteration"),animationstart:Ru("Animation","AnimationStart"),transitionrun:Ru("Transition","TransitionRun"),transitionstart:Ru("Transition","TransitionStart"),transitioncancel:Ru("Transition","TransitionCancel"),transitionend:Ru("Transition","TransitionEnd")},oS={},L_={};O&&(L_=document.createElement("div").style,"AnimationEvent"in window||(delete Jh.animationend.animation,delete Jh.animationiteration.animation,delete Jh.animationstart.animation),"TransitionEvent"in window||delete Jh.transitionend.transition);var G_=Tc("animationend"),X_=Tc("animationiteration"),Q_=Tc("animationstart"),IO=Tc("transitionrun"),PO=Tc("transitionstart"),eD=Tc("transitioncancel"),Z_=Tc("transitionend"),K_=new Map,sS="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");sS.push("scrollEnd");var rS=new WeakMap,m0=1,io=2,cu=[],kh=0,fS=0,Ds={};Object.freeze(Ds);var ou=null,$h=null,Dt=0,tD=1,Qn=2,oa=8,Pu=16,J_=64,k_=!1;try{var $_=Object.preventExtensions({})}catch{k_=!0}var Wh=[],Fh=0,g0=null,b0=0,su=[],ru=0,Ef=null,co=1,oo="",Ea=null,Xt=null,nt=!1,so=!1,fu=null,Tf=null,Pi=!1,dS=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),W_=0;if(typeof performance=="object"&&typeof performance.now=="function")var nD=performance,F_=function(){return nD.now()};else{var aD=Date;F_=function(){return aD.now()}}var hS=Lt(null),pS=Lt(null),I_={},S0=null,Ih=null,Ph=!1,lD=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},uD=Vt.unstable_scheduleCallback,iD=Vt.unstable_NormalPriority,bn={$$typeof:Ya,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},ep=Vt.unstable_now,P_=-0,_0=-0,Xa=-1.1,Af=-0,E0=!1,T0=!1,Fy=null,vS=0,Of=0,tp=null,eE=L.S;L.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Mg(e,t),eE!==null&&eE(e,t)};var Df=Lt(null),ei={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Iy=[],Py=[],em=[],tm=[],nm=[],am=[],Mf=new Set;ei.recordUnsafeLifecycleWarnings=function(e,t){Mf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Iy.push(e),e.mode&oa&&typeof t.UNSAFE_componentWillMount=="function"&&Py.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&em.push(e),e.mode&oa&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&tm.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&nm.push(e),e.mode&oa&&typeof t.UNSAFE_componentWillUpdate=="function"&&am.push(e))},ei.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Iy.length&&(Iy.forEach(function(g){e.add(ve(g)||"Component"),Mf.add(g.type)}),Iy=[]);var t=new Set;0<Py.length&&(Py.forEach(function(g){t.add(ve(g)||"Component"),Mf.add(g.type)}),Py=[]);var a=new Set;0<em.length&&(em.forEach(function(g){a.add(ve(g)||"Component"),Mf.add(g.type)}),em=[]);var i=new Set;0<tm.length&&(tm.forEach(function(g){i.add(ve(g)||"Component"),Mf.add(g.type)}),tm=[]);var o=new Set;0<nm.length&&(nm.forEach(function(g){o.add(ve(g)||"Component"),Mf.add(g.type)}),nm=[]);var s=new Set;if(0<am.length&&(am.forEach(function(g){s.add(ve(g)||"Component"),Mf.add(g.type)}),am=[]),0<t.size){var y=te(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
205
|
+
|
|
206
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
207
|
+
|
|
208
|
+
Please update the following components: %s`,y)}0<i.size&&(y=te(i),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
209
|
+
|
|
210
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
211
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
212
|
+
|
|
213
|
+
Please update the following components: %s`,y)),0<s.size&&(y=te(s),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
214
|
+
|
|
215
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
216
|
+
|
|
217
|
+
Please update the following components: %s`,y)),0<e.size&&(y=te(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
218
|
+
|
|
219
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
220
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
221
|
+
|
|
222
|
+
Please update the following components: %s`,y)),0<a.size&&(y=te(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
223
|
+
|
|
224
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
225
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
226
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
227
|
+
|
|
228
|
+
Please update the following components: %s`,y)),0<o.size&&(y=te(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
229
|
+
|
|
230
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
231
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
232
|
+
|
|
233
|
+
Please update the following components: %s`,y))};var A0=new Map,tE=new Set;ei.recordLegacyContextWarning=function(e,t){for(var a=null,i=e;i!==null;)i.mode&oa&&(a=i),i=i.return;a===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!tE.has(e.type)&&(i=A0.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],A0.set(a,i)),i.push(e))},ei.flushLegacyContextWarning=function(){A0.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(o){a.add(ve(o)||"Component"),tE.add(o.type)});var i=te(a);oe(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
234
|
+
|
|
235
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
236
|
+
|
|
237
|
+
Please update the following components: %s
|
|
238
|
+
|
|
239
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},ei.discardPendingWarnings=function(){Iy=[],Py=[],em=[],tm=[],nm=[],am=[],A0=new Map};var lm=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),nE=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),O0=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),yS={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},um=null,D0=!1,du=0,hu=1,Ta=2,Zn=4,Sn=8,aE=0,lE=1,uE=2,mS=3,Ms=!1,iE=!1,gS=null,bS=!1,np=Lt(null),M0=Lt(0),ap,cE=new Set,oE=new Set,SS=new Set,sE=new Set,zs=0,De=null,gt=null,cn=null,z0=!1,lp=!1,zf=!1,N0=0,im=0,ro=null,cD=0,oD=25,G=null,pu=null,fo=-1,cm=!1,R0={readContext:bt,use:Vl,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt},_S=null,rE=null,ES=null,fE=null,ec=null,ti=null,U0=null;_S={readContext:function(e){return bt(e)},use:Vl,useCallback:function(e,t){return G="useCallback",Ve(),Ra(t),Mr(e,t)},useContext:function(e){return G="useContext",Ve(),bt(e)},useEffect:function(e,t){return G="useEffect",Ve(),Ra(t),Td(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",Ve(),Ra(a),Od(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",Ve(),Ra(t),Ha(4,Ta,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",Ve(),Ra(t),Ad(e,t)},useMemo:function(e,t){G="useMemo",Ve(),Ra(t);var a=L.H;L.H=ec;try{return Dd(e,t)}finally{L.H=a}},useReducer:function(e,t,a){G="useReducer",Ve();var i=L.H;L.H=ec;try{return Fe(e,t,a)}finally{L.H=i}},useRef:function(e){return G="useRef",Ve(),Dr(e)},useState:function(e){G="useState",Ve();var t=L.H;L.H=ec;try{return Bu(e)}finally{L.H=t}},useDebugValue:function(){G="useDebugValue",Ve()},useDeferredValue:function(e,t){return G="useDeferredValue",Ve(),Md(e,t)},useTransition:function(){return G="useTransition",Ve(),Ll()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",Ve(),Hu(e,t,a)},useId:function(){return G="useId",Ve(),Gl()},useFormState:function(e,t){return G="useFormState",Ve(),jo(),Qo(e,t)},useActionState:function(e,t){return G="useActionState",Ve(),Qo(e,t)},useOptimistic:function(e){return G="useOptimistic",Ve(),ol(e)},useHostTransitionStatus:In,useMemoCache:Yt,useCacheRefresh:function(){return G="useCacheRefresh",Ve(),Bc()}},rE={readContext:function(e){return bt(e)},use:Vl,useCallback:function(e,t){return G="useCallback",I(),Mr(e,t)},useContext:function(e){return G="useContext",I(),bt(e)},useEffect:function(e,t){return G="useEffect",I(),Td(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",I(),Od(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",I(),Ha(4,Ta,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",I(),Ad(e,t)},useMemo:function(e,t){G="useMemo",I();var a=L.H;L.H=ec;try{return Dd(e,t)}finally{L.H=a}},useReducer:function(e,t,a){G="useReducer",I();var i=L.H;L.H=ec;try{return Fe(e,t,a)}finally{L.H=i}},useRef:function(e){return G="useRef",I(),Dr(e)},useState:function(e){G="useState",I();var t=L.H;L.H=ec;try{return Bu(e)}finally{L.H=t}},useDebugValue:function(){G="useDebugValue",I()},useDeferredValue:function(e,t){return G="useDeferredValue",I(),Md(e,t)},useTransition:function(){return G="useTransition",I(),Ll()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",I(),Hu(e,t,a)},useId:function(){return G="useId",I(),Gl()},useActionState:function(e,t){return G="useActionState",I(),Qo(e,t)},useFormState:function(e,t){return G="useFormState",I(),jo(),Qo(e,t)},useOptimistic:function(e){return G="useOptimistic",I(),ol(e)},useHostTransitionStatus:In,useMemoCache:Yt,useCacheRefresh:function(){return G="useCacheRefresh",I(),Bc()}},ES={readContext:function(e){return bt(e)},use:Vl,useCallback:function(e,t){return G="useCallback",I(),Cc(e,t)},useContext:function(e){return G="useContext",I(),bt(e)},useEffect:function(e,t){G="useEffect",I(),kt(2048,Sn,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",I(),Yl(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",I(),kt(4,Ta,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",I(),kt(4,Zn,e,t)},useMemo:function(e,t){G="useMemo",I();var a=L.H;L.H=ti;try{return Ui(e,t)}finally{L.H=a}},useReducer:function(e,t,a){G="useReducer",I();var i=L.H;L.H=ti;try{return xa(e,t,a)}finally{L.H=i}},useRef:function(){return G="useRef",I(),Ke().memoizedState},useState:function(){G="useState",I();var e=L.H;L.H=ti;try{return xa(Pe)}finally{L.H=e}},useDebugValue:function(){G="useDebugValue",I()},useDeferredValue:function(e,t){return G="useDeferredValue",I(),zr(e,t)},useTransition:function(){return G="useTransition",I(),Rd()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",I(),Er(e,t,a)},useId:function(){return G="useId",I(),Ke().memoizedState},useFormState:function(e){return G="useFormState",I(),jo(),Ed(e)},useActionState:function(e){return G="useActionState",I(),Ed(e)},useOptimistic:function(e,t){return G="useOptimistic",I(),wu(e,t)},useHostTransitionStatus:In,useMemoCache:Yt,useCacheRefresh:function(){return G="useCacheRefresh",I(),Ke().memoizedState}},fE={readContext:function(e){return bt(e)},use:Vl,useCallback:function(e,t){return G="useCallback",I(),Cc(e,t)},useContext:function(e){return G="useContext",I(),bt(e)},useEffect:function(e,t){G="useEffect",I(),kt(2048,Sn,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",I(),Yl(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",I(),kt(4,Ta,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",I(),kt(4,Zn,e,t)},useMemo:function(e,t){G="useMemo",I();var a=L.H;L.H=U0;try{return Ui(e,t)}finally{L.H=a}},useReducer:function(e,t,a){G="useReducer",I();var i=L.H;L.H=U0;try{return xc(e,t,a)}finally{L.H=i}},useRef:function(){return G="useRef",I(),Ke().memoizedState},useState:function(){G="useState",I();var e=L.H;L.H=U0;try{return xc(Pe)}finally{L.H=e}},useDebugValue:function(){G="useDebugValue",I()},useDeferredValue:function(e,t){return G="useDeferredValue",I(),zd(e,t)},useTransition:function(){return G="useTransition",I(),Ud()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",I(),Er(e,t,a)},useId:function(){return G="useId",I(),Ke().memoizedState},useFormState:function(e){return G="useFormState",I(),jo(),Zo(e)},useActionState:function(e){return G="useActionState",I(),Zo(e)},useOptimistic:function(e,t){return G="useOptimistic",I(),_d(e,t)},useHostTransitionStatus:In,useMemoCache:Yt,useCacheRefresh:function(){return G="useCacheRefresh",I(),Ke().memoizedState}},ec={readContext:function(e){return W(),bt(e)},use:function(e){return D(),Vl(e)},useCallback:function(e,t){return G="useCallback",D(),Ve(),Mr(e,t)},useContext:function(e){return G="useContext",D(),Ve(),bt(e)},useEffect:function(e,t){return G="useEffect",D(),Ve(),Td(e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",D(),Ve(),Od(e,t,a)},useInsertionEffect:function(e,t){G="useInsertionEffect",D(),Ve(),Ha(4,Ta,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",D(),Ve(),Ad(e,t)},useMemo:function(e,t){G="useMemo",D(),Ve();var a=L.H;L.H=ec;try{return Dd(e,t)}finally{L.H=a}},useReducer:function(e,t,a){G="useReducer",D(),Ve();var i=L.H;L.H=ec;try{return Fe(e,t,a)}finally{L.H=i}},useRef:function(e){return G="useRef",D(),Ve(),Dr(e)},useState:function(e){G="useState",D(),Ve();var t=L.H;L.H=ec;try{return Bu(e)}finally{L.H=t}},useDebugValue:function(){G="useDebugValue",D(),Ve()},useDeferredValue:function(e,t){return G="useDeferredValue",D(),Ve(),Md(e,t)},useTransition:function(){return G="useTransition",D(),Ve(),Ll()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",D(),Ve(),Hu(e,t,a)},useId:function(){return G="useId",D(),Ve(),Gl()},useFormState:function(e,t){return G="useFormState",D(),Ve(),Qo(e,t)},useActionState:function(e,t){return G="useActionState",D(),Ve(),Qo(e,t)},useOptimistic:function(e){return G="useOptimistic",D(),Ve(),ol(e)},useMemoCache:function(e){return D(),Yt(e)},useHostTransitionStatus:In,useCacheRefresh:function(){return G="useCacheRefresh",Ve(),Bc()}},ti={readContext:function(e){return W(),bt(e)},use:function(e){return D(),Vl(e)},useCallback:function(e,t){return G="useCallback",D(),I(),Cc(e,t)},useContext:function(e){return G="useContext",D(),I(),bt(e)},useEffect:function(e,t){G="useEffect",D(),I(),kt(2048,Sn,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",D(),I(),Yl(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",D(),I(),kt(4,Ta,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",D(),I(),kt(4,Zn,e,t)},useMemo:function(e,t){G="useMemo",D(),I();var a=L.H;L.H=ti;try{return Ui(e,t)}finally{L.H=a}},useReducer:function(e,t,a){G="useReducer",D(),I();var i=L.H;L.H=ti;try{return xa(e,t,a)}finally{L.H=i}},useRef:function(){return G="useRef",D(),I(),Ke().memoizedState},useState:function(){G="useState",D(),I();var e=L.H;L.H=ti;try{return xa(Pe)}finally{L.H=e}},useDebugValue:function(){G="useDebugValue",D(),I()},useDeferredValue:function(e,t){return G="useDeferredValue",D(),I(),zr(e,t)},useTransition:function(){return G="useTransition",D(),I(),Rd()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",D(),I(),Er(e,t,a)},useId:function(){return G="useId",D(),I(),Ke().memoizedState},useFormState:function(e){return G="useFormState",D(),I(),Ed(e)},useActionState:function(e){return G="useActionState",D(),I(),Ed(e)},useOptimistic:function(e,t){return G="useOptimistic",D(),I(),wu(e,t)},useMemoCache:function(e){return D(),Yt(e)},useHostTransitionStatus:In,useCacheRefresh:function(){return G="useCacheRefresh",I(),Ke().memoizedState}},U0={readContext:function(e){return W(),bt(e)},use:function(e){return D(),Vl(e)},useCallback:function(e,t){return G="useCallback",D(),I(),Cc(e,t)},useContext:function(e){return G="useContext",D(),I(),bt(e)},useEffect:function(e,t){G="useEffect",D(),I(),kt(2048,Sn,e,t)},useImperativeHandle:function(e,t,a){return G="useImperativeHandle",D(),I(),Yl(e,t,a)},useInsertionEffect:function(e,t){return G="useInsertionEffect",D(),I(),kt(4,Ta,e,t)},useLayoutEffect:function(e,t){return G="useLayoutEffect",D(),I(),kt(4,Zn,e,t)},useMemo:function(e,t){G="useMemo",D(),I();var a=L.H;L.H=ti;try{return Ui(e,t)}finally{L.H=a}},useReducer:function(e,t,a){G="useReducer",D(),I();var i=L.H;L.H=ti;try{return xc(e,t,a)}finally{L.H=i}},useRef:function(){return G="useRef",D(),I(),Ke().memoizedState},useState:function(){G="useState",D(),I();var e=L.H;L.H=ti;try{return xc(Pe)}finally{L.H=e}},useDebugValue:function(){G="useDebugValue",D(),I()},useDeferredValue:function(e,t){return G="useDeferredValue",D(),I(),zd(e,t)},useTransition:function(){return G="useTransition",D(),I(),Ud()},useSyncExternalStore:function(e,t,a){return G="useSyncExternalStore",D(),I(),Er(e,t,a)},useId:function(){return G="useId",D(),I(),Ke().memoizedState},useFormState:function(e){return G="useFormState",D(),I(),Zo(e)},useActionState:function(e){return G="useActionState",D(),I(),Zo(e)},useOptimistic:function(e,t){return G="useOptimistic",D(),I(),_d(e,t)},useMemoCache:function(e){return D(),Yt(e)},useHostTransitionStatus:In,useCacheRefresh:function(){return G="useCacheRefresh",I(),Ke().memoizedState}};var dE={react_stack_bottom_frame:function(e,t,a){var i=ca;ca=!0;try{return e(t,a)}finally{ca=i}}},TS=dE.react_stack_bottom_frame.bind(dE),hE={react_stack_bottom_frame:function(e){var t=ca;ca=!0;try{return e.render()}finally{ca=t}}},pE=hE.react_stack_bottom_frame.bind(hE),vE={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){be(e,e.return,a)}}},AS=vE.react_stack_bottom_frame.bind(vE),yE={react_stack_bottom_frame:function(e,t,a,i,o){try{t.componentDidUpdate(a,i,o)}catch(s){be(e,e.return,s)}}},mE=yE.react_stack_bottom_frame.bind(yE),gE={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},sD=gE.react_stack_bottom_frame.bind(gE),bE={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(i){be(e,t,i)}}},SE=bE.react_stack_bottom_frame.bind(bE),_E={react_stack_bottom_frame:function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},rD=_E.react_stack_bottom_frame.bind(_E),EE={react_stack_bottom_frame:function(e,t,a){try{a()}catch(i){be(e,t,i)}}},fD=EE.react_stack_bottom_frame.bind(EE),TE={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Ns=TE.react_stack_bottom_frame.bind(TE),up=null,om=0,qe=null,OS,AE=OS=!1,OE={},DE={},ME={};U=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");a._store.validated=1;var i=ve(e),o=i||"null";if(!OE[o]){OE[o]=!0,a=a._owner,e=e._debugOwner;var s="";e&&typeof e.tag=="number"&&(o=ve(e))&&(s=`
|
|
240
|
+
|
|
241
|
+
Check the render method of \``+o+"`."),s||i&&(s=`
|
|
242
|
+
|
|
243
|
+
Check the top-level render call using <`+i+">.");var y="";a!=null&&e!==a&&(i=null,typeof a.tag=="number"?i=ve(a):typeof a.name=="string"&&(i=a.name),i&&(y=" It was passed a child from "+i+".")),oe(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',s,y)})}}};var ip=xr(!0),zE=xr(!1),vu=Lt(null),tc=null,cp=1,sm=2,_n=Lt(0),NE={},RE=new Set,UE=new Set,xE=new Set,CE=new Set,HE=new Set,BE=new Set,wE=new Set,VE=new Set,jE=new Set,qE=new Set;Object.freeze(NE);var DS={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=ta(e),o=Bl(i);o.payload=t,a!=null&&(Ov(a),o.callback=a),t=ul(e,o,i),t!==null&&(Ct(t,e,i),Di(t,e,i)),sc(e,i)},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=ta(e),o=Bl(i);o.tag=lE,o.payload=t,a!=null&&(Ov(a),o.callback=a),t=ul(e,o,i),t!==null&&(Ct(t,e,i),Di(t,e,i)),sc(e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ta(e),i=Bl(a);i.tag=uE,t!=null&&(Ov(t),i.callback=t),t=ul(e,i,a),t!==null&&(Ct(t,e,a),Di(t,e,a)),le!==null&&typeof le.markForceUpdateScheduled=="function"&&le.markForceUpdateScheduled(e,a)}},MS=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},op=null,zS=null,YE=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Rn=!1,LE={},GE={},XE={},QE={},sp=!1,ZE={},NS={},RS={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},KE=!1,JE=null;JE=new Set;var ho=!1,Ft=!1,US=!1,kE=typeof WeakSet=="function"?WeakSet:Set,Un=null,rp=null,fp=null,on=null,Qa=!1,ni=null,rm=8192,dD={getCacheForType:function(e){var t=bt(bn),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},getOwner:function(){return Sa}};if(typeof Symbol=="function"&&Symbol.for){var fm=Symbol.for;fm("selector.component"),fm("selector.has_pseudo_class"),fm("selector.role"),fm("selector.test_id"),fm("selector.text")}var hD=[],pD=typeof WeakMap=="function"?WeakMap:Map,vl=0,Aa=2,ai=4,po=0,dm=1,dp=2,xS=3,Nf=4,x0=6,$E=5,rt=vl,St=null,Xe=null,Qe=0,Za=0,hm=1,Rf=2,pm=3,WE=4,CS=5,hp=6,vm=7,HS=8,Uf=9,ht=Za,yl=null,Rs=!1,pp=!1,BS=!1,nc=0,Qt=po,Us=0,xs=0,wS=0,ml=0,xf=0,ym=null,Oa=null,C0=!1,VS=0,FE=300,H0=1/0,IE=500,mm=null,Cs=null,vD=0,yD=1,mD=2,Cf=0,PE=1,eT=2,tT=3,gD=4,jS=5,Kn=0,Hs=null,vp=null,Bs=0,qS=0,YS=null,nT=null,bD=50,gm=0,LS=null,GS=!1,B0=!1,SD=50,Hf=0,bm=null,yp=!1,w0=null,aT=!1,lT=new Set,_D={},V0=null,mp=null,XS=!1,QS=!1,j0=!1,ZS=!1,Bf=0,KS={};(function(){for(var e=0;e<sS.length;e++){var t=sS[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),el(a,"on"+t)}el(G_,"onAnimationEnd"),el(X_,"onAnimationIteration"),el(Q_,"onAnimationStart"),el("dblclick","onDoubleClick"),el("focusin","onFocus"),el("focusout","onBlur"),el(IO,"onTransitionRun"),el(PO,"onTransitionStart"),el(eD,"onTransitionCancel"),el(Z_,"onTransitionEnd")})(),fc("onMouseEnter",["mouseout","mouseover"]),fc("onMouseLeave",["mouseout","mouseover"]),fc("onPointerEnter",["pointerout","pointerover"]),fc("onPointerLeave",["pointerout","pointerover"]),di("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),di("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),di("onBeforeInput",["compositionend","keypress","textInput","paste"]),di("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),di("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),di("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sm="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),JS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Sm)),q0="_reactListening"+Math.random().toString(36).slice(2),uT=!1,iT=!1,Y0=!1,cT=!1,L0=!1,G0=!1,oT=!1,X0={},ED=/\r\n?/g,TD=/\u0000|\uFFFD/g,wf="http://www.w3.org/1999/xlink",kS="http://www.w3.org/XML/1998/namespace",AD="javascript:throw new Error('React form unexpectedly submitted.')",OD="suppressHydrationWarning",Q0="$",Z0="/$",vo="$?",_m="$!",DD=1,MD=2,zD=4,$S="F!",sT="F",rT="complete",ND="style",yo=0,gp=1,K0=2,WS=null,FS=null,fT={dialog:!0,webview:!0},IS=null,dT=typeof setTimeout=="function"?setTimeout:void 0,RD=typeof clearTimeout=="function"?clearTimeout:void 0,Vf=-1,hT=typeof Promise=="function"?Promise:void 0,UD=typeof queueMicrotask=="function"?queueMicrotask:typeof hT<"u"?function(e){return hT.resolve(null).then(e).catch(fy)}:dT,PS=null,jf=0,Em=1,pT=2,vT=3,yu=4,mu=new Map,yT=new Set,mo=Ee.d;Ee.d={f:function(){var e=mo.f(),t=Zc();return e||t},r:function(e){var t=ra(e);t!==null&&t.tag===5&&t.type==="form"?Ev(t):mo.r(e)},D:function(e){mo.D(e),$g("dns-prefetch",e,null)},C:function(e,t){mo.C(e,t),$g("preconnect",e,t)},L:function(e,t,a){mo.L(e,t,a);var i=bp;if(i&&e&&t){var o='link[rel="preload"][as="'+fa(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+fa(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+fa(a.imageSizes)+'"]')):o+='[href="'+fa(e)+'"]';var s=o;switch(t){case"style":s=Li(e);break;case"script":s=Ic(e)}mu.has(s)||(e=He({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),mu.set(s,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(nu(s))||t==="script"&&i.querySelector(Pc(s))||(t=i.createElement("link"),Bt(t,"link",e),Pt(t),i.head.appendChild(t)))}},m:function(e,t){mo.m(e,t);var a=bp;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+fa(i)+'"][href="'+fa(e)+'"]',s=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Ic(e)}if(!mu.has(s)&&(e=He({rel:"modulepreload",href:e},t),mu.set(s,e),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Pc(s)))return}i=a.createElement("link"),Bt(i,"link",e),Pt(i),a.head.appendChild(i)}}},X:function(e,t){mo.X(e,t);var a=bp;if(a&&e){var i=zl(a).hoistableScripts,o=Ic(e),s=i.get(o);s||(s=a.querySelector(Pc(o)),s||(e=He({src:e,async:!0},t),(t=mu.get(o))&&by(e,t),s=a.createElement("script"),Pt(s),Bt(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}},S:function(e,t,a){mo.S(e,t,a);var i=bp;if(i&&e){var o=zl(i).hoistableStyles,s=Li(e);t=t||"default";var y=o.get(s);if(!y){var g={loading:jf,preload:null};if(y=i.querySelector(nu(s)))g.loading=Em|yu;else{e=He({rel:"stylesheet",href:e,"data-precedence":t},a),(a=mu.get(s))&&gy(e,a);var E=y=i.createElement("link");Pt(E),Bt(E,"link",e),E._p=new Promise(function(T,q){E.onload=T,E.onerror=q}),E.addEventListener("load",function(){g.loading|=Em}),E.addEventListener("error",function(){g.loading|=pT}),g.loading|=yu,Eh(y,t,i)}y={type:"stylesheet",instance:y,count:1,state:g},o.set(s,y)}}},M:function(e,t){mo.M(e,t);var a=bp;if(a&&e){var i=zl(a).hoistableScripts,o=Ic(e),s=i.get(o);s||(s=a.querySelector(Pc(o)),s||(e=He({src:e,async:!0,type:"module"},t),(t=mu.get(o))&&by(e,t),s=a.createElement("script"),Pt(s),Bt(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}}};var bp=typeof document>"u"?null:document,J0=null,Tm=null,e1=null,k0=null,qf=Ib,Am={$$typeof:Ya,Provider:null,Consumer:null,_currentValue:qf,_currentValue2:qf,_threadCount:0},mT="%c%s%c ",gT="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",bT="",$0=" ",xD=Function.prototype.bind,ST=!1,_T=null,ET=null,TT=null,AT=null,OT=null,DT=null,MT=null,zT=null,NT=null;_T=function(e,t,a,i){t=r(e,t),t!==null&&(a=h(t.memoizedState,a,0,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=He({},e.memoizedProps),a=kn(e,2),a!==null&&Ct(a,e,2))},ET=function(e,t,a){t=r(e,t),t!==null&&(a=m(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=He({},e.memoizedProps),a=kn(e,2),a!==null&&Ct(a,e,2))},TT=function(e,t,a,i){t=r(e,t),t!==null&&(a=v(t.memoizedState,a,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=He({},e.memoizedProps),a=kn(e,2),a!==null&&Ct(a,e,2))},AT=function(e,t,a){e.pendingProps=h(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=kn(e,2),t!==null&&Ct(t,e,2)},OT=function(e,t){e.pendingProps=m(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=kn(e,2),t!==null&&Ct(t,e,2)},DT=function(e,t,a){e.pendingProps=v(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=kn(e,2),t!==null&&Ct(t,e,2)},MT=function(e){var t=kn(e,2);t!==null&&Ct(t,e,2)},zT=function(e){A=e},NT=function(e){S=e};var W0=!0,F0=null,t1=!1,ws=null,Vs=null,js=null,Om=new Map,Dm=new Map,qs=[],CD="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),I0=null;if(uf.prototype.render=zh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):me(a[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var i=t.current,o=ta(i);st(i,o,a,t,null,null)},uf.prototype.unmount=zh.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(rt&(Aa|ai))!==vl&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),st(e.current,2,null,e,null,null),Zc(),t[$i]=null}},uf.prototype.unstable_scheduleHydration=function(e){if(e){var t=ig();e={blockedOn:null,target:e,priority:t};for(var a=0;a<qs.length&&t!==0&&t<qs[a].priority;a++);qs.splice(a,0,e),a===0&&t0(e)}},(function(){var e=cf.version;if(e!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
244
|
+
- react: `+(e+`
|
|
245
|
+
- react-dom: 19.1.1
|
|
246
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),Ee.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=Ze(t),e=e!==null?mt(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.1"};return e.overrideHookState=_T,e.overrideHookStateDeletePath=ET,e.overrideHookStateRenamePath=TT,e.overrideProps=AT,e.overridePropsDeletePath=OT,e.overridePropsRenamePath=DT,e.scheduleUpdate=MT,e.setErrorHandler=zT,e.setSuspenseHandler=NT,e.scheduleRefresh=fe,e.scheduleRoot=ce,e.setRefreshHandler=Me,e.getCurrentFiber=kb,e.getLaneLabelMap=$b,e.injectProfilingHooks=Wf,Bn(e)})()&&O&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var RT=window.location.protocol;/^(https?|file):$/.test(RT)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(RT==="file:"?`
|
|
247
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}_p.createRoot=function(e,t){if(!me(e))throw Error("Target container is not a DOM element.");l0(e);var a=!1,i="",o=Dv,s=Cg,y=Bd,g=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Qi&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
248
|
+
|
|
249
|
+
let root = createRoot(domContainer);
|
|
250
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(y=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(g=t.unstable_transitionCallbacks)),t=Ey(e,1,!1,null,null,a,i,o,s,y,g,null),e[$i]=t.current,ly(e),new zh(t)},_p.hydrateRoot=function(e,t,a){if(!me(e))throw Error("Target container is not a DOM element.");l0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",s=Dv,y=Cg,g=Bd,E=null,T=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(E=a.unstable_transitionCallbacks),a.formState!==void 0&&(T=a.formState)),t=Ey(e,1,!0,t,a??null,i,o,s,y,g,E,T),t.context=Ty(null),a=t.current,i=ta(a),i=wn(i),o=Bl(i),o.callback=null,ul(a,o,i),a=i,t.current.lanes=a,To(t,a),Va(t),e[$i]=t.current,ly(e),new uf(t)},_p.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),_p}var o1;function BT(){if(o1)return Mm.exports;o1=1;function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(h){console.error(h)}}}return process.env.NODE_ENV==="production"?(r(),Mm.exports=CT()):Mm.exports=HT(),Mm.exports}var wT=BT(),VT={0:"Invalid value for configuration 'enforceActions', expected 'never', 'always' or 'observed'",1:function(h,v){return"Cannot apply '"+h+"' to '"+v.toString()+"': Field not found."},5:"'keys()' can only be used on observable objects, arrays, sets and maps",6:"'values()' can only be used on observable objects, arrays, sets and maps",7:"'entries()' can only be used on observable objects, arrays and maps",8:"'set()' can only be used on observable objects, arrays and maps",9:"'remove()' can only be used on observable objects, arrays and maps",10:"'has()' can only be used on observable objects, arrays and maps",11:"'get()' can only be used on observable objects, arrays and maps",12:"Invalid annotation",13:"Dynamic observable objects cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",14:"Intercept handlers should return nothing or a change object",15:"Observable arrays cannot be frozen. If you're passing observables to 3rd party component/function that calls Object.freeze, pass copy instead: toJS(observable)",16:"Modification exception: the internal structure of an observable array was changed.",17:function(h,v){return"[mobx.array] Index out of bounds, "+h+" is larger than "+v},18:"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js",19:function(h){return"Cannot initialize from classes that inherit from Map: "+h.constructor.name},20:function(h){return"Cannot initialize map from "+h},21:function(h){return"Cannot convert to map from '"+h+"'"},22:"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js",23:"It is not possible to get index atoms from arrays",24:function(h){return"Cannot obtain administration from "+h},25:function(h,v){return"the entry '"+h+"' does not exist in the observable map '"+v+"'"},26:"please specify a property",27:function(h,v){return"no observable property '"+h.toString()+"' found on the observable object '"+v+"'"},28:function(h){return"Cannot obtain atom from "+h},29:"Expecting some object",30:"invalid action stack. did you forget to finish an action?",31:"missing option for computed: get",32:function(h,v){return"Cycle detected in computation "+h+": "+v},33:function(h){return"The setter of computed value '"+h+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"},34:function(h){return"[ComputedValue '"+h+"'] It is not possible to assign a new value to a computed value."},35:"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`",36:"isolateGlobalState should be called before MobX is running any reactions",37:function(h){return"[mobx] `observableArray."+h+"()` mutates the array in-place, which is not allowed inside a derivation. Use `array.slice()."+h+"()` instead"},38:"'ownKeys()' can only be used on observable objects",39:"'defineProperty()' can only be used on observable objects"},jT=process.env.NODE_ENV!=="production"?VT:{};function ue(r){for(var h=arguments.length,v=new Array(h>1?h-1:0),d=1;d<h;d++)v[d-1]=arguments[d];if(process.env.NODE_ENV!=="production"){var m=typeof r=="string"?r:jT[r];throw typeof m=="function"&&(m=m.apply(null,v)),new Error("[MobX] "+m)}throw new Error(typeof r=="number"?"[MobX] minified error nr: "+r+(v.length?" "+v.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+r)}var qT={};function Nm(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:qT}var s1=Object.assign,Rm=Object.getOwnPropertyDescriptor,li=Object.defineProperty,Um=Object.prototype,xm=[];Object.freeze(xm);var r1={};Object.freeze(r1);var YT=typeof Proxy<"u",LT=Object.toString();function f1(){YT||ue(process.env.NODE_ENV!=="production"?"`Proxy` objects are not available in the current environment. Please configure MobX to enable a fallback implementation.`":"Proxy not available")}function Ep(r){process.env.NODE_ENV!=="production"&&P.verifyProxies&&ue("MobX is currently configured to be able to run in ES5 mode, but in ES5 MobX won't be able to "+r)}function gu(){return++P.mobxGuid}function nb(r){var h=!1;return function(){if(!h)return h=!0,r.apply(this,arguments)}}var Yf=function(){};function sn(r){return typeof r=="function"}function Ys(r){var h=typeof r;switch(h){case"string":case"symbol":case"number":return!0}return!1}function Cm(r){return r!==null&&typeof r=="object"}function Ka(r){if(!Cm(r))return!1;var h=Object.getPrototypeOf(r);if(h==null)return!0;var v=Object.hasOwnProperty.call(h,"constructor")&&h.constructor;return typeof v=="function"&&v.toString()===LT}function d1(r){var h=r?.constructor;return h?h.name==="GeneratorFunction"||h.displayName==="GeneratorFunction":!1}function Tp(r,h,v){li(r,h,{enumerable:!1,writable:!0,configurable:!0,value:v})}function h1(r,h,v){li(r,h,{enumerable:!1,writable:!1,configurable:!0,value:v})}function Ls(r,h){var v="isMobX"+r;return h.prototype[v]=!0,function(d){return Cm(d)&&d[v]===!0}}function Lf(r){return r!=null&&Object.prototype.toString.call(r)==="[object Map]"}function GT(r){var h=Object.getPrototypeOf(r),v=Object.getPrototypeOf(h),d=Object.getPrototypeOf(v);return d===null}function lc(r){return r!=null&&Object.prototype.toString.call(r)==="[object Set]"}var p1=typeof Object.getOwnPropertySymbols<"u";function XT(r){var h=Object.keys(r);if(!p1)return h;var v=Object.getOwnPropertySymbols(r);return v.length?[].concat(h,v.filter(function(d){return Um.propertyIsEnumerable.call(r,d)})):h}var Gf=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:p1?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames;function ab(r){return typeof r=="string"?r:typeof r=="symbol"?r.toString():new String(r).toString()}function v1(r){return r===null?null:typeof r=="object"?""+r:r}function gl(r,h){return Um.hasOwnProperty.call(r,h)}var QT=Object.getOwnPropertyDescriptors||function(h){var v={};return Gf(h).forEach(function(d){v[d]=Rm(h,d)}),v};function Ja(r,h){return!!(r&h)}function ka(r,h,v){return v?r|=h:r&=~h,r}function y1(r,h){(h==null||h>r.length)&&(h=r.length);for(var v=0,d=Array(h);v<h;v++)d[v]=r[v];return d}function ZT(r,h){for(var v=0;v<h.length;v++){var d=h[v];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(r,JT(d.key),d)}}function Xf(r,h,v){return h&&ZT(r.prototype,h),Object.defineProperty(r,"prototype",{writable:!1}),r}function Qf(r,h){var v=typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(v)return(v=v.call(r)).next.bind(v);if(Array.isArray(r)||(v=kT(r))||h){v&&(r=v);var d=0;return function(){return d>=r.length?{done:!0}:{done:!1,value:r[d++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
251
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uc(){return uc=Object.assign?Object.assign.bind():function(r){for(var h=1;h<arguments.length;h++){var v=arguments[h];for(var d in v)({}).hasOwnProperty.call(v,d)&&(r[d]=v[d])}return r},uc.apply(null,arguments)}function m1(r,h){r.prototype=Object.create(h.prototype),r.prototype.constructor=r,lb(r,h)}function lb(r,h){return lb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,d){return v.__proto__=d,v},lb(r,h)}function KT(r,h){if(typeof r!="object"||!r)return r;var v=r[Symbol.toPrimitive];if(v!==void 0){var d=v.call(r,h);if(typeof d!="object")return d;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function JT(r){var h=KT(r,"string");return typeof h=="symbol"?h:h+""}function kT(r,h){if(r){if(typeof r=="string")return y1(r,h);var v={}.toString.call(r).slice(8,-1);return v==="Object"&&r.constructor&&(v=r.constructor.name),v==="Map"||v==="Set"?Array.from(r):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?y1(r,h):void 0}}var Da=Symbol("mobx-stored-annotations");function ui(r){function h(v,d){if(Op(d))return r.decorate_20223_(v,d);Ap(v,d,r)}return Object.assign(h,r)}function Ap(r,h,v){if(gl(r,Da)||Tp(r,Da,uc({},r[Da])),process.env.NODE_ENV!=="production"&&Vm(v)&&!gl(r[Da],h)){var d=r.constructor.name+".prototype."+h.toString();ue("'"+d+"' is decorated with 'override', but no such decorated member was found on prototype.")}$T(r,v,h),Vm(v)||(r[Da][h]=v)}function $T(r,h,v){if(process.env.NODE_ENV!=="production"&&!Vm(h)&&gl(r[Da],v)){var d=r.constructor.name+".prototype."+v.toString(),m=r[Da][v].annotationType_,S=h.annotationType_;ue("Cannot apply '@"+S+"' to '"+d+"':"+(`
|
|
252
|
+
The field is already decorated with '@`+m+"'.")+`
|
|
253
|
+
Re-decorating fields is not allowed.
|
|
254
|
+
Use '@override' decorator for methods overridden by subclass.`)}}function WT(r){return gl(r,Da)||Tp(r,Da,uc({},r[Da])),r[Da]}function Op(r){return typeof r=="object"&&typeof r.kind=="string"}function Hm(r,h){process.env.NODE_ENV!=="production"&&!h.includes(r.kind)&&ue("The decorator applied to '"+String(r.name)+"' cannot be used on a "+r.kind+" element")}var Ae=Symbol("mobx administration"),bo=(function(){function r(v){v===void 0&&(v=process.env.NODE_ENV!=="production"?"Atom@"+gu():"Atom"),this.name_=void 0,this.flags_=0,this.observers_=new Set,this.lastAccessedBy_=0,this.lowestObserverState_=it.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=v}var h=r.prototype;return h.onBO=function(){this.onBOL&&this.onBOL.forEach(function(d){return d()})},h.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(d){return d()})},h.reportObserved=function(){return w1(this)},h.reportChanged=function(){_l(),V1(this),El()},h.toString=function(){return this.name_},Xf(r,[{key:"isBeingObserved",get:function(){return Ja(this.flags_,r.isBeingObservedMask_)},set:function(d){this.flags_=ka(this.flags_,r.isBeingObservedMask_,d)}},{key:"isPendingUnobservation",get:function(){return Ja(this.flags_,r.isPendingUnobservationMask_)},set:function(d){this.flags_=ka(this.flags_,r.isPendingUnobservationMask_,d)}},{key:"diffValue",get:function(){return Ja(this.flags_,r.diffValueMask_)?1:0},set:function(d){this.flags_=ka(this.flags_,r.diffValueMask_,d===1)}}])})();bo.isBeingObservedMask_=1,bo.isPendingUnobservationMask_=2,bo.diffValueMask_=4;var ub=Ls("Atom",bo);function g1(r,h,v){h===void 0&&(h=Yf),v===void 0&&(v=Yf);var d=new bo(r);return h!==Yf&&oA(d,h),v!==Yf&&Q1(d,v),d}function FT(r,h){return h_(r,h)}function IT(r,h){return Object.is?Object.is(r,h):r===h?r!==0||1/r===1/h:r!==r&&h!==h}var Bm={structural:FT,default:IT};function Gs(r,h,v){return Rp(r)?r:Array.isArray(r)?xn.array(r,{name:v}):Ka(r)?xn.object(r,void 0,{name:v}):Lf(r)?xn.map(r,{name:v}):lc(r)?xn.set(r,{name:v}):typeof r=="function"&&!Kf(r)&&!Np(r)?d1(r)?Jf(r):zp(v,r):r}function PT(r,h,v){if(r==null||kf(r)||Fm(r)||_o(r)||ci(r))return r;if(Array.isArray(r))return xn.array(r,{name:v,deep:!1});if(Ka(r))return xn.object(r,void 0,{name:v,deep:!1});if(Lf(r))return xn.map(r,{name:v,deep:!1});if(lc(r))return xn.set(r,{name:v,deep:!1});process.env.NODE_ENV!=="production"&&ue("The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets")}function wm(r){return r}function e2(r,h){return process.env.NODE_ENV!=="production"&&Rp(r)&&ue("observable.struct should not be used with observable values"),h_(r,h)?h:r}var t2="override";function Vm(r){return r.annotationType_===t2}function Dp(r,h){return{annotationType_:r,options_:h,make_:n2,extend_:a2,decorate_20223_:l2}}function n2(r,h,v,d){var m;if((m=this.options_)!=null&&m.bound)return this.extend_(r,h,v,!1)===null?0:1;if(d===r.target_)return this.extend_(r,h,v,!1)===null?0:2;if(Kf(v.value))return 1;var S=b1(r,this,h,v,!1);return li(d,h,S),2}function a2(r,h,v,d){var m=b1(r,this,h,v);return r.defineProperty_(h,m,d)}function l2(r,h){process.env.NODE_ENV!=="production"&&Hm(h,["method","field"]);var v=h.kind,d=h.name,m=h.addInitializer,S=this,A=function(W){var k,te,ne,ce;return Xs((k=(te=S.options_)==null?void 0:te.name)!=null?k:d.toString(),W,(ne=(ce=S.options_)==null?void 0:ce.autoAction)!=null?ne:!1)};if(v=="field")return function(D){var W,k=D;return Kf(k)||(k=A(k)),(W=S.options_)!=null&&W.bound&&(k=k.bind(this),k.isMobxAction=!0),k};if(v=="method"){var U;return Kf(r)||(r=A(r)),(U=this.options_)!=null&&U.bound&&m(function(){var D=this,W=D[d].bind(D);W.isMobxAction=!0,D[d]=W}),r}ue("Cannot apply '"+S.annotationType_+"' to '"+String(d)+"' (kind: "+v+"):"+(`
|
|
255
|
+
'`+S.annotationType_+"' can only be used on properties with a function value."))}function u2(r,h,v,d){var m=h.annotationType_,S=d.value;process.env.NODE_ENV!=="production"&&!sn(S)&&ue("Cannot apply '"+m+"' to '"+r.name_+"."+v.toString()+"':"+(`
|
|
256
|
+
'`+m+"' can only be used on properties with a function value."))}function b1(r,h,v,d,m){var S,A,U,D,W,k,te;m===void 0&&(m=P.safeDescriptors),u2(r,h,v,d);var ne=d.value;if((S=h.options_)!=null&&S.bound){var ce;ne=ne.bind((ce=r.proxy_)!=null?ce:r.target_)}return{value:Xs((A=(U=h.options_)==null?void 0:U.name)!=null?A:v.toString(),ne,(D=(W=h.options_)==null?void 0:W.autoAction)!=null?D:!1,(k=h.options_)!=null&&k.bound?(te=r.proxy_)!=null?te:r.target_:void 0),configurable:m?r.isPlainObject_:!0,enumerable:!1,writable:!m}}function S1(r,h){return{annotationType_:r,options_:h,make_:i2,extend_:c2,decorate_20223_:o2}}function i2(r,h,v,d){var m;if(d===r.target_)return this.extend_(r,h,v,!1)===null?0:2;if((m=this.options_)!=null&&m.bound&&(!gl(r.target_,h)||!Np(r.target_[h]))&&this.extend_(r,h,v,!1)===null)return 0;if(Np(v.value))return 1;var S=_1(r,this,h,v,!1,!1);return li(d,h,S),2}function c2(r,h,v,d){var m,S=_1(r,this,h,v,(m=this.options_)==null?void 0:m.bound);return r.defineProperty_(h,S,d)}function o2(r,h){var v;process.env.NODE_ENV!=="production"&&Hm(h,["method"]);var d=h.name,m=h.addInitializer;return Np(r)||(r=Jf(r)),(v=this.options_)!=null&&v.bound&&m(function(){var S=this,A=S[d].bind(S);A.isMobXFlow=!0,S[d]=A}),r}function s2(r,h,v,d){var m=h.annotationType_,S=d.value;process.env.NODE_ENV!=="production"&&!sn(S)&&ue("Cannot apply '"+m+"' to '"+r.name_+"."+v.toString()+"':"+(`
|
|
257
|
+
'`+m+"' can only be used on properties with a generator function value."))}function _1(r,h,v,d,m,S){S===void 0&&(S=P.safeDescriptors),s2(r,h,v,d);var A=d.value;if(Np(A)||(A=Jf(A)),m){var U;A=A.bind((U=r.proxy_)!=null?U:r.target_),A.isMobXFlow=!0}return{value:A,configurable:S?r.isPlainObject_:!0,enumerable:!1,writable:!S}}function ib(r,h){return{annotationType_:r,options_:h,make_:r2,extend_:f2,decorate_20223_:d2}}function r2(r,h,v){return this.extend_(r,h,v,!1)===null?0:1}function f2(r,h,v,d){return h2(r,this,h,v),r.defineComputedProperty_(h,uc({},this.options_,{get:v.get,set:v.set}),d)}function d2(r,h){process.env.NODE_ENV!=="production"&&Hm(h,["getter"]);var v=this,d=h.name,m=h.addInitializer;return m(function(){var S=$s(this)[Ae],A=uc({},v.options_,{get:r,context:this});A.name||(A.name=process.env.NODE_ENV!=="production"?S.name_+"."+d.toString():"ObservableObject."+d.toString()),S.values_.set(d,new bl(A))}),function(){return this[Ae].getObservablePropValue_(d)}}function h2(r,h,v,d){var m=h.annotationType_,S=d.get;process.env.NODE_ENV!=="production"&&!S&&ue("Cannot apply '"+m+"' to '"+r.name_+"."+v.toString()+"':"+(`
|
|
258
|
+
'`+m+"' can only be used on getter(+setter) properties."))}function jm(r,h){return{annotationType_:r,options_:h,make_:p2,extend_:v2,decorate_20223_:y2}}function p2(r,h,v){return this.extend_(r,h,v,!1)===null?0:1}function v2(r,h,v,d){var m,S;return m2(r,this,h,v),r.defineObservableProperty_(h,v.value,(m=(S=this.options_)==null?void 0:S.enhancer)!=null?m:Gs,d)}function y2(r,h){if(process.env.NODE_ENV!=="production"){if(h.kind==="field")throw ue("Please use `@observable accessor "+String(h.name)+"` instead of `@observable "+String(h.name)+"`");Hm(h,["accessor"])}var v=this,d=h.kind,m=h.name,S=new WeakSet;function A(U,D){var W,k,te=$s(U)[Ae],ne=new Qs(D,(W=(k=v.options_)==null?void 0:k.enhancer)!=null?W:Gs,process.env.NODE_ENV!=="production"?te.name_+"."+m.toString():"ObservableObject."+m.toString(),!1);te.values_.set(m,ne),S.add(U)}if(d=="accessor")return{get:function(){return S.has(this)||A(this,r.get.call(this)),this[Ae].getObservablePropValue_(m)},set:function(D){return S.has(this)||A(this,D),this[Ae].setObservablePropValue_(m,D)},init:function(D){return S.has(this)||A(this,D),D}}}function m2(r,h,v,d){var m=h.annotationType_;process.env.NODE_ENV!=="production"&&!("value"in d)&&ue("Cannot apply '"+m+"' to '"+r.name_+"."+v.toString()+"':"+(`
|
|
259
|
+
'`+m+"' cannot be used on getter/setter properties"))}var g2="true",b2=E1();function E1(r){return{annotationType_:g2,options_:r,make_:S2,extend_:_2,decorate_20223_:E2}}function S2(r,h,v,d){var m,S;if(v.get)return Lm.make_(r,h,v,d);if(v.set){var A=Xs(h.toString(),v.set);return d===r.target_?r.defineProperty_(h,{configurable:P.safeDescriptors?r.isPlainObject_:!0,set:A})===null?0:2:(li(d,h,{configurable:!0,set:A}),2)}if(d!==r.target_&&typeof v.value=="function"){var U;if(d1(v.value)){var D,W=(D=this.options_)!=null&&D.autoBind?Jf.bound:Jf;return W.make_(r,h,v,d)}var k=(U=this.options_)!=null&&U.autoBind?zp.bound:zp;return k.make_(r,h,v,d)}var te=((m=this.options_)==null?void 0:m.deep)===!1?xn.ref:xn;if(typeof v.value=="function"&&(S=this.options_)!=null&&S.autoBind){var ne;v.value=v.value.bind((ne=r.proxy_)!=null?ne:r.target_)}return te.make_(r,h,v,d)}function _2(r,h,v,d){var m,S;if(v.get)return Lm.extend_(r,h,v,d);if(v.set)return r.defineProperty_(h,{configurable:P.safeDescriptors?r.isPlainObject_:!0,set:Xs(h.toString(),v.set)},d);if(typeof v.value=="function"&&(m=this.options_)!=null&&m.autoBind){var A;v.value=v.value.bind((A=r.proxy_)!=null?A:r.target_)}var U=((S=this.options_)==null?void 0:S.deep)===!1?xn.ref:xn;return U.extend_(r,h,v,d)}function E2(r,h){ue("'"+this.annotationType_+"' cannot be used as a decorator")}var T2="observable",A2="observable.ref",O2="observable.shallow",D2="observable.struct",T1={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(T1);function qm(r){return r||T1}var cb=jm(T2),M2=jm(A2,{enhancer:wm}),z2=jm(O2,{enhancer:PT}),N2=jm(D2,{enhancer:e2}),A1=ui(cb);function Ym(r){return r.deep===!0?Gs:r.deep===!1?wm:U2(r.defaultDecorator)}function R2(r){var h;return r?(h=r.defaultDecorator)!=null?h:E1(r):void 0}function U2(r){var h,v;return r&&(h=(v=r.options_)==null?void 0:v.enhancer)!=null?h:Gs}function O1(r,h,v){if(Op(h))return cb.decorate_20223_(r,h);if(Ys(h)){Ap(r,h,cb);return}return Rp(r)?r:Ka(r)?xn.object(r,h,v):Array.isArray(r)?xn.array(r,h):Lf(r)?xn.map(r,h):lc(r)?xn.set(r,h):typeof r=="object"&&r!==null?r:xn.box(r,h)}s1(O1,A1);var x2={box:function(h,v){var d=qm(v);return new Qs(h,Ym(d),d.name,!0,d.equals)},array:function(h,v){var d=qm(v);return(P.useProxies===!1||d.proxy===!1?CA:TA)(h,Ym(d),d.name)},map:function(h,v){var d=qm(v);return new P1(h,Ym(d),d.name)},set:function(h,v){var d=qm(v);return new t_(h,Ym(d),d.name)},object:function(h,v,d){return Eo(function(){return K1(P.useProxies===!1||d?.proxy===!1?$s({},d):bA({},d),h,v)})},ref:ui(M2),shallow:ui(z2),deep:A1,struct:ui(N2)},xn=s1(O1,x2),D1="computed",C2="computed.struct",ob=ib(D1),H2=ib(C2,{equals:Bm.structural}),Lm=function(h,v){if(Op(v))return ob.decorate_20223_(h,v);if(Ys(v))return Ap(h,v,ob);if(Ka(h))return ui(ib(D1,h));process.env.NODE_ENV!=="production"&&(sn(h)||ue("First argument to `computed` should be an expression."),sn(v)&&ue("A setter as second argument is no longer supported, use `{ set: fn }` option instead"));var d=Ka(v)?v:{};return d.get=h,d.name||(d.name=h.name||""),new bl(d)};Object.assign(Lm,ob),Lm.struct=ui(H2);var M1,z1,Gm=0,B2=1,w2=(M1=(z1=Rm(function(){},"name"))==null?void 0:z1.configurable)!=null?M1:!1,N1={value:"action",configurable:!0,writable:!1,enumerable:!1};function Xs(r,h,v,d){v===void 0&&(v=!1),process.env.NODE_ENV!=="production"&&(sn(h)||ue("`action` can only be invoked on functions"),(typeof r!="string"||!r)&&ue("actions should have valid names, got: '"+r+"'"));function m(){return V2(r,v,h,d||this,arguments)}return m.isMobxAction=!0,m.toString=function(){return h.toString()},w2&&(N1.value=r,li(m,"name",N1)),m}function V2(r,h,v,d,m){var S=j2(r,h,d,m);try{return v.apply(d,m)}catch(A){throw S.error_=A,A}finally{q2(S)}}function j2(r,h,v,d){var m=process.env.NODE_ENV!=="production"&&Cn()&&!!r,S=0;if(process.env.NODE_ENV!=="production"&&m){S=Date.now();var A=d?Array.from(d):xm;$a({type:vb,name:r,object:v,arguments:A})}var U=P.trackingDerivation,D=!h||!U;_l();var W=P.allowStateChanges;D&&(Zs(),W=sb(!0));var k=hb(!0),te={runAsAction_:D,prevDerivation_:U,prevAllowStateChanges_:W,prevAllowStateReads_:k,notifySpy_:m,startTime_:S,actionId_:B2++,parentActionId_:Gm};return Gm=te.actionId_,te}function q2(r){Gm!==r.actionId_&&ue(30),Gm=r.parentActionId_,r.error_!==void 0&&(P.suppressReactionErrors=!0),rb(r.prevAllowStateChanges_),Mp(r.prevAllowStateReads_),El(),r.runAsAction_&&ic(r.prevDerivation_),process.env.NODE_ENV!=="production"&&r.notifySpy_&&Wa({time:Date.now()-r.startTime_}),P.suppressReactionErrors=!1}function sb(r){var h=P.allowStateChanges;return P.allowStateChanges=r,h}function rb(r){P.allowStateChanges=r}var Y2="create",Qs=(function(r){function h(d,m,S,A,U){var D;return S===void 0&&(S=process.env.NODE_ENV!=="production"?"ObservableValue@"+gu():"ObservableValue"),A===void 0&&(A=!0),U===void 0&&(U=Bm.default),D=r.call(this,S)||this,D.enhancer=void 0,D.name_=void 0,D.equals=void 0,D.hasUnreportedChange_=!1,D.interceptors_=void 0,D.changeListeners_=void 0,D.value_=void 0,D.dehancer=void 0,D.enhancer=m,D.name_=S,D.equals=U,D.value_=m(d,void 0,S),process.env.NODE_ENV!=="production"&&A&&Cn()&&Ks({type:Y2,object:D,observableKind:"value",debugObjectName:D.name_,newValue:""+D.value_}),D}m1(h,r);var v=h.prototype;return v.dehanceValue=function(m){return this.dehancer!==void 0?this.dehancer(m):m},v.set=function(m){var S=this.value_;if(m=this.prepareNewValue_(m),m!==P.UNCHANGED){var A=Cn();process.env.NODE_ENV!=="production"&&A&&$a({type:_u,object:this,observableKind:"value",debugObjectName:this.name_,newValue:m,oldValue:S}),this.setNewValue_(m),process.env.NODE_ENV!=="production"&&A&&Wa()}},v.prepareNewValue_=function(m){if(ii(this),Tl(this)){var S=Al(this,{object:this,type:_u,newValue:m});if(!S)return P.UNCHANGED;m=S.newValue}return m=this.enhancer(m,this.value_,this.name_),this.equals(this.value_,m)?P.UNCHANGED:m},v.setNewValue_=function(m){var S=this.value_;this.value_=m,this.reportChanged(),bu(this)&&Su(this,{type:_u,object:this,newValue:m,oldValue:S})},v.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},v.intercept_=function(m){return Up(this,m)},v.observe_=function(m,S){return S&&m({observableKind:"value",debugObjectName:this.name_,object:this,type:_u,newValue:this.value_,oldValue:void 0}),xp(this,m)},v.raw=function(){return this.value_},v.toJSON=function(){return this.get()},v.toString=function(){return this.name_+"["+this.value_+"]"},v.valueOf=function(){return v1(this.get())},v[Symbol.toPrimitive]=function(){return this.valueOf()},h})(bo),bl=(function(){function r(v){this.dependenciesState_=it.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.observers_=new Set,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=it.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new Qm(null),this.name_=void 0,this.triggeredBy_=void 0,this.flags_=0,this.derivation=void 0,this.setter_=void 0,this.isTracing_=Sl.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,v.get||ue(31),this.derivation=v.get,this.name_=v.name||(process.env.NODE_ENV!=="production"?"ComputedValue@"+gu():"ComputedValue"),v.set&&(this.setter_=Xs(process.env.NODE_ENV!=="production"?this.name_+"-setter":"ComputedValue-setter",v.set)),this.equals_=v.equals||(v.compareStructural||v.struct?Bm.structural:Bm.default),this.scope_=v.context,this.requiresReaction_=v.requiresReaction,this.keepAlive_=!!v.keepAlive}var h=r.prototype;return h.onBecomeStale_=function(){J2(this)},h.onBO=function(){this.onBOL&&this.onBOL.forEach(function(d){return d()})},h.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(d){return d()})},h.get=function(){if(this.isComputing&&ue(32,this.name_,this.derivation),P.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)fb(this)&&(this.warnAboutUntrackedRead_(),_l(),this.value_=this.computeValue_(!1),El());else if(w1(this),fb(this)){var d=P.trackingContext;this.keepAlive_&&!d&&(P.trackingContext=this),this.trackAndCompute()&&K2(this),P.trackingContext=d}var m=this.value_;if(Zm(m))throw m.cause;return m},h.set=function(d){if(this.setter_){this.isRunningSetter&&ue(33,this.name_),this.isRunningSetter=!0;try{this.setter_.call(this.scope_,d)}finally{this.isRunningSetter=!1}}else ue(34,this.name_)},h.trackAndCompute=function(){var d=this.value_,m=this.dependenciesState_===it.NOT_TRACKING_,S=this.computeValue_(!0),A=m||Zm(d)||Zm(S)||!this.equals_(d,S);return A&&(this.value_=S,process.env.NODE_ENV!=="production"&&Cn()&&Ks({observableKind:"computed",debugObjectName:this.name_,object:this.scope_,type:"update",oldValue:d,newValue:S})),A},h.computeValue_=function(d){this.isComputing=!0;var m=sb(!1),S;if(d)S=R1(this,this.derivation,this.scope_);else if(P.disableErrorBoundaries===!0)S=this.derivation.call(this.scope_);else try{S=this.derivation.call(this.scope_)}catch(A){S=new Qm(A)}return rb(m),this.isComputing=!1,S},h.suspend_=function(){this.keepAlive_||(db(this),this.value_=void 0,process.env.NODE_ENV!=="production"&&this.isTracing_!==Sl.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' was suspended and it will recompute on the next access."))},h.observe_=function(d,m){var S=this,A=!0,U=void 0;return aA(function(){var D=S.get();if(!A||m){var W=Zs();d({observableKind:"computed",debugObjectName:S.name_,type:_u,object:S,newValue:D,oldValue:U}),ic(W)}A=!1,U=D})},h.warnAboutUntrackedRead_=function(){process.env.NODE_ENV!=="production"&&(this.isTracing_!==Sl.NONE&&console.log("[mobx.trace] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."),(typeof this.requiresReaction_=="boolean"?this.requiresReaction_:P.computedRequiresReaction)&&console.warn("[mobx] Computed value '"+this.name_+"' is being read outside a reactive context. Doing a full recompute."))},h.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},h.valueOf=function(){return v1(this.get())},h[Symbol.toPrimitive]=function(){return this.valueOf()},Xf(r,[{key:"isComputing",get:function(){return Ja(this.flags_,r.isComputingMask_)},set:function(d){this.flags_=ka(this.flags_,r.isComputingMask_,d)}},{key:"isRunningSetter",get:function(){return Ja(this.flags_,r.isRunningSetterMask_)},set:function(d){this.flags_=ka(this.flags_,r.isRunningSetterMask_,d)}},{key:"isBeingObserved",get:function(){return Ja(this.flags_,r.isBeingObservedMask_)},set:function(d){this.flags_=ka(this.flags_,r.isBeingObservedMask_,d)}},{key:"isPendingUnobservation",get:function(){return Ja(this.flags_,r.isPendingUnobservationMask_)},set:function(d){this.flags_=ka(this.flags_,r.isPendingUnobservationMask_,d)}},{key:"diffValue",get:function(){return Ja(this.flags_,r.diffValueMask_)?1:0},set:function(d){this.flags_=ka(this.flags_,r.diffValueMask_,d===1)}}])})();bl.isComputingMask_=1,bl.isRunningSetterMask_=2,bl.isBeingObservedMask_=4,bl.isPendingUnobservationMask_=8,bl.diffValueMask_=16;var Xm=Ls("ComputedValue",bl),it;(function(r){r[r.NOT_TRACKING_=-1]="NOT_TRACKING_",r[r.UP_TO_DATE_=0]="UP_TO_DATE_",r[r.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",r[r.STALE_=2]="STALE_"})(it||(it={}));var Sl;(function(r){r[r.NONE=0]="NONE",r[r.LOG=1]="LOG",r[r.BREAK=2]="BREAK"})(Sl||(Sl={}));var Qm=function(h){this.cause=void 0,this.cause=h};function Zm(r){return r instanceof Qm}function fb(r){switch(r.dependenciesState_){case it.UP_TO_DATE_:return!1;case it.NOT_TRACKING_:case it.STALE_:return!0;case it.POSSIBLY_STALE_:{for(var h=hb(!0),v=Zs(),d=r.observing_,m=d.length,S=0;S<m;S++){var A=d[S];if(Xm(A)){if(P.disableErrorBoundaries)A.get();else try{A.get()}catch{return ic(v),Mp(h),!0}if(r.dependenciesState_===it.STALE_)return ic(v),Mp(h),!0}}return x1(r),ic(v),Mp(h),!1}}}function ii(r){if(process.env.NODE_ENV!=="production"){var h=r.observers_.size>0;!P.allowStateChanges&&(h||P.enforceActions==="always")&&console.warn("[MobX] "+(P.enforceActions?"Since strict-mode is enabled, changing (observed) observable values without using an action is not allowed. Tried to modify: ":"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, a computed value or the render function of a React component? You can wrap side effects in 'runInAction' (or decorate functions with 'action') if needed. Tried to modify: ")+r.name_)}}function L2(r){process.env.NODE_ENV!=="production"&&!P.allowStateReads&&P.observableRequiresReaction&&console.warn("[mobx] Observable '"+r.name_+"' being read outside a reactive context.")}function R1(r,h,v){var d=hb(!0);x1(r),r.newObserving_=new Array(r.runId_===0?100:r.observing_.length),r.unboundDepsCount_=0,r.runId_=++P.runId;var m=P.trackingDerivation;P.trackingDerivation=r,P.inBatch++;var S;if(P.disableErrorBoundaries===!0)S=h.call(v);else try{S=h.call(v)}catch(A){S=new Qm(A)}return P.inBatch--,P.trackingDerivation=m,X2(r),G2(r),Mp(d),S}function G2(r){process.env.NODE_ENV!=="production"&&r.observing_.length===0&&(typeof r.requiresObservable_=="boolean"?r.requiresObservable_:P.reactionRequiresObservable)&&console.warn("[mobx] Derivation '"+r.name_+"' is created/updated without reading any observable value.")}function X2(r){for(var h=r.observing_,v=r.observing_=r.newObserving_,d=it.UP_TO_DATE_,m=0,S=r.unboundDepsCount_,A=0;A<S;A++){var U=v[A];U.diffValue===0&&(U.diffValue=1,m!==A&&(v[m]=U),m++),U.dependenciesState_>d&&(d=U.dependenciesState_)}for(v.length=m,r.newObserving_=null,S=h.length;S--;){var D=h[S];D.diffValue===0&&H1(D,r),D.diffValue=0}for(;m--;){var W=v[m];W.diffValue===1&&(W.diffValue=0,Z2(W,r))}d!==it.UP_TO_DATE_&&(r.dependenciesState_=d,r.onBecomeStale_())}function db(r){var h=r.observing_;r.observing_=[];for(var v=h.length;v--;)H1(h[v],r);r.dependenciesState_=it.NOT_TRACKING_}function U1(r){var h=Zs();try{return r()}finally{ic(h)}}function Zs(){var r=P.trackingDerivation;return P.trackingDerivation=null,r}function ic(r){P.trackingDerivation=r}function hb(r){var h=P.allowStateReads;return P.allowStateReads=r,h}function Mp(r){P.allowStateReads=r}function x1(r){if(r.dependenciesState_!==it.UP_TO_DATE_){r.dependenciesState_=it.UP_TO_DATE_;for(var h=r.observing_,v=h.length;v--;)h[v].lowestObserverState_=it.UP_TO_DATE_}}var Km=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,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},Jm=!0,C1=!1,P=(function(){var r=Nm();return r.__mobxInstanceCount>0&&!r.__mobxGlobals&&(Jm=!1),r.__mobxGlobals&&r.__mobxGlobals.version!==new Km().version&&(Jm=!1),Jm?r.__mobxGlobals?(r.__mobxInstanceCount+=1,r.__mobxGlobals.UNCHANGED||(r.__mobxGlobals.UNCHANGED={}),r.__mobxGlobals):(r.__mobxInstanceCount=1,r.__mobxGlobals=new Km):(setTimeout(function(){C1||ue(35)},1),new Km)})();function Q2(){if((P.pendingReactions.length||P.inBatch||P.isRunningReactions)&&ue(36),C1=!0,Jm){var r=Nm();--r.__mobxInstanceCount===0&&(r.__mobxGlobals=void 0),P=new Km}}function Z2(r,h){r.observers_.add(h),r.lowestObserverState_>h.dependenciesState_&&(r.lowestObserverState_=h.dependenciesState_)}function H1(r,h){r.observers_.delete(h),r.observers_.size===0&&B1(r)}function B1(r){r.isPendingUnobservation===!1&&(r.isPendingUnobservation=!0,P.pendingUnobservations.push(r))}function _l(){P.inBatch++}function El(){if(--P.inBatch===0){L1();for(var r=P.pendingUnobservations,h=0;h<r.length;h++){var v=r[h];v.isPendingUnobservation=!1,v.observers_.size===0&&(v.isBeingObserved&&(v.isBeingObserved=!1,v.onBUO()),v instanceof bl&&v.suspend_())}P.pendingUnobservations=[]}}function w1(r){L2(r);var h=P.trackingDerivation;return h!==null?(h.runId_!==r.lastAccessedBy_&&(r.lastAccessedBy_=h.runId_,h.newObserving_[h.unboundDepsCount_++]=r,!r.isBeingObserved&&P.trackingContext&&(r.isBeingObserved=!0,r.onBO())),r.isBeingObserved):(r.observers_.size===0&&P.inBatch>0&&B1(r),!1)}function V1(r){r.lowestObserverState_!==it.STALE_&&(r.lowestObserverState_=it.STALE_,r.observers_.forEach(function(h){h.dependenciesState_===it.UP_TO_DATE_&&(process.env.NODE_ENV!=="production"&&h.isTracing_!==Sl.NONE&&j1(h,r),h.onBecomeStale_()),h.dependenciesState_=it.STALE_}))}function K2(r){r.lowestObserverState_!==it.STALE_&&(r.lowestObserverState_=it.STALE_,r.observers_.forEach(function(h){h.dependenciesState_===it.POSSIBLY_STALE_?(h.dependenciesState_=it.STALE_,process.env.NODE_ENV!=="production"&&h.isTracing_!==Sl.NONE&&j1(h,r)):h.dependenciesState_===it.UP_TO_DATE_&&(r.lowestObserverState_=it.UP_TO_DATE_)}))}function J2(r){r.lowestObserverState_===it.UP_TO_DATE_&&(r.lowestObserverState_=it.POSSIBLY_STALE_,r.observers_.forEach(function(h){h.dependenciesState_===it.UP_TO_DATE_&&(h.dependenciesState_=it.POSSIBLY_STALE_,h.onBecomeStale_())}))}function j1(r,h){if(console.log("[mobx.trace] '"+r.name_+"' is invalidated due to a change in: '"+h.name_+"'"),r.isTracing_===Sl.BREAK){var v=[];q1(J1(r),v,1),new Function(`debugger;
|
|
260
|
+
/*
|
|
261
|
+
Tracing '`+r.name_+`'
|
|
262
|
+
|
|
263
|
+
You are entering this break point because derivation '`+r.name_+"' is being traced and '"+h.name_+`' is now forcing it to update.
|
|
264
|
+
Just follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update
|
|
265
|
+
The stackframe you are looking for is at least ~6-8 stack-frames up.
|
|
266
|
+
|
|
267
|
+
`+(r instanceof bl?r.derivation.toString().replace(/[*]\//g,"/"):"")+`
|
|
268
|
+
|
|
269
|
+
The dependencies for this derivation are:
|
|
270
|
+
|
|
271
|
+
`+v.join(`
|
|
272
|
+
`)+`
|
|
273
|
+
*/
|
|
274
|
+
`)()}}function q1(r,h,v){if(h.length>=1e3){h.push("(and many more)");return}h.push(""+" ".repeat(v-1)+r.name),r.dependencies&&r.dependencies.forEach(function(d){return q1(d,h,v+1)})}var cc=(function(){function r(v,d,m,S){v===void 0&&(v=process.env.NODE_ENV!=="production"?"Reaction@"+gu():"Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=it.NOT_TRACKING_,this.runId_=0,this.unboundDepsCount_=0,this.flags_=0,this.isTracing_=Sl.NONE,this.name_=v,this.onInvalidate_=d,this.errorHandler_=m,this.requiresObservable_=S}var h=r.prototype;return h.onBecomeStale_=function(){this.schedule_()},h.schedule_=function(){this.isScheduled||(this.isScheduled=!0,P.pendingReactions.push(this),L1())},h.runReaction_=function(){if(!this.isDisposed){_l(),this.isScheduled=!1;var d=P.trackingContext;if(P.trackingContext=this,fb(this)){this.isTrackPending=!0;try{this.onInvalidate_(),process.env.NODE_ENV!=="production"&&this.isTrackPending&&Cn()&&Ks({name:this.name_,type:"scheduled-reaction"})}catch(m){this.reportExceptionInDerivation_(m)}}P.trackingContext=d,El()}},h.track=function(d){if(!this.isDisposed){_l();var m=Cn(),S;process.env.NODE_ENV!=="production"&&m&&(S=Date.now(),$a({name:this.name_,type:"reaction"})),this.isRunning=!0;var A=P.trackingContext;P.trackingContext=this;var U=R1(this,d,void 0);P.trackingContext=A,this.isRunning=!1,this.isTrackPending=!1,this.isDisposed&&db(this),Zm(U)&&this.reportExceptionInDerivation_(U.cause),process.env.NODE_ENV!=="production"&&m&&Wa({time:Date.now()-S}),El()}},h.reportExceptionInDerivation_=function(d){var m=this;if(this.errorHandler_){this.errorHandler_(d,this);return}if(P.disableErrorBoundaries)throw d;var S=process.env.NODE_ENV!=="production"?"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'":"[mobx] uncaught error in '"+this+"'";P.suppressReactionErrors?process.env.NODE_ENV!=="production"&&console.warn("[mobx] (error in reaction '"+this.name_+"' suppressed, fix error of causing action below)"):console.error(S,d),process.env.NODE_ENV!=="production"&&Cn()&&Ks({type:"error",name:this.name_,message:S,error:""+d}),P.globalReactionErrorHandlers.forEach(function(A){return A(d,m)})},h.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.isRunning||(_l(),db(this),El()))},h.getDisposer_=function(d){var m=this,S=function A(){m.dispose(),d==null||d.removeEventListener==null||d.removeEventListener("abort",A)};return d==null||d.addEventListener==null||d.addEventListener("abort",S),S[Ae]=this,S},h.toString=function(){return"Reaction["+this.name_+"]"},h.trace=function(d){d===void 0&&(d=!1),yA(this,d)},Xf(r,[{key:"isDisposed",get:function(){return Ja(this.flags_,r.isDisposedMask_)},set:function(d){this.flags_=ka(this.flags_,r.isDisposedMask_,d)}},{key:"isScheduled",get:function(){return Ja(this.flags_,r.isScheduledMask_)},set:function(d){this.flags_=ka(this.flags_,r.isScheduledMask_,d)}},{key:"isTrackPending",get:function(){return Ja(this.flags_,r.isTrackPendingMask_)},set:function(d){this.flags_=ka(this.flags_,r.isTrackPendingMask_,d)}},{key:"isRunning",get:function(){return Ja(this.flags_,r.isRunningMask_)},set:function(d){this.flags_=ka(this.flags_,r.isRunningMask_,d)}},{key:"diffValue",get:function(){return Ja(this.flags_,r.diffValueMask_)?1:0},set:function(d){this.flags_=ka(this.flags_,r.diffValueMask_,d===1)}}])})();cc.isDisposedMask_=1,cc.isScheduledMask_=2,cc.isTrackPendingMask_=4,cc.isRunningMask_=8,cc.diffValueMask_=16;var Y1=100,pb=function(h){return h()};function L1(){P.inBatch>0||P.isRunningReactions||pb(k2)}function k2(){P.isRunningReactions=!0;for(var r=P.pendingReactions,h=0;r.length>0;){++h===Y1&&(console.error(process.env.NODE_ENV!=="production"?"Reaction doesn't converge to a stable state after "+Y1+" iterations."+(" Probably there is a cycle in the reactive function: "+r[0]):"[mobx] cycle in reaction: "+r[0]),r.splice(0));for(var v=r.splice(0),d=0,m=v.length;d<m;d++)v[d].runReaction_()}P.isRunningReactions=!1}var km=Ls("Reaction",cc);function $2(r){var h=pb;pb=function(d){return r(function(){return h(d)})}}function Cn(){return process.env.NODE_ENV!=="production"&&!!P.spyListeners.length}function Ks(r){if(process.env.NODE_ENV!=="production"&&P.spyListeners.length)for(var h=P.spyListeners,v=0,d=h.length;v<d;v++)h[v](r)}function $a(r){if(process.env.NODE_ENV!=="production"){var h=uc({},r,{spyReportStart:!0});Ks(h)}}var W2={type:"report-end",spyReportEnd:!0};function Wa(r){process.env.NODE_ENV!=="production"&&Ks(r?uc({},r,{type:"report-end",spyReportEnd:!0}):W2)}function F2(r){return process.env.NODE_ENV==="production"?(console.warn("[mobx.spy] Is a no-op in production builds"),function(){}):(P.spyListeners.push(r),nb(function(){P.spyListeners=P.spyListeners.filter(function(h){return h!==r})}))}var vb="action",I2="action.bound",G1="autoAction",P2="autoAction.bound",eA="<unnamed action>",yb=Dp(vb),tA=Dp(I2,{bound:!0}),mb=Dp(G1,{autoAction:!0}),nA=Dp(P2,{autoAction:!0,bound:!0});function X1(r){var h=function(d,m){if(sn(d))return Xs(d.name||eA,d,r);if(sn(m))return Xs(d,m,r);if(Op(m))return(r?mb:yb).decorate_20223_(d,m);if(Ys(m))return Ap(d,m,r?mb:yb);if(Ys(d))return ui(Dp(r?G1:vb,{name:d,autoAction:r}));process.env.NODE_ENV!=="production"&&ue("Invalid arguments for `action`")};return h}var Zf=X1(!1);Object.assign(Zf,yb);var zp=X1(!0);Object.assign(zp,mb),Zf.bound=ui(tA),zp.bound=ui(nA);function Kf(r){return sn(r)&&r.isMobxAction===!0}function aA(r,h){var v,d,m,S;h===void 0&&(h=r1),process.env.NODE_ENV!=="production"&&(sn(r)||ue("Autorun expects a function as first argument"),Kf(r)&&ue("Autorun does not accept actions since actions are untrackable"));var A=(v=(d=h)==null?void 0:d.name)!=null?v:process.env.NODE_ENV!=="production"?r.name||"Autorun@"+gu():"Autorun",U=!h.scheduler&&!h.delay,D;if(U)D=new cc(A,function(){this.track(te)},h.onError,h.requiresObservable);else{var W=uA(h),k=!1;D=new cc(A,function(){k||(k=!0,W(function(){k=!1,D.isDisposed||D.track(te)}))},h.onError,h.requiresObservable)}function te(){r(D)}return(m=h)!=null&&(m=m.signal)!=null&&m.aborted||D.schedule_(),D.getDisposer_((S=h)==null?void 0:S.signal)}var lA=function(h){return h()};function uA(r){return r.scheduler?r.scheduler:r.delay?function(h){return setTimeout(h,r.delay)}:lA}var iA="onBO",cA="onBUO";function oA(r,h,v){return Z1(iA,r,h,v)}function Q1(r,h,v){return Z1(cA,r,h,v)}function Z1(r,h,v,d){var m=$f(h),S=sn(d)?d:v,A=r+"L";return m[A]?m[A].add(S):m[A]=new Set([S]),function(){var U=m[A];U&&(U.delete(S),U.size===0&&delete m[A])}}var sA="never",$m="always",rA="observed";function fA(r){r.isolateGlobalState===!0&&Q2();var h=r.useProxies,v=r.enforceActions;if(h!==void 0&&(P.useProxies=h===$m?!0:h===sA?!1:typeof Proxy<"u"),h==="ifavailable"&&(P.verifyProxies=!0),v!==void 0){var d=v===$m?$m:v===rA;P.enforceActions=d,P.allowStateChanges=!(d===!0||d===$m)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(m){m in r&&(P[m]=!!r[m])}),P.allowStateReads=!P.observableRequiresReaction,process.env.NODE_ENV!=="production"&&P.disableErrorBoundaries===!0&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),r.reactionScheduler&&$2(r.reactionScheduler)}function K1(r,h,v,d){process.env.NODE_ENV!=="production"&&(arguments.length>4&&ue("'extendObservable' expected 2-4 arguments"),typeof r!="object"&&ue("'extendObservable' expects an object as first argument"),_o(r)&&ue("'extendObservable' should not be used on maps, use map.merge instead"),Ka(h)||ue("'extendObservable' only accepts plain objects as second argument"),(Rp(h)||Rp(v))&&ue("Extending an object with another observable (object) is not supported"));var m=QT(h);return Eo(function(){var S=$s(r,d)[Ae];Gf(m).forEach(function(A){S.extend_(A,m[A],v&&A in v?v[A]:!0)})}),r}function J1(r,h){return k1($f(r,h))}function k1(r){var h={name:r.name_};return r.observing_&&r.observing_.length>0&&(h.dependencies=dA(r.observing_).map(k1)),h}function dA(r){return Array.from(new Set(r))}var hA=0;function $1(){this.message="FLOW_CANCELLED"}$1.prototype=Object.create(Error.prototype);var gb=S1("flow"),pA=S1("flow.bound",{bound:!0}),Jf=Object.assign(function(h,v){if(Op(v))return gb.decorate_20223_(h,v);if(Ys(v))return Ap(h,v,gb);process.env.NODE_ENV!=="production"&&arguments.length!==1&&ue("Flow expects single argument with generator function");var d=h,m=d.name||"<unnamed flow>",S=function(){var U=this,D=arguments,W=++hA,k=Zf(m+" - runid: "+W+" - init",d).apply(U,D),te,ne=void 0,ce=new Promise(function(fe,Me){var me=0;te=Me;function ze(Ze){ne=void 0;var mt;try{mt=Zf(m+" - runid: "+W+" - yield "+me++,k.next).call(k,Ze)}catch(pt){return Me(pt)}Be(mt)}function qt(Ze){ne=void 0;var mt;try{mt=Zf(m+" - runid: "+W+" - yield "+me++,k.throw).call(k,Ze)}catch(pt){return Me(pt)}Be(mt)}function Be(Ze){if(sn(Ze?.then)){Ze.then(Be,Me);return}return Ze.done?fe(Ze.value):(ne=Promise.resolve(Ze.value),ne.then(ze,qt))}ze(void 0)});return ce.cancel=Zf(m+" - runid: "+W+" - cancel",function(){try{ne&&W1(ne);var fe=k.return(void 0),Me=Promise.resolve(fe.value);Me.then(Yf,Yf),W1(Me),te(new $1)}catch(me){te(me)}}),ce};return S.isMobXFlow=!0,S},gb);Jf.bound=ui(pA);function W1(r){sn(r.cancel)&&r.cancel()}function Np(r){return r?.isMobXFlow===!0}function vA(r,h){return r?kf(r)||!!r[Ae]||ub(r)||km(r)||Xm(r):!1}function Rp(r){return process.env.NODE_ENV!=="production"&&arguments.length!==1&&ue("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),vA(r)}function yA(){if(process.env.NODE_ENV!=="production"){for(var r=!1,h=arguments.length,v=new Array(h),d=0;d<h;d++)v[d]=arguments[d];typeof v[v.length-1]=="boolean"&&(r=v.pop());var m=mA(v);if(!m)return ue("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");m.isTracing_===Sl.NONE&&console.log("[mobx.trace] '"+m.name_+"' tracing enabled"),m.isTracing_=r?Sl.BREAK:Sl.LOG}}function mA(r){switch(r.length){case 0:return P.trackingDerivation;case 1:return $f(r[0]);case 2:return $f(r[0],r[1])}}function oc(r,h){h===void 0&&(h=void 0),_l();try{return r.apply(h)}finally{El()}}function Js(r){return r[Ae]}var gA={has:function(h,v){return process.env.NODE_ENV!=="production"&&P.trackingDerivation&&Ep("detect new properties using the 'in' operator. Use 'has' from 'mobx' instead."),Js(h).has_(v)},get:function(h,v){return Js(h).get_(v)},set:function(h,v,d){var m;return Ys(v)?(process.env.NODE_ENV!=="production"&&!Js(h).values_.has(v)&&Ep("add a new observable property through direct assignment. Use 'set' from 'mobx' instead."),(m=Js(h).set_(v,d,!0))!=null?m:!0):!1},deleteProperty:function(h,v){var d;return process.env.NODE_ENV!=="production"&&Ep("delete properties from an observable object. Use 'remove' from 'mobx' instead."),Ys(v)?(d=Js(h).delete_(v,!0))!=null?d:!0:!1},defineProperty:function(h,v,d){var m;return process.env.NODE_ENV!=="production"&&Ep("define property on an observable object. Use 'defineProperty' from 'mobx' instead."),(m=Js(h).defineProperty_(v,d))!=null?m:!0},ownKeys:function(h){return process.env.NODE_ENV!=="production"&&P.trackingDerivation&&Ep("iterate keys to detect added / removed properties. Use 'keys' from 'mobx' instead."),Js(h).ownKeys_()},preventExtensions:function(h){ue(13)}};function bA(r,h){var v,d;return f1(),r=$s(r,h),(d=(v=r[Ae]).proxy_)!=null?d:v.proxy_=new Proxy(r,gA)}function Tl(r){return r.interceptors_!==void 0&&r.interceptors_.length>0}function Up(r,h){var v=r.interceptors_||(r.interceptors_=[]);return v.push(h),nb(function(){var d=v.indexOf(h);d!==-1&&v.splice(d,1)})}function Al(r,h){var v=Zs();try{for(var d=[].concat(r.interceptors_||[]),m=0,S=d.length;m<S&&(h=d[m](h),h&&!h.type&&ue(14),!!h);m++);return h}finally{ic(v)}}function bu(r){return r.changeListeners_!==void 0&&r.changeListeners_.length>0}function xp(r,h){var v=r.changeListeners_||(r.changeListeners_=[]);return v.push(h),nb(function(){var d=v.indexOf(h);d!==-1&&v.splice(d,1)})}function Su(r,h){var v=Zs(),d=r.changeListeners_;if(d){d=d.slice();for(var m=0,S=d.length;m<S;m++)d[m](h);ic(v)}}function SA(r,h,v){return Eo(function(){var d,m=$s(r,v)[Ae];process.env.NODE_ENV!=="production"&&h&&r[Da]&&ue("makeObservable second arg must be nullish when using decorators. Mixing @decorator syntax with annotations is not supported."),(d=h)!=null||(h=WT(r)),Gf(h).forEach(function(S){return m.make_(S,h[S])})}),r}var bb=Symbol("mobx-keys");function ks(r,h,v){return process.env.NODE_ENV!=="production"&&(!Ka(r)&&!Ka(Object.getPrototypeOf(r))&&ue("'makeAutoObservable' can only be used for classes that don't have a superclass"),kf(r)&&ue("makeAutoObservable can only be used on objects not already made observable")),Ka(r)?K1(r,r,h,v):(Eo(function(){var d=$s(r,v)[Ae];if(!r[bb]){var m=Object.getPrototypeOf(r),S=new Set([].concat(Gf(r),Gf(m)));S.delete("constructor"),S.delete(Ae),Tp(m,bb,S)}r[bb].forEach(function(A){return d.make_(A,h&&A in h?h[A]:!0)})}),r)}var F1="splice",_u="update",_A=1e4,EA={get:function(h,v){var d=h[Ae];return v===Ae?d:v==="length"?d.getArrayLength_():typeof v=="string"&&!isNaN(v)?d.get_(parseInt(v)):gl(Wm,v)?Wm[v]:h[v]},set:function(h,v,d){var m=h[Ae];return v==="length"&&m.setArrayLength_(d),typeof v=="symbol"||isNaN(v)?h[v]=d:m.set_(parseInt(v),d),!0},preventExtensions:function(){ue(15)}},Sb=(function(){function r(v,d,m,S){v===void 0&&(v=process.env.NODE_ENV!=="production"?"ObservableArray@"+gu():"ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=m,this.legacyMode_=S,this.atom_=new bo(v),this.enhancer_=function(A,U){return d(A,U,process.env.NODE_ENV!=="production"?v+"[..]":"ObservableArray[..]")}}var h=r.prototype;return h.dehanceValue_=function(d){return this.dehancer!==void 0?this.dehancer(d):d},h.dehanceValues_=function(d){return this.dehancer!==void 0&&d.length>0?d.map(this.dehancer):d},h.intercept_=function(d){return Up(this,d)},h.observe_=function(d,m){return m===void 0&&(m=!1),m&&d({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),xp(this,d)},h.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},h.setArrayLength_=function(d){(typeof d!="number"||isNaN(d)||d<0)&&ue("Out of range: "+d);var m=this.values_.length;if(d!==m)if(d>m){for(var S=new Array(d-m),A=0;A<d-m;A++)S[A]=void 0;this.spliceWithArray_(m,0,S)}else this.spliceWithArray_(d,m-d)},h.updateArrayLength_=function(d,m){d!==this.lastKnownLength_&&ue(16),this.lastKnownLength_+=m,this.legacyMode_&&m>0&&r_(d+m+1)},h.spliceWithArray_=function(d,m,S){var A=this;ii(this.atom_);var U=this.values_.length;if(d===void 0?d=0:d>U?d=U:d<0&&(d=Math.max(0,U+d)),arguments.length===1?m=U-d:m==null?m=0:m=Math.max(0,Math.min(m,U-d)),S===void 0&&(S=xm),Tl(this)){var D=Al(this,{object:this.proxy_,type:F1,index:d,removedCount:m,added:S});if(!D)return xm;m=D.removedCount,S=D.added}if(S=S.length===0?S:S.map(function(te){return A.enhancer_(te,void 0)}),this.legacyMode_||process.env.NODE_ENV!=="production"){var W=S.length-m;this.updateArrayLength_(U,W)}var k=this.spliceItemsIntoValues_(d,m,S);return(m!==0||S.length!==0)&&this.notifyArraySplice_(d,S,k),this.dehanceValues_(k)},h.spliceItemsIntoValues_=function(d,m,S){if(S.length<_A){var A;return(A=this.values_).splice.apply(A,[d,m].concat(S))}else{var U=this.values_.slice(d,d+m),D=this.values_.slice(d+m);this.values_.length+=S.length-m;for(var W=0;W<S.length;W++)this.values_[d+W]=S[W];for(var k=0;k<D.length;k++)this.values_[d+S.length+k]=D[k];return U}},h.notifyArrayChildUpdate_=function(d,m,S){var A=!this.owned_&&Cn(),U=bu(this),D=U||A?{observableKind:"array",object:this.proxy_,type:_u,debugObjectName:this.atom_.name_,index:d,newValue:m,oldValue:S}:null;process.env.NODE_ENV!=="production"&&A&&$a(D),this.atom_.reportChanged(),U&&Su(this,D),process.env.NODE_ENV!=="production"&&A&&Wa()},h.notifyArraySplice_=function(d,m,S){var A=!this.owned_&&Cn(),U=bu(this),D=U||A?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:F1,index:d,removed:S,added:m,removedCount:S.length,addedCount:m.length}:null;process.env.NODE_ENV!=="production"&&A&&$a(D),this.atom_.reportChanged(),U&&Su(this,D),process.env.NODE_ENV!=="production"&&A&&Wa()},h.get_=function(d){if(this.legacyMode_&&d>=this.values_.length){console.warn(process.env.NODE_ENV!=="production"?"[mobx.array] Attempt to read an array index ("+d+") that is out of bounds ("+this.values_.length+"). Please check length first. Out of bound indices will not be tracked by MobX":"[mobx] Out of bounds read: "+d);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[d])},h.set_=function(d,m){var S=this.values_;if(this.legacyMode_&&d>S.length&&ue(17,d,S.length),d<S.length){ii(this.atom_);var A=S[d];if(Tl(this)){var U=Al(this,{type:_u,object:this.proxy_,index:d,newValue:m});if(!U)return;m=U.newValue}m=this.enhancer_(m,A);var D=m!==A;D&&(S[d]=m,this.notifyArrayChildUpdate_(d,m,A))}else{for(var W=new Array(d+1-S.length),k=0;k<W.length-1;k++)W[k]=void 0;W[W.length-1]=m,this.spliceWithArray_(S.length,0,W)}},r})();function TA(r,h,v,d){return v===void 0&&(v=process.env.NODE_ENV!=="production"?"ObservableArray@"+gu():"ObservableArray"),d===void 0&&(d=!1),f1(),Eo(function(){var m=new Sb(v,h,d,!1);h1(m.values_,Ae,m);var S=new Proxy(m.values_,EA);return m.proxy_=S,r&&r.length&&m.spliceWithArray_(0,0,r),S})}var Wm={clear:function(){return this.splice(0)},replace:function(h){var v=this[Ae];return v.spliceWithArray_(0,v.values_.length,h)},toJSON:function(){return this.slice()},splice:function(h,v){for(var d=arguments.length,m=new Array(d>2?d-2:0),S=2;S<d;S++)m[S-2]=arguments[S];var A=this[Ae];switch(arguments.length){case 0:return[];case 1:return A.spliceWithArray_(h);case 2:return A.spliceWithArray_(h,v)}return A.spliceWithArray_(h,v,m)},spliceWithArray:function(h,v,d){return this[Ae].spliceWithArray_(h,v,d)},push:function(){for(var h=this[Ae],v=arguments.length,d=new Array(v),m=0;m<v;m++)d[m]=arguments[m];return h.spliceWithArray_(h.values_.length,0,d),h.values_.length},pop:function(){return this.splice(Math.max(this[Ae].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var h=this[Ae],v=arguments.length,d=new Array(v),m=0;m<v;m++)d[m]=arguments[m];return h.spliceWithArray_(0,0,d),h.values_.length},reverse:function(){return P.trackingDerivation&&ue(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){P.trackingDerivation&&ue(37,"sort");var h=this.slice();return h.sort.apply(h,arguments),this.replace(h),this},remove:function(h){var v=this[Ae],d=v.dehanceValues_(v.values_).indexOf(h);return d>-1?(this.splice(d,1),!0):!1}};Et("at",Fa),Et("concat",Fa),Et("flat",Fa),Et("includes",Fa),Et("indexOf",Fa),Et("join",Fa),Et("lastIndexOf",Fa),Et("slice",Fa),Et("toString",Fa),Et("toLocaleString",Fa),Et("toSorted",Fa),Et("toSpliced",Fa),Et("with",Fa),Et("every",Eu),Et("filter",Eu),Et("find",Eu),Et("findIndex",Eu),Et("findLast",Eu),Et("findLastIndex",Eu),Et("flatMap",Eu),Et("forEach",Eu),Et("map",Eu),Et("some",Eu),Et("toReversed",Eu),Et("reduce",I1),Et("reduceRight",I1);function Et(r,h){typeof Array.prototype[r]=="function"&&(Wm[r]=h(r))}function Fa(r){return function(){var h=this[Ae];h.atom_.reportObserved();var v=h.dehanceValues_(h.values_);return v[r].apply(v,arguments)}}function Eu(r){return function(h,v){var d=this,m=this[Ae];m.atom_.reportObserved();var S=m.dehanceValues_(m.values_);return S[r](function(A,U){return h.call(v,A,U,d)})}}function I1(r){return function(){var h=this,v=this[Ae];v.atom_.reportObserved();var d=v.dehanceValues_(v.values_),m=arguments[0];return arguments[0]=function(S,A,U){return m(S,A,U,h)},d[r].apply(d,arguments)}}var AA=Ls("ObservableArrayAdministration",Sb);function Fm(r){return Cm(r)&&AA(r[Ae])}var OA={},So="add",Im="delete",P1=(function(){function r(v,d,m){var S=this;d===void 0&&(d=Gs),m===void 0&&(m=process.env.NODE_ENV!=="production"?"ObservableMap@"+gu():"ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[Ae]=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_=d,this.name_=m,sn(Map)||ue(18),Eo(function(){S.keysAtom_=g1(process.env.NODE_ENV!=="production"?S.name_+".keys()":"ObservableMap.keys()"),S.data_=new Map,S.hasMap_=new Map,v&&S.merge(v)})}var h=r.prototype;return h.has_=function(d){return this.data_.has(d)},h.has=function(d){var m=this;if(!P.trackingDerivation)return this.has_(d);var S=this.hasMap_.get(d);if(!S){var A=S=new Qs(this.has_(d),wm,process.env.NODE_ENV!=="production"?this.name_+"."+ab(d)+"?":"ObservableMap.key?",!1);this.hasMap_.set(d,A),Q1(A,function(){return m.hasMap_.delete(d)})}return S.get()},h.set=function(d,m){var S=this.has_(d);if(Tl(this)){var A=Al(this,{type:S?_u:So,object:this,newValue:m,name:d});if(!A)return this;m=A.newValue}return S?this.updateValue_(d,m):this.addValue_(d,m),this},h.delete=function(d){var m=this;if(ii(this.keysAtom_),Tl(this)){var S=Al(this,{type:Im,object:this,name:d});if(!S)return!1}if(this.has_(d)){var A=Cn(),U=bu(this),D=U||A?{observableKind:"map",debugObjectName:this.name_,type:Im,object:this,oldValue:this.data_.get(d).value_,name:d}:null;return process.env.NODE_ENV!=="production"&&A&&$a(D),oc(function(){var W;m.keysAtom_.reportChanged(),(W=m.hasMap_.get(d))==null||W.setNewValue_(!1);var k=m.data_.get(d);k.setNewValue_(void 0),m.data_.delete(d)}),U&&Su(this,D),process.env.NODE_ENV!=="production"&&A&&Wa(),!0}return!1},h.updateValue_=function(d,m){var S=this.data_.get(d);if(m=S.prepareNewValue_(m),m!==P.UNCHANGED){var A=Cn(),U=bu(this),D=U||A?{observableKind:"map",debugObjectName:this.name_,type:_u,object:this,oldValue:S.value_,name:d,newValue:m}:null;process.env.NODE_ENV!=="production"&&A&&$a(D),S.setNewValue_(m),U&&Su(this,D),process.env.NODE_ENV!=="production"&&A&&Wa()}},h.addValue_=function(d,m){var S=this;ii(this.keysAtom_),oc(function(){var W,k=new Qs(m,S.enhancer_,process.env.NODE_ENV!=="production"?S.name_+"."+ab(d):"ObservableMap.key",!1);S.data_.set(d,k),m=k.value_,(W=S.hasMap_.get(d))==null||W.setNewValue_(!0),S.keysAtom_.reportChanged()});var A=Cn(),U=bu(this),D=U||A?{observableKind:"map",debugObjectName:this.name_,type:So,object:this,name:d,newValue:m}:null;process.env.NODE_ENV!=="production"&&A&&$a(D),U&&Su(this,D),process.env.NODE_ENV!=="production"&&A&&Wa()},h.get=function(d){return this.has(d)?this.dehanceValue_(this.data_.get(d).get()):this.dehanceValue_(void 0)},h.dehanceValue_=function(d){return this.dehancer!==void 0?this.dehancer(d):d},h.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},h.values=function(){var d=this,m=this.keys();return e_({next:function(){var A=m.next(),U=A.done,D=A.value;return{done:U,value:U?void 0:d.get(D)}}})},h.entries=function(){var d=this,m=this.keys();return e_({next:function(){var A=m.next(),U=A.done,D=A.value;return{done:U,value:U?void 0:[D,d.get(D)]}}})},h[Symbol.iterator]=function(){return this.entries()},h.forEach=function(d,m){for(var S=Qf(this),A;!(A=S()).done;){var U=A.value,D=U[0],W=U[1];d.call(m,W,D,this)}},h.merge=function(d){var m=this;return _o(d)&&(d=new Map(d)),oc(function(){Ka(d)?XT(d).forEach(function(S){return m.set(S,d[S])}):Array.isArray(d)?d.forEach(function(S){var A=S[0],U=S[1];return m.set(A,U)}):Lf(d)?(GT(d)||ue(19,d),d.forEach(function(S,A){return m.set(A,S)})):d!=null&&ue(20,d)}),this},h.clear=function(){var d=this;oc(function(){U1(function(){for(var m=Qf(d.keys()),S;!(S=m()).done;){var A=S.value;d.delete(A)}})})},h.replace=function(d){var m=this;return oc(function(){for(var S=DA(d),A=new Map,U=!1,D=Qf(m.data_.keys()),W;!(W=D()).done;){var k=W.value;if(!S.has(k)){var te=m.delete(k);if(te)U=!0;else{var ne=m.data_.get(k);A.set(k,ne)}}}for(var ce=Qf(S.entries()),fe;!(fe=ce()).done;){var Me=fe.value,me=Me[0],ze=Me[1],qt=m.data_.has(me);if(m.set(me,ze),m.data_.has(me)){var Be=m.data_.get(me);A.set(me,Be),qt||(U=!0)}}if(!U)if(m.data_.size!==A.size)m.keysAtom_.reportChanged();else for(var Ze=m.data_.keys(),mt=A.keys(),pt=Ze.next(),We=mt.next();!pt.done;){if(pt.value!==We.value){m.keysAtom_.reportChanged();break}pt=Ze.next(),We=mt.next()}m.data_=A}),this},h.toString=function(){return"[object ObservableMap]"},h.toJSON=function(){return Array.from(this)},h.observe_=function(d,m){return process.env.NODE_ENV!=="production"&&m===!0&&ue("`observe` doesn't support fireImmediately=true in combination with maps."),xp(this,d)},h.intercept_=function(d){return Up(this,d)},Xf(r,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Map"}}])})(),_o=Ls("ObservableMap",P1);function e_(r){return r[Symbol.toStringTag]="MapIterator",Ob(r)}function DA(r){if(Lf(r)||_o(r))return r;if(Array.isArray(r))return new Map(r);if(Ka(r)){var h=new Map;for(var v in r)h.set(v,r[v]);return h}else return ue(21,r)}var MA={},t_=(function(){function r(v,d,m){var S=this;d===void 0&&(d=Gs),m===void 0&&(m=process.env.NODE_ENV!=="production"?"ObservableSet@"+gu():"ObservableSet"),this.name_=void 0,this[Ae]=MA,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_=m,sn(Set)||ue(22),this.enhancer_=function(A,U){return d(A,U,m)},Eo(function(){S.atom_=g1(S.name_),v&&S.replace(v)})}var h=r.prototype;return h.dehanceValue_=function(d){return this.dehancer!==void 0?this.dehancer(d):d},h.clear=function(){var d=this;oc(function(){U1(function(){for(var m=Qf(d.data_.values()),S;!(S=m()).done;){var A=S.value;d.delete(A)}})})},h.forEach=function(d,m){for(var S=Qf(this),A;!(A=S()).done;){var U=A.value;d.call(m,U,U,this)}},h.add=function(d){var m=this;if(ii(this.atom_),Tl(this)){var S=Al(this,{type:So,object:this,newValue:d});if(!S)return this;d=S.newValue}if(!this.has(d)){oc(function(){m.data_.add(m.enhancer_(d,void 0)),m.atom_.reportChanged()});var A=process.env.NODE_ENV!=="production"&&Cn(),U=bu(this),D=U||A?{observableKind:"set",debugObjectName:this.name_,type:So,object:this,newValue:d}:null;A&&process.env.NODE_ENV!=="production"&&$a(D),U&&Su(this,D),A&&process.env.NODE_ENV!=="production"&&Wa()}return this},h.delete=function(d){var m=this;if(Tl(this)){var S=Al(this,{type:Im,object:this,oldValue:d});if(!S)return!1}if(this.has(d)){var A=process.env.NODE_ENV!=="production"&&Cn(),U=bu(this),D=U||A?{observableKind:"set",debugObjectName:this.name_,type:Im,object:this,oldValue:d}:null;return A&&process.env.NODE_ENV!=="production"&&$a(D),oc(function(){m.atom_.reportChanged(),m.data_.delete(d)}),U&&Su(this,D),A&&process.env.NODE_ENV!=="production"&&Wa(),!0}return!1},h.has=function(d){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(d))},h.entries=function(){var d=this.values();return n_({next:function(){var S=d.next(),A=S.value,U=S.done;return U?{value:void 0,done:U}:{value:[A,A],done:U}}})},h.keys=function(){return this.values()},h.values=function(){this.atom_.reportObserved();var d=this,m=this.data_.values();return n_({next:function(){var A=m.next(),U=A.value,D=A.done;return D?{value:void 0,done:D}:{value:d.dehanceValue_(U),done:D}}})},h.intersection=function(d){if(lc(d)&&!ci(d))return d.intersection(this);var m=new Set(this);return m.intersection(d)},h.union=function(d){if(lc(d)&&!ci(d))return d.union(this);var m=new Set(this);return m.union(d)},h.difference=function(d){return new Set(this).difference(d)},h.symmetricDifference=function(d){if(lc(d)&&!ci(d))return d.symmetricDifference(this);var m=new Set(this);return m.symmetricDifference(d)},h.isSubsetOf=function(d){return new Set(this).isSubsetOf(d)},h.isSupersetOf=function(d){return new Set(this).isSupersetOf(d)},h.isDisjointFrom=function(d){if(lc(d)&&!ci(d))return d.isDisjointFrom(this);var m=new Set(this);return m.isDisjointFrom(d)},h.replace=function(d){var m=this;return ci(d)&&(d=new Set(d)),oc(function(){Array.isArray(d)?(m.clear(),d.forEach(function(S){return m.add(S)})):lc(d)?(m.clear(),d.forEach(function(S){return m.add(S)})):d!=null&&ue("Cannot initialize set from "+d)}),this},h.observe_=function(d,m){return process.env.NODE_ENV!=="production"&&m===!0&&ue("`observe` doesn't support fireImmediately=true in combination with sets."),xp(this,d)},h.intercept_=function(d){return Up(this,d)},h.toJSON=function(){return Array.from(this)},h.toString=function(){return"[object ObservableSet]"},h[Symbol.iterator]=function(){return this.values()},Xf(r,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:Symbol.toStringTag,get:function(){return"Set"}}])})(),ci=Ls("ObservableSet",t_);function n_(r){return r[Symbol.toStringTag]="SetIterator",Ob(r)}var a_=Object.create(null),l_="remove",_b=(function(){function r(v,d,m,S){d===void 0&&(d=new Map),S===void 0&&(S=b2),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=v,this.values_=d,this.name_=m,this.defaultAnnotation_=S,this.keysAtom_=new bo(process.env.NODE_ENV!=="production"?this.name_+".keys":"ObservableObject.keys"),this.isPlainObject_=Ka(this.target_),process.env.NODE_ENV!=="production"&&!y_(this.defaultAnnotation_)&&ue("defaultAnnotation must be valid annotation"),process.env.NODE_ENV!=="production"&&(this.appliedAnnotations_={})}var h=r.prototype;return h.getObservablePropValue_=function(d){return this.values_.get(d).get()},h.setObservablePropValue_=function(d,m){var S=this.values_.get(d);if(S instanceof bl)return S.set(m),!0;if(Tl(this)){var A=Al(this,{type:_u,object:this.proxy_||this.target_,name:d,newValue:m});if(!A)return null;m=A.newValue}if(m=S.prepareNewValue_(m),m!==P.UNCHANGED){var U=bu(this),D=process.env.NODE_ENV!=="production"&&Cn(),W=U||D?{type:_u,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:S.value_,name:d,newValue:m}:null;process.env.NODE_ENV!=="production"&&D&&$a(W),S.setNewValue_(m),U&&Su(this,W),process.env.NODE_ENV!=="production"&&D&&Wa()}return!0},h.get_=function(d){return P.trackingDerivation&&!gl(this.target_,d)&&this.has_(d),this.target_[d]},h.set_=function(d,m,S){return S===void 0&&(S=!1),gl(this.target_,d)?this.values_.has(d)?this.setObservablePropValue_(d,m):S?Reflect.set(this.target_,d,m):(this.target_[d]=m,!0):this.extend_(d,{value:m,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,S)},h.has_=function(d){if(!P.trackingDerivation)return d in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var m=this.pendingKeys_.get(d);return m||(m=new Qs(d in this.target_,wm,process.env.NODE_ENV!=="production"?this.name_+"."+ab(d)+"?":"ObservableObject.key?",!1),this.pendingKeys_.set(d,m)),m.get()},h.make_=function(d,m){if(m===!0&&(m=this.defaultAnnotation_),m!==!1){if(c_(this,m,d),!(d in this.target_)){var S;if((S=this.target_[Da])!=null&&S[d])return;ue(1,m.annotationType_,this.name_+"."+d.toString())}for(var A=this.target_;A&&A!==Um;){var U=Rm(A,d);if(U){var D=m.make_(this,d,U,A);if(D===0)return;if(D===1)break}A=Object.getPrototypeOf(A)}i_(this,m,d)}},h.extend_=function(d,m,S,A){if(A===void 0&&(A=!1),S===!0&&(S=this.defaultAnnotation_),S===!1)return this.defineProperty_(d,m,A);c_(this,S,d);var U=S.extend_(this,d,m,A);return U&&i_(this,S,d),U},h.defineProperty_=function(d,m,S){S===void 0&&(S=!1),ii(this.keysAtom_);try{_l();var A=this.delete_(d);if(!A)return A;if(Tl(this)){var U=Al(this,{object:this.proxy_||this.target_,name:d,type:So,newValue:m.value});if(!U)return null;var D=U.newValue;m.value!==D&&(m=uc({},m,{value:D}))}if(S){if(!Reflect.defineProperty(this.target_,d,m))return!1}else li(this.target_,d,m);this.notifyPropertyAddition_(d,m.value)}finally{El()}return!0},h.defineObservableProperty_=function(d,m,S,A){A===void 0&&(A=!1),ii(this.keysAtom_);try{_l();var U=this.delete_(d);if(!U)return U;if(Tl(this)){var D=Al(this,{object:this.proxy_||this.target_,name:d,type:So,newValue:m});if(!D)return null;m=D.newValue}var W=u_(d),k={configurable:P.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:W.get,set:W.set};if(A){if(!Reflect.defineProperty(this.target_,d,k))return!1}else li(this.target_,d,k);var te=new Qs(m,S,process.env.NODE_ENV!=="production"?this.name_+"."+d.toString():"ObservableObject.key",!1);this.values_.set(d,te),this.notifyPropertyAddition_(d,te.value_)}finally{El()}return!0},h.defineComputedProperty_=function(d,m,S){S===void 0&&(S=!1),ii(this.keysAtom_);try{_l();var A=this.delete_(d);if(!A)return A;if(Tl(this)){var U=Al(this,{object:this.proxy_||this.target_,name:d,type:So,newValue:void 0});if(!U)return null}m.name||(m.name=process.env.NODE_ENV!=="production"?this.name_+"."+d.toString():"ObservableObject.key"),m.context=this.proxy_||this.target_;var D=u_(d),W={configurable:P.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:D.get,set:D.set};if(S){if(!Reflect.defineProperty(this.target_,d,W))return!1}else li(this.target_,d,W);this.values_.set(d,new bl(m)),this.notifyPropertyAddition_(d,void 0)}finally{El()}return!0},h.delete_=function(d,m){if(m===void 0&&(m=!1),ii(this.keysAtom_),!gl(this.target_,d))return!0;if(Tl(this)){var S=Al(this,{object:this.proxy_||this.target_,name:d,type:l_});if(!S)return null}try{var A;_l();var U=bu(this),D=process.env.NODE_ENV!=="production"&&Cn(),W=this.values_.get(d),k=void 0;if(!W&&(U||D)){var te;k=(te=Rm(this.target_,d))==null?void 0:te.value}if(m){if(!Reflect.deleteProperty(this.target_,d))return!1}else delete this.target_[d];if(process.env.NODE_ENV!=="production"&&delete this.appliedAnnotations_[d],W&&(this.values_.delete(d),W instanceof Qs&&(k=W.value_),V1(W)),this.keysAtom_.reportChanged(),(A=this.pendingKeys_)==null||(A=A.get(d))==null||A.set(d in this.target_),U||D){var ne={type:l_,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:k,name:d};process.env.NODE_ENV!=="production"&&D&&$a(ne),U&&Su(this,ne),process.env.NODE_ENV!=="production"&&D&&Wa()}}finally{El()}return!0},h.observe_=function(d,m){return process.env.NODE_ENV!=="production"&&m===!0&&ue("`observe` doesn't support the fire immediately property for observable objects."),xp(this,d)},h.intercept_=function(d){return Up(this,d)},h.notifyPropertyAddition_=function(d,m){var S,A=bu(this),U=process.env.NODE_ENV!=="production"&&Cn();if(A||U){var D=A||U?{type:So,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:d,newValue:m}:null;process.env.NODE_ENV!=="production"&&U&&$a(D),A&&Su(this,D),process.env.NODE_ENV!=="production"&&U&&Wa()}(S=this.pendingKeys_)==null||(S=S.get(d))==null||S.set(!0),this.keysAtom_.reportChanged()},h.ownKeys_=function(){return this.keysAtom_.reportObserved(),Gf(this.target_)},h.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},r})();function $s(r,h){var v;if(process.env.NODE_ENV!=="production"&&h&&kf(r)&&ue("Options can't be provided for already observable objects."),gl(r,Ae))return process.env.NODE_ENV!=="production"&&!(f_(r)instanceof _b)&&ue("Cannot convert '"+Pm(r)+`' into observable object:
|
|
275
|
+
The target is already observable of different type.
|
|
276
|
+
Extending builtins is not supported.`),r;process.env.NODE_ENV!=="production"&&!Object.isExtensible(r)&&ue("Cannot make the designated object observable; it is not extensible");var d=(v=h?.name)!=null?v:process.env.NODE_ENV!=="production"?(Ka(r)?"ObservableObject":r.constructor.name)+"@"+gu():"ObservableObject",m=new _b(r,new Map,String(d),R2(h));return Tp(r,Ae,m),r}var zA=Ls("ObservableObjectAdministration",_b);function u_(r){return a_[r]||(a_[r]={get:function(){return this[Ae].getObservablePropValue_(r)},set:function(v){return this[Ae].setObservablePropValue_(r,v)}})}function kf(r){return Cm(r)?zA(r[Ae]):!1}function i_(r,h,v){var d;process.env.NODE_ENV!=="production"&&(r.appliedAnnotations_[v]=h),(d=r.target_[Da])==null||delete d[v]}function c_(r,h,v){if(process.env.NODE_ENV!=="production"&&!y_(h)&&ue("Cannot annotate '"+r.name_+"."+v.toString()+"': Invalid annotation."),process.env.NODE_ENV!=="production"&&!Vm(h)&&gl(r.appliedAnnotations_,v)){var d=r.name_+"."+v.toString(),m=r.appliedAnnotations_[v].annotationType_,S=h.annotationType_;ue("Cannot apply '"+S+"' to '"+d+"':"+(`
|
|
277
|
+
The field is already annotated with '`+m+"'.")+`
|
|
278
|
+
Re-annotating fields is not allowed.
|
|
279
|
+
Use 'override' annotation for methods overridden by subclass.`)}}var NA=s_(0),RA=(function(){var r=!1,h={};return Object.defineProperty(h,"0",{set:function(){r=!0}}),Object.create(h)[0]=1,r===!1})(),Eb=0,o_=function(){};function UA(r,h){Object.setPrototypeOf?Object.setPrototypeOf(r.prototype,h):r.prototype.__proto__!==void 0?r.prototype.__proto__=h:r.prototype=h}UA(o_,Array.prototype);var Tb=(function(r){function h(d,m,S,A){var U;return S===void 0&&(S=process.env.NODE_ENV!=="production"?"ObservableArray@"+gu():"ObservableArray"),A===void 0&&(A=!1),U=r.call(this)||this,Eo(function(){var D=new Sb(S,m,A,!0);D.proxy_=U,h1(U,Ae,D),d&&d.length&&U.spliceWithArray(0,0,d),RA&&Object.defineProperty(U,"0",NA)}),U}m1(h,r);var v=h.prototype;return v.concat=function(){this[Ae].atom_.reportObserved();for(var m=arguments.length,S=new Array(m),A=0;A<m;A++)S[A]=arguments[A];return Array.prototype.concat.apply(this.slice(),S.map(function(U){return Fm(U)?U.slice():U}))},v[Symbol.iterator]=function(){var d=this,m=0;return Ob({next:function(){return m<d.length?{value:d[m++],done:!1}:{done:!0,value:void 0}}})},Xf(h,[{key:"length",get:function(){return this[Ae].getArrayLength_()},set:function(m){this[Ae].setArrayLength_(m)}},{key:Symbol.toStringTag,get:function(){return"Array"}}])})(o_);Object.entries(Wm).forEach(function(r){var h=r[0],v=r[1];h!=="concat"&&Tp(Tb.prototype,h,v)});function s_(r){return{enumerable:!1,configurable:!0,get:function(){return this[Ae].get_(r)},set:function(v){this[Ae].set_(r,v)}}}function xA(r){li(Tb.prototype,""+r,s_(r))}function r_(r){if(r>Eb){for(var h=Eb;h<r+100;h++)xA(h);Eb=r}}r_(1e3);function CA(r,h,v){return new Tb(r,h,v)}function $f(r,h){if(typeof r=="object"&&r!==null){if(Fm(r))return h!==void 0&&ue(23),r[Ae].atom_;if(ci(r))return r.atom_;if(_o(r)){if(h===void 0)return r.keysAtom_;var v=r.data_.get(h)||r.hasMap_.get(h);return v||ue(25,h,Pm(r)),v}if(kf(r)){if(!h)return ue(26);var d=r[Ae].values_.get(h);return d||ue(27,h,Pm(r)),d}if(ub(r)||Xm(r)||km(r))return r}else if(sn(r)&&km(r[Ae]))return r[Ae];ue(28)}function f_(r,h){if(r||ue(29),ub(r)||Xm(r)||km(r)||_o(r)||ci(r))return r;if(r[Ae])return r[Ae];ue(24,r)}function Pm(r,h){var v;if(h!==void 0)v=$f(r,h);else{if(Kf(r))return r.name;kf(r)||_o(r)||ci(r)?v=f_(r):v=$f(r)}return v.name_}function Eo(r){var h=Zs(),v=sb(!0);_l();try{return r()}finally{El(),rb(v),ic(h)}}var d_=Um.toString;function h_(r,h,v){return v===void 0&&(v=-1),Ab(r,h,v)}function Ab(r,h,v,d,m){if(r===h)return r!==0||1/r===1/h;if(r==null||h==null)return!1;if(r!==r)return h!==h;var S=typeof r;if(S!=="function"&&S!=="object"&&typeof h!="object")return!1;var A=d_.call(r);if(A!==d_.call(h))return!1;switch(A){case"[object RegExp]":case"[object String]":return""+r==""+h;case"[object Number]":return+r!=+r?+h!=+h:+r==0?1/+r===1/h:+r==+h;case"[object Date]":case"[object Boolean]":return+r==+h;case"[object Symbol]":return typeof Symbol<"u"&&Symbol.valueOf.call(r)===Symbol.valueOf.call(h);case"[object Map]":case"[object Set]":v>=0&&v++;break}r=p_(r),h=p_(h);var U=A==="[object Array]";if(!U){if(typeof r!="object"||typeof h!="object")return!1;var D=r.constructor,W=h.constructor;if(D!==W&&!(sn(D)&&D instanceof D&&sn(W)&&W instanceof W)&&"constructor"in r&&"constructor"in h)return!1}if(v===0)return!1;v<0&&(v=-1),d=d||[],m=m||[];for(var k=d.length;k--;)if(d[k]===r)return m[k]===h;if(d.push(r),m.push(h),U){if(k=r.length,k!==h.length)return!1;for(;k--;)if(!Ab(r[k],h[k],v-1,d,m))return!1}else{var te=Object.keys(r),ne=te.length;if(Object.keys(h).length!==ne)return!1;for(var ce=0;ce<ne;ce++){var fe=te[ce];if(!(gl(h,fe)&&Ab(r[fe],h[fe],v-1,d,m)))return!1}}return d.pop(),m.pop(),!0}function p_(r){return Fm(r)?r.slice():Lf(r)||_o(r)||lc(r)||ci(r)?Array.from(r.entries()):r}var v_,HA=((v_=Nm().Iterator)==null?void 0:v_.prototype)||{};function Ob(r){return r[Symbol.iterator]=BA,Object.assign(Object.create(HA),r)}function BA(){return this}function y_(r){return r instanceof Object&&typeof r.annotationType_=="string"&&sn(r.make_)&&sn(r.extend_)}if(["Symbol","Map","Set"].forEach(function(r){var h=Nm();typeof h[r]>"u"&&ue("MobX requires global '"+r+"' to be available or polyfilled")}),typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:F2,extras:{getDebugName:Pm},$mobx:Ae}),!Ie.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!SA)throw new Error("mobx-react-lite@3 requires mobx at least version 6 to be available");function wA(r){r()}function VA(r){r||(r=wA,process.env.NODE_ENV!=="production"&&console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),fA({reactionScheduler:r})}function jA(r){return J1(r)}var qA=1e4,YA=1e4,LA=(function(){function r(h){var v=this;Object.defineProperty(this,"finalize",{enumerable:!0,configurable:!0,writable:!0,value:h}),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(d){d===void 0&&(d=qA),clearTimeout(v.sweepTimeout),v.sweepTimeout=void 0;var m=Date.now();v.registrations.forEach(function(S,A){m-S.registeredAt>=d&&(v.finalize(S.value),v.registrations.delete(A))}),v.registrations.size>0&&v.scheduleSweep()}}),Object.defineProperty(this,"finalizeAllImmediately",{enumerable:!0,configurable:!0,writable:!0,value:function(){v.sweep(0)}})}return Object.defineProperty(r.prototype,"register",{enumerable:!1,configurable:!0,writable:!0,value:function(h,v,d){this.registrations.set(d,{value:v,registeredAt:Date.now()}),this.scheduleSweep()}}),Object.defineProperty(r.prototype,"unregister",{enumerable:!1,configurable:!0,writable:!0,value:function(h){this.registrations.delete(h)}}),Object.defineProperty(r.prototype,"scheduleSweep",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.sweepTimeout===void 0&&(this.sweepTimeout=setTimeout(this.sweep,YA))}}),r})(),GA=typeof FinalizationRegistry<"u"?FinalizationRegistry:LA,Db=new GA(function(r){var h;(h=r.reaction)===null||h===void 0||h.dispose(),r.reaction=null}),eg={exports:{}},Mb={};/**
|
|
280
|
+
* @license React
|
|
281
|
+
* use-sync-external-store-shim.production.js
|
|
282
|
+
*
|
|
283
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
284
|
+
*
|
|
285
|
+
* This source code is licensed under the MIT license found in the
|
|
286
|
+
* LICENSE file in the root directory of this source tree.
|
|
287
|
+
*/var m_;function XA(){if(m_)return Mb;m_=1;var r=Ie;function h(te,ne){return te===ne&&(te!==0||1/te===1/ne)||te!==te&&ne!==ne}var v=typeof Object.is=="function"?Object.is:h,d=r.useState,m=r.useEffect,S=r.useLayoutEffect,A=r.useDebugValue;function U(te,ne){var ce=ne(),fe=d({inst:{value:ce,getSnapshot:ne}}),Me=fe[0].inst,me=fe[1];return S(function(){Me.value=ce,Me.getSnapshot=ne,D(Me)&&me({inst:Me})},[te,ce,ne]),m(function(){return D(Me)&&me({inst:Me}),te(function(){D(Me)&&me({inst:Me})})},[te]),A(ce),ce}function D(te){var ne=te.getSnapshot;te=te.value;try{var ce=ne();return!v(te,ce)}catch{return!0}}function W(te,ne){return ne()}var k=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?W:U;return Mb.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:k,Mb}var zb={};/**
|
|
288
|
+
* @license React
|
|
289
|
+
* use-sync-external-store-shim.development.js
|
|
290
|
+
*
|
|
291
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
292
|
+
*
|
|
293
|
+
* This source code is licensed under the MIT license found in the
|
|
294
|
+
* LICENSE file in the root directory of this source tree.
|
|
295
|
+
*/var g_;function QA(){return g_||(g_=1,process.env.NODE_ENV!=="production"&&(function(){function r(ce,fe){return ce===fe&&(ce!==0||1/ce===1/fe)||ce!==ce&&fe!==fe}function h(ce,fe){k||m.startTransition===void 0||(k=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var Me=fe();if(!te){var me=fe();S(Me,me)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),te=!0)}me=A({inst:{value:Me,getSnapshot:fe}});var ze=me[0].inst,qt=me[1];return D(function(){ze.value=Me,ze.getSnapshot=fe,v(ze)&&qt({inst:ze})},[ce,Me,fe]),U(function(){return v(ze)&&qt({inst:ze}),ce(function(){v(ze)&&qt({inst:ze})})},[ce]),W(Me),Me}function v(ce){var fe=ce.getSnapshot;ce=ce.value;try{var Me=fe();return!S(ce,Me)}catch{return!0}}function d(ce,fe){return fe()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m=Ie,S=typeof Object.is=="function"?Object.is:r,A=m.useState,U=m.useEffect,D=m.useLayoutEffect,W=m.useDebugValue,k=!1,te=!1,ne=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:h;zb.useSyncExternalStore=m.useSyncExternalStore!==void 0?m.useSyncExternalStore:ne,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),zb}var b_;function ZA(){return b_||(b_=1,process.env.NODE_ENV==="production"?eg.exports=XA():eg.exports=QA()),eg.exports}var KA=ZA();function S_(r){r.reaction=new cc("observer".concat(r.name),function(){var h;r.stateVersion=Symbol(),(h=r.onStoreChange)===null||h===void 0||h.call(r)})}function JA(r,h){h===void 0&&(h="observed");var v=Ie.useRef(null);if(!v.current){var d={reaction:null,onStoreChange:null,stateVersion:Symbol(),name:h,subscribe:function(U){return Db.unregister(d),d.onStoreChange=U,d.reaction||(S_(d),d.stateVersion=Symbol()),function(){var D;d.onStoreChange=null,(D=d.reaction)===null||D===void 0||D.dispose(),d.reaction=null}},getSnapshot:function(){return d.stateVersion}};v.current=d}var m=v.current;m.reaction||(S_(m),Db.register(v,m,m)),Ie.useDebugValue(m.reaction,jA),KA.useSyncExternalStore(m.subscribe,m.getSnapshot,m.getSnapshot);var S,A;if(m.reaction.track(function(){try{S=r()}catch(U){A=U}}),A)throw A;return S}var Nb,Rb,kA=!0,__=!0,E_=typeof Symbol=="function"&&Symbol.for,$A=(Rb=(Nb=Object.getOwnPropertyDescriptor(function(){},"name"))===null||Nb===void 0?void 0:Nb.configurable)!==null&&Rb!==void 0?Rb:!1,T_=E_?Symbol.for("react.forward_ref"):typeof Ie.forwardRef=="function"&&Ie.forwardRef(function(r){return null}).$$typeof,A_=E_?Symbol.for("react.memo"):typeof Ie.memo=="function"&&Ie.memo(function(r){return null}).$$typeof;function Ol(r,h){var v;if(process.env.NODE_ENV,A_&&r.$$typeof===A_)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.");var d=(v=void 0)!==null&&v!==void 0?v:!1,m=r,S=r.displayName||r.name;if(T_&&r.$$typeof===T_&&(d=!0,m=r.render,typeof m!="function"))throw new Error("[mobx-react-lite] `render` property of ForwardRef was not a function");var A=function(U,D){return JA(function(){return m(U,D)},S)};return A.displayName=r.displayName,$A&&Object.defineProperty(A,"name",{value:r.name,writable:!0,configurable:!0}),r.contextTypes&&(A.contextTypes=r.contextTypes,process.env.NODE_ENV!=="production"&&__&&(__=!1,console.warn("[mobx-react-lite] Support for Legacy Context in function components will be removed in the next major release."))),d&&(A=Ie.forwardRef(A)),A=Ie.memo(A),FA(r,A),process.env.NODE_ENV!=="production"&&Object.defineProperty(A,"contextTypes",{set:function(){var U,D;throw new Error("[mobx-react-lite] `".concat(this.displayName||((U=this.type)===null||U===void 0?void 0:U.displayName)||((D=this.type)===null||D===void 0?void 0:D.name)||"Component",".contextTypes` must be set before applying `observer`."))}}),A}var WA={$$typeof:!0,render:!0,compare:!0,type:!0,displayName:!0};function FA(r,h){Object.keys(r).forEach(function(v){WA[v]||Object.defineProperty(h,v,Object.getOwnPropertyDescriptor(r,v))})}process.env.NODE_ENV;var Ub;VA(P0.unstable_batchedUpdates),Ub=Db.finalizeAllImmediately;const IA=({onClick:r,disabled:h=!1,imagePath:v})=>w.jsxs("div",{className:"buy-bonus-wrap","aria-hidden":h?"true":"false",children:[v&&w.jsx("div",{className:"bonus-thumb",role:"img","aria-label":"bonus thumbnail",style:{backgroundImage:`url(${v})`}}),w.jsx("button",{className:`buy-bonus ${h?"buy-bonus--disabled":""}`,onClick:r,disabled:h,"aria-pressed":h,children:v?"Disable":"Buy Bonus"})]}),O_=({label:r,value:h})=>w.jsxs("div",{className:"info",children:[w.jsx("span",{className:"label",children:r}),w.jsx("span",{className:"value",children:h})]}),PA=({onClick:r,disabled:h=!1,value:v,activeAnteBet:d=!1})=>w.jsxs("div",{className:`bet-amount ${h?"disabled":""}`,onClick:r,children:[w.jsx("div",{className:"bet-amount-icon"}),w.jsxs("label",{className:`bet-amount-text ${d?"ante-color":""}`,children:[v," FUN"]})]}),D_=({onClick:r,disabled:h=!1,className:v})=>w.jsx("button",{className:`${v} ${h?"disabled":""}`,onClick:r}),eO=({onClick:r,disabled:h=!1})=>w.jsx("button",{className:`spin-btn ${h?"disabled":""}`,onClick:r}),M_=({onClick:r,disabled:h=!1,className:v,isActive:d})=>w.jsx("button",{className:`${v} ${h?"disabled":""} ${d?"active":""}`,onClick:r});class tO{balance=1e4;betAmount=10;betIndex=0;lastWin=0;volume=50;betAmountRange=[10,20,50,100,500,1e3,5e3,1e4,25e3,5e5,65e3,8e4,1e5,15e4,2e5];maxBetAmount=this.betAmountRange[0];minBetAmount=this.betAmountRange[this.betAmountRange.length-1];displayCurrency="FUN";constructor(){ks(this)}setBet(h){this.betAmount=h}setNextBetAmount(){if(this.betIndex===this.betAmountRange.length-1)return console.error("Bet Index must be less than BetStore.betAmountRange.length");this.betIndex+=1,this.betAmount=this.betAmountRange[this.betIndex]}setPrevBetAmount(){if(this.betIndex<1)return console.error("Bet Index must be more than 0");this.betIndex-=1,this.betAmount=this.betAmountRange[this.betIndex]}setBetAmountRange(h){this.betAmountRange=h,h.length>0&&(this.maxBetAmount=h[0],this.minBetAmount=h[h.length-1])}setDisplayCurrency(h){this.displayCurrency=h}setBalance(h){this.balance=h}setLastWin(h){this.lastWin=h}setVolume(h){this.volume=Math.max(0,Math.min(100,h))}}const oi=new tO;class nO{activePopup=null;constructor(){ks(this)}open(h){this.activePopup=h}close(){this.activePopup=null}get isOpen(){return this.activePopup!==null}}const Dl=new nO,Tu={bet:"bet",autoplay:"autoplay",settings:"settings",history:"history",buyBonus:"buy_bonus"},aO={insufficientFunds:"insufficient funds"},z_={primary:{background:"#FBDE38",color:"#1C1B1E"},secondary:{background:"#1C1B1E",color:"#FFFFFF"}},lO=[{name:aO.insufficientFunds,title:"Insufficient Funds",imagePath:"/img_1.png",message:"Your balance is low, please make a deposit",buttons:[{text:"Back",configs:z_.secondary},{text:"Ok",configs:z_.primary}]}],xb={ante:"ante",buy:"buy"};class uO{introSkip=!1;spaceToSpin=!1;spaceToSkip=!1;isTurbo=!1;volume=50;musicOn=!0;soundsOn=!0;constructor(){ks(this)}setMusicOn(h){this.musicOn=h}setVolume(h){this.volume=h}setIsTurbo(h){this.isTurbo=h}setSoundsOn(h){this.soundsOn=h}setIntroSkip(h){this.introSkip=h}setSpaceToSpin(h){this.spaceToSpin=h}setSpaceToSkip(h){this.spaceToSkip=h}}const si=new uO;class iO{anteBets=[{title:"Ante 1",imagePath:"/img_1.png",costMultiplier:50},{title:"Ante 2",imagePath:"/img_1.png",costMultiplier:3},{title:"Ante 3",imagePath:"/img_1.png",costMultiplier:4},{title:"Ante 4",costMultiplier:4}];inReelFeatures=[{title:"ReelFeature 1",costMultiplier:500},{title:"ReelFeature 2",costMultiplier:6},{title:"ReelFeature 3",costMultiplier:7}];bonusFeatures=[{title:"Bonus 1",costMultiplier:50},{title:"Bonus 2",costMultiplier:100},{title:"Bonus 3",costMultiplier:200},{title:"Bonus 4",costMultiplier:500}];activeAnteBet=null;activeBonusFeature=null;activeInReelFeature=null;constructor(){ks(this)}setAnteBets(h){this.anteBets=h}setActiveAnteBet(h){this.activeAnteBet=h}setActiveBonusFeature(h){this.activeBonusFeature=h}setActiveInReelFeature(h){this.activeInReelFeature=h}setInReelFeatures(h){this.inReelFeatures=h}setBonusFeatures(h){this.bonusFeatures=h}get isActiveBonus(){return!!this.activeBonusFeature}get isActiveInReelFeature(){return!!this.activeInReelFeature}get isActiveAnteBet(){return!!this.activeAnteBet}}const tg=new iO,cO=Ol(()=>{const{lastWin:r,balance:h,betAmount:v,displayCurrency:d,setNextBetAmount:m,setPrevBetAmount:S}=oi,{setIsTurbo:A,isTurbo:U}=si,{open:D}=Dl,{activeAnteBet:W,activeBonusFeature:k,activeInReelFeature:te}=tg,ne=Ie.useMemo(()=>W?.imagePath||te?.imagePath||k?.imagePath,[W,k,te]);return w.jsx("div",{className:"ui-footer",children:w.jsxs("div",{className:"top-row",children:[w.jsxs("div",{className:"left-group",children:[w.jsx(IA,{imagePath:ne,onClick:D.bind(Dl,Tu.buyBonus)}),w.jsxs("div",{className:"balance-info",children:[w.jsx(O_,{label:"LAST WIN",value:`${r} ${d}`}),w.jsx(O_,{label:"BALANCE",value:`${h} ${d}`})]})]}),w.jsxs("div",{className:"bet-control",children:[w.jsx(PA,{activeAnteBet:!!W,value:v,onClick:D.bind(Dl,Tu.bet)}),w.jsxs("div",{className:"bet-box",children:[w.jsx(D_,{onClick:()=>S.call(oi),className:"bet-btn minus"}),w.jsx(eO,{onClick:()=>console.log("Spin"),state:"active"}),w.jsx(D_,{onClick:()=>m.call(oi),className:"bet-btn plus"})]}),w.jsx(M_,{className:"quick-spin",onClick:A.bind(si,!U),isActive:U}),w.jsx(M_,{className:"auto-spin",onClick:D.bind(Dl,Tu.autoplay),isActive:!1})]})]})})}),oO=({onMount:r,onUnmount:h,className:v})=>{const d=Ie.useRef(null);return Ie.useEffect(()=>(d.current&&r&&r(d.current),()=>{h?.()}),[r,h]),w.jsx("div",{ref:d,className:v,style:{width:"100%",height:"100%",position:"relative"}})};function sO(r){const h=Ie.useRef(null);return Ie.useEffect(()=>{if(typeof r!="function")return;const v=d=>{const m=h.current;if(!m)return;const S=d.target;S&&(m.contains(S)||r(d))};return document.addEventListener("mousedown",v),document.addEventListener("touchstart",v),()=>{document.removeEventListener("mousedown",v),document.removeEventListener("touchstart",v)}},[r]),h}const rO=Ol(()=>{const{volume:r,setVolume:h}=si,[v,d]=Ie.useState(!1),m=sO(()=>d(!1)),S=Ie.useCallback(()=>{v||d(!0)},[v,d]);return w.jsxs(w.Fragment,{children:[v&&w.jsxs("div",{className:"volume-control",ref:m,children:[w.jsx("input",{type:"range",min:0,max:100,value:r,onChange:A=>h.call(si,Number(A.target.value)),className:"slider","aria-label":"Volume"}),w.jsx("span",{className:"volume-value",children:r})]}),w.jsx("button",{className:`btn-sound ${r===0?"inactive":""}`,"aria-label":"Toggle Sound",onClick:S})]})}),fO=Ol(()=>{const{open:r}=Dl;return w.jsxs("div",{className:"settings-section",children:[w.jsx(rO,{}),w.jsx("button",{className:"btn-settings","aria-label":"Open Settings",onClick:r.bind(Dl,Tu.settings)})]})});class dO{dialogs=lO;activeDialog=null;constructor(){ks(this)}add(h){this.dialogs.push(h)}open(h){const v=this.dialogs.find(d=>h===d.name);v?this.activeDialog=v:console.error(`Couldn't find dialog named ${h}`)}close(){this.activeDialog=null}get isOpen(){return this.activeDialog!==null}}const ng=new dO,hO=Ol(()=>{const{betAmount:r,displayCurrency:h,setNextBetAmount:v,setPrevBetAmount:d}=oi;return w.jsxs("div",{className:"overlay-bet-controller",children:[w.jsx("div",{className:"decrease-bet",onClick:d.bind(oi)}),w.jsxs("div",{className:"bet-amount",children:[r," ",h]}),w.jsx("div",{className:"increase-bet",onClick:v.bind(oi)})]})}),pO=Ol(({children:r})=>{const h=Dl.activePopup,v=ng.activeDialog;if(!h&&!v)return null;const d=S=>{S.target===S.currentTarget&&(Dl.close(),ng.close())},m=()=>{Dl.close(),ng.close()};return w.jsxs("div",{className:`overlay ${v?"dialog":""}`,onClick:d,role:"presentation",children:[typeof h=="string"&&w.jsx("span",{className:"popup-title",children:h.toUpperCase()}),w.jsx("div",{className:"overlay-content",role:"dialog","aria-modal":"true",children:r}),!v&&w.jsx("div",{className:"overlay-close","aria-label":"Close",onClick:m,children:w.jsx("img",{src:"/assets/icons/popup-close.svg",alt:"Close"})}),h===Tu.buyBonus&&w.jsx(hO,{})]})}),N_=({value:r,onClick:h,active:v})=>w.jsx("div",{className:`rectLabel ${v?"current-active":""}`,onClick:()=>h(r),children:w.jsx("span",{children:r})}),vO=Ol(()=>{const{betAmountRange:r,setBet:h,betAmount:v}=oi;return w.jsx("div",{className:"bet-popup-container",children:r.map((d,m)=>{const S=v===d;return w.jsx(N_,{value:d,active:S,onClick:h.bind(oi,d)},m)})})});class yO{countRange=[10,25,50,70,100,500,1e3];limitsRange=[10,20,50];count=0;specialFeatureSwitcherOn=!1;lossLimit=null;winLimit=null;constructor(){ks(this)}setCount(h){this.count=h}setLimitsRange(h){this.limitsRange=h}setCountRange(h){this.countRange=h}setSpecialFeatureSwitcher(h){this.specialFeatureSwitcherOn=h}setLossLimit(h){console.log(h),this.lossLimit=h}setWinLimit(h){console.log(h),this.winLimit=h}start(){}}const Cp=new yO,ag=({checked:r,onChange:h})=>w.jsx("button",{className:`ap-toggle ${r?"ap-toggle--on":"ap-toggle--off"}`,"aria-pressed":r,onClick:()=>h(!r),type:"button",children:w.jsx("span",{className:"ap-toggle__knob"})}),Cb=({active:r,onClick:h,children:v})=>w.jsx("button",{className:`ap-limit ${r?"ap-limit--active":""}`,onClick:h,type:"button",children:v}),R_=({active:r,onClick:h,children:v})=>w.jsx("button",{className:`ap-tab ${r?"ap-tab--active":""}`,onClick:h,type:"button",children:v}),mO=({value:r,placeholder:h,inputType:v="text",className:d="",autoFocus:m=!0,onSubmit:S,onCancel:A})=>{const[U,D]=Ie.useState(""),W=Ie.useRef(null),k=Ie.useRef(!1);Ie.useEffect(()=>{D(r??""),k.current=!1},[r]),Ie.useEffect(()=>{m&&setTimeout(()=>{W.current?.focus(),W.current?.select()},0)},[m]);const te=()=>{k.current||(k.current=!0,S(U.trim()))},ne=()=>{te()},ce=fe=>{fe.key==="Enter"?(fe.preventDefault(),te(),W.current?.blur()):fe.key==="Escape"&&(D(r??""),A?.(),W.current?.blur())};return w.jsx("input",{ref:W,className:`ap-limit ${d}`,type:"number",value:U,placeholder:h,onChange:fe=>D(fe.target.value),onBlur:ne,onKeyDown:ce,inputMode:v==="number"?"numeric":void 0,"aria-label":"custom limit input"})},gO=Ol(()=>{const{specialFeatureSwitcherOn:r,setSpecialFeatureSwitcher:h,countRange:v,count:d,setCount:m,lossLimit:S,winLimit:A,setLossLimit:U,limitsRange:D,setWinLimit:W}=Cp,[k,te]=Ie.useState(0),[ne,ce]=Ie.useState(!1),[fe,Me]=Ie.useState(""),me=Ie.useMemo(()=>k?A:S,[k,A,S]),ze=Ie.useMemo(()=>k?W.bind(Cp):U.bind(Cp),[k,W,U]);Ie.useEffect(()=>{const Be=me&&!D.includes(me);Me(Be?me:0)},[me,A]);const qt=!!d&&d>0;return w.jsxs("div",{className:"autoplay-wrap",children:[w.jsx("h3",{className:"ap-title",children:"Number of spins"}),w.jsx("div",{className:"autoplay-count",children:v.map((Be,Ze)=>{const mt=d===Be;return w.jsx(N_,{value:Be,active:mt,onClick:m.bind(Cp,Be)},Ze)})}),w.jsxs("div",{className:"ap-switch-row",children:[w.jsx("div",{className:"ap-switch-label",children:"Stop on special feature WIN"}),w.jsx("div",{className:"ap-switch-control",children:w.jsx(ag,{checked:r,onChange:Be=>h.call(Cp,Be)})})]}),w.jsxs("div",{className:"ap-tabs",children:[w.jsx(R_,{active:!k,onClick:()=>te(0),children:"Loss limit"}),w.jsx(R_,{active:!!k,onClick:()=>te(1),children:"Single WIN limit"})]}),w.jsx("div",{className:"ap-limits-panel",children:w.jsx("div",{className:"ap-limits-inner",children:w.jsxs("div",{className:"ap-limit-grid",children:[D.map((Be,Ze)=>w.jsxs(Cb,{active:me===Be,onClick:()=>ze(Be),children:[Be,"X BET"]},Ze)),w.jsx(Cb,{active:!me,onClick:()=>ze(null),children:"NO LIMIT"}),ne?w.jsx(mO,{value:""+fe,inputType:"number",onSubmit:Be=>{const Ze=Be.trim();if(Ze===""){ce(!1);return}const mt=Number(Ze);Me(mt??0),ze(mt),ce(!1)},onCancel:()=>{ce(!1)}}):w.jsx(Cb,{onClick:()=>{ce(!0)},active:!!me&&me===Number(fe),children:fe?`${fe}X BET`:"CUSTOM"})]})})}),w.jsx("div",{className:"ap-start-row",children:w.jsx("button",{className:`ap-start-btn ${qt?"":"ap-start-btn--disabled"}`,onClick:()=>{},type:"button",disabled:!qt,children:"Start Autoplay"})})]})}),U_=({onClick:r,label:h,className:v})=>w.jsxs("button",{className:`sp-action ${v}`,type:"button",onClick:r,children:[w.jsx("span",{className:"sp-action__icon","aria-hidden":"true"}),w.jsx("span",{className:"sp-action__label",children:h})]}),Hp=({onToggle:r,label:h,checked:v=!1})=>w.jsxs("div",{className:"sp-row",children:[w.jsx("div",{className:"sp-switch",children:w.jsx(ag,{checked:v,onChange:()=>r(!v)})}),w.jsx("div",{className:"sp-label",children:h})]}),bO=Ol(()=>{const{introSkip:r,spaceToSkip:h,musicOn:v,soundsOn:d,spaceToSpin:m,setSpaceToSpin:S,setIntroSkip:A,setSpaceToSkip:U,setSoundsOn:D,setMusicOn:W}=si,{open:k}=Dl;return w.jsxs("div",{className:"sp-wrap",children:[w.jsxs("div",{className:"sp-actions",children:[w.jsx(U_,{onClick:k.bind(Dl,Tu.history),className:"sp-action--history",label:"History"}),w.jsx(U_,{onClick:()=>{},className:"sp-action--paytable",label:"Paytable"})]}),w.jsx("h3",{className:"sp-section-title",children:"Audio"}),w.jsxs("div",{className:"sp-rows",children:[w.jsx(Hp,{onToggle:W.bind(si),checked:v,label:"Music"}),w.jsx(Hp,{onToggle:D.bind(si),checked:d,label:"Sounds"})]}),w.jsx("h3",{className:"sp-section-title",children:"Game launch"}),w.jsx("div",{className:"sp-rows",children:w.jsx(Hp,{onToggle:A.bind(si),checked:r,label:"Skip Intro"})}),w.jsx("h3",{className:"sp-section-title",children:"Keyboard"}),w.jsxs("div",{className:"sp-rows",children:[w.jsx(Hp,{onToggle:S.bind(si),checked:m,label:"Spacebar to Spin"}),w.jsx(Hp,{onToggle:U.bind(si),checked:h,label:"Spacebar to Skip"})]})]})}),SO=({date:r,currencyCode:h,betAmount:v,winAmount:d})=>{const[m,S]=Ie.useState(!1);return w.jsxs("div",{className:`history-item ${m?"active":""}`,role:"row",children:[w.jsx("span",{className:"date-section",children:r}),w.jsxs("span",{className:"bet-section",children:[v,w.jsx("span",{className:"currency",children:h})]}),w.jsxs("span",{className:"win-section",children:[d,w.jsxs("span",{className:"currency",children:[" ",h]})]}),w.jsx("div",{className:`vector ${m?"up":"down"}`,"aria-hidden":"true",onClick:()=>S(!m)}),m&&w.jsxs("div",{className:"additional-info",children:[w.jsxs("button",{className:"additional-button replay",children:[w.jsx("div",{className:"replay-icon"}),"REPLAY"]}),w.jsx("button",{className:"additional-button",children:"LINK"})]})]})};class _O{data=[{date:"26.11.2024 00:16",betAmount:1011,winAmount:20,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:20,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:1,winAmount:2e4,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"},{date:"26.11.2024 00:16",betAmount:10,winAmount:2002,currencyCode:"USD"}];constructor(){ks(this)}setData(h){this.data=h}}const EO=new _O,TO=Ol(()=>{const{data:r}=EO;return w.jsxs("div",{className:"history-wrap",role:"list","aria-label":"History list",children:[w.jsxs("div",{className:"history-item history-item--head",role:"row",children:[w.jsx("span",{className:"date-section",children:"Date"}),w.jsx("span",{className:"bet-section",children:"Bet"}),w.jsx("span",{className:"win-section",children:"Win"})]}),r.map((h,v)=>w.jsx(SO,{date:h.date,betAmount:h.betAmount,winAmount:h.winAmount,currencyCode:h.currencyCode,id:"aa"},v))]})}),x_=Ol(({item:r,type:h,onToggle:v,onBuy:d})=>{const{betAmount:m}=oi,{activeAnteBet:S,setActiveAnteBet:A}=tg,U=r.title.split(`
|
|
296
|
+
`);return w.jsxs("div",{className:"sf-card",role:"group","aria-label":U.join(" "),children:[w.jsx("div",{className:"sf-card__title",children:U.map((D,W)=>w.jsx("span",{children:D},W))}),w.jsxs("div",{className:"sf-card__content",children:[w.jsx("div",{className:"sf-card__image-wrap",children:r.imagePath?w.jsx("img",{src:r.imagePath,alt:U[0]}):w.jsx("div",{className:"sf-card__image-placeholder"})}),r.description&&w.jsx("div",{className:"sf-card__description",children:r.description})]}),w.jsxs("div",{className:`sf-card__bottom ${h}`,children:[w.jsxs("div",{className:"sf-card__price",children:[r.costMultiplier*m," ",oi.displayCurrency]}),h==="ante"?w.jsx("div",{className:"sf-card__toggle",children:w.jsx(ag,{checked:S===r,onChange:D=>A.call(tg,D?r:null)})}):w.jsx("button",{className:"sf-buy-btn",type:"button",onClick:()=>d&&d(r.title),children:"BUY"})]})]})}),Hb=({features:r,type:h,title:v})=>w.jsxs(w.Fragment,{children:[w.jsx("h2",{className:"sf-section-title",children:v}),w.jsx("div",{className:"sf-grid",children:r.map((d,m)=>w.jsx(x_,{item:d,type:h,onToggle:()=>{}},m))})]}),AO=()=>{const r=m=>{console.log("buy",m)},{anteBets:h,inReelFeatures:v,bonusFeatures:d}=tg;return w.jsxs("div",{className:"sf-wrap",children:[h.length&&w.jsx(Hb,{features:h,type:xb.ante,title:"Ante Bets"},0),v.length&&w.jsx(Hb,{features:v,type:xb.buy,title:"Reel Features"},1),d.length&&w.jsx(Hb,{features:d,type:xb.buy,title:"Bonus"},2),w.jsx("h2",{className:"sf-section-title",children:"Bonus"}),w.jsx("div",{className:"sf-grid sf-grid--three",children:d.map((m,S)=>w.jsx(x_,{item:m,type:"buy",onBuy:r},S))})]})},OO=Ol(()=>{const{activePopup:r}=Dl;if(!r)return null;const h=Ie.useMemo(()=>{switch(r){case Tu.bet:return vO;case Tu.autoplay:return gO;case Tu.settings:return bO;case Tu.history:return TO;case Tu.buyBonus:return AO;default:return null}},[r]);return h?w.jsx(h,{}):null}),DO=({configs:r,text:h,onClick:v})=>w.jsx("button",{type:"button",className:"additional-btn",style:{"--btn-bg":r?.background??"transparent","--btn-color":r?.color??"inherit"},onClick:typeof v=="function"?v:void 0,children:h}),MO=Ol(()=>{const{activeDialog:r}=ng;return r?w.jsxs("div",{className:"dialogs-wrap","aria-live":"polite",children:[w.jsx("span",{className:"title",children:r?.title}),r?.imagePath&&w.jsx("img",{className:"dialog-image",src:r.imagePath,alt:r.title??"dialog image"}),w.jsx("span",{className:"message",children:r?.message}),r.toggle&&w.jsx(ag,{checked:r.toggle.value,onChange:()=>r.toggle?.onClick()}),w.jsx("div",{className:"additional-btns",children:r?.buttons?.map((h,v)=>w.jsx(DO,{configs:h.configs,text:h.text,onClick:h.onClick},v))})]}):null});function zO(){return w.jsxs("div",{className:"app",children:[w.jsxs("div",{className:"game-container",children:[w.jsx(oO,{}),w.jsx(fO,{}),w.jsx(cO,{})]}),w.jsxs(pO,{children:[w.jsx(OO,{}),w.jsx(MO,{})]})]})}function NO(r){r?wT.createRoot(r).render(w.jsx(Ie.StrictMode,{children:w.jsx(zO,{})})):console.error("Целевой DOM-элемент для монтирования UI не найден.")}ac.createUi=NO,Object.defineProperty(ac,Symbol.toStringTag,{value:"Module"})}));
|