sidenetai-sdk 1.0.0

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.
@@ -0,0 +1,307 @@
1
+ (function(Qa,ut){typeof exports=="object"&&typeof module<"u"?ut(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],ut):(Qa=typeof globalThis<"u"?globalThis:Qa||self,ut(Qa.SideNetAI={},Qa.React,Qa.ReactDOM))})(this,(function(Qa,ut,X2){"use strict";function OM(u){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(u){for(const d in u)if(d!=="default"){const m=Object.getOwnPropertyDescriptor(u,d);Object.defineProperty(r,d,m.get?m:{enumerable:!0,get:()=>u[d]})}}return r.default=u,Object.freeze(r)}const qe=OM(ut);function RM(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var G0={exports:{}},Sp={};/**
2
+ * @license React
3
+ * react-jsx-runtime.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 Q2;function wM(){if(Q2)return Sp;Q2=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function d(m,v,T){var b=null;if(T!==void 0&&(b=""+T),v.key!==void 0&&(b=""+v.key),"key"in v){T={};for(var A in v)A!=="key"&&(T[A]=v[A])}else T=v;return v=T.ref,{$$typeof:u,type:m,key:b,ref:v!==void 0?v:null,props:T}}return Sp.Fragment=r,Sp.jsx=d,Sp.jsxs=d,Sp}var Tp={};/**
10
+ * @license React
11
+ * react-jsx-runtime.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 Z2;function UM(){return Z2||(Z2=1,process.env.NODE_ENV!=="production"&&(function(){function u(Y){if(Y==null)return null;if(typeof Y=="function")return Y.$$typeof===Qt?null:Y.displayName||Y.name||null;if(typeof Y=="string")return Y;switch(Y){case ot:return"Fragment";case dt:return"Profiler";case nt:return"StrictMode";case bt:return"Suspense";case Dt:return"SuspenseList";case yt:return"Activity"}if(typeof Y=="object")switch(typeof Y.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),Y.$$typeof){case lt:return"Portal";case Tt:return Y.displayName||"Context";case ht:return(Y._context.displayName||"Context")+".Consumer";case St:var pt=Y.render;return Y=Y.displayName,Y||(Y=pt.displayName||pt.name||"",Y=Y!==""?"ForwardRef("+Y+")":"ForwardRef"),Y;case I:return pt=Y.displayName||null,pt!==null?pt:u(Y.type)||"Memo";case wt:pt=Y._payload,Y=Y._init;try{return u(Y(pt))}catch{}}return null}function r(Y){return""+Y}function d(Y){try{r(Y);var pt=!1}catch{pt=!0}if(pt){pt=console;var st=pt.error,ft=typeof Symbol=="function"&&Symbol.toStringTag&&Y[Symbol.toStringTag]||Y.constructor.name||"Object";return st.call(pt,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ft),r(Y)}}function m(Y){if(Y===ot)return"<>";if(typeof Y=="object"&&Y!==null&&Y.$$typeof===wt)return"<...>";try{var pt=u(Y);return pt?"<"+pt+">":"<...>"}catch{return"<...>"}}function v(){var Y=Bt.A;return Y===null?null:Y.getOwner()}function T(){return Error("react-stack-top-frame")}function b(Y){if(Vt.call(Y,"key")){var pt=Object.getOwnPropertyDescriptor(Y,"key").get;if(pt&&pt.isReactWarning)return!1}return Y.key!==void 0}function A(Y,pt){function st(){j||(j=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",pt))}st.isReactWarning=!0,Object.defineProperty(Y,"key",{get:st,configurable:!0})}function x(){var Y=u(this.type);return F[Y]||(F[Y]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),Y=this.props.ref,Y!==void 0?Y:null}function z(Y,pt,st,ft,Ht,xe){var xt=st.ref;return Y={$$typeof:X,type:Y,key:pt,props:st,_owner:ft},(xt!==void 0?xt:null)!==null?Object.defineProperty(Y,"ref",{enumerable:!1,get:x}):Object.defineProperty(Y,"ref",{enumerable:!1,value:null}),Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(Y,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(Y,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ht}),Object.defineProperty(Y,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:xe}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y}function M(Y,pt,st,ft,Ht,xe){var xt=pt.children;if(xt!==void 0)if(ft)if(Lt(xt)){for(ft=0;ft<xt.length;ft++)O(xt[ft]);Object.freeze&&Object.freeze(xt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else O(xt);if(Vt.call(pt,"key")){xt=u(Y);var be=Object.keys(pt).filter(function(Kt){return Kt!=="key"});ft=0<be.length?"{key: someKey, "+be.join(": ..., ")+": ...}":"{key: someKey}",Mt[xt+ft]||(be=0<be.length?"{"+be.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
+ let props = %s;
19
+ <%s {...props} />
20
+ React keys must be passed directly to JSX without using spread:
21
+ let props = %s;
22
+ <%s key={someKey} {...props} />`,ft,xt,be,xt),Mt[xt+ft]=!0)}if(xt=null,st!==void 0&&(d(st),xt=""+st),b(pt)&&(d(pt.key),xt=""+pt.key),"key"in pt){st={};for(var It in pt)It!=="key"&&(st[It]=pt[It])}else st=pt;return xt&&A(st,typeof Y=="function"?Y.displayName||Y.name||"Unknown":Y),z(Y,xt,st,v(),Ht,xe)}function O(Y){w(Y)?Y._store&&(Y._store.validated=1):typeof Y=="object"&&Y!==null&&Y.$$typeof===wt&&(Y._payload.status==="fulfilled"?w(Y._payload.value)&&Y._payload.value._store&&(Y._payload.value._store.validated=1):Y._store&&(Y._store.validated=1))}function w(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===X}var Q=ut,X=Symbol.for("react.transitional.element"),lt=Symbol.for("react.portal"),ot=Symbol.for("react.fragment"),nt=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),ht=Symbol.for("react.consumer"),Tt=Symbol.for("react.context"),St=Symbol.for("react.forward_ref"),bt=Symbol.for("react.suspense"),Dt=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),wt=Symbol.for("react.lazy"),yt=Symbol.for("react.activity"),Qt=Symbol.for("react.client.reference"),Bt=Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Vt=Object.prototype.hasOwnProperty,Lt=Array.isArray,Gt=console.createTask?console.createTask:function(){return null};Q={react_stack_bottom_frame:function(Y){return Y()}};var j,F={},k=Q.react_stack_bottom_frame.bind(Q,T)(),gt=Gt(m(T)),Mt={};Tp.Fragment=ot,Tp.jsx=function(Y,pt,st){var ft=1e4>Bt.recentlyCreatedOwnerStacks++;return M(Y,pt,st,!1,ft?Error("react-stack-top-frame"):k,ft?Gt(m(Y)):gt)},Tp.jsxs=function(Y,pt,st){var ft=1e4>Bt.recentlyCreatedOwnerStacks++;return M(Y,pt,st,!0,ft?Error("react-stack-top-frame"):k,ft?Gt(m(Y)):gt)}})()),Tp}var k2;function _M(){return k2||(k2=1,process.env.NODE_ENV==="production"?G0.exports=wM():G0.exports=UM()),G0.exports}var $=_M(),X0={exports:{}},Ap={},Q0={exports:{}},V1={};/**
23
+ * @license React
24
+ * scheduler.production.js
25
+ *
26
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */var J2;function NM(){return J2||(J2=1,(function(u){function r(j,F){var k=j.length;j.push(F);t:for(;0<k;){var gt=k-1>>>1,Mt=j[gt];if(0<v(Mt,F))j[gt]=F,j[k]=Mt,k=gt;else break t}}function d(j){return j.length===0?null:j[0]}function m(j){if(j.length===0)return null;var F=j[0],k=j.pop();if(k!==F){j[0]=k;t:for(var gt=0,Mt=j.length,Y=Mt>>>1;gt<Y;){var pt=2*(gt+1)-1,st=j[pt],ft=pt+1,Ht=j[ft];if(0>v(st,k))ft<Mt&&0>v(Ht,st)?(j[gt]=Ht,j[ft]=k,gt=ft):(j[gt]=st,j[pt]=k,gt=pt);else if(ft<Mt&&0>v(Ht,k))j[gt]=Ht,j[ft]=k,gt=ft;else break t}}return F}function v(j,F){var k=j.sortIndex-F.sortIndex;return k!==0?k:j.id-F.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var T=performance;u.unstable_now=function(){return T.now()}}else{var b=Date,A=b.now();u.unstable_now=function(){return b.now()-A}}var x=[],z=[],M=1,O=null,w=3,Q=!1,X=!1,lt=!1,ot=!1,nt=typeof setTimeout=="function"?setTimeout:null,dt=typeof clearTimeout=="function"?clearTimeout:null,ht=typeof setImmediate<"u"?setImmediate:null;function Tt(j){for(var F=d(z);F!==null;){if(F.callback===null)m(z);else if(F.startTime<=j)m(z),F.sortIndex=F.expirationTime,r(x,F);else break;F=d(z)}}function St(j){if(lt=!1,Tt(j),!X)if(d(x)!==null)X=!0,bt||(bt=!0,Bt());else{var F=d(z);F!==null&&Gt(St,F.startTime-j)}}var bt=!1,Dt=-1,I=5,wt=-1;function yt(){return ot?!0:!(u.unstable_now()-wt<I)}function Qt(){if(ot=!1,bt){var j=u.unstable_now();wt=j;var F=!0;try{t:{X=!1,lt&&(lt=!1,dt(Dt),Dt=-1),Q=!0;var k=w;try{e:{for(Tt(j),O=d(x);O!==null&&!(O.expirationTime>j&&yt());){var gt=O.callback;if(typeof gt=="function"){O.callback=null,w=O.priorityLevel;var Mt=gt(O.expirationTime<=j);if(j=u.unstable_now(),typeof Mt=="function"){O.callback=Mt,Tt(j),F=!0;break e}O===d(x)&&m(x),Tt(j)}else m(x);O=d(x)}if(O!==null)F=!0;else{var Y=d(z);Y!==null&&Gt(St,Y.startTime-j),F=!1}}break t}finally{O=null,w=k,Q=!1}F=void 0}}finally{F?Bt():bt=!1}}}var Bt;if(typeof ht=="function")Bt=function(){ht(Qt)};else if(typeof MessageChannel<"u"){var Vt=new MessageChannel,Lt=Vt.port2;Vt.port1.onmessage=Qt,Bt=function(){Lt.postMessage(null)}}else Bt=function(){nt(Qt,0)};function Gt(j,F){Dt=nt(function(){j(u.unstable_now())},F)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(j){j.callback=null},u.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<j?Math.floor(1e3/j):5},u.unstable_getCurrentPriorityLevel=function(){return w},u.unstable_next=function(j){switch(w){case 1:case 2:case 3:var F=3;break;default:F=w}var k=w;w=F;try{return j()}finally{w=k}},u.unstable_requestPaint=function(){ot=!0},u.unstable_runWithPriority=function(j,F){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var k=w;w=j;try{return F()}finally{w=k}},u.unstable_scheduleCallback=function(j,F,k){var gt=u.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?gt+k:gt):k=gt,j){case 1:var Mt=-1;break;case 2:Mt=250;break;case 5:Mt=1073741823;break;case 4:Mt=1e4;break;default:Mt=5e3}return Mt=k+Mt,j={id:M++,callback:F,priorityLevel:j,startTime:k,expirationTime:Mt,sortIndex:-1},k>gt?(j.sortIndex=k,r(z,j),d(x)===null&&j===d(z)&&(lt?(dt(Dt),Dt=-1):lt=!0,Gt(St,k-gt))):(j.sortIndex=Mt,r(x,j),X||Q||(X=!0,bt||(bt=!0,Bt()))),j},u.unstable_shouldYield=yt,u.unstable_wrapCallback=function(j){var F=w;return function(){var k=w;w=F;try{return j.apply(this,arguments)}finally{w=k}}}})(V1)),V1}var H1={};/**
31
+ * @license React
32
+ * scheduler.development.js
33
+ *
34
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
35
+ *
36
+ * This source code is licensed under the MIT license found in the
37
+ * LICENSE file in the root directory of this source tree.
38
+ */var K2;function jM(){return K2||(K2=1,(function(u){process.env.NODE_ENV!=="production"&&(function(){function r(){if(St=!1,wt){var j=u.unstable_now();Bt=j;var F=!0;try{t:{ht=!1,Tt&&(Tt=!1,Dt(yt),yt=-1),dt=!0;var k=nt;try{e:{for(b(j),ot=m(Q);ot!==null&&!(ot.expirationTime>j&&x());){var gt=ot.callback;if(typeof gt=="function"){ot.callback=null,nt=ot.priorityLevel;var Mt=gt(ot.expirationTime<=j);if(j=u.unstable_now(),typeof Mt=="function"){ot.callback=Mt,b(j),F=!0;break e}ot===m(Q)&&v(Q),b(j)}else v(Q);ot=m(Q)}if(ot!==null)F=!0;else{var Y=m(X);Y!==null&&z(A,Y.startTime-j),F=!1}}break t}finally{ot=null,nt=k,dt=!1}F=void 0}}finally{F?Vt():wt=!1}}}function d(j,F){var k=j.length;j.push(F);t:for(;0<k;){var gt=k-1>>>1,Mt=j[gt];if(0<T(Mt,F))j[gt]=F,j[k]=Mt,k=gt;else break t}}function m(j){return j.length===0?null:j[0]}function v(j){if(j.length===0)return null;var F=j[0],k=j.pop();if(k!==F){j[0]=k;t:for(var gt=0,Mt=j.length,Y=Mt>>>1;gt<Y;){var pt=2*(gt+1)-1,st=j[pt],ft=pt+1,Ht=j[ft];if(0>T(st,k))ft<Mt&&0>T(Ht,st)?(j[gt]=Ht,j[ft]=k,gt=ft):(j[gt]=st,j[pt]=k,gt=pt);else if(ft<Mt&&0>T(Ht,k))j[gt]=Ht,j[ft]=k,gt=ft;else break t}}return F}function T(j,F){var k=j.sortIndex-F.sortIndex;return k!==0?k:j.id-F.id}function b(j){for(var F=m(X);F!==null;){if(F.callback===null)v(X);else if(F.startTime<=j)v(X),F.sortIndex=F.expirationTime,d(Q,F);else break;F=m(X)}}function A(j){if(Tt=!1,b(j),!ht)if(m(Q)!==null)ht=!0,wt||(wt=!0,Vt());else{var F=m(X);F!==null&&z(A,F.startTime-j)}}function x(){return St?!0:!(u.unstable_now()-Bt<Qt)}function z(j,F){yt=bt(function(){j(u.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;u.unstable_now=function(){return M.now()}}else{var O=Date,w=O.now();u.unstable_now=function(){return O.now()-w}}var Q=[],X=[],lt=1,ot=null,nt=3,dt=!1,ht=!1,Tt=!1,St=!1,bt=typeof setTimeout=="function"?setTimeout:null,Dt=typeof clearTimeout=="function"?clearTimeout:null,I=typeof setImmediate<"u"?setImmediate:null,wt=!1,yt=-1,Qt=5,Bt=-1;if(typeof I=="function")var Vt=function(){I(r)};else if(typeof MessageChannel<"u"){var Lt=new MessageChannel,Gt=Lt.port2;Lt.port1.onmessage=r,Vt=function(){Gt.postMessage(null)}}else Vt=function(){bt(r,0)};u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(j){j.callback=null},u.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Qt=0<j?Math.floor(1e3/j):5},u.unstable_getCurrentPriorityLevel=function(){return nt},u.unstable_next=function(j){switch(nt){case 1:case 2:case 3:var F=3;break;default:F=nt}var k=nt;nt=F;try{return j()}finally{nt=k}},u.unstable_requestPaint=function(){St=!0},u.unstable_runWithPriority=function(j,F){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var k=nt;nt=j;try{return F()}finally{nt=k}},u.unstable_scheduleCallback=function(j,F,k){var gt=u.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?gt+k:gt):k=gt,j){case 1:var Mt=-1;break;case 2:Mt=250;break;case 5:Mt=1073741823;break;case 4:Mt=1e4;break;default:Mt=5e3}return Mt=k+Mt,j={id:lt++,callback:F,priorityLevel:j,startTime:k,expirationTime:Mt,sortIndex:-1},k>gt?(j.sortIndex=k,d(X,j),m(Q)===null&&j===m(X)&&(Tt?(Dt(yt),yt=-1):Tt=!0,z(A,k-gt))):(j.sortIndex=Mt,d(Q,j),ht||dt||(ht=!0,wt||(wt=!0,Vt()))),j},u.unstable_shouldYield=x,u.unstable_wrapCallback=function(j){var F=nt;return function(){var k=nt;nt=F;try{return j.apply(this,arguments)}finally{nt=k}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(H1)),H1}var $2;function F2(){return $2||($2=1,process.env.NODE_ENV==="production"?Q0.exports=NM():Q0.exports=jM()),Q0.exports}/**
39
+ * @license React
40
+ * react-dom-client.production.js
41
+ *
42
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
43
+ *
44
+ * This source code is licensed under the MIT license found in the
45
+ * LICENSE file in the root directory of this source tree.
46
+ */var W2;function BM(){if(W2)return Ap;W2=1;var u=F2(),r=ut,d=X2;function m(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)l+="&args[]="+encodeURIComponent(arguments[i])}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 v(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function T(n){var l=n,i=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(i=l.return),n=l.return;while(n)}return l.tag===3?i:null}function b(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 A(n){if(n.tag===31){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function x(n){if(T(n)!==n)throw Error(m(188))}function z(n){var l=n.alternate;if(!l){if(l=T(n),l===null)throw Error(m(188));return l!==n?null:n}for(var i=n,s=l;;){var h=i.return;if(h===null)break;var p=h.alternate;if(p===null){if(s=h.return,s!==null){i=s;continue}break}if(h.child===p.child){for(p=h.child;p;){if(p===i)return x(h),n;if(p===s)return x(h),l;p=p.sibling}throw Error(m(188))}if(i.return!==s.return)i=h,s=p;else{for(var S=!1,C=h.child;C;){if(C===i){S=!0,i=h,s=p;break}if(C===s){S=!0,s=h,i=p;break}C=C.sibling}if(!S){for(C=p.child;C;){if(C===i){S=!0,i=p,s=h;break}if(C===s){S=!0,s=p,i=h;break}C=C.sibling}if(!S)throw Error(m(189))}}if(i.alternate!==s)throw Error(m(190))}if(i.tag!==3)throw Error(m(188));return i.stateNode.current===i?n:l}function M(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=M(n),l!==null)return l;n=n.sibling}return null}var O=Object.assign,w=Symbol.for("react.element"),Q=Symbol.for("react.transitional.element"),X=Symbol.for("react.portal"),lt=Symbol.for("react.fragment"),ot=Symbol.for("react.strict_mode"),nt=Symbol.for("react.profiler"),dt=Symbol.for("react.consumer"),ht=Symbol.for("react.context"),Tt=Symbol.for("react.forward_ref"),St=Symbol.for("react.suspense"),bt=Symbol.for("react.suspense_list"),Dt=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),wt=Symbol.for("react.activity"),yt=Symbol.for("react.memo_cache_sentinel"),Qt=Symbol.iterator;function Bt(n){return n===null||typeof n!="object"?null:(n=Qt&&n[Qt]||n["@@iterator"],typeof n=="function"?n:null)}var Vt=Symbol.for("react.client.reference");function Lt(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Vt?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case lt:return"Fragment";case nt:return"Profiler";case ot:return"StrictMode";case St:return"Suspense";case bt:return"SuspenseList";case wt:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case X:return"Portal";case ht:return n.displayName||"Context";case dt:return(n._context.displayName||"Context")+".Consumer";case Tt:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case Dt:return l=n.displayName||null,l!==null?l:Lt(n.type)||"Memo";case I:l=n._payload,n=n._init;try{return Lt(n(l))}catch{}}return null}var Gt=Array.isArray,j=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},gt=[],Mt=-1;function Y(n){return{current:n}}function pt(n){0>Mt||(n.current=gt[Mt],gt[Mt]=null,Mt--)}function st(n,l){Mt++,gt[Mt]=n.current,n.current=l}var ft=Y(null),Ht=Y(null),xe=Y(null),xt=Y(null);function be(n,l){switch(st(xe,l),st(Ht,n),st(ft,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?zb(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=zb(l),n=Vg(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}pt(ft),st(ft,n)}function It(){pt(ft),pt(Ht),pt(xe)}function Kt(n){n.memoizedState!==null&&st(xt,n);var l=ft.current,i=Vg(l,n.type);l!==i&&(st(Ht,n),st(ft,i))}function mt(n){Ht.current===n&&(pt(ft),pt(Ht)),xt.current===n&&(pt(xt),od._currentValue=k)}var se,nn;function gi(n){if(se===void 0)try{throw Error()}catch(i){var l=i.stack.trim().match(/\n( *(at )?)/);se=l&&l[1]||"",nn=-1<i.stack.indexOf(`
47
+ at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
48
+ `+se+n+nn}var Lu=!1;function _e(n,l){if(!n||Lu)return"";Lu=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(l){var rt=function(){throw Error()};if(Object.defineProperty(rt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(rt,[])}catch(tt){var J=tt}Reflect.construct(n,[],rt)}else{try{rt.call()}catch(tt){J=tt}n.call(rt.prototype)}}else{try{throw Error()}catch(tt){J=tt}(rt=n())&&typeof rt.catch=="function"&&rt.catch(function(){})}}catch(tt){if(tt&&J&&typeof tt.stack=="string")return[tt.stack,J.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var h=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");h&&h.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var p=s.DetermineComponentFrameRoot(),S=p[0],C=p[1];if(S&&C){var N=S.split(`
49
+ `),Z=C.split(`
50
+ `);for(h=s=0;s<N.length&&!N[s].includes("DetermineComponentFrameRoot");)s++;for(;h<Z.length&&!Z[h].includes("DetermineComponentFrameRoot");)h++;if(s===N.length||h===Z.length)for(s=N.length-1,h=Z.length-1;1<=s&&0<=h&&N[s]!==Z[h];)h--;for(;1<=s&&0<=h;s--,h--)if(N[s]!==Z[h]){if(s!==1||h!==1)do if(s--,h--,0>h||N[s]!==Z[h]){var et=`
51
+ `+N[s].replace(" at new "," at ");return n.displayName&&et.includes("<anonymous>")&&(et=et.replace("<anonymous>",n.displayName)),et}while(1<=s&&0<=h);break}}}finally{Lu=!1,Error.prepareStackTrace=i}return(i=n?n.displayName||n.name:"")?gi(i):""}function Gp(n,l){switch(n.tag){case 26:case 27:case 5:return gi(n.type);case 16:return gi("Lazy");case 13:return n.child!==l&&l!==null?gi("Suspense Fallback"):gi("Suspense");case 19:return gi("SuspenseList");case 0:case 15:return _e(n.type,!1);case 11:return _e(n.type.render,!1);case 1:return _e(n.type,!0);case 31:return gi("Activity");default:return""}}function Fd(n){try{var l="",i=null;do l+=Gp(n,i),i=n,n=n.return;while(n);return l}catch(s){return`
52
+ Error generating stack: `+s.message+`
53
+ `+s.stack}}var Xp=Object.prototype.hasOwnProperty,Ye=u.unstable_scheduleCallback,Qp=u.unstable_cancelCallback,qu=u.unstable_shouldYield,Wd=u.unstable_requestPaint,In=u.unstable_now,yT=u.unstable_getCurrentPriorityLevel,Id=u.unstable_ImmediatePriority,Pd=u.unstable_UserBlockingPriority,Zo=u.unstable_NormalPriority,gT=u.unstable_LowPriority,Zp=u.unstable_IdlePriority,dv=u.log,hv=u.unstable_setDisableYieldValue,Yu=null,Na=null;function co(n){if(typeof dv=="function"&&hv(n),Na&&typeof Na.setStrictMode=="function")try{Na.setStrictMode(Yu,n)}catch{}}var ma=Math.clz32?Math.clz32:kp,mv=Math.log,pv=Math.LN2;function kp(n){return n>>>=0,n===0?32:31-(mv(n)/pv|0)|0}var fo=256,Bl=262144,ko=4194304;function vl(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:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;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 yn(n,l,i){var s=n.pendingLanes;if(s===0)return 0;var h=0,p=n.suspendedLanes,S=n.pingedLanes;n=n.warmLanes;var C=s&134217727;return C!==0?(s=C&~p,s!==0?h=vl(s):(S&=C,S!==0?h=vl(S):i||(i=C&~n,i!==0&&(h=vl(i))))):(C=s&~p,C!==0?h=vl(C):S!==0?h=vl(S):i||(i=s&~n,i!==0&&(h=vl(i)))),h===0?0:l!==0&&l!==h&&(l&p)===0&&(p=h&-h,i=l&-l,p>=i||p===32&&(i&4194048)!==0)?l:h}function Vl(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function ir(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 Gu(){var n=ko;return ko<<=1,(ko&62914560)===0&&(ko=4194304),n}function kc(n){for(var l=[],i=0;31>i;i++)l.push(n);return l}function or(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function th(n,l,i,s,h,p){var S=n.pendingLanes;n.pendingLanes=i,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=i,n.entangledLanes&=i,n.errorRecoveryDisabledLanes&=i,n.shellSuspendCounter=0;var C=n.entanglements,N=n.expirationTimes,Z=n.hiddenUpdates;for(i=S&~i;0<i;){var et=31-ma(i),rt=1<<et;C[et]=0,N[et]=-1;var J=Z[et];if(J!==null)for(Z[et]=null,et=0;et<J.length;et++){var tt=J[et];tt!==null&&(tt.lane&=-536870913)}i&=~rt}s!==0&&Jc(n,s,0),p!==0&&h===0&&n.tag!==0&&(n.suspendedLanes|=p&~(S&~l))}function Jc(n,l,i){n.pendingLanes|=l,n.suspendedLanes&=~l;var s=31-ma(l);n.entangledLanes|=l,n.entanglements[s]=n.entanglements[s]|1073741824|i&261930}function vi(n,l){var i=n.entangledLanes|=l;for(n=n.entanglements;i;){var s=31-ma(i),h=1<<s;h&l|n[s]&l&&(n[s]|=l),i&=~h}}function ka(n,l){var i=l&-l;return i=(i&42)!==0?1:eh(i),(i&(n.suspendedLanes|l))!==0?0:i}function eh(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 Jp(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function nh(){var n=F.p;return n!==0?n:(n=window.event,n===void 0?32:ud(n.type))}function Kp(n,l){var i=F.p;try{return F.p=n,l()}finally{F.p=i}}var Hl=Math.random().toString(36).slice(2),Ne="__reactFiber$"+Hl,pa="__reactProps$"+Hl,Jo="__reactContainer$"+Hl,ah="__reactEvents$"+Hl,$p="__reactListeners$"+Hl,yv="__reactHandles$"+Hl,Fp="__reactResources$"+Hl,bi="__reactMarker$"+Hl;function lh(n){delete n[Ne],delete n[pa],delete n[ah],delete n[$p],delete n[yv]}function Xu(n){var l=n[Ne];if(l)return l;for(var i=n.parentNode;i;){if(l=i[Jo]||i[Ne]){if(i=l.alternate,l.child!==null||i!==null&&i.child!==null)for(n=ii(n);n!==null;){if(i=n[Ne])return i;n=ii(n)}return l}n=i,i=n.parentNode}return null}function Qu(n){if(n=n[Ne]||n[Jo]){var l=n.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return n}return null}function ur(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(m(33))}function Zu(n){var l=n[Fp];return l||(l=n[Fp]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function ze(n){n[bi]=!0}var ku=new Set,Ko={};function $o(n,l){Si(n,l),Si(n+"Capture",l)}function Si(n,l){for(Ko[n]=l,n=0;n<l.length;n++)ku.add(l[n])}var ih=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]*$"),oh={},sr={};function rr(n){return Xp.call(sr,n)?!0:Xp.call(oh,n)?!1:ih.test(n)?sr[n]=!0:(oh[n]=!0,!1)}function cr(n,l,i){if(rr(l))if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var s=l.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+i)}}function uh(n,l,i){if(i===null)n.removeAttribute(l);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+i)}}function ho(n,l,i,s){if(s===null)n.removeAttribute(i);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttributeNS(l,i,""+s)}}function Ja(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function sh(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Wp(n,l,i){var s=Object.getOwnPropertyDescriptor(n.constructor.prototype,l);if(!n.hasOwnProperty(l)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var h=s.get,p=s.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return h.call(this)},set:function(S){i=""+S,p.call(this,S)}}),Object.defineProperty(n,l,{enumerable:s.enumerable}),{getValue:function(){return i},setValue:function(S){i=""+S},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function rh(n){if(!n._valueTracker){var l=sh(n)?"checked":"value";n._valueTracker=Wp(n,l,""+n[l])}}function Ip(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var i=l.getValue(),s="";return n&&(s=sh(n)?n.checked?"true":"false":n.value),n=s,n!==i?(l.setValue(n),!0):!1}function Kc(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 vT=/[\n"\\]/g;function Ka(n){return n.replace(vT,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function $c(n,l,i,s,h,p,S,C){n.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?n.type=S:n.removeAttribute("type"),l!=null?S==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+Ja(l)):n.value!==""+Ja(l)&&(n.value=""+Ja(l)):S!=="submit"&&S!=="reset"||n.removeAttribute("value"),l!=null?Ju(n,S,Ja(l)):i!=null?Ju(n,S,Ja(i)):s!=null&&n.removeAttribute("value"),h==null&&p!=null&&(n.defaultChecked=!!p),h!=null&&(n.checked=h&&typeof h!="function"&&typeof h!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?n.name=""+Ja(C):n.removeAttribute("name")}function Fc(n,l,i,s,h,p,S,C){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(n.type=p),l!=null||i!=null){if(!(p!=="submit"&&p!=="reset"||l!=null)){rh(n);return}i=i!=null?""+Ja(i):"",l=l!=null?""+Ja(l):i,C||l===n.value||(n.value=l),n.defaultValue=l}s=s??h,s=typeof s!="function"&&typeof s!="symbol"&&!!s,n.checked=C?n.checked:!!s,n.defaultChecked=!!s,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(n.name=S),rh(n)}function Ju(n,l,i){l==="number"&&Kc(n.ownerDocument)===n||n.defaultValue===""+i||(n.defaultValue=""+i)}function fr(n,l,i,s){if(n=n.options,l){l={};for(var h=0;h<i.length;h++)l["$"+i[h]]=!0;for(i=0;i<n.length;i++)h=l.hasOwnProperty("$"+n[i].value),n[i].selected!==h&&(n[i].selected=h),h&&s&&(n[i].defaultSelected=!0)}else{for(i=""+Ja(i),l=null,h=0;h<n.length;h++){if(n[h].value===i){n[h].selected=!0,s&&(n[h].defaultSelected=!0);return}l!==null||n[h].disabled||(l=n[h])}l!==null&&(l.selected=!0)}}function Pp(n,l,i){if(l!=null&&(l=""+Ja(l),l!==n.value&&(n.value=l),i==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=i!=null?""+Ja(i):""}function ty(n,l,i,s){if(l==null){if(s!=null){if(i!=null)throw Error(m(92));if(Gt(s)){if(1<s.length)throw Error(m(93));s=s[0]}i=s}i==null&&(i=""),l=i}i=Ja(l),n.defaultValue=i,s=n.textContent,s===i&&s!==""&&s!==null&&(n.value=s),rh(n)}function Ti(n,l){if(l){var i=n.firstChild;if(i&&i===n.lastChild&&i.nodeType===3){i.nodeValue=l;return}}n.textContent=l}var gv=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 vv(n,l,i){var s=l.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?s?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":s?n.setProperty(l,i):typeof i!="number"||i===0||gv.has(l)?l==="float"?n.cssFloat=i:n[l]=(""+i).trim():n[l]=i+"px"}function bv(n,l,i){if(l!=null&&typeof l!="object")throw Error(m(62));if(n=n.style,i!=null){for(var s in i)!i.hasOwnProperty(s)||l!=null&&l.hasOwnProperty(s)||(s.indexOf("--")===0?n.setProperty(s,""):s==="float"?n.cssFloat="":n[s]="");for(var h in l)s=l[h],l.hasOwnProperty(h)&&i[h]!==s&&vv(n,h,s)}else for(var p in l)l.hasOwnProperty(p)&&vv(n,p,l[p])}function ey(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 bT=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"]]),Wc=/^[\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 bl(n){return Wc.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Ll(){}var ch=null;function fh(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Ai=null,Ku=null;function Ic(n){var l=Qu(n);if(l&&(n=l.stateNode)){var i=n[pa]||null;t:switch(n=l.stateNode,l.type){case"input":if($c(n,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),l=i.name,i.type==="radio"&&l!=null){for(i=n;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+Ka(""+l)+'"][type="radio"]'),l=0;l<i.length;l++){var s=i[l];if(s!==n&&s.form===n.form){var h=s[pa]||null;if(!h)throw Error(m(90));$c(s,h.value,h.defaultValue,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name)}}for(l=0;l<i.length;l++)s=i[l],s.form===n.form&&Ip(s)}break t;case"textarea":Pp(n,i.value,i.defaultValue);break t;case"select":l=i.value,l!=null&&fr(n,!!i.multiple,l,!1)}}}var dr=!1;function ny(n,l,i){if(dr)return n(l,i);dr=!0;try{var s=n(l);return s}finally{if(dr=!1,(Ai!==null||Ku!==null)&&(Kr(),Ai&&(l=Ai,n=Ku,Ku=Ai=null,Ic(l),n)))for(l=0;l<n.length;l++)Ic(n[l])}}function Bn(n,l){var i=n.stateNode;if(i===null)return null;var s=i[pa]||null;if(s===null)return null;i=s[l];t:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(s=!s.disabled)||(n=n.type,s=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!s;break t;default:n=!1}if(n)return null;if(i&&typeof i!="function")throw Error(m(231,l,typeof i));return i}var mo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pc=!1;if(mo)try{var hr={};Object.defineProperty(hr,"passive",{get:function(){Pc=!0}}),window.addEventListener("test",hr,hr),window.removeEventListener("test",hr,hr)}catch{Pc=!1}var po=null,ay=null,dh=null;function ly(){if(dh)return dh;var n,l=ay,i=l.length,s,h="value"in po?po.value:po.textContent,p=h.length;for(n=0;n<i&&l[n]===h[n];n++);var S=i-n;for(s=1;s<=S&&l[i-s]===h[p-s];s++);return dh=h.slice(n,1<s?1-s:void 0)}function hh(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 tf(){return!0}function Sv(){return!1}function Pn(n){function l(i,s,h,p,S){this._reactName=i,this._targetInst=h,this.type=s,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var C in n)n.hasOwnProperty(C)&&(i=n[C],this[C]=i?i(p):p[C]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?tf:Sv,this.isPropagationStopped=Sv,this}return O(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=tf)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=tf)},persist:function(){},isPersistent:tf}),l}var Fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ef=Pn(Fo),mr=O({},Fo,{view:0,detail:0}),ST=Pn(mr),iy,oy,nf,mh=O({},mr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sl,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!==nf&&(nf&&n.type==="mousemove"?(iy=n.screenX-nf.screenX,oy=n.screenY-nf.screenY):oy=iy=0,nf=n),iy)},movementY:function(n){return"movementY"in n?n.movementY:oy}}),pr=Pn(mh),Tv=O({},mh,{dataTransfer:0}),Av=Pn(Tv),Ev=O({},mr,{relatedTarget:0}),ph=Pn(Ev),uy=O({},Fo,{animationName:0,elapsedTime:0,pseudoElement:0}),xv=Pn(uy),$u=O({},Fo,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Fu=Pn($u),ql=O({},Fo,{data:0}),Dv=Pn(ql),sy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ei={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"},Cv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yl(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=Cv[n])?!!l[n]:!1}function Sl(){return Yl}var yh=O({},mr,{key:function(n){if(n.key){var l=sy[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=hh(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Ei[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sl,charCode:function(n){return n.type==="keypress"?hh(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?hh(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),gh=Pn(yh),ry=O({},mh,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gl=Pn(ry),TT=O({},mr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sl}),Mv=Pn(TT),zv=O({},Fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),AT=Pn(zv),cy=O({},mh,{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}),ET=Pn(cy),Ov=O({},Fo,{newState:0,oldState:0}),fy=Pn(Ov),vh=[9,13,27,32],yr=mo&&"CompositionEvent"in window,Wu=null;mo&&"documentMode"in document&&(Wu=document.documentMode);var ia=mo&&"TextEvent"in window&&!Wu,dy=mo&&(!yr||Wu&&8<Wu&&11>=Wu),af=" ",Wo=!1;function bh(n,l){switch(n){case"keyup":return vh.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hy(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Iu=!1;function Rv(n,l){switch(n){case"compositionend":return hy(l);case"keypress":return l.which!==32?null:(Wo=!0,af);case"textInput":return n=l.data,n===af&&Wo?null:n;default:return null}}function xT(n,l){if(Iu)return n==="compositionend"||!yr&&bh(n,l)?(n=ly(),dh=ay=po=null,Iu=!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 dy&&l.locale!=="ko"?null:l.data;default:return null}}var my={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 xi(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!my[n.type]:l==="textarea"}function py(n,l,i,s){Ai?Ku?Ku.push(s):Ku=[s]:Ai=s,l=td(l,"onChange"),0<l.length&&(i=new ef("onChange","change",null,i,s),n.push({event:i,listeners:l}))}var Pu=null,Io=null;function ts(n){Db(n,0)}function gr(n){var l=ur(n);if(Ip(l))return n}function yy(n,l){if(n==="change")return l}var Sh=!1;if(mo){var ya;if(mo){var Xl="oninput"in document;if(!Xl){var gy=document.createElement("div");gy.setAttribute("oninput","return;"),Xl=typeof gy.oninput=="function"}ya=Xl}else ya=!1;Sh=ya&&(!document.documentMode||9<document.documentMode)}function Th(){Pu&&(Pu.detachEvent("onpropertychange",Ah),Io=Pu=null)}function Ah(n){if(n.propertyName==="value"&&gr(Io)){var l=[];py(l,Io,n,fh(n)),ny(ts,l)}}function wv(n,l,i){n==="focusin"?(Th(),Pu=l,Io=i,Pu.attachEvent("onpropertychange",Ah)):n==="focusout"&&Th()}function Uv(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return gr(Io)}function Po(n,l){if(n==="click")return gr(l)}function es(n,l){if(n==="input"||n==="change")return gr(l)}function _v(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var oa=typeof Object.is=="function"?Object.is:_v;function Tl(n,l){if(oa(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var i=Object.keys(n),s=Object.keys(l);if(i.length!==s.length)return!1;for(s=0;s<i.length;s++){var h=i[s];if(!Xp.call(l,h)||!oa(n[h],l[h]))return!1}return!0}function vy(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function by(n,l){var i=vy(n);n=0;for(var s;i;){if(i.nodeType===3){if(s=n+i.textContent.length,n<=l&&s>=l)return{node:i,offset:l-n};n=s}t:{for(;i;){if(i.nextSibling){i=i.nextSibling;break t}i=i.parentNode}i=void 0}i=vy(i)}}function ns(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?ns(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function tu(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=Kc(n.document);l instanceof n.HTMLIFrameElement;){try{var i=typeof l.contentWindow.location.href=="string"}catch{i=!1}if(i)n=l.contentWindow;else break;l=Kc(n.document)}return l}function lf(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 of=mo&&"documentMode"in document&&11>=document.documentMode,eu=null,vr=null,Al=null,Ql=!1;function Eh(n,l,i){var s=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ql||eu==null||eu!==Kc(s)||(s=eu,"selectionStart"in s&&lf(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),Al&&Tl(Al,s)||(Al=s,s=td(vr,"onSelect"),0<s.length&&(l=new ef("onSelect","select",null,l,i),n.push({event:l,listeners:s}),l.target=eu)))}function yo(n,l){var i={};return i[n.toLowerCase()]=l.toLowerCase(),i["Webkit"+n]="webkit"+l,i["Moz"+n]="moz"+l,i}var Zl={animationend:yo("Animation","AnimationEnd"),animationiteration:yo("Animation","AnimationIteration"),animationstart:yo("Animation","AnimationStart"),transitionrun:yo("Transition","TransitionRun"),transitionstart:yo("Transition","TransitionStart"),transitioncancel:yo("Transition","TransitionCancel"),transitionend:yo("Transition","TransitionEnd")},br={},nu={};mo&&(nu=document.createElement("div").style,"AnimationEvent"in window||(delete Zl.animationend.animation,delete Zl.animationiteration.animation,delete Zl.animationstart.animation),"TransitionEvent"in window||delete Zl.transitionend.transition);function De(n){if(br[n])return br[n];if(!Zl[n])return n;var l=Zl[n],i;for(i in l)if(l.hasOwnProperty(i)&&i in nu)return br[n]=l[i];return n}var uf=De("animationend"),Sy=De("animationiteration"),xh=De("animationstart"),as=De("transitionrun"),sf=De("transitionstart"),Di=De("transitioncancel"),Nv=De("transitionend"),Ci=new Map,Sr="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(" ");Sr.push("scrollEnd");function ga(n,l){Ci.set(n,l),$o(l,[n])}var ls=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)},$e=[],Vn=0,El=0;function $a(){for(var n=Vn,l=El=Vn=0;l<n;){var i=$e[l];$e[l++]=null;var s=$e[l];$e[l++]=null;var h=$e[l];$e[l++]=null;var p=$e[l];if($e[l++]=null,s!==null&&h!==null){var S=s.pending;S===null?h.next=h:(h.next=S.next,S.next=h),s.pending=h}p!==0&&Dh(i,h,p)}}function Fa(n,l,i,s){$e[Vn++]=n,$e[Vn++]=l,$e[Vn++]=i,$e[Vn++]=s,El|=s,n.lanes|=s,n=n.alternate,n!==null&&(n.lanes|=s)}function xl(n,l,i,s){return Fa(n,l,i,s),rf(n)}function go(n,l){return Fa(n,null,null,l),rf(n)}function Dh(n,l,i){n.lanes|=i;var s=n.alternate;s!==null&&(s.lanes|=i);for(var h=!1,p=n.return;p!==null;)p.childLanes|=i,s=p.alternate,s!==null&&(s.childLanes|=i),p.tag===22&&(n=p.stateNode,n===null||n._visibility&1||(h=!0)),n=p,p=p.return;return n.tag===3?(p=n.stateNode,h&&l!==null&&(h=31-ma(i),n=p.hiddenUpdates,s=n[h],s===null?n[h]=[l]:s.push(l),l.lane=i|536870912),p):null}function rf(n){if(50<Jr)throw Jr=0,Zf=null,Error(m(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var va={};function jv(n,l,i,s){this.tag=n,this.key=i,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=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function rn(n,l,i,s){return new jv(n,l,i,s)}function is(n){return n=n.prototype,!(!n||!n.isReactComponent)}function vo(n,l){var i=n.alternate;return i===null?(i=rn(n.tag,l,n.key,n.mode),i.elementType=n.elementType,i.type=n.type,i.stateNode=n.stateNode,i.alternate=n,n.alternate=i):(i.pendingProps=l,i.type=n.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=n.flags&65011712,i.childLanes=n.childLanes,i.lanes=n.lanes,i.child=n.child,i.memoizedProps=n.memoizedProps,i.memoizedState=n.memoizedState,i.updateQueue=n.updateQueue,l=n.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},i.sibling=n.sibling,i.index=n.index,i.ref=n.ref,i.refCleanup=n.refCleanup,i}function Ty(n,l){n.flags&=65011714;var i=n.alternate;return i===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=i.childLanes,n.lanes=i.lanes,n.child=i.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=i.memoizedProps,n.memoizedState=i.memoizedState,n.updateQueue=i.updateQueue,n.type=i.type,l=i.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function Ch(n,l,i,s,h,p){var S=0;if(s=n,typeof n=="function")is(n)&&(S=1);else if(typeof n=="string")S=Qg(n,i,ft.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case wt:return n=rn(31,i,l,h),n.elementType=wt,n.lanes=p,n;case lt:return bo(i.children,h,p,l);case ot:S=8,h|=24;break;case nt:return n=rn(12,i,l,h|2),n.elementType=nt,n.lanes=p,n;case St:return n=rn(13,i,l,h),n.elementType=St,n.lanes=p,n;case bt:return n=rn(19,i,l,h),n.elementType=bt,n.lanes=p,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case ht:S=10;break t;case dt:S=9;break t;case Tt:S=11;break t;case Dt:S=14;break t;case I:S=16,s=null;break t}S=29,i=Error(m(130,n===null?"null":typeof n,"")),s=null}return l=rn(S,i,l,h),l.elementType=n,l.type=s,l.lanes=p,l}function bo(n,l,i,s){return n=rn(7,n,s,l),n.lanes=i,n}function Tr(n,l,i){return n=rn(6,n,null,l),n.lanes=i,n}function Ay(n){var l=rn(18,null,null,0);return l.stateNode=n,l}function Mh(n,l,i){return l=rn(4,n.children!==null?n.children:[],n.key,l),l.lanes=i,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var Ey=new WeakMap;function Wa(n,l){if(typeof n=="object"&&n!==null){var i=Ey.get(n);return i!==void 0?i:(l={value:n,source:l,stack:Fd(l)},Ey.set(n,l),l)}return{value:n,source:l,stack:Fd(l)}}var Ia=[],os=0,cf=null,gn=0,ja=[],ba=0,kl=null,Ba=1,Jl="";function Dl(n,l){Ia[os++]=gn,Ia[os++]=cf,cf=n,gn=l}function xy(n,l,i){ja[ba++]=Ba,ja[ba++]=Jl,ja[ba++]=kl,kl=n;var s=Ba;n=Jl;var h=32-ma(s)-1;s&=~(1<<h),i+=1;var p=32-ma(l)+h;if(30<p){var S=h-h%5;p=(s&(1<<S)-1).toString(32),s>>=S,h-=S,Ba=1<<32-ma(l)+h|i<<h|s,Jl=p+n}else Ba=1<<p|i<<h|s,Jl=n}function Ar(n){n.return!==null&&(Dl(n,1),xy(n,1,0))}function zh(n){for(;n===cf;)cf=Ia[--os],Ia[os]=null,gn=Ia[--os],Ia[os]=null;for(;n===kl;)kl=ja[--ba],ja[ba]=null,Jl=ja[--ba],ja[ba]=null,Ba=ja[--ba],ja[ba]=null}function ff(n,l){ja[ba++]=Ba,ja[ba++]=Jl,ja[ba++]=kl,Ba=l.id,Jl=l.overflow,kl=n}var Hn=null,Ge=null,he=!1,Mi=null,zn=!1,zi=Error(m(519));function Cl(n){var l=Error(m(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw xr(Wa(l,n)),zi}function df(n){var l=n.stateNode,i=n.type,s=n.memoizedProps;switch(l[Ne]=n,l[pa]=s,i){case"dialog":fe("cancel",l),fe("close",l);break;case"iframe":case"object":case"embed":fe("load",l);break;case"video":case"audio":for(i=0;i<Pr.length;i++)fe(Pr[i],l);break;case"source":fe("error",l);break;case"img":case"image":case"link":fe("error",l),fe("load",l);break;case"details":fe("toggle",l);break;case"input":fe("invalid",l),Fc(l,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0);break;case"select":fe("invalid",l);break;case"textarea":fe("invalid",l),ty(l,s.value,s.defaultValue,s.children)}i=s.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||l.textContent===""+i||s.suppressHydrationWarning===!0||_g(l.textContent,i)?(s.popover!=null&&(fe("beforetoggle",l),fe("toggle",l)),s.onScroll!=null&&fe("scroll",l),s.onScrollEnd!=null&&fe("scrollend",l),s.onClick!=null&&(l.onclick=Ll),l=!0):l=!1,l||Cl(n,!0)}function Er(n){for(Hn=n.return;Hn;)switch(Hn.tag){case 5:case 31:case 13:zn=!1;return;case 27:case 3:zn=!0;return;default:Hn=Hn.return}}function Oi(n){if(n!==Hn)return!1;if(!he)return Er(n),he=!0,!1;var l=n.tag,i;if((i=l!==3&&l!==27)&&((i=l===5)&&(i=n.type,i=!(i!=="form"&&i!=="button")||ec(n.type,n.memoizedProps)),i=!i),i&&Ge&&Cl(n),Er(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(317));Ge=wm(n)}else if(l===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(317));Ge=wm(n)}else l===27?(l=Ge,li(n.type)?(n=ad,ad=null,Ge=n):Ge=l):Ge=Hn?Oa(n.stateNode.nextSibling):null;return!0}function au(){Ge=Hn=null,he=!1}function Dy(){var n=Mi;return n!==null&&(on===null?on=n:on.push.apply(on,n),Mi=null),n}function xr(n){Mi===null?Mi=[n]:Mi.push(n)}var Oh=Y(null),So=null,Kl=null;function Sa(n,l,i){st(Oh,l._currentValue),l._currentValue=i}function $l(n){n._currentValue=Oh.current,pt(Oh)}function Rh(n,l,i){for(;n!==null;){var s=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,s!==null&&(s.childLanes|=l)):s!==null&&(s.childLanes&l)!==l&&(s.childLanes|=l),n===i)break;n=n.return}}function Ri(n,l,i,s){var h=n.child;for(h!==null&&(h.return=n);h!==null;){var p=h.dependencies;if(p!==null){var S=h.child;p=p.firstContext;t:for(;p!==null;){var C=p;p=h;for(var N=0;N<l.length;N++)if(C.context===l[N]){p.lanes|=i,C=p.alternate,C!==null&&(C.lanes|=i),Rh(p.return,i,n),s||(S=null);break t}p=C.next}}else if(h.tag===18){if(S=h.return,S===null)throw Error(m(341));S.lanes|=i,p=S.alternate,p!==null&&(p.lanes|=i),Rh(S,i,n),S=null}else S=h.child;if(S!==null)S.return=h;else for(S=h;S!==null;){if(S===n){S=null;break}if(h=S.sibling,h!==null){h.return=S.return,S=h;break}S=S.return}h=S}}function Ln(n,l,i,s){n=null;for(var h=l,p=!1;h!==null;){if(!p){if((h.flags&524288)!==0)p=!0;else if((h.flags&262144)!==0)break}if(h.tag===10){var S=h.alternate;if(S===null)throw Error(m(387));if(S=S.memoizedProps,S!==null){var C=h.type;oa(h.pendingProps.value,S.value)||(n!==null?n.push(C):n=[C])}}else if(h===xt.current){if(S=h.alternate,S===null)throw Error(m(387));S.memoizedState.memoizedState!==h.memoizedState.memoizedState&&(n!==null?n.push(od):n=[od])}h=h.return}n!==null&&Ri(l,n,i,s),l.flags|=262144}function us(n){for(n=n.firstContext;n!==null;){if(!oa(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function $t(n){So=n,Kl=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function ct(n){return hf(So,n)}function To(n,l){return So===null&&$t(n),hf(n,l)}function hf(n,l){var i=l._currentValue;if(l={context:l,memoizedValue:i,next:null},Kl===null){if(n===null)throw Error(m(308));Kl=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else Kl=Kl.next=l;return i}var cn=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(i,s){n.push(s)}};this.abort=function(){l.aborted=!0,n.forEach(function(i){return i()})}},Cy=u.unstable_scheduleCallback,My=u.unstable_NormalPriority,vn={$$typeof:ht,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function mf(){return{controller:new cn,data:new Map,refCount:0}}function pf(n){n.refCount--,n.refCount===0&&Cy(My,function(){n.controller.abort()})}var ss=null,yf=0,lu=0,En=null;function Oe(n,l){if(ss===null){var i=ss=[];yf=0,lu=Em(),En={status:"pending",value:void 0,then:function(s){i.push(s)}}}return yf++,l.then(gf,gf),l}function gf(){if(--yf===0&&ss!==null){En!==null&&(En.status="fulfilled");var n=ss;ss=null,lu=0,En=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function vf(n,l){var i=[],s={status:"pending",value:null,reason:null,then:function(h){i.push(h)}};return n.then(function(){s.status="fulfilled",s.value=l;for(var h=0;h<i.length;h++)(0,i[h])(l)},function(h){for(s.status="rejected",s.reason=h,h=0;h<i.length;h++)(0,i[h])(void 0)}),s}var Ao=j.S;j.S=function(n,l){Sg=In(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Oe(n,l),Ao!==null&&Ao(n,l)};var Pa=Y(null);function tl(){var n=Pa.current;return n!==null?n:Be.pooledCache}function Dr(n,l){l===null?st(Pa,Pa.current):st(Pa,l.pool)}function rs(){var n=tl();return n===null?null:{parent:vn._currentValue,pool:n}}var iu=Error(m(460)),cs=Error(m(474)),Cr=Error(m(542)),fs={then:function(){}};function zy(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Oy(n,l,i){switch(i=n[i],i===void 0?n.push(l):i!==l&&(l.then(Ll,Ll),l=i),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,wh(n),n;default:if(typeof l.status=="string")l.then(Ll,Ll);else{if(n=Be,n!==null&&100<n.shellSuspendCounter)throw Error(m(482));n=l,n.status="pending",n.then(function(s){if(l.status==="pending"){var h=l;h.status="fulfilled",h.value=s}},function(s){if(l.status==="pending"){var h=l;h.status="rejected",h.reason=s}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,wh(n),n}throw uu=l,iu}}function ou(n){try{var l=n._init;return l(n._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(uu=i,iu):i}}var uu=null;function Ry(){if(uu===null)throw Error(m(459));var n=uu;return uu=null,n}function wh(n){if(n===iu||n===Cr)throw Error(m(483))}var su=null,ds=0;function bf(n){var l=ds;return ds+=1,su===null&&(su=[]),Oy(su,n,l)}function Mr(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Sf(n,l){throw l.$$typeof===w?Error(m(525)):(n=Object.prototype.toString.call(l),Error(m(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function Bv(n){function l(q,H){if(n){var G=q.deletions;G===null?(q.deletions=[H],q.flags|=16):G.push(H)}}function i(q,H){if(!n)return null;for(;H!==null;)l(q,H),H=H.sibling;return null}function s(q){for(var H=new Map;q!==null;)q.key!==null?H.set(q.key,q):H.set(q.index,q),q=q.sibling;return H}function h(q,H){return q=vo(q,H),q.index=0,q.sibling=null,q}function p(q,H,G){return q.index=G,n?(G=q.alternate,G!==null?(G=G.index,G<H?(q.flags|=67108866,H):G):(q.flags|=67108866,H)):(q.flags|=1048576,H)}function S(q){return n&&q.alternate===null&&(q.flags|=67108866),q}function C(q,H,G,it){return H===null||H.tag!==6?(H=Tr(G,q.mode,it),H.return=q,H):(H=h(H,G),H.return=q,H)}function N(q,H,G,it){var _t=G.type;return _t===lt?et(q,H,G.props.children,it,G.key):H!==null&&(H.elementType===_t||typeof _t=="object"&&_t!==null&&_t.$$typeof===I&&ou(_t)===H.type)?(H=h(H,G.props),Mr(H,G),H.return=q,H):(H=Ch(G.type,G.key,G.props,null,q.mode,it),Mr(H,G),H.return=q,H)}function Z(q,H,G,it){return H===null||H.tag!==4||H.stateNode.containerInfo!==G.containerInfo||H.stateNode.implementation!==G.implementation?(H=Mh(G,q.mode,it),H.return=q,H):(H=h(H,G.children||[]),H.return=q,H)}function et(q,H,G,it,_t){return H===null||H.tag!==7?(H=bo(G,q.mode,it,_t),H.return=q,H):(H=h(H,G),H.return=q,H)}function rt(q,H,G){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=Tr(""+H,q.mode,G),H.return=q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case Q:return G=Ch(H.type,H.key,H.props,null,q.mode,G),Mr(G,H),G.return=q,G;case X:return H=Mh(H,q.mode,G),H.return=q,H;case I:return H=ou(H),rt(q,H,G)}if(Gt(H)||Bt(H))return H=bo(H,q.mode,G,null),H.return=q,H;if(typeof H.then=="function")return rt(q,bf(H),G);if(H.$$typeof===ht)return rt(q,To(q,H),G);Sf(q,H)}return null}function J(q,H,G,it){var _t=H!==null?H.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return _t!==null?null:C(q,H,""+G,it);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case Q:return G.key===_t?N(q,H,G,it):null;case X:return G.key===_t?Z(q,H,G,it):null;case I:return G=ou(G),J(q,H,G,it)}if(Gt(G)||Bt(G))return _t!==null?null:et(q,H,G,it,null);if(typeof G.then=="function")return J(q,H,bf(G),it);if(G.$$typeof===ht)return J(q,H,To(q,G),it);Sf(q,G)}return null}function tt(q,H,G,it,_t){if(typeof it=="string"&&it!==""||typeof it=="number"||typeof it=="bigint")return q=q.get(G)||null,C(H,q,""+it,_t);if(typeof it=="object"&&it!==null){switch(it.$$typeof){case Q:return q=q.get(it.key===null?G:it.key)||null,N(H,q,it,_t);case X:return q=q.get(it.key===null?G:it.key)||null,Z(H,q,it,_t);case I:return it=ou(it),tt(q,H,G,it,_t)}if(Gt(it)||Bt(it))return q=q.get(G)||null,et(H,q,it,_t,null);if(typeof it.then=="function")return tt(q,H,G,bf(it),_t);if(it.$$typeof===ht)return tt(q,H,G,To(H,it),_t);Sf(H,it)}return null}function Ct(q,H,G,it){for(var _t=null,Se=null,Rt=H,Pt=H=0,ne=null;Rt!==null&&Pt<G.length;Pt++){Rt.index>Pt?(ne=Rt,Rt=null):ne=Rt.sibling;var Ee=J(q,Rt,G[Pt],it);if(Ee===null){Rt===null&&(Rt=ne);break}n&&Rt&&Ee.alternate===null&&l(q,Rt),H=p(Ee,H,Pt),Se===null?_t=Ee:Se.sibling=Ee,Se=Ee,Rt=ne}if(Pt===G.length)return i(q,Rt),he&&Dl(q,Pt),_t;if(Rt===null){for(;Pt<G.length;Pt++)Rt=rt(q,G[Pt],it),Rt!==null&&(H=p(Rt,H,Pt),Se===null?_t=Rt:Se.sibling=Rt,Se=Rt);return he&&Dl(q,Pt),_t}for(Rt=s(Rt);Pt<G.length;Pt++)ne=tt(Rt,q,Pt,G[Pt],it),ne!==null&&(n&&ne.alternate!==null&&Rt.delete(ne.key===null?Pt:ne.key),H=p(ne,H,Pt),Se===null?_t=ne:Se.sibling=ne,Se=ne);return n&&Rt.forEach(function(ui){return l(q,ui)}),he&&Dl(q,Pt),_t}function qt(q,H,G,it){if(G==null)throw Error(m(151));for(var _t=null,Se=null,Rt=H,Pt=H=0,ne=null,Ee=G.next();Rt!==null&&!Ee.done;Pt++,Ee=G.next()){Rt.index>Pt?(ne=Rt,Rt=null):ne=Rt.sibling;var ui=J(q,Rt,Ee.value,it);if(ui===null){Rt===null&&(Rt=ne);break}n&&Rt&&ui.alternate===null&&l(q,Rt),H=p(ui,H,Pt),Se===null?_t=ui:Se.sibling=ui,Se=ui,Rt=ne}if(Ee.done)return i(q,Rt),he&&Dl(q,Pt),_t;if(Rt===null){for(;!Ee.done;Pt++,Ee=G.next())Ee=rt(q,Ee.value,it),Ee!==null&&(H=p(Ee,H,Pt),Se===null?_t=Ee:Se.sibling=Ee,Se=Ee);return he&&Dl(q,Pt),_t}for(Rt=s(Rt);!Ee.done;Pt++,Ee=G.next())Ee=tt(Rt,q,Pt,Ee.value,it),Ee!==null&&(n&&Ee.alternate!==null&&Rt.delete(Ee.key===null?Pt:Ee.key),H=p(Ee,H,Pt),Se===null?_t=Ee:Se.sibling=Ee,Se=Ee);return n&&Rt.forEach(function(qb){return l(q,qb)}),he&&Dl(q,Pt),_t}function He(q,H,G,it){if(typeof G=="object"&&G!==null&&G.type===lt&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case Q:t:{for(var _t=G.key;H!==null;){if(H.key===_t){if(_t=G.type,_t===lt){if(H.tag===7){i(q,H.sibling),it=h(H,G.props.children),it.return=q,q=it;break t}}else if(H.elementType===_t||typeof _t=="object"&&_t!==null&&_t.$$typeof===I&&ou(_t)===H.type){i(q,H.sibling),it=h(H,G.props),Mr(it,G),it.return=q,q=it;break t}i(q,H);break}else l(q,H);H=H.sibling}G.type===lt?(it=bo(G.props.children,q.mode,it,G.key),it.return=q,q=it):(it=Ch(G.type,G.key,G.props,null,q.mode,it),Mr(it,G),it.return=q,q=it)}return S(q);case X:t:{for(_t=G.key;H!==null;){if(H.key===_t)if(H.tag===4&&H.stateNode.containerInfo===G.containerInfo&&H.stateNode.implementation===G.implementation){i(q,H.sibling),it=h(H,G.children||[]),it.return=q,q=it;break t}else{i(q,H);break}else l(q,H);H=H.sibling}it=Mh(G,q.mode,it),it.return=q,q=it}return S(q);case I:return G=ou(G),He(q,H,G,it)}if(Gt(G))return Ct(q,H,G,it);if(Bt(G)){if(_t=Bt(G),typeof _t!="function")throw Error(m(150));return G=_t.call(G),qt(q,H,G,it)}if(typeof G.then=="function")return He(q,H,bf(G),it);if(G.$$typeof===ht)return He(q,H,To(q,G),it);Sf(q,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,H!==null&&H.tag===6?(i(q,H.sibling),it=h(H,G),it.return=q,q=it):(i(q,H),it=Tr(G,q.mode,it),it.return=q,q=it),S(q)):i(q,H)}return function(q,H,G,it){try{ds=0;var _t=He(q,H,G,it);return su=null,_t}catch(Rt){if(Rt===iu||Rt===Cr)throw Rt;var Se=rn(29,Rt,null,q.mode);return Se.lanes=it,Se.return=q,Se}finally{}}}var ru=Bv(!0),wy=Bv(!1),Eo=!1;function Tf(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Uh(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 xo(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function el(n,l,i){var s=n.updateQueue;if(s===null)return null;if(s=s.shared,(Ae&2)!==0){var h=s.pending;return h===null?l.next=l:(l.next=h.next,h.next=l),s.pending=l,l=rf(n),Dh(n,null,i),l}return Fa(n,s,l,i),rf(n)}function cu(n,l,i){if(l=l.updateQueue,l!==null&&(l=l.shared,(i&4194048)!==0)){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,vi(n,i)}}function _h(n,l){var i=n.updateQueue,s=n.alternate;if(s!==null&&(s=s.updateQueue,i===s)){var h=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var S={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};p===null?h=p=S:p=p.next=S,i=i.next}while(i!==null);p===null?h=p=l:p=p.next=l}else h=p=l;i={baseState:s.baseState,firstBaseUpdate:h,lastBaseUpdate:p,shared:s.shared,callbacks:s.callbacks},n.updateQueue=i;return}n=i.lastBaseUpdate,n===null?i.firstBaseUpdate=l:n.next=l,i.lastBaseUpdate=l}var Uy=!1;function fu(){if(Uy){var n=En;if(n!==null)throw n}}function wi(n,l,i,s){Uy=!1;var h=n.updateQueue;Eo=!1;var p=h.firstBaseUpdate,S=h.lastBaseUpdate,C=h.shared.pending;if(C!==null){h.shared.pending=null;var N=C,Z=N.next;N.next=null,S===null?p=Z:S.next=Z,S=N;var et=n.alternate;et!==null&&(et=et.updateQueue,C=et.lastBaseUpdate,C!==S&&(C===null?et.firstBaseUpdate=Z:C.next=Z,et.lastBaseUpdate=N))}if(p!==null){var rt=h.baseState;S=0,et=Z=N=null,C=p;do{var J=C.lane&-536870913,tt=J!==C.lane;if(tt?(re&J)===J:(s&J)===J){J!==0&&J===lu&&(Uy=!0),et!==null&&(et=et.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});t:{var Ct=n,qt=C;J=l;var He=i;switch(qt.tag){case 1:if(Ct=qt.payload,typeof Ct=="function"){rt=Ct.call(He,rt,J);break t}rt=Ct;break t;case 3:Ct.flags=Ct.flags&-65537|128;case 0:if(Ct=qt.payload,J=typeof Ct=="function"?Ct.call(He,rt,J):Ct,J==null)break t;rt=O({},rt,J);break t;case 2:Eo=!0}}J=C.callback,J!==null&&(n.flags|=64,tt&&(n.flags|=8192),tt=h.callbacks,tt===null?h.callbacks=[J]:tt.push(J))}else tt={lane:J,tag:C.tag,payload:C.payload,callback:C.callback,next:null},et===null?(Z=et=tt,N=rt):et=et.next=tt,S|=J;if(C=C.next,C===null){if(C=h.shared.pending,C===null)break;tt=C,C=tt.next,tt.next=null,h.lastBaseUpdate=tt,h.shared.pending=null}}while(!0);et===null&&(N=rt),h.baseState=N,h.firstBaseUpdate=Z,h.lastBaseUpdate=et,p===null&&(h.shared.lanes=0),ni|=S,n.lanes=S,n.memoizedState=rt}}function Nh(n,l){if(typeof n!="function")throw Error(m(191,n));n.call(l)}function du(n,l){var i=n.callbacks;if(i!==null)for(n.callbacks=null,n=0;n<i.length;n++)Nh(i[n],l)}var On=Y(null),hs=Y(0);function Vv(n,l){n=ei,st(hs,n),st(On,l),ei=n|l.baseLanes}function Af(){st(hs,ei),st(On,On.current)}function zr(){ei=hs.current,pt(On),pt(hs)}var Ta=Y(null),nl=null;function Ui(n){var l=n.alternate;st(Fe,Fe.current&1),st(Ta,n),nl===null&&(l===null||On.current!==null||l.memoizedState!==null)&&(nl=n)}function Or(n){st(Fe,Fe.current),st(Ta,n),nl===null&&(nl=n)}function jh(n){n.tag===22?(st(Fe,Fe.current),st(Ta,n),nl===null&&(nl=n)):Fl()}function Fl(){st(Fe,Fe.current),st(Ta,Ta.current)}function Aa(n){pt(Ta),nl===n&&(nl=null),pt(Fe)}var Fe=Y(0);function Rr(n){for(var l=n;l!==null;){if(l.tag===13){var i=l.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Rl(i)||xu(i)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){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}var _i=0,te=null,Re=null,bn=null,ms=!1,ps=!1,Do=!1,Ef=0,wr=0,hu=null,Hv=0;function an(){throw Error(m(321))}function Co(n,l){if(l===null)return!1;for(var i=0;i<l.length&&i<n.length;i++)if(!oa(n[i],l[i]))return!1;return!0}function xf(n,l,i,s,h,p){return _i=p,te=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,j.H=n===null||n.memoizedState===null?kv:Ih,Do=!1,p=i(s,h),Do=!1,ps&&(p=Lv(l,i,s,h)),Bh(n),p}function Bh(n){j.H=_f;var l=Re!==null&&Re.next!==null;if(_i=0,bn=Re=te=null,ms=!1,wr=0,hu=null,l)throw Error(m(300));n===null||Sn||(n=n.dependencies,n!==null&&us(n)&&(Sn=!0))}function Lv(n,l,i,s){te=n;var h=0;do{if(ps&&(hu=null),wr=0,ps=!1,25<=h)throw Error(m(301));if(h+=1,bn=Re=null,n.updateQueue!=null){var p=n.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}j.H=Jv,p=l(i,s)}while(ps);return p}function DT(){var n=j.H,l=n.useState()[0];return l=typeof l.then=="function"?gs(l):l,n=n.useState()[0],(Re!==null?Re.memoizedState:null)!==n&&(te.flags|=1024),l}function Vh(){var n=Ef!==0;return Ef=0,n}function ys(n,l,i){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~i}function Df(n){if(ms){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}ms=!1}_i=0,bn=Re=te=null,ps=!1,wr=Ef=0,hu=null}function qn(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bn===null?te.memoizedState=bn=n:bn=bn.next=n,bn}function fn(){if(Re===null){var n=te.alternate;n=n!==null?n.memoizedState:null}else n=Re.next;var l=bn===null?te.memoizedState:bn.next;if(l!==null)bn=l,Re=n;else{if(n===null)throw te.alternate===null?Error(m(467)):Error(m(310));Re=n,n={memoizedState:Re.memoizedState,baseState:Re.baseState,baseQueue:Re.baseQueue,queue:Re.queue,next:null},bn===null?te.memoizedState=bn=n:bn=bn.next=n}return bn}function Cf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gs(n){var l=wr;return wr+=1,hu===null&&(hu=[]),n=Oy(hu,n,l),l=te,(bn===null?l.memoizedState:bn.next)===null&&(l=l.alternate,j.H=l===null||l.memoizedState===null?kv:Ih),n}function Ur(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return gs(n);if(n.$$typeof===ht)return ct(n)}throw Error(m(438,String(n)))}function Hh(n){var l=null,i=te.updateQueue;if(i!==null&&(l=i.memoCache),l==null){var s=te.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(l={data:s.data.map(function(h){return h.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),i===null&&(i=Cf(),te.updateQueue=i),i.memoCache=l,i=l.data[l.index],i===void 0)for(i=l.data[l.index]=Array(n),s=0;s<n;s++)i[s]=yt;return l.index++,i}function Ni(n,l){return typeof l=="function"?l(n):l}function ji(n){var l=fn();return Lh(l,Re,n)}function Lh(n,l,i){var s=n.queue;if(s===null)throw Error(m(311));s.lastRenderedReducer=i;var h=n.baseQueue,p=s.pending;if(p!==null){if(h!==null){var S=h.next;h.next=p.next,p.next=S}l.baseQueue=h=p,s.pending=null}if(p=n.baseState,h===null)n.memoizedState=p;else{l=h.next;var C=S=null,N=null,Z=l,et=!1;do{var rt=Z.lane&-536870913;if(rt!==Z.lane?(re&rt)===rt:(_i&rt)===rt){var J=Z.revertLane;if(J===0)N!==null&&(N=N.next={lane:0,revertLane:0,gesture:null,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),rt===lu&&(et=!0);else if((_i&J)===J){Z=Z.next,J===lu&&(et=!0);continue}else rt={lane:0,revertLane:Z.revertLane,gesture:null,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},N===null?(C=N=rt,S=p):N=N.next=rt,te.lanes|=J,ni|=J;rt=Z.action,Do&&i(p,rt),p=Z.hasEagerState?Z.eagerState:i(p,rt)}else J={lane:rt,revertLane:Z.revertLane,gesture:Z.gesture,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null},N===null?(C=N=J,S=p):N=N.next=J,te.lanes|=rt,ni|=rt;Z=Z.next}while(Z!==null&&Z!==l);if(N===null?S=p:N.next=C,!oa(p,n.memoizedState)&&(Sn=!0,et&&(i=En,i!==null)))throw i;n.memoizedState=p,n.baseState=S,n.baseQueue=N,s.lastRenderedState=p}return h===null&&(s.lanes=0),[n.memoizedState,s.dispatch]}function qh(n){var l=fn(),i=l.queue;if(i===null)throw Error(m(311));i.lastRenderedReducer=n;var s=i.dispatch,h=i.pending,p=l.memoizedState;if(h!==null){i.pending=null;var S=h=h.next;do p=n(p,S.action),S=S.next;while(S!==h);oa(p,l.memoizedState)||(Sn=!0),l.memoizedState=p,l.baseQueue===null&&(l.baseState=p),i.lastRenderedState=p}return[p,s]}function _y(n,l,i){var s=te,h=fn(),p=he;if(p){if(i===void 0)throw Error(m(407));i=i()}else i=l();var S=!oa((Re||h).memoizedState,i);if(S&&(h.memoizedState=i,Sn=!0),h=h.queue,Zh(Yh.bind(null,s,h,n),[n]),h.getSnapshot!==l||S||bn!==null&&bn.memoizedState.tag&1){if(s.flags|=2048,bs(9,{destroy:void 0},Ny.bind(null,s,h,i,l),null),Be===null)throw Error(m(349));p||(_i&127)!==0||Mf(s,l,i)}return i}function Mf(n,l,i){n.flags|=16384,n={getSnapshot:l,value:i},l=te.updateQueue,l===null?(l=Cf(),te.updateQueue=l,l.stores=[n]):(i=l.stores,i===null?l.stores=[n]:i.push(n))}function Ny(n,l,i,s){l.value=i,l.getSnapshot=s,Gh(l)&&Xh(n)}function Yh(n,l,i){return i(function(){Gh(l)&&Xh(n)})}function Gh(n){var l=n.getSnapshot;n=n.value;try{var i=l();return!oa(n,i)}catch{return!0}}function Xh(n){var l=go(n,2);l!==null&&za(l,n,2)}function jy(n){var l=qn();if(typeof n=="function"){var i=n;if(n=i(),Do){co(!0);try{i()}finally{co(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:n},l}function Yn(n,l,i,s){return n.baseState=i,Lh(n,Re,typeof s=="function"?s:Ni)}function qv(n,l,i,s,h){if(Uf(n))throw Error(m(485));if(n=l.action,n!==null){var p={payload:h,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){p.listeners.push(S)}};j.T!==null?i(!0):p.isTransition=!1,s(p),i=l.pending,i===null?(p.next=l.pending=p,By(l,p)):(p.next=i.next,l.pending=i.next=p)}}function By(n,l){var i=l.action,s=l.payload,h=n.state;if(l.isTransition){var p=j.T,S={};j.T=S;try{var C=i(h,s),N=j.S;N!==null&&N(S,C),Vy(n,l,C)}catch(Z){vs(n,l,Z)}finally{p!==null&&S.types!==null&&(p.types=S.types),j.T=p}}else try{p=i(h,s),Vy(n,l,p)}catch(Z){vs(n,l,Z)}}function Vy(n,l,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(s){Hy(n,l,s)},function(s){return vs(n,l,s)}):Hy(n,l,i)}function Hy(n,l,i){l.status="fulfilled",l.value=i,Ly(l),n.state=i,l=n.pending,l!==null&&(i=l.next,i===l?n.pending=null:(i=i.next,l.next=i,By(n,i)))}function vs(n,l,i){var s=n.pending;if(n.pending=null,s!==null){s=s.next;do l.status="rejected",l.reason=i,Ly(l),l=l.next;while(l!==s)}n.action=null}function Ly(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function zf(n,l){return l}function qy(n,l){if(he){var i=Be.formState;if(i!==null){t:{var s=te;if(he){if(Ge){e:{for(var h=Ge,p=zn;h.nodeType!==8;){if(!p){h=null;break e}if(h=Oa(h.nextSibling),h===null){h=null;break e}}p=h.data,h=p==="F!"||p==="F"?h:null}if(h){Ge=Oa(h.nextSibling),s=h.data==="F!";break t}}Cl(s)}s=!1}s&&(l=i[0])}}return i=qn(),i.memoizedState=i.baseState=l,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zf,lastRenderedState:l},i.queue=s,i=Fh.bind(null,te,s),s.dispatch=i,s=jy(!1),p=mu.bind(null,te,!1,s.queue),s=qn(),h={state:l,dispatch:null,action:n,pending:null},s.queue=h,i=qv.bind(null,te,h,p,i),h.dispatch=i,s.memoizedState=n,[l,i,!1]}function Yv(n){var l=fn();return Of(l,Re,n)}function Of(n,l,i){if(l=Lh(n,l,zf)[0],n=ji(Ni)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var s=gs(l)}catch(S){throw S===iu?Cr:S}else s=l;l=fn();var h=l.queue,p=h.dispatch;return i!==l.memoizedState&&(te.flags|=2048,bs(9,{destroy:void 0},Yy.bind(null,h,i),null)),[s,p,n]}function Yy(n,l){n.action=l}function Gy(n){var l=fn(),i=Re;if(i!==null)return Of(l,i,n);fn(),l=l.memoizedState,i=fn();var s=i.queue.dispatch;return i.memoizedState=n,[l,s,!1]}function bs(n,l,i,s){return n={tag:n,create:i,deps:s,inst:l,next:null},l=te.updateQueue,l===null&&(l=Cf(),te.updateQueue=l),i=l.lastEffect,i===null?l.lastEffect=n.next=n:(s=i.next,i.next=n,n.next=s,l.lastEffect=n),n}function Xy(){return fn().memoizedState}function _r(n,l,i,s){var h=qn();te.flags|=n,h.memoizedState=bs(1|l,{destroy:void 0},i,s===void 0?null:s)}function Nr(n,l,i,s){var h=fn();s=s===void 0?null:s;var p=h.memoizedState.inst;Re!==null&&s!==null&&Co(s,Re.memoizedState.deps)?h.memoizedState=bs(l,p,i,s):(te.flags|=n,h.memoizedState=bs(1|l,p,i,s))}function Qh(n,l){_r(8390656,8,n,l)}function Zh(n,l){Nr(2048,8,n,l)}function Qy(n){te.flags|=4;var l=te.updateQueue;if(l===null)l=Cf(),te.updateQueue=l,l.events=[n];else{var i=l.events;i===null?l.events=[n]:i.push(n)}}function Rf(n){var l=fn().memoizedState;return Qy({ref:l,nextImpl:n}),function(){if((Ae&2)!==0)throw Error(m(440));return l.impl.apply(void 0,arguments)}}function kh(n,l){return Nr(4,2,n,l)}function Zy(n,l){return Nr(4,4,n,l)}function Jh(n,l){if(typeof l=="function"){n=n();var i=l(n);return function(){typeof i=="function"?i():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function ky(n,l,i){i=i!=null?i.concat([n]):null,Nr(4,4,Jh.bind(null,l,n),i)}function Wl(){}function Kh(n,l){var i=fn();l=l===void 0?null:l;var s=i.memoizedState;return l!==null&&Co(l,s[1])?s[0]:(i.memoizedState=[n,l],n)}function Gv(n,l){var i=fn();l=l===void 0?null:l;var s=i.memoizedState;if(l!==null&&Co(l,s[1]))return s[0];if(s=n(),Do){co(!0);try{n()}finally{co(!1)}}return i.memoizedState=[s,l],s}function wf(n,l,i){return i===void 0||(_i&1073741824)!==0&&(re&261930)===0?n.memoizedState=l:(n.memoizedState=i,n=ab(),te.lanes|=n,ni|=n,i)}function Bi(n,l,i,s){return oa(i,l)?i:On.current!==null?(n=wf(n,i,s),oa(n,l)||(Sn=!0),n):(_i&42)===0||(_i&1073741824)!==0&&(re&261930)===0?(Sn=!0,n.memoizedState=i):(n=ab(),te.lanes|=n,ni|=n,l)}function $h(n,l,i,s,h){var p=F.p;F.p=p!==0&&8>p?p:8;var S=j.T,C={};j.T=C,mu(n,!1,l,i);try{var N=h(),Z=j.S;if(Z!==null&&Z(C,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var et=vf(N,s);Mo(n,l,et,qa(n))}else Mo(n,l,s,qa(n))}catch(rt){Mo(n,l,{then:function(){},status:"rejected",reason:rt},qa())}finally{F.p=p,S!==null&&C.types!==null&&(S.types=C.types),j.T=S}}function Xv(){}function jr(n,l,i,s){if(n.tag!==5)throw Error(m(476));var h=Br(n).queue;$h(n,h,l,k,i===null?Xv:function(){return je(n),i(s)})}function Br(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:k},next:null};var i={};return l.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ni,lastRenderedState:i},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function je(n){var l=Br(n);l.next===null&&(l=n.alternate.memoizedState),Mo(n,l.next.queue,{},qa())}function Jy(){return ct(od)}function Qv(){return fn().memoizedState}function Ky(){return fn().memoizedState}function Vi(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var i=qa();n=xo(i);var s=el(l,n,i);s!==null&&(za(s,l,i),cu(s,l,i)),l={cache:mf()},n.payload=l;return}l=l.return}}function Zv(n,l,i){var s=qa();i={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Uf(n)?Wh(l,i):(i=xl(n,l,i,s),i!==null&&(za(i,n,s),$y(i,l,s)))}function Fh(n,l,i){var s=qa();Mo(n,l,i,s)}function Mo(n,l,i,s){var h={lane:s,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Uf(n))Wh(l,h);else{var p=n.alternate;if(n.lanes===0&&(p===null||p.lanes===0)&&(p=l.lastRenderedReducer,p!==null))try{var S=l.lastRenderedState,C=p(S,i);if(h.hasEagerState=!0,h.eagerState=C,oa(C,S))return Fa(n,l,h,0),Be===null&&$a(),!1}catch{}finally{}if(i=xl(n,l,h,s),i!==null)return za(i,n,s),$y(i,l,s),!0}return!1}function mu(n,l,i,s){if(s={lane:2,revertLane:Em(),gesture:null,action:s,hasEagerState:!1,eagerState:null,next:null},Uf(n)){if(l)throw Error(m(479))}else l=xl(n,i,s,2),l!==null&&za(l,n,2)}function Uf(n){var l=n.alternate;return n===te||l!==null&&l===te}function Wh(n,l){ps=ms=!0;var i=n.pending;i===null?l.next=l:(l.next=i.next,i.next=l),n.pending=l}function $y(n,l,i){if((i&4194048)!==0){var s=l.lanes;s&=n.pendingLanes,i|=s,l.lanes=i,vi(n,i)}}var _f={readContext:ct,use:Ur,useCallback:an,useContext:an,useEffect:an,useImperativeHandle:an,useLayoutEffect:an,useInsertionEffect:an,useMemo:an,useReducer:an,useRef:an,useState:an,useDebugValue:an,useDeferredValue:an,useTransition:an,useSyncExternalStore:an,useId:an,useHostTransitionStatus:an,useFormState:an,useActionState:an,useOptimistic:an,useMemoCache:an,useCacheRefresh:an};_f.useEffectEvent=an;var kv={readContext:ct,use:Ur,useCallback:function(n,l){return qn().memoizedState=[n,l===void 0?null:l],n},useContext:ct,useEffect:Qh,useImperativeHandle:function(n,l,i){i=i!=null?i.concat([n]):null,_r(4194308,4,Jh.bind(null,l,n),i)},useLayoutEffect:function(n,l){return _r(4194308,4,n,l)},useInsertionEffect:function(n,l){_r(4,2,n,l)},useMemo:function(n,l){var i=qn();l=l===void 0?null:l;var s=n();if(Do){co(!0);try{n()}finally{co(!1)}}return i.memoizedState=[s,l],s},useReducer:function(n,l,i){var s=qn();if(i!==void 0){var h=i(l);if(Do){co(!0);try{i(l)}finally{co(!1)}}}else h=l;return s.memoizedState=s.baseState=h,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:h},s.queue=n,n=n.dispatch=Zv.bind(null,te,n),[s.memoizedState,n]},useRef:function(n){var l=qn();return n={current:n},l.memoizedState=n},useState:function(n){n=jy(n);var l=n.queue,i=Fh.bind(null,te,l);return l.dispatch=i,[n.memoizedState,i]},useDebugValue:Wl,useDeferredValue:function(n,l){var i=qn();return wf(i,n,l)},useTransition:function(){var n=jy(!1);return n=$h.bind(null,te,n.queue,!0,!1),qn().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,i){var s=te,h=qn();if(he){if(i===void 0)throw Error(m(407));i=i()}else{if(i=l(),Be===null)throw Error(m(349));(re&127)!==0||Mf(s,l,i)}h.memoizedState=i;var p={value:i,getSnapshot:l};return h.queue=p,Qh(Yh.bind(null,s,p,n),[n]),s.flags|=2048,bs(9,{destroy:void 0},Ny.bind(null,s,p,i,l),null),i},useId:function(){var n=qn(),l=Be.identifierPrefix;if(he){var i=Jl,s=Ba;i=(s&~(1<<32-ma(s)-1)).toString(32)+i,l="_"+l+"R_"+i,i=Ef++,0<i&&(l+="H"+i.toString(32)),l+="_"}else i=Hv++,l="_"+l+"r_"+i.toString(32)+"_";return n.memoizedState=l},useHostTransitionStatus:Jy,useFormState:qy,useActionState:qy,useOptimistic:function(n){var l=qn();l.memoizedState=l.baseState=n;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=i,l=mu.bind(null,te,!0,i),i.dispatch=l,[n,l]},useMemoCache:Hh,useCacheRefresh:function(){return qn().memoizedState=Vi.bind(null,te)},useEffectEvent:function(n){var l=qn(),i={impl:n};return l.memoizedState=i,function(){if((Ae&2)!==0)throw Error(m(440));return i.impl.apply(void 0,arguments)}}},Ih={readContext:ct,use:Ur,useCallback:Kh,useContext:ct,useEffect:Zh,useImperativeHandle:ky,useInsertionEffect:kh,useLayoutEffect:Zy,useMemo:Gv,useReducer:ji,useRef:Xy,useState:function(){return ji(Ni)},useDebugValue:Wl,useDeferredValue:function(n,l){var i=fn();return Bi(i,Re.memoizedState,n,l)},useTransition:function(){var n=ji(Ni)[0],l=fn().memoizedState;return[typeof n=="boolean"?n:gs(n),l]},useSyncExternalStore:_y,useId:Qv,useHostTransitionStatus:Jy,useFormState:Yv,useActionState:Yv,useOptimistic:function(n,l){var i=fn();return Yn(i,Re,n,l)},useMemoCache:Hh,useCacheRefresh:Ky};Ih.useEffectEvent=Rf;var Jv={readContext:ct,use:Ur,useCallback:Kh,useContext:ct,useEffect:Zh,useImperativeHandle:ky,useInsertionEffect:kh,useLayoutEffect:Zy,useMemo:Gv,useReducer:qh,useRef:Xy,useState:function(){return qh(Ni)},useDebugValue:Wl,useDeferredValue:function(n,l){var i=fn();return Re===null?wf(i,n,l):Bi(i,Re.memoizedState,n,l)},useTransition:function(){var n=qh(Ni)[0],l=fn().memoizedState;return[typeof n=="boolean"?n:gs(n),l]},useSyncExternalStore:_y,useId:Qv,useHostTransitionStatus:Jy,useFormState:Gy,useActionState:Gy,useOptimistic:function(n,l){var i=fn();return Re!==null?Yn(i,Re,n,l):(i.baseState=n,[n,i.queue.dispatch])},useMemoCache:Hh,useCacheRefresh:Ky};Jv.useEffectEvent=Rf;function Ss(n,l,i,s){l=n.memoizedState,i=i(s,l),i=i==null?l:O({},l,i),n.memoizedState=i,n.lanes===0&&(n.updateQueue.baseState=i)}var Ml={enqueueSetState:function(n,l,i){n=n._reactInternals;var s=qa(),h=xo(s);h.payload=l,i!=null&&(h.callback=i),l=el(n,h,s),l!==null&&(za(l,n,s),cu(l,n,s))},enqueueReplaceState:function(n,l,i){n=n._reactInternals;var s=qa(),h=xo(s);h.tag=1,h.payload=l,i!=null&&(h.callback=i),l=el(n,h,s),l!==null&&(za(l,n,s),cu(l,n,s))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var i=qa(),s=xo(i);s.tag=2,l!=null&&(s.callback=l),l=el(n,s,i),l!==null&&(za(l,n,i),cu(l,n,i))}};function Fy(n,l,i,s,h,p,S){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(s,p,S):l.prototype&&l.prototype.isPureReactComponent?!Tl(i,s)||!Tl(h,p):!0}function Kv(n,l,i,s){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(i,s),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(i,s),l.state!==n&&Ml.enqueueReplaceState(l,l.state,null)}function pu(n,l){var i=l;if("ref"in l){i={};for(var s in l)s!=="ref"&&(i[s]=l[s])}if(n=n.defaultProps){i===l&&(i=O({},i));for(var h in n)i[h]===void 0&&(i[h]=n[h])}return i}function Ph(n){ls(n)}function Wy(n){console.error(n)}function tm(n){ls(n)}function Vr(n,l){try{var i=n.onUncaughtError;i(l.value,{componentStack:l.stack})}catch(s){setTimeout(function(){throw s})}}function Nf(n,l,i){try{var s=n.onCaughtError;s(i.value,{componentStack:i.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(h){setTimeout(function(){throw h})}}function Iy(n,l,i){return i=xo(i),i.tag=3,i.payload={element:null},i.callback=function(){Vr(n,l)},i}function Py(n){return n=xo(n),n.tag=3,n}function tg(n,l,i,s){var h=i.type.getDerivedStateFromError;if(typeof h=="function"){var p=s.value;n.payload=function(){return h(p)},n.callback=function(){Nf(l,i,s)}}var S=i.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(n.callback=function(){Nf(l,i,s),typeof h!="function"&&(We===null?We=new Set([this]):We.add(this));var C=s.stack;this.componentDidCatch(s.value,{componentStack:C!==null?C:""})})}function CT(n,l,i,s,h){if(i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(l=i.alternate,l!==null&&Ln(l,i,h,!0),i=Ta.current,i!==null){switch(i.tag){case 31:case 13:return nl===null?bm():i.alternate===null&&Qe===0&&(Qe=3),i.flags&=-257,i.flags|=65536,i.lanes=h,s===fs?i.flags|=16384:(l=i.updateQueue,l===null?i.updateQueue=new Set([s]):l.add(s),Kf(n,s,h)),!1;case 22:return i.flags|=65536,s===fs?i.flags|=16384:(l=i.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([s])},i.updateQueue=l):(i=l.retryQueue,i===null?l.retryQueue=new Set([s]):i.add(s)),Kf(n,s,h)),!1}throw Error(m(435,i.tag))}return Kf(n,s,h),bm(),!1}if(he)return l=Ta.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=h,s!==zi&&(n=Error(m(422),{cause:s}),xr(Wa(n,i)))):(s!==zi&&(l=Error(m(423),{cause:s}),xr(Wa(l,i))),n=n.current.alternate,n.flags|=65536,h&=-h,n.lanes|=h,s=Wa(s,i),h=Iy(n.stateNode,s,h),_h(n,h),Qe!==4&&(Qe=2)),!1;var p=Error(m(520),{cause:s});if(p=Wa(p,i),Qf===null?Qf=[p]:Qf.push(p),Qe!==4&&(Qe=2),l===null)return!0;s=Wa(s,i),i=l;do{switch(i.tag){case 3:return i.flags|=65536,n=h&-h,i.lanes|=n,n=Iy(i.stateNode,s,n),_h(i,n),!1;case 1:if(l=i.type,p=i.stateNode,(i.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(We===null||!We.has(p))))return i.flags|=65536,h&=-h,i.lanes|=h,h=Py(h),tg(h,n,i,s),_h(i,h),!1}i=i.return}while(i!==null);return!1}var em=Error(m(461)),Sn=!1;function Je(n,l,i,s){l.child=n===null?wy(l,null,i,s):ru(l,n.child,i,s)}function eg(n,l,i,s,h){i=i.render;var p=l.ref;if("ref"in s){var S={};for(var C in s)C!=="ref"&&(S[C]=s[C])}else S=s;return $t(l),s=xf(n,l,i,S,p,h),C=Vh(),n!==null&&!Sn?(ys(n,l,h),il(n,l,h)):(he&&C&&Ar(l),l.flags|=1,Je(n,l,s,h),l.child)}function ng(n,l,i,s,h){if(n===null){var p=i.type;return typeof p=="function"&&!is(p)&&p.defaultProps===void 0&&i.compare===null?(l.tag=15,l.type=p,ag(n,l,p,s,h)):(n=Ch(i.type,null,s,l,l.mode,h),n.ref=l.ref,n.return=l,l.child=n)}if(p=n.child,!lm(n,h)){var S=p.memoizedProps;if(i=i.compare,i=i!==null?i:Tl,i(S,s)&&n.ref===l.ref)return il(n,l,h)}return l.flags|=1,n=vo(p,s),n.ref=l.ref,n.return=l,l.child=n}function ag(n,l,i,s,h){if(n!==null){var p=n.memoizedProps;if(Tl(p,s)&&n.ref===l.ref)if(Sn=!1,l.pendingProps=s=p,lm(n,h))(n.flags&131072)!==0&&(Sn=!0);else return l.lanes=n.lanes,il(n,l,h)}return nm(n,l,i,s,h)}function $v(n,l,i,s){var h=s.children,p=n!==null?n.memoizedState:null;if(n===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.mode==="hidden"){if((l.flags&128)!==0){if(p=p!==null?p.baseLanes|i:i,n!==null){for(s=l.child=n.child,h=0;s!==null;)h=h|s.lanes|s.childLanes,s=s.sibling;s=h&~p}else s=0,l.child=null;return Ea(n,l,p,i,s)}if((i&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&Dr(l,p!==null?p.cachePool:null),p!==null?Vv(l,p):Af(),jh(l);else return s=l.lanes=536870912,Ea(n,l,p!==null?p.baseLanes|i:i,i,s)}else p!==null?(Dr(l,p.cachePool),Vv(l,p),Fl(),l.memoizedState=null):(n!==null&&Dr(l,null),Af(),Fl());return Je(n,l,h,i),l.child}function yu(n,l){return n!==null&&n.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Ea(n,l,i,s,h){var p=tl();return p=p===null?null:{parent:vn._currentValue,pool:p},l.memoizedState={baseLanes:i,cachePool:p},n!==null&&Dr(l,null),Af(),jh(l),n!==null&&Ln(n,l,s,!0),l.childLanes=h,null}function jf(n,l){return l=Hf({mode:l.mode,children:l.children},n.mode),l.ref=n.ref,n.child=l,l.return=n,l}function xa(n,l,i){return ru(l,n.child,null,i),n=jf(l,l.pendingProps),n.flags|=2,Aa(l),l.memoizedState=null,n}function Fv(n,l,i){var s=l.pendingProps,h=(l.flags&128)!==0;if(l.flags&=-129,n===null){if(he){if(s.mode==="hidden")return n=jf(l,s),l.lanes=536870912,yu(null,n);if(Or(l),(n=Ge)?(n=wb(n,zn),n=n!==null&&n.data==="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:kl!==null?{id:Ba,overflow:Jl}:null,retryLane:536870912,hydrationErrors:null},i=Ay(n),i.return=l,l.child=i,Hn=l,Ge=null)):n=null,n===null)throw Cl(l);return l.lanes=536870912,null}return jf(l,s)}var p=n.memoizedState;if(p!==null){var S=p.dehydrated;if(Or(l),h)if(l.flags&256)l.flags&=-257,l=xa(n,l,i);else if(l.memoizedState!==null)l.child=n.child,l.flags|=128,l=null;else throw Error(m(558));else if(Sn||Ln(n,l,i,!1),h=(i&n.childLanes)!==0,Sn||h){if(s=Be,s!==null&&(S=ka(s,i),S!==0&&S!==p.retryLane))throw p.retryLane=S,go(n,S),za(s,n,S),em;bm(),l=xa(n,l,i)}else n=p.treeContext,Ge=Oa(S.nextSibling),Hn=l,he=!0,Mi=null,zn=!1,n!==null&&ff(l,n),l=jf(l,s),l.flags|=4096;return l}return n=vo(n.child,{mode:s.mode,children:s.children}),n.ref=l.ref,l.child=n,n.return=l,n}function al(n,l){var i=l.ref;if(i===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(m(284));(n===null||n.ref!==i)&&(l.flags|=4194816)}}function nm(n,l,i,s,h){return $t(l),i=xf(n,l,i,s,void 0,h),s=Vh(),n!==null&&!Sn?(ys(n,l,h),il(n,l,h)):(he&&s&&Ar(l),l.flags|=1,Je(n,l,i,h),l.child)}function gu(n,l,i,s,h,p){return $t(l),l.updateQueue=null,i=Lv(l,s,i,h),Bh(n),s=Vh(),n!==null&&!Sn?(ys(n,l,p),il(n,l,p)):(he&&s&&Ar(l),l.flags|=1,Je(n,l,i,p),l.child)}function lg(n,l,i,s,h){if($t(l),l.stateNode===null){var p=va,S=i.contextType;typeof S=="object"&&S!==null&&(p=ct(S)),p=new i(s,p),l.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=Ml,l.stateNode=p,p._reactInternals=l,p=l.stateNode,p.props=s,p.state=l.memoizedState,p.refs={},Tf(l),S=i.contextType,p.context=typeof S=="object"&&S!==null?ct(S):va,p.state=l.memoizedState,S=i.getDerivedStateFromProps,typeof S=="function"&&(Ss(l,i,S,s),p.state=l.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&Ml.enqueueReplaceState(p,p.state,null),wi(l,s,p,h),fu(),p.state=l.memoizedState),typeof p.componentDidMount=="function"&&(l.flags|=4194308),s=!0}else if(n===null){p=l.stateNode;var C=l.memoizedProps,N=pu(i,C);p.props=N;var Z=p.context,et=i.contextType;S=va,typeof et=="object"&&et!==null&&(S=ct(et));var rt=i.getDerivedStateFromProps;et=typeof rt=="function"||typeof p.getSnapshotBeforeUpdate=="function",C=l.pendingProps!==C,et||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(C||Z!==S)&&Kv(l,p,s,S),Eo=!1;var J=l.memoizedState;p.state=J,wi(l,s,p,h),fu(),Z=l.memoizedState,C||J!==Z||Eo?(typeof rt=="function"&&(Ss(l,i,rt,s),Z=l.memoizedState),(N=Eo||Fy(l,i,N,s,J,Z,S))?(et||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=s,l.memoizedState=Z),p.props=s,p.state=Z,p.context=S,s=N):(typeof p.componentDidMount=="function"&&(l.flags|=4194308),s=!1)}else{p=l.stateNode,Uh(n,l),S=l.memoizedProps,et=pu(i,S),p.props=et,rt=l.pendingProps,J=p.context,Z=i.contextType,N=va,typeof Z=="object"&&Z!==null&&(N=ct(Z)),C=i.getDerivedStateFromProps,(Z=typeof C=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(S!==rt||J!==N)&&Kv(l,p,s,N),Eo=!1,J=l.memoizedState,p.state=J,wi(l,s,p,h),fu();var tt=l.memoizedState;S!==rt||J!==tt||Eo||n!==null&&n.dependencies!==null&&us(n.dependencies)?(typeof C=="function"&&(Ss(l,i,C,s),tt=l.memoizedState),(et=Eo||Fy(l,i,et,s,J,tt,N)||n!==null&&n.dependencies!==null&&us(n.dependencies))?(Z||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(s,tt,N),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(s,tt,N)),typeof p.componentDidUpdate=="function"&&(l.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof p.componentDidUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=1024),l.memoizedProps=s,l.memoizedState=tt),p.props=s,p.state=tt,p.context=N,s=et):(typeof p.componentDidUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===n.memoizedProps&&J===n.memoizedState||(l.flags|=1024),s=!1)}return p=s,al(n,l),s=(l.flags&128)!==0,p||s?(p=l.stateNode,i=s&&typeof i.getDerivedStateFromError!="function"?null:p.render(),l.flags|=1,n!==null&&s?(l.child=ru(l,n.child,null,h),l.child=ru(l,null,i,h)):Je(n,l,i,h),l.memoizedState=p.state,n=l.child):n=il(n,l,h),n}function Il(n,l,i,s){return au(),l.flags|=256,Je(n,l,i,s),l.child}var Bf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Vf(n){return{baseLanes:n,cachePool:rs()}}function ll(n,l,i){return n=n!==null?n.childLanes&~i:0,l&&(n|=Ma),n}function ig(n,l,i){var s=l.pendingProps,h=!1,p=(l.flags&128)!==0,S;if((S=p)||(S=n!==null&&n.memoizedState===null?!1:(Fe.current&2)!==0),S&&(h=!0,l.flags&=-129),S=(l.flags&32)!==0,l.flags&=-33,n===null){if(he){if(h?Ui(l):Fl(),(n=Ge)?(n=wb(n,zn),n=n!==null&&n.data!=="&"?n:null,n!==null&&(l.memoizedState={dehydrated:n,treeContext:kl!==null?{id:Ba,overflow:Jl}:null,retryLane:536870912,hydrationErrors:null},i=Ay(n),i.return=l,l.child=i,Hn=l,Ge=null)):n=null,n===null)throw Cl(l);return xu(n)?l.lanes=32:l.lanes=536870912,null}var C=s.children;return s=s.fallback,h?(Fl(),h=l.mode,C=Hf({mode:"hidden",children:C},h),s=bo(s,h,i,null),C.return=l,s.return=l,C.sibling=s,l.child=C,s=l.child,s.memoizedState=Vf(i),s.childLanes=ll(n,S,i),l.memoizedState=Bf,yu(null,s)):(Ui(l),vu(l,C))}var N=n.memoizedState;if(N!==null&&(C=N.dehydrated,C!==null)){if(p)l.flags&256?(Ui(l),l.flags&=-257,l=Ts(n,l,i)):l.memoizedState!==null?(Fl(),l.child=n.child,l.flags|=128,l=null):(Fl(),C=s.fallback,h=l.mode,s=Hf({mode:"visible",children:s.children},h),C=bo(C,h,i,null),C.flags|=2,s.return=l,C.return=l,s.sibling=C,l.child=s,ru(l,n.child,null,i),s=l.child,s.memoizedState=Vf(i),s.childLanes=ll(n,S,i),l.memoizedState=Bf,l=yu(null,s));else if(Ui(l),xu(C)){if(S=C.nextSibling&&C.nextSibling.dataset,S)var Z=S.dgst;S=Z,s=Error(m(419)),s.stack="",s.digest=S,xr({value:s,source:null,stack:null}),l=Ts(n,l,i)}else if(Sn||Ln(n,l,i,!1),S=(i&n.childLanes)!==0,Sn||S){if(S=Be,S!==null&&(s=ka(S,i),s!==0&&s!==N.retryLane))throw N.retryLane=s,go(n,s),za(S,n,s),em;Rl(C)||bm(),l=Ts(n,l,i)}else Rl(C)?(l.flags|=192,l.child=n.child,l=null):(n=N.treeContext,Ge=Oa(C.nextSibling),Hn=l,he=!0,Mi=null,zn=!1,n!==null&&ff(l,n),l=vu(l,s.children),l.flags|=4096);return l}return h?(Fl(),C=s.fallback,h=l.mode,N=n.child,Z=N.sibling,s=vo(N,{mode:"hidden",children:s.children}),s.subtreeFlags=N.subtreeFlags&65011712,Z!==null?C=vo(Z,C):(C=bo(C,h,i,null),C.flags|=2),C.return=l,s.return=l,s.sibling=C,l.child=s,yu(null,s),s=l.child,C=n.child.memoizedState,C===null?C=Vf(i):(h=C.cachePool,h!==null?(N=vn._currentValue,h=h.parent!==N?{parent:N,pool:N}:h):h=rs(),C={baseLanes:C.baseLanes|i,cachePool:h}),s.memoizedState=C,s.childLanes=ll(n,S,i),l.memoizedState=Bf,yu(n.child,s)):(Ui(l),i=n.child,n=i.sibling,i=vo(i,{mode:"visible",children:s.children}),i.return=l,i.sibling=null,n!==null&&(S=l.deletions,S===null?(l.deletions=[n],l.flags|=16):S.push(n)),l.child=i,l.memoizedState=null,i)}function vu(n,l){return l=Hf({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function Hf(n,l){return n=rn(22,n,null,l),n.lanes=0,n}function Ts(n,l,i){return ru(l,n.child,null,i),n=vu(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function As(n,l,i){n.lanes|=l;var s=n.alternate;s!==null&&(s.lanes|=l),Rh(n.return,l,i)}function am(n,l,i,s,h,p){var S=n.memoizedState;S===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:s,tail:i,tailMode:h,treeForkCount:p}:(S.isBackwards=l,S.rendering=null,S.renderingStartTime=0,S.last=s,S.tail=i,S.tailMode=h,S.treeForkCount=p)}function og(n,l,i){var s=l.pendingProps,h=s.revealOrder,p=s.tail;s=s.children;var S=Fe.current,C=(S&2)!==0;if(C?(S=S&1|2,l.flags|=128):S&=1,st(Fe,S),Je(n,l,s,i),s=he?gn:0,!C&&n!==null&&(n.flags&128)!==0)t:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&As(n,i,l);else if(n.tag===19)As(n,i,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break t;for(;n.sibling===null;){if(n.return===null||n.return===l)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(h){case"forwards":for(i=l.child,h=null;i!==null;)n=i.alternate,n!==null&&Rr(n)===null&&(h=i),i=i.sibling;i=h,i===null?(h=l.child,l.child=null):(h=i.sibling,i.sibling=null),am(l,!1,h,i,p,s);break;case"backwards":case"unstable_legacy-backwards":for(i=null,h=l.child,l.child=null;h!==null;){if(n=h.alternate,n!==null&&Rr(n)===null){l.child=h;break}n=h.sibling,h.sibling=i,i=h,h=n}am(l,!0,i,null,p,s);break;case"together":am(l,!1,null,null,void 0,s);break;default:l.memoizedState=null}return l.child}function il(n,l,i){if(n!==null&&(l.dependencies=n.dependencies),ni|=l.lanes,(i&l.childLanes)===0)if(n!==null){if(Ln(n,l,i,!1),(i&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(m(153));if(l.child!==null){for(n=l.child,i=vo(n,n.pendingProps),l.child=i,i.return=l;n.sibling!==null;)n=n.sibling,i=i.sibling=vo(n,n.pendingProps),i.return=l;i.sibling=null}return l.child}function lm(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&us(n)))}function im(n,l,i){switch(l.tag){case 3:be(l,l.stateNode.containerInfo),Sa(l,vn,n.memoizedState.cache),au();break;case 27:case 5:Kt(l);break;case 4:be(l,l.stateNode.containerInfo);break;case 10:Sa(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Or(l),null;break;case 13:var s=l.memoizedState;if(s!==null)return s.dehydrated!==null?(Ui(l),l.flags|=128,null):(i&l.child.childLanes)!==0?ig(n,l,i):(Ui(l),n=il(n,l,i),n!==null?n.sibling:null);Ui(l);break;case 19:var h=(n.flags&128)!==0;if(s=(i&l.childLanes)!==0,s||(Ln(n,l,i,!1),s=(i&l.childLanes)!==0),h){if(s)return og(n,l,i);l.flags|=128}if(h=l.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),st(Fe,Fe.current),s)break;return null;case 22:return l.lanes=0,$v(n,l,i,l.pendingProps);case 24:Sa(l,vn,n.memoizedState.cache)}return il(n,l,i)}function ug(n,l,i){if(n!==null)if(n.memoizedProps!==l.pendingProps)Sn=!0;else{if(!lm(n,i)&&(l.flags&128)===0)return Sn=!1,im(n,l,i);Sn=(n.flags&131072)!==0}else Sn=!1,he&&(l.flags&1048576)!==0&&xy(l,gn,l.index);switch(l.lanes=0,l.tag){case 16:t:{var s=l.pendingProps;if(n=ou(l.elementType),l.type=n,typeof n=="function")is(n)?(s=pu(n,s),l.tag=1,l=lg(null,l,n,s,i)):(l.tag=0,l=nm(null,l,n,s,i));else{if(n!=null){var h=n.$$typeof;if(h===Tt){l.tag=11,l=eg(null,l,n,s,i);break t}else if(h===Dt){l.tag=14,l=ng(null,l,n,s,i);break t}}throw l=Lt(n)||n,Error(m(306,l,""))}}return l;case 0:return nm(n,l,l.type,l.pendingProps,i);case 1:return s=l.type,h=pu(s,l.pendingProps),lg(n,l,s,h,i);case 3:t:{if(be(l,l.stateNode.containerInfo),n===null)throw Error(m(387));s=l.pendingProps;var p=l.memoizedState;h=p.element,Uh(n,l),wi(l,s,null,i);var S=l.memoizedState;if(s=S.cache,Sa(l,vn,s),s!==p.cache&&Ri(l,[vn],i,!0),fu(),s=S.element,p.isDehydrated)if(p={element:s,isDehydrated:!1,cache:S.cache},l.updateQueue.baseState=p,l.memoizedState=p,l.flags&256){l=Il(n,l,s,i);break t}else if(s!==h){h=Wa(Error(m(424)),l),xr(h),l=Il(n,l,s,i);break t}else{switch(n=l.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(Ge=Oa(n.firstChild),Hn=l,he=!0,Mi=null,zn=!0,i=wy(l,null,s,i),l.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling}else{if(au(),s===h){l=il(n,l,i);break t}Je(n,l,s,i)}l=l.child}return l;case 26:return al(n,l),n===null?(i=ic(l.type,null,l.pendingProps,null))?l.memoizedState=i:he||(i=l.type,n=l.pendingProps,s=Eu(xe.current).createElement(i),s[Ne]=l,s[pa]=n,ta(s,i,n),ze(s),l.stateNode=s):l.memoizedState=ic(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return Kt(l),n===null&&he&&(s=l.stateNode=ac(l.type,l.pendingProps,xe.current),Hn=l,zn=!0,h=Ge,li(l.type)?(ad=h,Ge=Oa(s.firstChild)):Ge=h),Je(n,l,l.pendingProps.children,i),al(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&he&&((h=s=Ge)&&(s=OT(s,l.type,l.pendingProps,zn),s!==null?(l.stateNode=s,Hn=l,Ge=Oa(s.firstChild),zn=!1,h=!0):h=!1),h||Cl(l)),Kt(l),h=l.type,p=l.pendingProps,S=n!==null?n.memoizedProps:null,s=p.children,ec(h,p)?s=null:S!==null&&ec(h,S)&&(l.flags|=32),l.memoizedState!==null&&(h=xf(n,l,DT,null,null,i),od._currentValue=h),al(n,l),Je(n,l,s,i),l.child;case 6:return n===null&&he&&((n=i=Ge)&&(i=le(i,l.pendingProps,zn),i!==null?(l.stateNode=i,Hn=l,Ge=null,n=!0):n=!1),n||Cl(l)),null;case 13:return ig(n,l,i);case 4:return be(l,l.stateNode.containerInfo),s=l.pendingProps,n===null?l.child=ru(l,null,s,i):Je(n,l,s,i),l.child;case 11:return eg(n,l,l.type,l.pendingProps,i);case 7:return Je(n,l,l.pendingProps,i),l.child;case 8:return Je(n,l,l.pendingProps.children,i),l.child;case 12:return Je(n,l,l.pendingProps.children,i),l.child;case 10:return s=l.pendingProps,Sa(l,l.type,s.value),Je(n,l,s.children,i),l.child;case 9:return h=l.type._context,s=l.pendingProps.children,$t(l),h=ct(h),s=s(h),l.flags|=1,Je(n,l,s,i),l.child;case 14:return ng(n,l,l.type,l.pendingProps,i);case 15:return ag(n,l,l.type,l.pendingProps,i);case 19:return og(n,l,i);case 31:return Fv(n,l,i);case 22:return $v(n,l,i,l.pendingProps);case 24:return $t(l),s=ct(vn),n===null?(h=tl(),h===null&&(h=Be,p=mf(),h.pooledCache=p,p.refCount++,p!==null&&(h.pooledCacheLanes|=i),h=p),l.memoizedState={parent:s,cache:h},Tf(l),Sa(l,vn,h)):((n.lanes&i)!==0&&(Uh(n,l),wi(l,null,null,i),fu()),h=n.memoizedState,p=l.memoizedState,h.parent!==s?(h={parent:s,cache:s},l.memoizedState=h,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=h),Sa(l,vn,s)):(s=p.cache,Sa(l,vn,s),s!==h.cache&&Ri(l,[vn],i,!0))),Je(n,l,l.pendingProps.children,i),l.child;case 29:throw l.pendingProps}throw Error(m(156,l.tag))}function Hi(n){n.flags|=4}function sg(n,l,i,s,h){if((l=(n.mode&32)!==0)&&(l=!1),l){if(n.flags|=16777216,(h&335544128)===h)if(n.stateNode.complete)n.flags|=8192;else if(ob())n.flags|=8192;else throw uu=fs,cs}else n.flags&=-16777217}function rg(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Ga(l))if(ob())n.flags|=8192;else throw uu=fs,cs}function ua(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?Gu():536870912,n.lanes|=l,ln|=l)}function Hr(n,l){if(!he)switch(n.tailMode){case"hidden":l=n.tail;for(var i=null;l!==null;)l.alternate!==null&&(i=l),l=l.sibling;i===null?n.tail=null:i.sibling=null;break;case"collapsed":i=n.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:s.sibling=null}}function kt(n){var l=n.alternate!==null&&n.alternate.child===n.child,i=0,s=0;if(l)for(var h=n.child;h!==null;)i|=h.lanes|h.childLanes,s|=h.subtreeFlags&65011712,s|=h.flags&65011712,h.return=n,h=h.sibling;else for(h=n.child;h!==null;)i|=h.lanes|h.childLanes,s|=h.subtreeFlags,s|=h.flags,h.return=n,h=h.sibling;return n.subtreeFlags|=s,n.childLanes=i,l}function Wv(n,l,i){var s=l.pendingProps;switch(zh(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return kt(l),null;case 1:return kt(l),null;case 3:return i=l.stateNode,s=null,n!==null&&(s=n.memoizedState.cache),l.memoizedState.cache!==s&&(l.flags|=2048),$l(vn),It(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(n===null||n.child===null)&&(Oi(l)?Hi(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Dy())),kt(l),null;case 26:var h=l.type,p=l.memoizedState;return n===null?(Hi(l),p!==null?(kt(l),rg(l,p)):(kt(l),sg(l,h,null,s,i))):p?p!==n.memoizedState?(Hi(l),kt(l),rg(l,p)):(kt(l),l.flags&=-16777217):(n=n.memoizedProps,n!==s&&Hi(l),kt(l),sg(l,h,n,s,i)),null;case 27:if(mt(l),i=xe.current,h=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Hi(l);else{if(!s){if(l.stateNode===null)throw Error(m(166));return kt(l),null}n=ft.current,Oi(l)?df(l):(n=ac(h,s,i),l.stateNode=n,Hi(l))}return kt(l),null;case 5:if(mt(l),h=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==s&&Hi(l);else{if(!s){if(l.stateNode===null)throw Error(m(166));return kt(l),null}if(p=ft.current,Oi(l))df(l);else{var S=Eu(xe.current);switch(p){case 1:p=S.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:p=S.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":p=S.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":p=S.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":p=S.createElement("div"),p.innerHTML="<script><\/script>",p=p.removeChild(p.firstChild);break;case"select":p=typeof s.is=="string"?S.createElement("select",{is:s.is}):S.createElement("select"),s.multiple?p.multiple=!0:s.size&&(p.size=s.size);break;default:p=typeof s.is=="string"?S.createElement(h,{is:s.is}):S.createElement(h)}}p[Ne]=l,p[pa]=s;t:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)p.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break t;for(;S.sibling===null;){if(S.return===null||S.return===l)break t;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=p;t:switch(ta(p,h,s),h){case"button":case"input":case"select":case"textarea":s=!!s.autoFocus;break t;case"img":s=!0;break t;default:s=!1}s&&Hi(l)}}return kt(l),sg(l,l.type,n===null?null:n.memoizedProps,l.pendingProps,i),null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==s&&Hi(l);else{if(typeof s!="string"&&l.stateNode===null)throw Error(m(166));if(n=xe.current,Oi(l)){if(n=l.stateNode,i=l.memoizedProps,s=null,h=Hn,h!==null)switch(h.tag){case 27:case 5:s=h.memoizedProps}n[Ne]=l,n=!!(n.nodeValue===i||s!==null&&s.suppressHydrationWarning===!0||_g(n.nodeValue,i)),n||Cl(l,!0)}else n=Eu(n).createTextNode(s),n[Ne]=l,l.stateNode=n}return kt(l),null;case 31:if(i=l.memoizedState,n===null||n.memoizedState!==null){if(s=Oi(l),i!==null){if(n===null){if(!s)throw Error(m(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(m(557));n[Ne]=l}else au(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;kt(l),n=!1}else i=Dy(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=i),n=!0;if(!n)return l.flags&256?(Aa(l),l):(Aa(l),null);if((l.flags&128)!==0)throw Error(m(558))}return kt(l),null;case 13:if(s=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(h=Oi(l),s!==null&&s.dehydrated!==null){if(n===null){if(!h)throw Error(m(318));if(h=l.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(m(317));h[Ne]=l}else au(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;kt(l),h=!1}else h=Dy(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=h),h=!0;if(!h)return l.flags&256?(Aa(l),l):(Aa(l),null)}return Aa(l),(l.flags&128)!==0?(l.lanes=i,l):(i=s!==null,n=n!==null&&n.memoizedState!==null,i&&(s=l.child,h=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(h=s.alternate.memoizedState.cachePool.pool),p=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(p=s.memoizedState.cachePool.pool),p!==h&&(s.flags|=2048)),i!==n&&i&&(l.child.flags|=8192),ua(l,l.updateQueue),kt(l),null);case 4:return It(),n===null&&tc(l.stateNode.containerInfo),kt(l),null;case 10:return $l(l.type),kt(l),null;case 19:if(pt(Fe),s=l.memoizedState,s===null)return kt(l),null;if(h=(l.flags&128)!==0,p=s.rendering,p===null)if(h)Hr(s,!1);else{if(Qe!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(p=Rr(n),p!==null){for(l.flags|=128,Hr(s,!1),n=p.updateQueue,l.updateQueue=n,ua(l,n),l.subtreeFlags=0,n=i,i=l.child;i!==null;)Ty(i,n),i=i.sibling;return st(Fe,Fe.current&1|2),he&&Dl(l,s.treeForkCount),l.child}n=n.sibling}s.tail!==null&&In()>Ce&&(l.flags|=128,h=!0,Hr(s,!1),l.lanes=4194304)}else{if(!h)if(n=Rr(p),n!==null){if(l.flags|=128,h=!0,n=n.updateQueue,l.updateQueue=n,ua(l,n),Hr(s,!0),s.tail===null&&s.tailMode==="hidden"&&!p.alternate&&!he)return kt(l),null}else 2*In()-s.renderingStartTime>Ce&&i!==536870912&&(l.flags|=128,h=!0,Hr(s,!1),l.lanes=4194304);s.isBackwards?(p.sibling=l.child,l.child=p):(n=s.last,n!==null?n.sibling=p:l.child=p,s.last=p)}return s.tail!==null?(n=s.tail,s.rendering=n,s.tail=n.sibling,s.renderingStartTime=In(),n.sibling=null,i=Fe.current,st(Fe,h?i&1|2:i&1),he&&Dl(l,s.treeForkCount),n):(kt(l),null);case 22:case 23:return Aa(l),zr(),s=l.memoizedState!==null,n!==null?n.memoizedState!==null!==s&&(l.flags|=8192):s&&(l.flags|=8192),s?(i&536870912)!==0&&(l.flags&128)===0&&(kt(l),l.subtreeFlags&6&&(l.flags|=8192)):kt(l),i=l.updateQueue,i!==null&&ua(l,i.retryQueue),i=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==i&&(l.flags|=2048),n!==null&&pt(Pa),null;case 24:return i=null,n!==null&&(i=n.memoizedState.cache),l.memoizedState.cache!==i&&(l.flags|=2048),$l(vn),kt(l),null;case 25:return null;case 30:return null}throw Error(m(156,l.tag))}function Iv(n,l){switch(zh(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return $l(vn),It(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return mt(l),null;case 31:if(l.memoizedState!==null){if(Aa(l),l.alternate===null)throw Error(m(340));au()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 13:if(Aa(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(m(340));au()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return pt(Fe),null;case 4:return It(),null;case 10:return $l(l.type),null;case 22:case 23:return Aa(l),zr(),n!==null&&pt(Pa),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return $l(vn),null;case 25:return null;default:return null}}function Pv(n,l){switch(zh(l),l.tag){case 3:$l(vn),It();break;case 26:case 27:case 5:mt(l);break;case 4:It();break;case 31:l.memoizedState!==null&&Aa(l);break;case 13:Aa(l);break;case 19:pt(Fe);break;case 10:$l(l.type);break;case 22:case 23:Aa(l),zr(),n!==null&&pt(Pa);break;case 24:$l(vn)}}function zl(n,l){try{var i=l.updateQueue,s=i!==null?i.lastEffect:null;if(s!==null){var h=s.next;i=h;do{if((i.tag&n)===n){s=void 0;var p=i.create,S=i.inst;s=p(),S.destroy=s}i=i.next}while(i!==h)}}catch(C){Ue(l,l.return,C)}}function ol(n,l,i){try{var s=l.updateQueue,h=s!==null?s.lastEffect:null;if(h!==null){var p=h.next;s=p;do{if((s.tag&n)===n){var S=s.inst,C=S.destroy;if(C!==void 0){S.destroy=void 0,h=l;var N=i,Z=C;try{Z()}catch(et){Ue(h,N,et)}}}s=s.next}while(s!==p)}}catch(et){Ue(l,l.return,et)}}function om(n){var l=n.updateQueue;if(l!==null){var i=n.stateNode;try{du(l,i)}catch(s){Ue(n,n.return,s)}}}function bu(n,l,i){i.props=pu(n.type,n.memoizedProps),i.state=n.memoizedState;try{i.componentWillUnmount()}catch(s){Ue(n,l,s)}}function Li(n,l){try{var i=n.ref;if(i!==null){switch(n.tag){case 26:case 27:case 5:var s=n.stateNode;break;case 30:s=n.stateNode;break;default:s=n.stateNode}typeof i=="function"?n.refCleanup=i(s):i.current=s}}catch(h){Ue(n,l,h)}}function Pl(n,l){var i=n.ref,s=n.refCleanup;if(i!==null)if(typeof s=="function")try{s()}catch(h){Ue(n,l,h)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(h){Ue(n,l,h)}else i.current=null}function cg(n){var l=n.type,i=n.memoizedProps,s=n.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":i.autoFocus&&s.focus();break t;case"img":i.src?s.src=i.src:i.srcSet&&(s.srcset=i.srcSet)}}catch(h){Ue(n,n.return,h)}}function um(n,l,i){try{var s=n.stateNode;jg(s,n.type,i,l),s[pa]=l}catch(h){Ue(n,n.return,h)}}function fg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&li(n.type)||n.tag===4}function Lr(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||fg(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&&li(n.type)||n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function qr(n,l,i){var s=n.tag;if(s===5||s===6)n=n.stateNode,l?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(n,l):(l=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,l.appendChild(n),i=i._reactRootContainer,i!=null||l.onclick!==null||(l.onclick=Ll));else if(s!==4&&(s===27&&li(n.type)&&(i=n.stateNode,l=null),n=n.child,n!==null))for(qr(n,l,i),n=n.sibling;n!==null;)qr(n,l,i),n=n.sibling}function Yr(n,l,i){var s=n.tag;if(s===5||s===6)n=n.stateNode,l?i.insertBefore(n,l):i.appendChild(n);else if(s!==4&&(s===27&&li(n.type)&&(i=n.stateNode),n=n.child,n!==null))for(Yr(n,l,i),n=n.sibling;n!==null;)Yr(n,l,i),n=n.sibling}function dg(n){var l=n.stateNode,i=n.memoizedProps;try{for(var s=n.type,h=l.attributes;h.length;)l.removeAttributeNode(h[0]);ta(l,s,i),l[Ne]=n,l[pa]=i}catch(p){Ue(n,n.return,p)}}var zo=!1,xn=!1,sm=!1,hg=typeof WeakSet=="function"?WeakSet:Set,Gn=null;function Gr(n,l){if(n=n.containerInfo,zm=wn,n=tu(n),lf(n)){if("selectionStart"in n)var i={start:n.selectionStart,end:n.selectionEnd};else t:{i=(i=n.ownerDocument)&&i.defaultView||window;var s=i.getSelection&&i.getSelection();if(s&&s.rangeCount!==0){i=s.anchorNode;var h=s.anchorOffset,p=s.focusNode;s=s.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break t}var S=0,C=-1,N=-1,Z=0,et=0,rt=n,J=null;e:for(;;){for(var tt;rt!==i||h!==0&&rt.nodeType!==3||(C=S+h),rt!==p||s!==0&&rt.nodeType!==3||(N=S+s),rt.nodeType===3&&(S+=rt.nodeValue.length),(tt=rt.firstChild)!==null;)J=rt,rt=tt;for(;;){if(rt===n)break e;if(J===i&&++Z===h&&(C=S),J===p&&++et===s&&(N=S),(tt=rt.nextSibling)!==null)break;rt=J,J=rt.parentNode}rt=tt}i=C===-1||N===-1?null:{start:C,end:N}}else i=null}i=i||{start:0,end:0}}else i=null;for(Om={focusedElem:n,selectionRange:i},wn=!1,Gn=l;Gn!==null;)if(l=Gn,n=l.child,(l.subtreeFlags&1028)!==0&&n!==null)n.return=l,Gn=n;else for(;Gn!==null;){switch(l=Gn,p=l.alternate,n=l.flags,l.tag){case 0:if((n&4)!==0&&(n=l.updateQueue,n=n!==null?n.events:null,n!==null))for(i=0;i<n.length;i++)h=n[i],h.ref.impl=h.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&p!==null){n=void 0,i=l,h=p.memoizedProps,p=p.memoizedState,s=i.stateNode;try{var Ct=pu(i.type,h);n=s.getSnapshotBeforeUpdate(Ct,p),s.__reactInternalSnapshotBeforeUpdate=n}catch(qt){Ue(i,i.return,qt)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,i=n.nodeType,i===9)nd(n);else if(i===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":nd(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(m(163))}if(n=l.sibling,n!==null){n.return=l.return,Gn=n;break}Gn=l.return}}function Lf(n,l,i){var s=i.flags;switch(i.tag){case 0:case 11:case 15:Oo(n,i),s&4&&zl(5,i);break;case 1:if(Oo(n,i),s&4)if(n=i.stateNode,l===null)try{n.componentDidMount()}catch(S){Ue(i,i.return,S)}else{var h=pu(i.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(h,l,n.__reactInternalSnapshotBeforeUpdate)}catch(S){Ue(i,i.return,S)}}s&64&&om(i),s&512&&Li(i,i.return);break;case 3:if(Oo(n,i),s&64&&(n=i.updateQueue,n!==null)){if(l=null,i.child!==null)switch(i.child.tag){case 27:case 5:l=i.child.stateNode;break;case 1:l=i.child.stateNode}try{du(n,l)}catch(S){Ue(i,i.return,S)}}break;case 27:l===null&&s&4&&dg(i);case 26:case 5:Oo(n,i),l===null&&s&4&&cg(i),s&512&&Li(i,i.return);break;case 12:Oo(n,i);break;case 31:Oo(n,i),s&4&&tb(n,i);break;case 13:Oo(n,i),s&4&&yg(n,i),s&64&&(n=i.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(i=ul.bind(null,i),nc(n,i))));break;case 22:if(s=i.memoizedState!==null||zo,!s){l=l!==null&&l.memoizedState!==null||xn,h=zo;var p=xn;zo=s,(xn=l)&&!p?ti(n,i,(i.subtreeFlags&8772)!==0):Oo(n,i),zo=h,xn=p}break;case 30:break;default:Oo(n,i)}}function mg(n){var l=n.alternate;l!==null&&(n.alternate=null,mg(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&lh(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 Xe=null,Da=!1;function qi(n,l,i){for(i=i.child;i!==null;)pg(n,l,i),i=i.sibling}function pg(n,l,i){if(Na&&typeof Na.onCommitFiberUnmount=="function")try{Na.onCommitFiberUnmount(Yu,i)}catch{}switch(i.tag){case 26:xn||Pl(i,l),qi(n,l,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:xn||Pl(i,l);var s=Xe,h=Da;li(i.type)&&(Xe=i.stateNode,Da=!1),qi(n,l,i),Rs(i.stateNode),Xe=s,Da=h;break;case 5:xn||Pl(i,l);case 6:if(s=Xe,h=Da,Xe=null,qi(n,l,i),Xe=s,Da=h,Xe!==null)if(Da)try{(Xe.nodeType===9?Xe.body:Xe.nodeName==="HTML"?Xe.ownerDocument.body:Xe).removeChild(i.stateNode)}catch(p){Ue(i,l,p)}else try{Xe.removeChild(i.stateNode)}catch(p){Ue(i,l,p)}break;case 18:Xe!==null&&(Da?(n=Xe,Lg(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,i.stateNode),hc(n)):Lg(Xe,i.stateNode));break;case 4:s=Xe,h=Da,Xe=i.stateNode.containerInfo,Da=!0,qi(n,l,i),Xe=s,Da=h;break;case 0:case 11:case 14:case 15:ol(2,i,l),xn||ol(4,i,l),qi(n,l,i);break;case 1:xn||(Pl(i,l),s=i.stateNode,typeof s.componentWillUnmount=="function"&&bu(i,l,s)),qi(n,l,i);break;case 21:qi(n,l,i);break;case 22:xn=(s=xn)||i.memoizedState!==null,qi(n,l,i),xn=s;break;default:qi(n,l,i)}}function tb(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{hc(n)}catch(i){Ue(l,l.return,i)}}}function yg(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{hc(n)}catch(i){Ue(l,l.return,i)}}function qf(n){switch(n.tag){case 31:case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new hg),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new hg),l;default:throw Error(m(435,n.tag))}}function Yf(n,l){var i=qf(n);l.forEach(function(s){if(!i.has(s)){i.add(s);var h=Tb.bind(null,n,s);s.then(h,h)}})}function Ca(n,l){var i=l.deletions;if(i!==null)for(var s=0;s<i.length;s++){var h=i[s],p=n,S=l,C=S;t:for(;C!==null;){switch(C.tag){case 27:if(li(C.type)){Xe=C.stateNode,Da=!1;break t}break;case 5:Xe=C.stateNode,Da=!1;break t;case 3:case 4:Xe=C.stateNode.containerInfo,Da=!0;break t}C=C.return}if(Xe===null)throw Error(m(160));pg(p,S,h),Xe=null,Da=!1,p=h.alternate,p!==null&&(p.return=null),h.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)rm(l,n),l=l.sibling}var ee=null;function rm(n,l){var i=n.alternate,s=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Ca(l,n),Va(n),s&4&&(ol(3,n,n.return),zl(3,n),ol(5,n,n.return));break;case 1:Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),s&64&&zo&&(n=n.updateQueue,n!==null&&(s=n.callbacks,s!==null&&(i=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=i===null?s:i.concat(s))));break;case 26:var h=ee;if(Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),s&4){var p=i!==null?i.memoizedState:null;if(s=n.memoizedState,i===null)if(s===null)if(n.stateNode===null){t:{s=n.type,i=n.memoizedProps,h=h.ownerDocument||h;e:switch(s){case"title":p=h.getElementsByTagName("title")[0],(!p||p[bi]||p[Ne]||p.namespaceURI==="http://www.w3.org/2000/svg"||p.hasAttribute("itemprop"))&&(p=h.createElement(s),h.head.insertBefore(p,h.querySelector("head > title"))),ta(p,s,i),p[Ne]=n,ze(p),s=p;break t;case"link":var S=Xg("link","href",h).get(s+(i.href||""));if(S){for(var C=0;C<S.length;C++)if(p=S[C],p.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&p.getAttribute("rel")===(i.rel==null?null:i.rel)&&p.getAttribute("title")===(i.title==null?null:i.title)&&p.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){S.splice(C,1);break e}}p=h.createElement(s),ta(p,s,i),h.head.appendChild(p);break;case"meta":if(S=Xg("meta","content",h).get(s+(i.content||""))){for(C=0;C<S.length;C++)if(p=S[C],p.getAttribute("content")===(i.content==null?null:""+i.content)&&p.getAttribute("name")===(i.name==null?null:i.name)&&p.getAttribute("property")===(i.property==null?null:i.property)&&p.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&p.getAttribute("charset")===(i.charSet==null?null:i.charSet)){S.splice(C,1);break e}}p=h.createElement(s),ta(p,s,i),h.head.appendChild(p);break;default:throw Error(m(468,s))}p[Ne]=n,ze(p),s=p}n.stateNode=s}else Nm(h,n.type,n.stateNode);else n.stateNode=Gg(h,s,n.memoizedProps);else p!==s?(p===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):p.count--,s===null?Nm(h,n.type,n.stateNode):Gg(h,s,n.memoizedProps)):s===null&&n.stateNode!==null&&um(n,n.memoizedProps,i.memoizedProps)}break;case 27:Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),i!==null&&s&4&&um(n,n.memoizedProps,i.memoizedProps);break;case 5:if(Ca(l,n),Va(n),s&512&&(xn||i===null||Pl(i,i.return)),n.flags&32){h=n.stateNode;try{Ti(h,"")}catch(Ct){Ue(n,n.return,Ct)}}s&4&&n.stateNode!=null&&(h=n.memoizedProps,um(n,h,i!==null?i.memoizedProps:h)),s&1024&&(sm=!0);break;case 6:if(Ca(l,n),Va(n),s&4){if(n.stateNode===null)throw Error(m(162));s=n.memoizedProps,i=n.stateNode;try{i.nodeValue=s}catch(Ct){Ue(n,n.return,Ct)}}break;case 3:if(sc=null,h=ee,ee=sa(l.containerInfo),Ca(l,n),ee=h,Va(n),s&4&&i!==null&&i.memoizedState.isDehydrated)try{hc(l.containerInfo)}catch(Ct){Ue(n,n.return,Ct)}sm&&(sm=!1,gg(n));break;case 4:s=ee,ee=sa(n.stateNode.containerInfo),Ca(l,n),Va(n),ee=s;break;case 12:Ca(l,n),Va(n);break;case 31:Ca(l,n),Va(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Yf(n,s)));break;case 13:Ca(l,n),Va(n),n.child.flags&8192&&n.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(ai=In()),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Yf(n,s)));break;case 22:h=n.memoizedState!==null;var N=i!==null&&i.memoizedState!==null,Z=zo,et=xn;if(zo=Z||h,xn=et||N,Ca(l,n),xn=et,zo=Z,Va(n),s&8192)t:for(l=n.stateNode,l._visibility=h?l._visibility&-2:l._visibility|1,h&&(i===null||N||zo||xn||Es(n)),i=null,l=n;;){if(l.tag===5||l.tag===26){if(i===null){N=i=l;try{if(p=N.stateNode,h)S=p.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{C=N.stateNode;var rt=N.memoizedProps.style,J=rt!=null&&rt.hasOwnProperty("display")?rt.display:null;C.style.display=J==null||typeof J=="boolean"?"":(""+J).trim()}}catch(Ct){Ue(N,N.return,Ct)}}}else if(l.tag===6){if(i===null){N=l;try{N.stateNode.nodeValue=h?"":N.memoizedProps}catch(Ct){Ue(N,N.return,Ct)}}}else if(l.tag===18){if(i===null){N=l;try{var tt=N.stateNode;h?Tn(tt,!0):Tn(N.stateNode,!1)}catch(Ct){Ue(N,N.return,Ct)}}}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 t;for(;l.sibling===null;){if(l.return===null||l.return===n)break t;i===l&&(i=null),l=l.return}i===l&&(i=null),l.sibling.return=l.return,l=l.sibling}s&4&&(s=n.updateQueue,s!==null&&(i=s.retryQueue,i!==null&&(s.retryQueue=null,Yf(n,i))));break;case 19:Ca(l,n),Va(n),s&4&&(s=n.updateQueue,s!==null&&(n.updateQueue=null,Yf(n,s)));break;case 30:break;case 21:break;default:Ca(l,n),Va(n)}}function Va(n){var l=n.flags;if(l&2){try{for(var i,s=n.return;s!==null;){if(fg(s)){i=s;break}s=s.return}if(i==null)throw Error(m(160));switch(i.tag){case 27:var h=i.stateNode,p=Lr(n);Yr(n,p,h);break;case 5:var S=i.stateNode;i.flags&32&&(Ti(S,""),i.flags&=-33);var C=Lr(n);Yr(n,C,S);break;case 3:case 4:var N=i.stateNode.containerInfo,Z=Lr(n);qr(n,Z,N);break;default:throw Error(m(161))}}catch(et){Ue(n,n.return,et)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function gg(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;gg(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function Oo(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Lf(n,l.alternate,l),l=l.sibling}function Es(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:ol(4,l,l.return),Es(l);break;case 1:Pl(l,l.return);var i=l.stateNode;typeof i.componentWillUnmount=="function"&&bu(l,l.return,i),Es(l);break;case 27:Rs(l.stateNode);case 26:case 5:Pl(l,l.return),Es(l);break;case 22:l.memoizedState===null&&Es(l);break;case 30:Es(l);break;default:Es(l)}n=n.sibling}}function ti(n,l,i){for(i=i&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var s=l.alternate,h=n,p=l,S=p.flags;switch(p.tag){case 0:case 11:case 15:ti(h,p,i),zl(4,p);break;case 1:if(ti(h,p,i),s=p,h=s.stateNode,typeof h.componentDidMount=="function")try{h.componentDidMount()}catch(Z){Ue(s,s.return,Z)}if(s=p,h=s.updateQueue,h!==null){var C=s.stateNode;try{var N=h.shared.hiddenCallbacks;if(N!==null)for(h.shared.hiddenCallbacks=null,h=0;h<N.length;h++)Nh(N[h],C)}catch(Z){Ue(s,s.return,Z)}}i&&S&64&&om(p),Li(p,p.return);break;case 27:dg(p);case 26:case 5:ti(h,p,i),i&&s===null&&S&4&&cg(p),Li(p,p.return);break;case 12:ti(h,p,i);break;case 31:ti(h,p,i),i&&S&4&&tb(h,p);break;case 13:ti(h,p,i),i&&S&4&&yg(h,p);break;case 22:p.memoizedState===null&&ti(h,p,i),Li(p,p.return);break;case 30:break;default:ti(h,p,i)}l=l.sibling}}function cm(n,l){var i=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==i&&(n!=null&&n.refCount++,i!=null&&pf(i))}function fm(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&pf(n))}function Ol(n,l,i,s){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Xr(n,l,i,s),l=l.sibling}function Xr(n,l,i,s){var h=l.flags;switch(l.tag){case 0:case 11:case 15:Ol(n,l,i,s),h&2048&&zl(9,l);break;case 1:Ol(n,l,i,s);break;case 3:Ol(n,l,i,s),h&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&pf(n)));break;case 12:if(h&2048){Ol(n,l,i,s),n=l.stateNode;try{var p=l.memoizedProps,S=p.id,C=p.onPostCommit;typeof C=="function"&&C(S,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(N){Ue(l,l.return,N)}}else Ol(n,l,i,s);break;case 31:Ol(n,l,i,s);break;case 13:Ol(n,l,i,s);break;case 23:break;case 22:p=l.stateNode,S=l.alternate,l.memoizedState!==null?p._visibility&2?Ol(n,l,i,s):Gf(n,l):p._visibility&2?Ol(n,l,i,s):(p._visibility|=2,Qr(n,l,i,s,(l.subtreeFlags&10256)!==0||!1)),h&2048&&cm(S,l);break;case 24:Ol(n,l,i,s),h&2048&&fm(l.alternate,l);break;default:Ol(n,l,i,s)}}function Qr(n,l,i,s,h){for(h=h&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var p=n,S=l,C=i,N=s,Z=S.flags;switch(S.tag){case 0:case 11:case 15:Qr(p,S,C,N,h),zl(8,S);break;case 23:break;case 22:var et=S.stateNode;S.memoizedState!==null?et._visibility&2?Qr(p,S,C,N,h):Gf(p,S):(et._visibility|=2,Qr(p,S,C,N,h)),h&&Z&2048&&cm(S.alternate,S);break;case 24:Qr(p,S,C,N,h),h&&Z&2048&&fm(S.alternate,S);break;default:Qr(p,S,C,N,h)}l=l.sibling}}function Gf(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var i=n,s=l,h=s.flags;switch(s.tag){case 22:Gf(i,s),h&2048&&cm(s.alternate,s);break;case 24:Gf(i,s),h&2048&&fm(s.alternate,s);break;default:Gf(i,s)}l=l.sibling}}var Ha=8192;function Yi(n,l,i){if(n.subtreeFlags&Ha)for(n=n.child;n!==null;)eb(n,l,i),n=n.sibling}function eb(n,l,i){switch(n.tag){case 26:Yi(n,l,i),n.flags&Ha&&n.memoizedState!==null&&ki(i,ee,n.memoizedState,n.memoizedProps);break;case 5:Yi(n,l,i);break;case 3:case 4:var s=ee;ee=sa(n.stateNode.containerInfo),Yi(n,l,i),ee=s;break;case 22:n.memoizedState===null&&(s=n.alternate,s!==null&&s.memoizedState!==null?(s=Ha,Ha=16777216,Yi(n,l,i),Ha=s):Yi(n,l,i));break;default:Yi(n,l,i)}}function dm(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 Zr(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Gn=s,hm(s,n)}dm(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)vg(n),n=n.sibling}function vg(n){switch(n.tag){case 0:case 11:case 15:Zr(n),n.flags&2048&&ol(9,n,n.return);break;case 3:Zr(n);break;case 12:Zr(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,Xf(n)):Zr(n);break;default:Zr(n)}}function Xf(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var i=0;i<l.length;i++){var s=l[i];Gn=s,hm(s,n)}dm(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:ol(8,l,l.return),Xf(l);break;case 22:i=l.stateNode,i._visibility&2&&(i._visibility&=-3,Xf(l));break;default:Xf(l)}n=n.sibling}}function hm(n,l){for(;Gn!==null;){var i=Gn;switch(i.tag){case 0:case 11:case 15:ol(8,i,l);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var s=i.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:pf(i.memoizedState.cache)}if(s=i.child,s!==null)s.return=i,Gn=s;else t:for(i=n;Gn!==null;){s=Gn;var h=s.sibling,p=s.return;if(mg(s),s===i){Gn=null;break t}if(h!==null){h.return=p,Gn=h;break t}Gn=p}}}var nb={getCacheForType:function(n){var l=ct(vn),i=l.data.get(n);return i===void 0&&(i=n(),l.data.set(n,i)),i},cacheSignal:function(){return ct(vn).controller.signal}},bg=typeof WeakMap=="function"?WeakMap:Map,Ae=0,Be=null,me=null,re=0,we=0,Xt=null,Gi=!1,Su=!1,mm=!1,ei=0,Qe=0,ni=0,xs=0,pm=0,Ma=0,ln=0,Qf=null,on=null,ym=!1,ai=0,Sg=0,Ce=1/0,kr=null,We=null,Rn=0,Ro=null,Tu=null,Xi=0,La=0,gm=null,vm=null,Jr=0,Zf=null;function qa(){return(Ae&2)!==0&&re!==0?re&-re:j.T!==null?Em():nh()}function ab(){if(Ma===0)if((re&536870912)===0||he){var n=Bl;Bl<<=1,(Bl&3932160)===0&&(Bl=262144),Ma=n}else Ma=536870912;return n=Ta.current,n!==null&&(n.flags|=32),Ma}function za(n,l,i){(n===Be&&(we===2||we===9)||n.cancelPendingCommit!==null)&&(Qi(n,0),wo(n,re,Ma,!1)),or(n,i),((Ae&2)===0||n!==Be)&&(n===Be&&((Ae&2)===0&&(xs|=i),Qe===4&&wo(n,re,Ma,!1)),Zi(n))}function lb(n,l,i){if((Ae&6)!==0)throw Error(m(327));var s=!i&&(l&127)===0&&(l&n.expiredLanes)===0||Vl(n,l),h=s?rb(n,l):Sm(n,l,!0),p=s;do{if(h===0){Su&&!s&&wo(n,l,0,!1);break}else{if(i=n.current.alternate,p&&!ib(i)){h=Sm(n,l,!1),p=!1;continue}if(h===2){if(p=l,n.errorRecoveryDisabledLanes&p)var S=0;else S=n.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){l=S;t:{var C=n;h=Qf;var N=C.current.memoizedState.isDehydrated;if(N&&(Qi(C,S).flags|=256),S=Sm(C,S,!1),S!==2){if(mm&&!N){C.errorRecoveryDisabledLanes|=p,xs|=p,h=4;break t}p=on,on=h,p!==null&&(on===null?on=p:on.push.apply(on,p))}h=S}if(p=!1,h!==2)continue}}if(h===1){Qi(n,0),wo(n,l,0,!0);break}t:{switch(s=n,p=h,p){case 0:case 1:throw Error(m(345));case 4:if((l&4194048)!==l)break;case 6:wo(s,l,Ma,!Gi);break t;case 2:on=null;break;case 3:case 5:break;default:throw Error(m(329))}if((l&62914560)===l&&(h=ai+300-In(),10<h)){if(wo(s,l,Ma,!Gi),yn(s,0,!0)!==0)break t;Xi=l,s.timeoutHandle=ed(kf.bind(null,s,i,on,kr,ym,l,Ma,xs,ln,Gi,p,"Throttled",-0,0),h);break t}kf(s,i,on,kr,ym,l,Ma,xs,ln,Gi,p,null,-0,0)}}break}while(!0);Zi(n)}function kf(n,l,i,s,h,p,S,C,N,Z,et,rt,J,tt){if(n.timeoutHandle=-1,rt=l.subtreeFlags,rt&8192||(rt&16785408)===16785408){rt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ll},eb(l,p,rt);var Ct=(p&62914560)===p?ai-In():(p&4194048)===p?Sg-In():0;if(Ct=Zg(rt,Ct),Ct!==null){Xi=p,n.cancelPendingCommit=Ct(hb.bind(null,n,l,p,i,s,h,S,C,N,et,rt,null,J,tt)),wo(n,p,S,!Z);return}}hb(n,l,p,i,s,h,S,C,N)}function ib(n){for(var l=n;;){var i=l.tag;if((i===0||i===11||i===15)&&l.flags&16384&&(i=l.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var s=0;s<i.length;s++){var h=i[s],p=h.getSnapshot;h=h.value;try{if(!oa(p(),h))return!1}catch{return!1}}if(i=l.child,l.subtreeFlags&16384&&i!==null)i.return=l,l=i;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 wo(n,l,i,s){l&=~pm,l&=~xs,n.suspendedLanes|=l,n.pingedLanes&=~l,s&&(n.warmLanes|=l),s=n.expirationTimes;for(var h=l;0<h;){var p=31-ma(h),S=1<<p;s[p]=-1,h&=~S}i!==0&&Jc(n,i,l)}function Kr(){return(Ae&6)===0?(_o(0),!1):!0}function Tg(){if(me!==null){if(we===0)var n=me.return;else n=me,Kl=So=null,Df(n),su=null,ds=0,n=me;for(;n!==null;)Pv(n.alternate,n),n=n.return;me=null}}function Qi(n,l){var i=n.timeoutHandle;i!==-1&&(n.timeoutHandle=-1,Ob(i)),i=n.cancelPendingCommit,i!==null&&(n.cancelPendingCommit=null,i()),Xi=0,Tg(),Be=n,me=i=vo(n.current,null),re=l,we=0,Xt=null,Gi=!1,Su=Vl(n,l),mm=!1,ln=Ma=pm=xs=ni=Qe=0,on=Qf=null,ym=!1,(l&8)!==0&&(l|=l&32);var s=n.entangledLanes;if(s!==0)for(n=n.entanglements,s&=l;0<s;){var h=31-ma(s),p=1<<h;l|=n[h],s&=~p}return ei=l,$a(),i}function $r(n,l){te=null,j.H=_f,l===iu||l===Cr?(l=Ry(),we=3):l===cs?(l=Ry(),we=4):we=l===em?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Xt=l,me===null&&(Qe=1,Vr(n,Wa(l,n.current)))}function ob(){var n=Ta.current;return n===null?!0:(re&4194048)===re?nl===null:(re&62914560)===re||(re&536870912)!==0?n===nl:!1}function ub(){var n=j.H;return j.H=_f,n===null?_f:n}function sb(){var n=j.A;return j.A=nb,n}function bm(){Qe=4,Gi||(re&4194048)!==re&&Ta.current!==null||(Su=!0),(ni&134217727)===0&&(xs&134217727)===0||Be===null||wo(Be,re,Ma,!1)}function Sm(n,l,i){var s=Ae;Ae|=2;var h=ub(),p=sb();(Be!==n||re!==l)&&(kr=null,Qi(n,l)),l=!1;var S=Qe;t:do try{if(we!==0&&me!==null){var C=me,N=Xt;switch(we){case 8:Tg(),S=6;break t;case 3:case 2:case 9:case 6:Ta.current===null&&(l=!0);var Z=we;if(we=0,Xt=null,Ds(n,C,N,Z),i&&Su){S=0;break t}break;default:Z=we,we=0,Xt=null,Ds(n,C,N,Z)}}MT(),S=Qe;break}catch(et){$r(n,et)}while(!0);return l&&n.shellSuspendCounter++,Kl=So=null,Ae=s,j.H=h,j.A=p,me===null&&(Be=null,re=0,$a()),S}function MT(){for(;me!==null;)cb(me)}function rb(n,l){var i=Ae;Ae|=2;var s=ub(),h=sb();Be!==n||re!==l?(kr=null,Ce=In()+500,Qi(n,l)):Su=Vl(n,l);t:do try{if(we!==0&&me!==null){l=me;var p=Xt;e:switch(we){case 1:we=0,Xt=null,Ds(n,l,p,1);break;case 2:case 9:if(zy(p)){we=0,Xt=null,fb(l);break}l=function(){we!==2&&we!==9||Be!==n||(we=7),Zi(n)},p.then(l,l);break t;case 3:we=7;break t;case 4:we=5;break t;case 7:zy(p)?(we=0,Xt=null,fb(l)):(we=0,Xt=null,Ds(n,l,p,7));break;case 5:var S=null;switch(me.tag){case 26:S=me.memoizedState;case 5:case 27:var C=me;if(S?Ga(S):C.stateNode.complete){we=0,Xt=null;var N=C.sibling;if(N!==null)me=N;else{var Z=C.return;Z!==null?(me=Z,Jf(Z)):me=null}break e}}we=0,Xt=null,Ds(n,l,p,5);break;case 6:we=0,Xt=null,Ds(n,l,p,6);break;case 8:Tg(),Qe=6;break t;default:throw Error(m(462))}}Au();break}catch(et){$r(n,et)}while(!0);return Kl=So=null,j.H=s,j.A=h,Ae=i,me!==null?0:(Be=null,re=0,$a(),Qe)}function Au(){for(;me!==null&&!qu();)cb(me)}function cb(n){var l=ug(n.alternate,n,ei);n.memoizedProps=n.pendingProps,l===null?Jf(n):me=l}function fb(n){var l=n,i=l.alternate;switch(l.tag){case 15:case 0:l=gu(i,l,l.pendingProps,l.type,void 0,re);break;case 11:l=gu(i,l,l.pendingProps,l.type.render,l.ref,re);break;case 5:Df(l);default:Pv(i,l),l=me=Ty(l,ei),l=ug(i,l,ei)}n.memoizedProps=n.pendingProps,l===null?Jf(n):me=l}function Ds(n,l,i,s){Kl=So=null,Df(l),su=null,ds=0;var h=l.return;try{if(CT(n,h,l,i,re)){Qe=1,Vr(n,Wa(i,n.current)),me=null;return}}catch(p){if(h!==null)throw me=h,p;Qe=1,Vr(n,Wa(i,n.current)),me=null;return}l.flags&32768?(he||s===1?n=!0:Su||(re&536870912)!==0?n=!1:(Gi=n=!0,(s===2||s===9||s===3||s===6)&&(s=Ta.current,s!==null&&s.tag===13&&(s.flags|=16384))),db(l,n)):Jf(l)}function Jf(n){var l=n;do{if((l.flags&32768)!==0){db(l,Gi);return}n=l.return;var i=Wv(l.alternate,l,ei);if(i!==null){me=i;return}if(l=l.sibling,l!==null){me=l;return}me=l=n}while(l!==null);Qe===0&&(Qe=5)}function db(n,l){do{var i=Iv(n.alternate,n);if(i!==null){i.flags&=32767,me=i;return}if(i=n.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!l&&(n=n.sibling,n!==null)){me=n;return}me=n=i}while(n!==null);Qe=6,me=null}function hb(n,l,i,s,h,p,S,C,N){n.cancelPendingCommit=null;do Fr();while(Rn!==0);if((Ae&6)!==0)throw Error(m(327));if(l!==null){if(l===n.current)throw Error(m(177));if(p=l.lanes|l.childLanes,p|=El,th(n,i,p,S,C,N),n===Be&&(me=Be=null,re=0),Tu=l,Ro=n,Xi=i,La=p,gm=h,vm=s,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,Ab(Zo,function(){return vb(),null})):(n.callbackNode=null,n.callbackPriority=0),s=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||s){s=j.T,j.T=null,h=F.p,F.p=2,S=Ae,Ae|=4;try{Gr(n,l,i)}finally{Ae=S,F.p=h,j.T=s}}Rn=1,mb(),pb(),yb()}}function mb(){if(Rn===1){Rn=0;var n=Ro,l=Tu,i=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||i){i=j.T,j.T=null;var s=F.p;F.p=2;var h=Ae;Ae|=4;try{rm(l,n);var p=Om,S=tu(n.containerInfo),C=p.focusedElem,N=p.selectionRange;if(S!==C&&C&&C.ownerDocument&&ns(C.ownerDocument.documentElement,C)){if(N!==null&&lf(C)){var Z=N.start,et=N.end;if(et===void 0&&(et=Z),"selectionStart"in C)C.selectionStart=Z,C.selectionEnd=Math.min(et,C.value.length);else{var rt=C.ownerDocument||document,J=rt&&rt.defaultView||window;if(J.getSelection){var tt=J.getSelection(),Ct=C.textContent.length,qt=Math.min(N.start,Ct),He=N.end===void 0?qt:Math.min(N.end,Ct);!tt.extend&&qt>He&&(S=He,He=qt,qt=S);var q=by(C,qt),H=by(C,He);if(q&&H&&(tt.rangeCount!==1||tt.anchorNode!==q.node||tt.anchorOffset!==q.offset||tt.focusNode!==H.node||tt.focusOffset!==H.offset)){var G=rt.createRange();G.setStart(q.node,q.offset),tt.removeAllRanges(),qt>He?(tt.addRange(G),tt.extend(H.node,H.offset)):(G.setEnd(H.node,H.offset),tt.addRange(G))}}}}for(rt=[],tt=C;tt=tt.parentNode;)tt.nodeType===1&&rt.push({element:tt,left:tt.scrollLeft,top:tt.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;C<rt.length;C++){var it=rt[C];it.element.scrollLeft=it.left,it.element.scrollTop=it.top}}wn=!!zm,Om=zm=null}finally{Ae=h,F.p=s,j.T=i}}n.current=l,Rn=2}}function pb(){if(Rn===2){Rn=0;var n=Ro,l=Tu,i=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||i){i=j.T,j.T=null;var s=F.p;F.p=2;var h=Ae;Ae|=4;try{Lf(n,l.alternate,l)}finally{Ae=h,F.p=s,j.T=i}}Rn=3}}function yb(){if(Rn===4||Rn===3){Rn=0,Wd();var n=Ro,l=Tu,i=Xi,s=vm;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Rn=5:(Rn=0,Tu=Ro=null,gb(n,n.pendingLanes));var h=n.pendingLanes;if(h===0&&(We=null),Jp(i),l=l.stateNode,Na&&typeof Na.onCommitFiberRoot=="function")try{Na.onCommitFiberRoot(Yu,l,void 0,(l.current.flags&128)===128)}catch{}if(s!==null){l=j.T,h=F.p,F.p=2,j.T=null;try{for(var p=n.onRecoverableError,S=0;S<s.length;S++){var C=s[S];p(C.value,{componentStack:C.stack})}}finally{j.T=l,F.p=h}}(Xi&3)!==0&&Fr(),Zi(n),h=n.pendingLanes,(i&261930)!==0&&(h&42)!==0?n===Zf?Jr++:(Jr=0,Zf=n):Jr=0,_o(0)}}function gb(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,pf(l)))}function Fr(){return mb(),pb(),yb(),vb()}function vb(){if(Rn!==5)return!1;var n=Ro,l=La;La=0;var i=Jp(Xi),s=j.T,h=F.p;try{F.p=32>i?32:i,j.T=null,i=gm,gm=null;var p=Ro,S=Xi;if(Rn=0,Tu=Ro=null,Xi=0,(Ae&6)!==0)throw Error(m(331));var C=Ae;if(Ae|=4,vg(p.current),Xr(p,p.current,S,i),Ae=C,_o(0,!1),Na&&typeof Na.onPostCommitFiberRoot=="function")try{Na.onPostCommitFiberRoot(Yu,p)}catch{}return!0}finally{F.p=h,j.T=s,gb(n,l)}}function bb(n,l,i){l=Wa(i,l),l=Iy(n.stateNode,l,2),n=el(n,l,2),n!==null&&(or(n,2),Zi(n))}function Ue(n,l,i){if(n.tag===3)bb(n,n,i);else for(;l!==null;){if(l.tag===3){bb(l,n,i);break}else if(l.tag===1){var s=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(We===null||!We.has(s))){n=Wa(i,n),i=Py(2),s=el(l,i,2),s!==null&&(tg(i,s,l,n),or(s,2),Zi(s));break}}l=l.return}}function Kf(n,l,i){var s=n.pingCache;if(s===null){s=n.pingCache=new bg;var h=new Set;s.set(l,h)}else h=s.get(l),h===void 0&&(h=new Set,s.set(l,h));h.has(i)||(mm=!0,h.add(i),n=Ag.bind(null,n,l,i),l.then(n,n))}function Ag(n,l,i){var s=n.pingCache;s!==null&&s.delete(l),n.pingedLanes|=n.suspendedLanes&i,n.warmLanes&=~i,Be===n&&(re&i)===i&&(Qe===4||Qe===3&&(re&62914560)===re&&300>In()-ai?(Ae&2)===0&&Qi(n,0):pm|=i,ln===re&&(ln=0)),Zi(n)}function Sb(n,l){l===0&&(l=Gu()),n=go(n,l),n!==null&&(or(n,l),Zi(n))}function ul(n){var l=n.memoizedState,i=0;l!==null&&(i=l.retryLane),Sb(n,i)}function Tb(n,l){var i=0;switch(n.tag){case 31:case 13:var s=n.stateNode,h=n.memoizedState;h!==null&&(i=h.retryLane);break;case 19:s=n.stateNode;break;case 22:s=n.stateNode._retryCache;break;default:throw Error(m(314))}s!==null&&s.delete(l),Sb(n,i)}function Ab(n,l){return Ye(n,l)}var Wr=null,Cs=null,Eg=!1,Tm=!1,xg=!1,Uo=0;function Zi(n){n!==Cs&&n.next===null&&(Cs===null?Wr=Cs=n:Cs=Cs.next=n),Tm=!0,Eg||(Eg=!0,Ff())}function _o(n,l){if(!xg&&Tm){xg=!0;do for(var i=!1,s=Wr;s!==null;){if(n!==0){var h=s.pendingLanes;if(h===0)var p=0;else{var S=s.suspendedLanes,C=s.pingedLanes;p=(1<<31-ma(42|n)+1)-1,p&=h&~(S&~C),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(i=!0,Ms(s,p))}else p=re,p=yn(s,s===Be?p:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(p&3)===0||Vl(s,p)||(i=!0,Ms(s,p));s=s.next}while(i);xg=!1}}function Am(){Dg()}function Dg(){Tm=Eg=!1;var n=0;Uo!==0&&zT()&&(n=Uo);for(var l=In(),i=null,s=Wr;s!==null;){var h=s.next,p=Cg(s,l);p===0?(s.next=null,i===null?Wr=h:i.next=h,h===null&&(Cs=i)):(i=s,(n!==0||(p&3)!==0)&&(Tm=!0)),s=h}Rn!==0&&Rn!==5||_o(n),Uo!==0&&(Uo=0)}function Cg(n,l){for(var i=n.suspendedLanes,s=n.pingedLanes,h=n.expirationTimes,p=n.pendingLanes&-62914561;0<p;){var S=31-ma(p),C=1<<S,N=h[S];N===-1?((C&i)===0||(C&s)!==0)&&(h[S]=ir(C,l)):N<=l&&(n.expiredLanes|=C),p&=~C}if(l=Be,i=re,i=yn(n,n===l?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s=n.callbackNode,i===0||n===l&&(we===2||we===9)||n.cancelPendingCommit!==null)return s!==null&&s!==null&&Qp(s),n.callbackNode=null,n.callbackPriority=0;if((i&3)===0||Vl(n,i)){if(l=i&-i,l===n.callbackPriority)return l;switch(s!==null&&Qp(s),Jp(i)){case 2:case 8:i=Pd;break;case 32:i=Zo;break;case 268435456:i=Zp;break;default:i=Zo}return s=$f.bind(null,n),i=Ye(i,s),n.callbackPriority=l,n.callbackNode=i,l}return s!==null&&s!==null&&Qp(s),n.callbackPriority=2,n.callbackNode=null,2}function $f(n,l){if(Rn!==0&&Rn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var i=n.callbackNode;if(Fr()&&n.callbackNode!==i)return null;var s=re;return s=yn(n,n===Be?s:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),s===0?null:(lb(n,s,l),Cg(n,In()),n.callbackNode!=null&&n.callbackNode===i?$f.bind(null,n):null)}function Ms(n,l){if(Fr())return null;lb(n,l,!0)}function Ff(){Rb(function(){(Ae&6)!==0?Ye(Id,Am):Dg()})}function Em(){if(Uo===0){var n=lu;n===0&&(n=fo,fo<<=1,(fo&261888)===0&&(fo=256)),Uo=n}return Uo}function Eb(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:bl(""+n)}function zs(n,l){var i=l.ownerDocument.createElement("input");return i.name=l.name,i.value=l.value,n.id&&i.setAttribute("form",n.id),l.parentNode.insertBefore(i,l),n=new FormData(n),i.parentNode.removeChild(i),n}function Wf(n,l,i,s,h){if(l==="submit"&&i&&i.stateNode===h){var p=Eb((h[pa]||null).action),S=s.submitter;S&&(l=(l=S[pa]||null)?Eb(l.formAction):S.getAttribute("formAction"),l!==null&&(p=l,S=null));var C=new ef("action","action",null,s,h);n.push({event:C,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(Uo!==0){var N=S?zs(h,S):new FormData(h);jr(i,{pending:!0,data:N,method:h.method,action:p},null,N)}}else typeof p=="function"&&(C.preventDefault(),N=S?zs(h,S):new FormData(h),jr(i,{pending:!0,data:N,method:h.method,action:p},p,N))},currentTarget:h}]})}}for(var xm=0;xm<Sr.length;xm++){var Ir=Sr[xm],Mg=Ir.toLowerCase(),zg=Ir[0].toUpperCase()+Ir.slice(1);ga(Mg,"on"+zg)}ga(uf,"onAnimationEnd"),ga(Sy,"onAnimationIteration"),ga(xh,"onAnimationStart"),ga("dblclick","onDoubleClick"),ga("focusin","onFocus"),ga("focusout","onBlur"),ga(as,"onTransitionRun"),ga(sf,"onTransitionStart"),ga(Di,"onTransitionCancel"),ga(Nv,"onTransitionEnd"),Si("onMouseEnter",["mouseout","mouseover"]),Si("onMouseLeave",["mouseout","mouseover"]),Si("onPointerEnter",["pointerout","pointerover"]),Si("onPointerLeave",["pointerout","pointerover"]),$o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$o("onBeforeInput",["compositionend","keypress","textInput","paste"]),$o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pr="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(" "),xb=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Pr));function Db(n,l){l=(l&4)!==0;for(var i=0;i<n.length;i++){var s=n[i],h=s.event;s=s.listeners;t:{var p=void 0;if(l)for(var S=s.length-1;0<=S;S--){var C=s[S],N=C.instance,Z=C.currentTarget;if(C=C.listener,N!==p&&h.isPropagationStopped())break t;p=C,h.currentTarget=Z;try{p(h)}catch(et){ls(et)}h.currentTarget=null,p=N}else for(S=0;S<s.length;S++){if(C=s[S],N=C.instance,Z=C.currentTarget,C=C.listener,N!==p&&h.isPropagationStopped())break t;p=C,h.currentTarget=Z;try{p(h)}catch(et){ls(et)}h.currentTarget=null,p=N}}}}function fe(n,l){var i=l[ah];i===void 0&&(i=l[ah]=new Set);var s=n+"__bubble";i.has(s)||(If(l,n,2,!1),i.add(s))}function Og(n,l,i){var s=0;l&&(s|=4),If(i,n,s,l)}var Dm="_reactListening"+Math.random().toString(36).slice(2);function tc(n){if(!n[Dm]){n[Dm]=!0,ku.forEach(function(i){i!=="selectionchange"&&(xb.has(i)||Og(i,!1,n),Og(i,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[Dm]||(l[Dm]=!0,Og("selectionchange",!1,l))}}function If(n,l,i,s){switch(ud(l)){case 2:var h=Ji;break;case 8:h=Ki;break;default:h=ea}i=h.bind(null,l,i,n),h=void 0,!Pc||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(h=!0),s?h!==void 0?n.addEventListener(l,i,{capture:!0,passive:h}):n.addEventListener(l,i,!0):h!==void 0?n.addEventListener(l,i,{passive:h}):n.addEventListener(l,i,!1)}function Rg(n,l,i,s,h){var p=s;if((l&1)===0&&(l&2)===0&&s!==null)t:for(;;){if(s===null)return;var S=s.tag;if(S===3||S===4){var C=s.stateNode.containerInfo;if(C===h)break;if(S===4)for(S=s.return;S!==null;){var N=S.tag;if((N===3||N===4)&&S.stateNode.containerInfo===h)return;S=S.return}for(;C!==null;){if(S=Xu(C),S===null)return;if(N=S.tag,N===5||N===6||N===26||N===27){s=p=S;continue t}C=C.parentNode}}s=s.return}ny(function(){var Z=p,et=fh(i),rt=[];t:{var J=Ci.get(n);if(J!==void 0){var tt=ef,Ct=n;switch(n){case"keypress":if(hh(i)===0)break t;case"keydown":case"keyup":tt=gh;break;case"focusin":Ct="focus",tt=ph;break;case"focusout":Ct="blur",tt=ph;break;case"beforeblur":case"afterblur":tt=ph;break;case"click":if(i.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":tt=pr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":tt=Av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":tt=Mv;break;case uf:case Sy:case xh:tt=xv;break;case Nv:tt=AT;break;case"scroll":case"scrollend":tt=ST;break;case"wheel":tt=ET;break;case"copy":case"cut":case"paste":tt=Fu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":tt=Gl;break;case"toggle":case"beforetoggle":tt=fy}var qt=(l&4)!==0,He=!qt&&(n==="scroll"||n==="scrollend"),q=qt?J!==null?J+"Capture":null:J;qt=[];for(var H=Z,G;H!==null;){var it=H;if(G=it.stateNode,it=it.tag,it!==5&&it!==26&&it!==27||G===null||q===null||(it=Bn(H,q),it!=null&&qt.push(Pf(H,it,G))),He)break;H=H.return}0<qt.length&&(J=new tt(J,Ct,null,i,et),rt.push({event:J,listeners:qt}))}}if((l&7)===0){t:{if(J=n==="mouseover"||n==="pointerover",tt=n==="mouseout"||n==="pointerout",J&&i!==ch&&(Ct=i.relatedTarget||i.fromElement)&&(Xu(Ct)||Ct[Jo]))break t;if((tt||J)&&(J=et.window===et?et:(J=et.ownerDocument)?J.defaultView||J.parentWindow:window,tt?(Ct=i.relatedTarget||i.toElement,tt=Z,Ct=Ct?Xu(Ct):null,Ct!==null&&(He=T(Ct),qt=Ct.tag,Ct!==He||qt!==5&&qt!==27&&qt!==6)&&(Ct=null)):(tt=null,Ct=Z),tt!==Ct)){if(qt=pr,it="onMouseLeave",q="onMouseEnter",H="mouse",(n==="pointerout"||n==="pointerover")&&(qt=Gl,it="onPointerLeave",q="onPointerEnter",H="pointer"),He=tt==null?J:ur(tt),G=Ct==null?J:ur(Ct),J=new qt(it,H+"leave",tt,i,et),J.target=He,J.relatedTarget=G,it=null,Xu(et)===Z&&(qt=new qt(q,H+"enter",Ct,i,et),qt.target=G,qt.relatedTarget=He,it=qt),He=it,tt&&Ct)e:{for(qt=Cb,q=tt,H=Ct,G=0,it=q;it;it=qt(it))G++;it=0;for(var _t=H;_t;_t=qt(_t))it++;for(;0<G-it;)q=qt(q),G--;for(;0<it-G;)H=qt(H),it--;for(;G--;){if(q===H||H!==null&&q===H.alternate){qt=q;break e}q=qt(q),H=qt(H)}qt=null}else qt=null;tt!==null&&Cm(rt,J,tt,qt,!1),Ct!==null&&He!==null&&Cm(rt,He,Ct,qt,!0)}}t:{if(J=Z?ur(Z):window,tt=J.nodeName&&J.nodeName.toLowerCase(),tt==="select"||tt==="input"&&J.type==="file")var Se=yy;else if(xi(J))if(Sh)Se=es;else{Se=Uv;var Rt=wv}else tt=J.nodeName,!tt||tt.toLowerCase()!=="input"||J.type!=="checkbox"&&J.type!=="radio"?Z&&ey(Z.elementType)&&(Se=yy):Se=Po;if(Se&&(Se=Se(n,Z))){py(rt,Se,i,et);break t}Rt&&Rt(n,J,Z),n==="focusout"&&Z&&J.type==="number"&&Z.memoizedProps.value!=null&&Ju(J,"number",J.value)}switch(Rt=Z?ur(Z):window,n){case"focusin":(xi(Rt)||Rt.contentEditable==="true")&&(eu=Rt,vr=Z,Al=null);break;case"focusout":Al=vr=eu=null;break;case"mousedown":Ql=!0;break;case"contextmenu":case"mouseup":case"dragend":Ql=!1,Eh(rt,i,et);break;case"selectionchange":if(of)break;case"keydown":case"keyup":Eh(rt,i,et)}var Pt;if(yr)t:{switch(n){case"compositionstart":var ne="onCompositionStart";break t;case"compositionend":ne="onCompositionEnd";break t;case"compositionupdate":ne="onCompositionUpdate";break t}ne=void 0}else Iu?bh(n,i)&&(ne="onCompositionEnd"):n==="keydown"&&i.keyCode===229&&(ne="onCompositionStart");ne&&(dy&&i.locale!=="ko"&&(Iu||ne!=="onCompositionStart"?ne==="onCompositionEnd"&&Iu&&(Pt=ly()):(po=et,ay="value"in po?po.value:po.textContent,Iu=!0)),Rt=td(Z,ne),0<Rt.length&&(ne=new Dv(ne,n,null,i,et),rt.push({event:ne,listeners:Rt}),Pt?ne.data=Pt:(Pt=hy(i),Pt!==null&&(ne.data=Pt)))),(Pt=ia?Rv(n,i):xT(n,i))&&(ne=td(Z,"onBeforeInput"),0<ne.length&&(Rt=new Dv("onBeforeInput","beforeinput",null,i,et),rt.push({event:Rt,listeners:ne}),Rt.data=Pt)),Wf(rt,n,Z,i,et)}Db(rt,l)})}function Pf(n,l,i){return{instance:n,listener:l,currentTarget:i}}function td(n,l){for(var i=l+"Capture",s=[];n!==null;){var h=n,p=h.stateNode;if(h=h.tag,h!==5&&h!==26&&h!==27||p===null||(h=Bn(n,i),h!=null&&s.unshift(Pf(n,h,p)),h=Bn(n,l),h!=null&&s.push(Pf(n,h,p))),n.tag===3)return s;n=n.return}return[]}function Cb(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Cm(n,l,i,s,h){for(var p=l._reactName,S=[];i!==null&&i!==s;){var C=i,N=C.alternate,Z=C.stateNode;if(C=C.tag,N!==null&&N===s)break;C!==5&&C!==26&&C!==27||Z===null||(N=Z,h?(Z=Bn(i,p),Z!=null&&S.unshift(Pf(i,Z,N))):h||(Z=Bn(i,p),Z!=null&&S.push(Pf(i,Z,N)))),i=i.return}S.length!==0&&n.push({event:l,listeners:S})}var Mb=/\r\n?/g,wg=/\u0000|\uFFFD/g;function Ug(n){return(typeof n=="string"?n:""+n).replace(Mb,`
54
+ `).replace(wg,"")}function _g(n,l){return l=Ug(l),Ug(n)===l}function Ve(n,l,i,s,h,p){switch(i){case"children":typeof s=="string"?l==="body"||l==="textarea"&&s===""||Ti(n,s):(typeof s=="number"||typeof s=="bigint")&&l!=="body"&&Ti(n,""+s);break;case"className":uh(n,"class",s);break;case"tabIndex":uh(n,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":uh(n,i,s);break;case"style":bv(n,s,p);break;case"data":if(l!=="object"){uh(n,"data",s);break}case"src":case"href":if(s===""&&(l!=="a"||i!=="href")){n.removeAttribute(i);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=bl(""+s),n.setAttribute(i,s);break;case"action":case"formAction":if(typeof s=="function"){n.setAttribute(i,"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"&&(i==="formAction"?(l!=="input"&&Ve(n,l,"name",h.name,h,null),Ve(n,l,"formEncType",h.formEncType,h,null),Ve(n,l,"formMethod",h.formMethod,h,null),Ve(n,l,"formTarget",h.formTarget,h,null)):(Ve(n,l,"encType",h.encType,h,null),Ve(n,l,"method",h.method,h,null),Ve(n,l,"target",h.target,h,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){n.removeAttribute(i);break}s=bl(""+s),n.setAttribute(i,s);break;case"onClick":s!=null&&(n.onclick=Ll);break;case"onScroll":s!=null&&fe("scroll",n);break;case"onScrollEnd":s!=null&&fe("scrollend",n);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(m(61));if(i=s.__html,i!=null){if(h.children!=null)throw Error(m(60));n.innerHTML=i}}break;case"multiple":n.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":n.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){n.removeAttribute("xlink:href");break}i=bl(""+s),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""+s):n.removeAttribute(i);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":s&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,""):n.removeAttribute(i);break;case"capture":case"download":s===!0?n.setAttribute(i,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?n.setAttribute(i,s):n.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?n.setAttribute(i,s):n.removeAttribute(i);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?n.removeAttribute(i):n.setAttribute(i,s);break;case"popover":fe("beforetoggle",n),fe("toggle",n),cr(n,"popover",s);break;case"xlinkActuate":ho(n,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":ho(n,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":ho(n,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":ho(n,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":ho(n,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":ho(n,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":ho(n,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":ho(n,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":ho(n,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":cr(n,"is",s);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=bT.get(i)||i,cr(n,i,s))}}function Ng(n,l,i,s,h,p){switch(i){case"style":bv(n,s,p);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(m(61));if(i=s.__html,i!=null){if(h.children!=null)throw Error(m(60));n.innerHTML=i}}break;case"children":typeof s=="string"?Ti(n,s):(typeof s=="number"||typeof s=="bigint")&&Ti(n,""+s);break;case"onScroll":s!=null&&fe("scroll",n);break;case"onScrollEnd":s!=null&&fe("scrollend",n);break;case"onClick":s!=null&&(n.onclick=Ll);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ko.hasOwnProperty(i))t:{if(i[0]==="o"&&i[1]==="n"&&(h=i.endsWith("Capture"),l=i.slice(2,h?i.length-7:void 0),p=n[pa]||null,p=p!=null?p[i]:null,typeof p=="function"&&n.removeEventListener(l,p,h),typeof s=="function")){typeof p!="function"&&p!==null&&(i in n?n[i]=null:n.hasAttribute(i)&&n.removeAttribute(i)),n.addEventListener(l,s,h);break t}i in n?n[i]=s:s===!0?n.setAttribute(i,""):cr(n,i,s)}}}function ta(n,l,i){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",n),fe("load",n);var s=!1,h=!1,p;for(p in i)if(i.hasOwnProperty(p)){var S=i[p];if(S!=null)switch(p){case"src":s=!0;break;case"srcSet":h=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(m(137,l));default:Ve(n,l,p,S,i,null)}}h&&Ve(n,l,"srcSet",i.srcSet,i,null),s&&Ve(n,l,"src",i.src,i,null);return;case"input":fe("invalid",n);var C=p=S=h=null,N=null,Z=null;for(s in i)if(i.hasOwnProperty(s)){var et=i[s];if(et!=null)switch(s){case"name":h=et;break;case"type":S=et;break;case"checked":N=et;break;case"defaultChecked":Z=et;break;case"value":p=et;break;case"defaultValue":C=et;break;case"children":case"dangerouslySetInnerHTML":if(et!=null)throw Error(m(137,l));break;default:Ve(n,l,s,et,i,null)}}Fc(n,p,C,N,Z,S,h,!1);return;case"select":fe("invalid",n),s=S=p=null;for(h in i)if(i.hasOwnProperty(h)&&(C=i[h],C!=null))switch(h){case"value":p=C;break;case"defaultValue":S=C;break;case"multiple":s=C;default:Ve(n,l,h,C,i,null)}l=p,i=S,n.multiple=!!s,l!=null?fr(n,!!s,l,!1):i!=null&&fr(n,!!s,i,!0);return;case"textarea":fe("invalid",n),p=h=s=null;for(S in i)if(i.hasOwnProperty(S)&&(C=i[S],C!=null))switch(S){case"value":s=C;break;case"defaultValue":h=C;break;case"children":p=C;break;case"dangerouslySetInnerHTML":if(C!=null)throw Error(m(91));break;default:Ve(n,l,S,C,i,null)}ty(n,s,h,p);return;case"option":for(N in i)if(i.hasOwnProperty(N)&&(s=i[N],s!=null))switch(N){case"selected":n.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:Ve(n,l,N,s,i,null)}return;case"dialog":fe("beforetoggle",n),fe("toggle",n),fe("cancel",n),fe("close",n);break;case"iframe":case"object":fe("load",n);break;case"video":case"audio":for(s=0;s<Pr.length;s++)fe(Pr[s],n);break;case"image":fe("error",n),fe("load",n);break;case"details":fe("toggle",n);break;case"embed":case"source":case"link":fe("error",n),fe("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(Z in i)if(i.hasOwnProperty(Z)&&(s=i[Z],s!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":throw Error(m(137,l));default:Ve(n,l,Z,s,i,null)}return;default:if(ey(l)){for(et in i)i.hasOwnProperty(et)&&(s=i[et],s!==void 0&&Ng(n,l,et,s,i,void 0));return}}for(C in i)i.hasOwnProperty(C)&&(s=i[C],s!=null&&Ve(n,l,C,s,i,null))}function jg(n,l,i,s){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var h=null,p=null,S=null,C=null,N=null,Z=null,et=null;for(tt in i){var rt=i[tt];if(i.hasOwnProperty(tt)&&rt!=null)switch(tt){case"checked":break;case"value":break;case"defaultValue":N=rt;default:s.hasOwnProperty(tt)||Ve(n,l,tt,null,s,rt)}}for(var J in s){var tt=s[J];if(rt=i[J],s.hasOwnProperty(J)&&(tt!=null||rt!=null))switch(J){case"type":p=tt;break;case"name":h=tt;break;case"checked":Z=tt;break;case"defaultChecked":et=tt;break;case"value":S=tt;break;case"defaultValue":C=tt;break;case"children":case"dangerouslySetInnerHTML":if(tt!=null)throw Error(m(137,l));break;default:tt!==rt&&Ve(n,l,J,tt,s,rt)}}$c(n,S,C,N,Z,et,p,h);return;case"select":tt=S=C=J=null;for(p in i)if(N=i[p],i.hasOwnProperty(p)&&N!=null)switch(p){case"value":break;case"multiple":tt=N;default:s.hasOwnProperty(p)||Ve(n,l,p,null,s,N)}for(h in s)if(p=s[h],N=i[h],s.hasOwnProperty(h)&&(p!=null||N!=null))switch(h){case"value":J=p;break;case"defaultValue":C=p;break;case"multiple":S=p;default:p!==N&&Ve(n,l,h,p,s,N)}l=C,i=S,s=tt,J!=null?fr(n,!!i,J,!1):!!s!=!!i&&(l!=null?fr(n,!!i,l,!0):fr(n,!!i,i?[]:"",!1));return;case"textarea":tt=J=null;for(C in i)if(h=i[C],i.hasOwnProperty(C)&&h!=null&&!s.hasOwnProperty(C))switch(C){case"value":break;case"children":break;default:Ve(n,l,C,null,s,h)}for(S in s)if(h=s[S],p=i[S],s.hasOwnProperty(S)&&(h!=null||p!=null))switch(S){case"value":J=h;break;case"defaultValue":tt=h;break;case"children":break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(m(91));break;default:h!==p&&Ve(n,l,S,h,s,p)}Pp(n,J,tt);return;case"option":for(var Ct in i)if(J=i[Ct],i.hasOwnProperty(Ct)&&J!=null&&!s.hasOwnProperty(Ct))switch(Ct){case"selected":n.selected=!1;break;default:Ve(n,l,Ct,null,s,J)}for(N in s)if(J=s[N],tt=i[N],s.hasOwnProperty(N)&&J!==tt&&(J!=null||tt!=null))switch(N){case"selected":n.selected=J&&typeof J!="function"&&typeof J!="symbol";break;default:Ve(n,l,N,J,s,tt)}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 qt in i)J=i[qt],i.hasOwnProperty(qt)&&J!=null&&!s.hasOwnProperty(qt)&&Ve(n,l,qt,null,s,J);for(Z in s)if(J=s[Z],tt=i[Z],s.hasOwnProperty(Z)&&J!==tt&&(J!=null||tt!=null))switch(Z){case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(m(137,l));break;default:Ve(n,l,Z,J,s,tt)}return;default:if(ey(l)){for(var He in i)J=i[He],i.hasOwnProperty(He)&&J!==void 0&&!s.hasOwnProperty(He)&&Ng(n,l,He,void 0,s,J);for(et in s)J=s[et],tt=i[et],!s.hasOwnProperty(et)||J===tt||J===void 0&&tt===void 0||Ng(n,l,et,J,s,tt);return}}for(var q in i)J=i[q],i.hasOwnProperty(q)&&J!=null&&!s.hasOwnProperty(q)&&Ve(n,l,q,null,s,J);for(rt in s)J=s[rt],tt=i[rt],!s.hasOwnProperty(rt)||J===tt||J==null&&tt==null||Ve(n,l,rt,J,s,tt)}function Mm(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Bg(){if(typeof performance.getEntriesByType=="function"){for(var n=0,l=0,i=performance.getEntriesByType("resource"),s=0;s<i.length;s++){var h=i[s],p=h.transferSize,S=h.initiatorType,C=h.duration;if(p&&C&&Mm(S)){for(S=0,C=h.responseEnd,s+=1;s<i.length;s++){var N=i[s],Z=N.startTime;if(Z>C)break;var et=N.transferSize,rt=N.initiatorType;et&&Mm(rt)&&(N=N.responseEnd,S+=et*(N<C?1:(C-Z)/(N-Z)))}if(--s,l+=8*(p+S)/(h.duration/1e3),n++,10<n)break}}if(0<n)return l/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var zm=null,Om=null;function Eu(n){return n.nodeType===9?n:n.ownerDocument}function zb(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 Vg(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 ec(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 Rm=null;function zT(){var n=window.event;return n&&n.type==="popstate"?n===Rm?!1:(Rm=n,!0):(Rm=null,!1)}var ed=typeof setTimeout=="function"?setTimeout:void 0,Ob=typeof clearTimeout=="function"?clearTimeout:void 0,Os=typeof Promise=="function"?Promise:void 0,Rb=typeof queueMicrotask=="function"?queueMicrotask:typeof Os<"u"?function(n){return Os.resolve(null).then(n).catch(Hg)}:ed;function Hg(n){setTimeout(function(){throw n})}function li(n){return n==="head"}function Lg(n,l){var i=l,s=0;do{var h=i.nextSibling;if(n.removeChild(i),h&&h.nodeType===8)if(i=h.data,i==="/$"||i==="/&"){if(s===0){n.removeChild(h),hc(l);return}s--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")s++;else if(i==="html")Rs(n.ownerDocument.documentElement);else if(i==="head"){i=n.ownerDocument.head,Rs(i);for(var p=i.firstChild;p;){var S=p.nextSibling,C=p.nodeName;p[bi]||C==="SCRIPT"||C==="STYLE"||C==="LINK"&&p.rel.toLowerCase()==="stylesheet"||i.removeChild(p),p=S}}else i==="body"&&Rs(n.ownerDocument.body);i=h}while(i);hc(l)}function Tn(n,l){var i=n;n=0;do{var s=i.nextSibling;if(i.nodeType===1?l?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(l?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),s&&s.nodeType===8)if(i=s.data,i==="/$"){if(n===0)break;n--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||n++;i=s}while(i)}function nd(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var i=l;switch(l=l.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":nd(i),lh(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}n.removeChild(i)}}function OT(n,l,i,s){for(;n.nodeType===1;){var h=i;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!s&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(s){if(!n[bi])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!==h.rel||n.getAttribute("href")!==(h.href==null||h.href===""?null:h.href)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin)||n.getAttribute("title")!==(h.title==null?null:h.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(p=n.getAttribute("src"),(p!==(h.src==null?null:h.src)||n.getAttribute("type")!==(h.type==null?null:h.type)||n.getAttribute("crossorigin")!==(h.crossOrigin==null?null:h.crossOrigin))&&p&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var p=h.name==null?null:""+h.name;if(h.type==="hidden"&&n.getAttribute("name")===p)return n}else return n;if(n=Oa(n.nextSibling),n===null)break}return null}function le(n,l,i){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!i||(n=Oa(n.nextSibling),n===null))return null;return n}function wb(n,l){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=Oa(n.nextSibling),n===null))return null;return n}function Rl(n){return n.data==="$?"||n.data==="$~"}function xu(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function nc(n,l){var i=n.ownerDocument;if(n.data==="$~")n._reactRetry=l;else if(n.data!=="$?"||i.readyState!=="loading")l();else{var s=function(){l(),i.removeEventListener("DOMContentLoaded",s)};i.addEventListener("DOMContentLoaded",s),n._reactRetry=s}}function Oa(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==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return n}var ad=null;function wm(n){n=n.nextSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="/$"||i==="/&"){if(l===0)return Oa(n.nextSibling);l--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||l++}n=n.nextSibling}return null}function ii(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var i=n.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(l===0)return n;l--}else i!=="/$"&&i!=="/&"||l++}n=n.previousSibling}return null}function ac(n,l,i){switch(l=Eu(i),n){case"html":if(n=l.documentElement,!n)throw Error(m(452));return n;case"head":if(n=l.head,!n)throw Error(m(453));return n;case"body":if(n=l.body,!n)throw Error(m(454));return n;default:throw Error(m(451))}}function Rs(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);lh(n)}var Ya=new Map,ld=new Set;function sa(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var oi=F.d;F.d={f:RT,r:Ub,D:P,C:Me,L:wT,m:qg,X:No,S:Yg,M:Du};function RT(){var n=oi.f(),l=Kr();return n||l}function Ub(n){var l=Qu(n);l!==null&&l.tag===5&&l.type==="form"?je(l):oi.r(n)}var lc=typeof document>"u"?null:document;function Dn(n,l,i){var s=lc;if(s&&typeof l=="string"&&l){var h=Ka(l);h='link[rel="'+n+'"][href="'+h+'"]',typeof i=="string"&&(h+='[crossorigin="'+i+'"]'),ld.has(h)||(ld.add(h),n={rel:n,crossOrigin:i,href:l},s.querySelector(h)===null&&(l=s.createElement("link"),ta(l,"link",n),ze(l),s.head.appendChild(l)))}}function P(n){oi.D(n),Dn("dns-prefetch",n,null)}function Me(n,l){oi.C(n,l),Dn("preconnect",n,l)}function wT(n,l,i){oi.L(n,l,i);var s=lc;if(s&&n&&l){var h='link[rel="preload"][as="'+Ka(l)+'"]';l==="image"&&i&&i.imageSrcSet?(h+='[imagesrcset="'+Ka(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(h+='[imagesizes="'+Ka(i.imageSizes)+'"]')):h+='[href="'+Ka(n)+'"]';var p=h;switch(l){case"style":p=sl(n);break;case"script":p=ws(n)}Ya.has(p)||(n=O({rel:"preload",href:l==="image"&&i&&i.imageSrcSet?void 0:n,as:l},i),Ya.set(p,n),s.querySelector(h)!==null||l==="style"&&s.querySelector(Cu(p))||l==="script"&&s.querySelector(uc(p))||(l=s.createElement("link"),ta(l,"link",n),ze(l),s.head.appendChild(l)))}}function qg(n,l){oi.m(n,l);var i=lc;if(i&&n){var s=l&&typeof l.as=="string"?l.as:"script",h='link[rel="modulepreload"][as="'+Ka(s)+'"][href="'+Ka(n)+'"]',p=h;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=ws(n)}if(!Ya.has(p)&&(n=O({rel:"modulepreload",href:n},l),Ya.set(p,n),i.querySelector(h)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(uc(p)))return}s=i.createElement("link"),ta(s,"link",n),ze(s),i.head.appendChild(s)}}}function Yg(n,l,i){oi.S(n,l,i);var s=lc;if(s&&n){var h=Zu(s).hoistableStyles,p=sl(n);l=l||"default";var S=h.get(p);if(!S){var C={loading:0,preload:null};if(S=s.querySelector(Cu(p)))C.loading=5;else{n=O({rel:"stylesheet",href:n,"data-precedence":l},i),(i=Ya.get(p))&&Um(n,i);var N=S=s.createElement("link");ze(N),ta(N,"link",n),N._p=new Promise(function(Z,et){N.onload=Z,N.onerror=et}),N.addEventListener("load",function(){C.loading|=1}),N.addEventListener("error",function(){C.loading|=2}),C.loading|=4,id(S,l,s)}S={type:"stylesheet",instance:S,count:1,state:C},h.set(p,S)}}}function No(n,l){oi.X(n,l);var i=lc;if(i&&n){var s=Zu(i).hoistableScripts,h=ws(n),p=s.get(h);p||(p=i.querySelector(uc(h)),p||(n=O({src:n,async:!0},l),(l=Ya.get(h))&&_m(n,l),p=i.createElement("script"),ze(p),ta(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(h,p))}}function Du(n,l){oi.M(n,l);var i=lc;if(i&&n){var s=Zu(i).hoistableScripts,h=ws(n),p=s.get(h);p||(p=i.querySelector(uc(h)),p||(n=O({src:n,async:!0,type:"module"},l),(l=Ya.get(h))&&_m(n,l),p=i.createElement("script"),ze(p),ta(p,"link",n),i.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},s.set(h,p))}}function ic(n,l,i,s){var h=(h=xe.current)?sa(h):null;if(!h)throw Error(m(446));switch(n){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(l=sl(i.href),i=Zu(h).hoistableStyles,s=i.get(l),s||(s={type:"style",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){n=sl(i.href);var p=Zu(h).hoistableStyles,S=p.get(n);if(S||(h=h.ownerDocument||h,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},p.set(n,S),(p=h.querySelector(Cu(n)))&&!p._p&&(S.instance=p,S.state.loading=5),Ya.has(n)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Ya.set(n,i),p||_b(h,n,i,S.state))),l&&s===null)throw Error(m(528,""));return S}if(l&&s!==null)throw Error(m(529,""));return null;case"script":return l=i.async,i=i.src,typeof i=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ws(i),i=Zu(h).hoistableScripts,s=i.get(l),s||(s={type:"script",instance:null,count:0,state:null},i.set(l,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(m(444,n))}}function sl(n){return'href="'+Ka(n)+'"'}function Cu(n){return'link[rel="stylesheet"]['+n+"]"}function oc(n){return O({},n,{"data-precedence":n.precedence,precedence:null})}function _b(n,l,i,s){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?s.loading=1:(l=n.createElement("link"),s.preload=l,l.addEventListener("load",function(){return s.loading|=1}),l.addEventListener("error",function(){return s.loading|=2}),ta(l,"link",i),ze(l),n.head.appendChild(l))}function ws(n){return'[src="'+Ka(n)+'"]'}function uc(n){return"script[async]"+n}function Gg(n,l,i){if(l.count++,l.instance===null)switch(l.type){case"style":var s=n.querySelector('style[data-href~="'+Ka(i.href)+'"]');if(s)return l.instance=s,ze(s),s;var h=O({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return s=(n.ownerDocument||n).createElement("style"),ze(s),ta(s,"style",h),id(s,i.precedence,n),l.instance=s;case"stylesheet":h=sl(i.href);var p=n.querySelector(Cu(h));if(p)return l.state.loading|=4,l.instance=p,ze(p),p;s=oc(i),(h=Ya.get(h))&&Um(s,h),p=(n.ownerDocument||n).createElement("link"),ze(p);var S=p;return S._p=new Promise(function(C,N){S.onload=C,S.onerror=N}),ta(p,"link",s),l.state.loading|=4,id(p,i.precedence,n),l.instance=p;case"script":return p=ws(i.src),(h=n.querySelector(uc(p)))?(l.instance=h,ze(h),h):(s=i,(h=Ya.get(p))&&(s=O({},i),_m(s,h)),n=n.ownerDocument||n,h=n.createElement("script"),ze(h),ta(h,"link",s),n.head.appendChild(h),l.instance=h);case"void":return null;default:throw Error(m(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(s=l.instance,l.state.loading|=4,id(s,i.precedence,n));return l.instance}function id(n,l,i){for(var s=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=s.length?s[s.length-1]:null,p=h,S=0;S<s.length;S++){var C=s[S];if(C.dataset.precedence===l)p=C;else if(p!==h)break}p?p.parentNode.insertBefore(n,p.nextSibling):(l=i.nodeType===9?i.head:i,l.insertBefore(n,l.firstChild))}function Um(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function _m(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var sc=null;function Xg(n,l,i){if(sc===null){var s=new Map,h=sc=new Map;h.set(i,s)}else h=sc,s=h.get(i),s||(s=new Map,h.set(i,s));if(s.has(n))return s;for(s.set(n,null),i=i.getElementsByTagName(n),h=0;h<i.length;h++){var p=i[h];if(!(p[bi]||p[Ne]||n==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!=="http://www.w3.org/2000/svg"){var S=p.getAttribute(l)||"";S=n+S;var C=s.get(S);C?C.push(p):s.set(S,[p])}}return s}function Nm(n,l,i){n=n.ownerDocument||n,n.head.insertBefore(i,l==="title"?n.querySelector("head > title"):null)}function Qg(n,l,i){if(i===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 Ga(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function ki(n,l,i,s){if(i.type==="stylesheet"&&(typeof s.media!="string"||matchMedia(s.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var h=sl(s.href),p=l.querySelector(Cu(h));if(p){l=p._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(n.count++,n=jm.bind(n),l.then(n,n)),i.state.loading|=4,i.instance=p,ze(p);return}p=l.ownerDocument||l,s=oc(s),(h=Ya.get(h))&&Um(s,h),p=p.createElement("link"),ze(p);var S=p;S._p=new Promise(function(C,N){S.onload=C,S.onerror=N}),ta(p,"link",s),i.instance=p}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(i,l),(l=i.state.preload)&&(i.state.loading&3)===0&&(n.count++,i=jm.bind(n),l.addEventListener("load",i),l.addEventListener("error",i))}}var rl=0;function Zg(n,l){return n.stylesheets&&n.count===0&&Vm(n,n.stylesheets),0<n.count||0<n.imgCount?function(i){var s=setTimeout(function(){if(n.stylesheets&&Vm(n,n.stylesheets),n.unsuspend){var p=n.unsuspend;n.unsuspend=null,p()}},6e4+l);0<n.imgBytes&&rl===0&&(rl=62500*Bg());var h=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Vm(n,n.stylesheets),n.unsuspend)){var p=n.unsuspend;n.unsuspend=null,p()}},(n.imgBytes>rl?50:800)+l);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(s),clearTimeout(h)}}:null}function jm(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Vm(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Bm=null;function Vm(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Bm=new Map,l.forEach(Xn,n),Bm=null,jm.call(n))}function Xn(n,l){if(!(l.state.loading&4)){var i=Bm.get(n);if(i)var s=i.get(null);else{i=new Map,Bm.set(n,i);for(var h=n.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<h.length;p++){var S=h[p];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(i.set(S.dataset.precedence,S),s=S)}s&&i.set(null,s)}h=l.instance,S=h.getAttribute("data-precedence"),p=i.get(S)||s,p===s&&i.set(null,h),i.set(S,h),this.count++,s=jm.bind(this),h.addEventListener("load",s),h.addEventListener("error",s),p?p.parentNode.insertBefore(h,p.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(h,n.firstChild)),l.state.loading|=4}}var od={$$typeof:ht,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function kg(n,l,i,s,h,p,S,C,N){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=kc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kc(0),this.hiddenUpdates=kc(null),this.identifierPrefix=s,this.onUncaughtError=h,this.onCaughtError=p,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function Hm(n,l,i,s,h,p,S,C,N,Z,et,rt){return n=new kg(n,l,i,S,N,Z,et,rt,C),l=1,p===!0&&(l|=24),p=rn(3,null,null,l),n.current=p,p.stateNode=n,l=mf(),l.refCount++,n.pooledCache=l,l.refCount++,p.memoizedState={element:s,isDehydrated:i,cache:l},Tf(p),n}function Us(n){return n?(n=va,n):va}function Nb(n,l,i,s,h,p){h=Us(h),s.context===null?s.context=h:s.pendingContext=h,s=xo(l),s.payload={element:i},p=p===void 0?null:p,p!==null&&(s.callback=p),i=el(n,s,l),i!==null&&(za(i,n,l),cu(i,n,l))}function Lm(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var i=n.retryLane;n.retryLane=i!==0&&i<l?i:l}}function Jg(n,l){Lm(n,l),(n=n.alternate)&&Lm(n,l)}function jb(n){if(n.tag===13||n.tag===31){var l=go(n,67108864);l!==null&&za(l,n,67108864),Jg(n,67108864)}}function _s(n){if(n.tag===13||n.tag===31){var l=qa();l=eh(l);var i=go(n,l);i!==null&&za(i,n,l),Jg(n,l)}}var wn=!0;function Ji(n,l,i,s){var h=j.T;j.T=null;var p=F.p;try{F.p=2,ea(n,l,i,s)}finally{F.p=p,j.T=h}}function Ki(n,l,i,s){var h=j.T;j.T=null;var p=F.p;try{F.p=8,ea(n,l,i,s)}finally{F.p=p,j.T=h}}function ea(n,l,i,s){if(wn){var h=Kg(s);if(h===null)Rg(n,l,s,qm,i),jo(n,s);else if(UT(h,n,l,i,s))s.stopPropagation();else if(jo(n,s),l&4&&-1<Ra.indexOf(n)){for(;h!==null;){var p=Qu(h);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var S=vl(p.pendingLanes);if(S!==0){var C=p;for(C.pendingLanes|=2,C.entangledLanes|=2;S;){var N=1<<31-ma(S);C.entanglements[1]|=N,S&=~N}Zi(p),(Ae&6)===0&&(Ce=In()+500,_o(0))}}break;case 31:case 13:C=go(p,2),C!==null&&za(C,p,2),Kr(),Jg(p,2)}if(p=Kg(s),p===null&&Rg(n,l,s,qm,i),p===h)break;h=p}h!==null&&s.stopPropagation()}else Rg(n,l,s,null,i)}}function Kg(n){return n=fh(n),rc(n)}var qm=null;function rc(n){if(qm=null,n=Xu(n),n!==null){var l=T(n);if(l===null)n=null;else{var i=l.tag;if(i===13){if(n=b(l),n!==null)return n;n=null}else if(i===31){if(n=A(l),n!==null)return n;n=null}else if(i===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return qm=n,null}function ud(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(yT()){case Id:return 2;case Pd:return 8;case Zo:case gT:return 32;case Zp:return 268435456;default:return 32}default:return 32}}var cc=!1,Un=null,na=null,ra=null,Mu=new Map,wl=new Map,Ie=[],Ra="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 jo(n,l){switch(n){case"focusin":case"focusout":Un=null;break;case"dragenter":case"dragleave":na=null;break;case"mouseover":case"mouseout":ra=null;break;case"pointerover":case"pointerout":Mu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":wl.delete(l.pointerId)}}function Ns(n,l,i,s,h,p){return n===null||n.nativeEvent!==p?(n={blockedOn:l,domEventName:i,eventSystemFlags:s,nativeEvent:p,targetContainers:[h]},l!==null&&(l=Qu(l),l!==null&&jb(l)),n):(n.eventSystemFlags|=s,l=n.targetContainers,h!==null&&l.indexOf(h)===-1&&l.push(h),n)}function UT(n,l,i,s,h){switch(l){case"focusin":return Un=Ns(Un,n,l,i,s,h),!0;case"dragenter":return na=Ns(na,n,l,i,s,h),!0;case"mouseover":return ra=Ns(ra,n,l,i,s,h),!0;case"pointerover":var p=h.pointerId;return Mu.set(p,Ns(Mu.get(p)||null,n,l,i,s,h)),!0;case"gotpointercapture":return p=h.pointerId,wl.set(p,Ns(wl.get(p)||null,n,l,i,s,h)),!0}return!1}function Bb(n){var l=Xu(n.target);if(l!==null){var i=T(l);if(i!==null){if(l=i.tag,l===13){if(l=b(i),l!==null){n.blockedOn=l,Kp(n.priority,function(){_s(i)});return}}else if(l===31){if(l=A(i),l!==null){n.blockedOn=l,Kp(n.priority,function(){_s(i)});return}}else if(l===3&&i.stateNode.current.memoizedState.isDehydrated){n.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}n.blockedOn=null}function sd(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var i=Kg(n.nativeEvent);if(i===null){i=n.nativeEvent;var s=new i.constructor(i.type,i);ch=s,i.target.dispatchEvent(s),ch=null}else return l=Qu(i),l!==null&&jb(l),n.blockedOn=i,!1;l.shift()}return!0}function fc(n,l,i){sd(n)&&i.delete(l)}function Vb(){cc=!1,Un!==null&&sd(Un)&&(Un=null),na!==null&&sd(na)&&(na=null),ra!==null&&sd(ra)&&(ra=null),Mu.forEach(fc),wl.forEach(fc)}function $i(n,l){n.blockedOn===l&&(n.blockedOn=null,cc||(cc=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Vb)))}var dc=null;function Hb(n){dc!==n&&(dc=n,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){dc===n&&(dc=null);for(var l=0;l<n.length;l+=3){var i=n[l],s=n[l+1],h=n[l+2];if(typeof s!="function"){if(rc(s||i)===null)continue;break}var p=Qu(i);p!==null&&(n.splice(l,3),l-=3,jr(p,{pending:!0,data:h,method:i.method,action:s},s,h))}}))}function hc(n){function l(N){return $i(N,n)}Un!==null&&$i(Un,n),na!==null&&$i(na,n),ra!==null&&$i(ra,n),Mu.forEach(l),wl.forEach(l);for(var i=0;i<Ie.length;i++){var s=Ie[i];s.blockedOn===n&&(s.blockedOn=null)}for(;0<Ie.length&&(i=Ie[0],i.blockedOn===null);)Bb(i),i.blockedOn===null&&Ie.shift();if(i=(n.ownerDocument||n).$$reactFormReplay,i!=null)for(s=0;s<i.length;s+=3){var h=i[s],p=i[s+1],S=h[pa]||null;if(typeof p=="function")S||Hb(i);else if(S){var C=null;if(p&&p.hasAttribute("formAction")){if(h=p,S=p[pa]||null)C=S.formAction;else if(rc(h)!==null)continue}else C=S.action;typeof C=="function"?i[s+1]=C:(i.splice(s,3),s-=3),Hb(i)}}}function $g(){function n(p){p.canIntercept&&p.info==="react-transition"&&p.intercept({handler:function(){return new Promise(function(S){return h=S})},focusReset:"manual",scroll:"manual"})}function l(){h!==null&&(h(),h=null),s||setTimeout(i,20)}function i(){if(!s&&!navigation.transition){var p=navigation.currentEntry;p&&p.url!=null&&navigation.navigate(p.url,{state:p.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var s=!1,h=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(i,100),function(){s=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),h!==null&&(h(),h=null)}}}function Ym(n){this._internalRoot=n}Gm.prototype.render=Ym.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(m(409));var i=l.current,s=qa();Nb(i,s,n,l,null,null)},Gm.prototype.unmount=Ym.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;Nb(n.current,2,null,n,null,null),Kr(),l[Jo]=null}};function Gm(n){this._internalRoot=n}Gm.prototype.unstable_scheduleHydration=function(n){if(n){var l=nh();n={blockedOn:null,target:n,priority:l};for(var i=0;i<Ie.length&&l!==0&&l<Ie[i].priority;i++);Ie.splice(i,0,n),i===0&&Bb(n)}};var Fg=r.version;if(Fg!=="19.2.0")throw Error(m(527,Fg,"19.2.0"));F.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(m(188)):(n=Object.keys(n).join(","),Error(m(268,n)));return n=z(l),n=n!==null?M(n):null,n=n===null?null:n.stateNode,n};var Lb={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:j,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var rd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rd.isDisabled&&rd.supportsFiber)try{Yu=rd.inject(Lb),Na=rd}catch{}}return Ap.createRoot=function(n,l){if(!v(n))throw Error(m(299));var i=!1,s="",h=Ph,p=Wy,S=tm;return l!=null&&(l.unstable_strictMode===!0&&(i=!0),l.identifierPrefix!==void 0&&(s=l.identifierPrefix),l.onUncaughtError!==void 0&&(h=l.onUncaughtError),l.onCaughtError!==void 0&&(p=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),l=Hm(n,1,!1,null,null,i,s,null,h,p,S,$g),n[Jo]=l.current,tc(n),new Ym(l)},Ap.hydrateRoot=function(n,l,i){if(!v(n))throw Error(m(299));var s=!1,h="",p=Ph,S=Wy,C=tm,N=null;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(h=i.identifierPrefix),i.onUncaughtError!==void 0&&(p=i.onUncaughtError),i.onCaughtError!==void 0&&(S=i.onCaughtError),i.onRecoverableError!==void 0&&(C=i.onRecoverableError),i.formState!==void 0&&(N=i.formState)),l=Hm(n,1,!0,l,i??null,s,h,N,p,S,C,$g),l.context=Us(null),i=l.current,s=qa(),s=eh(s),h=xo(s),h.callback=null,el(i,h,s),i=s,l.current.lanes=i,or(l,i),Zi(l),n[Jo]=l.current,tc(n),new Gm(l)},Ap.version="19.2.0",Ap}var Ep={};/**
55
+ * @license React
56
+ * react-dom-client.development.js
57
+ *
58
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
59
+ *
60
+ * This source code is licensed under the MIT license found in the
61
+ * LICENSE file in the root directory of this source tree.
62
+ */var I2;function VM(){return I2||(I2=1,process.env.NODE_ENV!=="production"&&(function(){function u(t,e){for(t=t.memoizedState;t!==null&&0<e;)t=t.next,e--;return t}function r(t,e,a,o){if(a>=e.length)return o;var c=e[a],f=Dn(t)?t.slice():le({},t);return f[c]=r(t[c],e,a+1,o),f}function d(t,e,a){if(e.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<a.length-1;o++)if(e[o]!==a[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return m(t,e,a,0)}}function m(t,e,a,o){var c=e[o],f=Dn(t)?t.slice():le({},t);return o+1===e.length?(f[a[o]]=f[c],Dn(f)?f.splice(c,1):delete f[c]):f[c]=m(t[c],e,a,o+1),f}function v(t,e,a){var o=e[a],c=Dn(t)?t.slice():le({},t);return a+1===e.length?(Dn(c)?c.splice(o,1):delete c[o],c):(c[o]=v(t[o],e,a+1),c)}function T(){return!1}function b(){return null}function A(){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 x(){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 z(){}function M(){}function O(t){var e=[];return t.forEach(function(a){e.push(a)}),e.sort().join(", ")}function w(t,e,a,o){return new xT(t,e,a,o)}function Q(t,e){t.context===gc&&(Cm(t.current,2,e,t,null,null),ol())}function X(t,e){if(Ii!==null){var a=e.staleFamilies;e=e.updatedFamilies,qf(),Rv(t.current,e,a),ol()}}function lt(t){Ii=t}function ot(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function nt(t){var e=t,a=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(a=e.return),t=e.return;while(t)}return e.tag===3?a:null}function dt(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function ht(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function Tt(t){if(nt(t)!==t)throw Error("Unable to find node on an unmounted component.")}function St(t){var e=t.alternate;if(!e){if(e=nt(t),e===null)throw Error("Unable to find node on an unmounted component.");return e!==t?null:t}for(var a=t,o=e;;){var c=a.return;if(c===null)break;var f=c.alternate;if(f===null){if(o=c.return,o!==null){a=o;continue}break}if(c.child===f.child){for(f=c.child;f;){if(f===a)return Tt(c),t;if(f===o)return Tt(c),e;f=f.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==o.return)a=c,o=f;else{for(var y=!1,g=c.child;g;){if(g===a){y=!0,a=c,o=f;break}if(g===o){y=!0,o=c,a=f;break}g=g.sibling}if(!y){for(g=f.child;g;){if(g===a){y=!0,a=f,o=c;break}if(g===o){y=!0,o=f,a=c;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!==o)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?t:e}function bt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=bt(t),e!==null)return e;t=t.sibling}return null}function Dt(t){return t===null||typeof t!="object"?null:(t=Ub&&t[Ub]||t["@@iterator"],typeof t=="function"?t:null)}function I(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===lc?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case nc:return"Fragment";case ad:return"Profiler";case Oa:return"StrictMode";case Rs:return"Suspense";case Ya:return"SuspenseList";case oi:return"Activity"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case xu:return"Portal";case ii:return t.displayName||"Context";case wm:return(t._context.displayName||"Context")+".Consumer";case ac:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case ld:return e=t.displayName||null,e!==null?e:I(t.type)||"Memo";case sa:e=t._payload,t=t._init;try{return I(t(e))}catch{}}return null}function wt(t){return typeof t.tag=="number"?yt(t):typeof t.name=="string"?t.name:null}function yt(t){var e=t.type;switch(t.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(e._context.displayName||"Context")+".Consumer";case 10:return e.displayName||"Context";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return I(e);case 8:return e===Oa?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;break;case 29:if(e=t._debugInfo,e!=null){for(var a=e.length-1;0<=a;a--)if(typeof e[a].name=="string")return e[a].name}if(t.return!==null)return yt(t.return)}return null}function Qt(t){return{current:t}}function Bt(t,e){0>No?console.error("Unexpected pop."):(e!==Yg[No]&&console.error("Unexpected Fiber popped."),t.current=qg[No],qg[No]=null,Yg[No]=null,No--)}function Vt(t,e,a){No++,qg[No]=t.current,Yg[No]=a,t.current=e}function Lt(t){return t===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),t}function Gt(t,e){Vt(sl,e,t),Vt(ic,t,t),Vt(Du,null,t);var a=e.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",e=(e=e.documentElement)&&(e=e.namespaceURI)?ib(e):Ks;break;default:if(a=e.tagName,e=e.namespaceURI)e=ib(e),e=wo(e,a);else switch(a){case"svg":e=vp;break;case"math":e=R1;break;default:e=Ks}}a=a.toLowerCase(),a=Ip(null,a),a={context:e,ancestorInfo:a},Bt(Du,t),Vt(Du,a,t)}function j(t){Bt(Du,t),Bt(ic,t),Bt(sl,t)}function F(){return Lt(Du.current)}function k(t){t.memoizedState!==null&&Vt(Cu,t,t);var e=Lt(Du.current),a=t.type,o=wo(e.context,a);a=Ip(e.ancestorInfo,a),o={context:o,ancestorInfo:a},e!==o&&(Vt(ic,t,t),Vt(Du,o,t))}function gt(t){ic.current===t&&(Bt(Du,t),Bt(ic,t)),Cu.current===t&&(Bt(Cu,t),L0._currentValue=Ud)}function Mt(){}function Y(){if(oc===0){_b=console.log,ws=console.info,uc=console.warn,Gg=console.error,id=console.group,Um=console.groupCollapsed,_m=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Mt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}oc++}function pt(){if(oc--,oc===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:le({},t,{value:_b}),info:le({},t,{value:ws}),warn:le({},t,{value:uc}),error:le({},t,{value:Gg}),group:le({},t,{value:id}),groupCollapsed:le({},t,{value:Um}),groupEnd:le({},t,{value:_m})})}0>oc&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function st(t){var e=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,t=t.stack,Error.prepareStackTrace=e,t.startsWith(`Error: react-stack-top-frame
63
+ `)&&(t=t.slice(29)),e=t.indexOf(`
64
+ `),e!==-1&&(t=t.slice(e+1)),e=t.indexOf("react_stack_bottom_frame"),e!==-1&&(e=t.lastIndexOf(`
65
+ `,e)),e!==-1)t=t.slice(0,e);else return"";return t}function ft(t){if(sc===void 0)try{throw Error()}catch(a){var e=a.stack.trim().match(/\n( *(at )?)/);sc=e&&e[1]||"",Xg=-1<a.stack.indexOf(`
66
+ at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
67
+ `+sc+t+Xg}function Ht(t,e){if(!t||Nm)return"";var a=Qg.get(t);if(a!==void 0)return a;Nm=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=P.H,P.H=null,Y();try{var c={DetermineComponentFrameRoot:function(){try{if(e){var U=function(){throw Error()};if(Object.defineProperty(U.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(U,[])}catch(vt){var K=vt}Reflect.construct(t,[],U)}else{try{U.call()}catch(vt){K=vt}t.call(U.prototype)}}else{try{throw Error()}catch(vt){K=vt}(U=t())&&typeof U.catch=="function"&&U.catch(function(){})}}catch(vt){if(vt&&K&&typeof vt.stack=="string")return[vt.stack,K.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 y=c.DetermineComponentFrameRoot(),g=y[0],E=y[1];if(g&&E){var D=g.split(`
68
+ `),V=E.split(`
69
+ `);for(y=f=0;f<D.length&&!D[f].includes("DetermineComponentFrameRoot");)f++;for(;y<V.length&&!V[y].includes("DetermineComponentFrameRoot");)y++;if(f===D.length||y===V.length)for(f=D.length-1,y=V.length-1;1<=f&&0<=y&&D[f]!==V[y];)y--;for(;1<=f&&0<=y;f--,y--)if(D[f]!==V[y]){if(f!==1||y!==1)do if(f--,y--,0>y||D[f]!==V[y]){var L=`
70
+ `+D[f].replace(" at new "," at ");return t.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",t.displayName)),typeof t=="function"&&Qg.set(t,L),L}while(1<=f&&0<=y);break}}}finally{Nm=!1,P.H=o,pt(),Error.prepareStackTrace=a}return D=(D=t?t.displayName||t.name:"")?ft(D):"",typeof t=="function"&&Qg.set(t,D),D}function xe(t,e){switch(t.tag){case 26:case 27:case 5:return ft(t.type);case 16:return ft("Lazy");case 13:return t.child!==e&&e!==null?ft("Suspense Fallback"):ft("Suspense");case 19:return ft("SuspenseList");case 0:case 15:return Ht(t.type,!1);case 11:return Ht(t.type.render,!1);case 1:return Ht(t.type,!0);case 31:return ft("Activity");default:return""}}function xt(t){try{var e="",a=null;do{e+=xe(t,a);var o=t._debugInfo;if(o)for(var c=o.length-1;0<=c;c--){var f=o[c];if(typeof f.name=="string"){var y=e;t:{var g=f.name,E=f.env,D=f.debugLocation;if(D!=null){var V=st(D),L=V.lastIndexOf(`
71
+ `),U=L===-1?V:V.slice(L+1);if(U.indexOf(g)!==-1){var K=`
72
+ `+U;break t}}K=ft(g+(E?" ["+E+"]":""))}e=y+K}}a=t,t=t.return}while(t);return e}catch(vt){return`
73
+ Error generating stack: `+vt.message+`
74
+ `+vt.stack}}function be(t){return(t=t?t.displayName||t.name:"")?ft(t):""}function It(){if(Ga===null)return null;var t=Ga._debugOwner;return t!=null?wt(t):null}function Kt(){if(Ga===null)return"";var t=Ga;try{var e="";switch(t.tag===6&&(t=t.return),t.tag){case 26:case 27:case 5:e+=ft(t.type);break;case 13:e+=ft("Suspense");break;case 19:e+=ft("SuspenseList");break;case 31:e+=ft("Activity");break;case 30:case 0:case 15:case 1:t._debugOwner||e!==""||(e+=be(t.type));break;case 11:t._debugOwner||e!==""||(e+=be(t.type.render))}for(;t;)if(typeof t.tag=="number"){var a=t;t=a._debugOwner;var o=a._debugStack;if(t&&o){var c=st(o);c!==""&&(e+=`
75
+ `+c)}}else if(t.debugStack!=null){var f=t.debugStack;(t=t.owner)&&f&&(e+=`
76
+ `+st(f))}else break;var y=e}catch(g){y=`
77
+ Error generating stack: `+g.message+`
78
+ `+g.stack}return y}function mt(t,e,a,o,c,f,y){var g=Ga;se(t);try{return t!==null&&t._debugTask?t._debugTask.run(e.bind(null,a,o,c,f,y)):e(a,o,c,f,y)}finally{se(g)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function se(t){P.getCurrentStack=t===null?null:Kt,ki=!1,Ga=t}function nn(t){return typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object"}function gi(t){try{return Lu(t),!1}catch{return!0}}function Lu(t){return""+t}function _e(t,e){if(gi(t))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",e,nn(t)),Lu(t)}function Gp(t,e){if(gi(t))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.",e,nn(t)),Lu(t)}function Fd(t){if(gi(t))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.",nn(t)),Lu(t)}function Xp(t){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled)return!0;if(!e.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{_s=e.inject(t),wn=e}catch(a){console.error("React instrumentation encountered an error: %o.",a)}return!!e.checkDCE}function Ye(t){if(typeof Jg=="function"&&jb(t),wn&&typeof wn.setStrictMode=="function")try{wn.setStrictMode(_s,t)}catch(e){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",e))}}function Qp(t){return t>>>=0,t===0?32:31-(Kg(t)/qm|0)|0}function qu(t){var e=t&42;if(e!==0)return e;switch(t&-t){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:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&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."),t}}function Wd(t,e,a){var o=t.pendingLanes;if(o===0)return 0;var c=0,f=t.suspendedLanes,y=t.pingedLanes;t=t.warmLanes;var g=o&134217727;return g!==0?(o=g&~f,o!==0?c=qu(o):(y&=g,y!==0?c=qu(y):a||(a=g&~t,a!==0&&(c=qu(a))))):(g=o&~f,g!==0?c=qu(g):y!==0?c=qu(y):a||(a=o&~t,a!==0&&(c=qu(a)))),c===0?0:e!==0&&e!==c&&(e&f)===0&&(f=c&-c,a=e&-e,f>=a||f===32&&(a&4194048)!==0)?e:c}function In(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function yT(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Id(){var t=cc;return cc<<=1,(cc&62914560)===0&&(cc=4194304),t}function Pd(t){for(var e=[],a=0;31>a;a++)e.push(t);return e}function Zo(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function gT(t,e,a,o,c,f){var y=t.pendingLanes;t.pendingLanes=a,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=a,t.entangledLanes&=a,t.errorRecoveryDisabledLanes&=a,t.shellSuspendCounter=0;var g=t.entanglements,E=t.expirationTimes,D=t.hiddenUpdates;for(a=y&~a;0<a;){var V=31-ea(a),L=1<<V;g[V]=0,E[V]=-1;var U=D[V];if(U!==null)for(D[V]=null,V=0;V<U.length;V++){var K=U[V];K!==null&&(K.lane&=-536870913)}a&=~L}o!==0&&Zp(t,o,0),f!==0&&c===0&&t.tag!==0&&(t.suspendedLanes|=f&~(y&~e))}function Zp(t,e,a){t.pendingLanes|=e,t.suspendedLanes&=~e;var o=31-ea(e);t.entangledLanes|=e,t.entanglements[o]=t.entanglements[o]|1073741824|a&261930}function dv(t,e){var a=t.entangledLanes|=e;for(t=t.entanglements;a;){var o=31-ea(a),c=1<<o;c&e|t[o]&e&&(t[o]|=e),a&=~c}}function hv(t,e){var a=e&-e;return a=(a&42)!==0?1:Yu(a),(a&(t.suspendedLanes|e))!==0?0:a}function Yu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Na(t,e,a){if(Ki)for(t=t.pendingUpdatersLaneMap;0<a;){var o=31-ea(a),c=1<<o;t[o].add(e),a&=~c}}function co(t,e){if(Ki)for(var a=t.pendingUpdatersLaneMap,o=t.memoizedUpdaters;0<e;){var c=31-ea(e);t=1<<c,c=a[c],0<c.size&&(c.forEach(function(f){var y=f.alternate;y!==null&&o.has(y)||o.add(f)}),c.clear()),e&=~t}}function ma(t){return t&=-t,Un<t?na<t?(t&134217727)!==0?ra:Mu:na:Un}function mv(){var t=Me.p;return t!==0?t:(t=window.event,t===void 0?ra:zm(t.type))}function pv(t,e){var a=Me.p;try{return Me.p=t,e()}finally{Me.p=a}}function kp(t){delete t[Ie],delete t[Ra],delete t[Ns],delete t[UT],delete t[Bb]}function fo(t){var e=t[Ie];if(e)return e;for(var a=t.parentNode;a;){if(e=a[jo]||a[Ie]){if(a=e.alternate,e.child!==null||a!==null&&a.child!==null)for(t=Cs(t);t!==null;){if(a=t[Ie])return a;t=Cs(t)}return e}t=a,a=t.parentNode}return null}function Bl(t){if(t=t[Ie]||t[jo]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function ko(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function vl(t){var e=t[sd];return e||(e=t[sd]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function yn(t){t[fc]=!0}function Vl(t,e){ir(t,e),ir(t+"Capture",e)}function ir(t,e){$i[t]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",t),$i[t]=e;var a=t.toLowerCase();for(dc[a]=t,t==="onDoubleClick"&&(dc.ondblclick=t),t=0;t<e.length;t++)Vb.add(e[t])}function Gu(t,e){Hb[e.type]||e.onChange||e.onInput||e.readOnly||e.disabled||e.value==null||console.error(t==="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`."),e.onChange||e.readOnly||e.disabled||e.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 kc(t){return rl.call(Ym,t)?!0:rl.call($g,t)?!1:hc.test(t)?Ym[t]=!0:($g[t]=!0,console.error("Invalid attribute name: `%s`",t),!1)}function or(t,e,a){if(kc(e)){if(!t.hasAttribute(e)){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 t=t.getAttribute(e),t===""&&a===!0?!0:(_e(a,e),t===""+a?a:t)}}function th(t,e,a){if(kc(e))if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var o=e.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){t.removeAttribute(e);return}}_e(a,e),t.setAttribute(e,""+a)}}function Jc(t,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}_e(a,e),t.setAttribute(e,""+a)}}function vi(t,e,a,o){if(o===null)t.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(a);return}_e(o,a),t.setAttributeNS(e,a,""+o)}}function ka(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return Fd(t),t;default:return""}}function eh(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Jp(t,e,a){var o=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var c=o.get,f=o.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return c.call(this)},set:function(y){Fd(y),a=""+y,f.call(this,y)}}),Object.defineProperty(t,e,{enumerable:o.enumerable}),{getValue:function(){return a},setValue:function(y){Fd(y),a=""+y},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function nh(t){if(!t._valueTracker){var e=eh(t)?"checked":"value";t._valueTracker=Jp(t,e,""+t[e])}}function Kp(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var a=e.getValue(),o="";return t&&(o=eh(t)?t.checked?"true":"false":t.value),t=o,t!==a?(e.setValue(t),!0):!1}function Hl(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Ne(t){return t.replace(Gm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function pa(t,e){e.checked===void 0||e.defaultChecked===void 0||Lb||(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",It()||"A component",e.type),Lb=!0),e.value===void 0||e.defaultValue===void 0||Fg||(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",It()||"A component",e.type),Fg=!0)}function Jo(t,e,a,o,c,f,y,g){t.name="",y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?(_e(y,"type"),t.type=y):t.removeAttribute("type"),e!=null?y==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+ka(e)):t.value!==""+ka(e)&&(t.value=""+ka(e)):y!=="submit"&&y!=="reset"||t.removeAttribute("value"),e!=null?$p(t,y,ka(e)):a!=null?$p(t,y,ka(a)):o!=null&&t.removeAttribute("value"),c==null&&f!=null&&(t.defaultChecked=!!f),c!=null&&(t.checked=c&&typeof c!="function"&&typeof c!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?(_e(g,"name"),t.name=""+ka(g)):t.removeAttribute("name")}function ah(t,e,a,o,c,f,y,g){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(_e(f,"type"),t.type=f),e!=null||a!=null){if(!(f!=="submit"&&f!=="reset"||e!=null)){nh(t);return}a=a!=null?""+ka(a):"",e=e!=null?""+ka(e):a,g||e===t.value||(t.value=e),t.defaultValue=e}o=o??c,o=typeof o!="function"&&typeof o!="symbol"&&!!o,t.checked=g?t.checked:!!o,t.defaultChecked=!!o,y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(_e(y,"name"),t.name=y),nh(t)}function $p(t,e,a){e==="number"&&Hl(t.ownerDocument)===t||t.defaultValue===""+a||(t.defaultValue=""+a)}function yv(t,e){e.value==null&&(typeof e.children=="object"&&e.children!==null?nd.Children.forEach(e.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||n||(n=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):e.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),e.selected==null||rd||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),rd=!0)}function Fp(){var t=It();return t?`
79
+
80
+ Check the render method of \``+t+"`.":""}function bi(t,e,a,o){if(t=t.options,e){e={};for(var c=0;c<a.length;c++)e["$"+a[c]]=!0;for(a=0;a<t.length;a++)c=e.hasOwnProperty("$"+t[a].value),t[a].selected!==c&&(t[a].selected=c),c&&o&&(t[a].defaultSelected=!0)}else{for(a=""+ka(a),e=null,c=0;c<t.length;c++){if(t[c].value===a){t[c].selected=!0,o&&(t[c].defaultSelected=!0);return}e!==null||t[c].disabled||(e=t[c])}e!==null&&(e.selected=!0)}}function lh(t,e){for(t=0;t<s.length;t++){var a=s[t];if(e[a]!=null){var o=Dn(e[a]);e.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,Fp()):!e.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,Fp())}}e.value===void 0||e.defaultValue===void 0||i||(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"),i=!0)}function Xu(t,e){e.value===void 0||e.defaultValue===void 0||h||(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",It()||"A component"),h=!0),e.children!=null&&e.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function Qu(t,e,a){if(e!=null&&(e=""+ka(e),e!==t.value&&(t.value=e),a==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=a!=null?""+ka(a):""}function ur(t,e,a,o){if(e==null){if(o!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Dn(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}a=o}a==null&&(a=""),e=a}a=ka(e),t.defaultValue=a,o=t.textContent,o===a&&o!==""&&o!==null&&(t.value=o),nh(t)}function Zu(t,e){return t.serverProps===void 0&&t.serverTail.length===0&&t.children.length===1&&3<t.distanceFromLeaf&&t.distanceFromLeaf>15-e?Zu(t.children[0],e):t}function ze(t){return" "+" ".repeat(t)}function ku(t){return"+ "+" ".repeat(t)}function Ko(t){return"- "+" ".repeat(t)}function $o(t){switch(t.tag){case 26:case 27:case 5:return t.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return t=t.type,t.displayName||t.name||null;case 11:return t=t.type.render,t.displayName||t.name||null;case 1:return t=t.type,t.displayName||t.name||null;default:return null}}function Si(t,e){return p.test(t)?(t=JSON.stringify(t),t.length>e-2?8>e?'{"..."}':"{"+t.slice(0,e-7)+'..."}':"{"+t+"}"):t.length>e?5>e?'{"..."}':t.slice(0,e-3)+"...":t}function ih(t,e,a){var o=120-2*a;if(e===null)return ku(a)+Si(t,o)+`
81
+ `;if(typeof e=="string"){for(var c=0;c<e.length&&c<t.length&&e.charCodeAt(c)===t.charCodeAt(c);c++);return c>o-8&&10<c&&(t="..."+t.slice(c-8),e="..."+e.slice(c-8)),ku(a)+Si(t,o)+`
82
+ `+Ko(a)+Si(e,o)+`
83
+ `}return ze(a)+Si(t,o)+`
84
+ `}function oh(t){return Object.prototype.toString.call(t).replace(/^\[object (.*)\]$/,function(e,a){return a})}function sr(t,e){switch(typeof t){case"string":return t=JSON.stringify(t),t.length>e?5>e?'"..."':t.slice(0,e-4)+'..."':t;case"object":if(t===null)return"null";if(Dn(t))return"[...]";if(t.$$typeof===Rl)return(e=I(t.type))?"<"+e+">":"<...>";var a=oh(t);if(a==="Object"){a="",e-=2;for(var o in t)if(t.hasOwnProperty(o)){var c=JSON.stringify(o);if(c!=='"'+o+'"'&&(o=c),e-=o.length-2,c=sr(t[o],15>e?e:15),e-=c.length,0>e){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+o+":"+c}return"{"+a+"}"}return a;case"function":return(e=t.displayName||t.name)?"function "+e:"function";default:return String(t)}}function rr(t,e){return typeof t!="string"||p.test(t)?"{"+sr(t,e-2)+"}":t.length>e-2?5>e?'"..."':'"'+t.slice(0,e-5)+'..."':'"'+t+'"'}function cr(t,e,a){var o=120-a.length-t.length,c=[],f;for(f in e)if(e.hasOwnProperty(f)&&f!=="children"){var y=rr(e[f],120-a.length-f.length-1);o-=f.length+y.length+2,c.push(f+"="+y)}return c.length===0?a+"<"+t+`>
85
+ `:0<o?a+"<"+t+" "+c.join(" ")+`>
86
+ `:a+"<"+t+`
87
+ `+a+" "+c.join(`
88
+ `+a+" ")+`
89
+ `+a+`>
90
+ `}function uh(t,e,a){var o="",c=le({},e),f;for(f in t)if(t.hasOwnProperty(f)){delete c[f];var y=120-2*a-f.length-2,g=sr(t[f],y);e.hasOwnProperty(f)?(y=sr(e[f],y),o+=ku(a)+f+": "+g+`
91
+ `,o+=Ko(a)+f+": "+y+`
92
+ `):o+=ku(a)+f+": "+g+`
93
+ `}for(var E in c)c.hasOwnProperty(E)&&(t=sr(c[E],120-2*a-E.length-2),o+=Ko(a)+E+": "+t+`
94
+ `);return o}function ho(t,e,a,o){var c="",f=new Map;for(D in a)a.hasOwnProperty(D)&&f.set(D.toLowerCase(),D);if(f.size===1&&f.has("children"))c+=cr(t,e,ze(o));else{for(var y in e)if(e.hasOwnProperty(y)&&y!=="children"){var g=120-2*(o+1)-y.length-1,E=f.get(y.toLowerCase());if(E!==void 0){f.delete(y.toLowerCase());var D=e[y];E=a[E];var V=rr(D,g);g=rr(E,g),typeof D=="object"&&D!==null&&typeof E=="object"&&E!==null&&oh(D)==="Object"&&oh(E)==="Object"&&(2<Object.keys(D).length||2<Object.keys(E).length||-1<V.indexOf("...")||-1<g.indexOf("..."))?c+=ze(o+1)+y+`={{
95
+ `+uh(D,E,o+2)+ze(o+1)+`}}
96
+ `:(c+=ku(o+1)+y+"="+V+`
97
+ `,c+=Ko(o+1)+y+"="+g+`
98
+ `)}else c+=ze(o+1)+y+"="+rr(e[y],g)+`
99
+ `}f.forEach(function(L){if(L!=="children"){var U=120-2*(o+1)-L.length-1;c+=Ko(o+1)+L+"="+rr(a[L],U)+`
100
+ `}}),c=c===""?ze(o)+"<"+t+`>
101
+ `:ze(o)+"<"+t+`
102
+ `+c+ze(o)+`>
103
+ `}return t=a.children,e=e.children,typeof t=="string"||typeof t=="number"||typeof t=="bigint"?(f="",(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(f=""+e),c+=ih(f,""+t,o+1)):(typeof e=="string"||typeof e=="number"||typeof e=="bigint")&&(c=t==null?c+ih(""+e,null,o+1):c+ih(""+e,void 0,o+1)),c}function Ja(t,e){var a=$o(t);if(a===null){for(a="",t=t.child;t;)a+=Ja(t,e),t=t.sibling;return a}return ze(e)+"<"+a+`>
104
+ `}function sh(t,e){var a=Zu(t,e);if(a!==t&&(t.children.length!==1||t.children[0]!==a))return ze(e)+`...
105
+ `+sh(a,e+1);a="";var o=t.fiber._debugInfo;if(o)for(var c=0;c<o.length;c++){var f=o[c].name;typeof f=="string"&&(a+=ze(e)+"<"+f+`>
106
+ `,e++)}if(o="",c=t.fiber.pendingProps,t.fiber.tag===6)o=ih(c,t.serverProps,e),e++;else if(f=$o(t.fiber),f!==null)if(t.serverProps===void 0){o=e;var y=120-2*o-f.length-2,g="";for(D in c)if(c.hasOwnProperty(D)&&D!=="children"){var E=rr(c[D],15);if(y-=D.length+E.length+2,0>y){g+=" ...";break}g+=" "+D+"="+E}o=ze(o)+"<"+f+g+`>
107
+ `,e++}else t.serverProps===null?(o=cr(f,c,ku(e)),e++):typeof t.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=ho(f,c,t.serverProps,e),e++);var D="";for(c=t.fiber.child,f=0;c&&f<t.children.length;)y=t.children[f],y.fiber===c?(D+=sh(y,e),f++):D+=Ja(c,e),c=c.sibling;for(c&&0<t.children.length&&(D+=ze(e)+`...
108
+ `),c=t.serverTail,t.serverProps===null&&e--,t=0;t<c.length;t++)f=c[t],D=typeof f=="string"?D+(Ko(e)+Si(f,120-2*e)+`
109
+ `):D+cr(f.type,f.props,Ko(e));return a+o+D}function Wp(t){try{return`
110
+
111
+ `+sh(t,0)}catch{return""}}function rh(t,e,a){for(var o=e,c=null,f=0;o;)o===t&&(f=0),c={fiber:o,children:c!==null?[c]:[],serverProps:o===e?a:o===t?null:void 0,serverTail:[],distanceFromLeaf:f},f++,o=o.return;return c!==null?Wp(c).replaceAll(/^[+-]/gm,">"):""}function Ip(t,e){var a=le({},t||et),o={tag:e};return C.indexOf(e)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),N.indexOf(e)!==-1&&(a.pTagInButtonScope=null),S.indexOf(e)!==-1&&e!=="address"&&e!=="div"&&e!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=o,e==="form"&&(a.formTag=o),e==="a"&&(a.aTagInScope=o),e==="button"&&(a.buttonTagInScope=o),e==="nobr"&&(a.nobrTagInScope=o),e==="p"&&(a.pTagInButtonScope=o),e==="li"&&(a.listItemTagAutoclosing=o),(e==="dd"||e==="dt")&&(a.dlItemTagAutoclosing=o),e==="#document"||e==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=o),t!==null||e!=="#document"&&e!=="html"&&e!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Kc(t,e,a){switch(e){case"select":return t==="hr"||t==="option"||t==="optgroup"||t==="script"||t==="template"||t==="#text";case"optgroup":return t==="option"||t==="#text";case"option":return t==="#text";case"tr":return t==="th"||t==="td"||t==="style"||t==="script"||t==="template";case"tbody":case"thead":case"tfoot":return t==="tr"||t==="style"||t==="script"||t==="template";case"colgroup":return t==="col"||t==="template";case"table":return t==="caption"||t==="colgroup"||t==="tbody"||t==="tfoot"||t==="thead"||t==="style"||t==="script"||t==="template";case"head":return t==="base"||t==="basefont"||t==="bgsound"||t==="link"||t==="meta"||t==="title"||t==="noscript"||t==="noframes"||t==="style"||t==="script"||t==="template";case"html":if(a)break;return t==="head"||t==="body"||t==="frameset";case"frameset":return t==="frame";case"#document":if(!a)return t==="html"}switch(t){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return e!=="h1"&&e!=="h2"&&e!=="h3"&&e!=="h4"&&e!=="h5"&&e!=="h6";case"rp":case"rt":return Z.indexOf(e)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return e==null;case"head":return a||e===null;case"html":return a&&e==="#document"||e===null;case"body":return a&&(e==="#document"||e==="html")||e===null}return!0}function vT(t,e){switch(t){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 e.pTagInButtonScope;case"form":return e.formTag||e.pTagInButtonScope;case"li":return e.listItemTagAutoclosing;case"dd":case"dt":return e.dlItemTagAutoclosing;case"button":return e.buttonTagInScope;case"a":return e.aTagInScope;case"nobr":return e.nobrTagInScope}return null}function Ka(t,e){for(;t;){switch(t.tag){case 5:case 26:case 27:if(t.type===e)return t}t=t.return}return null}function $c(t,e){e=e||et;var a=e.current;if(e=(a=Kc(t,a&&a.tag,e.implicitRootScope)?null:a)?null:vT(t,e),e=a||e,!e)return!0;var o=e.tag;if(e=String(!!a)+"|"+t+"|"+o,rt[e])return!1;rt[e]=!0;var c=(e=Ga)?Ka(e.return,o):null,f=e!==null&&c!==null?rh(c,e,null):"",y="<"+t+">";return a?(a="",o==="table"&&t==="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
112
+ This will cause a hydration error.%s`,y,o,a,f)):console.error(`In HTML, %s cannot be a descendant of <%s>.
113
+ This will cause a hydration error.%s`,y,o,f),e&&(t=e.return,c===null||t===null||c===t&&t._debugOwner===e._debugOwner||mt(c,function(){console.error(`<%s> cannot contain a nested %s.
114
+ See this log for the ancestor stack trace.`,o,y)})),!1}function Fc(t,e,a){if(a||Kc("#text",e,!1))return!0;if(a="#text|"+e,rt[a])return!1;rt[a]=!0;var o=(a=Ga)?Ka(a,e):null;return a=a!==null&&o!==null?rh(o,a,a.tag!==6?{children:null}:null):"",/\S/.test(t)?console.error(`In HTML, text nodes cannot be a child of <%s>.
115
+ This will cause a hydration error.%s`,e,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.
116
+ This will cause a hydration error.%s`,e,a),!1}function Ju(t,e){if(e){var a=t.firstChild;if(a&&a===t.lastChild&&a.nodeType===3){a.nodeValue=e;return}}t.textContent=e}function fr(t){return t.replace(q,function(e,a){return a.toUpperCase()})}function Pp(t,e,a){var o=e.indexOf("--")===0;o||(-1<e.indexOf("-")?G.hasOwnProperty(e)&&G[e]||(G[e]=!0,console.error("Unsupported style property %s. Did you mean %s?",e,fr(e.replace(He,"ms-")))):qt.test(e)?G.hasOwnProperty(e)&&G[e]||(G[e]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1))):!H.test(a)||it.hasOwnProperty(a)&&it[a]||(it[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,e,a.replace(H,""))),typeof a=="number"&&(isNaN(a)?_t||(_t=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",e)):isFinite(a)||Se||(Se=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",e)))),a==null||typeof a=="boolean"||a===""?o?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":o?t.setProperty(e,a):typeof a!="number"||a===0||Rt.has(e)?e==="float"?t.cssFloat=a:(Gp(a,e),t[e]=(""+a).trim()):t[e]=a+"px"}function ty(t,e,a){if(e!=null&&typeof e!="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(e&&Object.freeze(e),t=t.style,a!=null){if(e){var o={};if(a){for(var c in a)if(a.hasOwnProperty(c)&&!e.hasOwnProperty(c))for(var f=J[c]||[c],y=0;y<f.length;y++)o[f[y]]=c}for(var g in e)if(e.hasOwnProperty(g)&&(!a||a[g]!==e[g]))for(c=J[g]||[g],f=0;f<c.length;f++)o[c[f]]=g;g={};for(var E in e)for(c=J[E]||[E],f=0;f<c.length;f++)g[c[f]]=E;E={};for(var D in o)if(c=o[D],(f=g[D])&&c!==f&&(y=c+","+f,!E[y])){E[y]=!0,y=console;var V=e[c];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.",V==null||typeof V=="boolean"||V===""?"Removing":"Updating",c,f)}}for(var L in a)!a.hasOwnProperty(L)||e!=null&&e.hasOwnProperty(L)||(L.indexOf("--")===0?t.setProperty(L,""):L==="float"?t.cssFloat="":t[L]="");for(var U in e)D=e[U],e.hasOwnProperty(U)&&a[U]!==D&&Pp(t,U,D)}else for(o in e)e.hasOwnProperty(o)&&Pp(t,o,e[o])}function Ti(t){if(t.indexOf("-")===-1)return!1;switch(t){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 gv(t){return Ee.get(t)||t}function vv(t,e){if(rl.call(Xm,e)&&Xm[e])return!0;if($4.test(e)){if(t="aria-"+e.slice(4).toLowerCase(),t=qb.hasOwnProperty(t)?t:null,t==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",e),Xm[e]=!0;if(e!==t)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",e,t),Xm[e]=!0}if(K4.test(e)){if(t=e.toLowerCase(),t=qb.hasOwnProperty(t)?t:null,t==null)return Xm[e]=!0,!1;e!==t&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",e,t),Xm[e]=!0)}return!0}function bv(t,e){var a=[],o;for(o in e)vv(t,o)||a.push(o);e=a.map(function(c){return"`"+c+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",e,t)}function ey(t,e,a,o){if(rl.call(cl,e)&&cl[e])return!0;var c=e.toLowerCase();if(c==="onfocusin"||c==="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."),cl[e]=!0;if(typeof a=="function"&&(t==="form"&&e==="action"||t==="input"&&e==="formAction"||t==="button"&&e==="formAction"))return!0;if(o!=null){if(t=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(e))return!0;if(o=t.hasOwnProperty(c)?t[c]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",e,o),cl[e]=!0;if(SD.test(e))return console.error("Unknown event handler property `%s`. It will be ignored.",e),cl[e]=!0}else if(SD.test(e))return F4.test(e)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",e),cl[e]=!0;if(W4.test(e)||I4.test(e))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),cl[e]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),cl[e]=!0;if(c==="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),cl[e]=!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.",e),cl[e]=!0;if(ui.hasOwnProperty(c)){if(c=ui[c],c!==e)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",e,c),cl[e]=!0}else if(e!==c)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.",e,c),cl[e]=!0;switch(e){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(e){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 c=e.toLowerCase().slice(0,5),c==="data-"||c==="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,e,e,a,e):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,e,e,a,e,e,e),cl[e]=!0)}case"function":case"symbol":return cl[e]=!0,!1;case"string":if(a==="false"||a==="true"){switch(e){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,e,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".',e,a),cl[e]=!0}}return!0}function bT(t,e,a){var o=[],c;for(c in e)ey(t,c,e[c],a)||o.push(c);e=o.map(function(f){return"`"+f+"`"}).join(", "),o.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 ",e,t):1<o.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 ",e,t)}function Wc(t){return P4.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function bl(){}function Ll(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}function ch(t){var e=Bl(t);if(e&&(t=e.stateNode)){var a=t[Ra]||null;t:switch(t=e.stateNode,e.type){case"input":if(Jo(t,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),e=a.name,a.type==="radio"&&e!=null){for(a=t;a.parentNode;)a=a.parentNode;for(_e(e,"name"),a=a.querySelectorAll('input[name="'+Ne(""+e)+'"][type="radio"]'),e=0;e<a.length;e++){var o=a[e];if(o!==t&&o.form===t.form){var c=o[Ra]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Jo(o,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(e=0;e<a.length;e++)o=a[e],o.form===t.form&&Kp(o)}break t;case"textarea":Qu(t,a.value,a.defaultValue);break t;case"select":e=a.value,e!=null&&bi(t,!!a.multiple,e,!1)}}}function fh(t,e,a){if(_T)return t(e,a);_T=!0;try{var o=t(e);return o}finally{if(_T=!1,(Qm!==null||Zm!==null)&&(ol(),Qm&&(e=Qm,t=Zm,Zm=Qm=null,ch(e),t)))for(e=0;e<t.length;e++)ch(t[e])}}function Ai(t,e){var a=t.stateNode;if(a===null)return null;var o=a[Ra]||null;if(o===null)return null;a=o[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(t=t.type,o=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!o;break t;default:t=!1}if(t)return null;if(a&&typeof a!="function")throw Error("Expected `"+e+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Ku(){if(Yb)return Yb;var t,e=jT,a=e.length,o,c="value"in mc?mc.value:mc.textContent,f=c.length;for(t=0;t<a&&e[t]===c[t];t++);var y=a-t;for(o=1;o<=y&&e[a-o]===c[f-o];o++);return Yb=c.slice(t,1<o?1-o:void 0)}function Ic(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function dr(){return!0}function ny(){return!1}function Bn(t){function e(a,o,c,f,y){this._reactName=a,this._targetInst=c,this.type=o,this.nativeEvent=f,this.target=y,this.currentTarget=null;for(var g in t)t.hasOwnProperty(g)&&(a=t[g],this[g]=a?a(f):f[g]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?dr:ny,this.isPropagationStopped=ny,this}return le(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=dr)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=dr)},persist:function(){},isPersistent:dr}),e}function mo(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=d5[t])?!!e[t]:!1}function Pc(){return mo}function hr(t,e){switch(t){case"keyup":return x5.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==xD;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function po(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}function ay(t,e){switch(t){case"compositionend":return po(e);case"keypress":return e.which!==CD?null:(zD=!0,MD);case"textInput":return t=e.data,t===MD&&zD?null:t;default:return null}}function dh(t,e){if(km)return t==="compositionend"||!LT&&hr(t,e)?(t=Ku(),Yb=jT=mc=null,km=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return DD&&e.locale!=="ko"?null:e.data;default:return null}}function ly(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!C5[t.type]:e==="textarea"}function hh(t){if(!zu)return!1;t="on"+t;var e=t in document;return e||(e=document.createElement("div"),e.setAttribute(t,"return;"),e=typeof e[t]=="function"),e}function tf(t,e,a,o){Qm?Zm?Zm.push(o):Zm=[o]:Qm=o,e=ni(e,"onChange"),0<e.length&&(a=new Gb("onChange","change",null,a,o),t.push({event:a,listeners:e}))}function Sv(t){we(t,0)}function Pn(t){var e=ko(t);if(Kp(e))return t}function Fo(t,e){if(t==="change")return e}function ef(){n0&&(n0.detachEvent("onpropertychange",mr),a0=n0=null)}function mr(t){if(t.propertyName==="value"&&Pn(a0)){var e=[];tf(e,a0,t,Ll(t)),fh(Sv,e)}}function ST(t,e,a){t==="focusin"?(ef(),n0=e,a0=a,n0.attachEvent("onpropertychange",mr)):t==="focusout"&&ef()}function iy(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Pn(a0)}function oy(t,e){if(t==="click")return Pn(e)}function nf(t,e){if(t==="input"||t==="change")return Pn(e)}function mh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}function pr(t,e){if(fl(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var a=Object.keys(t),o=Object.keys(e);if(a.length!==o.length)return!1;for(o=0;o<a.length;o++){var c=a[o];if(!rl.call(e,c)||!fl(t[c],e[c]))return!1}return!0}function Tv(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Av(t,e){var a=Tv(t);t=0;for(var o;a;){if(a.nodeType===3){if(o=t+a.textContent.length,t<=e&&o>=e)return{node:a,offset:e-t};t=o}t:{for(;a;){if(a.nextSibling){a=a.nextSibling;break t}a=a.parentNode}a=void 0}a=Tv(a)}}function Ev(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Ev(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ph(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Hl(t.document);e instanceof t.HTMLIFrameElement;){try{var a=typeof e.contentWindow.location.href=="string"}catch{a=!1}if(a)t=e.contentWindow;else break;e=Hl(t.document)}return e}function uy(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function xv(t,e,a){var o=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;YT||Jm==null||Jm!==Hl(o)||(o=Jm,"selectionStart"in o&&uy(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),l0&&pr(l0,o)||(l0=o,o=ni(qT,"onSelect"),0<o.length&&(e=new Gb("onSelect","select",null,e,a),t.push({event:e,listeners:o}),e.target=Jm)))}function $u(t,e){var a={};return a[t.toLowerCase()]=e.toLowerCase(),a["Webkit"+t]="webkit"+e,a["Moz"+t]="moz"+e,a}function Fu(t){if(GT[t])return GT[t];if(!Km[t])return t;var e=Km[t],a;for(a in e)if(e.hasOwnProperty(a)&&a in RD)return GT[t]=e[a];return t}function ql(t,e){jD.set(t,e),Vl(e,[t])}function Dv(t){for(var e=Qb,a=0;a<t.length;a++){var o=t[a];if(typeof o=="object"&&o!==null)if(Dn(o)&&o.length===2&&typeof o[0]=="string"){if(e!==Qb&&e!==JT)return ZT;e=JT}else return ZT;else{if(typeof o=="function"||typeof o=="string"&&50<o.length||e!==Qb&&e!==kT)return ZT;e=kT}}return e}function sy(t,e,a,o){for(var c in t)rl.call(t,c)&&c[0]!=="_"&&Ei(c,t[c],e,a,o)}function Ei(t,e,a,o,c){switch(typeof e){case"object":if(e===null){e="null";break}else{if(e.$$typeof===Rl){var f=I(e.type)||"…",y=e.key;e=e.props;var g=Object.keys(e),E=g.length;if(y==null&&E===0){e="<"+f+" />";break}if(3>o||E===1&&g[0]==="children"&&y==null){e="<"+f+" … />";break}a.push([c+"  ".repeat(o)+t,"<"+f]),y!==null&&Ei("key",y,a,o+1,c),t=!1;for(var D in e)D==="children"?e.children!=null&&(!Dn(e.children)||0<e.children.length)&&(t=!0):rl.call(e,D)&&D[0]!=="_"&&Ei(D,e[D],a,o+1,c);a.push(["",t?">…</"+f+">":"/>"]);return}if(f=Object.prototype.toString.call(e),f=f.slice(8,f.length-1),f==="Array"){if(D=Dv(e),D===kT||D===Qb){e=JSON.stringify(e);break}else if(D===JT){for(a.push([c+"  ".repeat(o)+t,""]),t=0;t<e.length;t++)f=e[t],Ei(f[0],f[1],a,o+1,c);return}}if(f==="Promise"){if(e.status==="fulfilled"){if(f=a.length,Ei(t,e.value,a,o,c),a.length>f){a=a[f],a[1]="Promise<"+(a[1]||"Object")+">";return}}else if(e.status==="rejected"&&(f=a.length,Ei(t,e.reason,a,o,c),a.length>f)){a=a[f],a[1]="Rejected Promise<"+a[1]+">";return}a.push(["  ".repeat(o)+t,"Promise"]);return}f==="Object"&&(D=Object.getPrototypeOf(e))&&typeof D.constructor=="function"&&(f=D.constructor.name),a.push([c+"  ".repeat(o)+t,f==="Object"?3>o?"":"…":f]),3>o&&sy(e,a,o+1,c);return}case"function":e=e.name===""?"() => {}":e.name+"() {}";break;case"string":e=e===_5?"…":JSON.stringify(e);break;case"undefined":e="undefined";break;case"boolean":e=e?"true":"false";break;default:e=String(e)}a.push([c+"  ".repeat(o)+t,e])}function Cv(t,e,a,o){var c=!0;for(y in t)y in e||(a.push([Zb+"  ".repeat(o)+y,"…"]),c=!1);for(var f in e)if(f in t){var y=t[f],g=e[f];if(y!==g){if(o===0&&f==="children")c="  ".repeat(o)+f,a.push([Zb+c,"…"],[kb+c,"…"]);else{if(!(3<=o)){if(typeof y=="object"&&typeof g=="object"&&y!==null&&g!==null&&y.$$typeof===g.$$typeof)if(g.$$typeof===Rl){if(y.type===g.type&&y.key===g.key){y=I(g.type)||"…",c="  ".repeat(o)+f,y="<"+y+" … />",a.push([Zb+c,y],[kb+c,y]),c=!1;continue}}else{var E=Object.prototype.toString.call(y),D=Object.prototype.toString.call(g);if(E===D&&(D==="[object Object]"||D==="[object Array]")){E=[HD+"  ".repeat(o)+f,D==="[object Array]"?"Array":""],a.push(E),D=a.length,Cv(y,g,a,o+1)?D===a.length&&(E[1]="Referentially unequal but deeply equal objects. Consider memoization."):c=!1;continue}}else if(typeof y=="function"&&typeof g=="function"&&y.name===g.name&&y.length===g.length&&(E=Function.prototype.toString.call(y),D=Function.prototype.toString.call(g),E===D)){y=g.name===""?"() => {}":g.name+"() {}",a.push([HD+"  ".repeat(o)+f,y+" Referentially unequal function closure. Consider memoization."]);continue}}Ei(f,y,a,o,Zb),Ei(f,g,a,o,kb)}c=!1}}else a.push([kb+"  ".repeat(o)+f,"…"]),c=!1;return c}function Yl(t){ve=t&63?"Blocking":t&64?"Gesture":t&4194176?"Transition":t&62914560?"Suspense":t&2080374784?"Idle":"Other"}function Sl(t,e,a,o){Pe&&(yc.start=e,yc.end=a,js.color="warning",js.tooltipText=o,js.properties=null,(t=t._debugTask)?t.run(performance.measure.bind(performance,o,yc)):performance.measure(o,yc))}function yh(t,e,a){Sl(t,e,a,"Reconnect")}function gh(t,e,a,o,c){var f=yt(t);if(f!==null&&Pe){var y=t.alternate,g=t.actualDuration;if(y===null||y.child!==t.child)for(var E=t.child;E!==null;E=E.sibling)g-=E.actualDuration;o=.5>g?o?"tertiary-light":"primary-light":10>g?o?"tertiary":"primary":100>g?o?"tertiary-dark":"primary-dark":"error";var D=t.memoizedProps;g=t._debugTask,D!==null&&y!==null&&y.memoizedProps!==D?(E=[N5],D=Cv(y.memoizedProps,D,E,0),1<E.length&&(D&&!pc&&(y.lanes&c)===0&&100<t.actualDuration?(pc=!0,E[0]=j5,js.color="warning",js.tooltipText=LD):(js.color=o,js.tooltipText=f),js.properties=E,yc.start=e,yc.end=a,g!=null?g.run(performance.measure.bind(performance,"​"+f,yc)):performance.measure("​"+f,yc))):g!=null?g.run(console.timeStamp.bind(console,f,e,a,Fi,void 0,o)):console.timeStamp(f,e,a,Fi,void 0,o)}}function ry(t,e,a,o){if(Pe){var c=yt(t);if(c!==null){for(var f=null,y=[],g=0;g<o.length;g++){var E=o[g];f==null&&E.source!==null&&(f=E.source._debugTask),E=E.value,y.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}t.key!==null&&Ei("key",t.key,y,0,""),t.memoizedProps!==null&&sy(t.memoizedProps,y,0,""),f==null&&(f=t._debugTask),t={start:e,end:a,detail:{devtools:{color:"error",track:Fi,tooltipText:t.tag===13?"Hydration failed":"Error boundary caught an error",properties:y}}},f?f.run(performance.measure.bind(performance,"​"+c,t)):performance.measure("​"+c,t)}}}function Gl(t,e,a,o,c){if(c!==null){if(Pe){var f=yt(t);if(f!==null){o=[];for(var y=0;y<c.length;y++){var g=c[y].value;o.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}t.key!==null&&Ei("key",t.key,o,0,""),t.memoizedProps!==null&&sy(t.memoizedProps,o,0,""),e={start:e,end:a,detail:{devtools:{color:"error",track:Fi,tooltipText:"A lifecycle or effect errored",properties:o}}},(t=t._debugTask)?t.run(performance.measure.bind(performance,"​"+f,e)):performance.measure("​"+f,e)}}}else f=yt(t),f!==null&&Pe&&(c=1>o?"secondary-light":100>o?"secondary":500>o?"secondary-dark":"error",(t=t._debugTask)?t.run(console.timeStamp.bind(console,f,e,a,Fi,void 0,c)):console.timeStamp(f,e,a,Fi,void 0,c))}function TT(t,e,a,o){if(Pe&&!(e<=t)){var c=(a&738197653)===a?"tertiary-dark":"primary-dark";a=(a&536870912)===a?"Prepared":(a&201326741)===a?"Hydrated":"Render",o?o.run(console.timeStamp.bind(console,a,t,e,ve,ye,c)):console.timeStamp(a,t,e,ve,ye,c)}}function Mv(t,e,a,o){!Pe||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Prewarm",t,e,ve,ye,a)):console.timeStamp("Prewarm",t,e,ve,ye,a))}function zv(t,e,a,o){!Pe||e<=t||(a=(a&738197653)===a?"tertiary-dark":"primary-dark",o?o.run(console.timeStamp.bind(console,"Suspended",t,e,ve,ye,a)):console.timeStamp("Suspended",t,e,ve,ye,a))}function AT(t,e,a,o,c,f){if(Pe&&!(e<=t)){a=[];for(var y=0;y<o.length;y++){var g=o[y].value;a.push(["Recoverable Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}t={start:t,end:e,detail:{devtools:{color:"primary-dark",track:ve,trackGroup:ye,tooltipText:c?"Hydration Failed":"Recovered after Error",properties:a}}},f?f.run(performance.measure.bind(performance,"Recovered",t)):performance.measure("Recovered",t)}}function cy(t,e,a,o){!Pe||e<=t||(o?o.run(console.timeStamp.bind(console,"Errored",t,e,ve,ye,"error")):console.timeStamp("Errored",t,e,ve,ye,"error"))}function ET(t,e,a,o){!Pe||e<=t||(o?o.run(console.timeStamp.bind(console,a,t,e,ve,ye,"secondary-light")):console.timeStamp(a,t,e,ve,ye,"secondary-light"))}function Ov(t,e,a,o,c){if(Pe&&!(e<=t)){for(var f=[],y=0;y<a.length;y++){var g=a[y].value;f.push(["Error",typeof g=="object"&&g!==null&&typeof g.message=="string"?String(g.message):String(g)])}t={start:t,end:e,detail:{devtools:{color:"error",track:ve,trackGroup:ye,tooltipText:o?"Remaining Effects Errored":"Commit Errored",properties:f}}},c?c.run(performance.measure.bind(performance,"Errored",t)):performance.measure("Errored",t)}}function fy(t,e,a){!Pe||e<=t||console.timeStamp("Animating",t,e,ve,ye,"secondary-dark")}function vh(){for(var t=$m,e=KT=$m=0;e<t;){var a=Wi[e];Wi[e++]=null;var o=Wi[e];Wi[e++]=null;var c=Wi[e];Wi[e++]=null;var f=Wi[e];if(Wi[e++]=null,o!==null&&c!==null){var y=o.pending;y===null?c.next=c:(c.next=y.next,y.next=c),o.pending=c}f!==0&&dy(a,c,f)}}function yr(t,e,a,o){Wi[$m++]=t,Wi[$m++]=e,Wi[$m++]=a,Wi[$m++]=o,KT|=o,t.lanes|=o,t=t.alternate,t!==null&&(t.lanes|=o)}function Wu(t,e,a,o){return yr(t,e,a,o),af(t)}function ia(t,e){return yr(t,null,null,e),af(t)}function dy(t,e,a){t.lanes|=a;var o=t.alternate;o!==null&&(o.lanes|=a);for(var c=!1,f=t.return;f!==null;)f.childLanes|=a,o=f.alternate,o!==null&&(o.childLanes|=a),f.tag===22&&(t=f.stateNode,t===null||t._visibility&i0||(c=!0)),t=f,f=f.return;return t.tag===3?(f=t.stateNode,c&&e!==null&&(c=31-ea(a),t=f.hiddenUpdates,o=t[c],o===null?t[c]=[e]:o.push(e),e.lane=a|536870912),f):null}function af(t){if(U0>W5)throw Cd=U0=0,_0=M2=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.");Cd>I5&&(Cd=0,_0=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.")),t.alternate===null&&(t.flags&4098)!==0&&Ol(t);for(var e=t,a=e.return;a!==null;)e.alternate===null&&(e.flags&4098)!==0&&Ol(t),e=a,a=e.return;return e.tag===3?e.stateNode:null}function Wo(t){if(Ii===null)return t;var e=Ii(t);return e===void 0?t:e.current}function bh(t){if(Ii===null)return t;var e=Ii(t);return e===void 0?t!=null&&typeof t.render=="function"&&(e=Wo(t.render),t.render!==e)?(e={$$typeof:ac,render:e},t.displayName!==void 0&&(e.displayName=t.displayName),e):t:e.current}function hy(t,e){if(Ii===null)return!1;var a=t.elementType;e=e.type;var o=!1,c=typeof e=="object"&&e!==null?e.$$typeof:null;switch(t.tag){case 1:typeof e=="function"&&(o=!0);break;case 0:(typeof e=="function"||c===sa)&&(o=!0);break;case 11:(c===ac||c===sa)&&(o=!0);break;case 14:case 15:(c===ld||c===sa)&&(o=!0);break;default:return!1}return!!(o&&(t=Ii(a),t!==void 0&&t===Ii(e)))}function Iu(t){Ii!==null&&typeof WeakSet=="function"&&(Fm===null&&(Fm=new WeakSet),Fm.add(t))}function Rv(t,e,a){do{var o=t,c=o.alternate,f=o.child,y=o.sibling,g=o.tag;o=o.type;var E=null;switch(g){case 0:case 15:case 1:E=o;break;case 11:E=o.render}if(Ii===null)throw Error("Expected resolveFamily to be set during hot reload.");var D=!1;if(o=!1,E!==null&&(E=Ii(E),E!==void 0&&(a.has(E)?o=!0:e.has(E)&&(g===1?o=!0:D=!0))),Fm!==null&&(Fm.has(t)||c!==null&&Fm.has(c))&&(o=!0),o&&(t._debugNeedsRemount=!0),(o||D)&&(c=ia(t,2),c!==null&&kt(c,t,2)),f===null||o||Rv(f,e,a),y===null)break;t=y}while(!0)}function xT(t,e,a,o){this.tag=t,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=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,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,qD||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function my(t){return t=t.prototype,!(!t||!t.isReactComponent)}function xi(t,e){var a=t.alternate;switch(a===null?(a=w(t.tag,e,t.key,t.mode),a.elementType=t.elementType,a.type=t.type,a.stateNode=t.stateNode,a._debugOwner=t._debugOwner,a._debugStack=t._debugStack,a._debugTask=t._debugTask,a._debugHookTypes=t._debugHookTypes,a.alternate=t,t.alternate=a):(a.pendingProps=e,a.type=t.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=t.flags&65011712,a.childLanes=t.childLanes,a.lanes=t.lanes,a.child=t.child,a.memoizedProps=t.memoizedProps,a.memoizedState=t.memoizedState,a.updateQueue=t.updateQueue,e=t.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},a.sibling=t.sibling,a.index=t.index,a.ref=t.ref,a.refCleanup=t.refCleanup,a.selfBaseDuration=t.selfBaseDuration,a.treeBaseDuration=t.treeBaseDuration,a._debugInfo=t._debugInfo,a._debugNeedsRemount=t._debugNeedsRemount,a.tag){case 0:case 15:a.type=Wo(t.type);break;case 1:a.type=Wo(t.type);break;case 11:a.type=bh(t.type)}return a}function py(t,e){t.flags&=65011714;var a=t.alternate;return a===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null,t.selfBaseDuration=0,t.treeBaseDuration=0):(t.childLanes=a.childLanes,t.lanes=a.lanes,t.child=a.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=a.memoizedProps,t.memoizedState=a.memoizedState,t.updateQueue=a.updateQueue,t.type=a.type,e=a.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext,_debugThenableState:e._debugThenableState},t.selfBaseDuration=a.selfBaseDuration,t.treeBaseDuration=a.treeBaseDuration),t}function Pu(t,e,a,o,c,f){var y=0,g=t;if(typeof t=="function")my(t)&&(y=1),g=Wo(g);else if(typeof t=="string")y=F(),y=Db(t,a,y)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case oi:return e=w(31,a,e,c),e.elementType=oi,e.lanes=f,e;case nc:return ts(a.children,c,f,e);case Oa:y=8,c|=Xa,c|=Bo;break;case ad:return t=a,o=c,typeof t.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof t.id),e=w(12,t,e,o|ie),e.elementType=ad,e.lanes=f,e.stateNode={effectDuration:0,passiveEffectDuration:0},e;case Rs:return e=w(13,a,e,c),e.elementType=Rs,e.lanes=f,e;case Ya:return e=w(19,a,e,c),e.elementType=Ya,e.lanes=f,e;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case ii:y=10;break t;case wm:y=9;break t;case ac:y=11,g=bh(g);break t;case ld:y=14;break t;case sa:y=16,g=null;break t}g="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).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."),t===null?a="null":Dn(t)?a="array":t!==void 0&&t.$$typeof===Rl?(a="<"+(I(t.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):a=typeof t,(y=o?wt(o):null)&&(g+=`
117
+
118
+ 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 e=w(y,a,e,c),e.elementType=t,e.type=g,e.lanes=f,e._debugOwner=o,e}function Io(t,e,a){return e=Pu(t.type,t.key,t.props,t._owner,e,a),e._debugOwner=t._owner,e._debugStack=t._debugStack,e._debugTask=t._debugTask,e}function ts(t,e,a,o){return t=w(7,t,o,e),t.lanes=a,t}function gr(t,e,a){return t=w(6,t,null,e),t.lanes=a,t}function yy(t){var e=w(18,null,null,Zt);return e.stateNode=t,e}function Sh(t,e,a){return e=w(4,t.children!==null?t.children:[],t.key,e),e.lanes=a,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function ya(t,e){if(typeof t=="object"&&t!==null){var a=$T.get(t);return a!==void 0?a:(e={value:t,source:e,stack:xt(e)},$T.set(t,e),e)}return{value:t,source:e,stack:xt(e)}}function Xl(t,e){Po(),Wm[Im++]=o0,Wm[Im++]=Jb,Jb=t,o0=e}function gy(t,e,a){Po(),Pi[to++]=Vs,Pi[to++]=Hs,Pi[to++]=fd,fd=t;var o=Vs;t=Hs;var c=32-ea(o)-1;o&=~(1<<c),a+=1;var f=32-ea(e)+c;if(30<f){var y=c-c%5;f=(o&(1<<y)-1).toString(32),o>>=y,c-=y,Vs=1<<32-ea(e)+c|a<<c|o,Hs=f+t}else Vs=1<<f|a<<c|o,Hs=t}function Th(t){Po(),t.return!==null&&(Xl(t,1),gy(t,1,0))}function Ah(t){for(;t===Jb;)Jb=Wm[--Im],Wm[Im]=null,o0=Wm[--Im],Wm[Im]=null;for(;t===fd;)fd=Pi[--to],Pi[to]=null,Hs=Pi[--to],Pi[to]=null,Vs=Pi[--to],Pi[to]=null}function wv(){return Po(),fd!==null?{id:Vs,overflow:Hs}:null}function Uv(t,e){Po(),Pi[to++]=Vs,Pi[to++]=Hs,Pi[to++]=fd,Vs=e.id,Hs=e.overflow,fd=t}function Po(){pe||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function es(t,e){if(t.return===null){if(si===null)si={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e};else{if(si.fiber!==t)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");si.distanceFromLeaf>e&&(si.distanceFromLeaf=e)}return si}var a=es(t.return,e+1).children;return 0<a.length&&a[a.length-1].fiber===t?(a=a[a.length-1],a.distanceFromLeaf>e&&(a.distanceFromLeaf=e),a):(e={fiber:t,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:e},a.push(e),e)}function _v(){pe&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function oa(t,e){Ou||(t=es(t,0),t.serverProps=null,e!==null&&(e=Tb(e),t.serverTail.push(e)))}function Tl(t){var e=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,a="",o=si;throw o!==null&&(si=null,a=Wp(o)),of(ya(Error("Hydration failed because the server rendered "+(e?"text":"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:
119
+
120
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
121
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
122
+ - Date formatting in a user's locale which doesn't match the server.
123
+ - External changing data without sending a snapshot of it along with the HTML.
124
+ - Invalid HTML tag nesting.
125
+
126
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
127
+
128
+ https://react.dev/link/hydration-mismatch`+a),t)),FT}function vy(t){var e=t.stateNode,a=t.type,o=t.memoizedProps;switch(e[Ie]=t,e[Ra]=o,Ma(a,o),a){case"dialog":Xt("cancel",e),Xt("close",e);break;case"iframe":case"object":case"embed":Xt("load",e);break;case"video":case"audio":for(a=0;a<N0.length;a++)Xt(N0[a],e);break;case"source":Xt("error",e);break;case"img":case"image":case"link":Xt("error",e),Xt("load",e);break;case"details":Xt("toggle",e);break;case"input":Gu("input",o),Xt("invalid",e),pa(e,o),ah(e,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0);break;case"option":yv(e,o);break;case"select":Gu("select",o),Xt("invalid",e),lh(e,o);break;case"textarea":Gu("textarea",o),Xt("invalid",e),Xu(e,o),ur(e,o.value,o.defaultValue,o.children)}a=o.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||e.textContent===""+a||o.suppressHydrationWarning===!0||Sg(e.textContent,a)?(o.popover!=null&&(Xt("beforetoggle",e),Xt("toggle",e)),o.onScroll!=null&&Xt("scroll",e),o.onScrollEnd!=null&&Xt("scrollend",e),o.onClick!=null&&(e.onclick=bl),e=!0):e=!1,e||Tl(t,!0)}function by(t){for(wa=t.return;wa;)switch(wa.tag){case 5:case 31:case 13:eo=!1;return;case 27:case 3:eo=!0;return;default:wa=wa.return}}function ns(t){if(t!==wa)return!1;if(!pe)return by(t),pe=!0,!1;var e=t.tag,a;if((a=e!==3&&e!==27)&&((a=e===5)&&(a=t.type,a=!(a!=="form"&&a!=="button")||Kr(t.type,t.memoizedProps)),a=!a),a&&tn){for(a=tn;a;){var o=es(t,0),c=Tb(a);o.serverTail.push(c),a=c.type==="Suspense"?Wr(a):ul(a.nextSibling)}Tl(t)}if(by(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");tn=Wr(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");tn=Wr(t)}else e===27?(e=tn,Au(t.type)?(t=L2,L2=null,tn=t):tn=e):tn=wa?ul(t.stateNode.nextSibling):null;return!0}function tu(){tn=wa=null,Ou=pe=!1}function lf(){var t=vc;return t!==null&&(pl===null?pl=t:pl.push.apply(pl,t),vc=null),t}function of(t){vc===null?vc=[t]:vc.push(t)}function eu(){var t=si;if(t!==null){si=null;for(var e=Wp(t);0<t.children.length;)t=t.children[0];mt(t.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:
129
+
130
+ - A server/client branch \`if (typeof window !== 'undefined')\`.
131
+ - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
132
+ - Date formatting in a user's locale which doesn't match the server.
133
+ - External changing data without sending a snapshot of it along with the HTML.
134
+ - Invalid HTML tag nesting.
135
+
136
+ It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
137
+
138
+ %s%s`,"https://react.dev/link/hydration-mismatch",e)})}}function vr(){Pm=Kb=null,tp=!1}function Al(t,e,a){Vt(WT,e._currentValue,t),e._currentValue=a,Vt(IT,e._currentRenderer,t),e._currentRenderer!==void 0&&e._currentRenderer!==null&&e._currentRenderer!==GD&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),e._currentRenderer=GD}function Ql(t,e){t._currentValue=WT.current;var a=IT.current;Bt(IT,e),t._currentRenderer=a,Bt(WT,e)}function Eh(t,e,a){for(;t!==null;){var o=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,o!==null&&(o.childLanes|=e)):o!==null&&(o.childLanes&e)!==e&&(o.childLanes|=e),t===a)break;t=t.return}t!==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 yo(t,e,a,o){var c=t.child;for(c!==null&&(c.return=t);c!==null;){var f=c.dependencies;if(f!==null){var y=c.child;f=f.firstContext;t:for(;f!==null;){var g=f;f=c;for(var E=0;E<e.length;E++)if(g.context===e[E]){f.lanes|=a,g=f.alternate,g!==null&&(g.lanes|=a),Eh(f.return,a,t),o||(y=null);break t}f=g.next}}else if(c.tag===18){if(y=c.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,f=y.alternate,f!==null&&(f.lanes|=a),Eh(y,a,t),y=null}else y=c.child;if(y!==null)y.return=c;else for(y=c;y!==null;){if(y===t){y=null;break}if(c=y.sibling,c!==null){c.return=y.return,y=c;break}y=y.return}c=y}}function Zl(t,e,a,o){t=null;for(var c=e,f=!1;c!==null;){if(!f){if((c.flags&524288)!==0)f=!0;else if((c.flags&262144)!==0)break}if(c.tag===10){var y=c.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=c.type;fl(c.pendingProps.value,y.value)||(t!==null?t.push(g):t=[g])}}else if(c===Cu.current){if(y=c.alternate,y===null)throw Error("Should have a current fiber. This is a bug in React.");y.memoizedState.memoizedState!==c.memoizedState.memoizedState&&(t!==null?t.push(L0):t=[L0])}c=c.return}t!==null&&yo(e,t,a,o),e.flags|=262144}function br(t){for(t=t.firstContext;t!==null;){if(!fl(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function nu(t){Kb=t,Pm=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function De(t){return tp&&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()."),Sy(Kb,t)}function uf(t,e){return Kb===null&&nu(t),Sy(t,e)}function Sy(t,e){var a=e._currentValue;if(e={context:e,memoizedValue:a,next:null},Pm===null){if(t===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().");Pm=e,t.dependencies={lanes:0,firstContext:e,_debugThenableState:null},t.flags|=524288}else Pm=Pm.next=e;return a}function xh(){return{controller:new H5,data:new Map,refCount:0}}function as(t){t.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),t.refCount++}function sf(t){t.refCount--,0>t.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),t.refCount===0&&L5(q5,function(){t.controller.abort()})}function Di(t,e,a){(t&127)!==0?0>Ru&&(Ru=Zn(),s0=$b(e),PT=e,a!=null&&(t2=yt(a)),(Te&(la|fi))!==da&&(An=!0,Sc=u0),t=$r(),e=Qi(),t!==ep||e!==r0?ep=-1.1:e!==null&&(Sc=u0),md=t,r0=e):(t&4194048)!==0&&0>no&&(no=Zn(),c0=$b(e),XD=e,a!=null&&(QD=yt(a)),0>Gs)&&(t=$r(),e=Qi(),(t!==Ac||e!==pd)&&(Ac=-1.1),Tc=t,pd=e)}function Nv(t){if(0>Ru){Ru=Zn(),s0=t._debugTask!=null?t._debugTask:null,(Te&(la|fi))!==da&&(Sc=u0);var e=$r(),a=Qi();e!==ep||a!==r0?ep=-1.1:a!==null&&(Sc=u0),md=e,r0=a}0>no&&(no=Zn(),c0=t._debugTask!=null?t._debugTask:null,0>Gs)&&(t=$r(),e=Qi(),(t!==Ac||e!==pd)&&(Ac=-1.1),Tc=t,pd=e)}function Ci(){var t=dd;return dd=0,t}function Sr(t){var e=dd;return dd=t,e}function ga(t){var e=dd;return dd+=t,e}function ls(){Yt=jt=-1.1}function $e(){var t=jt;return jt=-1.1,t}function Vn(t){0<=t&&(jt=t)}function El(){var t=dn;return dn=-0,t}function $a(t){0<=t&&(dn=t)}function Fa(){var t=un;return un=null,t}function xl(){var t=An;return An=!1,t}function go(t){dl=Zn(),0>t.actualStartTime&&(t.actualStartTime=dl)}function Dh(t){if(0<=dl){var e=Zn()-dl;t.actualDuration+=e,t.selfBaseDuration=e,dl=-1}}function rf(t){if(0<=dl){var e=Zn()-dl;t.actualDuration+=e,dl=-1}}function va(){if(0<=dl){var t=Zn(),e=t-dl;dl=-1,dd+=e,dn+=e,Yt=t}}function jv(t){un===null&&(un=[]),un.push(t),qs===null&&(qs=[]),qs.push(t)}function rn(){dl=Zn(),0>jt&&(jt=dl)}function is(t){for(var e=t.child;e;)t.actualDuration+=e.actualDuration,e=e.sibling}function vo(t,e){if(d0===null){var a=d0=[];n2=0,yd=bg(),np={status:"pending",value:void 0,then:function(o){a.push(o)}}}return n2++,e.then(Ty,Ty),e}function Ty(){if(--n2===0&&(-1<no||(Gs=-1.1),d0!==null)){np!==null&&(np.status="fulfilled");var t=d0;d0=null,yd=0,np=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Ch(t,e){var a=[],o={status:"pending",value:null,reason:null,then:function(c){a.push(c)}};return t.then(function(){o.status="fulfilled",o.value=e;for(var c=0;c<a.length;c++)(0,a[c])(e)},function(c){for(o.status="rejected",o.reason=c,c=0;c<a.length;c++)(0,a[c])(void 0)}),o}function bo(){var t=gd.current;return t!==null?t:ke.pooledCache}function Tr(t,e){e===null?Vt(gd,gd.current,t):Vt(gd,e.pool,t)}function Ay(){var t=bo();return t===null?null:{parent:Qn._currentValue,pool:t}}function Mh(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Ey(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Wa(t,e,a){P.actQueue!==null&&(P.didUsePromise=!0);var o=t.thenables;if(a=o[a],a===void 0?o.push(e):a!==e&&(t.didWarnAboutUncachedPromise||(t.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.")),e.then(bl,bl),e=a),e._debugInfo===void 0){t=performance.now(),o=e.displayName;var c={name:typeof o=="string"?o:"Promise",start:t,end:t,value:e};e._debugInfo=[{awaited:c}],e.status!=="fulfilled"&&e.status!=="rejected"&&(t=function(){c.end=performance.now()},e.then(t,t))}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,cf(t),t;default:if(typeof e.status=="string")e.then(bl,bl);else{if(t=ke,t!==null&&100<t.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.");t=e,t.status="pending",t.then(function(f){if(e.status==="pending"){var y=e;y.status="fulfilled",y.value=f}},function(f){if(e.status==="pending"){var y=e;y.status="rejected",y.reason=f}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,cf(t),t}throw bd=e,b0=!0,ap}}function Ia(t){try{return Z5(t)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(bd=e,b0=!0,ap):e}}function os(){if(bd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var t=bd;return bd=null,b0=!1,t}function cf(t){if(t===ap||t===a1)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 gn(t){var e=oe;return t!=null&&(oe=e===null?t:e.concat(t)),e}function ja(){var t=oe;if(t!=null){for(var e=t.length-1;0<=e;e--)if(t[e].name!=null){var a=t[e].debugTask;if(a!=null)return a}}return null}function ba(t,e,a){for(var o=Object.keys(t.props),c=0;c<o.length;c++){var f=o[c];if(f!=="children"&&f!=="key"){e===null&&(e=Io(t,a.mode,0),e._debugInfo=oe,e.return=a),mt(e,function(y){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y)},f);break}}}function kl(t){var e=S0;return S0+=1,lp===null&&(lp=Mh()),Wa(lp,t,e)}function Ba(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function Jl(t,e){throw e.$$typeof===wb?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
139
+ - Multiple copies of the "react" package is used.
140
+ - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
141
+ - A compiler tries to "inline" JSX instead of using the runtime.`):(t=Object.prototype.toString.call(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead."))}function Dl(t,e){var a=ja();a!==null?a.run(Jl.bind(null,t,e)):Jl(t,e)}function xy(t,e){var a=yt(t)||"Component";cC[a]||(cC[a]=!0,e=e.displayName||e.name||"Component",t.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.
142
+ root.render(%s)`,e,e,e):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.
143
+ <%s>{%s}</%s>`,e,e,a,e,a))}function Ar(t,e){var a=ja();a!==null?a.run(xy.bind(null,t,e)):xy(t,e)}function zh(t,e){var a=yt(t)||"Component";fC[a]||(fC[a]=!0,e=String(e),t.tag===3?console.error(`Symbols are not valid as a React child.
144
+ root.render(%s)`,e):console.error(`Symbols are not valid as a React child.
145
+ <%s>%s</%s>`,a,e,a))}function ff(t,e){var a=ja();a!==null?a.run(zh.bind(null,t,e)):zh(t,e)}function Hn(t){function e(R,_){if(t){var B=R.deletions;B===null?(R.deletions=[_],R.flags|=16):B.push(_)}}function a(R,_){if(!t)return null;for(;_!==null;)e(R,_),_=_.sibling;return null}function o(R){for(var _=new Map;R!==null;)R.key!==null?_.set(R.key,R):_.set(R.index,R),R=R.sibling;return _}function c(R,_){return R=xi(R,_),R.index=0,R.sibling=null,R}function f(R,_,B){return R.index=B,t?(B=R.alternate,B!==null?(B=B.index,B<_?(R.flags|=67108866,_):B):(R.flags|=67108866,_)):(R.flags|=1048576,_)}function y(R){return t&&R.alternate===null&&(R.flags|=67108866),R}function g(R,_,B,at){return _===null||_.tag!==6?(_=gr(B,R.mode,at),_.return=R,_._debugOwner=R,_._debugTask=R._debugTask,_._debugInfo=oe,_):(_=c(_,B),_.return=R,_._debugInfo=oe,_)}function E(R,_,B,at){var At=B.type;return At===nc?(_=V(R,_,B.props.children,at,B.key),ba(B,_,R),_):_!==null&&(_.elementType===At||hy(_,B)||typeof At=="object"&&At!==null&&At.$$typeof===sa&&Ia(At)===_.type)?(_=c(_,B.props),Ba(_,B),_.return=R,_._debugOwner=B._owner,_._debugInfo=oe,_):(_=Io(B,R.mode,at),Ba(_,B),_.return=R,_._debugInfo=oe,_)}function D(R,_,B,at){return _===null||_.tag!==4||_.stateNode.containerInfo!==B.containerInfo||_.stateNode.implementation!==B.implementation?(_=Sh(B,R.mode,at),_.return=R,_._debugInfo=oe,_):(_=c(_,B.children||[]),_.return=R,_._debugInfo=oe,_)}function V(R,_,B,at,At){return _===null||_.tag!==7?(_=ts(B,R.mode,at,At),_.return=R,_._debugOwner=R,_._debugTask=R._debugTask,_._debugInfo=oe,_):(_=c(_,B),_.return=R,_._debugInfo=oe,_)}function L(R,_,B){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return _=gr(""+_,R.mode,B),_.return=R,_._debugOwner=R,_._debugTask=R._debugTask,_._debugInfo=oe,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Rl:return B=Io(_,R.mode,B),Ba(B,_),B.return=R,R=gn(_._debugInfo),B._debugInfo=oe,oe=R,B;case xu:return _=Sh(_,R.mode,B),_.return=R,_._debugInfo=oe,_;case sa:var at=gn(_._debugInfo);return _=Ia(_),R=L(R,_,B),oe=at,R}if(Dn(_)||Dt(_))return B=ts(_,R.mode,B,null),B.return=R,B._debugOwner=R,B._debugTask=R._debugTask,R=gn(_._debugInfo),B._debugInfo=oe,oe=R,B;if(typeof _.then=="function")return at=gn(_._debugInfo),R=L(R,kl(_),B),oe=at,R;if(_.$$typeof===ii)return L(R,uf(R,_),B);Dl(R,_)}return typeof _=="function"&&Ar(R,_),typeof _=="symbol"&&ff(R,_),null}function U(R,_,B,at){var At=_!==null?_.key:null;if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return At!==null?null:g(R,_,""+B,at);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case Rl:return B.key===At?(At=gn(B._debugInfo),R=E(R,_,B,at),oe=At,R):null;case xu:return B.key===At?D(R,_,B,at):null;case sa:return At=gn(B._debugInfo),B=Ia(B),R=U(R,_,B,at),oe=At,R}if(Dn(B)||Dt(B))return At!==null?null:(At=gn(B._debugInfo),R=V(R,_,B,at,null),oe=At,R);if(typeof B.then=="function")return At=gn(B._debugInfo),R=U(R,_,kl(B),at),oe=At,R;if(B.$$typeof===ii)return U(R,_,uf(R,B),at);Dl(R,B)}return typeof B=="function"&&Ar(R,B),typeof B=="symbol"&&ff(R,B),null}function K(R,_,B,at,At){if(typeof at=="string"&&at!==""||typeof at=="number"||typeof at=="bigint")return R=R.get(B)||null,g(_,R,""+at,At);if(typeof at=="object"&&at!==null){switch(at.$$typeof){case Rl:return B=R.get(at.key===null?B:at.key)||null,R=gn(at._debugInfo),_=E(_,B,at,At),oe=R,_;case xu:return R=R.get(at.key===null?B:at.key)||null,D(_,R,at,At);case sa:var Wt=gn(at._debugInfo);return at=Ia(at),_=K(R,_,B,at,At),oe=Wt,_}if(Dn(at)||Dt(at))return B=R.get(B)||null,R=gn(at._debugInfo),_=V(_,B,at,At,null),oe=R,_;if(typeof at.then=="function")return Wt=gn(at._debugInfo),_=K(R,_,B,kl(at),At),oe=Wt,_;if(at.$$typeof===ii)return K(R,_,B,uf(_,at),At);Dl(_,at)}return typeof at=="function"&&Ar(_,at),typeof at=="symbol"&&ff(_,at),null}function vt(R,_,B,at){if(typeof B!="object"||B===null)return at;switch(B.$$typeof){case Rl:case xu:M(R,_,B);var At=B.key;if(typeof At!="string")break;if(at===null){at=new Set,at.add(At);break}if(!at.has(At)){at.add(At);break}mt(_,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.",At)});break;case sa:B=Ia(B),vt(R,_,B,at)}return at}function Et(R,_,B,at){for(var At=null,Wt=null,Nt=null,Ut=_,ae=_=0,en=null;Ut!==null&&ae<B.length;ae++){Ut.index>ae?(en=Ut,Ut=null):en=Ut.sibling;var Nn=U(R,Ut,B[ae],at);if(Nn===null){Ut===null&&(Ut=en);break}At=vt(R,Nn,B[ae],At),t&&Ut&&Nn.alternate===null&&e(R,Ut),_=f(Nn,_,ae),Nt===null?Wt=Nn:Nt.sibling=Nn,Nt=Nn,Ut=en}if(ae===B.length)return a(R,Ut),pe&&Xl(R,ae),Wt;if(Ut===null){for(;ae<B.length;ae++)Ut=L(R,B[ae],at),Ut!==null&&(At=vt(R,Ut,B[ae],At),_=f(Ut,_,ae),Nt===null?Wt=Ut:Nt.sibling=Ut,Nt=Ut);return pe&&Xl(R,ae),Wt}for(Ut=o(Ut);ae<B.length;ae++)en=K(Ut,R,ae,B[ae],at),en!==null&&(At=vt(R,en,B[ae],At),t&&en.alternate!==null&&Ut.delete(en.key===null?ae:en.key),_=f(en,_,ae),Nt===null?Wt=en:Nt.sibling=en,Nt=en);return t&&Ut.forEach(function(Fs){return e(R,Fs)}),pe&&Xl(R,ae),Wt}function Ke(R,_,B,at){if(B==null)throw Error("An iterable object provided no iterator.");for(var At=null,Wt=null,Nt=_,Ut=_=0,ae=null,en=null,Nn=B.next();Nt!==null&&!Nn.done;Ut++,Nn=B.next()){Nt.index>Ut?(ae=Nt,Nt=null):ae=Nt.sibling;var Fs=U(R,Nt,Nn.value,at);if(Fs===null){Nt===null&&(Nt=ae);break}en=vt(R,Fs,Nn.value,en),t&&Nt&&Fs.alternate===null&&e(R,Nt),_=f(Fs,_,Ut),Wt===null?At=Fs:Wt.sibling=Fs,Wt=Fs,Nt=ae}if(Nn.done)return a(R,Nt),pe&&Xl(R,Ut),At;if(Nt===null){for(;!Nn.done;Ut++,Nn=B.next())Nt=L(R,Nn.value,at),Nt!==null&&(en=vt(R,Nt,Nn.value,en),_=f(Nt,_,Ut),Wt===null?At=Nt:Wt.sibling=Nt,Wt=Nt);return pe&&Xl(R,Ut),At}for(Nt=o(Nt);!Nn.done;Ut++,Nn=B.next())ae=K(Nt,R,Ut,Nn.value,at),ae!==null&&(en=vt(R,ae,Nn.value,en),t&&ae.alternate!==null&&Nt.delete(ae.key===null?Ut:ae.key),_=f(ae,_,Ut),Wt===null?At=ae:Wt.sibling=ae,Wt=ae);return t&&Nt.forEach(function(p6){return e(R,p6)}),pe&&Xl(R,Ut),At}function ge(R,_,B,at){if(typeof B=="object"&&B!==null&&B.type===nc&&B.key===null&&(ba(B,null,R),B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case Rl:var At=gn(B._debugInfo);t:{for(var Wt=B.key;_!==null;){if(_.key===Wt){if(Wt=B.type,Wt===nc){if(_.tag===7){a(R,_.sibling),at=c(_,B.props.children),at.return=R,at._debugOwner=B._owner,at._debugInfo=oe,ba(B,at,R),R=at;break t}}else if(_.elementType===Wt||hy(_,B)||typeof Wt=="object"&&Wt!==null&&Wt.$$typeof===sa&&Ia(Wt)===_.type){a(R,_.sibling),at=c(_,B.props),Ba(at,B),at.return=R,at._debugOwner=B._owner,at._debugInfo=oe,R=at;break t}a(R,_);break}else e(R,_);_=_.sibling}B.type===nc?(at=ts(B.props.children,R.mode,at,B.key),at.return=R,at._debugOwner=R,at._debugTask=R._debugTask,at._debugInfo=oe,ba(B,at,R),R=at):(at=Io(B,R.mode,at),Ba(at,B),at.return=R,at._debugInfo=oe,R=at)}return R=y(R),oe=At,R;case xu:t:{for(At=B,B=At.key;_!==null;){if(_.key===B)if(_.tag===4&&_.stateNode.containerInfo===At.containerInfo&&_.stateNode.implementation===At.implementation){a(R,_.sibling),at=c(_,At.children||[]),at.return=R,R=at;break t}else{a(R,_);break}else e(R,_);_=_.sibling}at=Sh(At,R.mode,at),at.return=R,R=at}return y(R);case sa:return At=gn(B._debugInfo),B=Ia(B),R=ge(R,_,B,at),oe=At,R}if(Dn(B))return At=gn(B._debugInfo),R=Et(R,_,B,at),oe=At,R;if(Dt(B)){if(At=gn(B._debugInfo),Wt=Dt(B),typeof Wt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Nt=Wt.call(B);return Nt===B?(R.tag!==0||Object.prototype.toString.call(R.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Nt)!=="[object Generator]")&&(sC||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."),sC=!0):B.entries!==Wt||o2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),o2=!0),R=Ke(R,_,Nt,at),oe=At,R}if(typeof B.then=="function")return At=gn(B._debugInfo),R=ge(R,_,kl(B),at),oe=At,R;if(B.$$typeof===ii)return ge(R,_,uf(R,B),at);Dl(R,B)}return typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint"?(At=""+B,_!==null&&_.tag===6?(a(R,_.sibling),at=c(_,At),at.return=R,R=at):(a(R,_),at=gr(At,R.mode,at),at.return=R,at._debugOwner=R,at._debugTask=R._debugTask,at._debugInfo=oe,R=at),y(R)):(typeof B=="function"&&Ar(R,B),typeof B=="symbol"&&ff(R,B),a(R,_))}return function(R,_,B,at){var At=oe;oe=null;try{S0=0;var Wt=ge(R,_,B,at);return lp=null,Wt}catch(en){if(en===ap||en===a1)throw en;var Nt=w(29,en,null,R.mode);Nt.lanes=at,Nt.return=R;var Ut=Nt._debugInfo=oe;if(Nt._debugOwner=R._debugOwner,Nt._debugTask=R._debugTask,Ut!=null){for(var ae=Ut.length-1;0<=ae;ae--)if(typeof Ut[ae].stack=="string"){Nt._debugOwner=Ut[ae],Nt._debugTask=Ut[ae].debugTask;break}}return Nt}finally{oe=At}}}function Ge(t,e){var a=Dn(t);return t=!a&&typeof Dt(t)=="function",a||t?(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,e,a),!1):!0}function he(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mi(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function zn(t){return{lane:t,tag:hC,payload:null,callback:null,next:null}}function zi(t,e,a){var o=t.updateQueue;if(o===null)return null;if(o=o.shared,s2===o&&!yC){var c=yt(t);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.
146
+
147
+ Please update the following component: %s`,c),yC=!0}return(Te&la)!==da?(c=o.pending,c===null?e.next=e:(e.next=c.next,c.next=e),o.pending=e,e=af(t),dy(t,null,a),e):(yr(t,o,e,a),af(t))}function Cl(t,e,a){if(e=e.updateQueue,e!==null&&(e=e.shared,(a&4194048)!==0)){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,dv(t,a)}}function df(t,e){var a=t.updateQueue,o=t.alternate;if(o!==null&&(o=o.updateQueue,a===o)){var c=null,f=null;if(a=a.firstBaseUpdate,a!==null){do{var y={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};f===null?c=f=y:f=f.next=y,a=a.next}while(a!==null);f===null?c=f=e:f=f.next=e}else c=f=e;a={baseState:o.baseState,firstBaseUpdate:c,lastBaseUpdate:f,shared:o.shared,callbacks:o.callbacks},t.updateQueue=a;return}t=a.lastBaseUpdate,t===null?a.firstBaseUpdate=e:t.next=e,a.lastBaseUpdate=e}function Er(){if(r2){var t=np;if(t!==null)throw t}}function Oi(t,e,a,o){r2=!1;var c=t.updateQueue;Ec=!1,s2=c.shared;var f=c.firstBaseUpdate,y=c.lastBaseUpdate,g=c.shared.pending;if(g!==null){c.shared.pending=null;var E=g,D=E.next;E.next=null,y===null?f=D:y.next=D,y=E;var V=t.alternate;V!==null&&(V=V.updateQueue,g=V.lastBaseUpdate,g!==y&&(g===null?V.firstBaseUpdate=D:g.next=D,V.lastBaseUpdate=E))}if(f!==null){var L=c.baseState;y=0,V=D=E=null,g=f;do{var U=g.lane&-536870913,K=U!==g.lane;if(K?(ue&U)===U:(o&U)===U){U!==0&&U===yd&&(r2=!0),V!==null&&(V=V.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});t:{U=t;var vt=g,Et=e,Ke=a;switch(vt.tag){case mC:if(vt=vt.payload,typeof vt=="function"){tp=!0;var ge=vt.call(Ke,L,Et);if(U.mode&Xa){Ye(!0);try{vt.call(Ke,L,Et)}finally{Ye(!1)}}tp=!1,L=ge;break t}L=vt;break t;case u2:U.flags=U.flags&-65537|128;case hC:if(ge=vt.payload,typeof ge=="function"){if(tp=!0,vt=ge.call(Ke,L,Et),U.mode&Xa){Ye(!0);try{ge.call(Ke,L,Et)}finally{Ye(!1)}}tp=!1}else vt=ge;if(vt==null)break t;L=le({},L,vt);break t;case pC:Ec=!0}}U=g.callback,U!==null&&(t.flags|=64,K&&(t.flags|=8192),K=c.callbacks,K===null?c.callbacks=[U]:K.push(U))}else K={lane:U,tag:g.tag,payload:g.payload,callback:g.callback,next:null},V===null?(D=V=K,E=L):V=V.next=K,y|=U;if(g=g.next,g===null){if(g=c.shared.pending,g===null)break;K=g,g=K.next,K.next=null,c.lastBaseUpdate=K,c.shared.pending=null}}while(!0);V===null&&(E=L),c.baseState=E,c.firstBaseUpdate=D,c.lastBaseUpdate=V,f===null&&(c.shared.lanes=0),Cc|=y,t.lanes=y,t.memoizedState=L}s2=null}function au(t,e){if(typeof t!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+t);t.call(e)}function Dy(t,e){var a=t.shared.hiddenCallbacks;if(a!==null)for(t.shared.hiddenCallbacks=null,t=0;t<a.length;t++)au(a[t],e)}function xr(t,e){var a=t.callbacks;if(a!==null)for(t.callbacks=null,t=0;t<a.length;t++)au(a[t],e)}function Oh(t,e){var a=Uu;Vt(i1,a,t),Vt(ip,e,t),Uu=a|e.baseLanes}function So(t){Vt(i1,Uu,t),Vt(ip,ip.current,t)}function Kl(t){Uu=i1.current,Bt(ip,t),Bt(i1,t)}function Sa(t){var e=t.alternate;Vt(_n,_n.current&op,t),Vt(ri,t,t),ao===null&&(e===null||ip.current!==null||e.memoizedState!==null)&&(ao=t)}function $l(t){Vt(_n,_n.current,t),Vt(ri,t,t),ao===null&&(ao=t)}function Rh(t){t.tag===22?(Vt(_n,_n.current,t),Vt(ri,t,t),ao===null&&(ao=t)):Ri(t)}function Ri(t){Vt(_n,_n.current,t),Vt(ri,ri.current,t)}function Ln(t){Bt(ri,t),ao===t&&(ao=null),Bt(_n,t)}function us(t){for(var e=t;e!==null;){if(e.tag===13){var a=e.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||Kf(a)||Ag(a)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function $t(){var t=W;io===null?io=[t]:io.push(t)}function ct(){var t=W;if(io!==null&&(Zs++,io[Zs]!==t)){var e=yt(Ft);if(!gC.has(e)&&(gC.add(e),io!==null)){for(var a="",o=0;o<=Zs;o++){var c=io[o],f=o===Zs?t:c;for(c=o+1+". "+c;30>c.length;)c+=" ";c+=f+`
148
+ `,a+=c}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
149
+
150
+ Previous render Next render
151
+ ------------------------------------------------------
152
+ %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
153
+ `,e,a)}}}function To(t){t==null||Dn(t)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",W,typeof t)}function hf(){var t=yt(Ft);bC.has(t)||(bC.add(t),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",t))}function cn(){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:
154
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
155
+ 2. You might be breaking the Rules of Hooks
156
+ 3. You might have more than one copy of React in the same app
157
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function Cy(t,e){if(E0)return!1;if(e===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.",W),!1;t.length!==e.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
158
+
159
+ Previous: %s
160
+ Incoming: %s`,W,"["+e.join(", ")+"]","["+t.join(", ")+"]");for(var a=0;a<e.length&&a<t.length;a++)if(!fl(t[a],e[a]))return!1;return!0}function My(t,e,a,o,c,f){Xs=f,Ft=e,io=t!==null?t._debugHookTypes:null,Zs=-1,E0=t!==null&&t.type!==e.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(f=yt(Ft),c2.has(f)||(c2.add(f),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.",f===null?"An unknown Component":"<"+f+">"))),e.memoizedState=null,e.updateQueue=null,e.lanes=0,P.H=t!==null&&t.memoizedState!==null?d2:io!==null?SC:f2,Td=f=(e.mode&Xa)!==Zt;var y=a2(a,o,c);if(Td=!1,sp&&(y=mf(e,a,o,c)),f){Ye(!0);try{y=mf(e,a,o,c)}finally{Ye(!1)}}return vn(t,e),y}function vn(t,e){e._debugHookTypes=io,e.dependencies===null?Qs!==null&&(e.dependencies={lanes:0,firstContext:null,_debugThenableState:Qs}):e.dependencies._debugThenableState=Qs,P.H=x0;var a=Ze!==null&&Ze.next!==null;if(Xs=0,io=W=kn=Ze=Ft=null,Zs=-1,t!==null&&(t.flags&65011712)!==(e.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),u1=!1,A0=0,Qs=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");t===null||Jn||(t=t.dependencies,t!==null&&br(t)&&(Jn=!0)),b0?(b0=!1,t=!0):t=!1,t&&(e=yt(e)||"Unknown",vC.has(e)||c2.has(e)||(vC.add(e),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 mf(t,e,a,o){Ft=t;var c=0;do{if(sp&&(Qs=null),A0=0,sp=!1,c>=J5)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,E0=!1,kn=Ze=null,t.updateQueue!=null){var f=t.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}Zs=-1,P.H=TC,f=a2(e,a,o)}while(sp);return f}function pf(){var t=P.H,e=t.useState()[0];return e=typeof e.then=="function"?vf(e):e,t=t.useState()[0],(Ze!==null?Ze.memoizedState:null)!==t&&(Ft.flags|=1024),e}function ss(){var t=s1!==0;return s1=0,t}function yf(t,e,a){e.updateQueue=t.updateQueue,e.flags=(e.mode&Bo)!==Zt?e.flags&-402655237:e.flags&-2053,t.lanes&=~a}function lu(t){if(u1){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}u1=!1}Xs=0,io=kn=Ze=Ft=null,Zs=-1,W=null,sp=!1,A0=s1=0,Qs=null}function En(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kn===null?Ft.memoizedState=kn=t:kn=kn.next=t,kn}function Oe(){if(Ze===null){var t=Ft.alternate;t=t!==null?t.memoizedState:null}else t=Ze.next;var e=kn===null?Ft.memoizedState:kn.next;if(e!==null)kn=e,Ze=t;else{if(t===null)throw Ft.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.");Ze=t,t={memoizedState:Ze.memoizedState,baseState:Ze.baseState,baseQueue:Ze.baseQueue,queue:Ze.queue,next:null},kn===null?Ft.memoizedState=kn=t:kn=kn.next=t}return kn}function gf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function vf(t){var e=A0;return A0+=1,Qs===null&&(Qs=Mh()),t=Wa(Qs,t,e),e=Ft,(kn===null?e.memoizedState:kn.next)===null&&(e=e.alternate,P.H=e!==null&&e.memoizedState!==null?d2:f2),t}function Ao(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return vf(t);if(t.$$typeof===ii)return De(t)}throw Error("An unsupported type was passed to use(): "+String(t))}function Pa(t){var e=null,a=Ft.updateQueue;if(a!==null&&(e=a.memoCache),e==null){var o=Ft.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(e={data:o.data.map(function(c){return c.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),a===null&&(a=gf(),Ft.updateQueue=a),a.memoCache=e,a=e.data[e.index],a===void 0||E0)for(a=e.data[e.index]=Array(t),o=0;o<t;o++)a[o]=RT;else a.length!==t&&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,t);return e.index++,a}function tl(t,e){return typeof e=="function"?e(t):e}function Dr(t,e,a){var o=En();if(a!==void 0){var c=a(e);if(Td){Ye(!0);try{a(e)}finally{Ye(!1)}}}else c=e;return o.memoizedState=o.baseState=c,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:c},o.queue=t,t=t.dispatch=DT.bind(null,Ft,t),[o.memoizedState,t]}function rs(t){var e=Oe();return iu(e,Ze,t)}function iu(t,e,a){var o=t.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=a;var c=t.baseQueue,f=o.pending;if(f!==null){if(c!==null){var y=c.next;c.next=f.next,f.next=y}e.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),e.baseQueue=c=f,o.pending=null}if(f=t.baseState,c===null)t.memoizedState=f;else{e=c.next;var g=y=null,E=null,D=e,V=!1;do{var L=D.lane&-536870913;if(L!==D.lane?(ue&L)===L:(Xs&L)===L){var U=D.revertLane;if(U===0)E!==null&&(E=E.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),L===yd&&(V=!0);else if((Xs&U)===U){D=D.next,U===yd&&(V=!0);continue}else L={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(g=E=L,y=f):E=E.next=L,Ft.lanes|=U,Cc|=U;L=D.action,Td&&a(f,L),f=D.hasEagerState?D.eagerState:a(f,L)}else U={lane:L,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},E===null?(g=E=U,y=f):E=E.next=U,Ft.lanes|=L,Cc|=L;D=D.next}while(D!==null&&D!==e);if(E===null?y=f:E.next=g,!fl(f,t.memoizedState)&&(Jn=!0,V&&(a=np,a!==null)))throw a;t.memoizedState=f,t.baseState=y,t.baseQueue=E,o.lastRenderedState=f}return c===null&&(o.lanes=0),[t.memoizedState,o.dispatch]}function cs(t){var e=Oe(),a=e.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=t;var o=a.dispatch,c=a.pending,f=e.memoizedState;if(c!==null){a.pending=null;var y=c=c.next;do f=t(f,y.action),y=y.next;while(y!==c);fl(f,e.memoizedState)||(Jn=!0),e.memoizedState=f,e.baseQueue===null&&(e.baseState=f),a.lastRenderedState=f}return[f,o]}function Cr(t,e,a){var o=Ft,c=En();if(pe){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var f=a();up||f===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),up=!0)}else{if(f=e(),up||(a=e(),fl(f,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),up=!0)),ke===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ue&127)!==0||zy(o,e,f)}return c.memoizedState=f,a={value:f,getSnapshot:e},c.queue=a,hs(ou.bind(null,o,a,t),[t]),o.flags|=2048,wi(lo|ml,{destroy:void 0},Oy.bind(null,o,a,f,e),null),f}function fs(t,e,a){var o=Ft,c=Oe(),f=pe;if(f){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=e(),!up){var y=e();fl(a,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),up=!0)}(y=!fl((Ze||c).memoizedState,a))&&(c.memoizedState=a,Jn=!0),c=c.queue;var g=ou.bind(null,o,c,t);if(On(2048,ml,g,[t]),c.getSnapshot!==e||y||kn!==null&&kn.memoizedState.tag&lo){if(o.flags|=2048,wi(lo|ml,{destroy:void 0},Oy.bind(null,o,c,a,e),null),ke===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");f||(Xs&127)!==0||zy(o,e,a)}return a}function zy(t,e,a){t.flags|=16384,t={getSnapshot:e,value:a},e=Ft.updateQueue,e===null?(e=gf(),Ft.updateQueue=e,e.stores=[t]):(a=e.stores,a===null?e.stores=[t]:a.push(t))}function Oy(t,e,a,o){e.value=a,e.getSnapshot=o,uu(e)&&Ry(t)}function ou(t,e,a){return a(function(){uu(e)&&(Di(2,"updateSyncExternalStore()",t),Ry(t))})}function uu(t){var e=t.getSnapshot;t=t.value;try{var a=e();return!fl(t,a)}catch{return!0}}function Ry(t){var e=ia(t,2);e!==null&&kt(e,t,2)}function wh(t){var e=En();if(typeof t=="function"){var a=t;if(t=a(),Td){Ye(!0);try{a()}finally{Ye(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:t},e}function su(t){t=wh(t);var e=t.queue,a=Vh.bind(null,Ft,e);return e.dispatch=a,[t.memoizedState,a]}function ds(t){var e=En();e.memoizedState=e.baseState=t;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=a,e=Df.bind(null,Ft,!0,a),a.dispatch=e,[t,e]}function bf(t,e){var a=Oe();return Mr(a,Ze,t,e)}function Mr(t,e,a,o){return t.baseState=a,iu(t,Ze,typeof o=="function"?o:tl)}function Sf(t,e){var a=Oe();return Ze!==null?Mr(a,Ze,t,e):(a.baseState=t,[t,a.queue.dispatch])}function Bv(t,e,a,o,c){if(qn(t))throw Error("Cannot update form state while rendering.");if(t=e.action,t!==null){var f={payload:c,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(y){f.listeners.push(y)}};P.T!==null?a(!0):f.isTransition=!1,o(f),a=e.pending,a===null?(f.next=e.pending=f,ru(e,f)):(f.next=a.next,e.pending=a.next=f)}}function ru(t,e){var a=e.action,o=e.payload,c=t.state;if(e.isTransition){var f=P.T,y={};y._updatedFibers=new Set,P.T=y;try{var g=a(c,o),E=P.S;E!==null&&E(y,g),wy(t,e,g)}catch(D){Tf(t,e,D)}finally{f!==null&&y.types!==null&&(f.types!==null&&f.types!==y.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),f.types=y.types),P.T=f,f===null&&y._updatedFibers&&(t=y._updatedFibers.size,y._updatedFibers.clear(),10<t&&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(c,o),wy(t,e,y)}catch(D){Tf(t,e,D)}}function wy(t,e,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(P.asyncTransitions++,a.then(ms,ms),a.then(function(o){Eo(t,e,o)},function(o){return Tf(t,e,o)}),e.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.")):Eo(t,e,a)}function Eo(t,e,a){e.status="fulfilled",e.value=a,Uh(e),t.state=a,e=t.pending,e!==null&&(a=e.next,a===e?t.pending=null:(a=a.next,e.next=a,ru(t,a)))}function Tf(t,e,a){var o=t.pending;if(t.pending=null,o!==null){o=o.next;do e.status="rejected",e.reason=a,Uh(e),e=e.next;while(e!==o)}t.action=null}function Uh(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function xo(t,e){return e}function el(t,e){if(pe){var a=ke.formState;if(a!==null){t:{var o=Ft;if(pe){if(tn){e:{for(var c=tn,f=eo;c.nodeType!==8;){if(!f){c=null;break e}if(c=ul(c.nextSibling),c===null){c=null;break e}}f=c.data,c=f===j2||f===oM?c:null}if(c){tn=ul(c.nextSibling),o=c.data===j2;break t}}Tl(o)}o=!1}o&&(e=a[0])}}return a=En(),a.memoizedState=a.baseState=e,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xo,lastRenderedState:e},a.queue=o,a=Vh.bind(null,Ft,o),o.dispatch=a,o=wh(!1),f=Df.bind(null,Ft,!1,o.queue),o=En(),c={state:e,dispatch:null,action:t,pending:null},o.queue=c,a=Bv.bind(null,Ft,c,f,a),c.dispatch=a,o.memoizedState=t,[e,a,!1]}function cu(t){var e=Oe();return _h(e,Ze,t)}function _h(t,e,a){if(e=iu(t,e,xo)[0],t=rs(tl)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var o=vf(e)}catch(y){throw y===ap?a1:y}else o=e;e=Oe();var c=e.queue,f=c.dispatch;return a!==e.memoizedState&&(Ft.flags|=2048,wi(lo|ml,{destroy:void 0},Uy.bind(null,c,a),null)),[o,f,t]}function Uy(t,e){t.action=e}function fu(t){var e=Oe(),a=Ze;if(a!==null)return _h(e,a,t);Oe(),e=e.memoizedState,a=Oe();var o=a.queue.dispatch;return a.memoizedState=t,[e,o,!1]}function wi(t,e,a,o){return t={tag:t,create:a,deps:o,inst:e,next:null},e=Ft.updateQueue,e===null&&(e=gf(),Ft.updateQueue=e),a=e.lastEffect,a===null?e.lastEffect=t.next=t:(o=a.next,a.next=t,t.next=o,e.lastEffect=t),t}function Nh(t){var e=En();return t={current:t},e.memoizedState=t}function du(t,e,a,o){var c=En();Ft.flags|=t,c.memoizedState=wi(lo|e,{destroy:void 0},a,o===void 0?null:o)}function On(t,e,a,o){var c=Oe();o=o===void 0?null:o;var f=c.memoizedState.inst;Ze!==null&&o!==null&&Cy(o,Ze.memoizedState.deps)?c.memoizedState=wi(e,f,a,o):(Ft.flags|=t,c.memoizedState=wi(lo|e,f,a,o))}function hs(t,e){(Ft.mode&Bo)!==Zt?du(276826112,ml,t,e):du(8390656,ml,t,e)}function Vv(t){Ft.flags|=4;var e=Ft.updateQueue;if(e===null)e=gf(),Ft.updateQueue=e,e.events=[t];else{var a=e.events;a===null?e.events=[t]:a.push(t)}}function Af(t){var e=En(),a={impl:t};return e.memoizedState=a,function(){if((Te&la)!==da)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return a.impl.apply(void 0,arguments)}}function zr(t){var e=Oe().memoizedState;return Vv({ref:e,nextImpl:t}),function(){if((Te&la)!==da)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return e.impl.apply(void 0,arguments)}}function Ta(t,e){var a=4194308;return(Ft.mode&Bo)!==Zt&&(a|=134217728),du(a,ci,t,e)}function nl(t,e){if(typeof e=="function"){t=t();var a=e(t);return function(){typeof a=="function"?a():e(null)}}if(e!=null)return e.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(e).join(", ")+"}"),t=t(),e.current=t,function(){e.current=null}}function Ui(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null;var o=4194308;(Ft.mode&Bo)!==Zt&&(o|=134217728),du(o,ci,nl.bind(null,e,t),a)}function Or(t,e,a){typeof e!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",e!==null?typeof e:"null"),a=a!=null?a.concat([t]):null,On(4,ci,nl.bind(null,e,t),a)}function jh(t,e){return En().memoizedState=[t,e===void 0?null:e],t}function Fl(t,e){var a=Oe();e=e===void 0?null:e;var o=a.memoizedState;return e!==null&&Cy(e,o[1])?o[0]:(a.memoizedState=[t,e],t)}function Aa(t,e){var a=En();e=e===void 0?null:e;var o=t();if(Td){Ye(!0);try{t()}finally{Ye(!1)}}return a.memoizedState=[o,e],o}function Fe(t,e){var a=Oe();e=e===void 0?null:e;var o=a.memoizedState;if(e!==null&&Cy(e,o[1]))return o[0];if(o=t(),Td){Ye(!0);try{t()}finally{Ye(!1)}}return a.memoizedState=[o,e],o}function Rr(t,e){var a=En();return Re(a,t,e)}function _i(t,e){var a=Oe();return bn(a,Ze.memoizedState,t,e)}function te(t,e){var a=Oe();return Ze===null?Re(a,t,e):bn(a,Ze.memoizedState,t,e)}function Re(t,e,a){return a===void 0||(Xs&1073741824)!==0&&(ue&261930)===0?t.memoizedState=e:(t.memoizedState=a,t=Hr(),Ft.lanes|=t,Cc|=t,a)}function bn(t,e,a,o){return fl(a,e)?a:ip.current!==null?(t=Re(t,a,o),fl(t,e)||(Jn=!0),t):(Xs&42)===0||(Xs&1073741824)!==0&&(ue&261930)===0?(Jn=!0,t.memoizedState=a):(t=Hr(),Ft.lanes|=t,Cc|=t,e)}function ms(){P.asyncTransitions--}function ps(t,e,a,o,c){var f=Me.p;Me.p=f!==0&&f<na?f:na;var y=P.T,g={};g._updatedFibers=new Set,P.T=g,Df(t,!1,e,a);try{var E=c(),D=P.S;if(D!==null&&D(g,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){P.asyncTransitions++,E.then(ms,ms);var V=Ch(E,o);ys(t,e,V,ua(t))}else ys(t,e,o,ua(t))}catch(L){ys(t,e,{then:function(){},status:"rejected",reason:L},ua(t))}finally{Me.p=f,y!==null&&g.types!==null&&(y.types!==null&&y.types!==g.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),y.types=g.types),P.T=y,y===null&&g._updatedFibers&&(t=g._updatedFibers.size,g._updatedFibers.clear(),10<t&&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 Do(t,e,a,o){if(t.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=Ef(t).queue;Nv(t),ps(t,c,e,Ud,a===null?z:function(){return wr(t),a(o)})}function Ef(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:Ud,baseState:Ud,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:Ud},next:null};var a={};return e.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:a},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function wr(t){P.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var e=Ef(t);e.next===null&&(e=t.alternate.memoizedState),ys(t,e.next.queue,{},ua(t))}function hu(){var t=wh(!1);return t=ps.bind(null,Ft,t.queue,!0,!1),En().memoizedState=t,[!1,t]}function Hv(){var t=rs(tl)[0],e=Oe().memoizedState;return[typeof t=="boolean"?t:vf(t),e]}function an(){var t=cs(tl)[0],e=Oe().memoizedState;return[typeof t=="boolean"?t:vf(t),e]}function Co(){return De(L0)}function xf(){var t=En(),e=ke.identifierPrefix;if(pe){var a=Hs,o=Vs;a=(o&~(1<<32-ea(o)-1)).toString(32)+a,e="_"+e+"R_"+a,a=s1++,0<a&&(e+="H"+a.toString(32)),e+="_"}else a=k5++,e="_"+e+"r_"+a.toString(32)+"_";return t.memoizedState=e}function Bh(){return En().memoizedState=Lv.bind(null,Ft)}function Lv(t,e){for(var a=t.return;a!==null;){switch(a.tag){case 24:case 3:var o=ua(a),c=zn(o),f=zi(a,c,o);f!==null&&(Di(o,"refresh()",t),kt(f,a,o),Cl(f,a,o)),t=xh(),e!=null&&f!==null&&console.error("The seed argument is not enabled outside experimental channels."),c.payload={cache:t};return}a=a.return}}function DT(t,e,a){var o=arguments;typeof o[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()."),o=ua(t);var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};qn(t)?fn(e,c):(c=Wu(t,e,c,o),c!==null&&(Di(o,"dispatch()",t),kt(c,t,o),Cf(c,e,o)))}function Vh(t,e,a){var o=arguments;typeof o[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()."),o=ua(t),ys(t,e,a,o)&&Di(o,"setState()",t)}function ys(t,e,a,o){var c={lane:o,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(qn(t))fn(e,c);else{var f=t.alternate;if(t.lanes===0&&(f===null||f.lanes===0)&&(f=e.lastRenderedReducer,f!==null)){var y=P.H;P.H=Ho;try{var g=e.lastRenderedState,E=f(g,a);if(c.hasEagerState=!0,c.eagerState=E,fl(E,g))return yr(t,e,c,0),ke===null&&vh(),!1}catch{}finally{P.H=y}}if(a=Wu(t,e,c,o),a!==null)return kt(a,t,o),Cf(a,e,o),!0}return!1}function Df(t,e,a,o){if(P.T===null&&yd===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."),o={lane:2,revertLane:bg(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},qn(t)){if(e)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else e=Wu(t,a,o,2),e!==null&&(Di(2,"setOptimistic()",t),kt(e,t,2))}function qn(t){var e=t.alternate;return t===Ft||e!==null&&e===Ft}function fn(t,e){sp=u1=!0;var a=t.pending;a===null?e.next=e:(e.next=a.next,a.next=e),t.pending=e}function Cf(t,e,a){if((a&4194048)!==0){var o=e.lanes;o&=t.pendingLanes,a|=o,e.lanes=a,dv(t,a)}}function gs(t){if(t!==null&&typeof t!="function"){var e=String(t);UC.has(e)||(UC.add(e),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",t))}}function Ur(t,e,a,o){var c=t.memoizedState,f=a(o,c);if(t.mode&Xa){Ye(!0);try{f=a(o,c)}finally{Ye(!1)}}f===void 0&&(e=I(e)||"Component",zC.has(e)||(zC.add(e),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",e))),c=f==null?c:le({},c,f),t.memoizedState=c,t.lanes===0&&(t.updateQueue.baseState=c)}function Hh(t,e,a,o,c,f,y){var g=t.stateNode;if(typeof g.shouldComponentUpdate=="function"){if(a=g.shouldComponentUpdate(o,f,y),t.mode&Xa){Ye(!0);try{a=g.shouldComponentUpdate(o,f,y)}finally{Ye(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",I(e)||"Component"),a}return e.prototype&&e.prototype.isPureReactComponent?!pr(a,o)||!pr(c,f):!0}function Ni(t,e,a,o){var c=e.state;typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(a,o),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(a,o),e.state!==c&&(t=yt(t)||"Component",EC.has(t)||(EC.add(t),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",t)),h2.enqueueReplaceState(e,e.state,null))}function ji(t,e){var a=e;if("ref"in e){a={};for(var o in e)o!=="ref"&&(a[o]=e[o])}if(t=t.defaultProps){a===e&&(a=le({},a));for(var c in t)a[c]===void 0&&(a[c]=t[c])}return a}function Lh(t){QT(t),console.warn(`%s
161
+
162
+ %s
163
+ `,rp?"An error occurred in the <"+rp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
164
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function qh(t){var e=rp?"The above error occurred in the <"+rp+"> 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, "+((m2||"Anonymous")+".");if(typeof t=="object"&&t!==null&&typeof t.environmentName=="string"){var o=t.environmentName;t=[`%o
165
+
166
+ %s
167
+
168
+ %s
169
+ `,t,e,a].slice(0),typeof t[0]=="string"?t.splice(0,1,mM+" "+t[0],pM,_1+o+_1,yM):t.splice(0,0,mM,pM,_1+o+_1,yM),t.unshift(console),o=h6.apply(console.error,t),o()}else console.error(`%o
170
+
171
+ %s
172
+
173
+ %s
174
+ `,t,e,a)}function _y(t){QT(t)}function Mf(t,e){try{rp=e.source?yt(e.source):null,m2=null;var a=e.value;if(P.actQueue!==null)P.thrownErrors.push(a);else{var o=t.onUncaughtError;o(a,{componentStack:e.stack})}}catch(c){setTimeout(function(){throw c})}}function Ny(t,e,a){try{rp=a.source?yt(a.source):null,m2=yt(e);var o=t.onCaughtError;o(a.value,{componentStack:a.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(c){setTimeout(function(){throw c})}}function Yh(t,e,a){return a=zn(a),a.tag=u2,a.payload={element:null},a.callback=function(){mt(e.source,Mf,t,e)},a}function Gh(t){return t=zn(t),t.tag=u2,t}function Xh(t,e,a,o){var c=a.type.getDerivedStateFromError;if(typeof c=="function"){var f=o.value;t.payload=function(){return c(f)},t.callback=function(){Iu(a),mt(o.source,Ny,e,a,o)}}var y=a.stateNode;y!==null&&typeof y.componentDidCatch=="function"&&(t.callback=function(){Iu(a),mt(o.source,Ny,e,a,o),typeof c!="function"&&(zc===null?zc=new Set([this]):zc.add(this)),G5(this,o),typeof c=="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.",yt(a)||"Unknown")})}function jy(t,e,a,o,c){if(a.flags|=32768,Ki&&Xr(t,c),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(e=a.alternate,e!==null&&Zl(e,a,c,!0),pe&&(Ou=!0),a=ri.current,a!==null){switch(a.tag){case 31:case 13:return ao===null?qr():a.alternate===null&&hn===Js&&(hn=f1),a.flags&=-257,a.flags|=65536,a.lanes=c,o===l1?a.flags|=16384:(e=a.updateQueue,e===null?a.updateQueue=new Set([o]):e.add(o),rm(t,o,c)),!1;case 22:return a.flags|=65536,o===l1?a.flags|=16384:(e=a.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([o])},a.updateQueue=e):(a=e.retryQueue,a===null?e.retryQueue=new Set([o]):a.add(o)),rm(t,o,c)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return rm(t,o,c),qr(),!1}if(pe)return Ou=!0,e=ri.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=c,o!==FT&&of(ya(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),a))):(o!==FT&&of(ya(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),a)),t=t.current.alternate,t.flags|=65536,c&=-c,t.lanes|=c,o=ya(o,a),c=Yh(t.stateNode,o,c),df(t,c),hn!==xc&&(hn=Ad)),!1;var f=ya(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),a);if(R0===null?R0=[f]:R0.push(f),hn!==xc&&(hn=Ad),e===null)return!0;o=ya(o,a),a=e;do{switch(a.tag){case 3:return a.flags|=65536,t=c&-c,a.lanes|=t,t=Yh(a.stateNode,o,t),df(a,t),!1;case 1:if(e=a.type,f=a.stateNode,(a.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(zc===null||!zc.has(f))))return a.flags|=65536,c&=-c,a.lanes|=c,c=Gh(c),Xh(c,t,a,o),df(a,c),!1}a=a.return}while(a!==null);return!1}function Yn(t,e,a,o){e.child=t===null?dC(e,null,a,o):Sd(e,t.child,a,o)}function qv(t,e,a,o,c){a=a.render;var f=e.ref;if("ref"in o){var y={};for(var g in o)g!=="ref"&&(y[g]=o[g])}else y=o;return nu(e),o=My(t,e,a,y,f,c),g=ss(),t!==null&&!Jn?(yf(t,e,c),Wl(t,e,c)):(pe&&g&&Th(e),e.flags|=1,Yn(t,e,o,c),e.child)}function By(t,e,a,o,c){if(t===null){var f=a.type;return typeof f=="function"&&!my(f)&&f.defaultProps===void 0&&a.compare===null?(a=Wo(f),e.tag=15,e.type=a,_r(e,f),Vy(t,e,a,o,c)):(t=Pu(a.type,null,o,e,e.mode,c),t.ref=e.ref,t.return=e,e.child=t)}if(f=t.child,!Kh(t,c)){var y=f.memoizedProps;if(a=a.compare,a=a!==null?a:pr,a(y,o)&&t.ref===e.ref)return Wl(t,e,c)}return e.flags|=1,t=xi(f,o),t.ref=e.ref,t.return=e,e.child=t}function Vy(t,e,a,o,c){if(t!==null){var f=t.memoizedProps;if(pr(f,o)&&t.ref===e.ref&&e.type===t.type)if(Jn=!1,e.pendingProps=o=f,Kh(t,c))(t.flags&131072)!==0&&(Jn=!0);else return e.lanes=t.lanes,Wl(t,e,c)}return Yy(t,e,a,o,c)}function Hy(t,e,a,o){var c=o.children,f=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:i0,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.mode==="hidden"){if((e.flags&128)!==0){if(f=f!==null?f.baseLanes|a:a,t!==null){for(o=e.child=t.child,c=0;o!==null;)c=c|o.lanes|o.childLanes,o=o.sibling;o=c&~f}else o=0,e.child=null;return Ly(t,e,f,a,o)}if((a&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Tr(e,f!==null?f.cachePool:null),f!==null?Oh(e,f):So(e),Rh(e);else return o=e.lanes=536870912,Ly(t,e,f!==null?f.baseLanes|a:a,a,o)}else f!==null?(Tr(e,f.cachePool),Oh(e,f),Ri(e),e.memoizedState=null):(t!==null&&Tr(e,null),So(e),Ri(e));return Yn(t,e,c,a),e.child}function vs(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:i0,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Ly(t,e,a,o,c){var f=bo();return f=f===null?null:{parent:Qn._currentValue,pool:f},e.memoizedState={baseLanes:a,cachePool:f},t!==null&&Tr(e,null),So(e),Rh(e),t!==null&&Zl(t,e,o,!0),e.childLanes=c,null}function zf(t,e){var a=e.hidden;return a!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
175
+ - <Activity %s>
176
+ + <Activity %s>`,a===!0?"hidden":a===!1?"hidden={false}":"hidden={...}",a?'mode="hidden"':'mode="visible"'),e=Rf({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function qy(t,e,a){return Sd(e,t.child,null,a),t=zf(e,e.pendingProps),t.flags|=2,Ln(e),e.memoizedState=null,t}function Yv(t,e,a){var o=e.pendingProps,c=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(pe){if(o.mode==="hidden")return t=zf(e,o),e.lanes=536870912,vs(null,t);if($l(e),(t=tn)?(a=Ue(t,eo),a=a!==null&&a.data===zd?a:null,a!==null&&(o={dehydrated:a,treeContext:wv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=yy(a),o.return=e,e.child=o,wa=e,tn=null)):a=null,a===null)throw oa(e,t),Tl(e);return e.lanes=536870912,null}return zf(e,o)}var f=t.memoizedState;if(f!==null){var y=f.dehydrated;if($l(e),c)if(e.flags&256)e.flags&=-257,e=qy(t,e,a);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(_v(),(a&536870912)!==0&&Lr(e),Jn||Zl(t,e,a,!1),c=(a&t.childLanes)!==0,Jn||c){if(o=ke,o!==null&&(y=hv(o,a),y!==0&&y!==f.retryLane))throw f.retryLane=y,ia(t,y),kt(o,t,y),p2;qr(),e=qy(t,e,a)}else t=f.treeContext,tn=ul(y.nextSibling),wa=e,pe=!0,vc=null,Ou=!1,si=null,eo=!1,t!==null&&Uv(e,t),e=zf(e,o),e.flags|=4096;return e}return f=t.child,o={mode:o.mode,children:o.children},(a&536870912)!==0&&(a&t.lanes)!==0&&Lr(e),t=xi(f,o),t.ref=e.ref,e.child=t,t.return=e,t}function Of(t,e){var a=e.ref;if(a===null)t!==null&&t.ref!==null&&(e.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.");(t===null||t.ref!==a)&&(e.flags|=4194816)}}function Yy(t,e,a,o,c){if(a.prototype&&typeof a.prototype.render=="function"){var f=I(a)||"Unknown";_C[f]||(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.",f,f),_C[f]=!0)}return e.mode&Xa&&Vo.recordLegacyContextWarning(e,null),t===null&&(_r(e,e.type),a.contextTypes&&(f=I(a)||"Unknown",jC[f]||(jC[f]=!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)",f)))),nu(e),a=My(t,e,a,o,void 0,c),o=ss(),t!==null&&!Jn?(yf(t,e,c),Wl(t,e,c)):(pe&&o&&Th(e),e.flags|=1,Yn(t,e,a,c),e.child)}function Gy(t,e,a,o,c,f){return nu(e),Zs=-1,E0=t!==null&&t.type!==e.type,e.updateQueue=null,a=mf(e,o,a,c),vn(t,e),o=ss(),t!==null&&!Jn?(yf(t,e,f),Wl(t,e,f)):(pe&&o&&Th(e),e.flags|=1,Yn(t,e,a,f),e.child)}function bs(t,e,a,o,c){switch(b(e)){case!1:var f=e.stateNode,y=new e.type(e.memoizedProps,f.context).state;f.updater.enqueueSetState(f,y,null);break;case!0:e.flags|=128,e.flags|=65536,f=Error("Simulated error coming from DevTools");var g=c&-c;if(e.lanes|=g,y=ke,y===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");g=Gh(g),Xh(g,y,e,ya(f,e)),df(e,g)}if(nu(e),e.stateNode===null){if(y=gc,f=a.contextType,"contextType"in a&&f!==null&&(f===void 0||f.$$typeof!==ii)&&!wC.has(a)&&(wC.add(a),g=f===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 f!="object"?" However, it is set to a "+typeof f+".":f.$$typeof===wm?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(f).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",I(a)||"Component",g)),typeof f=="object"&&f!==null&&(y=De(f)),f=new a(o,y),e.mode&Xa){Ye(!0);try{f=new a(o,y)}finally{Ye(!1)}}if(y=e.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=h2,e.stateNode=f,f._reactInternals=e,f._reactInternalInstance=AC,typeof a.getDerivedStateFromProps=="function"&&y===null&&(y=I(a)||"Component",xC.has(y)||(xC.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,f.state===null?"null":"undefined",y))),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"){var E=g=y=null;if(typeof f.componentWillMount=="function"&&f.componentWillMount.__suppressDeprecationWarning!==!0?y="componentWillMount":typeof f.UNSAFE_componentWillMount=="function"&&(y="UNSAFE_componentWillMount"),typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps.__suppressDeprecationWarning!==!0?g="componentWillReceiveProps":typeof f.UNSAFE_componentWillReceiveProps=="function"&&(g="UNSAFE_componentWillReceiveProps"),typeof f.componentWillUpdate=="function"&&f.componentWillUpdate.__suppressDeprecationWarning!==!0?E="componentWillUpdate":typeof f.UNSAFE_componentWillUpdate=="function"&&(E="UNSAFE_componentWillUpdate"),y!==null||g!==null||E!==null){f=I(a)||"Component";var D=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";CC.has(f)||(CC.add(f),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
177
+
178
+ %s uses %s but also contains the following legacy lifecycles:%s%s%s
179
+
180
+ The above lifecycles should be removed. Learn more about this warning here:
181
+ https://react.dev/link/unsafe-component-lifecycles`,f,D,y!==null?`
182
+ `+y:"",g!==null?`
183
+ `+g:"",E!==null?`
184
+ `+E:""))}}f=e.stateNode,y=I(a)||"Component",f.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)),!f.getInitialState||f.getInitialState.isReactClassApproved||f.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),f.getDefaultProps&&!f.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),f.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),a.childContextTypes&&!RC.has(a)&&(RC.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&&!OC.has(a)&&(OC.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 f.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 f.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.",I(a)||"A pure component"),typeof f.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",y),typeof f.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 f.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof f.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y),g=f.props!==o,f.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),f.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 f.getSnapshotBeforeUpdate!="function"||typeof f.componentDidUpdate=="function"||DC.has(a)||(DC.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",I(a))),typeof f.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 f.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=f.state)&&(typeof g!="object"||Dn(g))&&console.error("%s.state: must be set to an object or null",y),typeof f.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y),f=e.stateNode,f.props=o,f.state=e.memoizedState,f.refs={},he(e),y=a.contextType,f.context=typeof y=="object"&&y!==null?De(y):gc,f.state===o&&(y=I(a)||"Component",MC.has(y)||(MC.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))),e.mode&Xa&&Vo.recordLegacyContextWarning(e,f),Vo.recordUnsafeLifecycleWarnings(e,f),f.state=e.memoizedState,y=a.getDerivedStateFromProps,typeof y=="function"&&(Ur(e,a,y,o),f.state=e.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(y=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),y!==f.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",yt(e)||"Component"),h2.enqueueReplaceState(f,f.state,null)),Oi(e,o,f,c),Er(),f.state=e.memoizedState),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728),f=!0}else if(t===null){f=e.stateNode;var V=e.memoizedProps;g=ji(a,V),f.props=g;var L=f.context;E=a.contextType,y=gc,typeof E=="object"&&E!==null&&(y=De(E)),D=a.getDerivedStateFromProps,E=typeof D=="function"||typeof f.getSnapshotBeforeUpdate=="function",V=e.pendingProps!==V,E||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(V||L!==y)&&Ni(e,f,o,y),Ec=!1;var U=e.memoizedState;f.state=U,Oi(e,o,f,c),Er(),L=e.memoizedState,V||U!==L||Ec?(typeof D=="function"&&(Ur(e,a,D,o),L=e.memoizedState),(g=Ec||Hh(e,a,g,o,U,L,y))?(E||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728)):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728),e.memoizedProps=o,e.memoizedState=L),f.props=o,f.state=L,f.context=y,f=g):(typeof f.componentDidMount=="function"&&(e.flags|=4194308),(e.mode&Bo)!==Zt&&(e.flags|=134217728),f=!1)}else{f=e.stateNode,Mi(t,e),y=e.memoizedProps,E=ji(a,y),f.props=E,D=e.pendingProps,U=f.context,L=a.contextType,g=gc,typeof L=="object"&&L!==null&&(g=De(L)),V=a.getDerivedStateFromProps,(L=typeof V=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y!==D||U!==g)&&Ni(e,f,o,g),Ec=!1,U=e.memoizedState,f.state=U,Oi(e,o,f,c),Er();var K=e.memoizedState;y!==D||U!==K||Ec||t!==null&&t.dependencies!==null&&br(t.dependencies)?(typeof V=="function"&&(Ur(e,a,V,o),K=e.memoizedState),(E=Ec||Hh(e,a,E,o,U,K,g)||t!==null&&t.dependencies!==null&&br(t.dependencies))?(L||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(o,K,g),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(o,K,g)),typeof f.componentDidUpdate=="function"&&(e.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof f.componentDidUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=1024),e.memoizedProps=o,e.memoizedState=K),f.props=o,f.state=K,f.context=g,f=E):(typeof f.componentDidUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||y===t.memoizedProps&&U===t.memoizedState||(e.flags|=1024),f=!1)}if(g=f,Of(t,e),y=(e.flags&128)!==0,g||y){if(g=e.stateNode,se(e),y&&typeof a.getDerivedStateFromError!="function")a=null,dl=-1;else if(a=ID(g),e.mode&Xa){Ye(!0);try{ID(g)}finally{Ye(!1)}}e.flags|=1,t!==null&&y?(e.child=Sd(e,t.child,null,c),e.child=Sd(e,null,a,c)):Yn(t,e,a,c),e.memoizedState=g.state,t=e.child}else t=Wl(t,e,c);return c=e.stateNode,f&&c.props!==o&&(cp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",yt(e)||"a component"),cp=!0),t}function Xy(t,e,a,o){return tu(),e.flags|=256,Yn(t,e,a,o),e.child}function _r(t,e){e&&e.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
185
+ %s.childContextTypes = ...`,e.displayName||e.name||"Component"),typeof e.getDerivedStateFromProps=="function"&&(t=I(e)||"Unknown",BC[t]||(console.error("%s: Function components do not support getDerivedStateFromProps.",t),BC[t]=!0)),typeof e.contextType=="object"&&e.contextType!==null&&(e=I(e)||"Unknown",NC[e]||(console.error("%s: Function components do not support contextType.",e),NC[e]=!0))}function Nr(t){return{baseLanes:t,cachePool:Ay()}}function Qh(t,e,a){return t=t!==null?t.childLanes&~a:0,e&&(t|=Nl),t}function Zh(t,e,a){var o,c=e.pendingProps;T(e)&&(e.flags|=128);var f=!1,y=(e.flags&128)!==0;if((o=y)||(o=t!==null&&t.memoizedState===null?!1:(_n.current&T0)!==0),o&&(f=!0,e.flags&=-129),o=(e.flags&32)!==0,e.flags&=-33,t===null){if(pe){if(f?Sa(e):Ri(e),(t=tn)?(a=Ue(t,eo),a=a!==null&&a.data!==zd?a:null,a!==null&&(o={dehydrated:a,treeContext:wv(),retryLane:536870912,hydrationErrors:null},e.memoizedState=o,o=yy(a),o.return=e,e.child=o,wa=e,tn=null)):a=null,a===null)throw oa(e,t),Tl(e);return Ag(a)?e.lanes=32:e.lanes=536870912,null}var g=c.children;if(c=c.fallback,f){Ri(e);var E=e.mode;return g=Rf({mode:"hidden",children:g},E),c=ts(c,E,a,null),g.return=e,c.return=e,g.sibling=c,e.child=g,c=e.child,c.memoizedState=Nr(a),c.childLanes=Qh(t,o,a),e.memoizedState=y2,vs(null,c)}return Sa(e),Qy(e,g)}var D=t.memoizedState;if(D!==null){var V=D.dehydrated;if(V!==null){if(y)e.flags&256?(Sa(e),e.flags&=-257,e=kh(t,e,a)):e.memoizedState!==null?(Ri(e),e.child=t.child,e.flags|=128,e=null):(Ri(e),g=c.fallback,E=e.mode,c=Rf({mode:"visible",children:c.children},E),g=ts(g,E,a,null),g.flags|=2,c.return=e,g.return=e,c.sibling=g,e.child=c,Sd(e,t.child,null,a),c=e.child,c.memoizedState=Nr(a),c.childLanes=Qh(t,o,a),e.memoizedState=y2,e=vs(null,c));else if(Sa(e),_v(),(a&536870912)!==0&&Lr(e),Ag(V)){if(o=V.nextSibling&&V.nextSibling.dataset,o){g=o.dgst;var L=o.msg;E=o.stck;var U=o.cstck}f=L,o=g,c=E,V=U,g=f,E=V,g=Error(g||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),g.stack=c||"",g.digest=o,o=E===void 0?null:E,c={value:g,source:null,stack:o},typeof o=="string"&&$T.set(g,c),of(c),e=kh(t,e,a)}else if(Jn||Zl(t,e,a,!1),o=(a&t.childLanes)!==0,Jn||o){if(o=ke,o!==null&&(c=hv(o,a),c!==0&&c!==D.retryLane))throw D.retryLane=c,ia(t,c),kt(o,t,c),p2;Kf(V)||qr(),e=kh(t,e,a)}else Kf(V)?(e.flags|=192,e.child=t.child,e=null):(t=D.treeContext,tn=ul(V.nextSibling),wa=e,pe=!0,vc=null,Ou=!1,si=null,eo=!1,t!==null&&Uv(e,t),e=Qy(e,c.children),e.flags|=4096);return e}}return f?(Ri(e),g=c.fallback,E=e.mode,U=t.child,V=U.sibling,c=xi(U,{mode:"hidden",children:c.children}),c.subtreeFlags=U.subtreeFlags&65011712,V!==null?g=xi(V,g):(g=ts(g,E,a,null),g.flags|=2),g.return=e,c.return=e,c.sibling=g,e.child=c,vs(null,c),c=e.child,g=t.child.memoizedState,g===null?g=Nr(a):(E=g.cachePool,E!==null?(U=Qn._currentValue,E=E.parent!==U?{parent:U,pool:U}:E):E=Ay(),g={baseLanes:g.baseLanes|a,cachePool:E}),c.memoizedState=g,c.childLanes=Qh(t,o,a),e.memoizedState=y2,vs(t.child,c)):(D!==null&&(a&62914560)===a&&(a&t.lanes)!==0&&Lr(e),Sa(e),a=t.child,t=a.sibling,a=xi(a,{mode:"visible",children:c.children}),a.return=e,a.sibling=null,t!==null&&(o=e.deletions,o===null?(e.deletions=[t],e.flags|=16):o.push(t)),e.child=a,e.memoizedState=null,a)}function Qy(t,e){return e=Rf({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Rf(t,e){return t=w(22,t,null,e),t.lanes=0,t}function kh(t,e,a){return Sd(e,t.child,null,a),t=Qy(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Zy(t,e,a){t.lanes|=e;var o=t.alternate;o!==null&&(o.lanes|=e),Eh(t.return,e,a)}function Jh(t,e,a,o,c,f){var y=t.memoizedState;y===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:o,tail:a,tailMode:c,treeForkCount:f}:(y.isBackwards=e,y.rendering=null,y.renderingStartTime=0,y.last=o,y.tail=a,y.tailMode=c,y.treeForkCount=f)}function ky(t,e,a){var o=e.pendingProps,c=o.revealOrder,f=o.tail,y=o.children,g=_n.current;if((o=(g&T0)!==0)?(g=g&op|T0,e.flags|=128):g&=op,Vt(_n,g,e),g=c??"null",c!=="forwards"&&c!=="unstable_legacy-backwards"&&c!=="together"&&c!=="independent"&&!VC[g])if(VC[g]=!0,c==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(c==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof c=="string")switch(c.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',c,c.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.',c,c.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',c);g=f??"null",c1[g]||(f==null?(c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&(c1[g]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):f!=="visible"&&f!=="collapsed"&&f!=="hidden"?(c1[g]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',f)):c!=="forwards"&&c!=="backwards"&&c!=="unstable_legacy-backwards"&&(c1[g]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',f)));t:if((c==="forwards"||c==="backwards"||c==="unstable_legacy-backwards")&&y!==void 0&&y!==null&&y!==!1)if(Dn(y)){for(g=0;g<y.length;g++)if(!Ge(y[g],g))break t}else if(g=Dt(y),typeof g=="function"){if(g=g.call(y))for(var E=g.next(),D=0;!E.done;E=g.next()){if(!Ge(E.value,D))break t;D++}}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?',c);if(Yn(t,e,y,a),pe?(Po(),y=o0):y=0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Zy(t,a,e);else if(t.tag===19)Zy(t,a,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(c){case"forwards":for(a=e.child,c=null;a!==null;)t=a.alternate,t!==null&&us(t)===null&&(c=a),a=a.sibling;a=c,a===null?(c=e.child,e.child=null):(c=a.sibling,a.sibling=null),Jh(e,!1,c,a,f,y);break;case"backwards":case"unstable_legacy-backwards":for(a=null,c=e.child,e.child=null;c!==null;){if(t=c.alternate,t!==null&&us(t)===null){e.child=c;break}t=c.sibling,c.sibling=a,a=c,c=t}Jh(e,!0,a,null,f,y);break;case"together":Jh(e,!1,null,null,void 0,y);break;default:e.memoizedState=null}return e.child}function Wl(t,e,a){if(t!==null&&(e.dependencies=t.dependencies),dl=-1,Cc|=e.lanes,(a&e.childLanes)===0)if(t!==null){if(Zl(t,e,a,!1),(a&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error("Resuming work not yet implemented.");if(e.child!==null){for(t=e.child,a=xi(t,t.pendingProps),e.child=a,a.return=e;t.sibling!==null;)t=t.sibling,a=a.sibling=xi(t,t.pendingProps),a.return=e;a.sibling=null}return e.child}function Kh(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&br(t)))}function Gv(t,e,a){switch(e.tag){case 3:Gt(e,e.stateNode.containerInfo),Al(e,Qn,t.memoizedState.cache),tu();break;case 27:case 5:k(e);break;case 4:Gt(e,e.stateNode.containerInfo);break;case 10:Al(e,e.type,e.memoizedProps.value);break;case 12:(a&e.childLanes)!==0&&(e.flags|=4),e.flags|=2048;var o=e.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 31:if(e.memoizedState!==null)return e.flags|=128,$l(e),null;break;case 13:if(o=e.memoizedState,o!==null)return o.dehydrated!==null?(Sa(e),e.flags|=128,null):(a&e.child.childLanes)!==0?Zh(t,e,a):(Sa(e),t=Wl(t,e,a),t!==null?t.sibling:null);Sa(e);break;case 19:var c=(t.flags&128)!==0;if(o=(a&e.childLanes)!==0,o||(Zl(t,e,a,!1),o=(a&e.childLanes)!==0),c){if(o)return ky(t,e,a);e.flags|=128}if(c=e.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Vt(_n,_n.current,e),o)break;return null;case 22:return e.lanes=0,Hy(t,e,a,e.pendingProps);case 24:Al(e,Qn,t.memoizedState.cache)}return Wl(t,e,a)}function wf(t,e,a){if(e._debugNeedsRemount&&t!==null){a=Pu(e.type,e.key,e.pendingProps,e._debugOwner||null,e.mode,e.lanes),a._debugStack=e._debugStack,a._debugTask=e._debugTask;var o=e.return;if(o===null)throw Error("Cannot swap the root fiber.");if(t.alternate=null,e.alternate=null,a.index=e.index,a.sibling=e.sibling,a.return=e.return,a.ref=e.ref,a._debugInfo=e._debugInfo,e===o.child)o.child=a;else{var c=o.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==e;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=a}return e=o.deletions,e===null?(o.deletions=[t],o.flags|=16):e.push(t),a.flags|=2,a}if(t!==null)if(t.memoizedProps!==e.pendingProps||e.type!==t.type)Jn=!0;else{if(!Kh(t,a)&&(e.flags&128)===0)return Jn=!1,Gv(t,e,a);Jn=(t.flags&131072)!==0}else Jn=!1,(o=pe)&&(Po(),o=(e.flags&1048576)!==0),o&&(o=e.index,Po(),gy(e,o0,o));switch(e.lanes=0,e.tag){case 16:t:if(o=e.pendingProps,t=Ia(e.elementType),e.type=t,typeof t=="function")my(t)?(o=ji(t,o),e.tag=1,e.type=t=Wo(t),e=bs(null,e,t,o,a)):(e.tag=0,_r(e,t),e.type=t=Wo(t),e=Yy(null,e,t,o,a));else{if(t!=null){if(c=t.$$typeof,c===ac){e.tag=11,e.type=t=bh(t),e=qv(null,e,t,o,a);break t}else if(c===ld){e.tag=14,e=By(null,e,t,o,a);break t}}throw e="",t!==null&&typeof t=="object"&&t.$$typeof===sa&&(e=" Did you wrap a component in React.lazy() more than once?"),a=I(t)||t,Error("Element type is invalid. Received a promise that resolves to: "+a+". Lazy element type must resolve to a class or function."+e)}return e;case 0:return Yy(t,e,e.type,e.pendingProps,a);case 1:return o=e.type,c=ji(o,e.pendingProps),bs(t,e,o,c,a);case 3:t:{if(Gt(e,e.stateNode.containerInfo),t===null)throw Error("Should have a current fiber. This is a bug in React.");o=e.pendingProps;var f=e.memoizedState;c=f.element,Mi(t,e),Oi(e,o,null,a);var y=e.memoizedState;if(o=y.cache,Al(e,Qn,o),o!==f.cache&&yo(e,[Qn],a,!0),Er(),o=y.element,f.isDehydrated)if(f={element:o,isDehydrated:!1,cache:y.cache},e.updateQueue.baseState=f,e.memoizedState=f,e.flags&256){e=Xy(t,e,o,a);break t}else if(o!==c){c=ya(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),e),of(c),e=Xy(t,e,o,a);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(tn=ul(t.firstChild),wa=e,pe=!0,vc=null,Ou=!1,si=null,eo=!0,a=dC(e,null,o,a),e.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(tu(),o===c){e=Wl(t,e,a);break t}Yn(t,e,o,a)}e=e.child}return e;case 26:return Of(t,e),t===null?(a=Cg(e.type,null,e.pendingProps,null))?e.memoizedState=a:pe||(a=e.type,t=e.pendingProps,o=Lt(sl.current),o=kf(o).createElement(a),o[Ie]=e,o[Ra]=t,We(o,a,t),yn(o),e.stateNode=o):e.memoizedState=Cg(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return k(e),t===null&&pe&&(o=Lt(sl.current),c=F(),o=e.stateNode=Uo(e.type,e.pendingProps,o,c,!1),Ou||(c=qa(o,e.type,e.pendingProps,c),c!==null&&(es(e,0).serverProps=c)),wa=e,eo=!0,c=tn,Au(e.type)?(L2=c,tn=ul(o.firstChild)):tn=c),Yn(t,e,e.pendingProps.children,a),Of(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&pe&&(f=F(),o=$c(e.type,f.ancestorInfo),c=tn,(y=!c)||(y=vb(c,e.type,e.pendingProps,eo),y!==null?(e.stateNode=y,Ou||(f=qa(y,e.type,e.pendingProps,f),f!==null&&(es(e,0).serverProps=f)),wa=e,tn=ul(y.firstChild),eo=!1,f=!0):f=!1,y=!f),y&&(o&&oa(e,c),Tl(e))),k(e),c=e.type,f=e.pendingProps,y=t!==null?t.memoizedProps:null,o=f.children,Kr(c,f)?o=null:y!==null&&Kr(c,y)&&(e.flags|=32),e.memoizedState!==null&&(c=My(t,e,pf,null,null,a),L0._currentValue=c),Of(t,e),Yn(t,e,o,a),e.child;case 6:return t===null&&pe&&(a=e.pendingProps,t=F(),o=t.ancestorInfo.current,a=o!=null?Fc(a,o.tag,t.ancestorInfo.implicitRootScope):!0,t=tn,(o=!t)||(o=bb(t,e.pendingProps,eo),o!==null?(e.stateNode=o,wa=e,tn=null,o=!0):o=!1,o=!o),o&&(a&&oa(e,t),Tl(e))),null;case 13:return Zh(t,e,a);case 4:return Gt(e,e.stateNode.containerInfo),o=e.pendingProps,t===null?e.child=Sd(e,null,o,a):Yn(t,e,o,a),e.child;case 11:return qv(t,e,e.type,e.pendingProps,a);case 7:return Yn(t,e,e.pendingProps,a),e.child;case 8:return Yn(t,e,e.pendingProps.children,a),e.child;case 12:return e.flags|=4,e.flags|=2048,o=e.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,Yn(t,e,e.pendingProps.children,a),e.child;case 10:return o=e.type,c=e.pendingProps,f=c.value,"value"in c||HC||(HC=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Al(e,o,f),Yn(t,e,c.children,a),e.child;case 9:return c=e.type._context,o=e.pendingProps.children,typeof o!="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."),nu(e),c=De(c),o=a2(o,c,void 0),e.flags|=1,Yn(t,e,o,a),e.child;case 14:return By(t,e,e.type,e.pendingProps,a);case 15:return Vy(t,e,e.type,e.pendingProps,a);case 19:return ky(t,e,a);case 31:return Yv(t,e,a);case 22:return Hy(t,e,a,e.pendingProps);case 24:return nu(e),o=De(Qn),t===null?(c=bo(),c===null&&(c=ke,f=xh(),c.pooledCache=f,as(f),f!==null&&(c.pooledCacheLanes|=a),c=f),e.memoizedState={parent:o,cache:c},he(e),Al(e,Qn,c)):((t.lanes&a)!==0&&(Mi(t,e),Oi(e,null,null,a),Er()),c=t.memoizedState,f=e.memoizedState,c.parent!==o?(c={parent:o,cache:o},e.memoizedState=c,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=c),Al(e,Qn,o)):(o=f.cache,Al(e,Qn,o),o!==c.cache&&yo(e,[Qn],a,!0))),Yn(t,e,e.pendingProps.children,a),e.child;case 29:throw e.pendingProps}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Bi(t){t.flags|=4}function $h(t,e,a,o,c){if((e=(t.mode&V5)!==Zt)&&(e=!1),e){if(t.flags|=16777216,(c&335544128)===c)if(t.stateNode.complete)t.flags|=8192;else if(cg())t.flags|=8192;else throw bd=l1,i2}else t.flags&=-16777217}function Xv(t,e){if(e.type!=="stylesheet"||(e.state.loading&oo)!==wd)t.flags&=-16777217;else if(t.flags|=16777216,!fe(e))if(cg())t.flags|=8192;else throw bd=l1,i2}function jr(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Id():536870912,t.lanes|=e,Dd|=e)}function Br(t,e){if(!pe)switch(t.tailMode){case"hidden":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?t.tail=null:a.sibling=null;break;case"collapsed":a=t.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:o.sibling=null}}function je(t){var e=t.alternate!==null&&t.alternate.child===t.child,a=0,o=0;if(e)if((t.mode&ie)!==Zt){for(var c=t.selfBaseDuration,f=t.child;f!==null;)a|=f.lanes|f.childLanes,o|=f.subtreeFlags&65011712,o|=f.flags&65011712,c+=f.treeBaseDuration,f=f.sibling;t.treeBaseDuration=c}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags&65011712,o|=c.flags&65011712,c.return=t,c=c.sibling;else if((t.mode&ie)!==Zt){c=t.actualDuration,f=t.selfBaseDuration;for(var y=t.child;y!==null;)a|=y.lanes|y.childLanes,o|=y.subtreeFlags,o|=y.flags,c+=y.actualDuration,f+=y.treeBaseDuration,y=y.sibling;t.actualDuration=c,t.treeBaseDuration=f}else for(c=t.child;c!==null;)a|=c.lanes|c.childLanes,o|=c.subtreeFlags,o|=c.flags,c.return=t,c=c.sibling;return t.subtreeFlags|=o,t.childLanes=a,e}function Jy(t,e,a){var o=e.pendingProps;switch(Ah(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return je(e),null;case 1:return je(e),null;case 3:return a=e.stateNode,o=null,t!==null&&(o=t.memoizedState.cache),e.memoizedState.cache!==o&&(e.flags|=2048),Ql(Qn,e),j(e),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(t===null||t.child===null)&&(ns(e)?(eu(),Bi(e)):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,lf())),je(e),null;case 26:var c=e.type,f=e.memoizedState;return t===null?(Bi(e),f!==null?(je(e),Xv(e,f)):(je(e),$h(e,c,null,o,a))):f?f!==t.memoizedState?(Bi(e),je(e),Xv(e,f)):(je(e),e.flags&=-16777217):(t=t.memoizedProps,t!==o&&Bi(e),je(e),$h(e,c,t,o,a)),null;case 27:if(gt(e),a=Lt(sl.current),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&Bi(e);else{if(!o){if(e.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 je(e),null}t=F(),ns(e)?vy(e):(t=Uo(c,o,a,t,!0),e.stateNode=t,Bi(e))}return je(e),null;case 5:if(gt(e),c=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==o&&Bi(e);else{if(!o){if(e.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 je(e),null}var y=F();if(ns(e))vy(e);else{switch(f=Lt(sl.current),$c(c,y.ancestorInfo),y=y.context,f=kf(f),y){case vp:f=f.createElementNS(ne,c);break;case R1:f=f.createElementNS(Pt,c);break;default:switch(c){case"svg":f=f.createElementNS(ne,c);break;case"math":f=f.createElementNS(Pt,c);break;case"script":f=f.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof o.is=="string"?f.createElement("select",{is:o.is}):f.createElement("select"),o.multiple?f.multiple=!0:o.size&&(f.size=o.size);break;default:f=typeof o.is=="string"?f.createElement(c,{is:o.is}):f.createElement(c),c.indexOf("-")===-1&&(c!==c.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),Object.prototype.toString.call(f)!=="[object HTMLUnknownElement]"||rl.call(sM,c)||(sM[c]=!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.",c)))}}f[Ie]=e,f[Ra]=o;t:for(y=e.child;y!==null;){if(y.tag===5||y.tag===6)f.appendChild(y.stateNode);else if(y.tag!==4&&y.tag!==27&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===e)break t;for(;y.sibling===null;){if(y.return===null||y.return===e)break t;y=y.return}y.sibling.return=y.return,y=y.sibling}e.stateNode=f;t:switch(We(f,c,o),c){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&Bi(e)}}return je(e),$h(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,a),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==o&&Bi(e);else{if(typeof o!="string"&&e.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(t=Lt(sl.current),a=F(),ns(e)){if(t=e.stateNode,a=e.memoizedProps,c=!Ou,o=null,f=wa,f!==null)switch(f.tag){case 3:c&&(c=Ab(t,a,o),c!==null&&(es(e,0).serverProps=c));break;case 27:case 5:o=f.memoizedProps,c&&(c=Ab(t,a,o),c!==null&&(es(e,0).serverProps=c))}t[Ie]=e,t=!!(t.nodeValue===a||o!==null&&o.suppressHydrationWarning===!0||Sg(t.nodeValue,a)),t||Tl(e,!0)}else c=a.ancestorInfo.current,c!=null&&Fc(o,c.tag,a.ancestorInfo.implicitRootScope),t=kf(t).createTextNode(o),t[Ie]=e,e.stateNode=t}return je(e),null;case 31:if(a=e.memoizedState,t===null||t.memoizedState!==null){if(o=ns(e),a!==null){if(t===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");t[Ie]=e,je(e),(e.mode&ie)!==Zt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration))}else eu(),tu(),(e.flags&128)===0&&(a=e.memoizedState=null),e.flags|=4,je(e),(e.mode&ie)!==Zt&&a!==null&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration));t=!1}else a=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),t=!0;if(!t)return e.flags&256?(Ln(e),e):(Ln(e),null);if((e.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return je(e),null;case 13:if(o=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(c=o,f=ns(e),c!==null&&c.dehydrated!==null){if(t===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(f=e.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");f[Ie]=e,je(e),(e.mode&ie)!==Zt&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration))}else eu(),tu(),(e.flags&128)===0&&(c=e.memoizedState=null),e.flags|=4,je(e),(e.mode&ie)!==Zt&&c!==null&&(c=e.child,c!==null&&(e.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=lf(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=c),c=!0;if(!c)return e.flags&256?(Ln(e),e):(Ln(e),null)}return Ln(e),(e.flags&128)!==0?(e.lanes=a,(e.mode&ie)!==Zt&&is(e),e):(a=o!==null,t=t!==null&&t.memoizedState!==null,a&&(o=e.child,c=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(c=o.alternate.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==c&&(o.flags|=2048)),a!==t&&a&&(e.child.flags|=8192),jr(e,e.updateQueue),je(e),(e.mode&ie)!==Zt&&a&&(t=e.child,t!==null&&(e.treeBaseDuration-=t.treeBaseDuration)),null);case 4:return j(e),t===null&&Su(e.stateNode.containerInfo),je(e),null;case 10:return Ql(e.type,e),je(e),null;case 19:if(Bt(_n,e),o=e.memoizedState,o===null)return je(e),null;if(c=(e.flags&128)!==0,f=o.rendering,f===null)if(c)Br(o,!1);else{if(hn!==Js||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(f=us(t),f!==null){for(e.flags|=128,Br(o,!1),t=f.updateQueue,e.updateQueue=t,jr(e,t),e.subtreeFlags=0,t=a,a=e.child;a!==null;)py(a,t),a=a.sibling;return Vt(_n,_n.current&op|T0,e),pe&&Xl(e,o.treeForkCount),e.child}t=t.sibling}o.tail!==null&&Xn()>g1&&(e.flags|=128,c=!0,Br(o,!1),e.lanes=4194304)}else{if(!c)if(t=us(f),t!==null){if(e.flags|=128,c=!0,t=t.updateQueue,e.updateQueue=t,jr(e,t),Br(o,!0),o.tail===null&&o.tailMode==="hidden"&&!f.alternate&&!pe)return je(e),null}else 2*Xn()-o.renderingStartTime>g1&&a!==536870912&&(e.flags|=128,c=!0,Br(o,!1),e.lanes=4194304);o.isBackwards?(f.sibling=e.child,e.child=f):(t=o.last,t!==null?t.sibling=f:e.child=f,o.last=f)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Xn(),t.sibling=null,a=_n.current,a=c?a&op|T0:a&op,Vt(_n,a,e),pe&&Xl(e,o.treeForkCount),t):(je(e),null);case 22:case 23:return Ln(e),Kl(e),o=e.memoizedState!==null,t!==null?t.memoizedState!==null!==o&&(e.flags|=8192):o&&(e.flags|=8192),o?(a&536870912)!==0&&(e.flags&128)===0&&(je(e),e.subtreeFlags&6&&(e.flags|=8192)):je(e),a=e.updateQueue,a!==null&&jr(e,a.retryQueue),a=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),o=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(o=e.memoizedState.cachePool.pool),o!==a&&(e.flags|=2048),t!==null&&Bt(gd,e),null;case 24:return a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Ql(Qn,e),je(e),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+e.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Qv(t,e){switch(Ah(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 3:return Ql(Qn,e),j(e),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return gt(e),null;case 31:if(e.memoizedState!==null){if(Ln(e),e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");tu()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 13:if(Ln(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");tu()}return t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 19:return Bt(_n,e),null;case 4:return j(e),null;case 10:return Ql(e.type,e),null;case 22:case 23:return Ln(e),Kl(e),t!==null&&Bt(gd,e),t=e.flags,t&65536?(e.flags=t&-65537|128,(e.mode&ie)!==Zt&&is(e),e):null;case 24:return Ql(Qn,e),null;case 25:return null;default:return null}}function Ky(t,e){switch(Ah(e),e.tag){case 3:Ql(Qn,e),j(e);break;case 26:case 27:case 5:gt(e);break;case 4:j(e);break;case 31:e.memoizedState!==null&&Ln(e);break;case 13:Ln(e);break;case 19:Bt(_n,e);break;case 10:Ql(e.type,e);break;case 22:case 23:Ln(e),Kl(e),t!==null&&Bt(gd,e);break;case 24:Ql(Qn,e)}}function Vi(t){return(t.mode&ie)!==Zt}function Zv(t,e){Vi(t)?(rn(),Mo(e,t),va()):Mo(e,t)}function Fh(t,e,a){Vi(t)?(rn(),mu(a,t,e),va()):mu(a,t,e)}function Mo(t,e){try{var a=e.updateQueue,o=a!==null?a.lastEffect:null;if(o!==null){var c=o.next;a=c;do{if((a.tag&t)===t&&(o=void 0,(t&hl)!==o1&&(pp=!0),o=mt(e,X5,a),(t&hl)!==o1&&(pp=!1),o!==void 0&&typeof o!="function")){var f=void 0;f=(a.tag&ci)!==0?"useLayoutEffect":(a.tag&hl)!==0?"useInsertionEffect":"useEffect";var y=void 0;y=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
186
+
187
+ It looks like you wrote `+f+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
188
+
189
+ `+f+`(() => {
190
+ async function fetchData() {
191
+ // You can await here
192
+ const response = await MyAPI.getData(someId);
193
+ // ...
194
+ }
195
+ fetchData();
196
+ }, [someId]); // Or [] if effect doesn't need props or state
197
+
198
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,mt(e,function(g,E){console.error("%s must not return anything besides a function, which is used for clean-up.%s",g,E)},f,y)}a=a.next}while(a!==c)}}catch(g){ee(e,e.return,g)}}function mu(t,e,a){try{var o=e.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var f=c.next;o=f;do{if((o.tag&t)===t){var y=o.inst,g=y.destroy;g!==void 0&&(y.destroy=void 0,(t&hl)!==o1&&(pp=!0),c=e,mt(c,Q5,c,a,g),(t&hl)!==o1&&(pp=!1))}o=o.next}while(o!==f)}}catch(E){ee(e,e.return,E)}}function Uf(t,e){Vi(t)?(rn(),Mo(e,t),va()):Mo(e,t)}function Wh(t,e,a){Vi(t)?(rn(),mu(a,t,e),va()):mu(a,t,e)}function $y(t){var e=t.updateQueue;if(e!==null){var a=t.stateNode;t.type.defaultProps||"ref"in t.memoizedProps||cp||(a.props!==t.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.",yt(t)||"instance"),a.state!==t.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.",yt(t)||"instance"));try{mt(t,xr,e,a)}catch(o){ee(t,t.return,o)}}}function _f(t,e,a){return t.getSnapshotBeforeUpdate(e,a)}function kv(t,e){var a=e.memoizedProps,o=e.memoizedState;e=t.stateNode,t.type.defaultProps||"ref"in t.memoizedProps||cp||(e.props!==t.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.",yt(t)||"instance"),e.state!==t.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.",yt(t)||"instance"));try{var c=ji(t.type,a),f=mt(t,_f,e,c,o);a=LC,f!==void 0||a.has(t.type)||(a.add(t.type),mt(t,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",yt(t))})),e.__reactInternalSnapshotBeforeUpdate=f}catch(y){ee(t,t.return,y)}}function Ih(t,e,a){a.props=ji(t.type,t.memoizedProps),a.state=t.memoizedState,Vi(t)?(rn(),mt(t,lC,t,e,a),va()):mt(t,lC,t,e,a)}function Jv(t){var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}if(typeof e=="function")if(Vi(t))try{rn(),t.refCleanup=e(a)}finally{va()}else t.refCleanup=e(a);else typeof e=="string"?console.error("String refs are no longer supported."):e.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",yt(t)),e.current=a}}function Ss(t,e){try{mt(t,Jv,t)}catch(a){ee(t,e,a)}}function Ml(t,e){var a=t.ref,o=t.refCleanup;if(a!==null)if(typeof o=="function")try{if(Vi(t))try{rn(),mt(t,o)}finally{va(t)}else mt(t,o)}catch(c){ee(t,e,c)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof a=="function")try{if(Vi(t))try{rn(),mt(t,a,null)}finally{va(t)}else mt(t,a,null)}catch(c){ee(t,e,c)}else a.current=null}function Fy(t,e,a,o){var c=t.memoizedProps,f=c.id,y=c.onCommit;c=c.onRender,e=e===null?"mount":"update",t1&&(e="nested-update"),typeof c=="function"&&c(f,e,t.actualDuration,t.treeBaseDuration,t.actualStartTime,a),typeof y=="function"&&y(f,e,o,a)}function Kv(t,e,a,o){var c=t.memoizedProps;t=c.id,c=c.onPostCommit,e=e===null?"mount":"update",t1&&(e="nested-update"),typeof c=="function"&&c(t,e,o,a)}function pu(t){var e=t.type,a=t.memoizedProps,o=t.stateNode;try{mt(t,ub,o,e,a,t)}catch(c){ee(t,t.return,c)}}function Ph(t,e,a){try{mt(t,bm,t.stateNode,t.type,a,e,t)}catch(o){ee(t,t.return,o)}}function Wy(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Au(t.type)||t.tag===4}function tm(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Wy(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Au(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Vr(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?(rb(a),(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(t,e)):(rb(a),e=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,e.appendChild(t),a=a._reactRootContainer,a!=null||e.onclick!==null||(e.onclick=bl));else if(o!==4&&(o===27&&Au(t.type)&&(a=t.stateNode,e=null),t=t.child,t!==null))for(Vr(t,e,a),t=t.sibling;t!==null;)Vr(t,e,a),t=t.sibling}function Nf(t,e,a){var o=t.tag;if(o===5||o===6)t=t.stateNode,e?a.insertBefore(t,e):a.appendChild(t);else if(o!==4&&(o===27&&Au(t.type)&&(a=t.stateNode),t=t.child,t!==null))for(Nf(t,e,a),t=t.sibling;t!==null;)Nf(t,e,a),t=t.sibling}function Iy(t){for(var e,a=t.return;a!==null;){if(Wy(a)){e=a;break}a=a.return}if(e==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(e.tag){case 27:e=e.stateNode,a=tm(t),Nf(t,a,e);break;case 5:a=e.stateNode,e.flags&32&&(Sm(a),e.flags&=-33),e=tm(t),Nf(t,e,a);break;case 3:case 4:e=e.stateNode.containerInfo,a=tm(t),Vr(t,a,e);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Py(t){var e=t.stateNode,a=t.memoizedProps;try{mt(t,Zi,t.type,a,e,t)}catch(o){ee(t,t.return,o)}}function tg(t,e){return e.tag===31?(e=e.memoizedState,t.memoizedState!==null&&e===null):e.tag===13?(t=t.memoizedState,e=e.memoizedState,t!==null&&t.dehydrated!==null&&(e===null||e.dehydrated===null)):e.tag===3?t.memoizedState.isDehydrated&&(e.flags&256)===0:!1}function CT(t,e){if(t=t.containerInfo,B2=N1,t=ph(t),uy(t)){if("selectionStart"in t)var a={start:t.selectionStart,end:t.selectionEnd};else t:{a=(a=t.ownerDocument)&&a.defaultView||window;var o=a.getSelection&&a.getSelection();if(o&&o.rangeCount!==0){a=o.anchorNode;var c=o.anchorOffset,f=o.focusNode;o=o.focusOffset;try{a.nodeType,f.nodeType}catch{a=null;break t}var y=0,g=-1,E=-1,D=0,V=0,L=t,U=null;e:for(;;){for(var K;L!==a||c!==0&&L.nodeType!==3||(g=y+c),L!==f||o!==0&&L.nodeType!==3||(E=y+o),L.nodeType===3&&(y+=L.nodeValue.length),(K=L.firstChild)!==null;)U=L,L=K;for(;;){if(L===t)break e;if(U===a&&++D===c&&(g=y),U===f&&++V===o&&(E=y),(K=L.nextSibling)!==null)break;L=U,U=L.parentNode}L=K}a=g===-1||E===-1?null:{start:g,end:E}}else a=null}a=a||{start:0,end:0}}else a=null;for(V2={focusedElem:t,selectionRange:a},N1=!1,fa=e;fa!==null;)if(e=fa,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,fa=t;else for(;fa!==null;){switch(t=e=fa,a=t.alternate,c=t.flags,t.tag){case 0:if((c&4)!==0&&(t=t.updateQueue,t=t!==null?t.events:null,t!==null))for(a=0;a<t.length;a++)c=t[a],c.ref.impl=c.nextImpl;break;case 11:case 15:break;case 1:(c&1024)!==0&&a!==null&&kv(t,a);break;case 3:if((c&1024)!==0){if(t=t.stateNode.containerInfo,a=t.nodeType,a===9)Fr(t);else if(a===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Fr(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&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(t=e.sibling,t!==null){t.return=e.return,fa=t;break}fa=e.return}}function em(t,e,a){var o=$e(),c=El(),f=Fa(),y=xl(),g=a.flags;switch(a.tag){case 0:case 11:case 15:al(t,a),g&4&&Zv(a,ci|lo);break;case 1:if(al(t,a),g&4)if(t=a.stateNode,e===null)a.type.defaultProps||"ref"in a.memoizedProps||cp||(t.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.",yt(a)||"instance"),t.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.",yt(a)||"instance")),Vi(a)?(rn(),mt(a,l2,a,t),va()):mt(a,l2,a,t);else{var E=ji(a.type,e.memoizedProps);e=e.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||cp||(t.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.",yt(a)||"instance"),t.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.",yt(a)||"instance")),Vi(a)?(rn(),mt(a,eC,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate),va()):mt(a,eC,a,t,E,e,t.__reactInternalSnapshotBeforeUpdate)}g&64&&$y(a),g&512&&Ss(a,a.return);break;case 3:if(e=Ci(),al(t,a),g&64&&(g=a.updateQueue,g!==null)){if(E=null,a.child!==null)switch(a.child.tag){case 27:case 5:E=a.child.stateNode;break;case 1:E=a.child.stateNode}try{mt(a,xr,g,E)}catch(V){ee(a,a.return,V)}}t.effectDuration+=Sr(e);break;case 27:e===null&&g&4&&Py(a);case 26:case 5:if(al(t,a),e===null){if(g&4)pu(a);else if(g&64){t=a.type,e=a.memoizedProps,E=a.stateNode;try{mt(a,sb,E,t,e,a)}catch(V){ee(a,a.return,V)}}}g&512&&Ss(a,a.return);break;case 12:if(g&4){g=Ci(),al(t,a),t=a.stateNode,t.effectDuration+=ga(g);try{mt(a,Fy,a,e,bc,t.effectDuration)}catch(V){ee(a,a.return,V)}}else al(t,a);break;case 31:al(t,a),g&4&&ng(t,a);break;case 13:al(t,a),g&4&&ag(t,a),g&64&&(t=a.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(g=Oo.bind(null,a),Sb(t,g))));break;case 22:if(g=a.memoizedState!==null||ks,!g){e=e!==null&&e.memoizedState!==null||Kn,E=ks;var D=Kn;ks=g,(Kn=e)&&!D?(Il(t,a,(a.subtreeFlags&8772)!==0),(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&yh(a,jt,Yt)):al(t,a),ks=E,Kn=D}break;case 30:break;default:al(t,a)}(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&((An||.05<dn)&&Gl(a,jt,Yt,dn,un),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Yt-jt&&(tg(a.return.alternate,a.return)||Sl(a,jt,Yt,"Mount"))),Vn(o),$a(c),un=f,An=y}function Sn(t){var e=t.alternate;e!==null&&(t.alternate=null,Sn(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&kp(e)),t.stateNode=null,t._debugOwner=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Je(t,e,a){for(a=a.child;a!==null;)eg(t,e,a),a=a.sibling}function eg(t,e,a){if(wn&&typeof wn.onCommitFiberUnmount=="function")try{wn.onCommitFiberUnmount(_s,a)}catch(D){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",D))}var o=$e(),c=El(),f=Fa(),y=xl();switch(a.tag){case 26:Kn||Ml(a,e),Je(t,e,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(t=a.stateNode,t.parentNode.removeChild(t));break;case 27:Kn||Ml(a,e);var g=$n,E=Ul;Au(a.type)&&($n=a.stateNode,Ul=!1),Je(t,e,a),mt(a,_o,a.stateNode),$n=g,Ul=E;break;case 5:Kn||Ml(a,e);case 6:if(g=$n,E=Ul,$n=null,Je(t,e,a),$n=g,Ul=E,$n!==null)if(Ul)try{mt(a,fb,$n,a.stateNode)}catch(D){ee(a,e,D)}else try{mt(a,cb,$n,a.stateNode)}catch(D){ee(a,e,D)}break;case 18:$n!==null&&(Ul?(t=$n,Ds(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.stateNode),Os(t)):Ds($n,a.stateNode));break;case 4:g=$n,E=Ul,$n=a.stateNode.containerInfo,Ul=!0,Je(t,e,a),$n=g,Ul=E;break;case 0:case 11:case 14:case 15:mu(hl,a,e),Kn||Fh(a,e,ci),Je(t,e,a);break;case 1:Kn||(Ml(a,e),g=a.stateNode,typeof g.componentWillUnmount=="function"&&Ih(a,e,g)),Je(t,e,a);break;case 21:Je(t,e,a);break;case 22:Kn=(g=Kn)||a.memoizedState!==null,Je(t,e,a),Kn=g;break;default:Je(t,e,a)}(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(a,jt,Yt,dn,un),Vn(o),$a(c),un=f,An=y}function ng(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{mt(e,Tm,t)}catch(a){ee(e,e.return,a)}}}function ag(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{mt(e,xg,t)}catch(a){ee(e,e.return,a)}}function $v(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new qC),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new qC),e;default:throw Error("Unexpected Suspense handler tag ("+t.tag+"). This is a bug in React.")}}function yu(t,e){var a=$v(t);e.forEach(function(o){if(!a.has(o)){if(a.add(o),Ki)if(fp!==null&&dp!==null)Xr(dp,fp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var c=Es.bind(null,t,o);o.then(c,c)}})}function Ea(t,e){var a=e.deletions;if(a!==null)for(var o=0;o<a.length;o++){var c=t,f=e,y=a[o],g=$e(),E=f;t:for(;E!==null;){switch(E.tag){case 27:if(Au(E.type)){$n=E.stateNode,Ul=!1;break t}break;case 5:$n=E.stateNode,Ul=!1;break t;case 3:case 4:$n=E.stateNode.containerInfo,Ul=!0;break t}E=E.return}if($n===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");eg(c,f,y),$n=null,Ul=!1,(y.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(y,jt,Yt,"Unmount"),Vn(g),c=y,f=c.alternate,f!==null&&(f.return=null),c.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)jf(e,t),e=e.sibling}function jf(t,e){var a=$e(),o=El(),c=Fa(),f=xl(),y=t.alternate,g=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Ea(e,t),xa(t),g&4&&(mu(hl|lo,t,t.return),Mo(hl|lo,t),Fh(t,t.return,ci|lo));break;case 1:if(Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),g&64&&ks&&(g=t.updateQueue,g!==null&&(y=g.callbacks,y!==null))){var E=g.shared.hiddenCallbacks;g.shared.hiddenCallbacks=E===null?y:E.concat(y)}break;case 26:if(E=Lo,Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),g&4){var D=y!==null?y.memoizedState:null;if(g=t.memoizedState,y===null)if(g===null)if(t.stateNode===null){t:{g=t.type,y=t.memoizedProps,E=E.ownerDocument||E;e:switch(g){case"title":D=E.getElementsByTagName("title")[0],(!D||D[fc]||D[Ie]||D.namespaceURI===ne||D.hasAttribute("itemprop"))&&(D=E.createElement(g),E.head.insertBefore(D,E.querySelector("head > title"))),We(D,g,y),D[Ie]=t,yn(D),g=D;break t;case"link":var V=Pr("link","href",E).get(g+(y.href||""));if(V){for(var L=0;L<V.length;L++)if(D=V[L],D.getAttribute("href")===(y.href==null||y.href===""?null:y.href)&&D.getAttribute("rel")===(y.rel==null?null:y.rel)&&D.getAttribute("title")===(y.title==null?null:y.title)&&D.getAttribute("crossorigin")===(y.crossOrigin==null?null:y.crossOrigin)){V.splice(L,1);break e}}D=E.createElement(g),We(D,g,y),E.head.appendChild(D);break;case"meta":if(V=Pr("meta","content",E).get(g+(y.content||""))){for(L=0;L<V.length;L++)if(D=V[L],_e(y.content,"content"),D.getAttribute("content")===(y.content==null?null:""+y.content)&&D.getAttribute("name")===(y.name==null?null:y.name)&&D.getAttribute("property")===(y.property==null?null:y.property)&&D.getAttribute("http-equiv")===(y.httpEquiv==null?null:y.httpEquiv)&&D.getAttribute("charset")===(y.charSet==null?null:y.charSet)){V.splice(L,1);break e}}D=E.createElement(g),We(D,g,y),E.head.appendChild(D);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+g+'". This is a bug in React.')}D[Ie]=t,yn(D),g=D}t.stateNode=g}else xb(E,t.type,t.stateNode);else t.stateNode=xm(E,g,t.memoizedProps);else D!==g?(D===null?y.stateNode!==null&&(y=y.stateNode,y.parentNode.removeChild(y)):D.count--,g===null?xb(E,t.type,t.stateNode):xm(E,g,t.memoizedProps)):g===null&&t.stateNode!==null&&Ph(t,t.memoizedProps,y.memoizedProps)}break;case 27:Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),y!==null&&g&4&&Ph(t,t.memoizedProps,y.memoizedProps);break;case 5:if(Ea(e,t),xa(t),g&512&&(Kn||y===null||Ml(y,y.return)),t.flags&32){E=t.stateNode;try{mt(t,Sm,E)}catch(Et){ee(t,t.return,Et)}}g&4&&t.stateNode!=null&&(E=t.memoizedProps,Ph(t,E,y!==null?y.memoizedProps:E)),g&1024&&(g2=!0,t.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Ea(e,t),xa(t),g&4){if(t.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.");g=t.memoizedProps,y=y!==null?y.memoizedProps:g,E=t.stateNode;try{mt(t,MT,E,y,g)}catch(Et){ee(t,t.return,Et)}}break;case 3:if(E=Ci(),w1=null,D=Lo,Lo=Am(e.containerInfo),Ea(e,t),Lo=D,xa(t),g&4&&y!==null&&y.memoizedState.isDehydrated)try{mt(t,Eg,e.containerInfo)}catch(Et){ee(t,t.return,Et)}g2&&(g2=!1,Fv(t)),e.effectDuration+=Sr(E);break;case 4:g=Lo,Lo=Am(t.stateNode.containerInfo),Ea(e,t),xa(t),Lo=g;break;case 12:g=Ci(),Ea(e,t),xa(t),t.stateNode.effectDuration+=ga(g);break;case 31:Ea(e,t),xa(t),g&4&&(g=t.updateQueue,g!==null&&(t.updateQueue=null,yu(t,g)));break;case 13:Ea(e,t),xa(t),t.child.flags&8192&&t.memoizedState!==null!=(y!==null&&y.memoizedState!==null)&&(y1=Xn()),g&4&&(g=t.updateQueue,g!==null&&(t.updateQueue=null,yu(t,g)));break;case 22:E=t.memoizedState!==null;var U=y!==null&&y.memoizedState!==null,K=ks,vt=Kn;if(ks=K||E,Kn=vt||U,Ea(e,t),Kn=vt,ks=K,U&&!E&&!K&&!vt&&(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&yh(t,jt,Yt),xa(t),g&8192)t:for(e=t.stateNode,e._visibility=E?e._visibility&~i0:e._visibility|i0,!E||y===null||U||ks||Kn||(gu(t),(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(t,jt,Yt,"Disconnect")),y=null,e=t;;){if(e.tag===5||e.tag===26){if(y===null){U=y=e;try{D=U.stateNode,E?mt(U,hb,D):mt(U,yb,U.stateNode,U.memoizedProps)}catch(Et){ee(U,U.return,Et)}}}else if(e.tag===6){if(y===null){U=e;try{V=U.stateNode,E?mt(U,mb,V):mt(U,gb,V,U.memoizedProps)}catch(Et){ee(U,U.return,Et)}}}else if(e.tag===18){if(y===null){U=e;try{L=U.stateNode,E?mt(U,db,L):mt(U,pb,U.stateNode)}catch(Et){ee(U,U.return,Et)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;y===e&&(y=null),e=e.return}y===e&&(y=null),e.sibling.return=e.return,e=e.sibling}g&4&&(g=t.updateQueue,g!==null&&(y=g.retryQueue,y!==null&&(g.retryQueue=null,yu(t,y))));break;case 19:Ea(e,t),xa(t),g&4&&(g=t.updateQueue,g!==null&&(t.updateQueue=null,yu(t,g)));break;case 30:break;case 21:break;default:Ea(e,t),xa(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&((An||.05<dn)&&Gl(t,jt,Yt,dn,un),t.alternate===null&&t.return!==null&&t.return.alternate!==null&&.05<Yt-jt&&(tg(t.return.alternate,t.return)||Sl(t,jt,Yt,"Mount"))),Vn(a),$a(o),un=c,An=f}function xa(t){var e=t.flags;if(e&2){try{mt(t,Iy,t)}catch(a){ee(t,t.return,a)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Fv(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Fv(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function al(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)em(t,e.alternate,e),e=e.sibling}function nm(t){var e=$e(),a=El(),o=Fa(),c=xl();switch(t.tag){case 0:case 11:case 14:case 15:Fh(t,t.return,ci),gu(t);break;case 1:Ml(t,t.return);var f=t.stateNode;typeof f.componentWillUnmount=="function"&&Ih(t,t.return,f),gu(t);break;case 27:mt(t,_o,t.stateNode);case 26:case 5:Ml(t,t.return),gu(t);break;case 22:t.memoizedState===null&&gu(t);break;case 30:gu(t);break;default:gu(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(t,jt,Yt,dn,un),Vn(e),$a(a),un=o,An=c}function gu(t){for(t=t.child;t!==null;)nm(t),t=t.sibling}function lg(t,e,a,o){var c=$e(),f=El(),y=Fa(),g=xl(),E=a.flags;switch(a.tag){case 0:case 11:case 15:Il(t,a,o),Zv(a,ci);break;case 1:if(Il(t,a,o),e=a.stateNode,typeof e.componentDidMount=="function"&&mt(a,l2,a,e),e=a.updateQueue,e!==null){t=a.stateNode;try{mt(a,Dy,e,t)}catch(D){ee(a,a.return,D)}}o&&E&64&&$y(a),Ss(a,a.return);break;case 27:Py(a);case 26:case 5:Il(t,a,o),o&&e===null&&E&4&&pu(a),Ss(a,a.return);break;case 12:if(o&&E&4){E=Ci(),Il(t,a,o),o=a.stateNode,o.effectDuration+=ga(E);try{mt(a,Fy,a,e,bc,o.effectDuration)}catch(D){ee(a,a.return,D)}}else Il(t,a,o);break;case 31:Il(t,a,o),o&&E&4&&ng(t,a);break;case 13:Il(t,a,o),o&&E&4&&ag(t,a);break;case 22:a.memoizedState===null&&Il(t,a,o),Ss(a,a.return);break;case 30:break;default:Il(t,a,o)}(a.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(a,jt,Yt,dn,un),Vn(c),$a(f),un=y,An=g}function Il(t,e,a){for(a=a&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;)lg(t,e.alternate,e,a),e=e.sibling}function Bf(t,e){var a=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==a&&(t!=null&&as(t),a!=null&&sf(a))}function Vf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(as(e),t!=null&&sf(t))}function ll(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(e=e.child;e!==null;){var f=e.sibling;ig(t,e,a,o,f!==null?f.actualStartTime:c),e=f}}function ig(t,e,a,o,c){var f=$e(),y=El(),g=Fa(),E=xl(),D=pc,V=e.flags;switch(e.tag){case 0:case 11:case 15:(e.mode&ie)!==Zt&&0<e.actualStartTime&&(e.flags&1)!==0&&gh(e,e.actualStartTime,c,aa,a),ll(t,e,a,o,c),V&2048&&Uf(e,ml|lo);break;case 1:(e.mode&ie)!==Zt&&0<e.actualStartTime&&((e.flags&128)!==0?ry(e,e.actualStartTime,c,[]):(e.flags&1)!==0&&gh(e,e.actualStartTime,c,aa,a)),ll(t,e,a,o,c);break;case 3:var L=Ci(),U=aa;aa=e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)===0,ll(t,e,a,o,c),aa=U,V&2048&&(a=null,e.alternate!==null&&(a=e.alternate.memoizedState.cache),o=e.memoizedState.cache,o!==a&&(as(o),a!=null&&sf(a))),t.passiveEffectDuration+=Sr(L);break;case 12:if(V&2048){V=Ci(),ll(t,e,a,o,c),t=e.stateNode,t.passiveEffectDuration+=ga(V);try{mt(e,Kv,e,e.alternate,bc,t.passiveEffectDuration)}catch(K){ee(e,e.return,K)}}else ll(t,e,a,o,c);break;case 31:V=aa,L=e.alternate!==null?e.alternate.memoizedState:null,U=e.memoizedState,L!==null&&U===null?(U=e.deletions,U!==null&&0<U.length&&U[0].tag===18?(aa=!1,L=L.hydrationErrors,L!==null&&ry(e,e.actualStartTime,c,L)):aa=!0):aa=!1,ll(t,e,a,o,c),aa=V;break;case 13:V=aa,L=e.alternate!==null?e.alternate.memoizedState:null,U=e.memoizedState,L===null||L.dehydrated===null||U!==null&&U.dehydrated!==null?aa=!1:(U=e.deletions,U!==null&&0<U.length&&U[0].tag===18?(aa=!1,L=L.hydrationErrors,L!==null&&ry(e,e.actualStartTime,c,L)):aa=!0),ll(t,e,a,o,c),aa=V;break;case 23:break;case 22:U=e.stateNode,L=e.alternate,e.memoizedState!==null?U._visibility&Bs?ll(t,e,a,o,c):Ts(t,e,a,o,c):U._visibility&Bs?ll(t,e,a,o,c):(U._visibility|=Bs,vu(t,e,a,o,(e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child),c),(e.mode&ie)===Zt||aa||(t=e.actualStartTime,0<=t&&.05<c-t&&yh(e,t,c),0<=jt&&0<=Yt&&.05<Yt-jt&&yh(e,jt,Yt))),V&2048&&Bf(L,e);break;case 24:ll(t,e,a,o,c),V&2048&&Vf(e.alternate,e);break;default:ll(t,e,a,o,c)}(e.mode&ie)!==Zt&&((t=!aa&&e.alternate===null&&e.return!==null&&e.return.alternate!==null)&&(a=e.actualStartTime,0<=a&&.05<c-a&&Sl(e,a,c,"Mount")),0<=jt&&0<=Yt&&((An||.05<dn)&&Gl(e,jt,Yt,dn,un),t&&.05<Yt-jt&&Sl(e,jt,Yt,"Mount"))),Vn(f),$a(y),un=g,An=E,pc=D}function vu(t,e,a,o,c,f){for(c=c&&((e.subtreeFlags&10256)!==0||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child)),e=e.child;e!==null;){var y=e.sibling;Hf(t,e,a,o,c,y!==null?y.actualStartTime:f),e=y}}function Hf(t,e,a,o,c,f){var y=$e(),g=El(),E=Fa(),D=xl(),V=pc;c&&(e.mode&ie)!==Zt&&0<e.actualStartTime&&(e.flags&1)!==0&&gh(e,e.actualStartTime,f,aa,a);var L=e.flags;switch(e.tag){case 0:case 11:case 15:vu(t,e,a,o,c,f),Uf(e,ml);break;case 23:break;case 22:var U=e.stateNode;e.memoizedState!==null?U._visibility&Bs?vu(t,e,a,o,c,f):Ts(t,e,a,o,f):(U._visibility|=Bs,vu(t,e,a,o,c,f)),c&&L&2048&&Bf(e.alternate,e);break;case 24:vu(t,e,a,o,c,f),c&&L&2048&&Vf(e.alternate,e);break;default:vu(t,e,a,o,c,f)}(e.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(e,jt,Yt,dn,un),Vn(y),$a(g),un=E,An=D,pc=V}function Ts(t,e,a,o,c){if(e.subtreeFlags&10256||e.actualDuration!==0&&(e.alternate===null||e.alternate.child!==e.child))for(var f=e.child;f!==null;){e=f.sibling;var y=t,g=a,E=o,D=e!==null?e.actualStartTime:c,V=pc;(f.mode&ie)!==Zt&&0<f.actualStartTime&&(f.flags&1)!==0&&gh(f,f.actualStartTime,D,aa,g);var L=f.flags;switch(f.tag){case 22:Ts(y,f,g,E,D),L&2048&&Bf(f.alternate,f);break;case 24:Ts(y,f,g,E,D),L&2048&&Vf(f.alternate,f);break;default:Ts(y,f,g,E,D)}pc=V,f=e}}function As(t,e,a){if(t.subtreeFlags&D0)for(t=t.child;t!==null;)am(t,e,a),t=t.sibling}function am(t,e,a){switch(t.tag){case 26:As(t,e,a),t.flags&D0&&t.memoizedState!==null&&Og(a,Lo,t.memoizedState,t.memoizedProps);break;case 5:As(t,e,a);break;case 3:case 4:var o=Lo;Lo=Am(t.stateNode.containerInfo),As(t,e,a),Lo=o;break;case 22:t.memoizedState===null&&(o=t.alternate,o!==null&&o.memoizedState!==null?(o=D0,D0=16777216,As(t,e,a),D0=o):As(t,e,a));break;default:As(t,e,a)}}function og(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function il(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=$e();fa=o,Hi(o,t),(o.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(o,jt,Yt,"Unmount"),Vn(c)}og(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)lm(t),t=t.sibling}function lm(t){var e=$e(),a=El(),o=Fa(),c=xl();switch(t.tag){case 0:case 11:case 15:il(t),t.flags&2048&&Wh(t,t.return,ml|lo);break;case 3:var f=Ci();il(t),t.stateNode.passiveEffectDuration+=Sr(f);break;case 12:f=Ci(),il(t),t.stateNode.passiveEffectDuration+=ga(f);break;case 22:f=t.stateNode,t.memoizedState!==null&&f._visibility&Bs&&(t.return===null||t.return.tag!==13)?(f._visibility&=~Bs,im(t),(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(t,jt,Yt,"Disconnect")):il(t);break;default:il(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(t,jt,Yt,dn,un),Vn(e),$a(a),An=c,un=o}function im(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var a=0;a<e.length;a++){var o=e[a],c=$e();fa=o,Hi(o,t),(o.mode&ie)!==Zt&&0<=jt&&0<=Yt&&.05<Yt-jt&&Sl(o,jt,Yt,"Unmount"),Vn(c)}og(t)}for(t=t.child;t!==null;)ug(t),t=t.sibling}function ug(t){var e=$e(),a=El(),o=Fa(),c=xl();switch(t.tag){case 0:case 11:case 15:Wh(t,t.return,ml),im(t);break;case 22:var f=t.stateNode;f._visibility&Bs&&(f._visibility&=~Bs,im(t));break;default:im(t)}(t.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(t,jt,Yt,dn,un),Vn(e),$a(a),An=c,un=o}function Hi(t,e){for(;fa!==null;){var a=fa,o=a,c=e,f=$e(),y=El(),g=Fa(),E=xl();switch(o.tag){case 0:case 11:case 15:Wh(o,c,ml);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(c=o.memoizedState.cachePool.pool,c!=null&&as(c));break;case 24:sf(o.memoizedState.cache)}if((o.mode&ie)!==Zt&&0<=jt&&0<=Yt&&(An||.05<dn)&&Gl(o,jt,Yt,dn,un),Vn(f),$a(y),An=E,un=g,o=a.child,o!==null)o.return=a,fa=o;else t:for(a=t;fa!==null;){if(o=fa,f=o.sibling,y=o.return,Sn(o),o===a){fa=null;break t}if(f!==null){f.return=y,fa=f;break t}fa=y}}}function sg(){$5.forEach(function(t){return t()})}function rg(){var t=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return t||P.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),t}function ua(t){if((Te&la)!==da&&ue!==0)return ue&-ue;var e=P.T;return e!==null?(e._updatedFibers||(e._updatedFibers=new Set),e._updatedFibers.add(t),bg()):mv()}function Hr(){if(Nl===0)if((ue&536870912)===0||pe){var t=ud;ud<<=1,(ud&3932160)===0&&(ud=262144),Nl=t}else Nl=536870912;return t=ri.current,t!==null&&(t.flags|=32),Nl}function kt(t,e,a){if(pp&&console.error("useInsertionEffect must not schedule updates."),z2&&(S1=!0),(t===ke&&(Le===Ed||Le===xd)||t.cancelPendingCommit!==null)&&(Li(t,0),zl(t,ue,Nl,!1)),Zo(t,a),(Te&la)!==da&&t===ke){if(ki)switch(e.tag){case 0:case 11:case 15:t=ce&&yt(ce)||"Unknown",eM.has(t)||(eM.add(t),e=yt(e)||"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",e,t,t));break;case 1:tM||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),tM=!0)}}else Ki&&Na(t,e,a),Gf(e),t===ke&&((Te&la)===da&&(Mc|=a),hn===xc&&zl(t,ue,Nl,!1)),Ha(t)}function Wv(t,e,a){if((Te&(la|fi))!==da)throw Error("Should not already be working.");if(ue!==0&&ce!==null){var o=ce,c=Xn();switch(JD){case z0:case Ed:var f=f0;Pe&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Suspended",f,c,Fi,void 0,"primary-light")):console.timeStamp("Suspended",f,c,Fi,void 0,"primary-light"));break;case xd:f=f0,Pe&&((o=o._debugTask)?o.run(console.timeStamp.bind(console,"Action",f,c,Fi,void 0,"primary-light")):console.timeStamp("Action",f,c,Fi,void 0,"primary-light"));break;default:Pe&&(o=c-f0,3>o||console.timeStamp("Blocked",f0,c,Fi,void 0,5>o?"primary-light":10>o?"primary":100>o?"primary-dark":"error"))}}f=(a=!a&&(e&127)===0&&(e&t.expiredLanes)===0||In(t,e))?zo(t,e):Yr(t,e,!0);var y=a;do{if(f===Js){hp&&!a&&zl(t,e,0,!1),e=Le,f0=Zn(),JD=e;break}else{if(o=Xn(),c=t.current.alternate,y&&!Pv(c)){Yl(e),c=ca,f=o,!Pe||f<=c||(Cn?Cn.run(console.timeStamp.bind(console,"Teared Render",c,f,ve,ye,"error")):console.timeStamp("Teared Render",c,f,ve,ye,"error")),bu(e,o),f=Yr(t,e,!1),y=!1;continue}if(f===Ad){if(y=e,t.errorRecoveryDisabledLanes&y)var g=0;else g=t.pendingLanes&-536870913,g=g!==0?g:g&536870912?536870912:0;if(g!==0){Yl(e),cy(ca,o,e,Cn),bu(e,o),e=g;t:{o=t,f=y,y=R0;var E=o.current.memoizedState.isDehydrated;if(E&&(Li(o,g).flags|=256),g=Yr(o,g,!1),g!==Ad){if(S2&&!E){o.errorRecoveryDisabledLanes|=f,Mc|=f,f=xc;break t}o=pl,pl=y,o!==null&&(pl===null?pl=o:pl.push.apply(pl,o))}f=g}if(y=!1,f!==Ad)continue;o=Xn()}}if(f===M0){Yl(e),cy(ca,o,e,Cn),bu(e,o),Li(t,0),zl(t,e,0,!0);break}t:{switch(a=t,f){case Js:case M0:throw Error("Root did not complete. This is a bug in React.");case xc:if((e&4194048)!==e)break;case d1:Yl(e),Mv(ca,o,e,Cn),bu(e,o),c=e,(c&127)!==0?Wb=o:(c&4194048)!==0&&(Ib=o),zl(a,e,Nl,!Dc);break t;case Ad:pl=null;break;case f1:case YC:break;default:throw Error("Unknown root exit status.")}if(P.actQueue!==null)Xe(a,c,e,pl,w0,p1,Nl,Mc,Dd,f,null,null,ca,o);else{if((e&62914560)===e&&(y=y1+QC-Xn(),10<y)){if(zl(a,e,Nl,!Dc),Wd(a,0,!0)!==0)break t;qo=e,a.timeoutHandle=rM(Iv.bind(null,a,c,pl,w0,p1,e,Nl,Mc,Dd,Dc,f,"Throttled",ca,o),y);break t}Iv(a,c,pl,w0,p1,e,Nl,Mc,Dd,Dc,f,null,ca,o)}}}break}while(!0);Ha(t)}function Iv(t,e,a,o,c,f,y,g,E,D,V,L,U,K){t.timeoutHandle=Rd;var vt=e.subtreeFlags,Et=null;if((vt&8192||(vt&16785408)===16785408)&&(Et={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:bl},am(e,f,Et),vt=(f&62914560)===f?y1-Xn():(f&4194048)===f?XC-Xn():0,vt=Dm(Et,vt),vt!==null)){qo=f,t.cancelPendingCommit=vt(Xe.bind(null,t,e,f,a,o,c,y,g,E,V,Et,Et.waitingForViewTransition?"Waiting for the previous Animation":0<Et.count?0<Et.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Et.imgCount===1?"Suspended on an Image":0<Et.imgCount?"Suspended on Images":null,U,K)),zl(t,f,y,!D);return}Xe(t,e,f,a,o,c,y,g,E,V,Et,L,U,K)}function Pv(t){for(var e=t;;){var a=e.tag;if((a===0||a===11||a===15)&&e.flags&16384&&(a=e.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var o=0;o<a.length;o++){var c=a[o],f=c.getSnapshot;c=c.value;try{if(!fl(f(),c))return!1}catch{return!1}}if(a=e.child,e.subtreeFlags&16384&&a!==null)a.return=e,e=a;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function zl(t,e,a,o){e&=~T2,e&=~Mc,t.suspendedLanes|=e,t.pingedLanes&=~e,o&&(t.warmLanes|=e),o=t.expirationTimes;for(var c=e;0<c;){var f=31-ea(c),y=1<<f;o[f]=-1,c&=~y}a!==0&&Zp(t,a,e)}function ol(){return(Te&(la|fi))===da?(Yi(0),!1):!0}function om(){if(ce!==null){if(Le===_l)var t=ce.return;else t=ce,vr(),lu(t),lp=null,S0=0,t=ce;for(;t!==null;)Ky(t.alternate,t),t=t.return;ce=null}}function bu(t,e){(t&127)!==0&&(hd=e),(t&4194048)!==0&&(Ys=e),(t&62914560)!==0&&(ZD=e),(t&2080374784)!==0&&(kD=e)}function Li(t,e){Pe&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",ye,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",ye,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",ye,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",ye,"primary-light"));var a=ca;if(ca=Zn(),ue!==0&&0<a){if(Yl(ue),hn===f1||hn===xc)Mv(a,ca,e,Cn);else{var o=ca,c=Cn;if(Pe&&!(o<=a)){var f=(e&738197653)===e?"tertiary-dark":"primary-dark",y=(e&536870912)===e?"Prewarm":(e&201326741)===e?"Interrupted Hydration":"Interrupted Render";c?c.run(console.timeStamp.bind(console,y,a,o,ve,ye,f)):console.timeStamp(y,a,o,ve,ye,f)}}bu(ue,ca)}if(a=Cn,Cn=null,(e&127)!==0){Cn=s0,c=0<=Ru&&Ru<hd?hd:Ru,o=0<=md&&md<hd?hd:md,f=0<=o?o:0<=c?c:ca,0<=Wb?(Yl(2),zv(Wb,f,e,a)):Pb&127,a=c;var g=o,E=r0,D=0<ep,V=Sc===u0,L=Sc===Fb;if(c=ca,o=s0,f=PT,y=t2,Pe){if(ve="Blocking",0<a?a>c&&(a=c):a=c,0<g?g>a&&(g=a):g=a,E!==null&&a>g){var U=D?"secondary-light":"warning";o?o.run(console.timeStamp.bind(console,D?"Consecutive":"Event: "+E,g,a,ve,ye,U)):console.timeStamp(D?"Consecutive":"Event: "+E,g,a,ve,ye,U)}c>a&&(g=V?"error":(e&738197653)===e?"tertiary-light":"primary-light",V=L?"Promise Resolved":V?"Cascading Update":5<c-a?"Update Blocked":"Update",L=[],y!=null&&L.push(["Component name",y]),f!=null&&L.push(["Method name",f]),a={start:a,end:c,detail:{devtools:{properties:L,track:ve,trackGroup:ye,color:g}}},o?o.run(performance.measure.bind(performance,V,a)):performance.measure(V,a))}Ru=-1.1,Sc=0,t2=PT=null,Wb=-1.1,ep=md,md=-1.1,hd=Zn()}if((e&4194048)!==0&&(Cn=c0,c=0<=Gs&&Gs<Ys?Ys:Gs,a=0<=no&&no<Ys?Ys:no,o=0<=Tc&&Tc<Ys?Ys:Tc,f=0<=o?o:0<=a?a:ca,0<=Ib?(Yl(256),zv(Ib,f,e,Cn)):Pb&4194048,L=o,g=pd,E=0<Ac,D=e2===Fb,f=ca,o=c0,y=XD,V=QD,Pe&&(ve="Transition",0<a?a>f&&(a=f):a=f,0<c?c>a&&(c=a):c=a,0<L?L>c&&(L=c):L=c,c>L&&g!==null&&(U=E?"secondary-light":"warning",o?o.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+g,L,c,ve,ye,U)):console.timeStamp(E?"Consecutive":"Event: "+g,L,c,ve,ye,U)),a>c&&(o?o.run(console.timeStamp.bind(console,"Action",c,a,ve,ye,"primary-dark")):console.timeStamp("Action",c,a,ve,ye,"primary-dark")),f>a&&(c=D?"Promise Resolved":5<f-a?"Update Blocked":"Update",L=[],V!=null&&L.push(["Component name",V]),y!=null&&L.push(["Method name",y]),a={start:a,end:f,detail:{devtools:{properties:L,track:ve,trackGroup:ye,color:"primary-light"}}},o?o.run(performance.measure.bind(performance,c,a)):performance.measure(c,a))),no=Gs=-1.1,e2=0,Ib=-1.1,Ac=Tc,Tc=-1.1,Ys=Zn()),(e&62914560)!==0&&(Pb&62914560)!==0&&(Yl(4194304),fy(ZD,ca)),(e&2080374784)!==0&&(Pb&2080374784)!==0&&(Yl(268435456),fy(kD,ca)),a=t.timeoutHandle,a!==Rd&&(t.timeoutHandle=Rd,s6(a)),a=t.cancelPendingCommit,a!==null&&(t.cancelPendingCommit=null,a()),qo=0,om(),ke=t,ce=a=xi(t.current,null),ue=e,Le=_l,di=null,Dc=!1,hp=In(t,e),S2=!1,hn=Js,Dd=Nl=T2=Mc=Cc=0,pl=R0=null,p1=!1,(e&8)!==0&&(e|=e&32),o=t.entangledLanes,o!==0)for(t=t.entanglements,o&=e;0<o;)c=31-ea(o),f=1<<c,e|=t[c],o&=~f;return Uu=e,vh(),t=VD(),1e3<t-BD&&(P.recentlyCreatedOwnerStacks=0,BD=t),Vo.discardPendingWarnings(),a}function Pl(t,e){Ft=null,P.H=x0,P.getCurrentStack=null,ki=!1,Ga=null,e===ap||e===a1?(e=os(),Le=z0):e===i2?(e=os(),Le=GC):Le=e===p2?b2:e!==null&&typeof e=="object"&&typeof e.then=="function"?O0:h1,di=e;var a=ce;a===null?(hn=M0,Mf(t,ya(e,t.current))):a.mode&ie&&Dh(a)}function cg(){var t=ri.current;return t===null?!0:(ue&4194048)===ue?ao===null:(ue&62914560)===ue||(ue&536870912)!==0?t===ao:!1}function um(){var t=P.H;return P.H=x0,t===null?x0:t}function fg(){var t=P.A;return P.A=K5,t}function Lr(t){Cn===null&&(Cn=t._debugTask==null?null:t._debugTask)}function qr(){hn=xc,Dc||(ue&4194048)!==ue&&ri.current!==null||(hp=!0),(Cc&134217727)===0&&(Mc&134217727)===0||ke===null||zl(ke,ue,Nl,!1)}function Yr(t,e,a){var o=Te;Te|=la;var c=um(),f=fg();if(ke!==t||ue!==e){if(Ki){var y=t.memoizedUpdaters;0<y.size&&(Xr(t,ue),y.clear()),co(t,e)}w0=null,Li(t,e)}e=!1,y=hn;t:do try{if(Le!==_l&&ce!==null){var g=ce,E=di;switch(Le){case b2:om(),y=d1;break t;case z0:case Ed:case xd:case O0:ri.current===null&&(e=!0);var D=Le;if(Le=_l,di=null,Gr(t,g,E,D),a&&hp){y=Js;break t}break;default:D=Le,Le=_l,di=null,Gr(t,g,E,D)}}dg(),y=hn;break}catch(V){Pl(t,V)}while(!0);return e&&t.shellSuspendCounter++,vr(),Te=o,P.H=c,P.A=f,ce===null&&(ke=null,ue=0,vh()),y}function dg(){for(;ce!==null;)sm(ce)}function zo(t,e){var a=Te;Te|=la;var o=um(),c=fg();if(ke!==t||ue!==e){if(Ki){var f=t.memoizedUpdaters;0<f.size&&(Xr(t,ue),f.clear()),co(t,e)}w0=null,g1=Xn()+ZC,Li(t,e)}else hp=In(t,e);t:do try{if(Le!==_l&&ce!==null)e:switch(e=ce,f=di,Le){case h1:Le=_l,di=null,Gr(t,e,f,h1);break;case Ed:case xd:if(Ey(f)){Le=_l,di=null,hg(e);break}e=function(){Le!==Ed&&Le!==xd||ke!==t||(Le=m1),Ha(t)},f.then(e,e);break t;case z0:Le=m1;break t;case GC:Le=v2;break t;case m1:Ey(f)?(Le=_l,di=null,hg(e)):(Le=_l,di=null,Gr(t,e,f,m1));break;case v2:var y=null;switch(ce.tag){case 26:y=ce.memoizedState;case 5:case 27:var g=ce;if(y?fe(y):g.stateNode.complete){Le=_l,di=null;var E=g.sibling;if(E!==null)ce=E;else{var D=g.return;D!==null?(ce=D,Lf(D)):ce=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Le=_l,di=null,Gr(t,e,f,v2);break;case O0:Le=_l,di=null,Gr(t,e,f,O0);break;case b2:om(),hn=d1;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}P.actQueue!==null?dg():xn();break}catch(V){Pl(t,V)}while(!0);return vr(),P.H=o,P.A=c,Te=a,ce!==null?Js:(ke=null,ue=0,vh(),hn)}function xn(){for(;ce!==null&&!Bm();)sm(ce)}function sm(t){var e=t.alternate;(t.mode&ie)!==Zt?(go(t),e=mt(t,wf,e,t,Uu),Dh(t)):e=mt(t,wf,e,t,Uu),t.memoizedProps=t.pendingProps,e===null?Lf(t):ce=e}function hg(t){var e=mt(t,Gn,t);t.memoizedProps=t.pendingProps,e===null?Lf(t):ce=e}function Gn(t){var e=t.alternate,a=(t.mode&ie)!==Zt;switch(a&&go(t),t.tag){case 15:case 0:e=Gy(e,t,t.pendingProps,t.type,void 0,ue);break;case 11:e=Gy(e,t,t.pendingProps,t.type.render,t.ref,ue);break;case 5:lu(t);default:Ky(e,t),t=ce=py(t,Uu),e=wf(e,t,Uu)}return a&&Dh(t),e}function Gr(t,e,a,o){vr(),lu(e),lp=null,S0=0;var c=e.return;try{if(jy(t,c,e,a,ue)){hn=M0,Mf(t,ya(a,t.current)),ce=null;return}}catch(f){if(c!==null)throw ce=c,f;hn=M0,Mf(t,ya(a,t.current)),ce=null;return}e.flags&32768?(pe||o===h1?t=!0:hp||(ue&536870912)!==0?t=!1:(Dc=t=!0,(o===Ed||o===xd||o===z0||o===O0)&&(o=ri.current,o!==null&&o.tag===13&&(o.flags|=16384))),mg(e,t)):Lf(e)}function Lf(t){var e=t;do{if((e.flags&32768)!==0){mg(e,Dc);return}var a=e.alternate;if(t=e.return,go(e),a=mt(e,Jy,a,e,Uu),(e.mode&ie)!==Zt&&rf(e),a!==null){ce=a;return}if(e=e.sibling,e!==null){ce=e;return}ce=e=t}while(e!==null);hn===Js&&(hn=YC)}function mg(t,e){do{var a=Qv(t.alternate,t);if(a!==null){a.flags&=32767,ce=a;return}if((t.mode&ie)!==Zt){rf(t),a=t.actualDuration;for(var o=t.child;o!==null;)a+=o.actualDuration,o=o.sibling;t.actualDuration=a}if(a=t.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!e&&(t=t.sibling,t!==null)){ce=t;return}ce=t=a}while(t!==null);hn=d1,ce=null}function Xe(t,e,a,o,c,f,y,g,E,D,V,L,U,K){t.cancelPendingCommit=null;do qf();while(Fn!==Oc);if(Vo.flushLegacyContextWarning(),Vo.flushPendingUnsafeLifecycleWarnings(),(Te&(la|fi))!==da)throw Error("Should not already be working.");if(Yl(a),D===Ad?cy(U,K,a,Cn):o!==null?AT(U,K,a,o,e!==null&&e.alternate!==null&&e.alternate.memoizedState.isDehydrated&&(e.flags&256)!==0,Cn):TT(U,K,a,Cn),e!==null){if(a===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),e===t.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(f=e.lanes|e.childLanes,f|=KT,gT(t,a,f,y,g,E),t===ke&&(ce=ke=null,ue=0),mp=e,Rc=t,qo=a,x2=f,C2=c,WC=o,D2=K,IC=L,Yo=v1,PC=null,e.actualDuration!==0||(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,Qr(Us,function(){return V0=window.event,Yo===v1&&(Yo=E2),Yf(),null})):(t.callbackNode=null,t.callbackPriority=0),qs=null,bc=Zn(),L!==null&&ET(K,bc,L,Cn),o=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||o){o=P.T,P.T=null,c=Me.p,Me.p=Un,y=Te,Te|=fi;try{CT(t,e,a)}finally{Te=y,Me.p=c,P.T=o}}Fn=JC,Da(),qi(),pg()}}function Da(){if(Fn===JC){Fn=Oc;var t=Rc,e=mp,a=qo,o=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||o){o=P.T,P.T=null;var c=Me.p;Me.p=Un;var f=Te;Te|=fi;try{fp=a,dp=t,ls(),jf(e,t),dp=fp=null,a=V2;var y=ph(t.containerInfo),g=a.focusedElem,E=a.selectionRange;if(y!==g&&g&&g.ownerDocument&&Ev(g.ownerDocument.documentElement,g)){if(E!==null&&uy(g)){var D=E.start,V=E.end;if(V===void 0&&(V=D),"selectionStart"in g)g.selectionStart=D,g.selectionEnd=Math.min(V,g.value.length);else{var L=g.ownerDocument||document,U=L&&L.defaultView||window;if(U.getSelection){var K=U.getSelection(),vt=g.textContent.length,Et=Math.min(E.start,vt),Ke=E.end===void 0?Et:Math.min(E.end,vt);!K.extend&&Et>Ke&&(y=Ke,Ke=Et,Et=y);var ge=Av(g,Et),R=Av(g,Ke);if(ge&&R&&(K.rangeCount!==1||K.anchorNode!==ge.node||K.anchorOffset!==ge.offset||K.focusNode!==R.node||K.focusOffset!==R.offset)){var _=L.createRange();_.setStart(ge.node,ge.offset),K.removeAllRanges(),Et>Ke?(K.addRange(_),K.extend(R.node,R.offset)):(_.setEnd(R.node,R.offset),K.addRange(_))}}}}for(L=[],K=g;K=K.parentNode;)K.nodeType===1&&L.push({element:K,left:K.scrollLeft,top:K.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<L.length;g++){var B=L[g];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}N1=!!B2,V2=B2=null}finally{Te=f,Me.p=c,P.T=o}}t.current=e,Fn=KC}}function qi(){if(Fn===KC){Fn=Oc;var t=PC;if(t!==null){bc=Zn();var e=Ls,a=bc;!Pe||a<=e||console.timeStamp(t,e,a,ve,ye,"secondary-light")}t=Rc,e=mp,a=qo;var o=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||o){o=P.T,P.T=null;var c=Me.p;Me.p=Un;var f=Te;Te|=fi;try{fp=a,dp=t,ls(),em(t,e.alternate,e),dp=fp=null}finally{Te=f,Me.p=c,P.T=o}}t=D2,e=IC,Ls=Zn(),t=e===null?t:bc,e=Ls,a=Yo===A2,o=Cn,qs!==null?Ov(t,e,qs,!1,o):!Pe||e<=t||(o?o.run(console.timeStamp.bind(console,a?"Commit Interrupted View Transition":"Commit",t,e,ve,ye,a?"error":"secondary-dark")):console.timeStamp(a?"Commit Interrupted View Transition":"Commit",t,e,ve,ye,a?"error":"secondary-dark")),Fn=$C}}function pg(){if(Fn===FC||Fn===$C){if(Fn===FC){var t=Ls;Ls=Zn();var e=Ls,a=Yo===A2;!Pe||e<=t||console.timeStamp(a?"Interrupted View Transition":"Starting Animation",t,e,ve,ye,a?" error":"secondary-light"),Yo!==A2&&(Yo=kC)}Fn=Oc,Vm(),t=Rc;var o=mp;e=qo,a=WC;var c=o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0;c?Fn=b1:(Fn=Oc,mp=Rc=null,yg(t,t.pendingLanes),Cd=0,_0=null);var f=t.pendingLanes;if(f===0&&(zc=null),c||fm(t),f=ma(e),o=o.stateNode,wn&&typeof wn.onCommitFiberRoot=="function")try{var y=(o.current.flags&128)===128;switch(f){case Un:var g=kg;break;case na:g=Hm;break;case ra:g=Us;break;case Mu:g=Lm;break;default:g=Us}wn.onCommitFiberRoot(_s,o,g,y)}catch(L){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",L))}if(Ki&&t.memoizedUpdaters.clear(),sg(),a!==null){y=P.T,g=Me.p,Me.p=Un,P.T=null;try{var E=t.onRecoverableError;for(o=0;o<a.length;o++){var D=a[o],V=tb(D.stack);mt(D.source,E,D.value,V)}}finally{P.T=y,Me.p=g}}(qo&3)!==0&&qf(),Ha(t),f=t.pendingLanes,(e&261930)!==0&&(f&42)!==0?(e1=!0,t===M2?U0++:(U0=0,M2=t)):U0=0,c||bu(e,Ls),Yi(0)}}function tb(t){return t={componentStack:t},Object.defineProperty(t,"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.')}}),t}function yg(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,sf(e)))}function qf(){return Da(),qi(),pg(),Yf()}function Yf(){if(Fn!==b1)return!1;var t=Rc,e=x2;x2=0;var a=ma(qo),o=ra>a?ra:a;a=P.T;var c=Me.p;try{Me.p=o,P.T=null;var f=C2;C2=null,o=Rc;var y=qo;if(Fn=Oc,mp=Rc=null,qo=0,(Te&(la|fi))!==da)throw Error("Cannot flush passive effects while already rendering.");Yl(y),z2=!0,S1=!1;var g=0;if(qs=null,g=Xn(),Yo===kC)fy(Ls,g,Y5);else{var E=Ls,D=g,V=Yo===E2;!Pe||D<=E||(Cn?Cn.run(console.timeStamp.bind(console,V?"Waiting for Paint":"Waiting",E,D,ve,ye,"secondary-light")):console.timeStamp(V?"Waiting for Paint":"Waiting",E,D,ve,ye,"secondary-light"))}E=Te,Te|=fi;var L=o.current;ls(),lm(L);var U=o.current;L=D2,ls(),ig(o,U,y,f,L),fm(o),Te=E;var K=Xn();if(U=g,L=Cn,qs!==null?Ov(U,K,qs,!0,L):!Pe||K<=U||(L?L.run(console.timeStamp.bind(console,"Remaining Effects",U,K,ve,ye,"secondary-dark")):console.timeStamp("Remaining Effects",U,K,ve,ye,"secondary-dark")),bu(y,K),Yi(0,!1),S1?o===_0?Cd++:(Cd=0,_0=o):Cd=0,S1=z2=!1,wn&&typeof wn.onPostCommitFiberRoot=="function")try{wn.onPostCommitFiberRoot(_s,o)}catch(Et){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",Et))}var vt=o.current.stateNode;return vt.effectDuration=0,vt.passiveEffectDuration=0,!0}finally{Me.p=c,P.T=a,yg(t,e)}}function Ca(t,e,a){e=ya(a,e),jv(e),e=Yh(t.stateNode,e,2),t=zi(t,e,2),t!==null&&(Zo(t,2),Ha(t))}function ee(t,e,a){if(pp=!1,t.tag===3)Ca(t,t,a);else{for(;e!==null;){if(e.tag===3){Ca(e,t,a);return}if(e.tag===1){var o=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(zc===null||!zc.has(o))){t=ya(a,t),jv(t),a=Gh(2),o=zi(e,a,2),o!==null&&(Xh(a,o,e,t),Zo(o,2),Ha(o));return}}e=e.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.
199
+
200
+ Error message:
201
+
202
+ %s`,a)}}function rm(t,e,a){var o=t.pingCache;if(o===null){o=t.pingCache=new F5;var c=new Set;o.set(e,c)}else c=o.get(e),c===void 0&&(c=new Set,o.set(e,c));c.has(a)||(S2=!0,c.add(a),o=Va.bind(null,t,e,a),Ki&&Xr(t,a),e.then(o,o))}function Va(t,e,a){var o=t.pingCache;o!==null&&o.delete(e),t.pingedLanes|=t.suspendedLanes&a,t.warmLanes&=~a,(a&127)!==0?0>Ru&&(hd=Ru=Zn(),s0=$b("Promise Resolved"),Sc=Fb):(a&4194048)!==0&&0>no&&(Ys=no=Zn(),c0=$b("Promise Resolved"),e2=Fb),rg()&&P.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
203
+
204
+ When testing, code that resolves suspended data should be wrapped into act(...):
205
+
206
+ act(() => {
207
+ /* finish loading suspended data */
208
+ });
209
+ /* assert on the output */
210
+
211
+ 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`),ke===t&&(ue&a)===a&&(hn===xc||hn===f1&&(ue&62914560)===ue&&Xn()-y1<QC?(Te&la)===da&&Li(t,0):T2|=a,Dd===ue&&(Dd=0)),Ha(t)}function gg(t,e){e===0&&(e=Id()),t=ia(t,e),t!==null&&(Zo(t,e),Ha(t))}function Oo(t){var e=t.memoizedState,a=0;e!==null&&(a=e.retryLane),gg(t,a)}function Es(t,e){var a=0;switch(t.tag){case 31:case 13:var o=t.stateNode,c=t.memoizedState;c!==null&&(a=c.retryLane);break;case 19:o=t.stateNode;break;case 22:o=t.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(e),gg(t,a)}function ti(t,e,a){if((e.subtreeFlags&67117056)!==0)for(e=e.child;e!==null;){var o=t,c=e,f=c.type===Oa;f=a||f,c.tag!==22?c.flags&67108864?f&&mt(c,cm,o,c):ti(o,c,f):c.memoizedState===null&&(f&&c.flags&8192?mt(c,cm,o,c):c.subtreeFlags&67108864&&mt(c,ti,o,c,f)),e=e.sibling}}function cm(t,e){Ye(!0);try{nm(e),ug(e),lg(t,e.alternate,e,!1),Hf(t,e,0,null,!1,0)}finally{Ye(!1)}}function fm(t){var e=!0;t.current.mode&(Xa|Bo)||(e=!1),ti(t,t.current,e)}function Ol(t){if((Te&la)===da){var e=t.tag;if(e===3||e===1||e===0||e===11||e===14||e===15){if(e=yt(t)||"ReactComponent",T1!==null){if(T1.has(e))return;T1.add(e)}else T1=new Set([e]);mt(t,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 tries to update the component. Move this work to useEffect instead.")})}}}function Xr(t,e){Ki&&t.memoizedUpdaters.forEach(function(a){Na(t,a,e)})}function Qr(t,e){var a=P.actQueue;return a!==null?(a.push(e),P5):Zg(t,e)}function Gf(t){rg()&&P.actQueue===null&&mt(t,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
212
+
213
+ When testing, code that causes React state updates should be wrapped into act(...):
214
+
215
+ act(() => {
216
+ /* fire events that update state */
217
+ });
218
+ /* assert on the output */
219
+
220
+ 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`,yt(t))})}function Ha(t){t!==yp&&t.next===null&&(yp===null?A1=yp=t:yp=yp.next=t),E1=!0,P.actQueue!==null?R2||(R2=!0,nb()):O2||(O2=!0,nb())}function Yi(t,e){if(!w2&&E1){w2=!0;do for(var a=!1,o=A1;o!==null;){if(t!==0){var c=o.pendingLanes;if(c===0)var f=0;else{var y=o.suspendedLanes,g=o.pingedLanes;f=(1<<31-ea(42|t)+1)-1,f&=c&~(y&~g),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(a=!0,Xf(o,f))}else f=ue,f=Wd(o,o===ke?f:0,o.cancelPendingCommit!==null||o.timeoutHandle!==Rd),(f&3)===0||In(o,f)||(a=!0,Xf(o,f));o=o.next}while(a);w2=!1}}function eb(){V0=window.event,dm()}function dm(){E1=R2=O2=!1;var t=0;wc!==0&&Tg()&&(t=wc);for(var e=Xn(),a=null,o=A1;o!==null;){var c=o.next,f=Zr(o,e);f===0?(o.next=null,a===null?A1=c:a.next=c,c===null&&(yp=a)):(a=o,(t!==0||(f&3)!==0)&&(E1=!0)),o=c}Fn!==Oc&&Fn!==b1||Yi(t),wc!==0&&(wc=0)}function Zr(t,e){for(var a=t.suspendedLanes,o=t.pingedLanes,c=t.expirationTimes,f=t.pendingLanes&-62914561;0<f;){var y=31-ea(f),g=1<<y,E=c[y];E===-1?((g&a)===0||(g&o)!==0)&&(c[y]=yT(g,e)):E<=e&&(t.expiredLanes|=g),f&=~g}if(e=ke,a=ue,a=Wd(t,t===e?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Rd),o=t.callbackNode,a===0||t===e&&(Le===Ed||Le===xd)||t.cancelPendingCommit!==null)return o!==null&&hm(o),t.callbackNode=null,t.callbackPriority=0;if((a&3)===0||In(t,a)){if(e=a&-a,e!==t.callbackPriority||P.actQueue!==null&&o!==U2)hm(o);else return e;switch(ma(a)){case Un:case na:a=Hm;break;case ra:a=Us;break;case Mu:a=Lm;break;default:a=Us}return o=vg.bind(null,t),P.actQueue!==null?(P.actQueue.push(o),a=U2):a=Zg(a,o),t.callbackPriority=e,t.callbackNode=a,e}return o!==null&&hm(o),t.callbackPriority=2,t.callbackNode=null,2}function vg(t,e){if(e1=t1=!1,V0=window.event,Fn!==Oc&&Fn!==b1)return t.callbackNode=null,t.callbackPriority=0,null;var a=t.callbackNode;if(Yo===v1&&(Yo=E2),qf()&&t.callbackNode!==a)return null;var o=ue;return o=Wd(t,t===ke?o:0,t.cancelPendingCommit!==null||t.timeoutHandle!==Rd),o===0?null:(Wv(t,o,e),Zr(t,Xn()),t.callbackNode!=null&&t.callbackNode===a?vg.bind(null,t):null)}function Xf(t,e){if(qf())return null;t1=e1,e1=!1,Wv(t,e,!0)}function hm(t){t!==U2&&t!==null&&jm(t)}function nb(){P.actQueue!==null&&P.actQueue.push(function(){return dm(),null}),r6(function(){(Te&(la|fi))!==da?Zg(kg,eb):dm()})}function bg(){if(wc===0){var t=yd;t===0&&(t=rc,rc<<=1,(rc&261888)===0&&(rc=256)),wc=t}return wc}function Ae(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:(_e(t,"action"),Wc(""+t))}function Be(t,e){var a=e.ownerDocument.createElement("input");return a.name=e.name,a.value=e.value,t.id&&a.setAttribute("form",t.id),e.parentNode.insertBefore(a,e),t=new FormData(t),a.parentNode.removeChild(a),t}function me(t,e,a,o,c){if(e==="submit"&&a&&a.stateNode===c){var f=Ae((c[Ra]||null).action),y=o.submitter;y&&(e=(e=y[Ra]||null)?Ae(e.formAction):y.getAttribute("formAction"),e!==null&&(f=e,y=null));var g=new Gb("action","action",null,o,c);t.push({event:g,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(wc!==0){var E=y?Be(c,y):new FormData(c),D={pending:!0,data:E,method:c.method,action:f};Object.freeze(D),Do(a,D,null,E)}}else typeof f=="function"&&(g.preventDefault(),E=y?Be(c,y):new FormData(c),D={pending:!0,data:E,method:c.method,action:f},Object.freeze(D),Do(a,D,f,E))},currentTarget:c}]})}}function re(t,e,a){t.currentTarget=a;try{e(t)}catch(o){QT(o)}t.currentTarget=null}function we(t,e){e=(e&4)!==0;for(var a=0;a<t.length;a++){var o=t[a];t:{var c=void 0,f=o.event;if(o=o.listeners,e)for(var y=o.length-1;0<=y;y--){var g=o[y],E=g.instance,D=g.currentTarget;if(g=g.listener,E!==c&&f.isPropagationStopped())break t;E!==null?mt(E,re,f,g,D):re(f,g,D),c=E}else for(y=0;y<o.length;y++){if(g=o[y],E=g.instance,D=g.currentTarget,g=g.listener,E!==c&&f.isPropagationStopped())break t;E!==null?mt(E,re,f,g,D):re(f,g,D),c=E}}}}function Xt(t,e){_2.has(t)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',t);var a=e[Ns];a===void 0&&(a=e[Ns]=new Set);var o=t+"__bubble";a.has(o)||(mm(e,t,2,!1),a.add(o))}function Gi(t,e,a){_2.has(t)&&!e&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',t);var o=0;e&&(o|=4),mm(a,t,o,e)}function Su(t){if(!t[x1]){t[x1]=!0,Vb.forEach(function(a){a!=="selectionchange"&&(_2.has(a)||Gi(a,!1,t),Gi(a,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[x1]||(e[x1]=!0,Gi("selectionchange",!1,e))}}function mm(t,e,a,o){switch(zm(e)){case Un:var c=Ng;break;case na:c=ta;break;default:c=jg}a=c.bind(null,e,a,t),c=void 0,!NT||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(c=!0),o?c!==void 0?t.addEventListener(e,a,{capture:!0,passive:c}):t.addEventListener(e,a,!0):c!==void 0?t.addEventListener(e,a,{passive:c}):t.addEventListener(e,a,!1)}function ei(t,e,a,o,c){var f=o;if((e&1)===0&&(e&2)===0&&o!==null)t:for(;;){if(o===null)return;var y=o.tag;if(y===3||y===4){var g=o.stateNode.containerInfo;if(g===c)break;if(y===4)for(y=o.return;y!==null;){var E=y.tag;if((E===3||E===4)&&y.stateNode.containerInfo===c)return;y=y.return}for(;g!==null;){if(y=fo(g),y===null)return;if(E=y.tag,E===5||E===6||E===26||E===27){o=f=y;continue t}g=g.parentNode}}o=o.return}fh(function(){var D=f,V=Ll(a),L=[];t:{var U=jD.get(t);if(U!==void 0){var K=Gb,vt=t;switch(t){case"keypress":if(Ic(a)===0)break t;case"keydown":case"keyup":K=m5;break;case"focusin":vt="focus",K=HT;break;case"focusout":vt="blur",K=HT;break;case"beforeblur":case"afterblur":K=HT;break;case"click":if(a.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":K=TD;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":K=n5;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":K=g5;break;case wD:case UD:case _D:K=i5;break;case ND:K=b5;break;case"scroll":case"scrollend":K=t5;break;case"wheel":K=T5;break;case"copy":case"cut":case"paste":K=u5;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":K=ED;break;case"toggle":case"beforetoggle":K=E5}var Et=(e&4)!==0,Ke=!Et&&(t==="scroll"||t==="scrollend"),ge=Et?U!==null?U+"Capture":null:U;Et=[];for(var R=D,_;R!==null;){var B=R;if(_=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||_===null||ge===null||(B=Ai(R,ge),B!=null&&Et.push(Qe(R,B,_))),Ke)break;R=R.return}0<Et.length&&(U=new K(U,vt,null,a,V),L.push({event:U,listeners:Et}))}}if((e&7)===0){t:{if(U=t==="mouseover"||t==="pointerover",K=t==="mouseout"||t==="pointerout",U&&a!==Wg&&(vt=a.relatedTarget||a.fromElement)&&(fo(vt)||vt[jo]))break t;if((K||U)&&(U=V.window===V?V:(U=V.ownerDocument)?U.defaultView||U.parentWindow:window,K?(vt=a.relatedTarget||a.toElement,K=D,vt=vt?fo(vt):null,vt!==null&&(Ke=nt(vt),Et=vt.tag,vt!==Ke||Et!==5&&Et!==27&&Et!==6)&&(vt=null)):(K=null,vt=D),K!==vt)){if(Et=TD,B="onMouseLeave",ge="onMouseEnter",R="mouse",(t==="pointerout"||t==="pointerover")&&(Et=ED,B="onPointerLeave",ge="onPointerEnter",R="pointer"),Ke=K==null?U:ko(K),_=vt==null?U:ko(vt),U=new Et(B,R+"leave",K,a,V),U.target=Ke,U.relatedTarget=_,B=null,fo(V)===D&&(Et=new Et(ge,R+"enter",vt,a,V),Et.target=_,Et.relatedTarget=Ke,B=Et),Ke=B,K&&vt)e:{for(Et=xs,ge=K,R=vt,_=0,B=ge;B;B=Et(B))_++;B=0;for(var at=R;at;at=Et(at))B++;for(;0<_-B;)ge=Et(ge),_--;for(;0<B-_;)R=Et(R),B--;for(;_--;){if(ge===R||R!==null&&ge===R.alternate){Et=ge;break e}ge=Et(ge),R=Et(R)}Et=null}else Et=null;K!==null&&pm(L,U,K,Et,!1),vt!==null&&Ke!==null&&pm(L,Ke,vt,Et,!0)}}t:{if(U=D?ko(D):window,K=U.nodeName&&U.nodeName.toLowerCase(),K==="select"||K==="input"&&U.type==="file")var At=Fo;else if(ly(U))if(OD)At=nf;else{At=iy;var Wt=ST}else K=U.nodeName,!K||K.toLowerCase()!=="input"||U.type!=="checkbox"&&U.type!=="radio"?D&&Ti(D.elementType)&&(At=Fo):At=oy;if(At&&(At=At(t,D))){tf(L,At,a,V);break t}Wt&&Wt(t,U,D),t==="focusout"&&D&&U.type==="number"&&D.memoizedProps.value!=null&&$p(U,"number",U.value)}switch(Wt=D?ko(D):window,t){case"focusin":(ly(Wt)||Wt.contentEditable==="true")&&(Jm=Wt,qT=D,l0=null);break;case"focusout":l0=qT=Jm=null;break;case"mousedown":YT=!0;break;case"contextmenu":case"mouseup":case"dragend":YT=!1,xv(L,a,V);break;case"selectionchange":if(M5)break;case"keydown":case"keyup":xv(L,a,V)}var Nt;if(LT)t:{switch(t){case"compositionstart":var Ut="onCompositionStart";break t;case"compositionend":Ut="onCompositionEnd";break t;case"compositionupdate":Ut="onCompositionUpdate";break t}Ut=void 0}else km?hr(t,a)&&(Ut="onCompositionEnd"):t==="keydown"&&a.keyCode===xD&&(Ut="onCompositionStart");Ut&&(DD&&a.locale!=="ko"&&(km||Ut!=="onCompositionStart"?Ut==="onCompositionEnd"&&km&&(Nt=Ku()):(mc=V,jT="value"in mc?mc.value:mc.textContent,km=!0)),Wt=ni(D,Ut),0<Wt.length&&(Ut=new AD(Ut,t,null,a,V),L.push({event:Ut,listeners:Wt}),Nt?Ut.data=Nt:(Nt=po(a),Nt!==null&&(Ut.data=Nt)))),(Nt=D5?ay(t,a):dh(t,a))&&(Ut=ni(D,"onBeforeInput"),0<Ut.length&&(Wt=new r5("onBeforeInput","beforeinput",null,a,V),L.push({event:Wt,listeners:Ut}),Wt.data=Nt)),me(L,t,D,a,V)}we(L,e)})}function Qe(t,e,a){return{instance:t,listener:e,currentTarget:a}}function ni(t,e){for(var a=e+"Capture",o=[];t!==null;){var c=t,f=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||f===null||(c=Ai(t,a),c!=null&&o.unshift(Qe(t,c,f)),c=Ai(t,e),c!=null&&o.push(Qe(t,c,f))),t.tag===3)return o;t=t.return}return[]}function xs(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function pm(t,e,a,o,c){for(var f=e._reactName,y=[];a!==null&&a!==o;){var g=a,E=g.alternate,D=g.stateNode;if(g=g.tag,E!==null&&E===o)break;g!==5&&g!==26&&g!==27||D===null||(E=D,c?(D=Ai(a,f),D!=null&&y.unshift(Qe(a,D,E))):c||(D=Ai(a,f),D!=null&&y.push(Qe(a,D,E)))),a=a.return}y.length!==0&&t.push({event:e,listeners:y})}function Ma(t,e){bv(t,e),t!=="input"&&t!=="textarea"&&t!=="select"||e==null||e.value!==null||bD||(bD=!0,t==="select"&&e.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.",t):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t));var a={registrationNameDependencies:$i,possibleRegistrationNames:dc};Ti(t)||typeof e.is=="string"||bT(t,e,a),e.contentEditable&&!e.suppressContentEditableWarning&&e.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 ln(t,e,a,o){e!==a&&(a=ai(a),ai(e)!==a&&(o[t]=e))}function Qf(t,e,a){e.forEach(function(o){a[Ro(o)]=o==="style"?Tu(t):t.getAttribute(o)})}function on(t,e){e===!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.",t,t,t):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof e)}function ym(t,e){return t=t.namespaceURI===Pt||t.namespaceURI===ne?t.ownerDocument.createElementNS(t.namespaceURI,t.tagName):t.ownerDocument.createElement(t.tagName),t.innerHTML=e,t.innerHTML}function ai(t){return gi(t)&&(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.",nn(t)),Lu(t)),(typeof t=="string"?t:""+t).replace(t6,`
221
+ `).replace(e6,"")}function Sg(t,e){return e=ai(e),ai(t)===e}function Ce(t,e,a,o,c,f){switch(a){case"children":typeof o=="string"?(Fc(o,e,!1),e==="body"||e==="textarea"&&o===""||Ju(t,o)):(typeof o=="number"||typeof o=="bigint")&&(Fc(""+o,e,!1),e!=="body"&&Ju(t,""+o));break;case"className":Jc(t,"class",o);break;case"tabIndex":Jc(t,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":Jc(t,a,o);break;case"style":ty(t,o,f);break;case"data":if(e!=="object"){Jc(t,"data",o);break}case"src":case"href":if(o===""&&(e!=="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),t.removeAttribute(a);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}_e(o,a),o=Wc(""+o),t.setAttribute(a,o);break;case"action":case"formAction":if(o!=null&&(e==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(c.encType==null&&c.method==null||M1||(M1=!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.")),c.target==null||C1||(C1=!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."))):e==="input"||e==="button"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):e!=="input"||c.type==="submit"||c.type==="image"||D1?e!=="button"||c.type==null||c.type==="submit"||D1?typeof o=="function"&&(c.name==null||lM||(lM=!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.')),c.formEncType==null&&c.formMethod==null||M1||(M1=!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.")),c.formTarget==null||C1||(C1=!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."))):(D1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(D1=!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 o=="function"){t.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 f=="function"&&(a==="formAction"?(e!=="input"&&Ce(t,e,"name",c.name,c,null),Ce(t,e,"formEncType",c.formEncType,c,null),Ce(t,e,"formMethod",c.formMethod,c,null),Ce(t,e,"formTarget",c.formTarget,c,null)):(Ce(t,e,"encType",c.encType,c,null),Ce(t,e,"method",c.method,c,null),Ce(t,e,"target",c.target,c,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){t.removeAttribute(a);break}_e(o,a),o=Wc(""+o),t.setAttribute(a,o);break;case"onClick":o!=null&&(typeof o!="function"&&on(a,o),t.onclick=bl);break;case"onScroll":o!=null&&(typeof o!="function"&&on(a,o),Xt("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&on(a,o),Xt("scrollend",t));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))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=o.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"multiple":t.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":t.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){t.removeAttribute("xlink:href");break}_e(o,a),a=Wc(""+o),t.setAttributeNS(Md,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(_e(o,a),t.setAttribute(a,""+o)):t.removeAttribute(a);break;case"inert":o!==""||z1[a]||(z1[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":o&&typeof o!="function"&&typeof o!="symbol"?t.setAttribute(a,""):t.removeAttribute(a);break;case"capture":case"download":o===!0?t.setAttribute(a,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(_e(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(_e(o,a),t.setAttribute(a,o)):t.removeAttribute(a);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?t.removeAttribute(a):(_e(o,a),t.setAttribute(a,o));break;case"popover":Xt("beforetoggle",t),Xt("toggle",t),th(t,"popover",o);break;case"xlinkActuate":vi(t,Md,"xlink:actuate",o);break;case"xlinkArcrole":vi(t,Md,"xlink:arcrole",o);break;case"xlinkRole":vi(t,Md,"xlink:role",o);break;case"xlinkShow":vi(t,Md,"xlink:show",o);break;case"xlinkTitle":vi(t,Md,"xlink:title",o);break;case"xlinkType":vi(t,Md,"xlink:type",o);break;case"xmlBase":vi(t,N2,"xml:base",o);break;case"xmlLang":vi(t,N2,"xml:lang",o);break;case"xmlSpace":vi(t,N2,"xml:space",o);break;case"is":f!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),th(t,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":iM||o==null||typeof o!="object"||(iM=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=gv(a),th(t,a,o)):$i.hasOwnProperty(a)&&o!=null&&typeof o!="function"&&on(a,o)}}function kr(t,e,a,o,c,f){switch(a){case"style":ty(t,o,f);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))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=o.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");t.innerHTML=a}}break;case"children":typeof o=="string"?Ju(t,o):(typeof o=="number"||typeof o=="bigint")&&Ju(t,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&on(a,o),Xt("scroll",t));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&on(a,o),Xt("scrollend",t));break;case"onClick":o!=null&&(typeof o!="function"&&on(a,o),t.onclick=bl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if($i.hasOwnProperty(a))o!=null&&typeof o!="function"&&on(a,o);else t:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),e=a.slice(2,c?a.length-7:void 0),f=t[Ra]||null,f=f!=null?f[a]:null,typeof f=="function"&&t.removeEventListener(e,f,c),typeof o=="function")){typeof f!="function"&&f!==null&&(a in t?t[a]=null:t.hasAttribute(a)&&t.removeAttribute(a)),t.addEventListener(e,o,c);break t}a in t?t[a]=o:o===!0?t.setAttribute(a,""):th(t,a,o)}}}function We(t,e,a){switch(Ma(e,a),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Xt("error",t),Xt("load",t);var o=!1,c=!1,f;for(f in a)if(a.hasOwnProperty(f)){var y=a[f];if(y!=null)switch(f){case"src":o=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(t,e,f,y,a,null)}}c&&Ce(t,e,"srcSet",a.srcSet,a,null),o&&Ce(t,e,"src",a.src,a,null);return;case"input":Gu("input",a),Xt("invalid",t);var g=f=y=c=null,E=null,D=null;for(o in a)if(a.hasOwnProperty(o)){var V=a[o];if(V!=null)switch(o){case"name":c=V;break;case"type":y=V;break;case"checked":E=V;break;case"defaultChecked":D=V;break;case"value":f=V;break;case"defaultValue":g=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ce(t,e,o,V,a,null)}}pa(t,a),ah(t,f,g,E,D,y,c,!1);return;case"select":Gu("select",a),Xt("invalid",t),o=y=f=null;for(c in a)if(a.hasOwnProperty(c)&&(g=a[c],g!=null))switch(c){case"value":f=g;break;case"defaultValue":y=g;break;case"multiple":o=g;default:Ce(t,e,c,g,a,null)}lh(t,a),e=f,a=y,t.multiple=!!o,e!=null?bi(t,!!o,e,!1):a!=null&&bi(t,!!o,a,!0);return;case"textarea":Gu("textarea",a),Xt("invalid",t),f=c=o=null;for(y in a)if(a.hasOwnProperty(y)&&(g=a[y],g!=null))switch(y){case"value":o=g;break;case"defaultValue":c=g;break;case"children":f=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ce(t,e,y,g,a,null)}Xu(t,a),ur(t,o,c,f);return;case"option":yv(t,a);for(E in a)if(a.hasOwnProperty(E)&&(o=a[E],o!=null))switch(E){case"selected":t.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ce(t,e,E,o,a,null)}return;case"dialog":Xt("beforetoggle",t),Xt("toggle",t),Xt("cancel",t),Xt("close",t);break;case"iframe":case"object":Xt("load",t);break;case"video":case"audio":for(o=0;o<N0.length;o++)Xt(N0[o],t);break;case"image":Xt("error",t),Xt("load",t);break;case"details":Xt("toggle",t);break;case"embed":case"source":case"link":Xt("error",t),Xt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(D in a)if(a.hasOwnProperty(D)&&(o=a[D],o!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(t,e,D,o,a,null)}return;default:if(Ti(e)){for(V in a)a.hasOwnProperty(V)&&(o=a[V],o!==void 0&&kr(t,e,V,o,a,void 0));return}}for(g in a)a.hasOwnProperty(g)&&(o=a[g],o!=null&&Ce(t,e,g,o,a,null))}function Rn(t,e,a,o){switch(Ma(e,o),e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,f=null,y=null,g=null,E=null,D=null,V=null;for(K in a){var L=a[K];if(a.hasOwnProperty(K)&&L!=null)switch(K){case"checked":break;case"value":break;case"defaultValue":E=L;default:o.hasOwnProperty(K)||Ce(t,e,K,null,o,L)}}for(var U in o){var K=o[U];if(L=a[U],o.hasOwnProperty(U)&&(K!=null||L!=null))switch(U){case"type":f=K;break;case"name":c=K;break;case"checked":D=K;break;case"defaultChecked":V=K;break;case"value":y=K;break;case"defaultValue":g=K;break;case"children":case"dangerouslySetInnerHTML":if(K!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:K!==L&&Ce(t,e,U,K,o,L)}}e=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,e||!o||aM||(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"),aM=!0),!e||o||nM||(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"),nM=!0),Jo(t,y,g,E,D,V,f,c);return;case"select":K=y=g=U=null;for(f in a)if(E=a[f],a.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":K=E;default:o.hasOwnProperty(f)||Ce(t,e,f,null,o,E)}for(c in o)if(f=o[c],E=a[c],o.hasOwnProperty(c)&&(f!=null||E!=null))switch(c){case"value":U=f;break;case"defaultValue":g=f;break;case"multiple":y=f;default:f!==E&&Ce(t,e,c,f,o,E)}o=g,e=y,a=K,U!=null?bi(t,!!e,U,!1):!!a!=!!e&&(o!=null?bi(t,!!e,o,!0):bi(t,!!e,e?[]:"",!1));return;case"textarea":K=U=null;for(g in a)if(c=a[g],a.hasOwnProperty(g)&&c!=null&&!o.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ce(t,e,g,null,o,c)}for(y in o)if(c=o[y],f=a[y],o.hasOwnProperty(y)&&(c!=null||f!=null))switch(y){case"value":U=c;break;case"defaultValue":K=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==f&&Ce(t,e,y,c,o,f)}Qu(t,U,K);return;case"option":for(var vt in a)if(U=a[vt],a.hasOwnProperty(vt)&&U!=null&&!o.hasOwnProperty(vt))switch(vt){case"selected":t.selected=!1;break;default:Ce(t,e,vt,null,o,U)}for(E in o)if(U=o[E],K=a[E],o.hasOwnProperty(E)&&U!==K&&(U!=null||K!=null))switch(E){case"selected":t.selected=U&&typeof U!="function"&&typeof U!="symbol";break;default:Ce(t,e,E,U,o,K)}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 Et in a)U=a[Et],a.hasOwnProperty(Et)&&U!=null&&!o.hasOwnProperty(Et)&&Ce(t,e,Et,null,o,U);for(D in o)if(U=o[D],K=a[D],o.hasOwnProperty(D)&&U!==K&&(U!=null||K!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ce(t,e,D,U,o,K)}return;default:if(Ti(e)){for(var Ke in a)U=a[Ke],a.hasOwnProperty(Ke)&&U!==void 0&&!o.hasOwnProperty(Ke)&&kr(t,e,Ke,void 0,o,U);for(V in o)U=o[V],K=a[V],!o.hasOwnProperty(V)||U===K||U===void 0&&K===void 0||kr(t,e,V,U,o,K);return}}for(var ge in a)U=a[ge],a.hasOwnProperty(ge)&&U!=null&&!o.hasOwnProperty(ge)&&Ce(t,e,ge,null,o,U);for(L in o)U=o[L],K=a[L],!o.hasOwnProperty(L)||U===K||U==null&&K==null||Ce(t,e,L,U,o,K)}function Ro(t){switch(t){case"class":return"className";case"for":return"htmlFor";default:return t}}function Tu(t){var e={};t=t.style;for(var a=0;a<t.length;a++){var o=t[a];e[o]=t.getPropertyValue(o)}return e}function Xi(t,e,a){if(e!=null&&typeof e!="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 o,c=o="",f;for(f in e)if(e.hasOwnProperty(f)){var y=e[f];y!=null&&typeof y!="boolean"&&y!==""&&(f.indexOf("--")===0?(Gp(y,f),o+=c+f+":"+(""+y).trim()):typeof y!="number"||y===0||Rt.has(f)?(Gp(y,f),o+=c+f.replace(tt,"-$1").toLowerCase().replace(Ct,"-ms-")+":"+(""+y).trim()):o+=c+f.replace(tt,"-$1").toLowerCase().replace(Ct,"-ms-")+":"+y+"px",c=";")}o=o||null,e=t.getAttribute("style"),e!==o&&(o=ai(o),ai(e)!==o&&(a.style=Tu(t)))}}function La(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(_e(o,e),t===""+o)return}ln(e,t,o,f)}function gm(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}ln(e,t,o,f)}function vm(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(_e(o,a),t===""+o)return}ln(e,t,o,f)}function Jr(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(_e(o,e),t===""+o))return}ln(e,t,o,f)}function Zf(t,e,a,o,c,f){if(c.delete(a),t=t.getAttribute(a),t===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(_e(o,e),a=Wc(""+o),t===a)return}ln(e,t,o,f)}function qa(t,e,a,o){for(var c={},f=new Set,y=t.attributes,g=0;g<y.length;g++)switch(y[g].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:f.add(y[g].name)}if(Ti(e)){for(var E in a)if(a.hasOwnProperty(E)){var D=a[E];if(D!=null){if($i.hasOwnProperty(E))typeof D!="function"&&on(E,D);else if(a.suppressHydrationWarning!==!0)switch(E){case"children":typeof D!="string"&&typeof D!="number"||ln("children",t.textContent,D,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=t.innerHTML,D=D?D.__html:void 0,D!=null&&(D=ym(t,D),ln(E,y,D,c));continue;case"style":f.delete(E),Xi(t,D,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":f.delete(E.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",E);continue;case"className":f.delete("class"),y=or(t,"class",D),ln("className",y,D,c);continue;default:o.context===Ks&&e!=="svg"&&e!=="math"?f.delete(E.toLowerCase()):f.delete(E),y=or(t,E,D),ln(E,y,D,c)}}}}else for(D in a)if(a.hasOwnProperty(D)&&(E=a[D],E!=null)){if($i.hasOwnProperty(D))typeof E!="function"&&on(D,E);else if(a.suppressHydrationWarning!==!0)switch(D){case"children":typeof E!="string"&&typeof E!="number"||ln("children",t.textContent,E,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":y=t.innerHTML,E=E?E.__html:void 0,E!=null&&(E=ym(t,E),y!==E&&(c[D]={__html:y}));continue;case"className":La(t,D,"class",E,f,c);continue;case"tabIndex":La(t,D,"tabindex",E,f,c);continue;case"style":f.delete(D),Xi(t,E,c);continue;case"multiple":f.delete(D),ln(D,t.multiple,E,c);continue;case"muted":f.delete(D),ln(D,t.muted,E,c);continue;case"autoFocus":f.delete("autofocus"),ln(D,t.autofocus,E,c);continue;case"data":if(e!=="object"){f.delete(D),y=t.getAttribute("data"),ln(D,y,E,c);continue}case"src":case"href":if(!(E!==""||e==="a"&&D==="href"||e==="object"&&D==="data")){console.error(D==="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.',D,D);continue}Zf(t,D,D,E,f,c);continue;case"action":case"formAction":if(y=t.getAttribute(D),typeof E=="function"){f.delete(D.toLowerCase()),D==="formAction"?(f.delete("name"),f.delete("formenctype"),f.delete("formmethod"),f.delete("formtarget")):(f.delete("enctype"),f.delete("method"),f.delete("target"));continue}else if(y===n6){f.delete(D.toLowerCase()),ln(D,"function",E,c);continue}Zf(t,D,D.toLowerCase(),E,f,c);continue;case"xlinkHref":Zf(t,D,"xlink:href",E,f,c);continue;case"contentEditable":vm(t,D,"contenteditable",E,f,c);continue;case"spellCheck":vm(t,D,"spellcheck",E,f,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":vm(t,D,D,E,f,c);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":gm(t,D,D.toLowerCase(),E,f,c);continue;case"capture":case"download":t:{g=t;var V=y=D,L=c;if(f.delete(V),g=g.getAttribute(V),g===null)switch(typeof E){case"undefined":case"function":case"symbol":break t;default:if(E===!1)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":break;case"boolean":if(E===!0&&g==="")break t;break;default:if(_e(E,y),g===""+E)break t}ln(y,g,E,L)}continue;case"cols":case"rows":case"size":case"span":t:{if(g=t,V=y=D,L=c,f.delete(V),g=g.getAttribute(V),g===null)switch(typeof E){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(E)||1>E)break t}else if(E!=null)switch(typeof E){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(E)||1>E)&&(_e(E,y),g===""+E))break t}ln(y,g,E,L)}continue;case"rowSpan":Jr(t,D,"rowspan",E,f,c);continue;case"start":Jr(t,D,D,E,f,c);continue;case"xHeight":La(t,D,"x-height",E,f,c);continue;case"xlinkActuate":La(t,D,"xlink:actuate",E,f,c);continue;case"xlinkArcrole":La(t,D,"xlink:arcrole",E,f,c);continue;case"xlinkRole":La(t,D,"xlink:role",E,f,c);continue;case"xlinkShow":La(t,D,"xlink:show",E,f,c);continue;case"xlinkTitle":La(t,D,"xlink:title",E,f,c);continue;case"xlinkType":La(t,D,"xlink:type",E,f,c);continue;case"xmlBase":La(t,D,"xml:base",E,f,c);continue;case"xmlLang":La(t,D,"xml:lang",E,f,c);continue;case"xmlSpace":La(t,D,"xml:space",E,f,c);continue;case"inert":E!==""||z1[D]||(z1[D]=!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.",D)),gm(t,D,D,E,f,c);continue;default:if(!(2<D.length)||D[0]!=="o"&&D[0]!=="O"||D[1]!=="n"&&D[1]!=="N"){g=gv(D),y=!1,o.context===Ks&&e!=="svg"&&e!=="math"?f.delete(g.toLowerCase()):(V=D.toLowerCase(),V=ui.hasOwnProperty(V)&&ui[V]||null,V!==null&&V!==D&&(y=!0,f.delete(V)),f.delete(g));t:if(V=t,L=g,g=E,kc(L))if(V.hasAttribute(L))V=V.getAttribute(L),_e(g,L),g=V===""+g?g:V;else{switch(typeof g){case"function":case"symbol":break t;case"boolean":if(V=L.toLowerCase().slice(0,5),V!=="data-"&&V!=="aria-")break t}g=g===void 0?void 0:null}else g=void 0;y||ln(D,g,E,c)}}}return 0<f.size&&a.suppressHydrationWarning!==!0&&Qf(t,f,c),Object.keys(c).length===0?null:c}function ab(t,e){switch(t.length){case 0:return"";case 1:return t[0];case 2:return t[0]+" "+e+" "+t[1];default:return t.slice(0,-1).join(", ")+", "+e+" "+t[t.length-1]}}function za(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function lb(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,a=performance.getEntriesByType("resource"),o=0;o<a.length;o++){var c=a[o],f=c.transferSize,y=c.initiatorType,g=c.duration;if(f&&g&&za(y)){for(y=0,g=c.responseEnd,o+=1;o<a.length;o++){var E=a[o],D=E.startTime;if(D>g)break;var V=E.transferSize,L=E.initiatorType;V&&za(L)&&(E=E.responseEnd,y+=V*(E<g?1:(g-D)/(E-D)))}if(--o,e+=8*(f+y)/(c.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}function kf(t){return t.nodeType===9?t:t.ownerDocument}function ib(t){switch(t){case ne:return vp;case Pt:return R1;default:return Ks}}function wo(t,e){if(t===Ks)switch(e){case"svg":return vp;case"math":return R1;default:return Ks}return t===vp&&e==="foreignObject"?Ks:t}function Kr(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}function Tg(){var t=window.event;return t&&t.type==="popstate"?t===H2?!1:(H2=t,!0):(H2=null,!1)}function Qi(){var t=window.event;return t&&t!==V0?t.type:null}function $r(){var t=window.event;return t&&t!==V0?t.timeStamp:-1.1}function ob(t){setTimeout(function(){throw t})}function ub(t,e,a){switch(e){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src?t.src=a.src:a.srcSet&&(t.srcset=a.srcSet)}}function sb(){}function bm(t,e,a,o){Rn(t,e,a,o),t[Ra]=o}function Sm(t){Ju(t,"")}function MT(t,e,a){t.nodeValue=a}function rb(t){if(!t.__reactWarnedAboutChildrenConflict){var e=t[Ra]||null;if(e!==null){var a=Bl(t);a!==null&&(typeof e.children=="string"||typeof e.children=="number"?(t.__reactWarnedAboutChildrenConflict=!0,mt(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):e.dangerouslySetInnerHTML!=null&&(t.__reactWarnedAboutChildrenConflict=!0,mt(a,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function Au(t){return t==="head"}function cb(t,e){t.removeChild(e)}function fb(t,e){(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).removeChild(e)}function Ds(t,e){var a=e,o=0;do{var c=a.nextSibling;if(t.removeChild(a),c&&c.nodeType===8)if(a=c.data,a===B0||a===O1){if(o===0){t.removeChild(c),Os(e);return}o--}else if(a===j0||a===Uc||a===Od||a===gp||a===zd)o++;else if(a===l6)_o(t.ownerDocument.documentElement);else if(a===o6){a=t.ownerDocument.head,_o(a);for(var f=a.firstChild;f;){var y=f.nextSibling,g=f.nodeName;f[fc]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&f.rel.toLowerCase()==="stylesheet"||a.removeChild(f),f=y}}else a===i6&&_o(t.ownerDocument.body);a=c}while(a);Os(e)}function Jf(t,e){var a=t;t=0;do{var o=a.nextSibling;if(a.nodeType===1?e?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(e?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),o&&o.nodeType===8)if(a=o.data,a===B0){if(t===0)break;t--}else a!==j0&&a!==Uc&&a!==Od&&a!==gp||t++;a=o}while(a)}function db(t){Jf(t,!0)}function hb(t){t=t.style,typeof t.setProperty=="function"?t.setProperty("display","none","important"):t.display="none"}function mb(t){t.nodeValue=""}function pb(t){Jf(t,!1)}function yb(t,e){e=e[u6],e=e!=null&&e.hasOwnProperty("display")?e.display:null,t.style.display=e==null||typeof e=="boolean"?"":(""+e).trim()}function gb(t,e){t.nodeValue=e}function Fr(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var a=e;switch(e=e.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Fr(a),kp(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}t.removeChild(a)}}function vb(t,e,a,o){for(;t.nodeType===1;){var c=a;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!o&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(o){if(!t[fc])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(f=t.getAttribute("rel"),f==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(f!==c.rel||t.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||t.getAttribute("title")!==(c.title==null?null:c.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(f=t.getAttribute("src"),(f!==(c.src==null?null:c.src)||t.getAttribute("type")!==(c.type==null?null:c.type)||t.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&f&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){_e(c.name,"name");var f=c.name==null?null:""+c.name;if(c.type==="hidden"&&t.getAttribute("name")===f)return t}else return t;if(t=ul(t.nextSibling),t===null)break}return null}function bb(t,e,a){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!a||(t=ul(t.nextSibling),t===null))return null;return t}function Ue(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=ul(t.nextSibling),t===null))return null;return t}function Kf(t){return t.data===Uc||t.data===Od}function Ag(t){return t.data===gp||t.data===Uc&&t.ownerDocument.readyState!==uM}function Sb(t,e){var a=t.ownerDocument;if(t.data===Od)t._reactRetry=e;else if(t.data!==Uc||a.readyState!==uM)e();else{var o=function(){e(),a.removeEventListener("DOMContentLoaded",o)};a.addEventListener("DOMContentLoaded",o),t._reactRetry=o}}function ul(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e===j0||e===gp||e===Uc||e===Od||e===zd||e===j2||e===oM)break;if(e===B0||e===O1)return null}}return t}function Tb(t){if(t.nodeType===1){for(var e=t.nodeName.toLowerCase(),a={},o=t.attributes,c=0;c<o.length;c++){var f=o[c];a[Ro(f.name)]=f.name.toLowerCase()==="style"?Tu(t):f.value}return{type:e,props:a}}return t.nodeType===8?t.data===zd?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:t.nodeValue}function Ab(t,e,a){return a===null||a[a6]!==!0?(t.nodeValue===e?t=null:(e=ai(e),t=ai(t.nodeValue)===e?null:t.nodeValue),t):null}function Wr(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===B0||a===O1){if(e===0)return ul(t.nextSibling);e--}else a!==j0&&a!==gp&&a!==Uc&&a!==Od&&a!==zd||e++}t=t.nextSibling}return null}function Cs(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var a=t.data;if(a===j0||a===gp||a===Uc||a===Od||a===zd){if(e===0)return t;e--}else a!==B0&&a!==O1||e++}t=t.previousSibling}return null}function Eg(t){Os(t)}function Tm(t){Os(t)}function xg(t){Os(t)}function Uo(t,e,a,o,c){switch(c&&$c(t,o.ancestorInfo),e=kf(a),t){case"html":if(t=e.documentElement,!t)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 t;case"head":if(t=e.head,!t)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 t;case"body":if(t=e.body,!t)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 t;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function Zi(t,e,a,o){if(!a[jo]&&Bl(a)){var c=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.",c,c,c)}switch(t){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(c=a.attributes;c.length;)a.removeAttributeNode(c[0]);We(a,t,e),a[Ie]=o,a[Ra]=e}function _o(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);kp(t)}function Am(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}function Dg(t,e,a){var o=bp;if(o&&typeof e=="string"&&e){var c=Ne(e);c='link[rel="'+t+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),hM.has(c)||(hM.add(c),t={rel:t,crossOrigin:a,href:e},o.querySelector(c)===null&&(e=o.createElement("link"),We(e,"link",t),yn(e),o.head.appendChild(e)))}}function Cg(t,e,a,o){var c=(c=sl.current)?Am(c):null;if(!c)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(t){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=Ms(a.href),e=vl(c).hoistableStyles,o=e.get(a),o||(o={type:"style",instance:null,count:0,state:null},e.set(a,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){t=Ms(a.href);var f=vl(c).hoistableStyles,y=f.get(t);if(!y&&(c=c.ownerDocument||c,y={type:"stylesheet",instance:null,count:0,state:{loading:wd,preload:null}},f.set(t,y),(f=c.querySelector(Ff(t)))&&!f._p&&(y.instance=f,y.state.loading=H0|oo),!uo.has(t))){var g={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};uo.set(t,g),f||Eb(c,t,g,y.state)}if(e&&o===null)throw a=`
222
+
223
+ - `+$f(e)+`
224
+ + `+$f(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(e&&o!==null)throw a=`
225
+
226
+ - `+$f(e)+`
227
+ + `+$f(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 e=a.async,a=a.src,typeof a=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(a=zs(a),e=vl(c).hoistableScripts,o=e.get(a),o||(o={type:"script",instance:null,count:0,state:null},e.set(a,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+t+'". this is a bug in React.')}}function $f(t){var e=0,a="<link";return typeof t.rel=="string"?(e++,a+=' rel="'+t.rel+'"'):rl.call(t,"rel")&&(e++,a+=' rel="'+(t.rel===null?"null":"invalid type "+typeof t.rel)+'"'),typeof t.href=="string"?(e++,a+=' href="'+t.href+'"'):rl.call(t,"href")&&(e++,a+=' href="'+(t.href===null?"null":"invalid type "+typeof t.href)+'"'),typeof t.precedence=="string"?(e++,a+=' precedence="'+t.precedence+'"'):rl.call(t,"precedence")&&(e++,a+=" precedence={"+(t.precedence===null?"null":"invalid type "+typeof t.precedence)+"}"),Object.getOwnPropertyNames(t).length>e&&(a+=" ..."),a+" />"}function Ms(t){return'href="'+Ne(t)+'"'}function Ff(t){return'link[rel="stylesheet"]['+t+"]"}function Em(t){return le({},t,{"data-precedence":t.precedence,precedence:null})}function Eb(t,e,a,o){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?o.loading=H0:(e=t.createElement("link"),o.preload=e,e.addEventListener("load",function(){return o.loading|=H0}),e.addEventListener("error",function(){return o.loading|=fM}),We(e,"link",a),yn(e),t.head.appendChild(e))}function zs(t){return'[src="'+Ne(t)+'"]'}function Wf(t){return"script[async]"+t}function xm(t,e,a){if(e.count++,e.instance===null)switch(e.type){case"style":var o=t.querySelector('style[data-href~="'+Ne(a.href)+'"]');if(o)return e.instance=o,yn(o),o;var c=le({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return o=(t.ownerDocument||t).createElement("style"),yn(o),We(o,"style",c),Ir(o,a.precedence,t),e.instance=o;case"stylesheet":c=Ms(a.href);var f=t.querySelector(Ff(c));if(f)return e.state.loading|=oo,e.instance=f,yn(f),f;o=Em(a),(c=uo.get(c))&&Mg(o,c),f=(t.ownerDocument||t).createElement("link"),yn(f);var y=f;return y._p=new Promise(function(g,E){y.onload=g,y.onerror=E}),We(f,"link",o),e.state.loading|=oo,Ir(f,a.precedence,t),e.instance=f;case"script":return f=zs(a.src),(c=t.querySelector(Wf(f)))?(e.instance=c,yn(c),c):(o=a,(c=uo.get(f))&&(o=le({},a),zg(o,c)),t=t.ownerDocument||t,c=t.createElement("script"),yn(c),We(c,"link",o),t.head.appendChild(c),e.instance=c);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+e.type+'". this is a bug in React.')}else e.type==="stylesheet"&&(e.state.loading&oo)===wd&&(o=e.instance,e.state.loading|=oo,Ir(o,a.precedence,t));return e.instance}function Ir(t,e,a){for(var o=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=o.length?o[o.length-1]:null,f=c,y=0;y<o.length;y++){var g=o[y];if(g.dataset.precedence===e)f=g;else if(f!==c)break}f?f.parentNode.insertBefore(t,f.nextSibling):(e=a.nodeType===9?a.head:a,e.insertBefore(t,e.firstChild))}function Mg(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function zg(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}function Pr(t,e,a){if(w1===null){var o=new Map,c=w1=new Map;c.set(a,o)}else c=w1,o=c.get(a),o||(o=new Map,c.set(a,o));if(o.has(t))return o;for(o.set(t,null),a=a.getElementsByTagName(t),c=0;c<a.length;c++){var f=a[c];if(!(f[fc]||f[Ie]||t==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!==ne){var y=f.getAttribute(e)||"";y=t+y;var g=o.get(y);g?g.push(f):o.set(y,[f])}}return o}function xb(t,e,a){t=t.ownerDocument||t,t.head.insertBefore(a,e==="title"?t.querySelector("head > title"):null)}function Db(t,e,a){var o=!a.ancestorInfo.containerTagInScope;if(a.context===vp||e.itemProp!=null)return!o||e.itemProp==null||t!=="meta"&&t!=="title"&&t!=="style"&&t!=="link"&&t!=="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.",t,t),!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href===""){o&&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 e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError){if(e.rel==="stylesheet"&&typeof e.precedence=="string"){t=e.href;var c=e.onError,f=e.disabled;a=[],e.onLoad&&a.push("`onLoad`"),c&&a.push("`onError`"),f!=null&&a.push("`disabled`"),c=ab(a,"and"),c+=a.length===1?" prop":" props",f=a.length===1?"an "+c:"the "+c,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.',t,f,c)}o&&(typeof e.rel!="string"||typeof e.href!="string"||e.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"):(e.onError||e.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(e.rel){case"stylesheet":return t=e.precedence,e=e.disabled,typeof t!="string"&&o&&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 t=="string"&&e==null;default:return!0}case"script":if(t=e.async&&typeof e.async!="function"&&typeof e.async!="symbol",!t||e.onLoad||e.onError||!e.src||typeof e.src!="string"){o&&(t?e.onLoad||e.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":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",t)}return!1}function fe(t){return!(t.type==="stylesheet"&&(t.state.loading&dM)===wd)}function Og(t,e,a,o){if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&oo)===wd){if(a.instance===null){var c=Ms(o.href),f=e.querySelector(Ff(c));if(f){e=f._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=tc.bind(t),e.then(t,t)),a.state.loading|=oo,a.instance=f,yn(f);return}f=e.ownerDocument||e,o=Em(o),(c=uo.get(c))&&Mg(o,c),f=f.createElement("link"),yn(f);var y=f;y._p=new Promise(function(g,E){y.onload=g,y.onerror=E}),We(f,"link",o),a.instance=f}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(a,e),(e=a.state.preload)&&(a.state.loading&dM)===wd&&(t.count++,a=tc.bind(t),e.addEventListener("load",a),e.addEventListener("error",a))}}function Dm(t,e){return t.stylesheets&&t.count===0&&If(t,t.stylesheets),0<t.count||0<t.imgCount?function(a){var o=setTimeout(function(){if(t.stylesheets&&If(t,t.stylesheets),t.unsuspend){var f=t.unsuspend;t.unsuspend=null,f()}},c6+e);0<t.imgBytes&&q2===0&&(q2=125*lb()*d6);var c=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&If(t,t.stylesheets),t.unsuspend)){var f=t.unsuspend;t.unsuspend=null,f()}},(t.imgBytes>q2?50:f6)+e);return t.unsuspend=a,function(){t.unsuspend=null,clearTimeout(o),clearTimeout(c)}}:null}function tc(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)If(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}function If(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,U1=new Map,e.forEach(Rg,t),U1=null,tc.call(t))}function Rg(t,e){if(!(e.state.loading&oo)){var a=U1.get(t);if(a)var o=a.get(Y2);else{a=new Map,U1.set(t,a);for(var c=t.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<c.length;f++){var y=c[f];(y.nodeName==="LINK"||y.getAttribute("media")!=="not all")&&(a.set(y.dataset.precedence,y),o=y)}o&&a.set(Y2,o)}c=e.instance,y=c.getAttribute("data-precedence"),f=a.get(y)||o,f===o&&a.set(Y2,c),a.set(y,c),this.count++,o=tc.bind(this),c.addEventListener("load",o),c.addEventListener("error",o),f?f.parentNode.insertBefore(c,f.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(c,t.firstChild)),e.state.loading|=oo}}function Pf(t,e,a,o,c,f,y,g,E){for(this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Rd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pd(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pd(0),this.hiddenUpdates=Pd(null),this.identifierPrefix=o,this.onUncaughtError=c,this.onCaughtError=f,this.onRecoverableError=y,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=E,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,t=this.pendingUpdatersLaneMap=[],e=0;31>e;e++)t.push(new Set);this._debugRootType=a?"hydrateRoot()":"createRoot()"}function td(t,e,a,o,c,f,y,g,E,D,V,L){return t=new Pf(t,e,a,y,E,D,V,L,g),e=B5,f===!0&&(e|=Xa|Bo),e|=ie,f=w(3,null,null,e),t.current=f,f.stateNode=t,e=xh(),as(e),t.pooledCache=e,as(e),f.memoizedState={element:o,isDehydrated:a,cache:e},he(f),t}function Cb(t){return t?(t=gc,t):gc}function Cm(t,e,a,o,c,f){if(wn&&typeof wn.onScheduleFiberRoot=="function")try{wn.onScheduleFiberRoot(_s,o,a)}catch(y){Ji||(Ji=!0,console.error("React instrumentation encountered an error: %o",y))}c=Cb(c),o.context===null?o.context=c:o.pendingContext=c,ki&&Ga!==null&&!gM&&(gM=!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.
228
+
229
+ Check the render method of %s.`,yt(Ga)||"Unknown")),o=zn(e),o.payload={element:a},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",f),o.callback=f),a=zi(t,o,e),a!==null&&(Di(e,"root.render()",null),kt(a,t,e),Cl(a,t,e))}function Mb(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var a=t.retryLane;t.retryLane=a!==0&&a<e?a:e}}function wg(t,e){Mb(t,e),(t=t.alternate)&&Mb(t,e)}function Ug(t){if(t.tag===13||t.tag===31){var e=ia(t,67108864);e!==null&&kt(e,t,67108864),wg(t,67108864)}}function _g(t){if(t.tag===13||t.tag===31){var e=ua(t);e=Yu(e);var a=ia(t,e);a!==null&&kt(a,t,e),wg(t,e)}}function Ve(){return Ga}function Ng(t,e,a,o){var c=P.T;P.T=null;var f=Me.p;try{Me.p=Un,jg(t,e,a,o)}finally{Me.p=f,P.T=c}}function ta(t,e,a,o){var c=P.T;P.T=null;var f=Me.p;try{Me.p=na,jg(t,e,a,o)}finally{Me.p=f,P.T=c}}function jg(t,e,a,o){if(N1){var c=Mm(o);if(c===null)ei(t,e,o,j1,a),Om(t,o);else if(zb(c,t,e,a,o))o.stopPropagation();else if(Om(t,o),e&4&&-1<m6.indexOf(t)){for(;c!==null;){var f=Bl(c);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var y=qu(f.pendingLanes);if(y!==0){var g=f;for(g.pendingLanes|=2,g.entangledLanes|=2;y;){var E=1<<31-ea(y);g.entanglements[1]|=E,y&=~E}Ha(f),(Te&(la|fi))===da&&(g1=Xn()+ZC,Yi(0))}}break;case 31:case 13:g=ia(f,2),g!==null&&kt(g,f,2),ol(),wg(f,2)}if(f=Mm(o),f===null&&ei(t,e,o,j1,a),f===c)break;c=f}c!==null&&o.stopPropagation()}else ei(t,e,o,null,a)}}function Mm(t){return t=Ll(t),Bg(t)}function Bg(t){if(j1=null,t=fo(t),t!==null){var e=nt(t);if(e===null)t=null;else{var a=e.tag;if(a===13){if(t=dt(e),t!==null)return t;t=null}else if(a===31){if(t=ht(e),t!==null)return t;t=null}else if(a===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return j1=t,null}function zm(t){switch(t){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 Un;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 na;case"message":switch(od()){case kg:return Un;case Hm:return na;case Us:case Nb:return ra;case Lm:return Mu;default:return ra}default:return ra}}function Om(t,e){switch(t){case"focusin":case"focusout":_c=null;break;case"dragenter":case"dragleave":Nc=null;break;case"mouseover":case"mouseout":jc=null;break;case"pointerover":case"pointerout":q0.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Y0.delete(e.pointerId)}}function Eu(t,e,a,o,c,f){return t===null||t.nativeEvent!==f?(t={blockedOn:e,domEventName:a,eventSystemFlags:o,nativeEvent:f,targetContainers:[c]},e!==null&&(e=Bl(e),e!==null&&Ug(e)),t):(t.eventSystemFlags|=o,e=t.targetContainers,c!==null&&e.indexOf(c)===-1&&e.push(c),t)}function zb(t,e,a,o,c){switch(e){case"focusin":return _c=Eu(_c,t,e,a,o,c),!0;case"dragenter":return Nc=Eu(Nc,t,e,a,o,c),!0;case"mouseover":return jc=Eu(jc,t,e,a,o,c),!0;case"pointerover":var f=c.pointerId;return q0.set(f,Eu(q0.get(f)||null,t,e,a,o,c)),!0;case"gotpointercapture":return f=c.pointerId,Y0.set(f,Eu(Y0.get(f)||null,t,e,a,o,c)),!0}return!1}function Vg(t){var e=fo(t.target);if(e!==null){var a=nt(e);if(a!==null){if(e=a.tag,e===13){if(e=dt(a),e!==null){t.blockedOn=e,pv(t.priority,function(){_g(a)});return}}else if(e===31){if(e=ht(a),e!==null){t.blockedOn=e,pv(t.priority,function(){_g(a)});return}}else if(e===3&&a.stateNode.current.memoizedState.isDehydrated){t.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}t.blockedOn=null}function ec(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var a=Mm(t.nativeEvent);if(a===null){a=t.nativeEvent;var o=new a.constructor(a.type,a),c=o;Wg!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Wg=c,a.target.dispatchEvent(o),Wg===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."),Wg=null}else return e=Bl(a),e!==null&&Ug(e),t.blockedOn=a,!1;e.shift()}return!0}function Rm(t,e,a){ec(t)&&a.delete(e)}function zT(){G2=!1,_c!==null&&ec(_c)&&(_c=null),Nc!==null&&ec(Nc)&&(Nc=null),jc!==null&&ec(jc)&&(jc=null),q0.forEach(Rm),Y0.forEach(Rm)}function ed(t,e){t.blockedOn===e&&(t.blockedOn=null,G2||(G2=!0,Tn.unstable_scheduleCallback(Tn.unstable_NormalPriority,zT)))}function Ob(t){B1!==t&&(B1=t,Tn.unstable_scheduleCallback(Tn.unstable_NormalPriority,function(){B1===t&&(B1=null);for(var e=0;e<t.length;e+=3){var a=t[e],o=t[e+1],c=t[e+2];if(typeof o!="function"){if(Bg(o||a)===null)continue;break}var f=Bl(a);f!==null&&(t.splice(e,3),e-=3,a={pending:!0,data:c,method:a.method,action:o},Object.freeze(a),Do(f,a,o,c))}}))}function Os(t){function e(E){return ed(E,t)}_c!==null&&ed(_c,t),Nc!==null&&ed(Nc,t),jc!==null&&ed(jc,t),q0.forEach(e),Y0.forEach(e);for(var a=0;a<Bc.length;a++){var o=Bc[a];o.blockedOn===t&&(o.blockedOn=null)}for(;0<Bc.length&&(a=Bc[0],a.blockedOn===null);)Vg(a),a.blockedOn===null&&Bc.shift();if(a=(t.ownerDocument||t).$$reactFormReplay,a!=null)for(o=0;o<a.length;o+=3){var c=a[o],f=a[o+1],y=c[Ra]||null;if(typeof f=="function")y||Ob(a);else if(y){var g=null;if(f&&f.hasAttribute("formAction")){if(c=f,y=f[Ra]||null)g=y.formAction;else if(Bg(c)!==null)continue}else g=y.action;typeof g=="function"?a[o+1]=g:(a.splice(o,3),o-=3),Ob(a)}}}function Rb(){function t(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(y){return c=y})},focusReset:"manual",scroll:"manual"})}function e(){c!==null&&(c(),c=null),o||setTimeout(a,20)}function a(){if(!o&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var o=!1,c=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(a,100),function(){o=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),c!==null&&(c(),c=null)}}}function Hg(t){this._internalRoot=t}function li(t){this._internalRoot=t}function Lg(t){t[jo]&&(t._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 Tn=F2(),nd=ut,OT=X2,le=Object.assign,wb=Symbol.for("react.element"),Rl=Symbol.for("react.transitional.element"),xu=Symbol.for("react.portal"),nc=Symbol.for("react.fragment"),Oa=Symbol.for("react.strict_mode"),ad=Symbol.for("react.profiler"),wm=Symbol.for("react.consumer"),ii=Symbol.for("react.context"),ac=Symbol.for("react.forward_ref"),Rs=Symbol.for("react.suspense"),Ya=Symbol.for("react.suspense_list"),ld=Symbol.for("react.memo"),sa=Symbol.for("react.lazy"),oi=Symbol.for("react.activity"),RT=Symbol.for("react.memo_cache_sentinel"),Ub=Symbol.iterator,lc=Symbol.for("react.client.reference"),Dn=Array.isArray,P=nd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Me=OT.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,wT=Object.freeze({pending:!1,data:null,method:null,action:null}),qg=[],Yg=[],No=-1,Du=Qt(null),ic=Qt(null),sl=Qt(null),Cu=Qt(null),oc=0,_b,ws,uc,Gg,id,Um,_m;Mt.__reactDisabledLog=!0;var sc,Xg,Nm=!1,Qg=new(typeof WeakMap=="function"?WeakMap:Map),Ga=null,ki=!1,rl=Object.prototype.hasOwnProperty,Zg=Tn.unstable_scheduleCallback,jm=Tn.unstable_cancelCallback,Bm=Tn.unstable_shouldYield,Vm=Tn.unstable_requestPaint,Xn=Tn.unstable_now,od=Tn.unstable_getCurrentPriorityLevel,kg=Tn.unstable_ImmediatePriority,Hm=Tn.unstable_UserBlockingPriority,Us=Tn.unstable_NormalPriority,Nb=Tn.unstable_LowPriority,Lm=Tn.unstable_IdlePriority,Jg=Tn.log,jb=Tn.unstable_setDisableYieldValue,_s=null,wn=null,Ji=!1,Ki=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ea=Math.clz32?Math.clz32:Qp,Kg=Math.log,qm=Math.LN2,rc=256,ud=262144,cc=4194304,Un=2,na=8,ra=32,Mu=268435456,wl=Math.random().toString(36).slice(2),Ie="__reactFiber$"+wl,Ra="__reactProps$"+wl,jo="__reactContainer$"+wl,Ns="__reactEvents$"+wl,UT="__reactListeners$"+wl,Bb="__reactHandles$"+wl,sd="__reactResources$"+wl,fc="__reactMarker$"+wl,Vb=new Set,$i={},dc={},Hb={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},hc=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]*$"),$g={},Ym={},Gm=/[\n"\\]/g,Fg=!1,Lb=!1,rd=!1,n=!1,l=!1,i=!1,s=["value","defaultValue"],h=!1,p=/["'&<>\n\t]|^\s|\s$/,S="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(" "),C="applet caption html table td th marquee object template foreignObject desc title".split(" "),N=C.concat(["button"]),Z="dd dt li option optgroup p rp rt".split(" "),et={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},rt={},J={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"]},tt=/([A-Z])/g,Ct=/^ms-/,qt=/^(?:webkit|moz|o)[A-Z]/,He=/^-ms-/,q=/-(.)/g,H=/;\s*$/,G={},it={},_t=!1,Se=!1,Rt=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(" ")),Pt="http://www.w3.org/1998/Math/MathML",ne="http://www.w3.org/2000/svg",Ee=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"]]),ui={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"},qb={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Xm={},K4=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]*$"),$4=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]*$"),bD=!1,cl={},SD=/^on./,F4=/^on[^A-Z]/,W4=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]*$"),I4=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]*$"),P4=/^[\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,Wg=null,Qm=null,Zm=null,_T=!1,zu=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),NT=!1;if(zu)try{var Ig={};Object.defineProperty(Ig,"passive",{get:function(){NT=!0}}),window.addEventListener("test",Ig,Ig),window.removeEventListener("test",Ig,Ig)}catch{NT=!1}var mc=null,jT=null,Yb=null,cd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gb=Bn(cd),Pg=le({},cd,{view:0,detail:0}),t5=Bn(Pg),BT,VT,t0,Xb=le({},Pg,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==t0&&(t0&&t.type==="mousemove"?(BT=t.screenX-t0.screenX,VT=t.screenY-t0.screenY):VT=BT=0,t0=t),BT)},movementY:function(t){return"movementY"in t?t.movementY:VT}}),TD=Bn(Xb),e5=le({},Xb,{dataTransfer:0}),n5=Bn(e5),a5=le({},Pg,{relatedTarget:0}),HT=Bn(a5),l5=le({},cd,{animationName:0,elapsedTime:0,pseudoElement:0}),i5=Bn(l5),o5=le({},cd,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),u5=Bn(o5),s5=le({},cd,{data:0}),AD=Bn(s5),r5=AD,c5={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},f5={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"},d5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},h5=le({},Pg,{key:function(t){if(t.key){var e=c5[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ic(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?f5[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pc,charCode:function(t){return t.type==="keypress"?Ic(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ic(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),m5=Bn(h5),p5=le({},Xb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ED=Bn(p5),y5=le({},Pg,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pc}),g5=Bn(y5),v5=le({},cd,{propertyName:0,elapsedTime:0,pseudoElement:0}),b5=Bn(v5),S5=le({},Xb,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),T5=Bn(S5),A5=le({},cd,{newState:0,oldState:0}),E5=Bn(A5),x5=[9,13,27,32],xD=229,LT=zu&&"CompositionEvent"in window,e0=null;zu&&"documentMode"in document&&(e0=document.documentMode);var D5=zu&&"TextEvent"in window&&!e0,DD=zu&&(!LT||e0&&8<e0&&11>=e0),CD=32,MD=String.fromCharCode(CD),zD=!1,km=!1,C5={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},n0=null,a0=null,OD=!1;zu&&(OD=hh("input")&&(!document.documentMode||9<document.documentMode));var fl=typeof Object.is=="function"?Object.is:mh,M5=zu&&"documentMode"in document&&11>=document.documentMode,Jm=null,qT=null,l0=null,YT=!1,Km={animationend:$u("Animation","AnimationEnd"),animationiteration:$u("Animation","AnimationIteration"),animationstart:$u("Animation","AnimationStart"),transitionrun:$u("Transition","TransitionRun"),transitionstart:$u("Transition","TransitionStart"),transitioncancel:$u("Transition","TransitionCancel"),transitionend:$u("Transition","TransitionEnd")},GT={},RD={};zu&&(RD=document.createElement("div").style,"AnimationEvent"in window||(delete Km.animationend.animation,delete Km.animationiteration.animation,delete Km.animationstart.animation),"TransitionEvent"in window||delete Km.transitionend.transition);var wD=Fu("animationend"),UD=Fu("animationiteration"),_D=Fu("animationstart"),z5=Fu("transitionrun"),O5=Fu("transitionstart"),R5=Fu("transitioncancel"),ND=Fu("transitionend"),jD=new Map,XT="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(" ");XT.push("scrollEnd");var BD=0;if(typeof performance=="object"&&typeof performance.now=="function")var w5=performance,VD=function(){return w5.now()};else{var U5=Date;VD=function(){return U5.now()}}var QT=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},_5="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",Qb=0,ZT=1,kT=2,JT=3,Zb="– ",kb="+ ",HD="  ",Pe=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Fi="Components ⚛",ye="Scheduler ⚛",ve="Blocking",pc=!1,js={color:"primary",properties:null,tooltipText:"",track:Fi},yc={start:-0,end:-0,detail:{devtools:js}},N5=["Changed Props",""],LD="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",j5=["Changed Props",LD],i0=1,Bs=2,Wi=[],$m=0,KT=0,gc={};Object.freeze(gc);var Ii=null,Fm=null,Zt=0,B5=1,ie=2,Xa=8,Bo=16,V5=32,qD=!1;try{var YD=Object.preventExtensions({})}catch{qD=!0}var $T=new WeakMap,Wm=[],Im=0,Jb=null,o0=0,Pi=[],to=0,fd=null,Vs=1,Hs="",wa=null,tn=null,pe=!1,Ou=!1,si=null,vc=null,eo=!1,FT=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."),WT=Qt(null),IT=Qt(null),GD={},Kb=null,Pm=null,tp=!1,H5=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(a,o){t.push(o)}};this.abort=function(){e.aborted=!0,t.forEach(function(a){return a()})}},L5=Tn.unstable_scheduleCallback,q5=Tn.unstable_NormalPriority,Qn={$$typeof:ii,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Zn=Tn.unstable_now,$b=console.createTask?console.createTask:function(){return null},u0=1,Fb=2,ca=-0,bc=-0,Ls=-0,qs=null,dl=-1.1,dd=-0,dn=-0,jt=-1.1,Yt=-1.1,un=null,An=!1,hd=-0,Ru=-1.1,s0=null,Sc=0,PT=null,t2=null,md=-1.1,r0=null,ep=-1.1,Wb=-1.1,Ys=-0,Gs=-1.1,no=-1.1,e2=0,c0=null,XD=null,QD=null,Tc=-1.1,pd=null,Ac=-1.1,Ib=-1.1,ZD=-0,kD=-0,Pb=0,Y5=null,JD=0,f0=-1.1,t1=!1,e1=!1,d0=null,n2=0,yd=0,np=null,KD=P.S;P.S=function(t,e){if(XC=Xn(),typeof e=="object"&&e!==null&&typeof e.then=="function"){if(0>Gs&&0>no){Gs=Zn();var a=$r(),o=Qi();(a!==Ac||o!==pd)&&(Ac=-1.1),Tc=a,pd=o}vo(t,e)}KD!==null&&KD(t,e)};var gd=Qt(null),Vo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},h0=[],m0=[],p0=[],y0=[],g0=[],v0=[],vd=new Set;Vo.recordUnsafeLifecycleWarnings=function(t,e){vd.has(t.type)||(typeof e.componentWillMount=="function"&&e.componentWillMount.__suppressDeprecationWarning!==!0&&h0.push(t),t.mode&Xa&&typeof e.UNSAFE_componentWillMount=="function"&&m0.push(t),typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&p0.push(t),t.mode&Xa&&typeof e.UNSAFE_componentWillReceiveProps=="function"&&y0.push(t),typeof e.componentWillUpdate=="function"&&e.componentWillUpdate.__suppressDeprecationWarning!==!0&&g0.push(t),t.mode&Xa&&typeof e.UNSAFE_componentWillUpdate=="function"&&v0.push(t))},Vo.flushPendingUnsafeLifecycleWarnings=function(){var t=new Set;0<h0.length&&(h0.forEach(function(g){t.add(yt(g)||"Component"),vd.add(g.type)}),h0=[]);var e=new Set;0<m0.length&&(m0.forEach(function(g){e.add(yt(g)||"Component"),vd.add(g.type)}),m0=[]);var a=new Set;0<p0.length&&(p0.forEach(function(g){a.add(yt(g)||"Component"),vd.add(g.type)}),p0=[]);var o=new Set;0<y0.length&&(y0.forEach(function(g){o.add(yt(g)||"Component"),vd.add(g.type)}),y0=[]);var c=new Set;0<g0.length&&(g0.forEach(function(g){c.add(yt(g)||"Component"),vd.add(g.type)}),g0=[]);var f=new Set;if(0<v0.length&&(v0.forEach(function(g){f.add(yt(g)||"Component"),vd.add(g.type)}),v0=[]),0<e.size){var y=O(e);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.
230
+
231
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
232
+
233
+ Please update the following components: %s`,y)}0<o.size&&(y=O(o),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.
234
+
235
+ * Move data fetching code or side effects to componentDidUpdate.
236
+ * 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
237
+
238
+ Please update the following components: %s`,y)),0<f.size&&(y=O(f),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.
239
+
240
+ * Move data fetching code or side effects to componentDidUpdate.
241
+
242
+ Please update the following components: %s`,y)),0<t.size&&(y=O(t),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
243
+
244
+ * Move code with side effects to componentDidMount, and set initial state in the constructor.
245
+ * 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.
246
+
247
+ Please update the following components: %s`,y)),0<a.size&&(y=O(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
248
+
249
+ * Move data fetching code or side effects to componentDidUpdate.
250
+ * 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
251
+ * 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.
252
+
253
+ Please update the following components: %s`,y)),0<c.size&&(y=O(c),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
254
+
255
+ * Move data fetching code or side effects to componentDidUpdate.
256
+ * 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.
257
+
258
+ Please update the following components: %s`,y))};var n1=new Map,$D=new Set;Vo.recordLegacyContextWarning=function(t,e){for(var a=null,o=t;o!==null;)o.mode&Xa&&(a=o),o=o.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."):!$D.has(t.type)&&(o=n1.get(a),t.type.contextTypes!=null||t.type.childContextTypes!=null||e!==null&&typeof e.getChildContext=="function")&&(o===void 0&&(o=[],n1.set(a,o)),o.push(t))},Vo.flushLegacyContextWarning=function(){n1.forEach(function(t){if(t.length!==0){var e=t[0],a=new Set;t.forEach(function(c){a.add(yt(c)||"Component"),$D.add(c.type)});var o=O(a);mt(e,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
259
+
260
+ The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
261
+
262
+ Please update the following components: %s
263
+
264
+ Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Vo.discardPendingWarnings=function(){h0=[],m0=[],p0=[],y0=[],g0=[],v0=[],n1=new Map};var FD={react_stack_bottom_frame:function(t,e,a){var o=ki;ki=!0;try{return t(e,a)}finally{ki=o}}},a2=FD.react_stack_bottom_frame.bind(FD),WD={react_stack_bottom_frame:function(t){var e=ki;ki=!0;try{return t.render()}finally{ki=e}}},ID=WD.react_stack_bottom_frame.bind(WD),PD={react_stack_bottom_frame:function(t,e){try{e.componentDidMount()}catch(a){ee(t,t.return,a)}}},l2=PD.react_stack_bottom_frame.bind(PD),tC={react_stack_bottom_frame:function(t,e,a,o,c){try{e.componentDidUpdate(a,o,c)}catch(f){ee(t,t.return,f)}}},eC=tC.react_stack_bottom_frame.bind(tC),nC={react_stack_bottom_frame:function(t,e){var a=e.stack;t.componentDidCatch(e.value,{componentStack:a!==null?a:""})}},G5=nC.react_stack_bottom_frame.bind(nC),aC={react_stack_bottom_frame:function(t,e,a){try{a.componentWillUnmount()}catch(o){ee(t,e,o)}}},lC=aC.react_stack_bottom_frame.bind(aC),iC={react_stack_bottom_frame:function(t){var e=t.create;return t=t.inst,e=e(),t.destroy=e}},X5=iC.react_stack_bottom_frame.bind(iC),oC={react_stack_bottom_frame:function(t,e,a){try{a()}catch(o){ee(t,e,o)}}},Q5=oC.react_stack_bottom_frame.bind(oC),uC={react_stack_bottom_frame:function(t){var e=t._init;return e(t._payload)}},Z5=uC.react_stack_bottom_frame.bind(uC),ap=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`."),i2=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."),a1=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."),l1={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.')}},bd=null,b0=!1,lp=null,S0=0,oe=null,o2,sC=o2=!1,rC={},cC={},fC={};M=function(t,e,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 o=yt(t),c=o||"null";if(!rC[c]){rC[c]=!0,a=a._owner,t=t._debugOwner;var f="";t&&typeof t.tag=="number"&&(c=yt(t))&&(f=`
265
+
266
+ Check the render method of \``+c+"`."),f||o&&(f=`
267
+
268
+ Check the top-level render call using <`+o+">.");var y="";a!=null&&t!==a&&(o=null,typeof a.tag=="number"?o=yt(a):typeof a.name=="string"&&(o=a.name),o&&(y=" It was passed a child from "+o+".")),mt(e,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.',f,y)})}}};var Sd=Hn(!0),dC=Hn(!1),hC=0,mC=1,pC=2,u2=3,Ec=!1,yC=!1,s2=null,r2=!1,ip=Qt(null),i1=Qt(0),ri=Qt(null),ao=null,op=1,T0=2,_n=Qt(0),o1=0,lo=1,hl=2,ci=4,ml=8,up,gC=new Set,vC=new Set,c2=new Set,bC=new Set,Xs=0,Ft=null,Ze=null,kn=null,u1=!1,sp=!1,Td=!1,s1=0,A0=0,Qs=null,k5=0,J5=25,W=null,io=null,Zs=-1,E0=!1,x0={readContext:De,use:Ao,useCallback:cn,useContext:cn,useEffect:cn,useImperativeHandle:cn,useLayoutEffect:cn,useInsertionEffect:cn,useMemo:cn,useReducer:cn,useRef:cn,useState:cn,useDebugValue:cn,useDeferredValue:cn,useTransition:cn,useSyncExternalStore:cn,useId:cn,useHostTransitionStatus:cn,useFormState:cn,useActionState:cn,useOptimistic:cn,useMemoCache:cn,useCacheRefresh:cn};x0.useEffectEvent=cn;var f2=null,SC=null,d2=null,TC=null,wu=null,Ho=null,r1=null;f2={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",$t(),To(e),jh(t,e)},useContext:function(t){return W="useContext",$t(),De(t)},useEffect:function(t,e){return W="useEffect",$t(),To(e),hs(t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",$t(),To(a),Ui(t,e,a)},useInsertionEffect:function(t,e){W="useInsertionEffect",$t(),To(e),du(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",$t(),To(e),Ta(t,e)},useMemo:function(t,e){W="useMemo",$t(),To(e);var a=P.H;P.H=wu;try{return Aa(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",$t();var o=P.H;P.H=wu;try{return Dr(t,e,a)}finally{P.H=o}},useRef:function(t){return W="useRef",$t(),Nh(t)},useState:function(t){W="useState",$t();var e=P.H;P.H=wu;try{return su(t)}finally{P.H=e}},useDebugValue:function(){W="useDebugValue",$t()},useDeferredValue:function(t,e){return W="useDeferredValue",$t(),Rr(t,e)},useTransition:function(){return W="useTransition",$t(),hu()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",$t(),Cr(t,e,a)},useId:function(){return W="useId",$t(),xf()},useFormState:function(t,e){return W="useFormState",$t(),hf(),el(t,e)},useActionState:function(t,e){return W="useActionState",$t(),el(t,e)},useOptimistic:function(t){return W="useOptimistic",$t(),ds(t)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",$t(),Bh()},useEffectEvent:function(t){return W="useEffectEvent",$t(),Af(t)}},SC={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",ct(),jh(t,e)},useContext:function(t){return W="useContext",ct(),De(t)},useEffect:function(t,e){return W="useEffect",ct(),hs(t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",ct(),Ui(t,e,a)},useInsertionEffect:function(t,e){W="useInsertionEffect",ct(),du(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",ct(),Ta(t,e)},useMemo:function(t,e){W="useMemo",ct();var a=P.H;P.H=wu;try{return Aa(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",ct();var o=P.H;P.H=wu;try{return Dr(t,e,a)}finally{P.H=o}},useRef:function(t){return W="useRef",ct(),Nh(t)},useState:function(t){W="useState",ct();var e=P.H;P.H=wu;try{return su(t)}finally{P.H=e}},useDebugValue:function(){W="useDebugValue",ct()},useDeferredValue:function(t,e){return W="useDeferredValue",ct(),Rr(t,e)},useTransition:function(){return W="useTransition",ct(),hu()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",ct(),Cr(t,e,a)},useId:function(){return W="useId",ct(),xf()},useActionState:function(t,e){return W="useActionState",ct(),el(t,e)},useFormState:function(t,e){return W="useFormState",ct(),hf(),el(t,e)},useOptimistic:function(t){return W="useOptimistic",ct(),ds(t)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Bh()},useEffectEvent:function(t){return W="useEffectEvent",ct(),Af(t)}},d2={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",ct(),Fl(t,e)},useContext:function(t){return W="useContext",ct(),De(t)},useEffect:function(t,e){W="useEffect",ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",ct();var a=P.H;P.H=Ho;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",ct();var o=P.H;P.H=Ho;try{return rs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",ct(),Oe().memoizedState},useState:function(){W="useState",ct();var t=P.H;P.H=Ho;try{return rs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",ct()},useDeferredValue:function(t,e){return W="useDeferredValue",ct(),_i(t,e)},useTransition:function(){return W="useTransition",ct(),Hv()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",ct(),fs(t,e,a)},useId:function(){return W="useId",ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",ct(),hf(),cu(t)},useActionState:function(t){return W="useActionState",ct(),cu(t)},useOptimistic:function(t,e){return W="useOptimistic",ct(),bf(t,e)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",ct(),zr(t)}},TC={readContext:function(t){return De(t)},use:Ao,useCallback:function(t,e){return W="useCallback",ct(),Fl(t,e)},useContext:function(t){return W="useContext",ct(),De(t)},useEffect:function(t,e){W="useEffect",ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",ct();var a=P.H;P.H=r1;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",ct();var o=P.H;P.H=r1;try{return cs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",ct(),Oe().memoizedState},useState:function(){W="useState",ct();var t=P.H;P.H=r1;try{return cs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",ct()},useDeferredValue:function(t,e){return W="useDeferredValue",ct(),te(t,e)},useTransition:function(){return W="useTransition",ct(),an()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",ct(),fs(t,e,a)},useId:function(){return W="useId",ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",ct(),hf(),fu(t)},useActionState:function(t){return W="useActionState",ct(),fu(t)},useOptimistic:function(t,e){return W="useOptimistic",ct(),Sf(t,e)},useHostTransitionStatus:Co,useMemoCache:Pa,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",ct(),zr(t)}},wu={readContext:function(t){return x(),De(t)},use:function(t){return A(),Ao(t)},useCallback:function(t,e){return W="useCallback",A(),$t(),jh(t,e)},useContext:function(t){return W="useContext",A(),$t(),De(t)},useEffect:function(t,e){return W="useEffect",A(),$t(),hs(t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",A(),$t(),Ui(t,e,a)},useInsertionEffect:function(t,e){W="useInsertionEffect",A(),$t(),du(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",A(),$t(),Ta(t,e)},useMemo:function(t,e){W="useMemo",A(),$t();var a=P.H;P.H=wu;try{return Aa(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",A(),$t();var o=P.H;P.H=wu;try{return Dr(t,e,a)}finally{P.H=o}},useRef:function(t){return W="useRef",A(),$t(),Nh(t)},useState:function(t){W="useState",A(),$t();var e=P.H;P.H=wu;try{return su(t)}finally{P.H=e}},useDebugValue:function(){W="useDebugValue",A(),$t()},useDeferredValue:function(t,e){return W="useDeferredValue",A(),$t(),Rr(t,e)},useTransition:function(){return W="useTransition",A(),$t(),hu()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",A(),$t(),Cr(t,e,a)},useId:function(){return W="useId",A(),$t(),xf()},useFormState:function(t,e){return W="useFormState",A(),$t(),el(t,e)},useActionState:function(t,e){return W="useActionState",A(),$t(),el(t,e)},useOptimistic:function(t){return W="useOptimistic",A(),$t(),ds(t)},useMemoCache:function(t){return A(),Pa(t)},useHostTransitionStatus:Co,useCacheRefresh:function(){return W="useCacheRefresh",$t(),Bh()},useEffectEvent:function(t){return W="useEffectEvent",A(),$t(),Af(t)}},Ho={readContext:function(t){return x(),De(t)},use:function(t){return A(),Ao(t)},useCallback:function(t,e){return W="useCallback",A(),ct(),Fl(t,e)},useContext:function(t){return W="useContext",A(),ct(),De(t)},useEffect:function(t,e){W="useEffect",A(),ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",A(),ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",A(),ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",A(),ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",A(),ct();var a=P.H;P.H=Ho;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",A(),ct();var o=P.H;P.H=Ho;try{return rs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",A(),ct(),Oe().memoizedState},useState:function(){W="useState",A(),ct();var t=P.H;P.H=Ho;try{return rs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",A(),ct()},useDeferredValue:function(t,e){return W="useDeferredValue",A(),ct(),_i(t,e)},useTransition:function(){return W="useTransition",A(),ct(),Hv()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",A(),ct(),fs(t,e,a)},useId:function(){return W="useId",A(),ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",A(),ct(),cu(t)},useActionState:function(t){return W="useActionState",A(),ct(),cu(t)},useOptimistic:function(t,e){return W="useOptimistic",A(),ct(),bf(t,e)},useMemoCache:function(t){return A(),Pa(t)},useHostTransitionStatus:Co,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",A(),ct(),zr(t)}},r1={readContext:function(t){return x(),De(t)},use:function(t){return A(),Ao(t)},useCallback:function(t,e){return W="useCallback",A(),ct(),Fl(t,e)},useContext:function(t){return W="useContext",A(),ct(),De(t)},useEffect:function(t,e){W="useEffect",A(),ct(),On(2048,ml,t,e)},useImperativeHandle:function(t,e,a){return W="useImperativeHandle",A(),ct(),Or(t,e,a)},useInsertionEffect:function(t,e){return W="useInsertionEffect",A(),ct(),On(4,hl,t,e)},useLayoutEffect:function(t,e){return W="useLayoutEffect",A(),ct(),On(4,ci,t,e)},useMemo:function(t,e){W="useMemo",A(),ct();var a=P.H;P.H=Ho;try{return Fe(t,e)}finally{P.H=a}},useReducer:function(t,e,a){W="useReducer",A(),ct();var o=P.H;P.H=Ho;try{return cs(t,e,a)}finally{P.H=o}},useRef:function(){return W="useRef",A(),ct(),Oe().memoizedState},useState:function(){W="useState",A(),ct();var t=P.H;P.H=Ho;try{return cs(tl)}finally{P.H=t}},useDebugValue:function(){W="useDebugValue",A(),ct()},useDeferredValue:function(t,e){return W="useDeferredValue",A(),ct(),te(t,e)},useTransition:function(){return W="useTransition",A(),ct(),an()},useSyncExternalStore:function(t,e,a){return W="useSyncExternalStore",A(),ct(),fs(t,e,a)},useId:function(){return W="useId",A(),ct(),Oe().memoizedState},useFormState:function(t){return W="useFormState",A(),ct(),fu(t)},useActionState:function(t){return W="useActionState",A(),ct(),fu(t)},useOptimistic:function(t,e){return W="useOptimistic",A(),ct(),Sf(t,e)},useMemoCache:function(t){return A(),Pa(t)},useHostTransitionStatus:Co,useCacheRefresh:function(){return W="useCacheRefresh",ct(),Oe().memoizedState},useEffectEvent:function(t){return W="useEffectEvent",A(),ct(),zr(t)}};var AC={},EC=new Set,xC=new Set,DC=new Set,CC=new Set,MC=new Set,zC=new Set,OC=new Set,RC=new Set,wC=new Set,UC=new Set;Object.freeze(AC);var h2={enqueueSetState:function(t,e,a){t=t._reactInternals;var o=ua(t),c=zn(o);c.payload=e,a!=null&&(gs(a),c.callback=a),e=zi(t,c,o),e!==null&&(Di(o,"this.setState()",t),kt(e,t,o),Cl(e,t,o))},enqueueReplaceState:function(t,e,a){t=t._reactInternals;var o=ua(t),c=zn(o);c.tag=mC,c.payload=e,a!=null&&(gs(a),c.callback=a),e=zi(t,c,o),e!==null&&(Di(o,"this.replaceState()",t),kt(e,t,o),Cl(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var a=ua(t),o=zn(a);o.tag=pC,e!=null&&(gs(e),o.callback=e),e=zi(t,o,a),e!==null&&(Di(a,"this.forceUpdate()",t),kt(e,t,a),Cl(e,t,a))}},rp=null,m2=null,p2=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."),Jn=!1,_C={},NC={},jC={},BC={},cp=!1,VC={},c1={},y2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},HC=!1,LC=null;LC=new Set;var ks=!1,Kn=!1,g2=!1,qC=typeof WeakSet=="function"?WeakSet:Set,fa=null,fp=null,dp=null,$n=null,Ul=!1,Lo=null,aa=!1,D0=8192,K5={getCacheForType:function(t){var e=De(Qn),a=e.data.get(t);return a===void 0&&(a=t(),e.data.set(t,a)),a},cacheSignal:function(){return De(Qn).controller.signal},getOwner:function(){return Ga}};if(typeof Symbol=="function"&&Symbol.for){var C0=Symbol.for;C0("selector.component"),C0("selector.has_pseudo_class"),C0("selector.role"),C0("selector.test_id"),C0("selector.text")}var $5=[],F5=typeof WeakMap=="function"?WeakMap:Map,da=0,la=2,fi=4,Js=0,M0=1,Ad=2,f1=3,xc=4,d1=6,YC=5,Te=da,ke=null,ce=null,ue=0,_l=0,h1=1,Ed=2,z0=3,GC=4,v2=5,O0=6,m1=7,b2=8,xd=9,Le=_l,di=null,Dc=!1,hp=!1,S2=!1,Uu=0,hn=Js,Cc=0,Mc=0,T2=0,Nl=0,Dd=0,R0=null,pl=null,p1=!1,y1=0,XC=0,QC=300,g1=1/0,ZC=500,w0=null,Cn=null,zc=null,v1=0,A2=1,E2=2,kC=3,Oc=0,JC=1,KC=2,$C=3,FC=4,b1=5,Fn=0,Rc=null,mp=null,qo=0,x2=0,D2=-0,C2=null,WC=null,IC=null,Yo=v1,PC=null,W5=50,U0=0,M2=null,z2=!1,S1=!1,I5=50,Cd=0,_0=null,pp=!1,T1=null,tM=!1,eM=new Set,P5={},A1=null,yp=null,O2=!1,R2=!1,E1=!1,w2=!1,wc=0,U2={};(function(){for(var t=0;t<XT.length;t++){var e=XT[t],a=e.toLowerCase();e=e[0].toUpperCase()+e.slice(1),ql(a,"on"+e)}ql(wD,"onAnimationEnd"),ql(UD,"onAnimationIteration"),ql(_D,"onAnimationStart"),ql("dblclick","onDoubleClick"),ql("focusin","onFocus"),ql("focusout","onBlur"),ql(z5,"onTransitionRun"),ql(O5,"onTransitionStart"),ql(R5,"onTransitionCancel"),ql(ND,"onTransitionEnd")})(),ir("onMouseEnter",["mouseout","mouseover"]),ir("onMouseLeave",["mouseout","mouseover"]),ir("onPointerEnter",["pointerout","pointerover"]),ir("onPointerLeave",["pointerout","pointerover"]),Vl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Vl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Vl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Vl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Vl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Vl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var N0="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(" "),_2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(N0)),x1="_reactListening"+Math.random().toString(36).slice(2),nM=!1,aM=!1,D1=!1,lM=!1,C1=!1,M1=!1,iM=!1,z1={},t6=/\r\n?/g,e6=/\u0000|\uFFFD/g,Md="http://www.w3.org/1999/xlink",N2="http://www.w3.org/XML/1998/namespace",n6="javascript:throw new Error('React form unexpectedly submitted.')",a6="suppressHydrationWarning",zd="&",O1="/&",j0="$",B0="/$",Uc="$?",Od="$~",gp="$!",l6="html",i6="body",o6="head",j2="F!",oM="F",uM="loading",u6="style",Ks=0,vp=1,R1=2,B2=null,V2=null,sM={dialog:!0,webview:!0},H2=null,V0=void 0,rM=typeof setTimeout=="function"?setTimeout:void 0,s6=typeof clearTimeout=="function"?clearTimeout:void 0,Rd=-1,cM=typeof Promise=="function"?Promise:void 0,r6=typeof queueMicrotask=="function"?queueMicrotask:typeof cM<"u"?function(t){return cM.resolve(null).then(t).catch(ob)}:rM,L2=null,wd=0,H0=1,fM=2,dM=3,oo=4,uo=new Map,hM=new Set,$s=Me.d;Me.d={f:function(){var t=$s.f(),e=ol();return t||e},r:function(t){var e=Bl(t);e!==null&&e.tag===5&&e.type==="form"?wr(e):$s.r(t)},D:function(t){$s.D(t),Dg("dns-prefetch",t,null)},C:function(t,e){$s.C(t,e),Dg("preconnect",t,e)},L:function(t,e,a){$s.L(t,e,a);var o=bp;if(o&&t&&e){var c='link[rel="preload"][as="'+Ne(e)+'"]';e==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+Ne(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+Ne(a.imageSizes)+'"]')):c+='[href="'+Ne(t)+'"]';var f=c;switch(e){case"style":f=Ms(t);break;case"script":f=zs(t)}uo.has(f)||(t=le({rel:"preload",href:e==="image"&&a&&a.imageSrcSet?void 0:t,as:e},a),uo.set(f,t),o.querySelector(c)!==null||e==="style"&&o.querySelector(Ff(f))||e==="script"&&o.querySelector(Wf(f))||(e=o.createElement("link"),We(e,"link",t),yn(e),o.head.appendChild(e)))}},m:function(t,e){$s.m(t,e);var a=bp;if(a&&t){var o=e&&typeof e.as=="string"?e.as:"script",c='link[rel="modulepreload"][as="'+Ne(o)+'"][href="'+Ne(t)+'"]',f=c;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=zs(t)}if(!uo.has(f)&&(t=le({rel:"modulepreload",href:t},e),uo.set(f,t),a.querySelector(c)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Wf(f)))return}o=a.createElement("link"),We(o,"link",t),yn(o),a.head.appendChild(o)}}},X:function(t,e){$s.X(t,e);var a=bp;if(a&&t){var o=vl(a).hoistableScripts,c=zs(t),f=o.get(c);f||(f=a.querySelector(Wf(c)),f||(t=le({src:t,async:!0},e),(e=uo.get(c))&&zg(t,e),f=a.createElement("script"),yn(f),We(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}},S:function(t,e,a){$s.S(t,e,a);var o=bp;if(o&&t){var c=vl(o).hoistableStyles,f=Ms(t);e=e||"default";var y=c.get(f);if(!y){var g={loading:wd,preload:null};if(y=o.querySelector(Ff(f)))g.loading=H0|oo;else{t=le({rel:"stylesheet",href:t,"data-precedence":e},a),(a=uo.get(f))&&Mg(t,a);var E=y=o.createElement("link");yn(E),We(E,"link",t),E._p=new Promise(function(D,V){E.onload=D,E.onerror=V}),E.addEventListener("load",function(){g.loading|=H0}),E.addEventListener("error",function(){g.loading|=fM}),g.loading|=oo,Ir(y,e,o)}y={type:"stylesheet",instance:y,count:1,state:g},c.set(f,y)}}},M:function(t,e){$s.M(t,e);var a=bp;if(a&&t){var o=vl(a).hoistableScripts,c=zs(t),f=o.get(c);f||(f=a.querySelector(Wf(c)),f||(t=le({src:t,async:!0,type:"module"},e),(e=uo.get(c))&&zg(t,e),f=a.createElement("script"),yn(f),We(f,"link",t),a.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},o.set(c,f))}}};var bp=typeof document>"u"?null:document,w1=null,c6=6e4,f6=800,d6=500,q2=0,Y2=null,U1=null,Ud=wT,L0={$$typeof:ii,Provider:null,Consumer:null,_currentValue:Ud,_currentValue2:Ud,_threadCount:0},mM="%c%s%c",pM="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",yM="",_1=" ",h6=Function.prototype.bind,gM=!1,vM=null,bM=null,SM=null,TM=null,AM=null,EM=null,xM=null,DM=null,CM=null,MM=null;vM=function(t,e,a,o){e=u(t,e),e!==null&&(a=r(e.memoizedState,a,0,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=le({},t.memoizedProps),a=ia(t,2),a!==null&&kt(a,t,2))},bM=function(t,e,a){e=u(t,e),e!==null&&(a=v(e.memoizedState,a,0),e.memoizedState=a,e.baseState=a,t.memoizedProps=le({},t.memoizedProps),a=ia(t,2),a!==null&&kt(a,t,2))},SM=function(t,e,a,o){e=u(t,e),e!==null&&(a=d(e.memoizedState,a,o),e.memoizedState=a,e.baseState=a,t.memoizedProps=le({},t.memoizedProps),a=ia(t,2),a!==null&&kt(a,t,2))},TM=function(t,e,a){t.pendingProps=r(t.memoizedProps,e,0,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=ia(t,2),e!==null&&kt(e,t,2)},AM=function(t,e){t.pendingProps=v(t.memoizedProps,e,0),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=ia(t,2),e!==null&&kt(e,t,2)},EM=function(t,e,a){t.pendingProps=d(t.memoizedProps,e,a),t.alternate&&(t.alternate.pendingProps=t.pendingProps),e=ia(t,2),e!==null&&kt(e,t,2)},xM=function(t){var e=ia(t,2);e!==null&&kt(e,t,2)},DM=function(t){var e=Id(),a=ia(t,e);a!==null&&kt(a,t,e)},CM=function(t){b=t},MM=function(t){T=t};var N1=!0,j1=null,G2=!1,_c=null,Nc=null,jc=null,q0=new Map,Y0=new Map,Bc=[],m6="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(" "),B1=null;if(li.prototype.render=Hg.prototype.render=function(t){var e=this._internalRoot;if(e===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()."):ot(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=t;var o=e.current,c=ua(o);Cm(o,c,a,e,null,null)},li.prototype.unmount=Hg.prototype.unmount=function(){var t=arguments;if(typeof t[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()."),t=this._internalRoot,t!==null){this._internalRoot=null;var e=t.containerInfo;(Te&(la|fi))!==da&&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."),Cm(t.current,2,null,t,null,null),ol(),e[jo]=null}},li.prototype.unstable_scheduleHydration=function(t){if(t){var e=mv();t={blockedOn:null,target:t,priority:e};for(var a=0;a<Bc.length&&e!==0&&e<Bc[a].priority;a++);Bc.splice(a,0,t),a===0&&Vg(t)}},(function(){var t=nd.version;if(t!=="19.2.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
269
+ - react: `+(t+`
270
+ - react-dom: 19.2.0
271
+ 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"),Me.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error("Unable to find node on an unmounted component."):(t=Object.keys(t).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+t));return t=St(e),t=t!==null?bt(t):null,t=t===null?null:t.stateNode,t},!(function(){var t={bundleType:1,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:P,reconcilerVersion:"19.2.0"};return t.overrideHookState=vM,t.overrideHookStateDeletePath=bM,t.overrideHookStateRenamePath=SM,t.overrideProps=TM,t.overridePropsDeletePath=AM,t.overridePropsRenamePath=EM,t.scheduleUpdate=xM,t.scheduleRetry=DM,t.setErrorHandler=CM,t.setSuspenseHandler=MM,t.scheduleRefresh=X,t.scheduleRoot=Q,t.setRefreshHandler=lt,t.getCurrentFiber=Ve,Xp(t)})()&&zu&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var zM=window.location.protocol;/^(https?|file):$/.test(zM)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(zM==="file:"?`
272
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Ep.createRoot=function(t,e){if(!ot(t))throw Error("Target container is not a DOM element.");Lg(t);var a=!1,o="",c=Lh,f=qh,y=_y;return e!=null&&(e.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof e=="object"&&e!==null&&e.$$typeof===Rl&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
273
+
274
+ let root = createRoot(domContainer);
275
+ root.render(<App />);`),e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(o=e.identifierPrefix),e.onUncaughtError!==void 0&&(c=e.onUncaughtError),e.onCaughtError!==void 0&&(f=e.onCaughtError),e.onRecoverableError!==void 0&&(y=e.onRecoverableError)),e=td(t,1,!1,null,null,a,o,null,c,f,y,Rb),t[jo]=e.current,Su(t),new Hg(e)},Ep.hydrateRoot=function(t,e,a){if(!ot(t))throw Error("Target container is not a DOM element.");Lg(t),e===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,c="",f=Lh,y=qh,g=_y,E=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(f=a.onUncaughtError),a.onCaughtError!==void 0&&(y=a.onCaughtError),a.onRecoverableError!==void 0&&(g=a.onRecoverableError),a.formState!==void 0&&(E=a.formState)),e=td(t,1,!0,e,a??null,o,c,E,f,y,g,Rb),e.context=Cb(null),a=e.current,o=ua(a),o=Yu(o),c=zn(o),c.callback=null,zi(a,c,o),Di(o,"hydrateRoot()",null),a=o,e.current.lanes=a,Zo(e,a),Ha(e),t[jo]=e.current,Su(t),new li(e)},Ep.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ep}var P2;function HM(){if(P2)return X0.exports;P2=1;function u(){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(u)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(u(),X0.exports=BM()):X0.exports=VM(),X0.exports}var LM=HM();const qM=RM(LM);function tA(u){var r,d,m="";if(typeof u=="string"||typeof u=="number")m+=u;else if(typeof u=="object")if(Array.isArray(u)){var v=u.length;for(r=0;r<v;r++)u[r]&&(d=tA(u[r]))&&(m&&(m+=" "),m+=d)}else for(d in u)u[d]&&(m&&(m+=" "),m+=d);return m}function YM(){for(var u,r,d=0,m="",v=arguments.length;d<v;d++)(u=arguments[d])&&(r=tA(u))&&(m&&(m+=" "),m+=r);return m}const L1="-",GM=u=>{const r=QM(u),{conflictingClassGroups:d,conflictingClassGroupModifiers:m}=u;return{getClassGroupId:b=>{const A=b.split(L1);return A[0]===""&&A.length!==1&&A.shift(),eA(A,r)||XM(b)},getConflictingClassGroupIds:(b,A)=>{const x=d[b]||[];return A&&m[b]?[...x,...m[b]]:x}}},eA=(u,r)=>{if(u.length===0)return r.classGroupId;const d=u[0],m=r.nextPart.get(d),v=m?eA(u.slice(1),m):void 0;if(v)return v;if(r.validators.length===0)return;const T=u.join(L1);return r.validators.find(({validator:b})=>b(T))?.classGroupId},nA=/^\[(.+)\]$/,XM=u=>{if(nA.test(u)){const r=nA.exec(u)[1],d=r?.substring(0,r.indexOf(":"));if(d)return"arbitrary.."+d}},QM=u=>{const{theme:r,classGroups:d}=u,m={nextPart:new Map,validators:[]};for(const v in d)q1(d[v],m,v,r);return m},q1=(u,r,d,m)=>{u.forEach(v=>{if(typeof v=="string"){const T=v===""?r:aA(r,v);T.classGroupId=d;return}if(typeof v=="function"){if(ZM(v)){q1(v(m),r,d,m);return}r.validators.push({validator:v,classGroupId:d});return}Object.entries(v).forEach(([T,b])=>{q1(b,aA(r,T),d,m)})})},aA=(u,r)=>{let d=u;return r.split(L1).forEach(m=>{d.nextPart.has(m)||d.nextPart.set(m,{nextPart:new Map,validators:[]}),d=d.nextPart.get(m)}),d},ZM=u=>u.isThemeGetter,kM=u=>{if(u<1)return{get:()=>{},set:()=>{}};let r=0,d=new Map,m=new Map;const v=(T,b)=>{d.set(T,b),r++,r>u&&(r=0,m=d,d=new Map)};return{get(T){let b=d.get(T);if(b!==void 0)return b;if((b=m.get(T))!==void 0)return v(T,b),b},set(T,b){d.has(T)?d.set(T,b):v(T,b)}}},Y1="!",G1=":",JM=G1.length,KM=u=>{const{prefix:r,experimentalParseClassName:d}=u;let m=v=>{const T=[];let b=0,A=0,x=0,z;for(let X=0;X<v.length;X++){let lt=v[X];if(b===0&&A===0){if(lt===G1){T.push(v.slice(x,X)),x=X+JM;continue}if(lt==="/"){z=X;continue}}lt==="["?b++:lt==="]"?b--:lt==="("?A++:lt===")"&&A--}const M=T.length===0?v:v.substring(x),O=$M(M),w=O!==M,Q=z&&z>x?z-x:void 0;return{modifiers:T,hasImportantModifier:w,baseClassName:O,maybePostfixModifierPosition:Q}};if(r){const v=r+G1,T=m;m=b=>b.startsWith(v)?T(b.substring(v.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:b,maybePostfixModifierPosition:void 0}}if(d){const v=m;m=T=>d({className:T,parseClassName:v})}return m},$M=u=>u.endsWith(Y1)?u.substring(0,u.length-1):u.startsWith(Y1)?u.substring(1):u,FM=u=>{const r=Object.fromEntries(u.orderSensitiveModifiers.map(m=>[m,!0]));return m=>{if(m.length<=1)return m;const v=[];let T=[];return m.forEach(b=>{b[0]==="["||r[b]?(v.push(...T.sort(),b),T=[]):T.push(b)}),v.push(...T.sort()),v}},WM=u=>({cache:kM(u.cacheSize),parseClassName:KM(u),sortModifiers:FM(u),...GM(u)}),IM=/\s+/,PM=(u,r)=>{const{parseClassName:d,getClassGroupId:m,getConflictingClassGroupIds:v,sortModifiers:T}=r,b=[],A=u.trim().split(IM);let x="";for(let z=A.length-1;z>=0;z-=1){const M=A[z],{isExternal:O,modifiers:w,hasImportantModifier:Q,baseClassName:X,maybePostfixModifierPosition:lt}=d(M);if(O){x=M+(x.length>0?" "+x:x);continue}let ot=!!lt,nt=m(ot?X.substring(0,lt):X);if(!nt){if(!ot){x=M+(x.length>0?" "+x:x);continue}if(nt=m(X),!nt){x=M+(x.length>0?" "+x:x);continue}ot=!1}const dt=T(w).join(":"),ht=Q?dt+Y1:dt,Tt=ht+nt;if(b.includes(Tt))continue;b.push(Tt);const St=v(nt,ot);for(let bt=0;bt<St.length;++bt){const Dt=St[bt];b.push(ht+Dt)}x=M+(x.length>0?" "+x:x)}return x};function t3(){let u=0,r,d,m="";for(;u<arguments.length;)(r=arguments[u++])&&(d=lA(r))&&(m&&(m+=" "),m+=d);return m}const lA=u=>{if(typeof u=="string")return u;let r,d="";for(let m=0;m<u.length;m++)u[m]&&(r=lA(u[m]))&&(d&&(d+=" "),d+=r);return d};function e3(u,...r){let d,m,v,T=b;function b(x){const z=r.reduce((M,O)=>O(M),u());return d=WM(z),m=d.cache.get,v=d.cache.set,T=A,A(x)}function A(x){const z=m(x);if(z)return z;const M=PM(x,d);return v(x,M),M}return function(){return T(t3.apply(null,arguments))}}const Wn=u=>{const r=d=>d[u]||[];return r.isThemeGetter=!0,r},iA=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oA=/^\((?:(\w[\w-]*):)?(.+)\)$/i,n3=/^\d+\/\d+$/,a3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,l3=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,i3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,o3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,u3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_d=u=>n3.test(u),de=u=>!!u&&!Number.isNaN(Number(u)),Ws=u=>!!u&&Number.isInteger(Number(u)),X1=u=>u.endsWith("%")&&de(u.slice(0,-1)),_u=u=>a3.test(u),s3=()=>!0,r3=u=>l3.test(u)&&!i3.test(u),uA=()=>!1,c3=u=>o3.test(u),f3=u=>u3.test(u),d3=u=>!zt(u)&&!Ot(u),h3=u=>Nd(u,dA,uA),zt=u=>iA.test(u),Vc=u=>Nd(u,hA,r3),Q1=u=>Nd(u,v3,de),sA=u=>Nd(u,cA,uA),m3=u=>Nd(u,fA,f3),Z0=u=>Nd(u,mA,c3),Ot=u=>oA.test(u),xp=u=>jd(u,hA),p3=u=>jd(u,b3),rA=u=>jd(u,cA),y3=u=>jd(u,dA),g3=u=>jd(u,fA),k0=u=>jd(u,mA,!0),Nd=(u,r,d)=>{const m=iA.exec(u);return m?m[1]?r(m[1]):d(m[2]):!1},jd=(u,r,d=!1)=>{const m=oA.exec(u);return m?m[1]?r(m[1]):d:!1},cA=u=>u==="position"||u==="percentage",fA=u=>u==="image"||u==="url",dA=u=>u==="length"||u==="size"||u==="bg-size",hA=u=>u==="length",v3=u=>u==="number",b3=u=>u==="family-name",mA=u=>u==="shadow",S3=e3(()=>{const u=Wn("color"),r=Wn("font"),d=Wn("text"),m=Wn("font-weight"),v=Wn("tracking"),T=Wn("leading"),b=Wn("breakpoint"),A=Wn("container"),x=Wn("spacing"),z=Wn("radius"),M=Wn("shadow"),O=Wn("inset-shadow"),w=Wn("text-shadow"),Q=Wn("drop-shadow"),X=Wn("blur"),lt=Wn("perspective"),ot=Wn("aspect"),nt=Wn("ease"),dt=Wn("animate"),ht=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Tt=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],St=()=>[...Tt(),Ot,zt],bt=()=>["auto","hidden","clip","visible","scroll"],Dt=()=>["auto","contain","none"],I=()=>[Ot,zt,x],wt=()=>[_d,"full","auto",...I()],yt=()=>[Ws,"none","subgrid",Ot,zt],Qt=()=>["auto",{span:["full",Ws,Ot,zt]},Ws,Ot,zt],Bt=()=>[Ws,"auto",Ot,zt],Vt=()=>["auto","min","max","fr",Ot,zt],Lt=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Gt=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...I()],F=()=>[_d,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],k=()=>[u,Ot,zt],gt=()=>[...Tt(),rA,sA,{position:[Ot,zt]}],Mt=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Y=()=>["auto","cover","contain",y3,h3,{size:[Ot,zt]}],pt=()=>[X1,xp,Vc],st=()=>["","none","full",z,Ot,zt],ft=()=>["",de,xp,Vc],Ht=()=>["solid","dashed","dotted","double"],xe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],xt=()=>[de,X1,rA,sA],be=()=>["","none",X,Ot,zt],It=()=>["none",de,Ot,zt],Kt=()=>["none",de,Ot,zt],mt=()=>[de,Ot,zt],se=()=>[_d,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[_u],breakpoint:[_u],color:[s3],container:[_u],"drop-shadow":[_u],ease:["in","out","in-out"],font:[d3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[_u],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[_u],shadow:[_u],spacing:["px",de],text:[_u],"text-shadow":[_u],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",_d,zt,Ot,ot]}],container:["container"],columns:[{columns:[de,zt,Ot,A]}],"break-after":[{"break-after":ht()}],"break-before":[{"break-before":ht()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:St()}],overflow:[{overflow:bt()}],"overflow-x":[{"overflow-x":bt()}],"overflow-y":[{"overflow-y":bt()}],overscroll:[{overscroll:Dt()}],"overscroll-x":[{"overscroll-x":Dt()}],"overscroll-y":[{"overscroll-y":Dt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:wt()}],"inset-x":[{"inset-x":wt()}],"inset-y":[{"inset-y":wt()}],start:[{start:wt()}],end:[{end:wt()}],top:[{top:wt()}],right:[{right:wt()}],bottom:[{bottom:wt()}],left:[{left:wt()}],visibility:["visible","invisible","collapse"],z:[{z:[Ws,"auto",Ot,zt]}],basis:[{basis:[_d,"full","auto",A,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[de,_d,"auto","initial","none",zt]}],grow:[{grow:["",de,Ot,zt]}],shrink:[{shrink:["",de,Ot,zt]}],order:[{order:[Ws,"first","last","none",Ot,zt]}],"grid-cols":[{"grid-cols":yt()}],"col-start-end":[{col:Qt()}],"col-start":[{"col-start":Bt()}],"col-end":[{"col-end":Bt()}],"grid-rows":[{"grid-rows":yt()}],"row-start-end":[{row:Qt()}],"row-start":[{"row-start":Bt()}],"row-end":[{"row-end":Bt()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Vt()}],"auto-rows":[{"auto-rows":Vt()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"justify-content":[{justify:[...Lt(),"normal"]}],"justify-items":[{"justify-items":[...Gt(),"normal"]}],"justify-self":[{"justify-self":["auto",...Gt()]}],"align-content":[{content:["normal",...Lt()]}],"align-items":[{items:[...Gt(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Gt(),{baseline:["","last"]}]}],"place-content":[{"place-content":Lt()}],"place-items":[{"place-items":[...Gt(),"baseline"]}],"place-self":[{"place-self":["auto",...Gt()]}],p:[{p:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[A,"screen",...F()]}],"min-w":[{"min-w":[A,"screen","none",...F()]}],"max-w":[{"max-w":[A,"screen","none","prose",{screen:[b]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",d,xp,Vc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[m,Ot,Q1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",X1,zt]}],"font-family":[{font:[p3,zt,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[v,Ot,zt]}],"line-clamp":[{"line-clamp":[de,"none",Ot,Q1]}],leading:[{leading:[T,...I()]}],"list-image":[{"list-image":["none",Ot,zt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ot,zt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:k()}],"text-color":[{text:k()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Ht(),"wavy"]}],"text-decoration-thickness":[{decoration:[de,"from-font","auto",Ot,Vc]}],"text-decoration-color":[{decoration:k()}],"underline-offset":[{"underline-offset":[de,"auto",Ot,zt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ot,zt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ot,zt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:gt()}],"bg-repeat":[{bg:Mt()}],"bg-size":[{bg:Y()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ws,Ot,zt],radial:["",Ot,zt],conic:[Ws,Ot,zt]},g3,m3]}],"bg-color":[{bg:k()}],"gradient-from-pos":[{from:pt()}],"gradient-via-pos":[{via:pt()}],"gradient-to-pos":[{to:pt()}],"gradient-from":[{from:k()}],"gradient-via":[{via:k()}],"gradient-to":[{to:k()}],rounded:[{rounded:st()}],"rounded-s":[{"rounded-s":st()}],"rounded-e":[{"rounded-e":st()}],"rounded-t":[{"rounded-t":st()}],"rounded-r":[{"rounded-r":st()}],"rounded-b":[{"rounded-b":st()}],"rounded-l":[{"rounded-l":st()}],"rounded-ss":[{"rounded-ss":st()}],"rounded-se":[{"rounded-se":st()}],"rounded-ee":[{"rounded-ee":st()}],"rounded-es":[{"rounded-es":st()}],"rounded-tl":[{"rounded-tl":st()}],"rounded-tr":[{"rounded-tr":st()}],"rounded-br":[{"rounded-br":st()}],"rounded-bl":[{"rounded-bl":st()}],"border-w":[{border:ft()}],"border-w-x":[{"border-x":ft()}],"border-w-y":[{"border-y":ft()}],"border-w-s":[{"border-s":ft()}],"border-w-e":[{"border-e":ft()}],"border-w-t":[{"border-t":ft()}],"border-w-r":[{"border-r":ft()}],"border-w-b":[{"border-b":ft()}],"border-w-l":[{"border-l":ft()}],"divide-x":[{"divide-x":ft()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ft()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Ht(),"hidden","none"]}],"divide-style":[{divide:[...Ht(),"hidden","none"]}],"border-color":[{border:k()}],"border-color-x":[{"border-x":k()}],"border-color-y":[{"border-y":k()}],"border-color-s":[{"border-s":k()}],"border-color-e":[{"border-e":k()}],"border-color-t":[{"border-t":k()}],"border-color-r":[{"border-r":k()}],"border-color-b":[{"border-b":k()}],"border-color-l":[{"border-l":k()}],"divide-color":[{divide:k()}],"outline-style":[{outline:[...Ht(),"none","hidden"]}],"outline-offset":[{"outline-offset":[de,Ot,zt]}],"outline-w":[{outline:["",de,xp,Vc]}],"outline-color":[{outline:k()}],shadow:[{shadow:["","none",M,k0,Z0]}],"shadow-color":[{shadow:k()}],"inset-shadow":[{"inset-shadow":["none",O,k0,Z0]}],"inset-shadow-color":[{"inset-shadow":k()}],"ring-w":[{ring:ft()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:k()}],"ring-offset-w":[{"ring-offset":[de,Vc]}],"ring-offset-color":[{"ring-offset":k()}],"inset-ring-w":[{"inset-ring":ft()}],"inset-ring-color":[{"inset-ring":k()}],"text-shadow":[{"text-shadow":["none",w,k0,Z0]}],"text-shadow-color":[{"text-shadow":k()}],opacity:[{opacity:[de,Ot,zt]}],"mix-blend":[{"mix-blend":[...xe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":xe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[de]}],"mask-image-linear-from-pos":[{"mask-linear-from":xt()}],"mask-image-linear-to-pos":[{"mask-linear-to":xt()}],"mask-image-linear-from-color":[{"mask-linear-from":k()}],"mask-image-linear-to-color":[{"mask-linear-to":k()}],"mask-image-t-from-pos":[{"mask-t-from":xt()}],"mask-image-t-to-pos":[{"mask-t-to":xt()}],"mask-image-t-from-color":[{"mask-t-from":k()}],"mask-image-t-to-color":[{"mask-t-to":k()}],"mask-image-r-from-pos":[{"mask-r-from":xt()}],"mask-image-r-to-pos":[{"mask-r-to":xt()}],"mask-image-r-from-color":[{"mask-r-from":k()}],"mask-image-r-to-color":[{"mask-r-to":k()}],"mask-image-b-from-pos":[{"mask-b-from":xt()}],"mask-image-b-to-pos":[{"mask-b-to":xt()}],"mask-image-b-from-color":[{"mask-b-from":k()}],"mask-image-b-to-color":[{"mask-b-to":k()}],"mask-image-l-from-pos":[{"mask-l-from":xt()}],"mask-image-l-to-pos":[{"mask-l-to":xt()}],"mask-image-l-from-color":[{"mask-l-from":k()}],"mask-image-l-to-color":[{"mask-l-to":k()}],"mask-image-x-from-pos":[{"mask-x-from":xt()}],"mask-image-x-to-pos":[{"mask-x-to":xt()}],"mask-image-x-from-color":[{"mask-x-from":k()}],"mask-image-x-to-color":[{"mask-x-to":k()}],"mask-image-y-from-pos":[{"mask-y-from":xt()}],"mask-image-y-to-pos":[{"mask-y-to":xt()}],"mask-image-y-from-color":[{"mask-y-from":k()}],"mask-image-y-to-color":[{"mask-y-to":k()}],"mask-image-radial":[{"mask-radial":[Ot,zt]}],"mask-image-radial-from-pos":[{"mask-radial-from":xt()}],"mask-image-radial-to-pos":[{"mask-radial-to":xt()}],"mask-image-radial-from-color":[{"mask-radial-from":k()}],"mask-image-radial-to-color":[{"mask-radial-to":k()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Tt()}],"mask-image-conic-pos":[{"mask-conic":[de]}],"mask-image-conic-from-pos":[{"mask-conic-from":xt()}],"mask-image-conic-to-pos":[{"mask-conic-to":xt()}],"mask-image-conic-from-color":[{"mask-conic-from":k()}],"mask-image-conic-to-color":[{"mask-conic-to":k()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:gt()}],"mask-repeat":[{mask:Mt()}],"mask-size":[{mask:Y()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ot,zt]}],filter:[{filter:["","none",Ot,zt]}],blur:[{blur:be()}],brightness:[{brightness:[de,Ot,zt]}],contrast:[{contrast:[de,Ot,zt]}],"drop-shadow":[{"drop-shadow":["","none",Q,k0,Z0]}],"drop-shadow-color":[{"drop-shadow":k()}],grayscale:[{grayscale:["",de,Ot,zt]}],"hue-rotate":[{"hue-rotate":[de,Ot,zt]}],invert:[{invert:["",de,Ot,zt]}],saturate:[{saturate:[de,Ot,zt]}],sepia:[{sepia:["",de,Ot,zt]}],"backdrop-filter":[{"backdrop-filter":["","none",Ot,zt]}],"backdrop-blur":[{"backdrop-blur":be()}],"backdrop-brightness":[{"backdrop-brightness":[de,Ot,zt]}],"backdrop-contrast":[{"backdrop-contrast":[de,Ot,zt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",de,Ot,zt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[de,Ot,zt]}],"backdrop-invert":[{"backdrop-invert":["",de,Ot,zt]}],"backdrop-opacity":[{"backdrop-opacity":[de,Ot,zt]}],"backdrop-saturate":[{"backdrop-saturate":[de,Ot,zt]}],"backdrop-sepia":[{"backdrop-sepia":["",de,Ot,zt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ot,zt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[de,"initial",Ot,zt]}],ease:[{ease:["linear","initial",nt,Ot,zt]}],delay:[{delay:[de,Ot,zt]}],animate:[{animate:["none",dt,Ot,zt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[lt,Ot,zt]}],"perspective-origin":[{"perspective-origin":St()}],rotate:[{rotate:It()}],"rotate-x":[{"rotate-x":It()}],"rotate-y":[{"rotate-y":It()}],"rotate-z":[{"rotate-z":It()}],scale:[{scale:Kt()}],"scale-x":[{"scale-x":Kt()}],"scale-y":[{"scale-y":Kt()}],"scale-z":[{"scale-z":Kt()}],"scale-3d":["scale-3d"],skew:[{skew:mt()}],"skew-x":[{"skew-x":mt()}],"skew-y":[{"skew-y":mt()}],transform:[{transform:[Ot,zt,"","none","gpu","cpu"]}],"transform-origin":[{origin:St()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:k()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:k()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ot,zt]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ot,zt]}],fill:[{fill:["none",...k()]}],"stroke-w":[{stroke:[de,xp,Vc,Q1]}],stroke:[{stroke:["none",...k()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function yl(...u){return S3(YM(u))}function Z1(u){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let d="";for(let m=0;m<u;m++)d+=r.charAt(Math.floor(Math.random()*r.length));return d}function T3(u){const r=Date.now(),d=Z1(12);return`sdk_${u}_${r}_${d}`}function pA(u){if(!u||u.length===0)return u;let r=u;return(r.startsWith("'")||r.startsWith('"'))&&(r=r.substring(1)),(r.endsWith("'")||r.endsWith('"'))&&(r=r.substring(0,r.length-1)),r}function A3(u){if(!u||u.length===0)return u;const r=u.indexOf("_v");return(r!==-1?u.substring(0,r):u).replace(/-/g," ").split(" ").map(T=>T.length===0?T:T.charAt(0).toUpperCase()+T.slice(1).toLowerCase()).join(" ")}const yA=qe.forwardRef(({className:u,...r},d)=>$.jsx("textarea",{className:yl("flex min-h-[80px] w-full rounded-md px-3 py-2 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",u),ref:d,...r}));yA.displayName="Textarea";const E3=({size:u=16})=>$.jsx("svg",{height:u,strokeLinejoin:"round",viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.70711 1.39644C8.31659 1.00592 7.68342 1.00592 7.2929 1.39644L2.21968 6.46966L1.68935 6.99999L2.75001 8.06065L3.28034 7.53032L7.25001 3.56065V14.25V15H8.75001V14.25V3.56065L12.7197 7.53032L13.25 8.06065L14.3107 6.99999L13.7803 6.46966L8.70711 1.39644Z",fill:"currentColor"})}),x3=({size:u=16})=>$.jsx("svg",{height:u,viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3H13V13H3V3Z",fill:"currentColor"})}),D3=({size:u=16})=>$.jsx("svg",{height:u,strokeLinejoin:"round",viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 8.75,1 H7.25 V7.25 H1.5 V8.75 H7.25 V15 H8.75 V8.75 H14.5 V7.25 H8.75 V1.75 Z",fill:"currentColor"})}),C3=({size:u=16})=>$.jsx("svg",{height:u,strokeLinejoin:"round",viewBox:"0 0 16 16",width:u,style:{color:"currentcolor"},children:$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.96452 2.5C11.0257 2.5 13.5 4.96643 13.5 8C13.5 11.0336 11.0257 13.5 7.96452 13.5C6.12055 13.5 4.48831 12.6051 3.48161 11.2273L3.03915 10.6217L1.828 11.5066L2.27046 12.1122C3.54872 13.8617 5.62368 15 7.96452 15C11.8461 15 15 11.87 15 8C15 4.13001 11.8461 1 7.96452 1C5.06835 1 2.57851 2.74164 1.5 5.23347V3.75V3H0V3.75V7.25C0 7.66421 0.335786 8 0.75 8H3.75H4.5V6.5H3.75H2.63724C3.29365 4.19393 5.42843 2.5 7.96452 2.5ZM8.75 5.25V4.5H7.25V5.25V7.8662C7.25 8.20056 7.4171 8.51279 7.6953 8.69825L9.08397 9.62404L9.70801 10.0401L10.5401 8.79199L9.91603 8.37596L8.75 7.59861V5.25Z",fill:"currentColor"})}),k1={project_id:"",user_id:"",width:"50vw",maxWidth:"80vw",resizable:!0,keyboardShortcut:"b",userMessage:"bg-black dark:bg-gray-600 text-white dark:text-gray-100 text-base",assistantMessage:"text-black dark dark:text-gray-100 text-base",headerButtons:"p-2 my-2 rounded-lg border bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",headerButtonSize:20,headerTitle:"text-base text-gray-900 dark:text-gray-100",sendButton:"p-2 m-2 rounded-lg border bg-white dark:bg-gray-800 border-gray-300 dark:border-gray-700 text-gray-900 dark:text-gray-100 hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",sendButtonSize:16,placeholder:"Ask me anything",textArea:"flex min-h-[80px] w-full rounded-md border focus:border-black dark:focus:border-white focus-visible:outline-none border-gray-300 dark:border-gray-700 bg-background px-3 py-2 placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 text-base",sidebarContainer:"bg-white dark:bg-gray-900 text-black dark:text-gray-100 border-gray-300 dark:border-gray-700",suggestions:"bg-white dark:bg-gray-800 text-black dark:text-gray-100 border-gray-300 dark:border-gray-700",cardContainer:"dark:bg-gray-800",cardTitle:"dark:text-gray-100",cardSubtitle:"text-gray-500 text-sm dark:text-gray-400",defaultOpen:!0,debug:!0};let gA={...k1};function J1(){return gA}function M3(u){gA={...k1,...u}}async function z3(u){const r=u.projectId||u.copilotId,d=u.userId,m=u.apiKey;if(!r)return console.warn("No projectId or copilotId provided, using default config"),{};if(!m)return console.warn("No API key provided, using default config"),{};try{const v=`http://localhost:8080/api/v1/copilot/${r}/config`,T={"Content-Type":"application/json",Authorization:`Bearer ${m}`};d&&(T["X-User-Id"]=d);const b=await fetch(v,{method:"GET",headers:T});if(!b.ok){if(b.status===404)return console.warn("Config endpoint not found (404), using default config"),{};throw new Error(`Failed to fetch config: ${b.status} ${b.statusText}`)}const A=await b.json();return k1.debug&&console.log("✅ Successfully fetched config from database:",A),A}catch(v){return console.warn("⚠️ Failed to fetch config from database, using defaults:",v),{}}}const vA=ut.createContext(J1());function Dp(){return ut.useContext(vA)}function bA({children:u}){const r=J1();return $.jsx(vA.Provider,{value:r,children:u})}function O3({onSendMessage:u,isStreaming:r,inputValue:d,onInputChange:m,onFocusRequest:v}){const[T,b]=ut.useState(""),A=d!==void 0?d:T,x=m||b,z=ut.useRef(null),M=Dp(),O=()=>{if(z.current){z.current.focus();const X=z.current.value.length;z.current.setSelectionRange(X,X)}};ut.useEffect(()=>{v&&v(O)},[v]);const w=X=>{X.preventDefault(),A.trim()&&!r&&u(A.trim())},Q=X=>{if(X.key==="Enter"&&!X.shiftKey){X.preventDefault();const lt=new Event("submit",{bubbles:!0,cancelable:!0});w(lt)}};return $.jsx("div",{className:"my-4",children:$.jsxs("form",{onSubmit:w,className:"space-y-3 m relative",children:[$.jsx("div",{className:"",children:$.jsx(yA,{ref:z,value:A,onChange:X=>x(X.target.value),onKeyDown:Q,placeholder:M.placeholder,disabled:r,className:`min-h-[80px] resize-none ${M.textArea} `})}),$.jsx("div",{className:"absolute bottom-0 right-0 h-fit justify-end p-0 ",children:$.jsx("button",{type:"submit",disabled:!A.trim()||r,className:`
276
+ ${M.sendButton}
277
+ ${r||!A.trim()?" cursor-not-allowed":""}
278
+ `,children:r?$.jsx(x3,{size:M.sendButtonSize}):$.jsx(E3,{size:M.sendButtonSize})})})]})})}const R3=({children:u})=>(d=>{const m=d.replace(/^###### (.*$)/gim,"<h6>$1</h6>").replace(/^##### (.*$)/gim,"<h5>$1</h5>").replace(/^#### (.*$)/gim,"<h4>$1</h4>").replace(/^### (.*$)/gim,"<h3>$1</h3>").replace(/^## (.*$)/gim,"<h2>$1</h2>").replace(/^# (.*$)/gim,"<h1>$1</h1>").replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/\*(.*?)\*/g,"<em>$1</em>").replace(/```([\s\S]*?)```/g,"<pre><code>$1</code></pre>").replace(/`([^`]+)`/g,"<code>$1</code>").replace(/!\[([^\]]*)\]\(([^)]+)\)/g,`<div class="my-4"><img src="$2" alt="$1" class="max-w-full h-auto rounded-lg shadow-md border border-gray-200" loading="lazy" onerror="this.style.display='none'; this.nextElementSibling.style.display='block';" /><div class="hidden text-sm text-gray-500 mt-2 text-center">Failed to load image: $1</div></div>`).replace(/\[([^\]]+)\]\(([^)]+)\)/g,'<a href="$2" target="_blank" rel="noopener noreferrer" title="Open $2">$1</a>').replace(/\n/g,"<br>");return $.jsx("div",{dangerouslySetInnerHTML:{__html:m}})})(u),w3=ut.memo(R3),K1=ut.createContext({});function $1(u){const r=ut.useRef(null);return r.current===null&&(r.current=u()),r.current}const F1=typeof window<"u",SA=F1?ut.useLayoutEffect:ut.useEffect,J0=ut.createContext(null);function W1(u,r){u.indexOf(r)===-1&&u.push(r)}function I1(u,r){const d=u.indexOf(r);d>-1&&u.splice(d,1)}const Nu=(u,r,d)=>d>r?r:d<u?u:d;function P1(u,r){return r?`${u}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${r}`:u}let Bd=()=>{},ju=()=>{};process.env.NODE_ENV!=="production"&&(Bd=(u,r,d)=>{!u&&typeof console<"u"&&console.warn(P1(r,d))},ju=(u,r,d)=>{if(!u)throw new Error(P1(r,d))});const Bu={},TA=u=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(u);function AA(u){return typeof u=="object"&&u!==null}const EA=u=>/^0[^.\s]+$/u.test(u);function tS(u){let r;return()=>(r===void 0&&(r=u()),r)}const hi=u=>u,U3=(u,r)=>d=>r(u(d)),Cp=(...u)=>u.reduce(U3),Mp=(u,r,d)=>{const m=r-u;return m===0?1:(d-u)/m};class eS{constructor(){this.subscriptions=[]}add(r){return W1(this.subscriptions,r),()=>I1(this.subscriptions,r)}notify(r,d,m){const v=this.subscriptions.length;if(v)if(v===1)this.subscriptions[0](r,d,m);else for(let T=0;T<v;T++){const b=this.subscriptions[T];b&&b(r,d,m)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const so=u=>u*1e3,mi=u=>u/1e3;function xA(u,r){return r?u*(1e3/r):0}const DA=new Set;function nS(u,r,d){u||DA.has(r)||(console.warn(P1(r,d)),DA.add(r))}const CA=(u,r,d)=>(((1-3*d+3*r)*u+(3*d-6*r))*u+3*r)*u,_3=1e-7,N3=12;function j3(u,r,d,m,v){let T,b,A=0;do b=r+(d-r)/2,T=CA(b,m,v)-u,T>0?d=b:r=b;while(Math.abs(T)>_3&&++A<N3);return b}function zp(u,r,d,m){if(u===r&&d===m)return hi;const v=T=>j3(T,0,1,u,d);return T=>T===0||T===1?T:CA(v(T),r,m)}const MA=u=>r=>r<=.5?u(2*r)/2:(2-u(2*(1-r)))/2,zA=u=>r=>1-u(1-r),OA=zp(.33,1.53,.69,.99),aS=zA(OA),RA=MA(aS),wA=u=>(u*=2)<1?.5*aS(u):.5*(2-Math.pow(2,-10*(u-1))),lS=u=>1-Math.sin(Math.acos(u)),UA=zA(lS),_A=MA(lS),B3=zp(.42,0,1,1),V3=zp(0,0,.58,1),NA=zp(.42,0,.58,1),H3=u=>Array.isArray(u)&&typeof u[0]!="number",jA=u=>Array.isArray(u)&&typeof u[0]=="number",BA={linear:hi,easeIn:B3,easeInOut:NA,easeOut:V3,circIn:lS,circInOut:_A,circOut:UA,backIn:aS,backInOut:RA,backOut:OA,anticipate:wA},L3=u=>typeof u=="string",VA=u=>{if(jA(u)){ju(u.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[r,d,m,v]=u;return zp(r,d,m,v)}else if(L3(u))return ju(BA[u]!==void 0,`Invalid easing type '${u}'`,"invalid-easing-type"),BA[u];return u},K0=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function q3(u,r){let d=new Set,m=new Set,v=!1,T=!1;const b=new WeakSet;let A={delta:0,timestamp:0,isProcessing:!1};function x(M){b.has(M)&&(z.schedule(M),u()),M(A)}const z={schedule:(M,O=!1,w=!1)=>{const X=w&&v?d:m;return O&&b.add(M),X.has(M)||X.add(M),M},cancel:M=>{m.delete(M),b.delete(M)},process:M=>{if(A=M,v){T=!0;return}v=!0,[d,m]=[m,d],d.forEach(x),d.clear(),v=!1,T&&(T=!1,z.process(M))}};return z}const Y3=40;function HA(u,r){let d=!1,m=!0;const v={delta:0,timestamp:0,isProcessing:!1},T=()=>d=!0,b=K0.reduce((ht,Tt)=>(ht[Tt]=q3(T),ht),{}),{setup:A,read:x,resolveKeyframes:z,preUpdate:M,update:O,preRender:w,render:Q,postRender:X}=b,lt=()=>{const ht=Bu.useManualTiming?v.timestamp:performance.now();d=!1,Bu.useManualTiming||(v.delta=m?1e3/60:Math.max(Math.min(ht-v.timestamp,Y3),1)),v.timestamp=ht,v.isProcessing=!0,A.process(v),x.process(v),z.process(v),M.process(v),O.process(v),w.process(v),Q.process(v),X.process(v),v.isProcessing=!1,d&&r&&(m=!1,u(lt))},ot=()=>{d=!0,m=!0,v.isProcessing||u(lt)};return{schedule:K0.reduce((ht,Tt)=>{const St=b[Tt];return ht[Tt]=(bt,Dt=!1,I=!1)=>(d||ot(),St.schedule(bt,Dt,I)),ht},{}),cancel:ht=>{for(let Tt=0;Tt<K0.length;Tt++)b[K0[Tt]].cancel(ht)},state:v,steps:b}}const{schedule:sn,cancel:Is,state:ha,steps:iS}=HA(typeof requestAnimationFrame<"u"?requestAnimationFrame:hi,!0);let $0;function G3(){$0=void 0}const gl={now:()=>($0===void 0&&gl.set(ha.isProcessing||Bu.useManualTiming?ha.timestamp:performance.now()),$0),set:u=>{$0=u,queueMicrotask(G3)}},LA=u=>r=>typeof r=="string"&&r.startsWith(u),oS=LA("--"),X3=LA("var(--"),uS=u=>X3(u)?Q3.test(u.split("/*")[0].trim()):!1,Q3=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Vd={test:u=>typeof u=="number",parse:parseFloat,transform:u=>u},Op={...Vd,transform:u=>Nu(0,1,u)},F0={...Vd,default:1},Rp=u=>Math.round(u*1e5)/1e5,sS=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Z3(u){return u==null}const k3=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rS=(u,r)=>d=>!!(typeof d=="string"&&k3.test(d)&&d.startsWith(u)||r&&!Z3(d)&&Object.prototype.hasOwnProperty.call(d,r)),qA=(u,r,d)=>m=>{if(typeof m!="string")return m;const[v,T,b,A]=m.match(sS);return{[u]:parseFloat(v),[r]:parseFloat(T),[d]:parseFloat(b),alpha:A!==void 0?parseFloat(A):1}},J3=u=>Nu(0,255,u),cS={...Vd,transform:u=>Math.round(J3(u))},Hc={test:rS("rgb","red"),parse:qA("red","green","blue"),transform:({red:u,green:r,blue:d,alpha:m=1})=>"rgba("+cS.transform(u)+", "+cS.transform(r)+", "+cS.transform(d)+", "+Rp(Op.transform(m))+")"};function K3(u){let r="",d="",m="",v="";return u.length>5?(r=u.substring(1,3),d=u.substring(3,5),m=u.substring(5,7),v=u.substring(7,9)):(r=u.substring(1,2),d=u.substring(2,3),m=u.substring(3,4),v=u.substring(4,5),r+=r,d+=d,m+=m,v+=v),{red:parseInt(r,16),green:parseInt(d,16),blue:parseInt(m,16),alpha:v?parseInt(v,16)/255:1}}const fS={test:rS("#"),parse:K3,transform:Hc.transform},wp=u=>({test:r=>typeof r=="string"&&r.endsWith(u)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${u}`}),Ps=wp("deg"),Go=wp("%"),Jt=wp("px"),$3=wp("vh"),F3=wp("vw"),YA={...Go,parse:u=>Go.parse(u)/100,transform:u=>Go.transform(u*100)},Hd={test:rS("hsl","hue"),parse:qA("hue","saturation","lightness"),transform:({hue:u,saturation:r,lightness:d,alpha:m=1})=>"hsla("+Math.round(u)+", "+Go.transform(Rp(r))+", "+Go.transform(Rp(d))+", "+Rp(Op.transform(m))+")"},jn={test:u=>Hc.test(u)||fS.test(u)||Hd.test(u),parse:u=>Hc.test(u)?Hc.parse(u):Hd.test(u)?Hd.parse(u):fS.parse(u),transform:u=>typeof u=="string"?u:u.hasOwnProperty("red")?Hc.transform(u):Hd.transform(u),getAnimatableNone:u=>{const r=jn.parse(u);return r.alpha=0,jn.transform(r)}},W3=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function I3(u){return isNaN(u)&&typeof u=="string"&&(u.match(sS)?.length||0)+(u.match(W3)?.length||0)>0}const GA="number",XA="color",P3="var",tz="var(",QA="${}",ez=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Up(u){const r=u.toString(),d=[],m={color:[],number:[],var:[]},v=[];let T=0;const A=r.replace(ez,x=>(jn.test(x)?(m.color.push(T),v.push(XA),d.push(jn.parse(x))):x.startsWith(tz)?(m.var.push(T),v.push(P3),d.push(x)):(m.number.push(T),v.push(GA),d.push(parseFloat(x))),++T,QA)).split(QA);return{values:d,split:A,indexes:m,types:v}}function ZA(u){return Up(u).values}function kA(u){const{split:r,types:d}=Up(u),m=r.length;return v=>{let T="";for(let b=0;b<m;b++)if(T+=r[b],v[b]!==void 0){const A=d[b];A===GA?T+=Rp(v[b]):A===XA?T+=jn.transform(v[b]):T+=v[b]}return T}}const nz=u=>typeof u=="number"?0:jn.test(u)?jn.getAnimatableNone(u):u;function az(u){const r=ZA(u);return kA(u)(r.map(nz))}const tr={test:I3,parse:ZA,createTransformer:kA,getAnimatableNone:az};function dS(u,r,d){return d<0&&(d+=1),d>1&&(d-=1),d<1/6?u+(r-u)*6*d:d<1/2?r:d<2/3?u+(r-u)*(2/3-d)*6:u}function lz({hue:u,saturation:r,lightness:d,alpha:m}){u/=360,r/=100,d/=100;let v=0,T=0,b=0;if(!r)v=T=b=d;else{const A=d<.5?d*(1+r):d+r-d*r,x=2*d-A;v=dS(x,A,u+1/3),T=dS(x,A,u),b=dS(x,A,u-1/3)}return{red:Math.round(v*255),green:Math.round(T*255),blue:Math.round(b*255),alpha:m}}function W0(u,r){return d=>d>0?r:u}const mn=(u,r,d)=>u+(r-u)*d,hS=(u,r,d)=>{const m=u*u,v=d*(r*r-m)+m;return v<0?0:Math.sqrt(v)},iz=[fS,Hc,Hd],oz=u=>iz.find(r=>r.test(u));function JA(u){const r=oz(u);if(Bd(!!r,`'${u}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!r)return!1;let d=r.parse(u);return r===Hd&&(d=lz(d)),d}const KA=(u,r)=>{const d=JA(u),m=JA(r);if(!d||!m)return W0(u,r);const v={...d};return T=>(v.red=hS(d.red,m.red,T),v.green=hS(d.green,m.green,T),v.blue=hS(d.blue,m.blue,T),v.alpha=mn(d.alpha,m.alpha,T),Hc.transform(v))},mS=new Set(["none","hidden"]);function uz(u,r){return mS.has(u)?d=>d<=0?u:r:d=>d>=1?r:u}function sz(u,r){return d=>mn(u,r,d)}function pS(u){return typeof u=="number"?sz:typeof u=="string"?uS(u)?W0:jn.test(u)?KA:fz:Array.isArray(u)?$A:typeof u=="object"?jn.test(u)?KA:rz:W0}function $A(u,r){const d=[...u],m=d.length,v=u.map((T,b)=>pS(T)(T,r[b]));return T=>{for(let b=0;b<m;b++)d[b]=v[b](T);return d}}function rz(u,r){const d={...u,...r},m={};for(const v in d)u[v]!==void 0&&r[v]!==void 0&&(m[v]=pS(u[v])(u[v],r[v]));return v=>{for(const T in m)d[T]=m[T](v);return d}}function cz(u,r){const d=[],m={color:0,var:0,number:0};for(let v=0;v<r.values.length;v++){const T=r.types[v],b=u.indexes[T][m[T]],A=u.values[b]??0;d[v]=A,m[T]++}return d}const fz=(u,r)=>{const d=tr.createTransformer(r),m=Up(u),v=Up(r);return m.indexes.var.length===v.indexes.var.length&&m.indexes.color.length===v.indexes.color.length&&m.indexes.number.length>=v.indexes.number.length?mS.has(u)&&!v.values.length||mS.has(r)&&!m.values.length?uz(u,r):Cp($A(cz(m,v),v.values),d):(Bd(!0,`Complex values '${u}' and '${r}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),W0(u,r))};function FA(u,r,d){return typeof u=="number"&&typeof r=="number"&&typeof d=="number"?mn(u,r,d):pS(u)(u,r)}const dz=u=>{const r=({timestamp:d})=>u(d);return{start:(d=!0)=>sn.update(r,d),stop:()=>Is(r),now:()=>ha.isProcessing?ha.timestamp:gl.now()}},WA=(u,r,d=10)=>{let m="";const v=Math.max(Math.round(r/d),2);for(let T=0;T<v;T++)m+=Math.round(u(T/(v-1))*1e4)/1e4+", ";return`linear(${m.substring(0,m.length-2)})`},I0=2e4;function yS(u){let r=0;const d=50;let m=u.next(r);for(;!m.done&&r<I0;)r+=d,m=u.next(r);return r>=I0?1/0:r}function hz(u,r=100,d){const m=d({...u,keyframes:[0,r]}),v=Math.min(yS(m),I0);return{type:"keyframes",ease:T=>m.next(v*T).value/r,duration:mi(v)}}const mz=5;function IA(u,r,d){const m=Math.max(r-mz,0);return xA(d-u(m),r-m)}const pn={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},gS=.001;function pz({duration:u=pn.duration,bounce:r=pn.bounce,velocity:d=pn.velocity,mass:m=pn.mass}){let v,T;Bd(u<=so(pn.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let b=1-r;b=Nu(pn.minDamping,pn.maxDamping,b),u=Nu(pn.minDuration,pn.maxDuration,mi(u)),b<1?(v=z=>{const M=z*b,O=M*u,w=M-d,Q=vS(z,b),X=Math.exp(-O);return gS-w/Q*X},T=z=>{const O=z*b*u,w=O*d+d,Q=Math.pow(b,2)*Math.pow(z,2)*u,X=Math.exp(-O),lt=vS(Math.pow(z,2),b);return(-v(z)+gS>0?-1:1)*((w-Q)*X)/lt}):(v=z=>{const M=Math.exp(-z*u),O=(z-d)*u+1;return-gS+M*O},T=z=>{const M=Math.exp(-z*u),O=(d-z)*(u*u);return M*O});const A=5/u,x=gz(v,T,A);if(u=so(u),isNaN(x))return{stiffness:pn.stiffness,damping:pn.damping,duration:u};{const z=Math.pow(x,2)*m;return{stiffness:z,damping:b*2*Math.sqrt(m*z),duration:u}}}const yz=12;function gz(u,r,d){let m=d;for(let v=1;v<yz;v++)m=m-u(m)/r(m);return m}function vS(u,r){return u*Math.sqrt(1-r*r)}const vz=["duration","bounce"],bz=["stiffness","damping","mass"];function PA(u,r){return r.some(d=>u[d]!==void 0)}function Sz(u){let r={velocity:pn.velocity,stiffness:pn.stiffness,damping:pn.damping,mass:pn.mass,isResolvedFromDuration:!1,...u};if(!PA(u,bz)&&PA(u,vz))if(u.visualDuration){const d=u.visualDuration,m=2*Math.PI/(d*1.2),v=m*m,T=2*Nu(.05,1,1-(u.bounce||0))*Math.sqrt(v);r={...r,mass:pn.mass,stiffness:v,damping:T}}else{const d=pz(u);r={...r,...d,mass:pn.mass},r.isResolvedFromDuration=!0}return r}function P0(u=pn.visualDuration,r=pn.bounce){const d=typeof u!="object"?{visualDuration:u,keyframes:[0,1],bounce:r}:u;let{restSpeed:m,restDelta:v}=d;const T=d.keyframes[0],b=d.keyframes[d.keyframes.length-1],A={done:!1,value:T},{stiffness:x,damping:z,mass:M,duration:O,velocity:w,isResolvedFromDuration:Q}=Sz({...d,velocity:-mi(d.velocity||0)}),X=w||0,lt=z/(2*Math.sqrt(x*M)),ot=b-T,nt=mi(Math.sqrt(x/M)),dt=Math.abs(ot)<5;m||(m=dt?pn.restSpeed.granular:pn.restSpeed.default),v||(v=dt?pn.restDelta.granular:pn.restDelta.default);let ht;if(lt<1){const St=vS(nt,lt);ht=bt=>{const Dt=Math.exp(-lt*nt*bt);return b-Dt*((X+lt*nt*ot)/St*Math.sin(St*bt)+ot*Math.cos(St*bt))}}else if(lt===1)ht=St=>b-Math.exp(-nt*St)*(ot+(X+nt*ot)*St);else{const St=nt*Math.sqrt(lt*lt-1);ht=bt=>{const Dt=Math.exp(-lt*nt*bt),I=Math.min(St*bt,300);return b-Dt*((X+lt*nt*ot)*Math.sinh(I)+St*ot*Math.cosh(I))/St}}const Tt={calculatedDuration:Q&&O||null,next:St=>{const bt=ht(St);if(Q)A.done=St>=O;else{let Dt=St===0?X:0;lt<1&&(Dt=St===0?so(X):IA(ht,St,bt));const I=Math.abs(Dt)<=m,wt=Math.abs(b-bt)<=v;A.done=I&&wt}return A.value=A.done?b:bt,A},toString:()=>{const St=Math.min(yS(Tt),I0),bt=WA(Dt=>Tt.next(St*Dt).value,St,30);return St+"ms "+bt},toTransition:()=>{}};return Tt}P0.applyToOptions=u=>{const r=hz(u,100,P0);return u.ease=r.ease,u.duration=so(r.duration),u.type="keyframes",u};function bS({keyframes:u,velocity:r=0,power:d=.8,timeConstant:m=325,bounceDamping:v=10,bounceStiffness:T=500,modifyTarget:b,min:A,max:x,restDelta:z=.5,restSpeed:M}){const O=u[0],w={done:!1,value:O},Q=I=>A!==void 0&&I<A||x!==void 0&&I>x,X=I=>A===void 0?x:x===void 0||Math.abs(A-I)<Math.abs(x-I)?A:x;let lt=d*r;const ot=O+lt,nt=b===void 0?ot:b(ot);nt!==ot&&(lt=nt-O);const dt=I=>-lt*Math.exp(-I/m),ht=I=>nt+dt(I),Tt=I=>{const wt=dt(I),yt=ht(I);w.done=Math.abs(wt)<=z,w.value=w.done?nt:yt};let St,bt;const Dt=I=>{Q(w.value)&&(St=I,bt=P0({keyframes:[w.value,X(w.value)],velocity:IA(ht,I,w.value),damping:v,stiffness:T,restDelta:z,restSpeed:M}))};return Dt(0),{calculatedDuration:null,next:I=>{let wt=!1;return!bt&&St===void 0&&(wt=!0,Tt(I),Dt(I)),St!==void 0&&I>=St?bt.next(I-St):(!wt&&Tt(I),w)}}}function Tz(u,r,d){const m=[],v=d||Bu.mix||FA,T=u.length-1;for(let b=0;b<T;b++){let A=v(u[b],u[b+1]);if(r){const x=Array.isArray(r)?r[b]||hi:r;A=Cp(x,A)}m.push(A)}return m}function Az(u,r,{clamp:d=!0,ease:m,mixer:v}={}){const T=u.length;if(ju(T===r.length,"Both input and output ranges must be the same length","range-length"),T===1)return()=>r[0];if(T===2&&r[0]===r[1])return()=>r[1];const b=u[0]===u[1];u[0]>u[T-1]&&(u=[...u].reverse(),r=[...r].reverse());const A=Tz(r,m,v),x=A.length,z=M=>{if(b&&M<u[0])return r[0];let O=0;if(x>1)for(;O<u.length-2&&!(M<u[O+1]);O++);const w=Mp(u[O],u[O+1],M);return A[O](w)};return d?M=>z(Nu(u[0],u[T-1],M)):z}function Ez(u,r){const d=u[u.length-1];for(let m=1;m<=r;m++){const v=Mp(0,r,m);u.push(mn(d,1,v))}}function xz(u){const r=[0];return Ez(r,u.length-1),r}function Dz(u,r){return u.map(d=>d*r)}function Cz(u,r){return u.map(()=>r||NA).splice(0,u.length-1)}function Ld({duration:u=300,keyframes:r,times:d,ease:m="easeInOut"}){const v=H3(m)?m.map(VA):VA(m),T={done:!1,value:r[0]},b=Dz(d&&d.length===r.length?d:xz(r),u),A=Az(b,r,{ease:Array.isArray(v)?v:Cz(r,v)});return{calculatedDuration:u,next:x=>(T.value=A(x),T.done=x>=u,T)}}const Mz=u=>u!==null;function SS(u,{repeat:r,repeatType:d="loop"},m,v=1){const T=u.filter(Mz),A=v<0||r&&d!=="loop"&&r%2===1?0:T.length-1;return!A||m===void 0?T[A]:m}const zz={decay:bS,inertia:bS,tween:Ld,keyframes:Ld,spring:P0};function tE(u){typeof u.type=="string"&&(u.type=zz[u.type])}class TS{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,d){return this.finished.then(r,d)}}const Oz=u=>u/100;class AS extends TS{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:d}=this.options;d&&d.updatedAt!==gl.now()&&this.tick(gl.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;tE(r);const{type:d=Ld,repeat:m=0,repeatDelay:v=0,repeatType:T,velocity:b=0}=r;let{keyframes:A}=r;const x=d||Ld;process.env.NODE_ENV!=="production"&&x!==Ld&&ju(A.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${A}`,"spring-two-frames"),x!==Ld&&typeof A[0]!="number"&&(this.mixKeyframes=Cp(Oz,FA(A[0],A[1])),A=[0,100]);const z=x({...r,keyframes:A});T==="mirror"&&(this.mirroredGenerator=x({...r,keyframes:[...A].reverse(),velocity:-b})),z.calculatedDuration===null&&(z.calculatedDuration=yS(z));const{calculatedDuration:M}=z;this.calculatedDuration=M,this.resolvedDuration=M+v,this.totalDuration=this.resolvedDuration*(m+1)-v,this.generator=z}updateTime(r){const d=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=d}tick(r,d=!1){const{generator:m,totalDuration:v,mixKeyframes:T,mirroredGenerator:b,resolvedDuration:A,calculatedDuration:x}=this;if(this.startTime===null)return m.next(0);const{delay:z=0,keyframes:M,repeat:O,repeatType:w,repeatDelay:Q,type:X,onUpdate:lt,finalKeyframe:ot}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-v/this.speed,this.startTime)),d?this.currentTime=r:this.updateTime(r);const nt=this.currentTime-z*(this.playbackSpeed>=0?1:-1),dt=this.playbackSpeed>=0?nt<0:nt>v;this.currentTime=Math.max(nt,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=v);let ht=this.currentTime,Tt=m;if(O){const I=Math.min(this.currentTime,v)/A;let wt=Math.floor(I),yt=I%1;!yt&&I>=1&&(yt=1),yt===1&&wt--,wt=Math.min(wt,O+1),!!(wt%2)&&(w==="reverse"?(yt=1-yt,Q&&(yt-=Q/A)):w==="mirror"&&(Tt=b)),ht=Nu(0,1,yt)*A}const St=dt?{done:!1,value:M[0]}:Tt.next(ht);T&&(St.value=T(St.value));let{done:bt}=St;!dt&&x!==null&&(bt=this.playbackSpeed>=0?this.currentTime>=v:this.currentTime<=0);const Dt=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&bt);return Dt&&X!==bS&&(St.value=SS(M,this.options,ot,this.speed)),lt&&lt(St.value),Dt&&this.finish(),St}then(r,d){return this.finished.then(r,d)}get duration(){return mi(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+mi(r)}get time(){return mi(this.currentTime)}set time(r){r=so(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(gl.now());const d=this.playbackSpeed!==r;this.playbackSpeed=r,d&&(this.time=mi(this.currentTime))}play(){if(this.isStopped)return;const{driver:r=dz,startTime:d}=this.options;this.driver||(this.driver=r(v=>this.tick(v))),this.options.onPlay?.();const m=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=m):this.holdTime!==null?this.startTime=m-this.holdTime:this.startTime||(this.startTime=d??m),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(gl.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),r.observe(this)}}function Rz(u){for(let r=1;r<u.length;r++)u[r]??(u[r]=u[r-1])}const Lc=u=>u*180/Math.PI,ES=u=>{const r=Lc(Math.atan2(u[1],u[0]));return xS(r)},wz={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:u=>(Math.abs(u[0])+Math.abs(u[3]))/2,rotate:ES,rotateZ:ES,skewX:u=>Lc(Math.atan(u[1])),skewY:u=>Lc(Math.atan(u[2])),skew:u=>(Math.abs(u[1])+Math.abs(u[2]))/2},xS=u=>(u=u%360,u<0&&(u+=360),u),eE=ES,nE=u=>Math.sqrt(u[0]*u[0]+u[1]*u[1]),aE=u=>Math.sqrt(u[4]*u[4]+u[5]*u[5]),Uz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:nE,scaleY:aE,scale:u=>(nE(u)+aE(u))/2,rotateX:u=>xS(Lc(Math.atan2(u[6],u[5]))),rotateY:u=>xS(Lc(Math.atan2(-u[2],u[0]))),rotateZ:eE,rotate:eE,skewX:u=>Lc(Math.atan(u[4])),skewY:u=>Lc(Math.atan(u[1])),skew:u=>(Math.abs(u[1])+Math.abs(u[4]))/2};function DS(u){return u.includes("scale")?1:0}function CS(u,r){if(!u||u==="none")return DS(r);const d=u.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let m,v;if(d)m=Uz,v=d;else{const A=u.match(/^matrix\(([-\d.e\s,]+)\)$/u);m=wz,v=A}if(!v)return DS(r);const T=m[r],b=v[1].split(",").map(Nz);return typeof T=="function"?T(b):b[T]}const _z=(u,r)=>{const{transform:d="none"}=getComputedStyle(u);return CS(d,r)};function Nz(u){return parseFloat(u.trim())}const qd=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Yd=new Set(qd),lE=u=>u===Vd||u===Jt,jz=new Set(["x","y","z"]),Bz=qd.filter(u=>!jz.has(u));function Vz(u){const r=[];return Bz.forEach(d=>{const m=u.getValue(d);m!==void 0&&(r.push([d,m.get()]),m.set(d.startsWith("scale")?1:0))}),r}const qc={width:({x:u},{paddingLeft:r="0",paddingRight:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),height:({y:u},{paddingTop:r="0",paddingBottom:d="0"})=>u.max-u.min-parseFloat(r)-parseFloat(d),top:(u,{top:r})=>parseFloat(r),left:(u,{left:r})=>parseFloat(r),bottom:({y:u},{top:r})=>parseFloat(r)+(u.max-u.min),right:({x:u},{left:r})=>parseFloat(r)+(u.max-u.min),x:(u,{transform:r})=>CS(r,"x"),y:(u,{transform:r})=>CS(r,"y")};qc.translateX=qc.x,qc.translateY=qc.y;const Yc=new Set;let MS=!1,zS=!1,OS=!1;function iE(){if(zS){const u=Array.from(Yc).filter(m=>m.needsMeasurement),r=new Set(u.map(m=>m.element)),d=new Map;r.forEach(m=>{const v=Vz(m);v.length&&(d.set(m,v),m.render())}),u.forEach(m=>m.measureInitialState()),r.forEach(m=>{m.render();const v=d.get(m);v&&v.forEach(([T,b])=>{m.getValue(T)?.set(b)})}),u.forEach(m=>m.measureEndState()),u.forEach(m=>{m.suspendedScrollY!==void 0&&window.scrollTo(0,m.suspendedScrollY)})}zS=!1,MS=!1,Yc.forEach(u=>u.complete(OS)),Yc.clear()}function oE(){Yc.forEach(u=>{u.readKeyframes(),u.needsMeasurement&&(zS=!0)})}function Hz(){OS=!0,oE(),iE(),OS=!1}class RS{constructor(r,d,m,v,T,b=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=d,this.name=m,this.motionValue=v,this.element=T,this.isAsync=b}scheduleResolve(){this.state="scheduled",this.isAsync?(Yc.add(this),MS||(MS=!0,sn.read(oE),sn.resolveKeyframes(iE))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:d,element:m,motionValue:v}=this;if(r[0]===null){const T=v?.get(),b=r[r.length-1];if(T!==void 0)r[0]=T;else if(m&&d){const A=m.readValue(d,b);A!=null&&(r[0]=A)}r[0]===void 0&&(r[0]=b),v&&T===void 0&&v.set(r[0])}Rz(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Yc.delete(this)}cancel(){this.state==="scheduled"&&(Yc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Lz=u=>u.startsWith("--");function qz(u,r,d){Lz(r)?u.style.setProperty(r,d):u.style[r]=d}const Yz=tS(()=>window.ScrollTimeline!==void 0),Gz={};function Xz(u,r){const d=tS(u);return()=>Gz[r]??d()}const uE=Xz(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),_p=([u,r,d,m])=>`cubic-bezier(${u}, ${r}, ${d}, ${m})`,sE={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_p([0,.65,.55,1]),circOut:_p([.55,0,1,.45]),backIn:_p([.31,.01,.66,-.59]),backOut:_p([.33,1.53,.69,.99])};function rE(u,r){if(u)return typeof u=="function"?uE()?WA(u,r):"ease-out":jA(u)?_p(u):Array.isArray(u)?u.map(d=>rE(d,r)||sE.easeOut):sE[u]}function Qz(u,r,d,{delay:m=0,duration:v=300,repeat:T=0,repeatType:b="loop",ease:A="easeOut",times:x}={},z=void 0){const M={[r]:d};x&&(M.offset=x);const O=rE(A,v);Array.isArray(O)&&(M.easing=O);const w={delay:m,duration:v,easing:Array.isArray(O)?"linear":O,fill:"both",iterations:T+1,direction:b==="reverse"?"alternate":"normal"};return z&&(w.pseudoElement=z),u.animate(M,w)}function cE(u){return typeof u=="function"&&"applyToOptions"in u}function Zz({type:u,...r}){return cE(u)&&uE()?u.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class kz extends TS{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,!r)return;const{element:d,name:m,keyframes:v,pseudoElement:T,allowFlatten:b=!1,finalKeyframe:A,onComplete:x}=r;this.isPseudoElement=!!T,this.allowFlatten=b,this.options=r,ju(typeof r.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const z=Zz(r);this.animation=Qz(d,m,v,z,T),z.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!T){const M=SS(v,this.options,A,this.speed);this.updateMotionValue?this.updateMotionValue(M):qz(d,m,M),this.animation.cancel()}x?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const r=this.animation.effect?.getComputedTiming?.().duration||0;return mi(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+mi(r)}get time(){return mi(Number(this.animation.currentTime)||0)}set time(r){this.finishedTime=null,this.animation.currentTime=so(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(r){this.animation.startTime=r}attachTimeline({timeline:r,observe:d}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,r&&Yz()?(this.animation.timeline=r,hi):d(this)}}const fE={anticipate:wA,backInOut:RA,circInOut:_A};function Jz(u){return u in fE}function Kz(u){typeof u.ease=="string"&&Jz(u.ease)&&(u.ease=fE[u.ease])}const dE=10;class $z extends kz{constructor(r){Kz(r),tE(r),super(r),r.startTime&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:d,onUpdate:m,onComplete:v,element:T,...b}=this.options;if(!d)return;if(r!==void 0){d.set(r);return}const A=new AS({...b,autoplay:!1}),x=so(this.finishedTime??this.time);d.setWithVelocity(A.sample(x-dE).value,A.sample(x).value,dE),A.stop()}}const hE=(u,r)=>r==="zIndex"?!1:!!(typeof u=="number"||Array.isArray(u)||typeof u=="string"&&(tr.test(u)||u==="0")&&!u.startsWith("url("));function Fz(u){const r=u[0];if(u.length===1)return!0;for(let d=0;d<u.length;d++)if(u[d]!==r)return!0}function Wz(u,r,d,m){const v=u[0];if(v===null)return!1;if(r==="display"||r==="visibility")return!0;const T=u[u.length-1],b=hE(v,r),A=hE(T,r);return Bd(b===A,`You are trying to animate ${r} from "${v}" to "${T}". "${b?T:v}" is not an animatable value.`,"value-not-animatable"),!b||!A?!1:Fz(u)||(d==="spring"||cE(d))&&m}function wS(u){u.duration=0,u.type="keyframes"}const Iz=new Set(["opacity","clipPath","filter","transform"]),Pz=tS(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function tO(u){const{motionValue:r,name:d,repeatDelay:m,repeatType:v,damping:T,type:b}=u;if(!(r?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:x,transformTemplate:z}=r.owner.getProps();return Pz()&&d&&Iz.has(d)&&(d!=="transform"||!z)&&!x&&!m&&v!=="mirror"&&T!==0&&b!=="inertia"}const eO=40;class nO extends TS{constructor({autoplay:r=!0,delay:d=0,type:m="keyframes",repeat:v=0,repeatDelay:T=0,repeatType:b="loop",keyframes:A,name:x,motionValue:z,element:M,...O}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=gl.now();const w={autoplay:r,delay:d,type:m,repeat:v,repeatDelay:T,repeatType:b,name:x,motionValue:z,element:M,...O},Q=M?.KeyframeResolver||RS;this.keyframeResolver=new Q(A,(X,lt,ot)=>this.onKeyframesResolved(X,lt,w,!ot),x,z,M),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(r,d,m,v){this.keyframeResolver=void 0;const{name:T,type:b,velocity:A,delay:x,isHandoff:z,onUpdate:M}=m;this.resolvedAt=gl.now(),Wz(r,T,b,A)||((Bu.instantAnimations||!x)&&M?.(SS(r,m,d)),r[0]=r[r.length-1],wS(m),m.repeat=0);const w={startTime:v?this.resolvedAt?this.resolvedAt-this.createdAt>eO?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:d,...m,keyframes:r},Q=!z&&tO(w)?new $z({...w,element:w.motionValue.owner.current}):new AS(w);Q.finished.then(()=>this.notifyFinished()).catch(hi),this.pendingTimeline&&(this.stopTimeline=Q.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=Q}get finished(){return this._animation?this.animation.finished:this._finished}then(r,d){return this.finished.finally(r).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Hz()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const aO=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lO(u){const r=aO.exec(u);if(!r)return[,];const[,d,m,v]=r;return[`--${d??m}`,v]}const iO=4;function mE(u,r,d=1){ju(d<=iO,`Max CSS variable fallback depth detected in property "${u}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[m,v]=lO(u);if(!m)return;const T=window.getComputedStyle(r).getPropertyValue(m);if(T){const b=T.trim();return TA(b)?parseFloat(b):b}return uS(v)?mE(v,r,d+1):v}function US(u,r){return u?.[r]??u?.default??u}const pE=new Set(["width","height","top","left","right","bottom",...qd]),oO={test:u=>u==="auto",parse:u=>u},yE=u=>r=>r.test(u),gE=[Vd,Jt,Go,Ps,F3,$3,oO],vE=u=>gE.find(yE(u));function uO(u){return typeof u=="number"?u===0:u!==null?u==="none"||u==="0"||EA(u):!0}const sO=new Set(["brightness","contrast","saturate","opacity"]);function rO(u){const[r,d]=u.slice(0,-1).split("(");if(r==="drop-shadow")return u;const[m]=d.match(sS)||[];if(!m)return u;const v=d.replace(m,"");let T=sO.has(r)?1:0;return m!==d&&(T*=100),r+"("+T+v+")"}const cO=/\b([a-z-]*)\(.*?\)/gu,_S={...tr,getAnimatableNone:u=>{const r=u.match(cO);return r?r.map(rO).join(" "):u}},bE={...Vd,transform:Math.round},NS={borderWidth:Jt,borderTopWidth:Jt,borderRightWidth:Jt,borderBottomWidth:Jt,borderLeftWidth:Jt,borderRadius:Jt,radius:Jt,borderTopLeftRadius:Jt,borderTopRightRadius:Jt,borderBottomRightRadius:Jt,borderBottomLeftRadius:Jt,width:Jt,maxWidth:Jt,height:Jt,maxHeight:Jt,top:Jt,right:Jt,bottom:Jt,left:Jt,padding:Jt,paddingTop:Jt,paddingRight:Jt,paddingBottom:Jt,paddingLeft:Jt,margin:Jt,marginTop:Jt,marginRight:Jt,marginBottom:Jt,marginLeft:Jt,backgroundPositionX:Jt,backgroundPositionY:Jt,...{rotate:Ps,rotateX:Ps,rotateY:Ps,rotateZ:Ps,scale:F0,scaleX:F0,scaleY:F0,scaleZ:F0,skew:Ps,skewX:Ps,skewY:Ps,distance:Jt,translateX:Jt,translateY:Jt,translateZ:Jt,x:Jt,y:Jt,z:Jt,perspective:Jt,transformPerspective:Jt,opacity:Op,originX:YA,originY:YA,originZ:Jt},zIndex:bE,fillOpacity:Op,strokeOpacity:Op,numOctaves:bE},fO={...NS,color:jn,backgroundColor:jn,outlineColor:jn,fill:jn,stroke:jn,borderColor:jn,borderTopColor:jn,borderRightColor:jn,borderBottomColor:jn,borderLeftColor:jn,filter:_S,WebkitFilter:_S},SE=u=>fO[u];function TE(u,r){let d=SE(u);return d!==_S&&(d=tr),d.getAnimatableNone?d.getAnimatableNone(r):void 0}const dO=new Set(["auto","none","0"]);function hO(u,r,d){let m=0,v;for(;m<u.length&&!v;){const T=u[m];typeof T=="string"&&!dO.has(T)&&Up(T).values.length&&(v=u[m]),m++}if(v&&d)for(const T of r)u[T]=TE(d,v)}class mO extends RS{constructor(r,d,m,v,T){super(r,d,m,v,T,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:d,name:m}=this;if(!d||!d.current)return;super.readKeyframes();for(let x=0;x<r.length;x++){let z=r[x];if(typeof z=="string"&&(z=z.trim(),uS(z))){const M=mE(z,d.current);M!==void 0&&(r[x]=M),x===r.length-1&&(this.finalKeyframe=z)}}if(this.resolveNoneKeyframes(),!pE.has(m)||r.length!==2)return;const[v,T]=r,b=vE(v),A=vE(T);if(b!==A)if(lE(b)&&lE(A))for(let x=0;x<r.length;x++){const z=r[x];typeof z=="string"&&(r[x]=parseFloat(z))}else qc[m]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:d}=this,m=[];for(let v=0;v<r.length;v++)(r[v]===null||uO(r[v]))&&m.push(v);m.length&&hO(r,m,d)}measureInitialState(){const{element:r,unresolvedKeyframes:d,name:m}=this;if(!r||!r.current)return;m==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=qc[m](r.measureViewportBox(),window.getComputedStyle(r.current)),d[0]=this.measuredOrigin;const v=d[d.length-1];v!==void 0&&r.getValue(m,v).jump(v,!1)}measureEndState(){const{element:r,name:d,unresolvedKeyframes:m}=this;if(!r||!r.current)return;const v=r.getValue(d);v&&v.jump(this.measuredOrigin,!1);const T=m.length-1,b=m[T];m[T]=qc[d](r.measureViewportBox(),window.getComputedStyle(r.current)),b!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=b),this.removedTransforms?.length&&this.removedTransforms.forEach(([A,x])=>{r.getValue(A).set(x)}),this.resolveNoneKeyframes()}}function pO(u,r,d){if(u instanceof EventTarget)return[u];if(typeof u=="string"){let m=document;const v=d?.[u]??m.querySelectorAll(u);return v?Array.from(v):[]}return Array.from(u)}const AE=(u,r)=>r&&typeof u=="number"?r.transform(u):u;function EE(u){return AA(u)&&"offsetHeight"in u}const xE=30,yO=u=>!isNaN(parseFloat(u));class gO{constructor(r,d={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=m=>{const v=gl.now();if(this.updatedAt!==v&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(m),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const T of this.dependents)T.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=d.owner}setCurrent(r){this.current=r,this.updatedAt=gl.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=yO(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return process.env.NODE_ENV!=="production"&&nS(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",r)}on(r,d){this.events[r]||(this.events[r]=new eS);const m=this.events[r].add(d);return r==="change"?()=>{m(),sn.read(()=>{this.events.change.getSize()||this.stop()})}:m}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,d){this.passiveEffect=r,this.stopPassiveEffect=d}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,d,m){this.set(d),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-m}jump(r,d=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,d&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=gl.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>xE)return 0;const d=Math.min(this.updatedAt-this.prevUpdatedAt,xE);return xA(parseFloat(this.current)-parseFloat(this.prevFrameValue),d)}start(r){return this.stop(),new Promise(d=>{this.hasAnimated=!0,this.animation=r(d),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Gd(u,r){return new gO(u,r)}const{schedule:jS}=HA(queueMicrotask,!1),ro={x:!1,y:!1};function DE(){return ro.x||ro.y}function vO(u){return u==="x"||u==="y"?ro[u]?null:(ro[u]=!0,()=>{ro[u]=!1}):ro.x||ro.y?null:(ro.x=ro.y=!0,()=>{ro.x=ro.y=!1})}function CE(u,r){const d=pO(u),m=new AbortController,v={passive:!0,...r,signal:m.signal};return[d,v,()=>m.abort()]}function ME(u){return!(u.pointerType==="touch"||DE())}function bO(u,r,d={}){const[m,v,T]=CE(u,d),b=A=>{if(!ME(A))return;const{target:x}=A,z=r(x,A);if(typeof z!="function"||!x)return;const M=O=>{ME(O)&&(z(O),x.removeEventListener("pointerleave",M))};x.addEventListener("pointerleave",M,v)};return m.forEach(A=>{A.addEventListener("pointerenter",b,v)}),T}const zE=(u,r)=>r?u===r?!0:zE(u,r.parentElement):!1,BS=u=>u.pointerType==="mouse"?typeof u.button!="number"||u.button<=0:u.isPrimary!==!1,SO=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function TO(u){return SO.has(u.tagName)||u.tabIndex!==-1}const tv=new WeakSet;function OE(u){return r=>{r.key==="Enter"&&u(r)}}function VS(u,r){u.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const AO=(u,r)=>{const d=u.currentTarget;if(!d)return;const m=OE(()=>{if(tv.has(d))return;VS(d,"down");const v=OE(()=>{VS(d,"up")}),T=()=>VS(d,"cancel");d.addEventListener("keyup",v,r),d.addEventListener("blur",T,r)});d.addEventListener("keydown",m,r),d.addEventListener("blur",()=>d.removeEventListener("keydown",m),r)};function RE(u){return BS(u)&&!DE()}function EO(u,r,d={}){const[m,v,T]=CE(u,d),b=A=>{const x=A.currentTarget;if(!RE(A))return;tv.add(x);const z=r(x,A),M=(Q,X)=>{window.removeEventListener("pointerup",O),window.removeEventListener("pointercancel",w),tv.has(x)&&tv.delete(x),RE(Q)&&typeof z=="function"&&z(Q,{success:X})},O=Q=>{M(Q,x===window||x===document||d.useGlobalTarget||zE(x,Q.target))},w=Q=>{M(Q,!1)};window.addEventListener("pointerup",O,v),window.addEventListener("pointercancel",w,v)};return m.forEach(A=>{(d.useGlobalTarget?window:A).addEventListener("pointerdown",b,v),EE(A)&&(A.addEventListener("focus",z=>AO(z,v)),!TO(A)&&!A.hasAttribute("tabindex")&&(A.tabIndex=0))}),T}function wE(u){return AA(u)&&"ownerSVGElement"in u}function xO(u){return wE(u)&&u.tagName==="svg"}const Ua=u=>!!(u&&u.getVelocity),DO=[...gE,jn,tr],CO=u=>DO.find(yE(u)),HS=ut.createContext({transformPagePoint:u=>u,isStatic:!1,reducedMotion:"never"});function UE(u,r){if(typeof u=="function")return u(r);u!=null&&(u.current=r)}function MO(...u){return r=>{let d=!1;const m=u.map(v=>{const T=UE(v,r);return!d&&typeof T=="function"&&(d=!0),T});if(d)return()=>{for(let v=0;v<m.length;v++){const T=m[v];typeof T=="function"?T():UE(u[v],null)}}}}function zO(...u){return qe.useCallback(MO(...u),u)}class OO extends qe.Component{getSnapshotBeforeUpdate(r){const d=this.props.childRef.current;if(d&&r.isPresent&&!this.props.isPresent){const m=d.offsetParent,v=EE(m)&&m.offsetWidth||0,T=this.props.sizeRef.current;T.height=d.offsetHeight||0,T.width=d.offsetWidth||0,T.top=d.offsetTop,T.left=d.offsetLeft,T.right=v-T.width-T.left}return null}componentDidUpdate(){}render(){return this.props.children}}function RO({children:u,isPresent:r,anchorX:d,root:m}){const v=ut.useId(),T=ut.useRef(null),b=ut.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:A}=ut.useContext(HS),x=zO(T,u?.ref);return ut.useInsertionEffect(()=>{const{width:z,height:M,top:O,left:w,right:Q}=b.current;if(r||!T.current||!z||!M)return;const X=d==="left"?`left: ${w}`:`right: ${Q}`;T.current.dataset.motionPopId=v;const lt=document.createElement("style");A&&(lt.nonce=A);const ot=m??document.head;return ot.appendChild(lt),lt.sheet&&lt.sheet.insertRule(`
279
+ [data-motion-pop-id="${v}"] {
280
+ position: absolute !important;
281
+ width: ${z}px !important;
282
+ height: ${M}px !important;
283
+ ${X}px !important;
284
+ top: ${O}px !important;
285
+ }
286
+ `),()=>{ot.contains(lt)&&ot.removeChild(lt)}},[r]),$.jsx(OO,{isPresent:r,childRef:T,sizeRef:b,children:qe.cloneElement(u,{ref:x})})}const wO=({children:u,initial:r,isPresent:d,onExitComplete:m,custom:v,presenceAffectsLayout:T,mode:b,anchorX:A,root:x})=>{const z=$1(UO),M=ut.useId();let O=!0,w=ut.useMemo(()=>(O=!1,{id:M,initial:r,isPresent:d,custom:v,onExitComplete:Q=>{z.set(Q,!0);for(const X of z.values())if(!X)return;m&&m()},register:Q=>(z.set(Q,!1),()=>z.delete(Q))}),[d,z,m]);return T&&O&&(w={...w}),ut.useMemo(()=>{z.forEach((Q,X)=>z.set(X,!1))},[d]),qe.useEffect(()=>{!d&&!z.size&&m&&m()},[d]),b==="popLayout"&&(u=$.jsx(RO,{isPresent:d,anchorX:A,root:x,children:u})),$.jsx(J0.Provider,{value:w,children:u})};function UO(){return new Map}function _E(u=!0){const r=ut.useContext(J0);if(r===null)return[!0,null];const{isPresent:d,onExitComplete:m,register:v}=r,T=ut.useId();ut.useEffect(()=>{if(u)return v(T)},[u]);const b=ut.useCallback(()=>u&&m&&m(T),[T,m,u]);return!d&&m?[!1,b]:[!0]}const ev=u=>u.key||"";function NE(u){const r=[];return ut.Children.forEach(u,d=>{ut.isValidElement(d)&&r.push(d)}),r}const _O=({children:u,custom:r,initial:d=!0,onExitComplete:m,presenceAffectsLayout:v=!0,mode:T="sync",propagate:b=!1,anchorX:A="left",root:x})=>{const[z,M]=_E(b),O=ut.useMemo(()=>NE(u),[u]),w=b&&!z?[]:O.map(ev),Q=ut.useRef(!0),X=ut.useRef(O),lt=$1(()=>new Map),[ot,nt]=ut.useState(O),[dt,ht]=ut.useState(O);SA(()=>{Q.current=!1,X.current=O;for(let bt=0;bt<dt.length;bt++){const Dt=ev(dt[bt]);w.includes(Dt)?lt.delete(Dt):lt.get(Dt)!==!0&&lt.set(Dt,!1)}},[dt,w.length,w.join("-")]);const Tt=[];if(O!==ot){let bt=[...O];for(let Dt=0;Dt<dt.length;Dt++){const I=dt[Dt],wt=ev(I);w.includes(wt)||(bt.splice(Dt,0,I),Tt.push(I))}return T==="wait"&&Tt.length&&(bt=Tt),ht(NE(bt)),nt(O),null}process.env.NODE_ENV!=="production"&&T==="wait"&&dt.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:St}=ut.useContext(K1);return $.jsx($.Fragment,{children:dt.map(bt=>{const Dt=ev(bt),I=b&&!z?!1:O===dt||w.includes(Dt),wt=()=>{if(lt.has(Dt))lt.set(Dt,!0);else return;let yt=!0;lt.forEach(Qt=>{Qt||(yt=!1)}),yt&&(St?.(),ht(X.current),b&&M?.(),m&&m())};return $.jsx(wO,{isPresent:I,initial:!Q.current||d?void 0:!1,custom:r,presenceAffectsLayout:v,mode:T,root:x,onExitComplete:I?void 0:wt,anchorX:A,children:bt},Dt)})})},jE=ut.createContext({strict:!1}),BE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xd={};for(const u in BE)Xd[u]={isEnabled:r=>BE[u].some(d=>!!r[d])};function NO(u){for(const r in u)Xd[r]={...Xd[r],...u[r]}}const jO=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nv(u){return u.startsWith("while")||u.startsWith("drag")&&u!=="draggable"||u.startsWith("layout")||u.startsWith("onTap")||u.startsWith("onPan")||u.startsWith("onLayout")||jO.has(u)}let VE=u=>!nv(u);function BO(u){typeof u=="function"&&(VE=r=>r.startsWith("on")?!nv(r):u(r))}try{BO(require("@emotion/is-prop-valid").default)}catch{}function VO(u,r,d){const m={};for(const v in u)v==="values"&&typeof u.values=="object"||(VE(v)||d===!0&&nv(v)||!r&&!nv(v)||u.draggable&&v.startsWith("onDrag"))&&(m[v]=u[v]);return m}const av=ut.createContext({});function lv(u){return u!==null&&typeof u=="object"&&typeof u.start=="function"}function Np(u){return typeof u=="string"||Array.isArray(u)}const LS=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qS=["initial",...LS];function iv(u){return lv(u.animate)||qS.some(r=>Np(u[r]))}function HE(u){return!!(iv(u)||u.variants)}function HO(u,r){if(iv(u)){const{initial:d,animate:m}=u;return{initial:d===!1||Np(d)?d:void 0,animate:Np(m)?m:void 0}}return u.inherit!==!1?r:{}}function LO(u){const{initial:r,animate:d}=HO(u,ut.useContext(av));return ut.useMemo(()=>({initial:r,animate:d}),[LE(r),LE(d)])}function LE(u){return Array.isArray(u)?u.join(" "):u}const jp={};function qO(u){for(const r in u)jp[r]=u[r],oS(r)&&(jp[r].isCSSVariable=!0)}function qE(u,{layout:r,layoutId:d}){return Yd.has(u)||u.startsWith("origin")||(r||d!==void 0)&&(!!jp[u]||u==="opacity")}const YO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},GO=qd.length;function XO(u,r,d){let m="",v=!0;for(let T=0;T<GO;T++){const b=qd[T],A=u[b];if(A===void 0)continue;let x=!0;if(typeof A=="number"?x=A===(b.startsWith("scale")?1:0):x=parseFloat(A)===0,!x||d){const z=AE(A,NS[b]);if(!x){v=!1;const M=YO[b]||b;m+=`${M}(${z}) `}d&&(r[b]=z)}}return m=m.trim(),d?m=d(r,v?"":m):v&&(m="none"),m}function YS(u,r,d){const{style:m,vars:v,transformOrigin:T}=u;let b=!1,A=!1;for(const x in r){const z=r[x];if(Yd.has(x)){b=!0;continue}else if(oS(x)){v[x]=z;continue}else{const M=AE(z,NS[x]);x.startsWith("origin")?(A=!0,T[x]=M):m[x]=M}}if(r.transform||(b||d?m.transform=XO(r,u.transform,d):m.transform&&(m.transform="none")),A){const{originX:x="50%",originY:z="50%",originZ:M=0}=T;m.transformOrigin=`${x} ${z} ${M}`}}const GS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function YE(u,r,d){for(const m in r)!Ua(r[m])&&!qE(m,d)&&(u[m]=r[m])}function QO({transformTemplate:u},r){return ut.useMemo(()=>{const d=GS();return YS(d,r,u),Object.assign({},d.vars,d.style)},[r])}function ZO(u,r){const d=u.style||{},m={};return YE(m,d,u),Object.assign(m,QO(u,r)),m}function kO(u,r){const d={},m=ZO(u,r);return u.drag&&u.dragListener!==!1&&(d.draggable=!1,m.userSelect=m.WebkitUserSelect=m.WebkitTouchCallout="none",m.touchAction=u.drag===!0?"none":`pan-${u.drag==="x"?"y":"x"}`),u.tabIndex===void 0&&(u.onTap||u.onTapStart||u.whileTap)&&(d.tabIndex=0),d.style=m,d}const JO={offset:"stroke-dashoffset",array:"stroke-dasharray"},KO={offset:"strokeDashoffset",array:"strokeDasharray"};function $O(u,r,d=1,m=0,v=!0){u.pathLength=1;const T=v?JO:KO;u[T.offset]=Jt.transform(-m);const b=Jt.transform(r),A=Jt.transform(d);u[T.array]=`${b} ${A}`}function GE(u,{attrX:r,attrY:d,attrScale:m,pathLength:v,pathSpacing:T=1,pathOffset:b=0,...A},x,z,M){if(YS(u,A,z),x){u.style.viewBox&&(u.attrs.viewBox=u.style.viewBox);return}u.attrs=u.style,u.style={};const{attrs:O,style:w}=u;O.transform&&(w.transform=O.transform,delete O.transform),(w.transform||O.transformOrigin)&&(w.transformOrigin=O.transformOrigin??"50% 50%",delete O.transformOrigin),w.transform&&(w.transformBox=M?.transformBox??"fill-box",delete O.transformBox),r!==void 0&&(O.x=r),d!==void 0&&(O.y=d),m!==void 0&&(O.scale=m),v!==void 0&&$O(O,v,T,b,!1)}const XE=()=>({...GS(),attrs:{}}),QE=u=>typeof u=="string"&&u.toLowerCase()==="svg";function FO(u,r,d,m){const v=ut.useMemo(()=>{const T=XE();return GE(T,r,QE(m),u.transformTemplate,u.style),{...T.attrs,style:{...T.style}}},[r]);if(u.style){const T={};YE(T,u.style,u),v.style={...T,...v.style}}return v}const WO=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function XS(u){return typeof u!="string"||u.includes("-")?!1:!!(WO.indexOf(u)>-1||/[A-Z]/u.test(u))}function IO(u,r,d,{latestValues:m},v,T=!1){const A=(XS(u)?FO:kO)(r,m,v,u),x=VO(r,typeof u=="string",T),z=u!==ut.Fragment?{...x,...A,ref:d}:{},{children:M}=r,O=ut.useMemo(()=>Ua(M)?M.get():M,[M]);return ut.createElement(u,{...z,children:O})}function ZE(u){const r=[{},{}];return u?.values.forEach((d,m)=>{r[0][m]=d.get(),r[1][m]=d.getVelocity()}),r}function QS(u,r,d,m){if(typeof r=="function"){const[v,T]=ZE(m);r=r(d!==void 0?d:u.custom,v,T)}if(typeof r=="string"&&(r=u.variants&&u.variants[r]),typeof r=="function"){const[v,T]=ZE(m);r=r(d!==void 0?d:u.custom,v,T)}return r}function ov(u){return Ua(u)?u.get():u}function PO({scrapeMotionValuesFromProps:u,createRenderState:r},d,m,v){return{latestValues:tR(d,m,v,u),renderState:r()}}function tR(u,r,d,m){const v={},T=m(u,{});for(const w in T)v[w]=ov(T[w]);let{initial:b,animate:A}=u;const x=iv(u),z=HE(u);r&&z&&!x&&u.inherit!==!1&&(b===void 0&&(b=r.initial),A===void 0&&(A=r.animate));let M=d?d.initial===!1:!1;M=M||b===!1;const O=M?A:b;if(O&&typeof O!="boolean"&&!lv(O)){const w=Array.isArray(O)?O:[O];for(let Q=0;Q<w.length;Q++){const X=QS(u,w[Q]);if(X){const{transitionEnd:lt,transition:ot,...nt}=X;for(const dt in nt){let ht=nt[dt];if(Array.isArray(ht)){const Tt=M?ht.length-1:0;ht=ht[Tt]}ht!==null&&(v[dt]=ht)}for(const dt in lt)v[dt]=lt[dt]}}}return v}const kE=u=>(r,d)=>{const m=ut.useContext(av),v=ut.useContext(J0),T=()=>PO(u,r,m,v);return d?T():$1(T)};function ZS(u,r,d){const{style:m}=u,v={};for(const T in m)(Ua(m[T])||r.style&&Ua(r.style[T])||qE(T,u)||d?.getValue(T)?.liveStyle!==void 0)&&(v[T]=m[T]);return v}const eR=kE({scrapeMotionValuesFromProps:ZS,createRenderState:GS});function JE(u,r,d){const m=ZS(u,r,d);for(const v in u)if(Ua(u[v])||Ua(r[v])){const T=qd.indexOf(v)!==-1?"attr"+v.charAt(0).toUpperCase()+v.substring(1):v;m[T]=u[v]}return m}const nR=kE({scrapeMotionValuesFromProps:JE,createRenderState:XE}),aR=Symbol.for("motionComponentSymbol");function Qd(u){return u&&typeof u=="object"&&Object.prototype.hasOwnProperty.call(u,"current")}function lR(u,r,d){return ut.useCallback(m=>{m&&u.onMount&&u.onMount(m),r&&(m?r.mount(m):r.unmount()),d&&(typeof d=="function"?d(m):Qd(d)&&(d.current=m))},[r])}const kS=u=>u.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),KE="data-"+kS("framerAppearId"),$E=ut.createContext({});function iR(u,r,d,m,v){const{visualElement:T}=ut.useContext(av),b=ut.useContext(jE),A=ut.useContext(J0),x=ut.useContext(HS).reducedMotion,z=ut.useRef(null);m=m||b.renderer,!z.current&&m&&(z.current=m(u,{visualState:r,parent:T,props:d,presenceContext:A,blockInitialAnimation:A?A.initial===!1:!1,reducedMotionConfig:x}));const M=z.current,O=ut.useContext($E);M&&!M.projection&&v&&(M.type==="html"||M.type==="svg")&&oR(z.current,d,v,O);const w=ut.useRef(!1);ut.useInsertionEffect(()=>{M&&w.current&&M.update(d,A)});const Q=d[KE],X=ut.useRef(!!Q&&!window.MotionHandoffIsComplete?.(Q)&&window.MotionHasOptimisedAnimation?.(Q));return SA(()=>{M&&(w.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),M.scheduleRenderMicrotask(),X.current&&M.animationState&&M.animationState.animateChanges())}),ut.useEffect(()=>{M&&(!X.current&&M.animationState&&M.animationState.animateChanges(),X.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(Q)}),X.current=!1),M.enteringChildren=void 0)}),M}function oR(u,r,d,m){const{layoutId:v,layout:T,drag:b,dragConstraints:A,layoutScroll:x,layoutRoot:z,layoutCrossfade:M}=r;u.projection=new d(u.latestValues,r["data-framer-portal-id"]?void 0:FE(u.parent)),u.projection.setOptions({layoutId:v,layout:T,alwaysMeasureLayout:!!b||A&&Qd(A),visualElement:u,animationType:typeof T=="string"?T:"both",initialPromotionConfig:m,crossfade:M,layoutScroll:x,layoutRoot:z})}function FE(u){if(u)return u.options.allowProjection!==!1?u.projection:FE(u.parent)}function JS(u,{forwardMotionProps:r=!1}={},d,m){d&&NO(d);const v=XS(u)?nR:eR;function T(A,x){let z;const M={...ut.useContext(HS),...A,layoutId:uR(A)},{isStatic:O}=M,w=LO(A),Q=v(A,O);if(!O&&F1){sR(M,d);const X=rR(M);z=X.MeasureLayout,w.visualElement=iR(u,Q,M,m,X.ProjectionNode)}return $.jsxs(av.Provider,{value:w,children:[z&&w.visualElement?$.jsx(z,{visualElement:w.visualElement,...M}):null,IO(u,A,lR(Q,w.visualElement,x),Q,O,r)]})}T.displayName=`motion.${typeof u=="string"?u:`create(${u.displayName??u.name??""})`}`;const b=ut.forwardRef(T);return b[aR]=u,b}function uR({layoutId:u}){const r=ut.useContext(K1).id;return r&&u!==void 0?r+"-"+u:u}function sR(u,r){const d=ut.useContext(jE).strict;if(process.env.NODE_ENV!=="production"&&r&&d){const m="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";u.ignoreStrict?Bd(!1,m,"lazy-strict-mode"):ju(!1,m,"lazy-strict-mode")}}function rR(u){const{drag:r,layout:d}=Xd;if(!r&&!d)return{};const m={...r,...d};return{MeasureLayout:r?.isEnabled(u)||d?.isEnabled(u)?m.MeasureLayout:void 0,ProjectionNode:m.ProjectionNode}}function cR(u,r){if(typeof Proxy>"u")return JS;const d=new Map,m=(T,b)=>JS(T,b,u,r),v=(T,b)=>(process.env.NODE_ENV!=="production"&&nS(!1,"motion() is deprecated. Use motion.create() instead."),m(T,b));return new Proxy(v,{get:(T,b)=>b==="create"?m:(d.has(b)||d.set(b,JS(b,void 0,u,r)),d.get(b))})}function WE({top:u,left:r,right:d,bottom:m}){return{x:{min:r,max:d},y:{min:u,max:m}}}function fR({x:u,y:r}){return{top:r.min,right:u.max,bottom:r.max,left:u.min}}function dR(u,r){if(!r)return u;const d=r({x:u.left,y:u.top}),m=r({x:u.right,y:u.bottom});return{top:d.y,left:d.x,bottom:m.y,right:m.x}}function KS(u){return u===void 0||u===1}function $S({scale:u,scaleX:r,scaleY:d}){return!KS(u)||!KS(r)||!KS(d)}function Gc(u){return $S(u)||IE(u)||u.z||u.rotate||u.rotateX||u.rotateY||u.skewX||u.skewY}function IE(u){return PE(u.x)||PE(u.y)}function PE(u){return u&&u!=="0%"}function uv(u,r,d){const m=u-d,v=r*m;return d+v}function tx(u,r,d,m,v){return v!==void 0&&(u=uv(u,v,m)),uv(u,d,m)+r}function FS(u,r=0,d=1,m,v){u.min=tx(u.min,r,d,m,v),u.max=tx(u.max,r,d,m,v)}function ex(u,{x:r,y:d}){FS(u.x,r.translate,r.scale,r.originPoint),FS(u.y,d.translate,d.scale,d.originPoint)}const nx=.999999999999,ax=1.0000000000001;function hR(u,r,d,m=!1){const v=d.length;if(!v)return;r.x=r.y=1;let T,b;for(let A=0;A<v;A++){T=d[A],b=T.projectionDelta;const{visualElement:x}=T.options;x&&x.props.style&&x.props.style.display==="contents"||(m&&T.options.layoutScroll&&T.scroll&&T!==T.root&&kd(u,{x:-T.scroll.offset.x,y:-T.scroll.offset.y}),b&&(r.x*=b.x.scale,r.y*=b.y.scale,ex(u,b)),m&&Gc(T.latestValues)&&kd(u,T.latestValues))}r.x<ax&&r.x>nx&&(r.x=1),r.y<ax&&r.y>nx&&(r.y=1)}function Zd(u,r){u.min=u.min+r,u.max=u.max+r}function lx(u,r,d,m,v=.5){const T=mn(u.min,u.max,v);FS(u,r,d,T,m)}function kd(u,r){lx(u.x,r.x,r.scaleX,r.scale,r.originX),lx(u.y,r.y,r.scaleY,r.scale,r.originY)}function ix(u,r){return WE(dR(u.getBoundingClientRect(),r))}function mR(u,r,d){const m=ix(u,d),{scroll:v}=r;return v&&(Zd(m.x,v.offset.x),Zd(m.y,v.offset.y)),m}const ox=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jd=()=>({x:ox(),y:ox()}),ux=()=>({min:0,max:0}),Mn=()=>({x:ux(),y:ux()}),WS={current:null},sx={current:!1};function pR(){if(sx.current=!0,!!F1)if(window.matchMedia){const u=window.matchMedia("(prefers-reduced-motion)"),r=()=>WS.current=u.matches;u.addEventListener("change",r),r()}else WS.current=!1}const yR=new WeakMap;function gR(u,r,d){for(const m in r){const v=r[m],T=d[m];if(Ua(v))u.addValue(m,v);else if(Ua(T))u.addValue(m,Gd(v,{owner:u}));else if(T!==v)if(u.hasValue(m)){const b=u.getValue(m);b.liveStyle===!0?b.jump(v):b.hasAnimated||b.set(v)}else{const b=u.getStaticValue(m);u.addValue(m,Gd(b!==void 0?b:v,{owner:u}))}}for(const m in d)r[m]===void 0&&u.removeValue(m);return r}const rx=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class vR{scrapeMotionValuesFromProps(r,d,m){return{}}constructor({parent:r,props:d,presenceContext:m,reducedMotionConfig:v,blockInitialAnimation:T,visualState:b},A={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=RS,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=gl.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,sn.render(this.render,!1,!0))};const{latestValues:x,renderState:z}=b;this.latestValues=x,this.baseTarget={...x},this.initialValues=d.initial?{...x}:{},this.renderState=z,this.parent=r,this.props=d,this.presenceContext=m,this.depth=r?r.depth+1:0,this.reducedMotionConfig=v,this.options=A,this.blockInitialAnimation=!!T,this.isControllingVariants=iv(d),this.isVariantNode=HE(d),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:M,...O}=this.scrapeMotionValuesFromProps(d,{},this);for(const w in O){const Q=O[w];x[w]!==void 0&&Ua(Q)&&Q.set(x[w])}}mount(r){this.current=r,yR.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((d,m)=>this.bindToMotionValue(m,d)),sx.current||pR(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:WS.current,process.env.NODE_ENV!=="production"&&nS(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Is(this.notifyUpdate),Is(this.render),this.valueSubscriptions.forEach(r=>r()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const r in this.events)this.events[r].clear();for(const r in this.features){const d=this.features[r];d&&(d.unmount(),d.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,d){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const m=Yd.has(r);m&&this.onBindTransform&&this.onBindTransform();const v=d.on("change",b=>{this.latestValues[r]=b,this.props.onUpdate&&sn.preRender(this.notifyUpdate),m&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let T;window.MotionCheckAppearSync&&(T=window.MotionCheckAppearSync(this,r,d)),this.valueSubscriptions.set(r,()=>{v(),T&&T(),d.owner&&d.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in Xd){const d=Xd[r];if(!d)continue;const{isEnabled:m,Feature:v}=d;if(!this.features[r]&&v&&m(this.props)&&(this.features[r]=new v(this)),this.features[r]){const T=this.features[r];T.isMounted?T.update():(T.mount(),T.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Mn()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,d){this.latestValues[r]=d}update(r,d){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=d;for(let m=0;m<rx.length;m++){const v=rx[m];this.propEventSubscriptions[v]&&(this.propEventSubscriptions[v](),delete this.propEventSubscriptions[v]);const T="on"+v,b=r[T];b&&(this.propEventSubscriptions[v]=this.on(v,b))}this.prevMotionValues=gR(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const d=this.getClosestVariantNode();if(d)return d.variantChildren&&d.variantChildren.add(r),()=>d.variantChildren.delete(r)}addValue(r,d){const m=this.values.get(r);d!==m&&(m&&this.removeValue(r),this.bindToMotionValue(r,d),this.values.set(r,d),this.latestValues[r]=d.get())}removeValue(r){this.values.delete(r);const d=this.valueSubscriptions.get(r);d&&(d(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,d){if(this.props.values&&this.props.values[r])return this.props.values[r];let m=this.values.get(r);return m===void 0&&d!==void 0&&(m=Gd(d===null?void 0:d,{owner:this}),this.addValue(r,m)),m}readValue(r,d){let m=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return m!=null&&(typeof m=="string"&&(TA(m)||EA(m))?m=parseFloat(m):!CO(m)&&tr.test(d)&&(m=TE(r,d)),this.setBaseTarget(r,Ua(m)?m.get():m)),Ua(m)?m.get():m}setBaseTarget(r,d){this.baseTarget[r]=d}getBaseTarget(r){const{initial:d}=this.props;let m;if(typeof d=="string"||typeof d=="object"){const T=QS(this.props,d,this.presenceContext?.custom);T&&(m=T[r])}if(d&&m!==void 0)return m;const v=this.getBaseTargetFromProps(this.props,r);return v!==void 0&&!Ua(v)?v:this.initialValues[r]!==void 0&&m===void 0?void 0:this.baseTarget[r]}on(r,d){return this.events[r]||(this.events[r]=new eS),this.events[r].add(d)}notify(r,...d){this.events[r]&&this.events[r].notify(...d)}scheduleRenderMicrotask(){jS.render(this.render)}}class cx extends vR{constructor(){super(...arguments),this.KeyframeResolver=mO}sortInstanceNodePosition(r,d){return r.compareDocumentPosition(d)&2?1:-1}getBaseTargetFromProps(r,d){return r.style?r.style[d]:void 0}removeValueFromRenderState(r,{vars:d,style:m}){delete d[r],delete m[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;Ua(r)&&(this.childSubscription=r.on("change",d=>{this.current&&(this.current.textContent=`${d}`)}))}}function fx(u,{style:r,vars:d},m,v){const T=u.style;let b;for(b in r)T[b]=r[b];v?.applyProjectionStyles(T,m);for(b in d)T.setProperty(b,d[b])}function bR(u){return window.getComputedStyle(u)}class SR extends cx{constructor(){super(...arguments),this.type="html",this.renderInstance=fx}readValueFromInstance(r,d){if(Yd.has(d))return this.projection?.isProjecting?DS(d):_z(r,d);{const m=bR(r),v=(oS(d)?m.getPropertyValue(d):m[d])||0;return typeof v=="string"?v.trim():v}}measureInstanceViewportBox(r,{transformPagePoint:d}){return ix(r,d)}build(r,d,m){YS(r,d,m.transformTemplate)}scrapeMotionValuesFromProps(r,d,m){return ZS(r,d,m)}}const dx=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function TR(u,r,d,m){fx(u,r,void 0,m);for(const v in r.attrs)u.setAttribute(dx.has(v)?v:kS(v),r.attrs[v])}class AR extends cx{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Mn}getBaseTargetFromProps(r,d){return r[d]}readValueFromInstance(r,d){if(Yd.has(d)){const m=SE(d);return m&&m.default||0}return d=dx.has(d)?d:kS(d),r.getAttribute(d)}scrapeMotionValuesFromProps(r,d,m){return JE(r,d,m)}build(r,d,m){GE(r,d,this.isSVGTag,m.transformTemplate,m.style)}renderInstance(r,d,m,v){TR(r,d,m,v)}mount(r){this.isSVGTag=QE(r.tagName),super.mount(r)}}const ER=(u,r)=>XS(u)?new AR(r):new SR(r,{allowProjection:u!==ut.Fragment});function Kd(u,r,d){const m=u.getProps();return QS(m,r,d!==void 0?d:m.custom,u)}const IS=u=>Array.isArray(u);function xR(u,r,d){u.hasValue(r)?u.getValue(r).set(d):u.addValue(r,Gd(d))}function DR(u){return IS(u)?u[u.length-1]||0:u}function CR(u,r){const d=Kd(u,r);let{transitionEnd:m={},transition:v={},...T}=d||{};T={...T,...m};for(const b in T){const A=DR(T[b]);xR(u,b,A)}}function MR(u){return!!(Ua(u)&&u.add)}function PS(u,r){const d=u.getValue("willChange");if(MR(d))return d.add(r);if(!d&&Bu.WillChange){const m=new Bu.WillChange("auto");u.addValue("willChange",m),m.add(r)}}function hx(u){return u.props[KE]}const zR=u=>u!==null;function OR(u,{repeat:r,repeatType:d="loop"},m){const v=u.filter(zR),T=r&&d!=="loop"&&r%2===1?0:v.length-1;return v[T]}const RR={type:"spring",stiffness:500,damping:25,restSpeed:10},wR=u=>({type:"spring",stiffness:550,damping:u===0?2*Math.sqrt(550):30,restSpeed:10}),UR={type:"keyframes",duration:.8},_R={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},NR=(u,{keyframes:r})=>r.length>2?UR:Yd.has(u)?u.startsWith("scale")?wR(r[1]):RR:_R;function jR({when:u,delay:r,delayChildren:d,staggerChildren:m,staggerDirection:v,repeat:T,repeatType:b,repeatDelay:A,from:x,elapsed:z,...M}){return!!Object.keys(M).length}const tT=(u,r,d,m={},v,T)=>b=>{const A=US(m,u)||{},x=A.delay||m.delay||0;let{elapsed:z=0}=m;z=z-so(x);const M={keyframes:Array.isArray(d)?d:[null,d],ease:"easeOut",velocity:r.getVelocity(),...A,delay:-z,onUpdate:w=>{r.set(w),A.onUpdate&&A.onUpdate(w)},onComplete:()=>{b(),A.onComplete&&A.onComplete()},name:u,motionValue:r,element:T?void 0:v};jR(A)||Object.assign(M,NR(u,M)),M.duration&&(M.duration=so(M.duration)),M.repeatDelay&&(M.repeatDelay=so(M.repeatDelay)),M.from!==void 0&&(M.keyframes[0]=M.from);let O=!1;if((M.type===!1||M.duration===0&&!M.repeatDelay)&&(wS(M),M.delay===0&&(O=!0)),(Bu.instantAnimations||Bu.skipAnimations)&&(O=!0,wS(M),M.delay=0),M.allowFlatten=!A.type&&!A.ease,O&&!T&&r.get()!==void 0){const w=OR(M.keyframes,A);if(w!==void 0){sn.update(()=>{M.onUpdate(w),M.onComplete()});return}}return A.isSync?new AS(M):new nO(M)};function BR({protectedKeys:u,needsAnimating:r},d){const m=u.hasOwnProperty(d)&&r[d]!==!0;return r[d]=!1,m}function mx(u,r,{delay:d=0,transitionOverride:m,type:v}={}){let{transition:T=u.getDefaultTransition(),transitionEnd:b,...A}=r;m&&(T=m);const x=[],z=v&&u.animationState&&u.animationState.getState()[v];for(const M in A){const O=u.getValue(M,u.latestValues[M]??null),w=A[M];if(w===void 0||z&&BR(z,M))continue;const Q={delay:d,...US(T||{},M)},X=O.get();if(X!==void 0&&!O.isAnimating&&!Array.isArray(w)&&w===X&&!Q.velocity)continue;let lt=!1;if(window.MotionHandoffAnimation){const nt=hx(u);if(nt){const dt=window.MotionHandoffAnimation(nt,M,sn);dt!==null&&(Q.startTime=dt,lt=!0)}}PS(u,M),O.start(tT(M,O,w,u.shouldReduceMotion&&pE.has(M)?{type:!1}:Q,u,lt));const ot=O.animation;ot&&x.push(ot)}return b&&Promise.all(x).then(()=>{sn.update(()=>{b&&CR(u,b)})}),x}function px(u,r,d,m=0,v=1){const T=Array.from(u).sort((z,M)=>z.sortNodePosition(M)).indexOf(r),b=u.size,A=(b-1)*m;return typeof d=="function"?d(T,b):v===1?T*m:A-T*m}function eT(u,r,d={}){const m=Kd(u,r,d.type==="exit"?u.presenceContext?.custom:void 0);let{transition:v=u.getDefaultTransition()||{}}=m||{};d.transitionOverride&&(v=d.transitionOverride);const T=m?()=>Promise.all(mx(u,m,d)):()=>Promise.resolve(),b=u.variantChildren&&u.variantChildren.size?(x=0)=>{const{delayChildren:z=0,staggerChildren:M,staggerDirection:O}=v;return VR(u,r,x,z,M,O,d)}:()=>Promise.resolve(),{when:A}=v;if(A){const[x,z]=A==="beforeChildren"?[T,b]:[b,T];return x().then(()=>z())}else return Promise.all([T(),b(d.delay)])}function VR(u,r,d=0,m=0,v=0,T=1,b){const A=[];for(const x of u.variantChildren)x.notify("AnimationStart",r),A.push(eT(x,r,{...b,delay:d+(typeof m=="function"?0:m)+px(u.variantChildren,x,m,v,T)}).then(()=>x.notify("AnimationComplete",r)));return Promise.all(A)}function HR(u,r,d={}){u.notify("AnimationStart",r);let m;if(Array.isArray(r)){const v=r.map(T=>eT(u,T,d));m=Promise.all(v)}else if(typeof r=="string")m=eT(u,r,d);else{const v=typeof r=="function"?Kd(u,r,d.custom):r;m=Promise.all(mx(u,v,d))}return m.then(()=>{u.notify("AnimationComplete",r)})}function yx(u,r){if(!Array.isArray(r))return!1;const d=r.length;if(d!==u.length)return!1;for(let m=0;m<d;m++)if(r[m]!==u[m])return!1;return!0}const LR=qS.length;function gx(u){if(!u)return;if(!u.isControllingVariants){const d=u.parent?gx(u.parent)||{}:{};return u.props.initial!==void 0&&(d.initial=u.props.initial),d}const r={};for(let d=0;d<LR;d++){const m=qS[d],v=u.props[m];(Np(v)||v===!1)&&(r[m]=v)}return r}const qR=[...LS].reverse(),YR=LS.length;function GR(u){return r=>Promise.all(r.map(({animation:d,options:m})=>HR(u,d,m)))}function XR(u){let r=GR(u),d=vx(),m=!0;const v=x=>(z,M)=>{const O=Kd(u,M,x==="exit"?u.presenceContext?.custom:void 0);if(O){const{transition:w,transitionEnd:Q,...X}=O;z={...z,...X,...Q}}return z};function T(x){r=x(u)}function b(x){const{props:z}=u,M=gx(u.parent)||{},O=[],w=new Set;let Q={},X=1/0;for(let ot=0;ot<YR;ot++){const nt=qR[ot],dt=d[nt],ht=z[nt]!==void 0?z[nt]:M[nt],Tt=Np(ht),St=nt===x?dt.isActive:null;St===!1&&(X=ot);let bt=ht===M[nt]&&ht!==z[nt]&&Tt;if(bt&&m&&u.manuallyAnimateOnMount&&(bt=!1),dt.protectedKeys={...Q},!dt.isActive&&St===null||!ht&&!dt.prevProp||lv(ht)||typeof ht=="boolean")continue;const Dt=QR(dt.prevProp,ht);let I=Dt||nt===x&&dt.isActive&&!bt&&Tt||ot>X&&Tt,wt=!1;const yt=Array.isArray(ht)?ht:[ht];let Qt=yt.reduce(v(nt),{});St===!1&&(Qt={});const{prevResolvedValues:Bt={}}=dt,Vt={...Bt,...Qt},Lt=F=>{I=!0,w.has(F)&&(wt=!0,w.delete(F)),dt.needsAnimating[F]=!0;const k=u.getValue(F);k&&(k.liveStyle=!1)};for(const F in Vt){const k=Qt[F],gt=Bt[F];if(Q.hasOwnProperty(F))continue;let Mt=!1;IS(k)&&IS(gt)?Mt=!yx(k,gt):Mt=k!==gt,Mt?k!=null?Lt(F):w.add(F):k!==void 0&&w.has(F)?Lt(F):dt.protectedKeys[F]=!0}dt.prevProp=ht,dt.prevResolvedValues=Qt,dt.isActive&&(Q={...Q,...Qt}),m&&u.blockInitialAnimation&&(I=!1);const Gt=bt&&Dt;I&&(!Gt||wt)&&O.push(...yt.map(F=>{const k={type:nt};if(typeof F=="string"&&m&&!Gt&&u.manuallyAnimateOnMount&&u.parent){const{parent:gt}=u,Mt=Kd(gt,F);if(gt.enteringChildren&&Mt){const{delayChildren:Y}=Mt.transition||{};k.delay=px(gt.enteringChildren,u,Y)}}return{animation:F,options:k}}))}if(w.size){const ot={};if(typeof z.initial!="boolean"){const nt=Kd(u,Array.isArray(z.initial)?z.initial[0]:z.initial);nt&&nt.transition&&(ot.transition=nt.transition)}w.forEach(nt=>{const dt=u.getBaseTarget(nt),ht=u.getValue(nt);ht&&(ht.liveStyle=!0),ot[nt]=dt??null}),O.push({animation:ot})}let lt=!!O.length;return m&&(z.initial===!1||z.initial===z.animate)&&!u.manuallyAnimateOnMount&&(lt=!1),m=!1,lt?r(O):Promise.resolve()}function A(x,z){if(d[x].isActive===z)return Promise.resolve();u.variantChildren?.forEach(O=>O.animationState?.setActive(x,z)),d[x].isActive=z;const M=b(x);for(const O in d)d[O].protectedKeys={};return M}return{animateChanges:b,setActive:A,setAnimateFunction:T,getState:()=>d,reset:()=>{d=vx()}}}function QR(u,r){return typeof r=="string"?r!==u:Array.isArray(r)?!yx(r,u):!1}function Xc(u=!1){return{isActive:u,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function vx(){return{animate:Xc(!0),whileInView:Xc(),whileHover:Xc(),whileTap:Xc(),whileDrag:Xc(),whileFocus:Xc(),exit:Xc()}}class er{constructor(r){this.isMounted=!1,this.node=r}update(){}}class ZR extends er{constructor(r){super(r),r.animationState||(r.animationState=XR(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();lv(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:d}=this.node.prevProps||{};r!==d&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let kR=0;class JR extends er{constructor(){super(...arguments),this.id=kR++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:d}=this.node.presenceContext,{isPresent:m}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===m)return;const v=this.node.animationState.setActive("exit",!r);d&&!r&&v.then(()=>{d(this.id)})}mount(){const{register:r,onExitComplete:d}=this.node.presenceContext||{};d&&d(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const KR={animation:{Feature:ZR},exit:{Feature:JR}};function Bp(u,r,d,m={passive:!0}){return u.addEventListener(r,d,m),()=>u.removeEventListener(r,d)}function Vp(u){return{point:{x:u.pageX,y:u.pageY}}}const $R=u=>r=>BS(r)&&u(r,Vp(r));function Hp(u,r,d,m){return Bp(u,r,$R(d),m)}const bx=1e-4,FR=1-bx,WR=1+bx,Sx=.01,IR=0-Sx,PR=0+Sx;function Za(u){return u.max-u.min}function tw(u,r,d){return Math.abs(u-r)<=d}function Tx(u,r,d,m=.5){u.origin=m,u.originPoint=mn(r.min,r.max,u.origin),u.scale=Za(d)/Za(r),u.translate=mn(d.min,d.max,u.origin)-u.originPoint,(u.scale>=FR&&u.scale<=WR||isNaN(u.scale))&&(u.scale=1),(u.translate>=IR&&u.translate<=PR||isNaN(u.translate))&&(u.translate=0)}function Lp(u,r,d,m){Tx(u.x,r.x,d.x,m?m.originX:void 0),Tx(u.y,r.y,d.y,m?m.originY:void 0)}function Ax(u,r,d){u.min=d.min+r.min,u.max=u.min+Za(r)}function ew(u,r,d){Ax(u.x,r.x,d.x),Ax(u.y,r.y,d.y)}function Ex(u,r,d){u.min=r.min-d.min,u.max=u.min+Za(r)}function qp(u,r,d){Ex(u.x,r.x,d.x),Ex(u.y,r.y,d.y)}function pi(u){return[u("x"),u("y")]}const xx=({current:u})=>u?u.ownerDocument.defaultView:null,Dx=(u,r)=>Math.abs(u-r);function nw(u,r){const d=Dx(u.x,r.x),m=Dx(u.y,r.y);return Math.sqrt(d**2+m**2)}class Cx{constructor(r,d,{transformPagePoint:m,contextWindow:v=window,dragSnapToOrigin:T=!1,distanceThreshold:b=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=aT(this.lastMoveEventInfo,this.history),Q=this.startEvent!==null,X=nw(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!Q&&!X)return;const{point:lt}=w,{timestamp:ot}=ha;this.history.push({...lt,timestamp:ot});const{onStart:nt,onMove:dt}=this.handlers;Q||(nt&&nt(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent),dt&&dt(this.lastMoveEvent,w)},this.handlePointerMove=(w,Q)=>{this.lastMoveEvent=w,this.lastMoveEventInfo=nT(Q,this.transformPagePoint),sn.update(this.updatePoint,!0)},this.handlePointerUp=(w,Q)=>{this.end();const{onEnd:X,onSessionEnd:lt,resumeAnimation:ot}=this.handlers;if(this.dragSnapToOrigin&&ot&&ot(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const nt=aT(w.type==="pointercancel"?this.lastMoveEventInfo:nT(Q,this.transformPagePoint),this.history);this.startEvent&&X&&X(w,nt),lt&&lt(w,nt)},!BS(r))return;this.dragSnapToOrigin=T,this.handlers=d,this.transformPagePoint=m,this.distanceThreshold=b,this.contextWindow=v||window;const A=Vp(r),x=nT(A,this.transformPagePoint),{point:z}=x,{timestamp:M}=ha;this.history=[{...z,timestamp:M}];const{onSessionStart:O}=d;O&&O(r,aT(x,this.history)),this.removeListeners=Cp(Hp(this.contextWindow,"pointermove",this.handlePointerMove),Hp(this.contextWindow,"pointerup",this.handlePointerUp),Hp(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),Is(this.updatePoint)}}function nT(u,r){return r?{point:r(u.point)}:u}function Mx(u,r){return{x:u.x-r.x,y:u.y-r.y}}function aT({point:u},r){return{point:u,delta:Mx(u,zx(r)),offset:Mx(u,aw(r)),velocity:lw(r,.1)}}function aw(u){return u[0]}function zx(u){return u[u.length-1]}function lw(u,r){if(u.length<2)return{x:0,y:0};let d=u.length-1,m=null;const v=zx(u);for(;d>=0&&(m=u[d],!(v.timestamp-m.timestamp>so(r)));)d--;if(!m)return{x:0,y:0};const T=mi(v.timestamp-m.timestamp);if(T===0)return{x:0,y:0};const b={x:(v.x-m.x)/T,y:(v.y-m.y)/T};return b.x===1/0&&(b.x=0),b.y===1/0&&(b.y=0),b}function iw(u,{min:r,max:d},m){return r!==void 0&&u<r?u=m?mn(r,u,m.min):Math.max(u,r):d!==void 0&&u>d&&(u=m?mn(d,u,m.max):Math.min(u,d)),u}function Ox(u,r,d){return{min:r!==void 0?u.min+r:void 0,max:d!==void 0?u.max+d-(u.max-u.min):void 0}}function ow(u,{top:r,left:d,bottom:m,right:v}){return{x:Ox(u.x,d,v),y:Ox(u.y,r,m)}}function Rx(u,r){let d=r.min-u.min,m=r.max-u.max;return r.max-r.min<u.max-u.min&&([d,m]=[m,d]),{min:d,max:m}}function uw(u,r){return{x:Rx(u.x,r.x),y:Rx(u.y,r.y)}}function sw(u,r){let d=.5;const m=Za(u),v=Za(r);return v>m?d=Mp(r.min,r.max-m,u.min):m>v&&(d=Mp(u.min,u.max-v,r.min)),Nu(0,1,d)}function rw(u,r){const d={};return r.min!==void 0&&(d.min=r.min-u.min),r.max!==void 0&&(d.max=r.max-u.min),d}const lT=.35;function cw(u=lT){return u===!1?u=0:u===!0&&(u=lT),{x:wx(u,"left","right"),y:wx(u,"top","bottom")}}function wx(u,r,d){return{min:Ux(u,r),max:Ux(u,d)}}function Ux(u,r){return typeof u=="number"?u:u[r]||0}const fw=new WeakMap;class dw{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Mn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:d=!1,distanceThreshold:m}={}){const{presenceContext:v}=this.visualElement;if(v&&v.isPresent===!1)return;const T=O=>{const{dragSnapToOrigin:w}=this.getProps();w?this.pauseAnimation():this.stopAnimation(),d&&this.snapToCursor(Vp(O).point)},b=(O,w)=>{const{drag:Q,dragPropagation:X,onDragStart:lt}=this.getProps();if(Q&&!X&&(this.openDragLock&&this.openDragLock(),this.openDragLock=vO(Q),!this.openDragLock))return;this.latestPointerEvent=O,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),pi(nt=>{let dt=this.getAxisMotionValue(nt).get()||0;if(Go.test(dt)){const{projection:ht}=this.visualElement;if(ht&&ht.layout){const Tt=ht.layout.layoutBox[nt];Tt&&(dt=Za(Tt)*(parseFloat(dt)/100))}}this.originPoint[nt]=dt}),lt&&sn.postRender(()=>lt(O,w)),PS(this.visualElement,"transform");const{animationState:ot}=this.visualElement;ot&&ot.setActive("whileDrag",!0)},A=(O,w)=>{this.latestPointerEvent=O,this.latestPanInfo=w;const{dragPropagation:Q,dragDirectionLock:X,onDirectionLock:lt,onDrag:ot}=this.getProps();if(!Q&&!this.openDragLock)return;const{offset:nt}=w;if(X&&this.currentDirection===null){this.currentDirection=hw(nt),this.currentDirection!==null&&lt&&lt(this.currentDirection);return}this.updateAxis("x",w.point,nt),this.updateAxis("y",w.point,nt),this.visualElement.render(),ot&&ot(O,w)},x=(O,w)=>{this.latestPointerEvent=O,this.latestPanInfo=w,this.stop(O,w),this.latestPointerEvent=null,this.latestPanInfo=null},z=()=>pi(O=>this.getAnimationState(O)==="paused"&&this.getAxisMotionValue(O).animation?.play()),{dragSnapToOrigin:M}=this.getProps();this.panSession=new Cx(r,{onSessionStart:T,onStart:b,onMove:A,onSessionEnd:x,resumeAnimation:z},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:M,distanceThreshold:m,contextWindow:xx(this.visualElement)})}stop(r,d){const m=r||this.latestPointerEvent,v=d||this.latestPanInfo,T=this.isDragging;if(this.cancel(),!T||!v||!m)return;const{velocity:b}=v;this.startAnimation(b);const{onDragEnd:A}=this.getProps();A&&sn.postRender(()=>A(m,v))}cancel(){this.isDragging=!1;const{projection:r,animationState:d}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:m}=this.getProps();!m&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),d&&d.setActive("whileDrag",!1)}updateAxis(r,d,m){const{drag:v}=this.getProps();if(!m||!sv(r,v,this.currentDirection))return;const T=this.getAxisMotionValue(r);let b=this.originPoint[r]+m[r];this.constraints&&this.constraints[r]&&(b=iw(b,this.constraints[r],this.elastic[r])),T.set(b)}resolveConstraints(){const{dragConstraints:r,dragElastic:d}=this.getProps(),m=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,v=this.constraints;r&&Qd(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&m?this.constraints=ow(m.layoutBox,r):this.constraints=!1,this.elastic=cw(d),v!==this.constraints&&m&&this.constraints&&!this.hasMutatedConstraints&&pi(T=>{this.constraints!==!1&&this.getAxisMotionValue(T)&&(this.constraints[T]=rw(m.layoutBox[T],this.constraints[T]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:d}=this.getProps();if(!r||!Qd(r))return!1;const m=r.current;ju(m!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:v}=this.visualElement;if(!v||!v.layout)return!1;const T=mR(m,v.root,this.visualElement.getTransformPagePoint());let b=uw(v.layout.layoutBox,T);if(d){const A=d(fR(b));this.hasMutatedConstraints=!!A,A&&(b=WE(A))}return b}startAnimation(r){const{drag:d,dragMomentum:m,dragElastic:v,dragTransition:T,dragSnapToOrigin:b,onDragTransitionEnd:A}=this.getProps(),x=this.constraints||{},z=pi(M=>{if(!sv(M,d,this.currentDirection))return;let O=x&&x[M]||{};b&&(O={min:0,max:0});const w=v?200:1e6,Q=v?40:1e7,X={type:"inertia",velocity:m?r[M]:0,bounceStiffness:w,bounceDamping:Q,timeConstant:750,restDelta:1,restSpeed:10,...T,...O};return this.startAxisValueAnimation(M,X)});return Promise.all(z).then(A)}startAxisValueAnimation(r,d){const m=this.getAxisMotionValue(r);return PS(this.visualElement,r),m.start(tT(r,m,0,d,this.visualElement,!1))}stopAnimation(){pi(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){pi(r=>this.getAxisMotionValue(r).animation?.pause())}getAnimationState(r){return this.getAxisMotionValue(r).animation?.state}getAxisMotionValue(r){const d=`_drag${r.toUpperCase()}`,m=this.visualElement.getProps(),v=m[d];return v||this.visualElement.getValue(r,(m.initial?m.initial[r]:void 0)||0)}snapToCursor(r){pi(d=>{const{drag:m}=this.getProps();if(!sv(d,m,this.currentDirection))return;const{projection:v}=this.visualElement,T=this.getAxisMotionValue(d);if(v&&v.layout){const{min:b,max:A}=v.layout.layoutBox[d];T.set(r[d]-mn(b,A,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:d}=this.getProps(),{projection:m}=this.visualElement;if(!Qd(d)||!m||!this.constraints)return;this.stopAnimation();const v={x:0,y:0};pi(b=>{const A=this.getAxisMotionValue(b);if(A&&this.constraints!==!1){const x=A.get();v[b]=sw({min:x,max:x},this.constraints[b])}});const{transformTemplate:T}=this.visualElement.getProps();this.visualElement.current.style.transform=T?T({},""):"none",m.root&&m.root.updateScroll(),m.updateLayout(),this.resolveConstraints(),pi(b=>{if(!sv(b,r,null))return;const A=this.getAxisMotionValue(b),{min:x,max:z}=this.constraints[b];A.set(mn(x,z,v[b]))})}addListeners(){if(!this.visualElement.current)return;fw.set(this.visualElement,this);const r=this.visualElement.current,d=Hp(r,"pointerdown",x=>{const{drag:z,dragListener:M=!0}=this.getProps();z&&M&&this.start(x)}),m=()=>{const{dragConstraints:x}=this.getProps();Qd(x)&&x.current&&(this.constraints=this.resolveRefConstraints())},{projection:v}=this.visualElement,T=v.addEventListener("measure",m);v&&!v.layout&&(v.root&&v.root.updateScroll(),v.updateLayout()),sn.read(m);const b=Bp(window,"resize",()=>this.scalePositionWithinConstraints()),A=v.addEventListener("didUpdate",(({delta:x,hasLayoutChanged:z})=>{this.isDragging&&z&&(pi(M=>{const O=this.getAxisMotionValue(M);O&&(this.originPoint[M]+=x[M].translate,O.set(O.get()+x[M].translate))}),this.visualElement.render())}));return()=>{b(),d(),T(),A&&A()}}getProps(){const r=this.visualElement.getProps(),{drag:d=!1,dragDirectionLock:m=!1,dragPropagation:v=!1,dragConstraints:T=!1,dragElastic:b=lT,dragMomentum:A=!0}=r;return{...r,drag:d,dragDirectionLock:m,dragPropagation:v,dragConstraints:T,dragElastic:b,dragMomentum:A}}}function sv(u,r,d){return(r===!0||r===u)&&(d===null||d===u)}function hw(u,r=10){let d=null;return Math.abs(u.y)>r?d="y":Math.abs(u.x)>r&&(d="x"),d}class mw extends er{constructor(r){super(r),this.removeGroupControls=hi,this.removeListeners=hi,this.controls=new dw(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||hi}unmount(){this.removeGroupControls(),this.removeListeners()}}const _x=u=>(r,d)=>{u&&sn.postRender(()=>u(r,d))};class pw extends er{constructor(){super(...arguments),this.removePointerDownListener=hi}onPointerDown(r){this.session=new Cx(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xx(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:d,onPan:m,onPanEnd:v}=this.node.getProps();return{onSessionStart:_x(r),onStart:_x(d),onMove:m,onEnd:(T,b)=>{delete this.session,v&&sn.postRender(()=>v(T,b))}}}mount(){this.removePointerDownListener=Hp(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const rv={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Nx(u,r){return r.max===r.min?0:u/(r.max-r.min)*100}const Yp={correct:(u,r)=>{if(!r.target)return u;if(typeof u=="string")if(Jt.test(u))u=parseFloat(u);else return u;const d=Nx(u,r.target.x),m=Nx(u,r.target.y);return`${d}% ${m}%`}},yw={correct:(u,{treeScale:r,projectionDelta:d})=>{const m=u,v=tr.parse(u);if(v.length>5)return m;const T=tr.createTransformer(u),b=typeof v[0]!="number"?1:0,A=d.x.scale*r.x,x=d.y.scale*r.y;v[0+b]/=A,v[1+b]/=x;const z=mn(A,x,.5);return typeof v[2+b]=="number"&&(v[2+b]/=z),typeof v[3+b]=="number"&&(v[3+b]/=z),T(v)}};let iT=!1;class gw extends ut.Component{componentDidMount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:m,layoutId:v}=this.props,{projection:T}=r;qO(vw),T&&(d.group&&d.group.add(T),m&&m.register&&v&&m.register(T),iT&&T.root.didUpdate(),T.addEventListener("animationComplete",()=>{this.safeToRemove()}),T.setOptions({...T.options,onExitComplete:()=>this.safeToRemove()})),rv.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:d,visualElement:m,drag:v,isPresent:T}=this.props,{projection:b}=m;return b&&(b.isPresent=T,iT=!0,v||r.layoutDependency!==d||d===void 0||r.isPresent!==T?b.willUpdate():this.safeToRemove(),r.isPresent!==T&&(T?b.promote():b.relegate()||sn.postRender(()=>{const A=b.getStack();(!A||!A.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),jS.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:d,switchLayoutGroup:m}=this.props,{projection:v}=r;iT=!0,v&&(v.scheduleCheckAfterUnmount(),d&&d.group&&d.group.remove(v),m&&m.deregister&&m.deregister(v))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function jx(u){const[r,d]=_E(),m=ut.useContext(K1);return $.jsx(gw,{...u,layoutGroup:m,switchLayoutGroup:ut.useContext($E),isPresent:r,safeToRemove:d})}const vw={borderRadius:{...Yp,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Yp,borderTopRightRadius:Yp,borderBottomLeftRadius:Yp,borderBottomRightRadius:Yp,boxShadow:yw};function bw(u,r,d){const m=Ua(u)?u:Gd(u);return m.start(tT("",m,r,d)),m.animation}const Sw=(u,r)=>u.depth-r.depth;class Tw{constructor(){this.children=[],this.isDirty=!1}add(r){W1(this.children,r),this.isDirty=!0}remove(r){I1(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(Sw),this.isDirty=!1,this.children.forEach(r)}}function Aw(u,r){const d=gl.now(),m=({timestamp:v})=>{const T=v-d;T>=r&&(Is(m),u(T-r))};return sn.setup(m,!0),()=>Is(m)}const Bx=["TopLeft","TopRight","BottomLeft","BottomRight"],Ew=Bx.length,Vx=u=>typeof u=="string"?parseFloat(u):u,Hx=u=>typeof u=="number"||Jt.test(u);function xw(u,r,d,m,v,T){v?(u.opacity=mn(0,d.opacity??1,Dw(m)),u.opacityExit=mn(r.opacity??1,0,Cw(m))):T&&(u.opacity=mn(r.opacity??1,d.opacity??1,m));for(let b=0;b<Ew;b++){const A=`border${Bx[b]}Radius`;let x=Lx(r,A),z=Lx(d,A);if(x===void 0&&z===void 0)continue;x||(x=0),z||(z=0),x===0||z===0||Hx(x)===Hx(z)?(u[A]=Math.max(mn(Vx(x),Vx(z),m),0),(Go.test(z)||Go.test(x))&&(u[A]+="%")):u[A]=z}(r.rotate||d.rotate)&&(u.rotate=mn(r.rotate||0,d.rotate||0,m))}function Lx(u,r){return u[r]!==void 0?u[r]:u.borderRadius}const Dw=qx(0,.5,UA),Cw=qx(.5,.95,hi);function qx(u,r,d){return m=>m<u?0:m>r?1:d(Mp(u,r,m))}function Yx(u,r){u.min=r.min,u.max=r.max}function yi(u,r){Yx(u.x,r.x),Yx(u.y,r.y)}function Gx(u,r){u.translate=r.translate,u.scale=r.scale,u.originPoint=r.originPoint,u.origin=r.origin}function Xx(u,r,d,m,v){return u-=r,u=uv(u,1/d,m),v!==void 0&&(u=uv(u,1/v,m)),u}function Mw(u,r=0,d=1,m=.5,v,T=u,b=u){if(Go.test(r)&&(r=parseFloat(r),r=mn(b.min,b.max,r/100)-b.min),typeof r!="number")return;let A=mn(T.min,T.max,m);u===T&&(A-=r),u.min=Xx(u.min,r,d,A,v),u.max=Xx(u.max,r,d,A,v)}function Qx(u,r,[d,m,v],T,b){Mw(u,r[d],r[m],r[v],r.scale,T,b)}const zw=["x","scaleX","originX"],Ow=["y","scaleY","originY"];function Zx(u,r,d,m){Qx(u.x,r,zw,d?d.x:void 0,m?m.x:void 0),Qx(u.y,r,Ow,d?d.y:void 0,m?m.y:void 0)}function kx(u){return u.translate===0&&u.scale===1}function Jx(u){return kx(u.x)&&kx(u.y)}function Kx(u,r){return u.min===r.min&&u.max===r.max}function Rw(u,r){return Kx(u.x,r.x)&&Kx(u.y,r.y)}function $x(u,r){return Math.round(u.min)===Math.round(r.min)&&Math.round(u.max)===Math.round(r.max)}function Fx(u,r){return $x(u.x,r.x)&&$x(u.y,r.y)}function Wx(u){return Za(u.x)/Za(u.y)}function Ix(u,r){return u.translate===r.translate&&u.scale===r.scale&&u.originPoint===r.originPoint}class ww{constructor(){this.members=[]}add(r){W1(this.members,r),r.scheduleRender()}remove(r){if(I1(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const d=this.members[this.members.length-1];d&&this.promote(d)}}relegate(r){const d=this.members.findIndex(v=>r===v);if(d===0)return!1;let m;for(let v=d;v>=0;v--){const T=this.members[v];if(T.isPresent!==!1){m=T;break}}return m?(this.promote(m),!0):!1}promote(r,d){const m=this.lead;if(r!==m&&(this.prevLead=m,this.lead=r,r.show(),m)){m.instance&&m.scheduleRender(),r.scheduleRender(),r.resumeFrom=m,d&&(r.resumeFrom.preserveOpacity=!0),m.snapshot&&(r.snapshot=m.snapshot,r.snapshot.latestValues=m.animationValues||m.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:v}=r.options;v===!1&&m.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:d,resumingFrom:m}=r;d.onExitComplete&&d.onExitComplete(),m&&m.options.onExitComplete&&m.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Uw(u,r,d){let m="";const v=u.x.translate/r.x,T=u.y.translate/r.y,b=d?.z||0;if((v||T||b)&&(m=`translate3d(${v}px, ${T}px, ${b}px) `),(r.x!==1||r.y!==1)&&(m+=`scale(${1/r.x}, ${1/r.y}) `),d){const{transformPerspective:z,rotate:M,rotateX:O,rotateY:w,skewX:Q,skewY:X}=d;z&&(m=`perspective(${z}px) ${m}`),M&&(m+=`rotate(${M}deg) `),O&&(m+=`rotateX(${O}deg) `),w&&(m+=`rotateY(${w}deg) `),Q&&(m+=`skewX(${Q}deg) `),X&&(m+=`skewY(${X}deg) `)}const A=u.x.scale*r.x,x=u.y.scale*r.y;return(A!==1||x!==1)&&(m+=`scale(${A}, ${x})`),m||"none"}const oT=["","X","Y","Z"],_w=1e3;let Nw=0;function uT(u,r,d,m){const{latestValues:v}=r;v[u]&&(d[u]=v[u],r.setStaticValue(u,0),m&&(m[u]=0))}function Px(u){if(u.hasCheckedOptimisedAppear=!0,u.root===u)return;const{visualElement:r}=u.options;if(!r)return;const d=hx(r);if(window.MotionHasOptimisedAnimation(d,"transform")){const{layout:v,layoutId:T}=u.options;window.MotionCancelOptimisedAnimation(d,"transform",sn,!(v||T))}const{parent:m}=u;m&&!m.hasCheckedOptimisedAppear&&Px(m)}function tD({attachResizeListener:u,defaultParent:r,measureScroll:d,checkIsScrollRoot:m,resetTransform:v}){return class{constructor(b={},A=r?.()){this.id=Nw++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Vw),this.nodes.forEach(Yw),this.nodes.forEach(Gw),this.nodes.forEach(Hw)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=b,this.root=A?A.root||A:this,this.path=A?[...A.path,A]:[],this.parent=A,this.depth=A?A.depth+1:0;for(let x=0;x<this.path.length;x++)this.path[x].shouldResetTransform=!0;this.root===this&&(this.nodes=new Tw)}addEventListener(b,A){return this.eventHandlers.has(b)||this.eventHandlers.set(b,new eS),this.eventHandlers.get(b).add(A)}notifyListeners(b,...A){const x=this.eventHandlers.get(b);x&&x.notify(...A)}hasListeners(b){return this.eventHandlers.has(b)}mount(b){if(this.instance)return;this.isSVG=wE(b)&&!xO(b),this.instance=b;const{layoutId:A,layout:x,visualElement:z}=this.options;if(z&&!z.current&&z.mount(b),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(x||A)&&(this.isLayoutDirty=!0),u){let M,O=0;const w=()=>this.root.updateBlockedByResize=!1;sn.read(()=>{O=window.innerWidth}),u(b,()=>{const Q=window.innerWidth;Q!==O&&(O=Q,this.root.updateBlockedByResize=!0,M&&M(),M=Aw(w,250),rv.hasAnimatedSinceResize&&(rv.hasAnimatedSinceResize=!1,this.nodes.forEach(aD)))})}A&&this.root.registerSharedNode(A,this),this.options.animate!==!1&&z&&(A||x)&&this.addEventListener("didUpdate",({delta:M,hasLayoutChanged:O,hasRelativeLayoutChanged:w,layout:Q})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const X=this.options.transition||z.getDefaultTransition()||Jw,{onLayoutAnimationStart:lt,onLayoutAnimationComplete:ot}=z.getProps(),nt=!this.targetLayout||!Fx(this.targetLayout,Q),dt=!O&&w;if(this.options.layoutRoot||this.resumeFrom||dt||O&&(nt||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const ht={...US(X,"layout"),onPlay:lt,onComplete:ot};(z.shouldReduceMotion||this.options.layoutRoot)&&(ht.delay=0,ht.type=!1),this.startAnimation(ht),this.setAnimationOrigin(M,dt)}else O||aD(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=Q})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const b=this.getStack();b&&b.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Is(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Xw),this.animationId++)}getTransformTemplate(){const{visualElement:b}=this.options;return b&&b.getProps().transformTemplate}willUpdate(b=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Px(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let M=0;M<this.path.length;M++){const O=this.path[M];O.shouldResetTransform=!0,O.updateScroll("snapshot"),O.options.layoutRoot&&O.willUpdate(!1)}const{layoutId:A,layout:x}=this.options;if(A===void 0&&!x)return;const z=this.getTransformTemplate();this.prevTransformTemplateValue=z?z(this.latestValues,""):void 0,this.updateSnapshot(),b&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(eD);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(nD);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(qw),this.nodes.forEach(jw),this.nodes.forEach(Bw)):this.nodes.forEach(nD),this.clearAllSnapshots();const A=gl.now();ha.delta=Nu(0,1e3/60,A-ha.timestamp),ha.timestamp=A,ha.isProcessing=!0,iS.update.process(ha),iS.preRender.process(ha),iS.render.process(ha),ha.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,jS.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Lw),this.sharedNodes.forEach(Qw)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,sn.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){sn.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Za(this.snapshot.measuredBox.x)&&!Za(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let x=0;x<this.path.length;x++)this.path[x].updateScroll();const b=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Mn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:A}=this.options;A&&A.notify("LayoutMeasure",this.layout.layoutBox,b?b.layoutBox:void 0)}updateScroll(b="measure"){let A=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===b&&(A=!1),A&&this.instance){const x=m(this.instance);this.scroll={animationId:this.root.animationId,phase:b,isRoot:x,offset:d(this.instance),wasRoot:this.scroll?this.scroll.isRoot:x}}}resetTransform(){if(!v)return;const b=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,A=this.projectionDelta&&!Jx(this.projectionDelta),x=this.getTransformTemplate(),z=x?x(this.latestValues,""):void 0,M=z!==this.prevTransformTemplateValue;b&&this.instance&&(A||Gc(this.latestValues)||M)&&(v(this.instance,z),this.shouldResetTransform=!1,this.scheduleRender())}measure(b=!0){const A=this.measurePageBox();let x=this.removeElementScroll(A);return b&&(x=this.removeTransform(x)),Kw(x),{animationId:this.root.animationId,measuredBox:A,layoutBox:x,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:b}=this.options;if(!b)return Mn();const A=b.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some($w))){const{scroll:z}=this.root;z&&(Zd(A.x,z.offset.x),Zd(A.y,z.offset.y))}return A}removeElementScroll(b){const A=Mn();if(yi(A,b),this.scroll?.wasRoot)return A;for(let x=0;x<this.path.length;x++){const z=this.path[x],{scroll:M,options:O}=z;z!==this.root&&M&&O.layoutScroll&&(M.wasRoot&&yi(A,b),Zd(A.x,M.offset.x),Zd(A.y,M.offset.y))}return A}applyTransform(b,A=!1){const x=Mn();yi(x,b);for(let z=0;z<this.path.length;z++){const M=this.path[z];!A&&M.options.layoutScroll&&M.scroll&&M!==M.root&&kd(x,{x:-M.scroll.offset.x,y:-M.scroll.offset.y}),Gc(M.latestValues)&&kd(x,M.latestValues)}return Gc(this.latestValues)&&kd(x,this.latestValues),x}removeTransform(b){const A=Mn();yi(A,b);for(let x=0;x<this.path.length;x++){const z=this.path[x];if(!z.instance||!Gc(z.latestValues))continue;$S(z.latestValues)&&z.updateSnapshot();const M=Mn(),O=z.measurePageBox();yi(M,O),Zx(A,z.latestValues,z.snapshot?z.snapshot.layoutBox:void 0,M)}return Gc(this.latestValues)&&Zx(A,this.latestValues),A}setTargetDelta(b){this.targetDelta=b,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(b){this.options={...this.options,...b,crossfade:b.crossfade!==void 0?b.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ha.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(b=!1){const A=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=A.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=A.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=A.isSharedProjectionDirty);const x=!!this.resumingFrom||this!==A;if(!(b||x&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:M,layoutId:O}=this.options;if(!(!this.layout||!(M||O))){if(this.resolvedRelativeTargetAt=ha.timestamp,!this.targetDelta&&!this.relativeTarget){const w=this.getClosestProjectingParent();w&&w.layout&&this.animationProgress!==1?(this.relativeParent=w,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Mn(),this.relativeTargetOrigin=Mn(),qp(this.relativeTargetOrigin,this.layout.layoutBox,w.layout.layoutBox),yi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Mn(),this.targetWithTransforms=Mn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ew(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):yi(this.target,this.layout.layoutBox),ex(this.target,this.targetDelta)):yi(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const w=this.getClosestProjectingParent();w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?(this.relativeParent=w,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Mn(),this.relativeTargetOrigin=Mn(),qp(this.relativeTargetOrigin,this.target,w.target),yi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||$S(this.parent.latestValues)||IE(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const b=this.getLead(),A=!!this.resumingFrom||this!==b;let x=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(x=!1),A&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(x=!1),this.resolvedRelativeTargetAt===ha.timestamp&&(x=!1),x)return;const{layout:z,layoutId:M}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(z||M))return;yi(this.layoutCorrected,this.layout.layoutBox);const O=this.treeScale.x,w=this.treeScale.y;hR(this.layoutCorrected,this.treeScale,this.path,A),b.layout&&!b.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(b.target=b.layout.layoutBox,b.targetWithTransforms=Mn());const{target:Q}=b;if(!Q){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Gx(this.prevProjectionDelta.x,this.projectionDelta.x),Gx(this.prevProjectionDelta.y,this.projectionDelta.y)),Lp(this.projectionDelta,this.layoutCorrected,Q,this.latestValues),(this.treeScale.x!==O||this.treeScale.y!==w||!Ix(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ix(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",Q))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(b=!0){if(this.options.visualElement?.scheduleRender(),b){const A=this.getStack();A&&A.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Jd(),this.projectionDelta=Jd(),this.projectionDeltaWithTransform=Jd()}setAnimationOrigin(b,A=!1){const x=this.snapshot,z=x?x.latestValues:{},M={...this.latestValues},O=Jd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!A;const w=Mn(),Q=x?x.source:void 0,X=this.layout?this.layout.source:void 0,lt=Q!==X,ot=this.getStack(),nt=!ot||ot.members.length<=1,dt=!!(lt&&!nt&&this.options.crossfade===!0&&!this.path.some(kw));this.animationProgress=0;let ht;this.mixTargetDelta=Tt=>{const St=Tt/1e3;lD(O.x,b.x,St),lD(O.y,b.y,St),this.setTargetDelta(O),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(qp(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Zw(this.relativeTarget,this.relativeTargetOrigin,w,St),ht&&Rw(this.relativeTarget,ht)&&(this.isProjectionDirty=!1),ht||(ht=Mn()),yi(ht,this.relativeTarget)),lt&&(this.animationValues=M,xw(M,z,this.latestValues,St,dt,nt)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=St},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(b){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Is(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=sn.update(()=>{rv.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Gd(0)),this.currentAnimation=bw(this.motionValue,[0,1e3],{...b,velocity:0,isSync:!0,onUpdate:A=>{this.mixTargetDelta(A),b.onUpdate&&b.onUpdate(A)},onStop:()=>{},onComplete:()=>{b.onComplete&&b.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const b=this.getStack();b&&b.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(_w),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const b=this.getLead();let{targetWithTransforms:A,target:x,layout:z,latestValues:M}=b;if(!(!A||!x||!z)){if(this!==b&&this.layout&&z&&rD(this.options.animationType,this.layout.layoutBox,z.layoutBox)){x=this.target||Mn();const O=Za(this.layout.layoutBox.x);x.x.min=b.target.x.min,x.x.max=x.x.min+O;const w=Za(this.layout.layoutBox.y);x.y.min=b.target.y.min,x.y.max=x.y.min+w}yi(A,x),kd(A,M),Lp(this.projectionDeltaWithTransform,this.layoutCorrected,A,M)}}registerSharedNode(b,A){this.sharedNodes.has(b)||this.sharedNodes.set(b,new ww),this.sharedNodes.get(b).add(A);const z=A.options.initialPromotionConfig;A.promote({transition:z?z.transition:void 0,preserveFollowOpacity:z&&z.shouldPreserveFollowOpacity?z.shouldPreserveFollowOpacity(A):void 0})}isLead(){const b=this.getStack();return b?b.lead===this:!0}getLead(){const{layoutId:b}=this.options;return b?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:b}=this.options;return b?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:b}=this.options;if(b)return this.root.sharedNodes.get(b)}promote({needsReset:b,transition:A,preserveFollowOpacity:x}={}){const z=this.getStack();z&&z.promote(this,x),b&&(this.projectionDelta=void 0,this.needsReset=!0),A&&this.setOptions({transition:A})}relegate(){const b=this.getStack();return b?b.relegate(this):!1}resetSkewAndRotation(){const{visualElement:b}=this.options;if(!b)return;let A=!1;const{latestValues:x}=b;if((x.z||x.rotate||x.rotateX||x.rotateY||x.rotateZ||x.skewX||x.skewY)&&(A=!0),!A)return;const z={};x.z&&uT("z",b,z,this.animationValues);for(let M=0;M<oT.length;M++)uT(`rotate${oT[M]}`,b,z,this.animationValues),uT(`skew${oT[M]}`,b,z,this.animationValues);b.render();for(const M in z)b.setStaticValue(M,z[M]),this.animationValues&&(this.animationValues[M]=z[M]);b.scheduleRender()}applyProjectionStyles(b,A){if(!this.instance||this.isSVG)return;if(!this.isVisible){b.visibility="hidden";return}const x=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,b.visibility="",b.opacity="",b.pointerEvents=ov(A?.pointerEvents)||"",b.transform=x?x(this.latestValues,""):"none";return}const z=this.getLead();if(!this.projectionDelta||!this.layout||!z.target){this.options.layoutId&&(b.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,b.pointerEvents=ov(A?.pointerEvents)||""),this.hasProjected&&!Gc(this.latestValues)&&(b.transform=x?x({},""):"none",this.hasProjected=!1);return}b.visibility="";const M=z.animationValues||z.latestValues;this.applyTransformsToTarget();let O=Uw(this.projectionDeltaWithTransform,this.treeScale,M);x&&(O=x(M,O)),b.transform=O;const{x:w,y:Q}=this.projectionDelta;b.transformOrigin=`${w.origin*100}% ${Q.origin*100}% 0`,z.animationValues?b.opacity=z===this?M.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:M.opacityExit:b.opacity=z===this?M.opacity!==void 0?M.opacity:"":M.opacityExit!==void 0?M.opacityExit:0;for(const X in jp){if(M[X]===void 0)continue;const{correct:lt,applyTo:ot,isCSSVariable:nt}=jp[X],dt=O==="none"?M[X]:lt(M[X],z);if(ot){const ht=ot.length;for(let Tt=0;Tt<ht;Tt++)b[ot[Tt]]=dt}else nt?this.options.visualElement.renderState.vars[X]=dt:b[X]=dt}this.options.layoutId&&(b.pointerEvents=z===this?ov(A?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(b=>b.currentAnimation?.stop()),this.root.nodes.forEach(eD),this.root.sharedNodes.clear()}}}function jw(u){u.updateLayout()}function Bw(u){const r=u.resumeFrom?.snapshot||u.snapshot;if(u.isLead()&&u.layout&&r&&u.hasListeners("didUpdate")){const{layoutBox:d,measuredBox:m}=u.layout,{animationType:v}=u.options,T=r.source!==u.layout.source;v==="size"?pi(M=>{const O=T?r.measuredBox[M]:r.layoutBox[M],w=Za(O);O.min=d[M].min,O.max=O.min+w}):rD(v,r.layoutBox,d)&&pi(M=>{const O=T?r.measuredBox[M]:r.layoutBox[M],w=Za(d[M]);O.max=O.min+w,u.relativeTarget&&!u.currentAnimation&&(u.isProjectionDirty=!0,u.relativeTarget[M].max=u.relativeTarget[M].min+w)});const b=Jd();Lp(b,d,r.layoutBox);const A=Jd();T?Lp(A,u.applyTransform(m,!0),r.measuredBox):Lp(A,d,r.layoutBox);const x=!Jx(b);let z=!1;if(!u.resumeFrom){const M=u.getClosestProjectingParent();if(M&&!M.resumeFrom){const{snapshot:O,layout:w}=M;if(O&&w){const Q=Mn();qp(Q,r.layoutBox,O.layoutBox);const X=Mn();qp(X,d,w.layoutBox),Fx(Q,X)||(z=!0),M.options.layoutRoot&&(u.relativeTarget=X,u.relativeTargetOrigin=Q,u.relativeParent=M)}}}u.notifyListeners("didUpdate",{layout:d,snapshot:r,delta:A,layoutDelta:b,hasLayoutChanged:x,hasRelativeLayoutChanged:z})}else if(u.isLead()){const{onExitComplete:d}=u.options;d&&d()}u.options.transition=void 0}function Vw(u){u.parent&&(u.isProjecting()||(u.isProjectionDirty=u.parent.isProjectionDirty),u.isSharedProjectionDirty||(u.isSharedProjectionDirty=!!(u.isProjectionDirty||u.parent.isProjectionDirty||u.parent.isSharedProjectionDirty)),u.isTransformDirty||(u.isTransformDirty=u.parent.isTransformDirty))}function Hw(u){u.isProjectionDirty=u.isSharedProjectionDirty=u.isTransformDirty=!1}function Lw(u){u.clearSnapshot()}function eD(u){u.clearMeasurements()}function nD(u){u.isLayoutDirty=!1}function qw(u){const{visualElement:r}=u.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),u.resetTransform()}function aD(u){u.finishAnimation(),u.targetDelta=u.relativeTarget=u.target=void 0,u.isProjectionDirty=!0}function Yw(u){u.resolveTargetDelta()}function Gw(u){u.calcProjection()}function Xw(u){u.resetSkewAndRotation()}function Qw(u){u.removeLeadSnapshot()}function lD(u,r,d){u.translate=mn(r.translate,0,d),u.scale=mn(r.scale,1,d),u.origin=r.origin,u.originPoint=r.originPoint}function iD(u,r,d,m){u.min=mn(r.min,d.min,m),u.max=mn(r.max,d.max,m)}function Zw(u,r,d,m){iD(u.x,r.x,d.x,m),iD(u.y,r.y,d.y,m)}function kw(u){return u.animationValues&&u.animationValues.opacityExit!==void 0}const Jw={duration:.45,ease:[.4,0,.1,1]},oD=u=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(u),uD=oD("applewebkit/")&&!oD("chrome/")?Math.round:hi;function sD(u){u.min=uD(u.min),u.max=uD(u.max)}function Kw(u){sD(u.x),sD(u.y)}function rD(u,r,d){return u==="position"||u==="preserve-aspect"&&!tw(Wx(r),Wx(d),.2)}function $w(u){return u!==u.root&&u.scroll?.wasRoot}const Fw=tD({attachResizeListener:(u,r)=>Bp(u,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sT={current:void 0},cD=tD({measureScroll:u=>({x:u.scrollLeft,y:u.scrollTop}),defaultParent:()=>{if(!sT.current){const u=new Fw({});u.mount(window),u.setOptions({layoutScroll:!0}),sT.current=u}return sT.current},resetTransform:(u,r)=>{u.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:u=>window.getComputedStyle(u).position==="fixed"}),Ww={pan:{Feature:pw},drag:{Feature:mw,ProjectionNode:cD,MeasureLayout:jx}};function fD(u,r,d){const{props:m}=u;u.animationState&&m.whileHover&&u.animationState.setActive("whileHover",d==="Start");const v="onHover"+d,T=m[v];T&&sn.postRender(()=>T(r,Vp(r)))}class Iw extends er{mount(){const{current:r}=this.node;r&&(this.unmount=bO(r,(d,m)=>(fD(this.node,m,"Start"),v=>fD(this.node,v,"End"))))}unmount(){}}class Pw extends er{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Cp(Bp(this.node.current,"focus",()=>this.onFocus()),Bp(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function dD(u,r,d){const{props:m}=u;if(u.current instanceof HTMLButtonElement&&u.current.disabled)return;u.animationState&&m.whileTap&&u.animationState.setActive("whileTap",d==="Start");const v="onTap"+(d==="End"?"":d),T=m[v];T&&sn.postRender(()=>T(r,Vp(r)))}class t4 extends er{mount(){const{current:r}=this.node;r&&(this.unmount=EO(r,(d,m)=>(dD(this.node,m,"Start"),(v,{success:T})=>dD(this.node,v,T?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rT=new WeakMap,cT=new WeakMap,e4=u=>{const r=rT.get(u.target);r&&r(u)},n4=u=>{u.forEach(e4)};function a4({root:u,...r}){const d=u||document;cT.has(d)||cT.set(d,{});const m=cT.get(d),v=JSON.stringify(r);return m[v]||(m[v]=new IntersectionObserver(n4,{root:u,...r})),m[v]}function l4(u,r,d){const m=a4(r);return rT.set(u,d),m.observe(u),()=>{rT.delete(u),m.unobserve(u)}}const i4={some:0,all:1};class o4 extends er{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:d,margin:m,amount:v="some",once:T}=r,b={root:d?d.current:void 0,rootMargin:m,threshold:typeof v=="number"?v:i4[v]},A=x=>{const{isIntersecting:z}=x;if(this.isInView===z||(this.isInView=z,T&&!z&&this.hasEnteredView))return;z&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",z);const{onViewportEnter:M,onViewportLeave:O}=this.node.getProps(),w=z?M:O;w&&w(x)};return l4(this.node.current,b,A)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:d}=this.node;["amount","margin","root"].some(u4(r,d))&&this.startObserver()}unmount(){}}function u4({viewport:u={}},{viewport:r={}}={}){return d=>u[d]!==r[d]}const s4={...KR,...{inView:{Feature:o4},tap:{Feature:t4},focus:{Feature:Pw},hover:{Feature:Iw}},...Ww,...{layout:{ProjectionNode:cD,MeasureLayout:jx}}},Vu=cR(s4,ER);function r4({title:u,titleId:r,...d},m){return qe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:m,"aria-labelledby":r},d),u?qe.createElement("title",{id:r},u):null,qe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const c4=qe.forwardRef(r4);function f4({title:u,titleId:r,...d},m){return qe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:m,"aria-labelledby":r},d),u?qe.createElement("title",{id:r},u):null,qe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const d4=qe.forwardRef(f4);function h4({title:u,titleId:r,...d},m){return qe.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:m,"aria-labelledby":r},d),u?qe.createElement("title",{id:r},u):null,qe.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))}const hD={pending:{borderColor:"border-gray-300 dark:border-gray-600",icon:d4,iconColor:"text-gray-500 dark:text-gray-400"},running:{borderColor:"border-orange-400 dark:border-orange-500",icon:null,iconColor:"text-orange-500 dark:text-orange-400"},success:{borderColor:"border-green-500 dark:border-green-400",icon:c4,iconColor:"text-green-600 dark:text-green-400"},error:{borderColor:"border-red-500 dark:border-red-400",icon:qe.forwardRef(h4),iconColor:"text-red-600 dark:text-red-400"}},m4=()=>$.jsxs("div",{className:"relative w-5 h-5",children:[$.jsx(Vu.div,{className:"absolute inset-0 border-2 border-current border-t-transparent rounded-full",animate:{rotate:360},transition:{duration:1,repeat:1/0,ease:"linear"}}),$.jsx(Vu.div,{className:"absolute inset-1 border border-current rounded-full",animate:{scale:[1,1.2,1],opacity:[.5,1,.5]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"}})]}),p4=({status:u,className:r})=>{const d=hD[u];return $.jsx(Vu.div,{className:yl("flex items-center justify-center w-8 h-8 rounded-full",d.iconColor,r),initial:{scale:.8,rotate:-10},animate:{scale:1,rotate:0},transition:{duration:.3,ease:"easeOut"},children:u==="running"?$.jsx(m4,{}):d.icon?$.jsx(d.icon,{className:"w-5 h-5"}):null},u)},y4={default:"rounded-lg border bg-card text-card-foreground shadow-sm border-gray-200 py-4 px-4",suggestion:"rounded-xl border border-gray-200 bg-white text-left py-3.5 px-4 text-sm hover:shadow-md hover:bg-gray-50 dark:hover:bg-black transition-all cursor-pointer"},g4={default:"flex flex-col space-y-0.5",suggestion:"flex flex-col space-y-1"},v4={default:"leading-none tracking-tight",suggestion:"leading-none tracking-tight font-medium text-sm"},cv=qe.forwardRef(({className:u,variant:r="default",status:d,showStatusIcon:m=!1,collapsible:v=!1,isCollapsed:T,defaultCollapsed:b=!1,onCollapseChange:A,children:x,...z},M)=>{const[O,w]=ut.useState(b),Q=T!==void 0,X=Q?T:O,lt=bt=>{Q||w(bt),A?.(bt)},ot=()=>{lt(!X)},nt=qe.Children.toArray(x).find(bt=>qe.isValidElement(bt)&&bt.type===$d),dt=qe.Children.toArray(x).filter(bt=>qe.isValidElement(bt)&&bt.type!==$d),ht=d?hD[d]:null,Tt=ht?ht.borderColor:"",St=nt&&qe.isValidElement(nt)?qe.cloneElement(nt,{collapsible:v,isCollapsed:X,onToggleCollapse:ot,status:d,showStatusIcon:m}):nt;return $.jsxs("div",{ref:M,className:yl(y4[r],d&&"border-2 transition-all duration-300 ease-in-out",Tt,u),...z,children:[St,dt.length>0&&$.jsx("div",{className:yl("overflow-hidden transition-all duration-300 ease-in-out",X?"max-h-0 opacity-0":"max-h-[1000px] opacity-100"),children:dt})]})});cv.displayName="Card";const $d=qe.forwardRef(({className:u,variant:r="default",status:d,showStatusIcon:m=!1,collapsible:v=!1,isCollapsed:T=!1,onToggleCollapse:b,children:A,...x},z)=>$.jsxs("div",{ref:z,className:yl(g4[r],"flex flex-row items-center justify-between",u),...x,children:[$.jsx("div",{className:"flex-1",children:m&&d?$.jsxs("div",{className:"flex items-center gap-3",children:[$.jsx(p4,{status:d}),A]}):A}),v&&$.jsx("button",{onClick:b,className:yl("ml-2 p-1 rounded-md hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors","flex items-center justify-center w-6 h-6"),"aria-label":T?"Expand card":"Collapse card",children:$.jsx("svg",{className:yl("w-4 h-4 transition-transform duration-200 text-white",T?"rotate-180":""),fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})})]}));$d.displayName="CardHeader";const fv=qe.forwardRef(({className:u,variant:r="default",...d},m)=>$.jsx("div",{ref:m,className:yl(v4[r],u),...d}));fv.displayName="CardTitle";const b4=qe.forwardRef(({className:u,...r},d)=>$.jsx("div",{ref:d,className:yl(" text-muted-foreground",u),...r}));b4.displayName="CardDescription";const fT=qe.forwardRef(({className:u,...r},d)=>$.jsx("div",{ref:d,className:yl("pt-0",u),...r}));fT.displayName="CardContent";const S4=qe.forwardRef(({className:u,...r},d)=>$.jsx("div",{ref:d,className:yl("flex items-center",u),...r}));S4.displayName="CardFooter";function T4({toolCall:u}){const r=m=>JSON.stringify(m,null,2),d=!!u.result;return $.jsxs(cv,{collapsible:!0,defaultCollapsed:!0,status:d?"success":"running",showStatusIcon:!0,className:"hover:shadow-md mb-2 min-w-max max-w-[85%]",children:[$.jsx($d,{className:"pb-0 ",children:$.jsx("div",{className:"flex items-center justify-start gap-5",children:$.jsxs(fv,{className:" dark:text-gray-200 text-gray-700",children:["Called ",A3(u.toolName)]})})}),$.jsx(fT,{className:"pt-2 space-y-3 w-80 max-w-80",children:$.jsx("div",{children:$.jsx("p",{className:` text-gray-700 dark:text-gray-300 ${d?"success":"running"}`,children:typeof u.args.prompt=="string"?u.args.prompt:r(u.args.prompt)})})})]})}const A4=({data:u})=>{const{steps:r,workflow_id:d,run_id:m}=u;return console.log("🎨 WorkflowSteps Component Rendering:",{steps:r,workflow_id:d,run_id:m}),$.jsxs("div",{className:"w-full space-y-4",children:[$.jsx(Vu.div,{className:"flex items-center gap-2 text-muted-foreground flex-wrap",initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.4,ease:"easeOut"}}),$.jsx("div",{className:"grid gap-3",children:$.jsx(_O,{children:r.map((v,T)=>$.jsx(Vu.div,{initial:{opacity:0,y:20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.5,delay:T*.3,ease:"easeOut"},children:$.jsx(Vu.div,{initial:{scale:.98,opacity:.9},animate:{scale:1,opacity:1},transition:{duration:.4,ease:"easeOut"},children:$.jsxs(cv,{status:v.step_status,showStatusIcon:!0,collapsible:!0,defaultCollapsed:!0,className:"hover:shadow-md mb-2 max-w-[85%] mr-auto",children:[$.jsx($d,{className:"pb-0",children:$.jsx(fv,{className:"text-sm font-medium",children:v.step_name})}),v.args&&$.jsx(fT,{className:"pt-2 space-y-3",children:$.jsxs("div",{children:[$.jsx("p",{className:"text-xs font-medium text-gray-700 mb-1",children:"Arguments:"}),JSON.stringify(v.args,null,2)]})})]})},`${v.step_id}-${v.step_status}`)},v.step_id))})})]})};function E4({message:u,statusCode:r,errorType:d}){const m=b=>({400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout"})[b]||"Unknown Error",T=(()=>{if(r){const b=m(r),A=u.replace(/HTTP error! status: \d+/i,"").trim();return A?`HTTP Error (${r}): ${b}
287
+
288
+ ${A}`:`HTTP Error (${r}): ${b}`}if(d==="validation"&&!u.toLowerCase().startsWith("error"))return`Error: ${u}`;if(d==="network"){if(u.includes("body is null"))return"Error: No response received from server";if(u.toLowerCase().includes("network")||u.toLowerCase().includes("fetch"))return`Network Error: ${u}`}return u})();return $.jsxs("div",{className:"error-message-container",children:[$.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[$.jsx("div",{className:"shrink-0",children:$.jsx("svg",{className:"w-5 h-5 text-red-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:$.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})})}),$.jsx("div",{className:"flex-1",children:$.jsx("p",{className:"text-lg font-semibold text-red-700 dark:text-red-400",children:"Error"})})]}),$.jsx("div",{className:"error-message-content",children:$.jsx("p",{className:"text-sm text-red-600 dark:text-red-300 whitespace-pre-wrap",children:T})})]})}function x4({role:u,content:r,streamItems:d,isError:m,errorType:v,statusCode:T}){const b=Dp(),A=u==="user",x=`
289
+ max-w-[85%] rounded-lg p-3 mb-3
290
+ ${m?"mr-auto border border-red-300 dark:border-red-700 bg-red-50 dark:bg-red-900/20":A?`ml-auto ${b.userMessage}`:`mr-auto ${b.assistantMessage}`}
291
+ `;return $.jsx("div",{className:m?"w-full":`flex ${A?"justify-end":"justify-start"}`,children:$.jsxs("div",{className:x,children:[m&&$.jsx("div",{className:"flex-1",children:$.jsx(E4,{message:r,statusCode:T,errorType:v})}),!m&&r&&A&&$.jsx("div",{children:$.jsx("p",{className:"whitespace-pre-wrap",children:r})}),!m&&!A&&d&&d.length>0&&$.jsx("div",{className:"space-y-3 mt-3",children:d.map((z,M)=>{const O=z;return O.type==="tool-call"&&O.toolCall?$.jsx("div",{children:$.jsx(T4,{toolCall:{toolName:O.toolCall.toolName,args:O.toolCall.args,result:O.toolCall.result,timestamp:new Date().toISOString()}})},M):(O.type==="workflow-steps"||O.type==="workflow-steps-update")&&O.workflowSteps?$.jsx("div",{children:$.jsx(A4,{data:O.workflowSteps})},M):null})}),!m&&!A&&r&&$.jsx("div",{className:"my-3",children:$.jsx(w3,{children:r})})]})})}const D4=({title:u=null,subtitle:r=null})=>{const d=u??"Hello there!",m=r??"How can I help you today?";return $.jsxs("div",{className:"flex flex-col justify-center mx-auto md:mt-20",children:[$.jsx(Vu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.5},className:"text-2xl font-semibold text-black dark:text-white",children:d}),$.jsx(Vu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.6},className:"text-2xl text-zinc-500 dark:text-zinc-400",children:m})]},"overview")};function C4({messages:u,isStreaming:r,animationKey:d}){const m=ut.useRef(null),v=ut.useRef(null);ut.useEffect(()=>{T()},[u,r]);const T=()=>{m.current?.scrollIntoView({behavior:"smooth",block:"end"})};return $.jsxs("div",{ref:v,className:"flex-1 overflow-y-auto scrollbar-hide",children:[u.length===0&&$.jsxs("div",{className:"flex flex-col justify-between h-full gap-10 mx-auto px-10 align-center ",children:[$.jsx("div",{className:"flex-1",children:$.jsx(D4,{},`greeting-${d}`)}),$.jsx("div",{className:"flex-shrink-0"})]}),u.length>0&&u.map(b=>$.jsx(x4,{role:b.role,content:b.content,streamItems:b.streamItems,timestamp:b.timestamp,isError:b.isError,errorType:b.errorType,statusCode:b.statusCode},b.id)),u.length>0&&r&&$.jsx("div",{className:"flex justify-start",children:$.jsx("div",{className:" text-gray-900 rounded-lg p-3 max-w-[85%]",children:$.jsxs("div",{className:"flex items-center space-x-1",children:[$.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),$.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.1s"}}),$.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0.2s"}})]})})}),$.jsx("div",{ref:m})]})}function M4(u,r,d){const[m,v]=ut.useState(!1),[T,b]=ut.useState(""),[A,x]=ut.useState([]),z=ut.useRef(new Map),M=ut.useRef(new Map),O=ut.useRef(new Map),w=ut.useRef(null),[Q,X]=ut.useState(null),[lt,ot]=ut.useState(0),nt=ut.useCallback(async(Tt,St)=>{v(!0),b(""),z.current=new Map,M.current=new Map,O.current=new Map,w.current=null;let bt=St||Q;bt?console.log("🔄 Reusing existing threadId for conversation:",bt):(bt=T3(u),X(bt),console.log("🆕 Generated new threadId for conversation:",bt));const Dt={id:Z1(12),role:"user",content:Tt,streamItems:[],timestamp:new Date};x(wt=>[...wt,Dt]);const I={id:Z1(12),role:"assistant",content:"",streamItems:[],timestamp:new Date};x(wt=>[...wt,I]);try{if(!u)throw new Error("Copilot ID is required");if(!r)throw new Error("User ID is required");const wt={message:Tt,threadId:bt,copilotId:u,resourceId:r};if(console.log("📤 Sending request body:",wt),!d)throw new Error('API key is required. Please provide an apiKey when initializing the SDK with initSidenet({ apiKey: "your-key" }).');const yt={"Content-Type":"application/json",Authorization:`Bearer ${d}`},Qt=await fetch(`http://localhost:8080/api/v1/copilot/${u}/stream`,{method:"POST",headers:yt,body:JSON.stringify(wt)});if(!Qt.ok){let Gt="";try{const k=Qt.headers.get("content-type");if(k&&k.includes("application/json")){const gt=await Qt.json();Gt=gt.message||gt.error||gt.details||""}else{const gt=await Qt.text();gt&&(Gt=gt)}}catch{}const j=`HTTP error! status: ${Qt.status}`,F=Gt?`${j}
292
+
293
+ ${Gt}`:j;throw new Error(F)}if(!Qt.body)throw new Error("Response body is null");const Bt=Qt.body.getReader(),Vt=new TextDecoder;let Lt="";try{for(;;){const{done:Gt,value:j}=await Bt.read();if(Gt)break;const k=Vt.decode(j,{stream:!0}).split(`
294
+ `).filter(gt=>gt.trim());for(const gt of k)try{const Mt=gt.startsWith("data: ")?gt.slice(6):gt;if(!Mt.trim())continue;const Y=JSON.parse(Mt);switch(console.log("📥 Received chunk:",Y),Y.type){case"tool-call":{const pt=Y.payload,st=pt?.toolCallId||Y.toolCallId,ft=pt?.toolName||Y.toolName,Ht=pt?.args||Y.args;if(st&&ft){const xe=O.current.get(st);let xt={};if(xe)try{xt=JSON.parse(xe),console.log("✅ Parsed accumulated args:",xt)}catch(be){console.warn("⚠️ Failed to parse accumulated args, using event args:",be),xt=Ht||{}}else xt=Ht||{};x(be=>be.map(It=>{if(It.role==="assistant"&&It.id===I.id){const Kt=It.streamItems,mt=Kt.findIndex(se=>se.type==="tool-call"&&se.toolCall?.id===st);if(mt!==-1){const se=[...Kt];return se[mt]={...se[mt],toolCall:{...se[mt].toolCall,toolName:ft,args:xt}},{...It,streamItems:se}}else return{...It,streamItems:[...Kt,{type:"tool-call",toolCall:{id:st,toolName:ft,args:xt}}]}}return It})),O.current.delete(st),w.current=st}break}case"tool-result":{const pt=Y.payload;let st=pt?.toolCallId||Y.toolCallId;const ft=pt?.result||Y.result;console.log("📦 tool-result received:",{toolCallId:st,hasResult:!!ft,resultKeys:ft?Object.keys(ft):[],payloadToolCallId:pt?.toolCallId,mostRecentToolCallId:w.current}),!st&&w.current&&(st=w.current,console.log("⚠️ tool-result missing toolCallId, using most recent:",st)),st&&ft?x(Ht=>Ht.map(xe=>{if(xe.role==="assistant"&&xe.id===I.id){const xt=xe.streamItems,be=xt.filter(mt=>mt.type==="tool-call").map(mt=>{const se=mt.toolCall;return{id:se?.id,toolName:se?.toolName,hasResult:!!se?.result}});console.log("🔍 Existing tool calls in streamItems:",be),console.log("🔍 Looking for toolCallId:",st);let It=!1;const Kt=xt.map(mt=>{if(mt.type==="tool-call"){const se=mt.toolCall;if(se?.id===st&&!se?.result)return It=!0,console.log("✅ Found matching tool call by ID, attaching result"),{...mt,toolCall:{...se,result:ft}}}return mt});if(!It){console.log("⚠️ Could not find tool call by ID, trying to match most recent tool call without result");for(let mt=Kt.length-1;mt>=0;mt--){const se=Kt[mt];if(se.type==="tool-call"){const nn=se.toolCall;if(!nn?.result){Kt[mt]={...se,toolCall:{...nn,result:ft}},It=!0,console.log("✅ Matched tool call by finding most recent without result");break}}}}if(It)return{...xe,streamItems:Kt};console.warn("⚠️ Could not find matching tool call for result:",{resultToolCallId:st,toolResult:ft,streamItemsCount:xt.length})}return xe})):console.warn("⚠️ tool-result event missing required fields:",{resultToolCallId:st,hasToolResult:!!ft,mostRecentToolCallId:w.current});break}case"text-delta":{const pt=Y.textDelta||Y.payload?.text;pt&&(Lt+=pt,b(Lt),x(st=>st.map(ft=>ft.role==="assistant"&&ft.id===I.id?{...ft,content:Lt}:ft)));break}case"start":Y.runId&&Y.from==="WORKFLOW"&&console.log("🚀 Workflow started:",Y.runId);break;case"step-start":if(Y.runId&&Y.payload&&Y.from==="WORKFLOW"){const pt=Y.payload,st=pt.stepCallId,ft=pt.stepName,Ht=pt.args,xe=Ht?`Arguments: ${JSON.stringify(Ht,null,2)}`:"";M.current.set(st,{step_id:st,step_name:ft,step_description:xe,step_status:"running",args:Ht,timestamp:new Date});const xt=Array.from(M.current.values()),be={type:"workflow-steps",workflow_id:ft,run_id:Y.runId,steps:xt};x(It=>It.map(Kt=>{if(Kt.role==="assistant"&&Kt.id===I.id){const mt=Kt.streamItems,se=mt.findIndex(nn=>nn.type==="workflow-steps"||nn.type==="workflow-steps-update");if(se!==-1){const nn=[...mt];return nn[se]={...nn[se],workflowSteps:be},{...Kt,streamItems:nn}}else return{...Kt,streamItems:[...mt,{type:"workflow-steps",workflowSteps:be}]}}return Kt}))}break;case"step-result":if(Y.runId&&Y.payload&&Y.from==="WORKFLOW"){const pt=Y.payload,st=pt.stepCallId,ft=pt.status,Ht=M.current.get(st);if(Ht){M.current.set(st,{...Ht,step_status:ft==="success"?"success":"error"});const xe=Array.from(M.current.values()),xt={type:"workflow-steps-update",workflow_id:Ht.step_name,run_id:Y.runId,steps:xe};x(be=>be.map(It=>It.role==="assistant"&&It.id===I.id?{...It,streamItems:It.streamItems.map(Kt=>Kt.type==="workflow-steps"||Kt.type==="workflow-steps-update"?{...Kt,workflowSteps:xt}:Kt)}:It))}}break;case"step-output":if(Y.payload&&Y.from==="USER"){const pt=Y.payload.output;pt&&(Lt+=pt,b(Lt),x(st=>st.map(ft=>ft.role==="assistant"&&ft.id===I.id?{...ft,content:Lt}:ft)))}break;case"step-finish":Y.runId&&Y.payload&&Y.from==="AGENT"&&console.log("🏁 Step finished:",Y.runId);break;case"tool-call-input-streaming-start":{const st=Y.payload?.toolCallId||Y.toolCallId;st&&(O.current.set(st,""),console.log("🔄 Tool call input streaming started for:",st));break}case"tool-call-delta":{const pt=Y.payload,st=pt?.toolCallId||Y.toolCallId,ft=pt?.argsTextDelta||Y.argsTextDelta,Ht=pt?.toolName||Y.toolName;if(st&&ft){const xt=(O.current.get(st)||"")+ft;O.current.set(st,xt);try{const be=JSON.parse(xt);console.log("📝 Tool call delta accumulated, parsed args:",be),x(It=>It.map(Kt=>{if(Kt.role==="assistant"&&Kt.id===I.id){const mt=Kt.streamItems,se=mt.findIndex(nn=>nn.type==="tool-call"&&nn.toolCall?.id===st);if(se!==-1){const nn=[...mt];return nn[se]={...nn[se],toolCall:{...nn[se].toolCall,args:be}},{...Kt,streamItems:nn}}else return{...Kt,streamItems:[...mt,{type:"tool-call",toolCall:{id:st,toolName:Ht||"Tool calling...",args:be}}]}}return Kt}))}catch{console.log("📝 Tool call delta accumulated (JSON incomplete, waiting for more):",xt)}}break}case"tool-call-input-streaming-end":{const st=Y.payload?.toolCallId||Y.toolCallId;if(st){const ft=O.current.get(st);if(ft)try{const Ht=JSON.parse(ft);console.log("✅ Tool call input streaming ended, final args:",Ht),x(xe=>xe.map(xt=>{if(xt.role==="assistant"&&xt.id===I.id){const be=xt.streamItems,It=be.findIndex(Kt=>Kt.type==="tool-call"&&Kt.toolCall?.id===st);if(It!==-1){const Kt=[...be];return Kt[It]={...Kt[It],toolCall:{...Kt[It].toolCall,args:Ht}},{...xt,streamItems:Kt}}}return xt}))}catch(Ht){console.warn("⚠️ Failed to parse final accumulated args:",Ht)}}break}case"error":{const st=Y.error?.message||Y.message||"An error occurred during streaming";console.error("❌ Stream error received:",st),x(ft=>ft.map(Ht=>Ht.role==="assistant"&&Ht.id===I.id?{...Ht,content:st,isError:!0,errorType:"stream"}:Ht)),v(!1);return}case"finish":Y.runId&&Y.from==="WORKFLOW"&&console.log("✅ Workflow finished:",Y.runId);break}}catch(Mt){console.warn("⚠️ Failed to parse chunk:",{originalLine:gt,jsonString:gt.startsWith("data: ")?gt.slice(6):gt,error:Mt,lineLength:gt.length})}}}finally{Bt.releaseLock()}x(Gt=>Gt.map(j=>j.role==="assistant"&&j.id===I.id?{...j,content:Lt}:j))}catch(wt){console.error("❌ Error sending message:",wt);let yt="An unexpected error occurred",Qt,Bt;if(wt instanceof Error){yt=wt.message;const Vt=yt.match(/HTTP error! status: (\d+)/i);Vt?(Bt=parseInt(Vt[1],10),Qt="http"):yt.includes("required")||yt.includes("Copilot ID")||yt.includes("User ID")||yt.includes("API key")?Qt="validation":(yt.includes("body is null")||yt.includes("network")||yt.includes("fetch")||yt.includes("Failed to fetch"))&&(Qt="network")}x(Vt=>Vt.map(Lt=>Lt.id===I.id?{...Lt,content:yt,isError:!0,errorType:Qt,statusCode:Bt}:Lt))}finally{v(!1)}},[Q,u,r,d]),dt=ut.useCallback(()=>{ot(Tt=>Tt+1)},[]),ht=ut.useCallback(()=>{X(null),x([]),b(""),z.current=new Map,M.current=new Map,O.current=new Map,w.current=null,dt(),console.log("🔄 Started new conversation thread")},[dt]);return{sendMessage:nt,isStreaming:m,streamedText:T,messages:A,setMessages:x,threadId:Q,resetThread:ht,animationKey:lt,triggerAnimation:dt}}function z4({workflows:u,agents:r,setInput:d}){const m=Dp(),v=[{title:"What's the latest news",subtitle:"in France?"},{title:"What's the weather like",subtitle:"in Tokyo?"},{title:"Analyze today's sales",subtitle:"performance vs yesterday"},{title:"Which menu items",subtitle:"are selling best this week?"},{title:"Show me staff",subtitle:"scheduling for this weekend"},{title:"What are the top",subtitle:"cost drivers this month?"},{title:"Generate a report",subtitle:"on food waste trends"},{title:"Which suppliers",subtitle:"need payment this week?"},{title:"Analyze customer",subtitle:"satisfaction scores"},{title:"Show me inventory",subtitle:"items running low"},{title:"What's the profit",subtitle:"margin by category?"},{title:"Which employees",subtitle:"need performance reviews?"},{title:"Analyze peak",subtitle:"hours and staffing needs"},{title:"Show me cash flow",subtitle:"projections for next month"},{title:"Which menu items",subtitle:"should we promote?"},{title:"Analyze delivery",subtitle:"vs dine-in performance"},{title:"What are the main",subtitle:"operational bottlenecks?"},{title:"Show me seasonal",subtitle:"trends in sales data"},{title:"Which equipment",subtitle:"needs maintenance soon?"},{title:"Analyze table",subtitle:"turnover rates"},{title:"What's the impact",subtitle:"of weather on sales?"},{title:"Show me employee",subtitle:"productivity metrics"},{title:"Write me an essay",subtitle:"about the future of AI"},{title:"Summarise",subtitle:"my sales data"}],T=(O,w)=>O+" "+w,b=r||{},A=u||{},x=Object.keys(b).length+Object.keys(A).length,z=Math.max(0,10-x),M=O=>{d(O)};return $.jsx("div",{className:"px-4 rounded-lg ",children:$.jsx("div",{className:"flex flex-wrap gap-2 overflow-y-auto justify-center",style:{maxHeight:"380px"},children:v.slice(0,z).map((O,w)=>$.jsx(Vu.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{delay:.2+(x+w)*.1},children:$.jsx(cv,{variant:"suggestion",className:m.suggestions,onClick:()=>M(T(O.title,O.subtitle)),children:$.jsxs($d,{children:[$.jsx("div",{className:"",children:$.jsx(fv,{variant:"suggestion",className:m.cardTitle,children:O.title})}),$.jsx("p",{className:m.cardSubtitle,children:O.subtitle})]})})},`placeholder-${w}`))})})}function mD(u){const r=new Date;return u.toDateString()===r.toDateString()}function O4(u){const r=new Date,d=new Date(r.getTime()-10080*60*1e3);return u>=d&&!mD(u)}function R4(u){const r=new Date,d=new Date(r.getTime()-720*60*60*1e3),m=new Date(r.getTime()-10080*60*1e3);return u>=d&&u<m}function w4(u){const r={today:[],last7Days:[],last30Days:[],older:[]};return u.forEach(d=>{const m=new Date(d.lastMessageAt);mD(m)?r.today.push(d):O4(m)?r.last7Days.push(d):R4(m)?r.last30Days.push(d):r.older.push(d)}),r}function U4({threads:u,selectedThreadId:r,onSelectThread:d,isLoading:m,error:v,onResetChat:T}){const[b,A]=ut.useState(!1),[x,z]=ut.useState(""),M=ut.useRef(null),O=u.find(dt=>dt.id===r),w=O?.title?pA(O.title):"",Q=x?u.filter(dt=>dt.title.toLowerCase().includes(x.toLowerCase())):u,X=w4(Q);ut.useEffect(()=>{function dt(ht){M.current&&!M.current.contains(ht.target)&&A(!1)}if(b)return document.addEventListener("mousedown",dt),()=>document.removeEventListener("mousedown",dt)},[b]);const lt=dt=>{d(dt),A(!1),z("")},ot=(dt,ht)=>ht.length===0?null:$.jsxs("div",{className:"mb-3",children:[$.jsx("div",{className:"px-3 py-1.5 text-xs font-semibold text-gray-500 dark:text-gray-400 uppercase tracking-wider",children:dt}),$.jsx("div",{className:"space-y-0.5",children:ht.map(Tt=>$.jsx("button",{onClick:()=>lt(Tt.id),className:yl("w-full text-left px-3 py-2 text-sm rounded-md transition-colors","hover:bg-gray-100 dark:hover:bg-gray-800",Tt.id===r&&"bg-gray-100 dark:bg-gray-800 font-medium"),children:$.jsx("div",{className:"font-medium text-gray-900 dark:text-gray-100 truncate",children:pA(Tt.title)||"Untitled Thread"})},Tt.id))})]},dt),nt=Dp();return $.jsxs("div",{ref:M,className:"relative p-4 pb-3",children:[$.jsxs("div",{className:"flex flex-row justify-between items-center gap-2 w-full",children:[$.jsx("span",{className:`flex-1 truncate ${nt.headerTitle}`,children:m?"Loading threads...":w}),$.jsxs("div",{className:"flex flex-row gap-2",children:[$.jsx("button",{"aria-label":"New chat",title:"New chat",className:nt.headerButtons,onClick:T,children:$.jsx(D3,{size:nt.headerButtonSize})}),$.jsx("button",{onClick:()=>A(!b),disabled:m,className:nt.headerButtons,"aria-label":"Select thread",children:$.jsx(C3,{size:nt.headerButtonSize})})]})]}),b&&$.jsxs("div",{className:yl("absolute z-50 mx-4 mt-2","bg-white dark:bg-gray-800","border border-gray-300 dark:border-gray-700","rounded-lg shadow-lg","max-h-96 overflow-hidden flex flex-col"),children:[$.jsx("div",{className:"p-3 border-b border-gray-200 dark:border-gray-700",children:$.jsx("input",{type:"text",placeholder:"Search threads...",value:x,onChange:dt=>z(dt.target.value),className:yl("w-full px-3 py-2 text-sm","bg-gray-50 dark:bg-gray-900","border border-gray-300 dark:border-gray-600","rounded-md","text-gray-900 dark:text-gray-100","placeholder:text-gray-500 dark:placeholder:text-gray-400","focus:outline-none focus:ring-2 focus:ring-blue-500 dark:focus:ring-blue-400"),autoFocus:!0})}),$.jsx("div",{className:"overflow-y-auto p-2",children:v?$.jsx("div",{className:"px-3 py-8 text-center text-sm text-red-600 dark:text-red-400",children:"Failed to load threads"}):Q.length===0?$.jsx("div",{className:"px-3 py-8 text-center text-sm text-gray-500 dark:text-gray-400",children:x?"No threads found":"No threads available"}):$.jsxs($.Fragment,{children:[ot("Today",X.today),ot("Last 7 Days",X.last7Days),ot("Last 30 Days",X.last30Days),ot("Older",X.older)]})})]})]})}async function _4(u,r,d,m=100,v=0){if(!u)throw new Error("Copilot ID is required");if(!r)throw new Error("User ID is required");if(!d)throw new Error("API key is required");const T=new URL(`http://localhost:8080/api/v1/copilot/${u}/threads/list`);T.searchParams.append("externalUserId",r),T.searchParams.append("limit",m.toString()),T.searchParams.append("offset",v.toString());const b={"Content-Type":"application/json",Authorization:`Bearer ${d}`};try{const A=await fetch(T.toString(),{method:"GET",headers:b});if(!A.ok){let M="";try{const Q=A.headers.get("content-type");if(Q&&Q.includes("application/json")){const X=await A.json();M=X.message||X.error||X.details||""}else{const X=await A.text();X&&(M=X)}}catch{}const O=`HTTP error! status: ${A.status}`,w=M?`${O}
295
+
296
+ ${M}`:O;throw new Error(w)}return(await A.json()).data?.threads||[]}catch(A){throw A instanceof Error?A:new Error("Failed to fetch threads list")}}async function N4(u,r,d,m,v=100,T=0){if(!u)throw new Error("Copilot ID is required");if(!r)throw new Error("Thread ID is required");if(!d)throw new Error("User ID is required");if(!m)throw new Error("API key is required");const b=new URL(`http://localhost:8080/api/v1/copilot/${u}/threads/${r}/messages`);b.searchParams.append("externalUserId",d),b.searchParams.append("limit",v.toString()),b.searchParams.append("offset",T.toString());const A={"Content-Type":"application/json",Authorization:`Bearer ${m}`};try{const x=await fetch(b.toString(),{method:"GET",headers:A});if(!x.ok){let O="";try{const X=x.headers.get("content-type");if(X&&X.includes("application/json")){const lt=await x.json();O=lt.message||lt.error||lt.details||""}else{const lt=await x.text();lt&&(O=lt)}}catch{}const w=`HTTP error! status: ${x.status}`,Q=O?`${w}
297
+
298
+ ${O}`:w;throw new Error(Q)}return(await x.json()).data?.messages||[]}catch(x){throw x instanceof Error?x:new Error("Failed to fetch thread messages")}}function j4(u){try{const r=JSON.parse(u);if(r.format!==2||!Array.isArray(r.parts))return{streamItems:[],content:u};const d=[];let m="";for(const v of r.parts)v.type==="text"&&v.text?m+=v.text:v.type==="tool-invocation"&&v.toolInvocation&&d.push({type:"tool-call",toolCall:{id:v.toolInvocation.toolCallId||`tool-${Date.now()}-${Math.random()}`,toolName:v.toolInvocation.toolName,args:v.toolInvocation.args,result:v.toolInvocation.result}});return{streamItems:d,content:m||r.content||""}}catch(r){return console.warn("Failed to parse V2 message content:",r),{streamItems:[],content:u}}}function B4(u){const{streamItems:r,content:d}=j4(u.content);return{id:u.id||`msg-${Date.now()}-${Math.random().toString(36).substr(2,9)}`,role:u.role,content:d,streamItems:r,timestamp:new Date(u.createdAt)}}function V4(u,r,d){const[m,v]=ut.useState([]),[T,b]=ut.useState(!1),[A,x]=ut.useState(null),[z,M]=ut.useState(null),[O,w]=ut.useState(!1),Q=ut.useCallback(async()=>{if(!(!u||!r||!d)){b(!0),x(null);try{const ot=await _4(u,r,d);v(ot)}catch(ot){console.error("Failed to load threads:",ot),x(ot instanceof Error?ot:new Error("Failed to load threads"))}finally{b(!1)}}},[u,r,d]);ut.useEffect(()=>{Q()},[Q]);const X=ut.useCallback(async ot=>{if(!u||!r||!d)throw new Error("Missing required parameters");w(!0),M(ot);try{return(await N4(u,ot,r,d)).map(B4)}catch(nt){throw console.error("Failed to load thread messages:",nt),nt}finally{w(!1)}},[u,r,d]),lt=ut.useCallback(()=>{M(null)},[]);return{threads:m,isLoadingThreads:T,threadsError:A,selectedThreadId:z,isLoadingMessages:O,selectThread:X,clearSelection:lt,loadThreads:Q}}const H4=({copilotId:u,userId:r,apiKey:d})=>{const{sendMessage:m,isStreaming:v,messages:T,setMessages:b,resetThread:A,animationKey:x,triggerAnimation:z,threadId:M}=M4(u||"",r,d),{threads:O,isLoadingThreads:w,threadsError:Q,selectThread:X,clearSelection:lt,loadThreads:ot}=V4(u||"",r,d),[nt,dt]=ut.useState(null),[ht,Tt]=ut.useState(""),St=ut.useRef(null),bt=ut.useRef(!1),Dt=ut.useRef(null),I=ut.useRef(!1);ut.useEffect(()=>{Dt.current===null&&M!==null&&(I.current=!0),Dt.current=M},[M]),ut.useEffect(()=>{let Lt,Gt;return bt.current&&!v&&(I.current&&M&&(Lt=setTimeout(async()=>{await ot(),dt(M),I.current=!1},1e3)),Gt=setTimeout(()=>{St.current&&St.current()},50)),bt.current=v,()=>{Lt&&clearTimeout(Lt),Gt&&clearTimeout(Gt)}},[v,ot]);const wt=Lt=>{Tt(Lt),setTimeout(()=>{St.current&&St.current()},50)},yt=Lt=>{St.current=Lt};ut.useEffect(()=>{const Lt=document.getElementById("sidebarai-container");if(!Lt)return;const Gt=new IntersectionObserver(j=>{j.forEach(F=>{F.isIntersecting&&T.length===0&&z()})},{threshold:.1});return Gt.observe(Lt),()=>{Gt.disconnect()}},[T.length,z]);const Qt=async Lt=>{try{const Gt=await X(Lt);b(Gt),dt(Lt),console.log("Loaded thread messages:",Gt)}catch(Gt){console.error("Failed to select thread:",Gt)}},Bt=async Lt=>{await m(Lt,nt||void 0),Tt("")},Vt=()=>{A(),lt(),dt(null),Dt.current=null,I.current=!1};return $.jsxs("div",{className:"flex flex-col h-full",children:[$.jsx(U4,{threads:O,selectedThreadId:nt,onSelectThread:Qt,isLoading:w,error:Q,onResetChat:Vt}),$.jsx("div",{className:"flex-1 overflow-y-auto max-w-3xl px-10 mx-auto w-full",children:$.jsx(C4,{messages:T,isStreaming:v,animationKey:x})}),$.jsxs("div",{className:"max-w-3xl px-10 mx-auto w-full",children:[T.length===0&&$.jsx(z4,{setInput:wt||(()=>{})},`suggestions-${x}`),$.jsx(O3,{onSendMessage:Bt,isStreaming:v,inputValue:ht,onInputChange:Tt,onFocusRequest:yt})]})]})},L4=({position:u,onMouseDown:r})=>{const d={position:"absolute",top:0,bottom:0,width:"6px",cursor:"col-resize",zIndex:10,transition:"background-color 0.2s ease",backgroundColor:"transparent",[u==="right"?"left":"right"]:0};return $.jsx("div",{style:d,onMouseDown:r,className:"resize-handle",title:"Drag to resize"})},q4=({position:u,initialWidth:r,onWidthChange:d,minWidth:m=300,maxWidth:v=.8})=>{const[T,b]=ut.useState(!1),A=ut.useRef(0),x=ut.useRef(0),z=ut.useRef("vw");ut.useEffect(()=>{z.current=r.includes("vw")?"vw":"px"},[r]);const M=ut.useCallback(X=>{const lt=u==="right"?A.current-X:X-A.current;let ot=x.current+lt;const nt=typeof v=="number"&&v<1?window.innerWidth*v:v;if(ot=Math.max(m,Math.min(ot,nt)),z.current==="vw"){const dt=ot/window.innerWidth*100;return`${Math.round(dt*100)/100}vw`}return`${Math.round(ot)}px`},[u,m,v]),O=ut.useCallback(X=>{X.preventDefault(),b(!0),A.current=X.clientX;const lt=document.getElementById("sidebarai-container");lt&&(x.current=lt.offsetWidth),lt?.classList.add("resizing")},[]),w=ut.useCallback(X=>{if(!T)return;const lt=M(X.clientX),ot=document.getElementById("sidebarai-container");ot&&(ot.style.width=lt),d?.(lt)},[T,M,d]),Q=ut.useCallback(()=>{if(!T)return;b(!1),document.getElementById("sidebarai-container")?.classList.remove("resizing")},[T]);return ut.useEffect(()=>{if(T)return document.addEventListener("mousemove",w),document.addEventListener("mouseup",Q),()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",Q)}},[T,w,Q]),{isDragging:T,onMouseDown:O}},dT=({config:u,onWidthChange:r})=>{const d=Dp(),{onMouseDown:m}=q4({position:u.position||"right",initialWidth:u.width||"45vw",onWidthChange:r});return $.jsxs("div",{style:{position:"relative",width:"100%",height:"100%"},className:d.sidebarContainer,children:[$.jsx(L4,{position:u.position||"right",onMouseDown:m}),$.jsx(H4,{userId:u.userId,copilotId:u.copilotId,apiKey:u.apiKey})]})};let nr=!1,Qc=null,hT=null,_a="right",jl="45vw",Xo=45,Qo="vw",mT,ar=null;const Hu="sidebarai-container",Zc={backgroundColor:"red",textColor:"blue",borderColor:"green",borderRadius:"20px",fontSize:"30px",fontFamily:"Arial, sans-serif",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",buttonColor:"white",buttonBgColor:"transparent",buttonHoverColor:"blue",transitionDuration:"0.5s"};function lr(u){const r=Zc.transitionDuration;u?document.body.style.transition=`margin ${r} ease`:document.body.style.transition=""}function pD(u){const r=parseFloat(u),d=u.includes("vw")?"vw":"px";Xo=r,Qo=d,jl=u;const m=document.getElementById(Hu);if(m){const v=m.style.transform;(v==="translateX(0px)"||v==="")&&(_a==="right"?document.body.style.marginRight=`${Xo}${Qo}`:document.body.style.marginLeft=`${Xo}${Qo}`)}}function Y4(u){const r=u.toLowerCase();return d=>{(/Mac|iPhone|iPod|iPad/.test(navigator.platform)?d.metaKey:d.ctrlKey)&&d.key.toLowerCase()===r&&(d.preventDefault(),pT())}}function yD(u){ar&&(document.removeEventListener("keydown",ar),ar=null),!(!u||!nr)&&(ar=Y4(u),document.addEventListener("keydown",ar),console.log(`⌨️ Keyboard shortcut registered: ${navigator.platform.includes("Mac")?"Cmd":"Ctrl"}+${u.toUpperCase()}`))}function gD(){ar&&(document.removeEventListener("keydown",ar),ar=null,console.log("⌨️ Keyboard shortcut unregistered"))}async function G4(u={}){if(nr){console.warn("SideNetAI SDK: Sidebar is already initialized");return}try{mT=u.apiKey;try{const x=await z3({projectId:u.copilotId,userId:u.userId,copilotId:u.copilotId,apiKey:u.apiKey});M3(x),console.log("✅ Tailwind config loaded from database")}catch(x){console.warn("⚠️ Failed to fetch config from database, using defaults:",x)}const r={position:u.position??"right",width:u.width??"45vw",userId:u.userId,copilotId:u.copilotId,apiKey:u.apiKey,defaultOpen:u.defaultOpen??!1},d=parseFloat(r.width),m=r.width.includes("vw")?"vw":"px";Xo=d,Qo=m,jl=`${Xo}${Qo}`,_a=r.position,hT=document.body.style.overflow||"";let v=document.getElementById(Hu);if(!v){v=document.createElement("div"),v.id=Hu;const x=r.defaultOpen?"translateX(0px)":`translateX(${r.position==="right"?"100%":"-100%"})`,z=Zc.transitionDuration??"0.3s";v.style.cssText=`
299
+ position: fixed;
300
+ top: 0;
301
+ height: 100vh;
302
+ z-index: 9999;
303
+ ${r.position}: 0;
304
+ width: ${d}${m};
305
+ transform: ${x};
306
+ transition: transform ${z} ease;
307
+ `,document.body.appendChild(v)}vD(v),r.defaultOpen&&(r.position==="right"?document.body.style.marginRight=`${d}${m}`:document.body.style.marginLeft=`${d}${m}`),Qc=qM.createRoot(v),Qc.render($.jsx(ut.StrictMode,{children:$.jsx(bA,{children:$.jsx(dT,{config:{position:r.position,width:`${d}${m}`,userId:r.userId,copilotId:r.copilotId,apiKey:r.apiKey,defaultOpen:r.defaultOpen},onWidthChange:pD})})})),nr=!0;const T=J1(),b=u.keyboardShortcut??T.keyboardShortcut;yD(b);const A=r.defaultOpen?"open":"hidden";console.log(`✅ SideNetAI SDK initialized successfully! (Sidebar starts ${A}, width: ${r.width}px)`),console.log("Use `updateSidenetConfig` to update the sidebar configuration dynamically. Use px or vw to set the width"),console.log("Use `refreshSidenetStyles` to refresh the sidebar styles from the database"),console.log("Use `toggleSidenet` to toggle the sidebar visibility"),console.log("Use `destroySidenet` to destroy the sidebar")}catch(r){console.error("❌ Error initializing SideNetAI SDK:",r)}}function X4(){Qc&&(Qc.unmount(),Qc=null);const u=document.getElementById(Hu);u&&u.remove(),document.body.style.marginRight="0px",document.body.style.marginLeft="0px",document.body.style.overflow=hT||"",gD(),nr=!1,console.log("🗑️ SideNetAI SDK destroyed")}function Q4(u){if(!nr){console.warn("SideNetAI SDK: Cannot update config - sidebar not initialized. Call initSidebar() first.");return}const r=document.getElementById(Hu);if(!r){console.warn("SideNetAI SDK: Container not found for config update");return}const d=r.style.transform,m=d==="translateX(0px)"||d==="";if(u.width!==void 0&&u.width!==jl){const v=jl;if(Xo=parseFloat(u.width),Qo=u.width.includes("vw")?"vw":"px",jl=u.width,r.style.width=jl,m){lr(!0),_a==="right"?document.body.style.marginRight=jl:document.body.style.marginLeft=jl;const T=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},T)}console.log(`📏 Sidebar width updated: ${v} → ${jl}`)}if(u.position!==void 0&&u.position!==_a){const v=_a;if(_a=u.position,r.style.left=_a==="left"?"0":"auto",r.style.right=_a==="right"?"0":"auto",m||(r.style.transform=_a==="right"?"translateX(100%)":"translateX(-100%)"),m){lr(!0),v==="right"?document.body.style.marginRight="0px":document.body.style.marginLeft="0px",_a==="right"?document.body.style.marginRight=`${Xo}${Qo}`:document.body.style.marginLeft=`${Xo}${Qo}`;const T=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},T)}console.log(`📍 Sidebar position updated: ${v} → ${_a}`)}u.apiKey!==void 0&&(mT=u.apiKey,console.log("🔑 API key updated")),u.keyboardShortcut!==void 0&&(u.keyboardShortcut===null?gD():yD(u.keyboardShortcut)),(u.position!==void 0||u.userId!==void 0||u.copilotId!==void 0||u.apiKey!==void 0||u.defaultOpen!==void 0)&&Qc&&Qc.render($.jsx(ut.StrictMode,{children:$.jsx(bA,{children:$.jsx(dT,{config:{position:_a,width:jl,userId:u.userId,copilotId:u.copilotId,apiKey:mT,defaultOpen:u.defaultOpen},onWidthChange:pD})})}))}function pT(){const u=document.getElementById(Hu);if(!u){console.warn("Sidebar container not found:",Hu);return}const r=u.style.transform;if(console.log("Current transform:",r),r==="translateX(0px)"||r===""){u.style.transform=_a==="right"?"translateX(100%)":"translateX(-100%)",lr(!0),_a==="right"?document.body.style.marginRight="0px":document.body.style.marginLeft="0px",document.body.style.overflow=hT||"";const m=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},m),console.log("🔽 Sidebar hidden")}else{u.style.transform="translateX(0px)",lr(!0),_a==="right"?document.body.style.marginRight=`${Xo}${Qo}`:document.body.style.marginLeft=`${Xo}${Qo}`;const m=parseFloat(Zc.transitionDuration)*1e3;setTimeout(()=>{lr(!1)},m),console.log(`🔼 Sidebar shown (width: ${jl})`)}}function Z4(){if(!nr){console.warn("SideNetAI SDK: Cannot trigger keyboard shortcut - sidebar not initialized");return}pT()}function vD(u){const r=Zc;u.style.setProperty("--sidebar-bg-color",r.backgroundColor),u.style.setProperty("--sidebar-text-color",r.textColor),u.style.setProperty("--sidebar-border-color",r.borderColor),u.style.setProperty("--sidebar-border-radius",r.borderRadius),u.style.setProperty("--sidebar-font-size",r.fontSize),u.style.setProperty("--sidebar-font-family",r.fontFamily),u.style.setProperty("--sidebar-box-shadow",r.boxShadow),u.style.setProperty("--sidebar-button-color",r.buttonColor),u.style.setProperty("--sidebar-button-bg",r.buttonBgColor),u.style.setProperty("--sidebar-button-hover",r.buttonHoverColor),console.log("🎨 Database styles applied to sidebar")}function k4(){if(!nr){console.warn("SideNetAI SDK: Cannot refresh styles - sidebar not initialized. Call initSidebar() first.");return}const u=document.getElementById(Hu);if(!u){console.warn("SideNetAI SDK: Container not found for style refresh");return}vD(u),console.log("🔄 Database styles refreshed")}function J4(){if(!nr){console.warn("SideNetAI SDK: Cannot refresh scrollbar detection - sidebar not initialized. Call initSidebar() first.");return}const u=document.getElementById(Hu);if(!u){console.warn("SideNetAI SDK: Container not found for scrollbar refresh");return}const r=u.style.transform;(r==="translateX(0px)"||r==="")&&(_a==="right"?document.body.style.marginRight=jl:document.body.style.marginLeft=jl,console.log("🔄 Sidebar positioning refreshed"))}Qa.Sidebar=dT,Qa.destroySidenet=X4,Qa.initSidenet=G4,Qa.refreshSidenetScrollbar=J4,Qa.refreshSidenetStyles=k4,Qa.toggleSidenet=pT,Qa.triggerKeyboardShortcut=Z4,Qa.updateSidenetConfig=Q4,Object.defineProperty(Qa,Symbol.toStringTag,{value:"Module"})}));