@oh-my-pi/omp-stats 15.2.1 → 15.2.3

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.
Files changed (2) hide show
  1. package/dist/client/index.js +104 -104
  2. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- var MP=Object.create;var{getPrototypeOf:FP,defineProperty:yw,getOwnPropertyNames:WP}=Object;var wP=Object.prototype.hasOwnProperty;function RP(Q){return this[Q]}var TP,zP,R0=(Q,J,q)=>{var Y=Q!=null&&typeof Q==="object";if(Y){var U=J?TP??=new WeakMap:zP??=new WeakMap,K=U.get(Q);if(K)return K}q=Q!=null?MP(FP(Q)):{};let H=J||!Q||!Q.__esModule?yw(q,"default",{value:Q,enumerable:!0}):q;for(let M of WP(Q))if(!wP.call(H,M))yw(H,M,{get:RP.bind(Q,M),enumerable:!0});if(Y)U.set(Q,H);return H};var Z2=(Q,J)=>()=>(J||Q((J={exports:{}}).exports,J),J.exports);var gw=Z2((_P)=>{(function(){function Q(){if(a=!1,i){var l=_P.unstable_now();N0=l;var J0=!0;try{$:{m=!1,o&&(o=!1,Q0(Y0),Y0=-1),g=!0;var K0=C;try{Z:{K(l);for(A=q(L);A!==null&&!(A.expirationTime>l&&M());){var d0=A.callback;if(typeof d0==="function"){A.callback=null,C=A.priorityLevel;var k0=d0(A.expirationTime<=l);if(l=_P.unstable_now(),typeof k0==="function"){A.callback=k0,K(l),J0=!0;break Z}A===q(L)&&Y(L),K(l)}else Y(L);A=q(L)}if(A!==null)J0=!0;else{var S=q(P);S!==null&&F(H,S.startTime-l),J0=!1}}break $}finally{A=null,C=K0,g=!1}J0=void 0}}finally{J0?w0():i=!1}}}function J(l,J0){var K0=l.length;l.push(J0);$:for(;0<K0;){var d0=K0-1>>>1,k0=l[d0];if(0<U(k0,J0))l[d0]=J0,l[K0]=k0,K0=d0;else break $}}function q(l){return l.length===0?null:l[0]}function Y(l){if(l.length===0)return null;var J0=l[0],K0=l.pop();if(K0!==J0){l[0]=K0;$:for(var d0=0,k0=l.length,S=k0>>>1;d0<S;){var n=2*(d0+1)-1,B0=l[n],H0=n+1,b0=l[H0];if(0>U(B0,K0))H0<k0&&0>U(b0,B0)?(l[d0]=b0,l[H0]=K0,d0=H0):(l[d0]=B0,l[n]=K0,d0=n);else if(H0<k0&&0>U(b0,K0))l[d0]=b0,l[H0]=K0,d0=H0;else break $}}return J0}function U(l,J0){var K0=l.sortIndex-J0.sortIndex;return K0!==0?K0:l.id-J0.id}function K(l){for(var J0=q(P);J0!==null;){if(J0.callback===null)Y(P);else if(J0.startTime<=l)Y(P),J0.sortIndex=J0.expirationTime,J(L,J0);else break;J0=q(P)}}function H(l){if(o=!1,K(l),!m)if(q(L)!==null)m=!0,i||(i=!0,w0());else{var J0=q(P);J0!==null&&F(H,J0.startTime-l)}}function M(){return a?!0:_P.unstable_now()-N0<d?!1:!0}function F(l,J0){Y0=s(function(){l(_P.unstable_now())},J0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),_P.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var R=performance;_P.unstable_now=function(){return R.now()}}else{var T=Date,z=T.now();_P.unstable_now=function(){return T.now()-z}}var L=[],P=[],I=1,A=null,C=3,g=!1,m=!1,o=!1,a=!1,s=typeof setTimeout==="function"?setTimeout:null,Q0=typeof clearTimeout==="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null,i=!1,Y0=-1,d=5,N0=-1;if(typeof p==="function")var w0=function(){p(Q)};else if(typeof MessageChannel<"u"){var z0=new MessageChannel,C0=z0.port2;z0.port1.onmessage=Q,w0=function(){C0.postMessage(null)}}else w0=function(){s(Q,0)};_P.unstable_IdlePriority=5,_P.unstable_ImmediatePriority=1,_P.unstable_LowPriority=4,_P.unstable_NormalPriority=3,_P.unstable_Profiling=null,_P.unstable_UserBlockingPriority=2,_P.unstable_cancelCallback=function(l){l.callback=null},_P.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):d=0<l?Math.floor(1000/l):5},_P.unstable_getCurrentPriorityLevel=function(){return C},_P.unstable_next=function(l){switch(C){case 1:case 2:case 3:var J0=3;break;default:J0=C}var K0=C;C=J0;try{return l()}finally{C=K0}},_P.unstable_requestPaint=function(){a=!0},_P.unstable_runWithPriority=function(l,J0){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var K0=C;C=l;try{return J0()}finally{C=K0}},_P.unstable_scheduleCallback=function(l,J0,K0){var d0=_P.unstable_now();switch(typeof K0==="object"&&K0!==null?(K0=K0.delay,K0=typeof K0==="number"&&0<K0?d0+K0:d0):K0=d0,l){case 1:var k0=-1;break;case 2:k0=250;break;case 5:k0=1073741823;break;case 4:k0=1e4;break;default:k0=5000}return k0=K0+k0,l={id:I++,callback:J0,priorityLevel:l,startTime:K0,expirationTime:k0,sortIndex:-1},K0>d0?(l.sortIndex=K0,J(P,l),q(L)===null&&l===q(P)&&(o?(Q0(Y0),Y0=-1):o=!0,F(H,K0-d0))):(l.sortIndex=k0,J(L,l),m||g||(m=!0,i||(i=!0,w0()))),l},_P.unstable_shouldYield=M,_P.unstable_wrapCallback=function(l){var J0=C;return function(){var K0=C;C=J0;try{return l.apply(this,arguments)}finally{C=K0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e1=Z2((LP,xJ)=>{(function(){function Q(E,f){Object.defineProperty(Y.prototype,E,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})}function J(E){if(E===null||typeof E!=="object")return null;return E=VQ&&E[VQ]||E["@@iterator"],typeof E==="function"?E:null}function q(E,f){E=(E=E.constructor)&&(E.displayName||E.name)||"ReactClass";var r=E+"."+f;G0[r]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",f,E),G0[r]=!0)}function Y(E,f,r){this.props=E,this.context=f,this.refs=B6,this.updater=r||O$}function U(){}function K(E,f,r){this.props=E,this.context=f,this.refs=B6,this.updater=r||O$}function H(){}function M(E){return""+E}function F(E){try{M(E);var f=!1}catch(q0){f=!0}if(f){f=console;var r=f.error,e=typeof Symbol==="function"&&Symbol.toStringTag&&E[Symbol.toStringTag]||E.constructor.name||"Object";return r.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",e),M(E)}}function R(E){if(E==null)return null;if(typeof E==="function")return E.$$typeof===Q7?null:E.displayName||E.name||null;if(typeof E==="string")return E;switch(E){case k0:return"Fragment";case n:return"Profiler";case S:return"StrictMode";case j1:return"Suspense";case I0:return"SuspenseList";case P4:return"Activity"}if(typeof E==="object")switch(typeof E.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),E.$$typeof){case d0:return"Portal";case H0:return E.displayName||"Context";case B0:return(E._context.displayName||"Context")+".Consumer";case b0:var f=E.render;return E=E.displayName,E||(E=f.displayName||f.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case f1:return f=E.displayName||null,f!==null?f:R(E.type)||"Memo";case N5:f=E._payload,E=E._init;try{return R(E(f))}catch(r){}}return null}function T(E){if(E===k0)return"<>";if(typeof E==="object"&&E!==null&&E.$$typeof===N5)return"<...>";try{var f=R(E);return f?"<"+f+">":"<...>"}catch(r){return"<...>"}}function z(){var E=D0.A;return E===null?null:E.getOwner()}function L(){return Error("react-stack-top-frame")}function P(E){if(D$.call(E,"key")){var f=Object.getOwnPropertyDescriptor(E,"key").get;if(f&&f.isReactWarning)return!1}return E.key!==void 0}function I(E,f){function r(){EQ||(EQ=!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)",f))}r.isReactWarning=!0,Object.defineProperty(E,"key",{get:r,configurable:!0})}function A(){var E=R(this.type);return _2[E]||(_2[E]=!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.")),E=this.props.ref,E!==void 0?E:null}function C(E,f,r,e,q0,E0){var P0=r.ref;return E={$$typeof:K0,type:E,key:f,props:r,_owner:e},(P0!==void 0?P0:null)!==null?Object.defineProperty(E,"ref",{enumerable:!1,get:A}):Object.defineProperty(E,"ref",{enumerable:!1,value:null}),E._store={},Object.defineProperty(E._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(E,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(E,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:q0}),Object.defineProperty(E,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:E0}),Object.freeze&&(Object.freeze(E.props),Object.freeze(E)),E}function g(E,f){return f=C(E.type,f,E.props,E._owner,E._debugStack,E._debugTask),E._store&&(f._store.validated=E._store.validated),f}function m(E){o(E)?E._store&&(E._store.validated=1):typeof E==="object"&&E!==null&&E.$$typeof===N5&&(E._payload.status==="fulfilled"?o(E._payload.value)&&E._payload.value._store&&(E._payload.value._store.validated=1):E._store&&(E._store.validated=1))}function o(E){return typeof E==="object"&&E!==null&&E.$$typeof===K0}function a(E){var f={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(r){return f[r]})}function s(E,f){return typeof E==="object"&&E!==null&&E.key!=null?(F(E.key),a(""+E.key)):f.toString(36)}function Q0(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status==="string"?E.then(H,H):(E.status="pending",E.then(function(f){E.status==="pending"&&(E.status="fulfilled",E.value=f)},function(f){E.status==="pending"&&(E.status="rejected",E.reason=f)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function p(E,f,r,e,q0){var E0=typeof E;if(E0==="undefined"||E0==="boolean")E=null;var P0=!1;if(E===null)P0=!0;else switch(E0){case"bigint":case"string":case"number":P0=!0;break;case"object":switch(E.$$typeof){case K0:case d0:P0=!0;break;case N5:return P0=E._init,p(P0(E._payload),f,r,e,q0)}}if(P0){P0=E,q0=q0(P0);var a0=e===""?"."+s(P0,0):e;return Y1(q0)?(r="",a0!=null&&(r=a0.replace(A$,"$&/")+"/"),p(q0,f,r,"",function(K5){return K5})):q0!=null&&(o(q0)&&(q0.key!=null&&(P0&&P0.key===q0.key||F(q0.key)),r=g(q0,r+(q0.key==null||P0&&P0.key===q0.key?"":(""+q0.key).replace(A$,"$&/")+"/")+a0),e!==""&&P0!=null&&o(P0)&&P0.key==null&&P0._store&&!P0._store.validated&&(r._store.validated=2),q0=r),f.push(q0)),1}if(P0=0,a0=e===""?".":e+":",Y1(E))for(var F0=0;F0<E.length;F0++)e=E[F0],E0=a0+s(e,F0),P0+=p(e,f,r,E0,q0);else if(F0=J(E),typeof F0==="function")for(F0===E.entries&&(j$||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),j$=!0),E=F0.call(E),F0=0;!(e=E.next()).done;)e=e.value,E0=a0+s(e,F0++),P0+=p(e,f,r,E0,q0);else if(E0==="object"){if(typeof E.then==="function")return p(Q0(E),f,r,e,q0);throw f=String(E),Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}return P0}function i(E,f,r){if(E==null)return E;var e=[],q0=0;return p(E,e,"","",function(E0){return f.call(r,E0,q0++)}),e}function Y0(E){if(E._status===-1){var f=E._ioInfo;f!=null&&(f.start=f.end=performance.now()),f=E._result;var r=f();if(r.then(function(q0){if(E._status===0||E._status===-1){E._status=1,E._result=q0;var E0=E._ioInfo;E0!=null&&(E0.end=performance.now()),r.status===void 0&&(r.status="fulfilled",r.value=q0)}},function(q0){if(E._status===0||E._status===-1){E._status=2,E._result=q0;var E0=E._ioInfo;E0!=null&&(E0.end=performance.now()),r.status===void 0&&(r.status="rejected",r.reason=q0)}}),f=E._ioInfo,f!=null){f.value=r;var e=r.displayName;typeof e==="string"&&(f.name=e)}E._status===-1&&(E._status=0,E._result=r)}if(E._status===1)return f=E._result,f===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
1
+ var HP=Object.create;var{getPrototypeOf:FP,defineProperty:yR,getOwnPropertyNames:WP}=Object;var RP=Object.prototype.hasOwnProperty;function zP(Q){return this[Q]}var LP,VP,z0=(Q,G,J)=>{var Y=Q!=null&&typeof Q==="object";if(Y){var U=G?LP??=new WeakMap:VP??=new WeakMap,B=U.get(Q);if(B)return B}J=Q!=null?HP(FP(Q)):{};let M=G||!Q||!Q.__esModule?yR(J,"default",{value:Q,enumerable:!0}):J;for(let H of WP(Q))if(!RP.call(M,H))yR(M,H,{get:zP.bind(Q,H),enumerable:!0});if(Y)U.set(Q,M);return M};var Z4=(Q,G)=>()=>(G||Q((G={exports:{}}).exports,G),G.exports);var gR=Z4((_P)=>{(function(){function Q(){if(i=!1,a){var l=_P.unstable_now();K0=l;var G0=!0;try{$:{m=!1,o&&(o=!1,Q0(Y0),Y0=-1),g=!0;var B0=C;try{Z:{B(l);for(D=J(T);D!==null&&!(D.expirationTime>l&&H());){var d0=D.callback;if(typeof d0==="function"){D.callback=null,C=D.priorityLevel;var k0=d0(D.expirationTime<=l);if(l=_P.unstable_now(),typeof k0==="function"){D.callback=k0,B(l),G0=!0;break Z}D===J(T)&&Y(T),B(l)}else Y(T);D=J(T)}if(D!==null)G0=!0;else{var S=J(P);S!==null&&F(M,S.startTime-l),G0=!1}}break $}finally{D=null,C=B0,g=!1}G0=void 0}}finally{G0?R0():a=!1}}}function G(l,G0){var B0=l.length;l.push(G0);$:for(;0<B0;){var d0=B0-1>>>1,k0=l[d0];if(0<U(k0,G0))l[d0]=G0,l[B0]=k0,B0=d0;else break $}}function J(l){return l.length===0?null:l[0]}function Y(l){if(l.length===0)return null;var G0=l[0],B0=l.pop();if(B0!==G0){l[0]=B0;$:for(var d0=0,k0=l.length,S=k0>>>1;d0<S;){var n=2*(d0+1)-1,N0=l[n],M0=n+1,b0=l[M0];if(0>U(N0,B0))M0<k0&&0>U(b0,N0)?(l[d0]=b0,l[M0]=B0,d0=M0):(l[d0]=N0,l[n]=B0,d0=n);else if(M0<k0&&0>U(b0,B0))l[d0]=b0,l[M0]=B0,d0=M0;else break $}}return G0}function U(l,G0){var B0=l.sortIndex-G0.sortIndex;return B0!==0?B0:l.id-G0.id}function B(l){for(var G0=J(P);G0!==null;){if(G0.callback===null)Y(P);else if(G0.startTime<=l)Y(P),G0.sortIndex=G0.expirationTime,G(T,G0);else break;G0=J(P)}}function M(l){if(o=!1,B(l),!m)if(J(T)!==null)m=!0,a||(a=!0,R0());else{var G0=J(P);G0!==null&&F(M,G0.startTime-l)}}function H(){return i?!0:_P.unstable_now()-K0<d?!1:!0}function F(l,G0){Y0=s(function(){l(_P.unstable_now())},G0)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),_P.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var z=performance;_P.unstable_now=function(){return z.now()}}else{var L=Date,V=L.now();_P.unstable_now=function(){return L.now()-V}}var T=[],P=[],I=1,D=null,C=3,g=!1,m=!1,o=!1,i=!1,s=typeof setTimeout==="function"?setTimeout:null,Q0=typeof clearTimeout==="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null,a=!1,Y0=-1,d=5,K0=-1;if(typeof p==="function")var R0=function(){p(Q)};else if(typeof MessageChannel<"u"){var V0=new MessageChannel,C0=V0.port2;V0.port1.onmessage=Q,R0=function(){C0.postMessage(null)}}else R0=function(){s(Q,0)};_P.unstable_IdlePriority=5,_P.unstable_ImmediatePriority=1,_P.unstable_LowPriority=4,_P.unstable_NormalPriority=3,_P.unstable_Profiling=null,_P.unstable_UserBlockingPriority=2,_P.unstable_cancelCallback=function(l){l.callback=null},_P.unstable_forceFrameRate=function(l){0>l||125<l?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):d=0<l?Math.floor(1000/l):5},_P.unstable_getCurrentPriorityLevel=function(){return C},_P.unstable_next=function(l){switch(C){case 1:case 2:case 3:var G0=3;break;default:G0=C}var B0=C;C=G0;try{return l()}finally{C=B0}},_P.unstable_requestPaint=function(){i=!0},_P.unstable_runWithPriority=function(l,G0){switch(l){case 1:case 2:case 3:case 4:case 5:break;default:l=3}var B0=C;C=l;try{return G0()}finally{C=B0}},_P.unstable_scheduleCallback=function(l,G0,B0){var d0=_P.unstable_now();switch(typeof B0==="object"&&B0!==null?(B0=B0.delay,B0=typeof B0==="number"&&0<B0?d0+B0:d0):B0=d0,l){case 1:var k0=-1;break;case 2:k0=250;break;case 5:k0=1073741823;break;case 4:k0=1e4;break;default:k0=5000}return k0=B0+k0,l={id:I++,callback:G0,priorityLevel:l,startTime:B0,expirationTime:k0,sortIndex:-1},B0>d0?(l.sortIndex=B0,G(P,l),J(T)===null&&l===J(P)&&(o?(Q0(Y0),Y0=-1):o=!0,F(M,B0-d0))):(l.sortIndex=k0,G(T,l),m||g||(m=!0,a||(a=!0,R0()))),l},_P.unstable_shouldYield=H,_P.unstable_wrapCallback=function(l){var G0=C;return function(){var B0=C;C=G0;try{return l.apply(this,arguments)}finally{C=B0}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var e5=Z4((TP,hJ)=>{(function(){function Q(w,f){Object.defineProperty(Y.prototype,w,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})}function G(w){if(w===null||typeof w!=="object")return null;return w=Eq&&w[Eq]||w["@@iterator"],typeof w==="function"?w:null}function J(w,f){w=(w=w.constructor)&&(w.displayName||w.name)||"ReactClass";var r=w+"."+f;q0[r]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",f,w),q0[r]=!0)}function Y(w,f,r){this.props=w,this.context=f,this.refs=N6,this.updater=r||O7}function U(){}function B(w,f,r){this.props=w,this.context=f,this.refs=N6,this.updater=r||O7}function M(){}function H(w){return""+w}function F(w){try{H(w);var f=!1}catch(J0){f=!0}if(f){f=console;var r=f.error,e=typeof Symbol==="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return r.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",e),H(w)}}function z(w){if(w==null)return null;if(typeof w==="function")return w.$$typeof===QZ?null:w.displayName||w.name||null;if(typeof w==="string")return w;switch(w){case k0:return"Fragment";case n:return"Profiler";case S:return"StrictMode";case A5:return"Suspense";case I0:return"SuspenseList";case P1:return"Activity"}if(typeof w==="object")switch(typeof w.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case d0:return"Portal";case M0:return w.displayName||"Context";case N0:return(w._context.displayName||"Context")+".Consumer";case b0:var f=w.render;return w=w.displayName,w||(w=f.displayName||f.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case f5:return f=w.displayName||null,f!==null?f:z(w.type)||"Memo";case K8:f=w._payload,w=w._init;try{return z(w(f))}catch(r){}}return null}function L(w){if(w===k0)return"<>";if(typeof w==="object"&&w!==null&&w.$$typeof===K8)return"<...>";try{var f=z(w);return f?"<"+f+">":"<...>"}catch(r){return"<...>"}}function V(){var w=j0.A;return w===null?null:w.getOwner()}function T(){return Error("react-stack-top-frame")}function P(w){if(j7.call(w,"key")){var f=Object.getOwnPropertyDescriptor(w,"key").get;if(f&&f.isReactWarning)return!1}return w.key!==void 0}function I(w,f){function r(){wq||(wq=!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)",f))}r.isReactWarning=!0,Object.defineProperty(w,"key",{get:r,configurable:!0})}function D(){var w=z(this.type);return _4[w]||(_4[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function C(w,f,r,e,J0,w0){var P0=r.ref;return w={$$typeof:B0,type:w,key:f,props:r,_owner:e},(P0!==void 0?P0:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:D}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:J0}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:w0}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function g(w,f){return f=C(w.type,f,w.props,w._owner,w._debugStack,w._debugTask),w._store&&(f._store.validated=w._store.validated),f}function m(w){o(w)?w._store&&(w._store.validated=1):typeof w==="object"&&w!==null&&w.$$typeof===K8&&(w._payload.status==="fulfilled"?o(w._payload.value)&&w._payload.value._store&&(w._payload.value._store.validated=1):w._store&&(w._store.validated=1))}function o(w){return typeof w==="object"&&w!==null&&w.$$typeof===B0}function i(w){var f={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(r){return f[r]})}function s(w,f){return typeof w==="object"&&w!==null&&w.key!=null?(F(w.key),i(""+w.key)):f.toString(36)}function Q0(w){switch(w.status){case"fulfilled":return w.value;case"rejected":throw w.reason;default:switch(typeof w.status==="string"?w.then(M,M):(w.status="pending",w.then(function(f){w.status==="pending"&&(w.status="fulfilled",w.value=f)},function(f){w.status==="pending"&&(w.status="rejected",w.reason=f)})),w.status){case"fulfilled":return w.value;case"rejected":throw w.reason}}throw w}function p(w,f,r,e,J0){var w0=typeof w;if(w0==="undefined"||w0==="boolean")w=null;var P0=!1;if(w===null)P0=!0;else switch(w0){case"bigint":case"string":case"number":P0=!0;break;case"object":switch(w.$$typeof){case B0:case d0:P0=!0;break;case K8:return P0=w._init,p(P0(w._payload),f,r,e,J0)}}if(P0){P0=w,J0=J0(P0);var i0=e===""?"."+s(P0,0):e;return Y5(J0)?(r="",i0!=null&&(r=i0.replace(D7,"$&/")+"/"),p(J0,f,r,"",function(B8){return B8})):J0!=null&&(o(J0)&&(J0.key!=null&&(P0&&P0.key===J0.key||F(J0.key)),r=g(J0,r+(J0.key==null||P0&&P0.key===J0.key?"":(""+J0.key).replace(D7,"$&/")+"/")+i0),e!==""&&P0!=null&&o(P0)&&P0.key==null&&P0._store&&!P0._store.validated&&(r._store.validated=2),J0=r),f.push(J0)),1}if(P0=0,i0=e===""?".":e+":",Y5(w))for(var F0=0;F0<w.length;F0++)e=w[F0],w0=i0+s(e,F0),P0+=p(e,f,r,w0,J0);else if(F0=G(w),typeof F0==="function")for(F0===w.entries&&(A7||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),A7=!0),w=F0.call(w),F0=0;!(e=w.next()).done;)e=e.value,w0=i0+s(e,F0++),P0+=p(e,f,r,w0,J0);else if(w0==="object"){if(typeof w.then==="function")return p(Q0(w),f,r,e,J0);throw f=String(w),Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}return P0}function a(w,f,r){if(w==null)return w;var e=[],J0=0;return p(w,e,"","",function(w0){return f.call(r,w0,J0++)}),e}function Y0(w){if(w._status===-1){var f=w._ioInfo;f!=null&&(f.start=f.end=performance.now()),f=w._result;var r=f();if(r.then(function(J0){if(w._status===0||w._status===-1){w._status=1,w._result=J0;var w0=w._ioInfo;w0!=null&&(w0.end=performance.now()),r.status===void 0&&(r.status="fulfilled",r.value=J0)}},function(J0){if(w._status===0||w._status===-1){w._status=2,w._result=J0;var w0=w._ioInfo;w0!=null&&(w0.end=performance.now()),r.status===void 0&&(r.status="rejected",r.reason=J0)}}),f=w._ioInfo,f!=null){f.value=r;var e=r.displayName;typeof e==="string"&&(f.name=e)}w._status===-1&&(w._status=0,w._result=r)}if(w._status===1)return f=w._result,f===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
2
2
 
3
3
  Your code should look like:
4
4
  const MyComponent = lazy(() => import('./MyComponent'))
@@ -6,71 +6,71 @@ Your code should look like:
6
6
  Did you accidentally put curly braces around the import?`,f),"default"in f||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
7
7
 
8
8
  Your code should look like:
9
- const MyComponent = lazy(() => import('./MyComponent'))`,f),f.default;throw E._result}function d(){var E=D0.H;return E===null&&console.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:
9
+ const MyComponent = lazy(() => import('./MyComponent'))`,f),f.default;throw w._result}function d(){var w=j0.H;return w===null&&console.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:
10
10
  1. You might have mismatching versions of React and the renderer (such as React DOM)
11
11
  2. You might be breaking the Rules of Hooks
12
12
  3. You might have more than one copy of React in the same app
13
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),E}function N0(){D0.asyncTransitions--}function w0(E){if(V2===null)try{var f=("require"+Math.random()).slice(0,7);V2=(xJ&&xJ[f]).call(xJ,"timers").setImmediate}catch(r){V2=function(e){PQ===!1&&(PQ=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var q0=new MessageChannel;q0.port1.onmessage=e,q0.port2.postMessage(void 0)}}return V2(E)}function z0(E){return 1<E.length&&typeof AggregateError==="function"?AggregateError(E):E[0]}function C0(E,f){f!==E2-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),E2=f}function l(E,f,r){var e=D0.actQueue;if(e!==null)if(e.length!==0)try{J0(e),w0(function(){return l(E,f,r)});return}catch(q0){D0.thrownErrors.push(q0)}else D0.actQueue=null;0<D0.thrownErrors.length?(e=z0(D0.thrownErrors),D0.thrownErrors.length=0,r(e)):f(E)}function J0(E){if(!C2){C2=!0;var f=0;try{for(;f<E.length;f++){var r=E[f];do{D0.didUsePromise=!1;var e=r(!1);if(e!==null){if(D0.didUsePromise){E[f]=r,E.splice(0,f);return}r=e}else break}while(1)}E.length=0}catch(q0){E.splice(0,f+1),D0.thrownErrors.push(q0)}finally{C2=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var K0=Symbol.for("react.transitional.element"),d0=Symbol.for("react.portal"),k0=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),B0=Symbol.for("react.consumer"),H0=Symbol.for("react.context"),b0=Symbol.for("react.forward_ref"),j1=Symbol.for("react.suspense"),I0=Symbol.for("react.suspense_list"),f1=Symbol.for("react.memo"),N5=Symbol.for("react.lazy"),P4=Symbol.for("react.activity"),VQ=Symbol.iterator,G0={},O$={isMounted:function(){return!1},enqueueForceUpdate:function(E){q(E,"forceUpdate")},enqueueReplaceState:function(E){q(E,"replaceState")},enqueueSetState:function(E){q(E,"setState")}},z2=Object.assign,B6={};Object.freeze(B6),Y.prototype.isReactComponent={},Y.prototype.setState=function(E,f){if(typeof E!=="object"&&typeof E!=="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,f,"setState")},Y.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};var s1={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(M6 in s1)s1.hasOwnProperty(M6)&&Q(M6,s1[M6]);U.prototype=Y.prototype,s1=K.prototype=new U,s1.constructor=K,z2(s1,Y.prototype),s1.isPureReactComponent=!0;var Y1=Array.isArray,Q7=Symbol.for("react.client.reference"),D0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},D$=Object.prototype.hasOwnProperty,H1=console.createTask?console.createTask:function(){return null};s1={react_stack_bottom_frame:function(E){return E()}};var EQ,m4,_2={},L2=s1.react_stack_bottom_frame.bind(s1,L)(),Z3=H1(T(L)),j$=!1,A$=/\/+/g,H6=typeof reportError==="function"?reportError:function(E){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var f=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E==="object"&&E!==null&&typeof E.message==="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(f))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",E);return}console.error(E)},PQ=!1,V2=null,E2=0,P2=!1,C2=!1,G7=typeof queueMicrotask==="function"?function(E){queueMicrotask(function(){return queueMicrotask(E)})}:w0;s1=Object.freeze({__proto__:null,c:function(E){return d().useMemoCache(E)}});var M6={map:i,forEach:function(E,f,r){i(E,function(){f.apply(this,arguments)},r)},count:function(E){var f=0;return i(E,function(){f++}),f},toArray:function(E){return i(E,function(f){return f})||[]},only:function(E){if(!o(E))throw Error("React.Children.only expected to receive a single React element child.");return E}};LP.Activity=P4,LP.Children=M6,LP.Component=Y,LP.Fragment=k0,LP.Profiler=n,LP.PureComponent=K,LP.StrictMode=S,LP.Suspense=j1,LP.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=D0,LP.__COMPILER_RUNTIME=s1,LP.act=function(E){var f=D0.actQueue,r=E2;E2++;var e=D0.actQueue=f!==null?f:[],q0=!1;try{var E0=E()}catch(F0){D0.thrownErrors.push(F0)}if(0<D0.thrownErrors.length)throw C0(f,r),E=z0(D0.thrownErrors),D0.thrownErrors.length=0,E;if(E0!==null&&typeof E0==="object"&&typeof E0.then==="function"){var P0=E0;return G7(function(){q0||P2||(P2=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(F0,K5){q0=!0,P0.then(function(d5){if(C0(f,r),r===0){try{J0(e),w0(function(){return l(d5,F0,K5)})}catch(J7){D0.thrownErrors.push(J7)}if(0<D0.thrownErrors.length){var F6=z0(D0.thrownErrors);D0.thrownErrors.length=0,K5(F6)}}else F0(d5)},function(d5){C0(f,r),0<D0.thrownErrors.length?(d5=z0(D0.thrownErrors),D0.thrownErrors.length=0,K5(d5)):K5(d5)})}}}var a0=E0;if(C0(f,r),r===0&&(J0(e),e.length!==0&&G7(function(){q0||P2||(P2=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),D0.actQueue=null),0<D0.thrownErrors.length)throw E=z0(D0.thrownErrors),D0.thrownErrors.length=0,E;return{then:function(F0,K5){q0=!0,r===0?(D0.actQueue=e,w0(function(){return l(a0,F0,K5)})):F0(a0)}}},LP.cache=function(E){return function(){return E.apply(null,arguments)}},LP.cacheSignal=function(){return null},LP.captureOwnerStack=function(){var E=D0.getCurrentStack;return E===null?null:E()},LP.cloneElement=function(E,f,r){if(E===null||E===void 0)throw Error("The argument must be a React element, but you passed "+E+".");var e=z2({},E.props),q0=E.key,E0=E._owner;if(f!=null){var P0;$:{if(D$.call(f,"ref")&&(P0=Object.getOwnPropertyDescriptor(f,"ref").get)&&P0.isReactWarning){P0=!1;break $}P0=f.ref!==void 0}P0&&(E0=z()),P(f)&&(F(f.key),q0=""+f.key);for(a0 in f)!D$.call(f,a0)||a0==="key"||a0==="__self"||a0==="__source"||a0==="ref"&&f.ref===void 0||(e[a0]=f[a0])}var a0=arguments.length-2;if(a0===1)e.children=r;else if(1<a0){P0=Array(a0);for(var F0=0;F0<a0;F0++)P0[F0]=arguments[F0+2];e.children=P0}e=C(E.type,q0,e,E0,E._debugStack,E._debugTask);for(q0=2;q0<arguments.length;q0++)m(arguments[q0]);return e},LP.createContext=function(E){return E={$$typeof:H0,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:B0,_context:E},E._currentRenderer=null,E._currentRenderer2=null,E},LP.createElement=function(E,f,r){for(var e=2;e<arguments.length;e++)m(arguments[e]);e={};var q0=null;if(f!=null)for(F0 in m4||!("__self"in f)||"key"in f||(m4=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),P(f)&&(F(f.key),q0=""+f.key),f)D$.call(f,F0)&&F0!=="key"&&F0!=="__self"&&F0!=="__source"&&(e[F0]=f[F0]);var E0=arguments.length-2;if(E0===1)e.children=r;else if(1<E0){for(var P0=Array(E0),a0=0;a0<E0;a0++)P0[a0]=arguments[a0+2];Object.freeze&&Object.freeze(P0),e.children=P0}if(E&&E.defaultProps)for(F0 in E0=E.defaultProps,E0)e[F0]===void 0&&(e[F0]=E0[F0]);q0&&I(e,typeof E==="function"?E.displayName||E.name||"Unknown":E);var F0=1e4>D0.recentlyCreatedOwnerStacks++;return C(E,q0,e,z(),F0?Error("react-stack-top-frame"):L2,F0?H1(T(E)):Z3)},LP.createRef=function(){var E={current:null};return Object.seal(E),E},LP.forwardRef=function(E){E!=null&&E.$$typeof===f1?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof E!=="function"?console.error("forwardRef requires a render function but was given %s.",E===null?"null":typeof E):E.length!==0&&E.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",E.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),E!=null&&E.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var f={$$typeof:b0,render:E},r;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(e){r=e,E.name||E.displayName||(Object.defineProperty(E,"name",{value:e}),E.displayName=e)}}),f},LP.isValidElement=o,LP.lazy=function(E){E={_status:-1,_result:E};var f={$$typeof:N5,_payload:E,_init:Y0},r={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return E._ioInfo=r,f._debugInfo=[{awaited:r}],f},LP.memo=function(E,f){E==null&&console.error("memo: The first argument must be a component. Instead received: %s",E===null?"null":typeof E),f={$$typeof:f1,type:E,compare:f===void 0?null:f};var r;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(e){r=e,E.name||E.displayName||(Object.defineProperty(E,"name",{value:e}),E.displayName=e)}}),f},LP.startTransition=function(E){var f=D0.T,r={};r._updatedFibers=new Set,D0.T=r;try{var e=E(),q0=D0.S;q0!==null&&q0(r,e),typeof e==="object"&&e!==null&&typeof e.then==="function"&&(D0.asyncTransitions++,e.then(N0,N0),e.then(H,H6))}catch(E0){H6(E0)}finally{f===null&&r._updatedFibers&&(E=r._updatedFibers.size,r._updatedFibers.clear(),10<E&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),f!==null&&r.types!==null&&(f.types!==null&&f.types!==r.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=r.types),D0.T=f}},LP.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},LP.use=function(E){return d().use(E)},LP.useActionState=function(E,f,r){return d().useActionState(E,f,r)},LP.useCallback=function(E,f){return d().useCallback(E,f)},LP.useContext=function(E){var f=d();return E.$$typeof===B0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),f.useContext(E)},LP.useDebugValue=function(E,f){return d().useDebugValue(E,f)},LP.useDeferredValue=function(E,f){return d().useDeferredValue(E,f)},LP.useEffect=function(E,f){return E==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useEffect(E,f)},LP.useEffectEvent=function(E){return d().useEffectEvent(E)},LP.useId=function(){return d().useId()},LP.useImperativeHandle=function(E,f,r){return d().useImperativeHandle(E,f,r)},LP.useInsertionEffect=function(E,f){return E==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useInsertionEffect(E,f)},LP.useLayoutEffect=function(E,f){return E==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useLayoutEffect(E,f)},LP.useMemo=function(E,f){return d().useMemo(E,f)},LP.useOptimistic=function(E,f){return d().useOptimistic(E,f)},LP.useReducer=function(E,f,r){return d().useReducer(E,f,r)},LP.useRef=function(E){return d().useRef(E)},LP.useState=function(E){return d().useState(E)},LP.useSyncExternalStore=function(E,f,r){return d().useSyncExternalStore(E,f,r)},LP.useTransition=function(){return d().useTransition()},LP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var hw=Z2((VP)=>{var fU=R0(e1());(function(){function Q(){}function J(T){return""+T}function q(T,z,L){var P=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{J(P);var I=!1}catch(A){I=!0}return I&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&P[Symbol.toStringTag]||P.constructor.name||"Object"),J(P)),{$$typeof:F,key:P==null?null:""+P,children:T,containerInfo:z,implementation:L}}function Y(T,z){if(T==="font")return"";if(typeof z==="string")return z==="use-credentials"?z:""}function U(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":'something with type "'+typeof T+'"'}function K(T){return T===null?"`null`":T===void 0?"`undefined`":T===""?"an empty string":typeof T==="string"?JSON.stringify(T):typeof T==="number"?"`"+T+"`":'something with type "'+typeof T+'"'}function H(){var T=R.H;return T===null&&console.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:
13
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),w}function K0(){j0.asyncTransitions--}function R0(w){if(E4===null)try{var f=("require"+Math.random()).slice(0,7);E4=(hJ&&hJ[f]).call(hJ,"timers").setImmediate}catch(r){E4=function(e){Pq===!1&&(Pq=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var J0=new MessageChannel;J0.port1.onmessage=e,J0.port2.postMessage(void 0)}}return E4(w)}function V0(w){return 1<w.length&&typeof AggregateError==="function"?AggregateError(w):w[0]}function C0(w,f){f!==w4-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),w4=f}function l(w,f,r){var e=j0.actQueue;if(e!==null)if(e.length!==0)try{G0(e),R0(function(){return l(w,f,r)});return}catch(J0){j0.thrownErrors.push(J0)}else j0.actQueue=null;0<j0.thrownErrors.length?(e=V0(j0.thrownErrors),j0.thrownErrors.length=0,r(e)):f(w)}function G0(w){if(!C4){C4=!0;var f=0;try{for(;f<w.length;f++){var r=w[f];do{j0.didUsePromise=!1;var e=r(!1);if(e!==null){if(j0.didUsePromise){w[f]=r,w.splice(0,f);return}r=e}else break}while(1)}w.length=0}catch(J0){w.splice(0,f+1),j0.thrownErrors.push(J0)}finally{C4=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var B0=Symbol.for("react.transitional.element"),d0=Symbol.for("react.portal"),k0=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),N0=Symbol.for("react.consumer"),M0=Symbol.for("react.context"),b0=Symbol.for("react.forward_ref"),A5=Symbol.for("react.suspense"),I0=Symbol.for("react.suspense_list"),f5=Symbol.for("react.memo"),K8=Symbol.for("react.lazy"),P1=Symbol.for("react.activity"),Eq=Symbol.iterator,q0={},O7={isMounted:function(){return!1},enqueueForceUpdate:function(w){J(w,"forceUpdate")},enqueueReplaceState:function(w){J(w,"replaceState")},enqueueSetState:function(w){J(w,"setState")}},V4=Object.assign,N6={};Object.freeze(N6),Y.prototype.isReactComponent={},Y.prototype.setState=function(w,f){if(typeof w!=="object"&&typeof w!=="function"&&w!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,f,"setState")},Y.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};var s5={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(H6 in s5)s5.hasOwnProperty(H6)&&Q(H6,s5[H6]);U.prototype=Y.prototype,s5=B.prototype=new U,s5.constructor=B,V4(s5,Y.prototype),s5.isPureReactComponent=!0;var Y5=Array.isArray,QZ=Symbol.for("react.client.reference"),j0={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},j7=Object.prototype.hasOwnProperty,M5=console.createTask?console.createTask:function(){return null};s5={react_stack_bottom_frame:function(w){return w()}};var wq,m1,_4={},T4=s5.react_stack_bottom_frame.bind(s5,T)(),ZX=M5(L(T)),A7=!1,D7=/\/+/g,M6=typeof reportError==="function"?reportError:function(w){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var f=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w),error:w});if(!window.dispatchEvent(f))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",w);return}console.error(w)},Pq=!1,E4=null,w4=0,P4=!1,C4=!1,qZ=typeof queueMicrotask==="function"?function(w){queueMicrotask(function(){return queueMicrotask(w)})}:R0;s5=Object.freeze({__proto__:null,c:function(w){return d().useMemoCache(w)}});var H6={map:a,forEach:function(w,f,r){a(w,function(){f.apply(this,arguments)},r)},count:function(w){var f=0;return a(w,function(){f++}),f},toArray:function(w){return a(w,function(f){return f})||[]},only:function(w){if(!o(w))throw Error("React.Children.only expected to receive a single React element child.");return w}};TP.Activity=P1,TP.Children=H6,TP.Component=Y,TP.Fragment=k0,TP.Profiler=n,TP.PureComponent=B,TP.StrictMode=S,TP.Suspense=A5,TP.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j0,TP.__COMPILER_RUNTIME=s5,TP.act=function(w){var f=j0.actQueue,r=w4;w4++;var e=j0.actQueue=f!==null?f:[],J0=!1;try{var w0=w()}catch(F0){j0.thrownErrors.push(F0)}if(0<j0.thrownErrors.length)throw C0(f,r),w=V0(j0.thrownErrors),j0.thrownErrors.length=0,w;if(w0!==null&&typeof w0==="object"&&typeof w0.then==="function"){var P0=w0;return qZ(function(){J0||P4||(P4=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(F0,B8){J0=!0,P0.then(function(d8){if(C0(f,r),r===0){try{G0(e),R0(function(){return l(d8,F0,B8)})}catch(GZ){j0.thrownErrors.push(GZ)}if(0<j0.thrownErrors.length){var F6=V0(j0.thrownErrors);j0.thrownErrors.length=0,B8(F6)}}else F0(d8)},function(d8){C0(f,r),0<j0.thrownErrors.length?(d8=V0(j0.thrownErrors),j0.thrownErrors.length=0,B8(d8)):B8(d8)})}}}var i0=w0;if(C0(f,r),r===0&&(G0(e),e.length!==0&&qZ(function(){J0||P4||(P4=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),j0.actQueue=null),0<j0.thrownErrors.length)throw w=V0(j0.thrownErrors),j0.thrownErrors.length=0,w;return{then:function(F0,B8){J0=!0,r===0?(j0.actQueue=e,R0(function(){return l(i0,F0,B8)})):F0(i0)}}},TP.cache=function(w){return function(){return w.apply(null,arguments)}},TP.cacheSignal=function(){return null},TP.captureOwnerStack=function(){var w=j0.getCurrentStack;return w===null?null:w()},TP.cloneElement=function(w,f,r){if(w===null||w===void 0)throw Error("The argument must be a React element, but you passed "+w+".");var e=V4({},w.props),J0=w.key,w0=w._owner;if(f!=null){var P0;$:{if(j7.call(f,"ref")&&(P0=Object.getOwnPropertyDescriptor(f,"ref").get)&&P0.isReactWarning){P0=!1;break $}P0=f.ref!==void 0}P0&&(w0=V()),P(f)&&(F(f.key),J0=""+f.key);for(i0 in f)!j7.call(f,i0)||i0==="key"||i0==="__self"||i0==="__source"||i0==="ref"&&f.ref===void 0||(e[i0]=f[i0])}var i0=arguments.length-2;if(i0===1)e.children=r;else if(1<i0){P0=Array(i0);for(var F0=0;F0<i0;F0++)P0[F0]=arguments[F0+2];e.children=P0}e=C(w.type,J0,e,w0,w._debugStack,w._debugTask);for(J0=2;J0<arguments.length;J0++)m(arguments[J0]);return e},TP.createContext=function(w){return w={$$typeof:M0,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null},w.Provider=w,w.Consumer={$$typeof:N0,_context:w},w._currentRenderer=null,w._currentRenderer2=null,w},TP.createElement=function(w,f,r){for(var e=2;e<arguments.length;e++)m(arguments[e]);e={};var J0=null;if(f!=null)for(F0 in m1||!("__self"in f)||"key"in f||(m1=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),P(f)&&(F(f.key),J0=""+f.key),f)j7.call(f,F0)&&F0!=="key"&&F0!=="__self"&&F0!=="__source"&&(e[F0]=f[F0]);var w0=arguments.length-2;if(w0===1)e.children=r;else if(1<w0){for(var P0=Array(w0),i0=0;i0<w0;i0++)P0[i0]=arguments[i0+2];Object.freeze&&Object.freeze(P0),e.children=P0}if(w&&w.defaultProps)for(F0 in w0=w.defaultProps,w0)e[F0]===void 0&&(e[F0]=w0[F0]);J0&&I(e,typeof w==="function"?w.displayName||w.name||"Unknown":w);var F0=1e4>j0.recentlyCreatedOwnerStacks++;return C(w,J0,e,V(),F0?Error("react-stack-top-frame"):T4,F0?M5(L(w)):ZX)},TP.createRef=function(){var w={current:null};return Object.seal(w),w},TP.forwardRef=function(w){w!=null&&w.$$typeof===f5?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof w!=="function"?console.error("forwardRef requires a render function but was given %s.",w===null?"null":typeof w):w.length!==0&&w.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",w.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),w!=null&&w.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var f={$$typeof:b0,render:w},r;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(e){r=e,w.name||w.displayName||(Object.defineProperty(w,"name",{value:e}),w.displayName=e)}}),f},TP.isValidElement=o,TP.lazy=function(w){w={_status:-1,_result:w};var f={$$typeof:K8,_payload:w,_init:Y0},r={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return w._ioInfo=r,f._debugInfo=[{awaited:r}],f},TP.memo=function(w,f){w==null&&console.error("memo: The first argument must be a component. Instead received: %s",w===null?"null":typeof w),f={$$typeof:f5,type:w,compare:f===void 0?null:f};var r;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(e){r=e,w.name||w.displayName||(Object.defineProperty(w,"name",{value:e}),w.displayName=e)}}),f},TP.startTransition=function(w){var f=j0.T,r={};r._updatedFibers=new Set,j0.T=r;try{var e=w(),J0=j0.S;J0!==null&&J0(r,e),typeof e==="object"&&e!==null&&typeof e.then==="function"&&(j0.asyncTransitions++,e.then(K0,K0),e.then(M,M6))}catch(w0){M6(w0)}finally{f===null&&r._updatedFibers&&(w=r._updatedFibers.size,r._updatedFibers.clear(),10<w&&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.")),f!==null&&r.types!==null&&(f.types!==null&&f.types!==r.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=r.types),j0.T=f}},TP.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},TP.use=function(w){return d().use(w)},TP.useActionState=function(w,f,r){return d().useActionState(w,f,r)},TP.useCallback=function(w,f){return d().useCallback(w,f)},TP.useContext=function(w){var f=d();return w.$$typeof===N0&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),f.useContext(w)},TP.useDebugValue=function(w,f){return d().useDebugValue(w,f)},TP.useDeferredValue=function(w,f){return d().useDeferredValue(w,f)},TP.useEffect=function(w,f){return w==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useEffect(w,f)},TP.useEffectEvent=function(w){return d().useEffectEvent(w)},TP.useId=function(){return d().useId()},TP.useImperativeHandle=function(w,f,r){return d().useImperativeHandle(w,f,r)},TP.useInsertionEffect=function(w,f){return w==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useInsertionEffect(w,f)},TP.useLayoutEffect=function(w,f){return w==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),d().useLayoutEffect(w,f)},TP.useMemo=function(w,f){return d().useMemo(w,f)},TP.useOptimistic=function(w,f){return d().useOptimistic(w,f)},TP.useReducer=function(w,f,r){return d().useReducer(w,f,r)},TP.useRef=function(w){return d().useRef(w)},TP.useState=function(w){return d().useState(w)},TP.useSyncExternalStore=function(w,f,r){return d().useSyncExternalStore(w,f,r)},TP.useTransition=function(){return d().useTransition()},TP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var xR=Z4((EP)=>{var fU=z0(e5());(function(){function Q(){}function G(L){return""+L}function J(L,V,T){var P=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{G(P);var I=!1}catch(D){I=!0}return I&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol==="function"&&Symbol.toStringTag&&P[Symbol.toStringTag]||P.constructor.name||"Object"),G(P)),{$$typeof:F,key:P==null?null:""+P,children:L,containerInfo:V,implementation:T}}function Y(L,V){if(L==="font")return"";if(typeof V==="string")return V==="use-credentials"?V:""}function U(L){return L===null?"`null`":L===void 0?"`undefined`":L===""?"an empty string":'something with type "'+typeof L+'"'}function B(L){return L===null?"`null`":L===void 0?"`undefined`":L===""?"an empty string":typeof L==="string"?JSON.stringify(L):typeof L==="number"?"`"+L+"`":'something with type "'+typeof L+'"'}function M(){var L=z.H;return L===null&&console.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:
14
14
  1. You might have mismatching versions of React and the renderer (such as React DOM)
15
15
  2. You might be breaking the Rules of Hooks
16
16
  3. You might have more than one copy of React in the same app
17
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),T}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var M={d:{f:Q,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Q,C:Q,L:Q,m:Q,X:Q,S:Q,M:Q},p:0,findDOMNode:null},F=Symbol.for("react.portal"),R=fU.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;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://reactjs.org/link/react-polyfills"),VP.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=M,VP.createPortal=function(T,z){var L=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)throw Error("Target container is not a DOM element.");return q(T,z,null,L)},VP.flushSync=function(T){var z=R.T,L=M.p;try{if(R.T=null,M.p=2,T)return T()}finally{R.T=z,M.p=L,M.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},VP.preconnect=function(T,z){typeof T==="string"&&T?z!=null&&typeof z!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",K(z)):z!=null&&typeof z.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",U(z.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(T)),typeof T==="string"&&(z?(z=z.crossOrigin,z=typeof z==="string"?z==="use-credentials"?z:"":void 0):z=null,M.d.C(T,z))},VP.prefetchDNS=function(T){if(typeof T!=="string"||!T)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(T));else if(1<arguments.length){var z=arguments[1];typeof z==="object"&&z.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(z)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",K(z))}typeof T==="string"&&M.d.D(T)},VP.preinit=function(T,z){if(typeof T==="string"&&T?z==null||typeof z!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",K(z)):z.as!=="style"&&z.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',K(z.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(T)),typeof T==="string"&&z&&typeof z.as==="string"){var L=z.as,P=Y(L,z.crossOrigin),I=typeof z.integrity==="string"?z.integrity:void 0,A=typeof z.fetchPriority==="string"?z.fetchPriority:void 0;L==="style"?M.d.S(T,typeof z.precedence==="string"?z.precedence:void 0,{crossOrigin:P,integrity:I,fetchPriority:A}):L==="script"&&M.d.X(T,{crossOrigin:P,integrity:I,fetchPriority:A,nonce:typeof z.nonce==="string"?z.nonce:void 0})}},VP.preinitModule=function(T,z){var L="";if(typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),z!==void 0&&typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":z&&("as"in z)&&z.as!=="script"&&(L+=" The `as` option encountered was "+K(z.as)+"."),L)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",L);else switch(L=z&&typeof z.as==="string"?z.as:"script",L){case"script":break;default:L=K(L),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',L,T)}if(typeof T==="string")if(typeof z==="object"&&z!==null){if(z.as==null||z.as==="script")L=Y(z.as,z.crossOrigin),M.d.M(T,{crossOrigin:L,integrity:typeof z.integrity==="string"?z.integrity:void 0,nonce:typeof z.nonce==="string"?z.nonce:void 0})}else z==null&&M.d.M(T)},VP.preload=function(T,z){var L="";if(typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),z==null||typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":typeof z.as==="string"&&z.as||(L+=" The `as` option encountered was "+U(z.as)+"."),L&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',L),typeof T==="string"&&typeof z==="object"&&z!==null&&typeof z.as==="string"){L=z.as;var P=Y(L,z.crossOrigin);M.d.L(T,L,{crossOrigin:P,integrity:typeof z.integrity==="string"?z.integrity:void 0,nonce:typeof z.nonce==="string"?z.nonce:void 0,type:typeof z.type==="string"?z.type:void 0,fetchPriority:typeof z.fetchPriority==="string"?z.fetchPriority:void 0,referrerPolicy:typeof z.referrerPolicy==="string"?z.referrerPolicy:void 0,imageSrcSet:typeof z.imageSrcSet==="string"?z.imageSrcSet:void 0,imageSizes:typeof z.imageSizes==="string"?z.imageSizes:void 0,media:typeof z.media==="string"?z.media:void 0})}},VP.preloadModule=function(T,z){var L="";typeof T==="string"&&T||(L+=" The `href` argument encountered was "+U(T)+"."),z!==void 0&&typeof z!=="object"?L+=" The `options` argument encountered was "+U(z)+".":z&&("as"in z)&&typeof z.as!=="string"&&(L+=" The `as` option encountered was "+U(z.as)+"."),L&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',L),typeof T==="string"&&(z?(L=Y(z.as,z.crossOrigin),M.d.m(T,{as:typeof z.as==="string"&&z.as!=="script"?z.as:void 0,crossOrigin:L,integrity:typeof z.integrity==="string"?z.integrity:void 0})):M.d.m(T))},VP.requestFormReset=function(T){M.d.r(T)},VP.unstable_batchedUpdates=function(T,z){return T(z)},VP.useFormState=function(T,z,L){return H().useFormState(T,z,L)},VP.useFormStatus=function(){return H().useHostTransitionStatus()},VP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var uw=Z2((gS,xw)=>{var EP=R0(hw());xw.exports=EP});var mw=Z2((PP)=>{var i0=R0(gw()),v9=R0(e1()),yU=R0(uw());(function(){function Q($,Z){for($=$.memoizedState;$!==null&&0<Z;)$=$.next,Z--;return $}function J($,Z,G,X){if(G>=Z.length)return X;var N=Z[G],B=c1($)?$.slice():y0({},$);return B[N]=J($[N],Z,G+1,X),B}function q($,Z,G){if(Z.length!==G.length)console.warn("copyWithRename() expects paths of the same length");else{for(var X=0;X<G.length-1;X++)if(Z[X]!==G[X]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return Y($,Z,G,0)}}function Y($,Z,G,X){var N=Z[X],B=c1($)?$.slice():y0({},$);return X+1===Z.length?(B[G[X]]=B[N],c1(B)?B.splice(N,1):delete B[N]):B[N]=Y($[N],Z,G,X+1),B}function U($,Z,G){var X=Z[G],N=c1($)?$.slice():y0({},$);if(G+1===Z.length)return c1(N)?N.splice(X,1):delete N[X],N;return N[X]=U($[X],Z,G+1),N}function K(){return!1}function H(){return null}function M(){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 F(){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 R(){}function T(){}function z($){var Z=[];return $.forEach(function(G){Z.push(G)}),Z.sort().join(", ")}function L($,Z,G,X){return new QL($,Z,G,X)}function P($,Z){$.context===b6&&(ZY($.current,2,Z,$,null,null),p$())}function I($,Z){if(B4!==null){var G=Z.staleFamilies;Z=Z.updatedFamilies,A7(),dK($.current,Z,G),p$()}}function A($){B4=$}function C($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function g($){var Z=$,G=$;if($.alternate)for(;Z.return;)Z=Z.return;else{$=Z;do Z=$,(Z.flags&4098)!==0&&(G=Z.return),$=Z.return;while($)}return Z.tag===3?G:null}function m($){if($.tag===13){var Z=$.memoizedState;if(Z===null&&($=$.alternate,$!==null&&(Z=$.memoizedState)),Z!==null)return Z.dehydrated}return null}function o($){if($.tag===31){var Z=$.memoizedState;if(Z===null&&($=$.alternate,$!==null&&(Z=$.memoizedState)),Z!==null)return Z.dehydrated}return null}function a($){if(g($)!==$)throw Error("Unable to find node on an unmounted component.")}function s($){var Z=$.alternate;if(!Z){if(Z=g($),Z===null)throw Error("Unable to find node on an unmounted component.");return Z!==$?null:$}for(var G=$,X=Z;;){var N=G.return;if(N===null)break;var B=N.alternate;if(B===null){if(X=N.return,X!==null){G=X;continue}break}if(N.child===B.child){for(B=N.child;B;){if(B===G)return a(N),$;if(B===X)return a(N),Z;B=B.sibling}throw Error("Unable to find node on an unmounted component.")}if(G.return!==X.return)G=N,X=B;else{for(var W=!1,w=N.child;w;){if(w===G){W=!0,G=N,X=B;break}if(w===X){W=!0,X=N,G=B;break}w=w.sibling}if(!W){for(w=B.child;w;){if(w===G){W=!0,G=B,X=N;break}if(w===X){W=!0,X=B,G=N;break}w=w.sibling}if(!W)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(G.alternate!==X)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(G.tag!==3)throw Error("Unable to find node on an unmounted component.");return G.stateNode.current===G?$:Z}function Q0($){var Z=$.tag;if(Z===5||Z===26||Z===27||Z===6)return $;for($=$.child;$!==null;){if(Z=Q0($),Z!==null)return Z;$=$.sibling}return null}function p($){if($===null||typeof $!=="object")return null;return $=oM&&$[oM]||$["@@iterator"],typeof $==="function"?$:null}function i($){if($==null)return null;if(typeof $==="function")return $.$$typeof===EV?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case a$:return"Fragment";case YY:return"Profiler";case kG:return"StrictMode";case NY:return"Suspense";case KY:return"SuspenseList";case BY:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case o$:return"Portal";case q8:return $.displayName||"Context";case UY:return($._context.displayName||"Context")+".Consumer";case u7:var Z=$.render;return $=$.displayName,$||($=Z.displayName||Z.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case bG:return Z=$.displayName||null,Z!==null?Z:i($.type)||"Memo";case i5:Z=$._payload,$=$._init;try{return i($(Z))}catch(G){}}return null}function Y0($){return typeof $.tag==="number"?d($):typeof $.name==="string"?$.name:null}function d($){var Z=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Z._context.displayName||"Context")+".Consumer";case 10:return Z.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=Z.render,$=$.displayName||$.name||"",Z.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Z;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return i(Z);case 8:return Z===kG?"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 Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break;case 29:if(Z=$._debugInfo,Z!=null){for(var G=Z.length-1;0<=G;G--)if(typeof Z[G].name==="string")return Z[G].name}if($.return!==null)return d($.return)}return null}function N0($){return{current:$}}function w0($,Z){0>b8?console.error("Unexpected pop."):(Z!==MY[b8]&&console.error("Unexpected Fiber popped."),$.current=HY[b8],HY[b8]=null,MY[b8]=null,b8--)}function z0($,Z,G){b8++,HY[b8]=$.current,MY[b8]=G,$.current=Z}function C0($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function l($,Z){z0(D6,Z,$),z0(m7,$,$),z0(O6,null,$);var G=Z.nodeType;switch(G){case 9:case 11:G=G===9?"#document":"#fragment",Z=(Z=Z.documentElement)?(Z=Z.namespaceURI)?zM(Z):n8:n8;break;default:if(G=Z.tagName,Z=Z.namespaceURI)Z=zM(Z),Z=_M(Z,G);else switch(G){case"svg":Z=A9;break;case"math":Z=vJ;break;default:Z=n8}}G=G.toLowerCase(),G=MK(null,G),G={context:Z,ancestorInfo:G},w0(O6,$),z0(O6,G,$)}function J0($){w0(O6,$),w0(m7,$),w0(D6,$)}function K0(){return C0(O6.current)}function d0($){$.memoizedState!==null&&z0(fG,$,$);var Z=C0(O6.current),G=$.type,X=_M(Z.context,G);G=MK(Z.ancestorInfo,G),X={context:X,ancestorInfo:G},Z!==X&&(z0(m7,$,$),z0(O6,X,$))}function k0($){m7.current===$&&(w0(O6,$),w0(m7,$)),fG.current===$&&(w0(fG,$),vZ._currentValue=N$)}function S(){}function n(){if(d7===0){aM=console.log,iM=console.info,tM=console.warn,eM=console.error,$F=console.group,ZF=console.groupCollapsed,QF=console.groupEnd;var $={configurable:!0,enumerable:!0,value:S,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}d7++}function B0(){if(d7--,d7===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y0({},$,{value:aM}),info:y0({},$,{value:iM}),warn:y0({},$,{value:tM}),error:y0({},$,{value:eM}),group:y0({},$,{value:$F}),groupCollapsed:y0({},$,{value:ZF}),groupEnd:y0({},$,{value:QF})})}0>d7&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function H0($){var Z=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=Z,$.startsWith(`Error: react-stack-top-frame
17
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),L}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var H={d:{f:Q,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:Q,C:Q,L:Q,m:Q,X:Q,S:Q,M:Q},p:0,findDOMNode:null},F=Symbol.for("react.portal"),z=fU.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;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://reactjs.org/link/react-polyfills"),EP.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,EP.createPortal=function(L,V){var T=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!V||V.nodeType!==1&&V.nodeType!==9&&V.nodeType!==11)throw Error("Target container is not a DOM element.");return J(L,V,null,T)},EP.flushSync=function(L){var V=z.T,T=H.p;try{if(z.T=null,H.p=2,L)return L()}finally{z.T=V,H.p=T,H.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},EP.preconnect=function(L,V){typeof L==="string"&&L?V!=null&&typeof V!=="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",B(V)):V!=null&&typeof V.crossOrigin!=="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",U(V.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(L)),typeof L==="string"&&(V?(V=V.crossOrigin,V=typeof V==="string"?V==="use-credentials"?V:"":void 0):V=null,H.d.C(L,V))},EP.prefetchDNS=function(L){if(typeof L!=="string"||!L)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(L));else if(1<arguments.length){var V=arguments[1];typeof V==="object"&&V.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",B(V)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",B(V))}typeof L==="string"&&H.d.D(L)},EP.preinit=function(L,V){if(typeof L==="string"&&L?V==null||typeof V!=="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",B(V)):V.as!=="style"&&V.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',B(V.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",U(L)),typeof L==="string"&&V&&typeof V.as==="string"){var T=V.as,P=Y(T,V.crossOrigin),I=typeof V.integrity==="string"?V.integrity:void 0,D=typeof V.fetchPriority==="string"?V.fetchPriority:void 0;T==="style"?H.d.S(L,typeof V.precedence==="string"?V.precedence:void 0,{crossOrigin:P,integrity:I,fetchPriority:D}):T==="script"&&H.d.X(L,{crossOrigin:P,integrity:I,fetchPriority:D,nonce:typeof V.nonce==="string"?V.nonce:void 0})}},EP.preinitModule=function(L,V){var T="";if(typeof L==="string"&&L||(T+=" The `href` argument encountered was "+U(L)+"."),V!==void 0&&typeof V!=="object"?T+=" The `options` argument encountered was "+U(V)+".":V&&("as"in V)&&V.as!=="script"&&(T+=" The `as` option encountered was "+B(V.as)+"."),T)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",T);else switch(T=V&&typeof V.as==="string"?V.as:"script",T){case"script":break;default:T=B(T),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',T,L)}if(typeof L==="string")if(typeof V==="object"&&V!==null){if(V.as==null||V.as==="script")T=Y(V.as,V.crossOrigin),H.d.M(L,{crossOrigin:T,integrity:typeof V.integrity==="string"?V.integrity:void 0,nonce:typeof V.nonce==="string"?V.nonce:void 0})}else V==null&&H.d.M(L)},EP.preload=function(L,V){var T="";if(typeof L==="string"&&L||(T+=" The `href` argument encountered was "+U(L)+"."),V==null||typeof V!=="object"?T+=" The `options` argument encountered was "+U(V)+".":typeof V.as==="string"&&V.as||(T+=" The `as` option encountered was "+U(V.as)+"."),T&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',T),typeof L==="string"&&typeof V==="object"&&V!==null&&typeof V.as==="string"){T=V.as;var P=Y(T,V.crossOrigin);H.d.L(L,T,{crossOrigin:P,integrity:typeof V.integrity==="string"?V.integrity:void 0,nonce:typeof V.nonce==="string"?V.nonce:void 0,type:typeof V.type==="string"?V.type:void 0,fetchPriority:typeof V.fetchPriority==="string"?V.fetchPriority:void 0,referrerPolicy:typeof V.referrerPolicy==="string"?V.referrerPolicy:void 0,imageSrcSet:typeof V.imageSrcSet==="string"?V.imageSrcSet:void 0,imageSizes:typeof V.imageSizes==="string"?V.imageSizes:void 0,media:typeof V.media==="string"?V.media:void 0})}},EP.preloadModule=function(L,V){var T="";typeof L==="string"&&L||(T+=" The `href` argument encountered was "+U(L)+"."),V!==void 0&&typeof V!=="object"?T+=" The `options` argument encountered was "+U(V)+".":V&&("as"in V)&&typeof V.as!=="string"&&(T+=" The `as` option encountered was "+U(V.as)+"."),T&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',T),typeof L==="string"&&(V?(T=Y(V.as,V.crossOrigin),H.d.m(L,{as:typeof V.as==="string"&&V.as!=="script"?V.as:void 0,crossOrigin:T,integrity:typeof V.integrity==="string"?V.integrity:void 0})):H.d.m(L))},EP.requestFormReset=function(L){H.d.r(L)},EP.unstable_batchedUpdates=function(L,V){return L(V)},EP.useFormState=function(L,V,T){return M().useFormState(L,V,T)},EP.useFormStatus=function(){return M().useHostTransitionStatus()},EP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var uR=Z4((gS,hR)=>{var wP=z0(xR());hR.exports=wP});var mR=Z4((PP)=>{var a0=z0(gR()),v9=z0(e5()),yU=z0(uR());(function(){function Q($,Z){for($=$.memoizedState;$!==null&&0<Z;)$=$.next,Z--;return $}function G($,Z,q,X){if(q>=Z.length)return X;var K=Z[q],N=c5($)?$.slice():y0({},$);return N[K]=G($[K],Z,q+1,X),N}function J($,Z,q){if(Z.length!==q.length)console.warn("copyWithRename() expects paths of the same length");else{for(var X=0;X<q.length-1;X++)if(Z[X]!==q[X]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return Y($,Z,q,0)}}function Y($,Z,q,X){var K=Z[X],N=c5($)?$.slice():y0({},$);return X+1===Z.length?(N[q[X]]=N[K],c5(N)?N.splice(K,1):delete N[K]):N[K]=Y($[K],Z,q,X+1),N}function U($,Z,q){var X=Z[q],K=c5($)?$.slice():y0({},$);if(q+1===Z.length)return c5(K)?K.splice(X,1):delete K[X],K;return K[X]=U($[X],Z,q+1),K}function B(){return!1}function M(){return null}function H(){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 F(){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 L(){}function V($){var Z=[];return $.forEach(function(q){Z.push(q)}),Z.sort().join(", ")}function T($,Z,q,X){return new QT($,Z,q,X)}function P($,Z){$.context===b6&&(ZY($.current,2,Z,$,null,null),p7())}function I($,Z){if(N1!==null){var q=Z.staleFamilies;Z=Z.updatedFamilies,DZ(),dB($.current,Z,q),p7()}}function D($){N1=$}function C($){return!(!$||$.nodeType!==1&&$.nodeType!==9&&$.nodeType!==11)}function g($){var Z=$,q=$;if($.alternate)for(;Z.return;)Z=Z.return;else{$=Z;do Z=$,(Z.flags&4098)!==0&&(q=Z.return),$=Z.return;while($)}return Z.tag===3?q:null}function m($){if($.tag===13){var Z=$.memoizedState;if(Z===null&&($=$.alternate,$!==null&&(Z=$.memoizedState)),Z!==null)return Z.dehydrated}return null}function o($){if($.tag===31){var Z=$.memoizedState;if(Z===null&&($=$.alternate,$!==null&&(Z=$.memoizedState)),Z!==null)return Z.dehydrated}return null}function i($){if(g($)!==$)throw Error("Unable to find node on an unmounted component.")}function s($){var Z=$.alternate;if(!Z){if(Z=g($),Z===null)throw Error("Unable to find node on an unmounted component.");return Z!==$?null:$}for(var q=$,X=Z;;){var K=q.return;if(K===null)break;var N=K.alternate;if(N===null){if(X=K.return,X!==null){q=X;continue}break}if(K.child===N.child){for(N=K.child;N;){if(N===q)return i(K),$;if(N===X)return i(K),Z;N=N.sibling}throw Error("Unable to find node on an unmounted component.")}if(q.return!==X.return)q=K,X=N;else{for(var W=!1,R=K.child;R;){if(R===q){W=!0,q=K,X=N;break}if(R===X){W=!0,X=K,q=N;break}R=R.sibling}if(!W){for(R=N.child;R;){if(R===q){W=!0,q=N,X=K;break}if(R===X){W=!0,X=N,q=K;break}R=R.sibling}if(!W)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(q.alternate!==X)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(q.tag!==3)throw Error("Unable to find node on an unmounted component.");return q.stateNode.current===q?$:Z}function Q0($){var Z=$.tag;if(Z===5||Z===26||Z===27||Z===6)return $;for($=$.child;$!==null;){if(Z=Q0($),Z!==null)return Z;$=$.sibling}return null}function p($){if($===null||typeof $!=="object")return null;return $=oH&&$[oH]||$["@@iterator"],typeof $==="function"?$:null}function a($){if($==null)return null;if(typeof $==="function")return $.$$typeof===wE?null:$.displayName||$.name||null;if(typeof $==="string")return $;switch($){case i7:return"Fragment";case YY:return"Profiler";case kG:return"StrictMode";case KY:return"Suspense";case BY:return"SuspenseList";case NY:return"Activity"}if(typeof $==="object")switch(typeof $.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),$.$$typeof){case o7:return"Portal";case J$:return $.displayName||"Context";case UY:return($._context.displayName||"Context")+".Consumer";case uZ:var Z=$.render;return $=$.displayName,$||($=Z.displayName||Z.name||"",$=$!==""?"ForwardRef("+$+")":"ForwardRef"),$;case bG:return Z=$.displayName||null,Z!==null?Z:a($.type)||"Memo";case a8:Z=$._payload,$=$._init;try{return a($(Z))}catch(q){}}return null}function Y0($){return typeof $.tag==="number"?d($):typeof $.name==="string"?$.name:null}function d($){var Z=$.type;switch($.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(Z._context.displayName||"Context")+".Consumer";case 10:return Z.displayName||"Context";case 18:return"DehydratedFragment";case 11:return $=Z.render,$=$.displayName||$.name||"",Z.displayName||($!==""?"ForwardRef("+$+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return Z;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return a(Z);case 8:return Z===kG?"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 Z==="function")return Z.displayName||Z.name||null;if(typeof Z==="string")return Z;break;case 29:if(Z=$._debugInfo,Z!=null){for(var q=Z.length-1;0<=q;q--)if(typeof Z[q].name==="string")return Z[q].name}if($.return!==null)return d($.return)}return null}function K0($){return{current:$}}function R0($,Z){0>b$?console.error("Unexpected pop."):(Z!==HY[b$]&&console.error("Unexpected Fiber popped."),$.current=MY[b$],MY[b$]=null,HY[b$]=null,b$--)}function V0($,Z,q){b$++,MY[b$]=$.current,HY[b$]=q,$.current=Z}function C0($){return $===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),$}function l($,Z){V0(j6,Z,$),V0(mZ,$,$),V0(O6,null,$);var q=Z.nodeType;switch(q){case 9:case 11:q=q===9?"#document":"#fragment",Z=(Z=Z.documentElement)?(Z=Z.namespaceURI)?VH(Z):n$:n$;break;default:if(q=Z.tagName,Z=Z.namespaceURI)Z=VH(Z),Z=_H(Z,q);else switch(q){case"svg":Z=D9;break;case"math":Z=vJ;break;default:Z=n$}}q=q.toLowerCase(),q=HB(null,q),q={context:Z,ancestorInfo:q},R0(O6,$),V0(O6,q,$)}function G0($){R0(O6,$),R0(mZ,$),R0(j6,$)}function B0(){return C0(O6.current)}function d0($){$.memoizedState!==null&&V0(fG,$,$);var Z=C0(O6.current),q=$.type,X=_H(Z.context,q);q=HB(Z.ancestorInfo,q),X={context:X,ancestorInfo:q},Z!==X&&(V0(mZ,$,$),V0(O6,X,$))}function k0($){mZ.current===$&&(R0(O6,$),R0(mZ,$)),fG.current===$&&(R0(fG,$),vQ._currentValue=K7)}function S(){}function n(){if(dZ===0){iH=console.log,aH=console.info,tH=console.warn,eH=console.error,$F=console.group,ZF=console.groupCollapsed,QF=console.groupEnd;var $={configurable:!0,enumerable:!0,value:S,writable:!0};Object.defineProperties(console,{info:$,log:$,warn:$,error:$,group:$,groupCollapsed:$,groupEnd:$})}dZ++}function N0(){if(dZ--,dZ===0){var $={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:y0({},$,{value:iH}),info:y0({},$,{value:aH}),warn:y0({},$,{value:tH}),error:y0({},$,{value:eH}),group:y0({},$,{value:$F}),groupCollapsed:y0({},$,{value:ZF}),groupEnd:y0({},$,{value:QF})})}0>dZ&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function M0($){var Z=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,$=$.stack,Error.prepareStackTrace=Z,$.startsWith(`Error: react-stack-top-frame
18
18
  `)&&($=$.slice(29)),Z=$.indexOf(`
19
19
  `),Z!==-1&&($=$.slice(Z+1)),Z=$.indexOf("react_stack_bottom_frame"),Z!==-1&&(Z=$.lastIndexOf(`
20
- `,Z)),Z!==-1)$=$.slice(0,Z);else return"";return $}function b0($){if(FY===void 0)try{throw Error()}catch(G){var Z=G.stack.trim().match(/\n( *(at )?)/);FY=Z&&Z[1]||"",GF=-1<G.stack.indexOf(`
21
- at`)?" (<anonymous>)":-1<G.stack.indexOf("@")?"@unknown:0:0":""}return`
22
- `+FY+$+GF}function j1($,Z){if(!$||WY)return"";var G=wY.get($);if(G!==void 0)return G;WY=!0,G=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var X=null;X=x.H,x.H=null,n();try{var N={DetermineComponentFrameRoot:function(){try{if(Z){var D=function(){throw Error()};if(Object.defineProperty(D.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(D,[])}catch(t){var y=t}Reflect.construct($,[],D)}else{try{D.call()}catch(t){y=t}$.call(D.prototype)}}else{try{throw Error()}catch(t){y=t}(D=$())&&typeof D.catch==="function"&&D.catch(function(){})}}catch(t){if(t&&y&&typeof t.stack==="string")return[t.stack,y.stack]}return[null,null]}};N.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var B=Object.getOwnPropertyDescriptor(N.DetermineComponentFrameRoot,"name");B&&B.configurable&&Object.defineProperty(N.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var W=N.DetermineComponentFrameRoot(),w=W[0],_=W[1];if(w&&_){var V=w.split(`
20
+ `,Z)),Z!==-1)$=$.slice(0,Z);else return"";return $}function b0($){if(FY===void 0)try{throw Error()}catch(q){var Z=q.stack.trim().match(/\n( *(at )?)/);FY=Z&&Z[1]||"",qF=-1<q.stack.indexOf(`
21
+ at`)?" (<anonymous>)":-1<q.stack.indexOf("@")?"@unknown:0:0":""}return`
22
+ `+FY+$+qF}function A5($,Z){if(!$||WY)return"";var q=RY.get($);if(q!==void 0)return q;WY=!0,q=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var X=null;X=h.H,h.H=null,n();try{var K={DetermineComponentFrameRoot:function(){try{if(Z){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(t){var y=t}Reflect.construct($,[],j)}else{try{j.call()}catch(t){y=t}$.call(j.prototype)}}else{try{throw Error()}catch(t){y=t}(j=$())&&typeof j.catch==="function"&&j.catch(function(){})}}catch(t){if(t&&y&&typeof t.stack==="string")return[t.stack,y.stack]}return[null,null]}};K.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var N=Object.getOwnPropertyDescriptor(K.DetermineComponentFrameRoot,"name");N&&N.configurable&&Object.defineProperty(K.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var W=K.DetermineComponentFrameRoot(),R=W[0],_=W[1];if(R&&_){var E=R.split(`
23
23
  `),k=_.split(`
24
- `);for(W=B=0;B<V.length&&!V[B].includes("DetermineComponentFrameRoot");)B++;for(;W<k.length&&!k[W].includes("DetermineComponentFrameRoot");)W++;if(B===V.length||W===k.length)for(B=V.length-1,W=k.length-1;1<=B&&0<=W&&V[B]!==k[W];)W--;for(;1<=B&&0<=W;B--,W--)if(V[B]!==k[W]){if(B!==1||W!==1)do if(B--,W--,0>W||V[B]!==k[W]){var b=`
25
- `+V[B].replace(" at new "," at ");return $.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",$.displayName)),typeof $==="function"&&wY.set($,b),b}while(1<=B&&0<=W);break}}}finally{WY=!1,x.H=X,B0(),Error.prepareStackTrace=G}return V=(V=$?$.displayName||$.name:"")?b0(V):"",typeof $==="function"&&wY.set($,V),V}function I0($,Z){switch($.tag){case 26:case 27:case 5:return b0($.type);case 16:return b0("Lazy");case 13:return $.child!==Z&&Z!==null?b0("Suspense Fallback"):b0("Suspense");case 19:return b0("SuspenseList");case 0:case 15:return j1($.type,!1);case 11:return j1($.type.render,!1);case 1:return j1($.type,!0);case 31:return b0("Activity");default:return""}}function f1($){try{var Z="",G=null;do{Z+=I0($,G);var X=$._debugInfo;if(X)for(var N=X.length-1;0<=N;N--){var B=X[N];if(typeof B.name==="string"){var W=Z;$:{var{name:w,env:_,debugLocation:V}=B;if(V!=null){var k=H0(V),b=k.lastIndexOf(`
26
- `),D=b===-1?k:k.slice(b+1);if(D.indexOf(w)!==-1){var y=`
27
- `+D;break $}}y=b0(w+(_?" ["+_+"]":""))}Z=W+y}}G=$,$=$.return}while($);return Z}catch(t){return`
24
+ `);for(W=N=0;N<E.length&&!E[N].includes("DetermineComponentFrameRoot");)N++;for(;W<k.length&&!k[W].includes("DetermineComponentFrameRoot");)W++;if(N===E.length||W===k.length)for(N=E.length-1,W=k.length-1;1<=N&&0<=W&&E[N]!==k[W];)W--;for(;1<=N&&0<=W;N--,W--)if(E[N]!==k[W]){if(N!==1||W!==1)do if(N--,W--,0>W||E[N]!==k[W]){var b=`
25
+ `+E[N].replace(" at new "," at ");return $.displayName&&b.includes("<anonymous>")&&(b=b.replace("<anonymous>",$.displayName)),typeof $==="function"&&RY.set($,b),b}while(1<=N&&0<=W);break}}}finally{WY=!1,h.H=X,N0(),Error.prepareStackTrace=q}return E=(E=$?$.displayName||$.name:"")?b0(E):"",typeof $==="function"&&RY.set($,E),E}function I0($,Z){switch($.tag){case 26:case 27:case 5:return b0($.type);case 16:return b0("Lazy");case 13:return $.child!==Z&&Z!==null?b0("Suspense Fallback"):b0("Suspense");case 19:return b0("SuspenseList");case 0:case 15:return A5($.type,!1);case 11:return A5($.type.render,!1);case 1:return A5($.type,!0);case 31:return b0("Activity");default:return""}}function f5($){try{var Z="",q=null;do{Z+=I0($,q);var X=$._debugInfo;if(X)for(var K=X.length-1;0<=K;K--){var N=X[K];if(typeof N.name==="string"){var W=Z;$:{var{name:R,env:_,debugLocation:E}=N;if(E!=null){var k=M0(E),b=k.lastIndexOf(`
26
+ `),j=b===-1?k:k.slice(b+1);if(j.indexOf(R)!==-1){var y=`
27
+ `+j;break $}}y=b0(R+(_?" ["+_+"]":""))}Z=W+y}}q=$,$=$.return}while($);return Z}catch(t){return`
28
28
  Error generating stack: `+t.message+`
29
- `+t.stack}}function N5($){return($=$?$.displayName||$.name:"")?b0($):""}function P4(){if(t5===null)return null;var $=t5._debugOwner;return $!=null?Y0($):null}function VQ(){if(t5===null)return"";var $=t5;try{var Z="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:Z+=b0($.type);break;case 13:Z+=b0("Suspense");break;case 19:Z+=b0("SuspenseList");break;case 31:Z+=b0("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||Z!==""||(Z+=N5($.type));break;case 11:$._debugOwner||Z!==""||(Z+=N5($.type.render))}for(;$;)if(typeof $.tag==="number"){var G=$;$=G._debugOwner;var X=G._debugStack;if($&&X){var N=H0(X);N!==""&&(Z+=`
30
- `+N)}}else if($.debugStack!=null){var B=$.debugStack;($=$.owner)&&B&&(Z+=`
31
- `+H0(B))}else break;var W=Z}catch(w){W=`
32
- Error generating stack: `+w.message+`
33
- `+w.stack}return W}function G0($,Z,G,X,N,B,W){var w=t5;O$($);try{return $!==null&&$._debugTask?$._debugTask.run(Z.bind(null,G,X,N,B,W)):Z(G,X,N,B,W)}finally{O$(w)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function O$($){x.getCurrentStack=$===null?null:VQ,X8=!1,t5=$}function z2($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function B6($){try{return s1($),!1}catch(Z){return!0}}function s1($){return""+$}function Y1($,Z){if(B6($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Z,z2($)),s1($)}function Q7($,Z){if(B6($))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.",Z,z2($)),s1($)}function D0($){if(B6($))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.",z2($)),s1($)}function D$($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Z=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Z.isDisabled)return!0;if(!Z.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{t$=Z.inject($),H5=Z}catch(G){console.error("React instrumentation encountered an error: %o.",G)}return Z.checkDCE?!0:!1}function H1($){if(typeof AV==="function"&&SV($),H5&&typeof H5.setStrictMode==="function")try{H5.setStrictMode(t$,$)}catch(Z){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",Z))}}function EQ($){return $>>>=0,$===0?32:31-(vV($)/kV|0)|0}function m4($){var Z=$&42;if(Z!==0)return Z;switch($&-$){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 $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&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."),$}}function _2($,Z,G){var X=$.pendingLanes;if(X===0)return 0;var N=0,B=$.suspendedLanes,W=$.pingedLanes;$=$.warmLanes;var w=X&134217727;return w!==0?(X=w&~B,X!==0?N=m4(X):(W&=w,W!==0?N=m4(W):G||(G=w&~$,G!==0&&(N=m4(G))))):(w=X&~B,w!==0?N=m4(w):W!==0?N=m4(W):G||(G=X&~$,G!==0&&(N=m4(G)))),N===0?0:Z!==0&&Z!==N&&(Z&B)===0&&(B=N&-N,G=Z&-Z,B>=G||B===32&&(G&4194048)!==0)?Z:N}function L2($,Z){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&Z)===0}function Z3($,Z){switch($){case 1:case 2:case 4:case 8:case 64:return Z+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 Z+5000;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 j$(){var $=hG;return hG<<=1,(hG&62914560)===0&&(hG=4194304),$}function A$($){for(var Z=[],G=0;31>G;G++)Z.push($);return Z}function H6($,Z){$.pendingLanes|=Z,Z!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function PQ($,Z,G,X,N,B){var W=$.pendingLanes;$.pendingLanes=G,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=G,$.entangledLanes&=G,$.errorRecoveryDisabledLanes&=G,$.shellSuspendCounter=0;var{entanglements:w,expirationTimes:_,hiddenUpdates:V}=$;for(G=W&~G;0<G;){var k=31-w5(G),b=1<<k;w[k]=0,_[k]=-1;var D=V[k];if(D!==null)for(V[k]=null,k=0;k<D.length;k++){var y=D[k];y!==null&&(y.lane&=-536870913)}G&=~b}X!==0&&V2($,X,0),B!==0&&N===0&&$.tag!==0&&($.suspendedLanes|=B&~(W&~Z))}function V2($,Z,G){$.pendingLanes|=Z,$.suspendedLanes&=~Z;var X=31-w5(Z);$.entangledLanes|=Z,$.entanglements[X]=$.entanglements[X]|1073741824|G&261930}function E2($,Z){var G=$.entangledLanes|=Z;for($=$.entanglements;G;){var X=31-w5(G),N=1<<X;N&Z|$[X]&Z&&($[X]|=Z),G&=~N}}function P2($,Z){var G=Z&-Z;return G=(G&42)!==0?1:C2(G),(G&($.suspendedLanes|Z))!==0?0:G}function C2($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=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:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function G7($,Z,G){if(U8)for($=$.pendingUpdatersLaneMap;0<G;){var X=31-w5(G),N=1<<X;$[X].add(Z),G&=~N}}function M6($,Z){if(U8)for(var{pendingUpdatersLaneMap:G,memoizedUpdaters:X}=$;0<Z;){var N=31-w5(Z);$=1<<N,N=G[N],0<N.size&&(N.forEach(function(B){var W=B.alternate;W!==null&&X.has(W)||X.add(B)}),N.clear()),Z&=~$}}function E($){return $&=-$,e5!==0&&e5<$?j4!==0&&j4<$?($&134217727)!==0?N8:xG:j4:e5}function f(){var $=Z1.p;if($!==0)return $;return $=window.event,$===void 0?N8:dM($.type)}function r($,Z){var G=Z1.p;try{return Z1.p=$,Z()}finally{Z1.p=G}}function e($){delete $[G5],delete $[R5],delete $[LY],delete $[bV],delete $[fV]}function q0($){var Z=$[G5];if(Z)return Z;for(var G=$.parentNode;G;){if(Z=G[A6]||G[G5]){if(G=Z.alternate,Z.child!==null||G!==null&&G.child!==null)for($=DM($);$!==null;){if(G=$[G5])return G;$=DM($)}return Z}$=G,G=$.parentNode}return null}function E0($){if($=$[G5]||$[A6]){var Z=$.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return $}return null}function P0($){var Z=$.tag;if(Z===5||Z===26||Z===27||Z===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function a0($){var Z=$[JF];return Z||(Z=$[JF]={hoistableStyles:new Map,hoistableScripts:new Map}),Z}function F0($){$[p7]=!0}function K5($,Z){d5($,Z),d5($+"Capture",Z)}function d5($,Z){m2[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),m2[$]=Z;var G=$.toLowerCase();VY[G]=$,$==="onDoubleClick"&&(VY.ondblclick=$);for($=0;$<Z.length;$++)qF.add(Z[$])}function F6($,Z){yV[Z.type]||Z.onChange||Z.onInput||Z.readOnly||Z.disabled||Z.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),Z.onChange||Z.readOnly||Z.disabled||Z.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 J7($){if(D4.call(YF,$))return!0;if(D4.call(XF,$))return!1;if(gV.test($))return YF[$]=!0;return XF[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function tN($,Z,G){if(J7(Z)){if(!$.hasAttribute(Z)){switch(typeof G){case"symbol":case"object":return G;case"function":return G;case"boolean":if(G===!1)return G}return G===void 0?void 0:null}if($=$.getAttribute(Z),$===""&&G===!0)return!0;return Y1(G,Z),$===""+G?G:$}}function CQ($,Z,G){if(J7(Z))if(G===null)$.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":$.removeAttribute(Z);return;case"boolean":var X=Z.toLowerCase().slice(0,5);if(X!=="data-"&&X!=="aria-"){$.removeAttribute(Z);return}}Y1(G,Z),$.setAttribute(Z,""+G)}}function IQ($,Z,G){if(G===null)$.removeAttribute(Z);else{switch(typeof G){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Z);return}Y1(G,Z),$.setAttribute(Z,""+G)}}function C8($,Z,G,X){if(X===null)$.removeAttribute(G);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(G);return}Y1(X,G),$.setAttributeNS(Z,G,""+X)}}function X4($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return D0($),$;default:return""}}function eN($){var Z=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(Z==="checkbox"||Z==="radio")}function k_($,Z,G){var X=Object.getOwnPropertyDescriptor($.constructor.prototype,Z);if(!$.hasOwnProperty(Z)&&typeof X<"u"&&typeof X.get==="function"&&typeof X.set==="function"){var{get:N,set:B}=X;return Object.defineProperty($,Z,{configurable:!0,get:function(){return N.call(this)},set:function(W){D0(W),G=""+W,B.call(this,W)}}),Object.defineProperty($,Z,{enumerable:X.enumerable}),{getValue:function(){return G},setValue:function(W){D0(W),G=""+W},stopTracking:function(){$._valueTracker=null,delete $[Z]}}}}function Q3($){if(!$._valueTracker){var Z=eN($)?"checked":"value";$._valueTracker=k_($,Z,""+$[Z])}}function $K($){if(!$)return!1;var Z=$._valueTracker;if(!Z)return!0;var G=Z.getValue(),X="";return $&&(X=eN($)?$.checked?"true":"false":$.value),$=X,$!==G?(Z.setValue($),!0):!1}function OQ($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(Z){return $.body}}function Y4($){return $.replace(hV,function(Z){return"\\"+Z.charCodeAt(0).toString(16)+" "})}function ZK($,Z){Z.checked===void 0||Z.defaultChecked===void 0||NF||(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",P4()||"A component",Z.type),NF=!0),Z.value===void 0||Z.defaultValue===void 0||UF||(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",P4()||"A component",Z.type),UF=!0)}function G3($,Z,G,X,N,B,W,w){if($.name="",W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&typeof W!=="boolean"?(Y1(W,"type"),$.type=W):$.removeAttribute("type"),Z!=null)if(W==="number"){if(Z===0&&$.value===""||$.value!=Z)$.value=""+X4(Z)}else $.value!==""+X4(Z)&&($.value=""+X4(Z));else W!=="submit"&&W!=="reset"||$.removeAttribute("value");Z!=null?J3($,W,X4(Z)):G!=null?J3($,W,X4(G)):X!=null&&$.removeAttribute("value"),N==null&&B!=null&&($.defaultChecked=!!B),N!=null&&($.checked=N&&typeof N!=="function"&&typeof N!=="symbol"),w!=null&&typeof w!=="function"&&typeof w!=="symbol"&&typeof w!=="boolean"?(Y1(w,"name"),$.name=""+X4(w)):$.removeAttribute("name")}function QK($,Z,G,X,N,B,W,w){if(B!=null&&typeof B!=="function"&&typeof B!=="symbol"&&typeof B!=="boolean"&&(Y1(B,"type"),$.type=B),Z!=null||G!=null){if(!(B!=="submit"&&B!=="reset"||Z!==void 0&&Z!==null)){Q3($);return}G=G!=null?""+X4(G):"",Z=Z!=null?""+X4(Z):G,w||Z===$.value||($.value=Z),$.defaultValue=Z}X=X!=null?X:N,X=typeof X!=="function"&&typeof X!=="symbol"&&!!X,$.checked=w?$.checked:!!X,$.defaultChecked=!!X,W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&typeof W!=="boolean"&&(Y1(W,"name"),$.name=W),Q3($)}function J3($,Z,G){Z==="number"&&OQ($.ownerDocument)===$||$.defaultValue===""+G||($.defaultValue=""+G)}function GK($,Z){Z.value==null&&(typeof Z.children==="object"&&Z.children!==null?v9.Children.forEach(Z.children,function(G){G==null||typeof G==="string"||typeof G==="number"||typeof G==="bigint"||BF||(BF=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Z.dangerouslySetInnerHTML==null||HF||(HF=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Z.selected==null||KF||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),KF=!0)}function JK(){var $=P4();return $?`
34
-
35
- Check the render method of \``+$+"`.":""}function S$($,Z,G,X){if($=$.options,Z){Z={};for(var N=0;N<G.length;N++)Z["$"+G[N]]=!0;for(G=0;G<$.length;G++)N=Z.hasOwnProperty("$"+$[G].value),$[G].selected!==N&&($[G].selected=N),N&&X&&($[G].defaultSelected=!0)}else{G=""+X4(G),Z=null;for(N=0;N<$.length;N++){if($[N].value===G){$[N].selected=!0,X&&($[N].defaultSelected=!0);return}Z!==null||$[N].disabled||(Z=$[N])}Z!==null&&(Z.selected=!0)}}function qK($,Z){for($=0;$<FF.length;$++){var G=FF[$];if(Z[G]!=null){var X=c1(Z[G]);Z.multiple&&!X?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",G,JK()):!Z.multiple&&X&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",G,JK())}}Z.value===void 0||Z.defaultValue===void 0||MF||(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"),MF=!0)}function XK($,Z){Z.value===void 0||Z.defaultValue===void 0||WF||(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",P4()||"A component"),WF=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function YK($,Z,G){if(Z!=null&&(Z=""+X4(Z),Z!==$.value&&($.value=Z),G==null)){$.defaultValue!==Z&&($.defaultValue=Z);return}$.defaultValue=G!=null?""+X4(G):""}function UK($,Z,G,X){if(Z==null){if(X!=null){if(G!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(c1(X)){if(1<X.length)throw Error("<textarea> can only have at most one child.");X=X[0]}G=X}G==null&&(G=""),Z=G}G=X4(Z),$.defaultValue=G,X=$.textContent,X===G&&X!==""&&X!==null&&($.value=X),Q3($)}function NK($,Z){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-Z?NK($.children[0],Z):$}function p5($){return" "+" ".repeat($)}function v$($){return"+ "+" ".repeat($)}function I2($){return"- "+" ".repeat($)}function KK($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function q7($,Z){return wF.test($)?($=JSON.stringify($),$.length>Z-2?8>Z?'{"..."}':"{"+$.slice(0,Z-7)+'..."}':"{"+$+"}"):$.length>Z?5>Z?'{"..."}':$.slice(0,Z-3)+"...":$}function DQ($,Z,G){var X=120-2*G;if(Z===null)return v$(G)+q7($,X)+`
36
- `;if(typeof Z==="string"){for(var N=0;N<Z.length&&N<$.length&&Z.charCodeAt(N)===$.charCodeAt(N);N++);return N>X-8&&10<N&&($="..."+$.slice(N-8),Z="..."+Z.slice(N-8)),v$(G)+q7($,X)+`
37
- `+I2(G)+q7(Z,X)+`
38
- `}return p5(G)+q7($,X)+`
39
- `}function q3($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(Z,G){return G})}function X7($,Z){switch(typeof $){case"string":return $=JSON.stringify($),$.length>Z?5>Z?'"..."':$.slice(0,Z-4)+'..."':$;case"object":if($===null)return"null";if(c1($))return"[...]";if($.$$typeof===J8)return(Z=i($.type))?"<"+Z+">":"<...>";var G=q3($);if(G==="Object"){G="",Z-=2;for(var X in $)if($.hasOwnProperty(X)){var N=JSON.stringify(X);if(N!=='"'+X+'"'&&(X=N),Z-=X.length-2,N=X7($[X],15>Z?Z:15),Z-=N.length,0>Z){G+=G===""?"...":", ...";break}G+=(G===""?"":",")+X+":"+N}return"{"+G+"}"}return G;case"function":return(Z=$.displayName||$.name)?"function "+Z:"function";default:return String($)}}function k$($,Z){return typeof $!=="string"||wF.test($)?"{"+X7($,Z-2)+"}":$.length>Z-2?5>Z?'"..."':'"'+$.slice(0,Z-5)+'..."':'"'+$+'"'}function X3($,Z,G){var X=120-G.length-$.length,N=[],B;for(B in Z)if(Z.hasOwnProperty(B)&&B!=="children"){var W=k$(Z[B],120-G.length-B.length-1);X-=B.length+W.length+2,N.push(B+"="+W)}return N.length===0?G+"<"+$+`>
40
- `:0<X?G+"<"+$+" "+N.join(" ")+`>
41
- `:G+"<"+$+`
42
- `+G+" "+N.join(`
43
- `+G+" ")+`
44
- `+G+`>
45
- `}function b_($,Z,G){var X="",N=y0({},Z),B;for(B in $)if($.hasOwnProperty(B)){delete N[B];var W=120-2*G-B.length-2,w=X7($[B],W);Z.hasOwnProperty(B)?(W=X7(Z[B],W),X+=v$(G)+B+": "+w+`
46
- `,X+=I2(G)+B+": "+W+`
47
- `):X+=v$(G)+B+": "+w+`
48
- `}for(var _ in N)N.hasOwnProperty(_)&&($=X7(N[_],120-2*G-_.length-2),X+=I2(G)+_+": "+$+`
49
- `);return X}function f_($,Z,G,X){var N="",B=new Map;for(V in G)G.hasOwnProperty(V)&&B.set(V.toLowerCase(),V);if(B.size===1&&B.has("children"))N+=X3($,Z,p5(X));else{for(var W in Z)if(Z.hasOwnProperty(W)&&W!=="children"){var w=120-2*(X+1)-W.length-1,_=B.get(W.toLowerCase());if(_!==void 0){B.delete(W.toLowerCase());var V=Z[W];_=G[_];var k=k$(V,w);w=k$(_,w),typeof V==="object"&&V!==null&&typeof _==="object"&&_!==null&&q3(V)==="Object"&&q3(_)==="Object"&&(2<Object.keys(V).length||2<Object.keys(_).length||-1<k.indexOf("...")||-1<w.indexOf("..."))?N+=p5(X+1)+W+`={{
50
- `+b_(V,_,X+2)+p5(X+1)+`}}
51
- `:(N+=v$(X+1)+W+"="+k+`
52
- `,N+=I2(X+1)+W+"="+w+`
53
- `)}else N+=p5(X+1)+W+"="+k$(Z[W],w)+`
54
- `}B.forEach(function(b){if(b!=="children"){var D=120-2*(X+1)-b.length-1;N+=I2(X+1)+b+"="+k$(G[b],D)+`
55
- `}}),N=N===""?p5(X)+"<"+$+`>
56
- `:p5(X)+"<"+$+`
57
- `+N+p5(X)+`>
58
- `}if($=G.children,Z=Z.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(B="",typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")B=""+Z;N+=DQ(B,""+$,X+1)}else if(typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")N=$==null?N+DQ(""+Z,null,X+1):N+DQ(""+Z,void 0,X+1);return N}function BK($,Z){var G=KK($);if(G===null){G="";for($=$.child;$;)G+=BK($,Z),$=$.sibling;return G}return p5(Z)+"<"+G+`>
59
- `}function Y3($,Z){var G=NK($,Z);if(G!==$&&($.children.length!==1||$.children[0]!==G))return p5(Z)+`...
60
- `+Y3(G,Z+1);G="";var X=$.fiber._debugInfo;if(X)for(var N=0;N<X.length;N++){var B=X[N].name;typeof B==="string"&&(G+=p5(Z)+"<"+B+`>
61
- `,Z++)}if(X="",N=$.fiber.pendingProps,$.fiber.tag===6)X=DQ(N,$.serverProps,Z),Z++;else if(B=KK($.fiber),B!==null)if($.serverProps===void 0){X=Z;var W=120-2*X-B.length-2,w="";for(V in N)if(N.hasOwnProperty(V)&&V!=="children"){var _=k$(N[V],15);if(W-=V.length+_.length+2,0>W){w+=" ...";break}w+=" "+V+"="+_}X=p5(X)+"<"+B+w+`>
62
- `,Z++}else $.serverProps===null?(X=X3(B,N,v$(Z)),Z++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(X=f_(B,N,$.serverProps,Z),Z++);var V="";N=$.fiber.child;for(B=0;N&&B<$.children.length;)W=$.children[B],W.fiber===N?(V+=Y3(W,Z),B++):V+=BK(N,Z),N=N.sibling;N&&0<$.children.length&&(V+=p5(Z)+`...
63
- `),N=$.serverTail,$.serverProps===null&&Z--;for($=0;$<N.length;$++)B=N[$],V=typeof B==="string"?V+(I2(Z)+q7(B,120-2*Z)+`
64
- `):V+X3(B.type,B.props,I2(Z));return G+X+V}function U3($){try{return`
65
-
66
- `+Y3($,0)}catch(Z){return""}}function HK($,Z,G){for(var X=Z,N=null,B=0;X;)X===$&&(B=0),N={fiber:X,children:N!==null?[N]:[],serverProps:X===Z?G:X===$?null:void 0,serverTail:[],distanceFromLeaf:B},B++,X=X.return;return N!==null?U3(N).replaceAll(/^[+-]/gm,">"):""}function MK($,Z){var G=y0({},$||TF),X={tag:Z};if(RF.indexOf(Z)!==-1&&(G.aTagInScope=null,G.buttonTagInScope=null,G.nobrTagInScope=null),uV.indexOf(Z)!==-1&&(G.pTagInButtonScope=null),xV.indexOf(Z)!==-1&&Z!=="address"&&Z!=="div"&&Z!=="p"&&(G.listItemTagAutoclosing=null,G.dlItemTagAutoclosing=null),G.current=X,Z==="form"&&(G.formTag=X),Z==="a"&&(G.aTagInScope=X),Z==="button"&&(G.buttonTagInScope=X),Z==="nobr"&&(G.nobrTagInScope=X),Z==="p"&&(G.pTagInButtonScope=X),Z==="li"&&(G.listItemTagAutoclosing=X),Z==="dd"||Z==="dt")G.dlItemTagAutoclosing=X;return Z==="#document"||Z==="html"?G.containerTagInScope=null:G.containerTagInScope||(G.containerTagInScope=X),$!==null||Z!=="#document"&&Z!=="html"&&Z!=="body"?G.implicitRootScope===!0&&(G.implicitRootScope=!1):G.implicitRootScope=!0,G}function FK($,Z,G){switch(Z){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(G)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!G)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z!=="h1"&&Z!=="h2"&&Z!=="h3"&&Z!=="h4"&&Z!=="h5"&&Z!=="h6";case"rp":case"rt":return mV.indexOf(Z)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Z==null;case"head":return G||Z===null;case"html":return G&&Z==="#document"||Z===null;case"body":return G&&(Z==="#document"||Z==="html")||Z===null}return!0}function y_($,Z){switch($){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 Z.pTagInButtonScope;case"form":return Z.formTag||Z.pTagInButtonScope;case"li":return Z.listItemTagAutoclosing;case"dd":case"dt":return Z.dlItemTagAutoclosing;case"button":return Z.buttonTagInScope;case"a":return Z.aTagInScope;case"nobr":return Z.nobrTagInScope}return null}function WK($,Z){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===Z)return $}$=$.return}return null}function N3($,Z){Z=Z||TF;var G=Z.current;if(Z=(G=FK($,G&&G.tag,Z.implicitRootScope)?null:G)?null:y_($,Z),Z=G||Z,!Z)return!0;var X=Z.tag;if(Z=String(!!G)+"|"+$+"|"+X,uG[Z])return!1;uG[Z]=!0;var N=(Z=t5)?WK(Z.return,X):null,B=Z!==null&&N!==null?HK(N,Z,null):"",W="<"+$+">";return G?(G="",X==="table"&&$==="tr"&&(G+=" 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
67
- This will cause a hydration error.%s`,W,X,G,B)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
- This will cause a hydration error.%s`,W,X,B),Z&&($=Z.return,N===null||$===null||N===$&&$._debugOwner===Z._debugOwner||G0(N,function(){console.error(`<%s> cannot contain a nested %s.
69
- See this log for the ancestor stack trace.`,X,W)})),!1}function jQ($,Z,G){if(G||FK("#text",Z,!1))return!0;if(G="#text|"+Z,uG[G])return!1;uG[G]=!0;var X=(G=t5)?WK(G,Z):null;return G=G!==null&&X!==null?HK(X,G,G.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
70
- This will cause a hydration error.%s`,Z,G):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.
71
- This will cause a hydration error.%s`,Z,G),!1}function Y7($,Z){if(Z){var G=$.firstChild;if(G&&G===$.lastChild&&G.nodeType===3){G.nodeValue=Z;return}}$.textContent=Z}function g_($){return $.replace(cV,function(Z,G){return G.toUpperCase()})}function wK($,Z,G){var X=Z.indexOf("--")===0;X||(-1<Z.indexOf("-")?e$.hasOwnProperty(Z)&&e$[Z]||(e$[Z]=!0,console.error("Unsupported style property %s. Did you mean %s?",Z,g_(Z.replace(pV,"ms-")))):dV.test(Z)?e$.hasOwnProperty(Z)&&e$[Z]||(e$[Z]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))):!LF.test(G)||PY.hasOwnProperty(G)&&PY[G]||(PY[G]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,G.replace(LF,""))),typeof G==="number"&&(isNaN(G)?VF||(VF=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Z)):isFinite(G)||EF||(EF=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Z)))),G==null||typeof G==="boolean"||G===""?X?$.setProperty(Z,""):Z==="float"?$.cssFloat="":$[Z]="":X?$.setProperty(Z,G):typeof G!=="number"||G===0||PF.has(Z)?Z==="float"?$.cssFloat=G:(Q7(G,Z),$[Z]=(""+G).trim()):$[Z]=G+"px"}function RK($,Z,G){if(Z!=null&&typeof Z!=="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(Z&&Object.freeze(Z),$=$.style,G!=null){if(Z){var X={};if(G){for(var N in G)if(G.hasOwnProperty(N)&&!Z.hasOwnProperty(N))for(var B=EY[N]||[N],W=0;W<B.length;W++)X[B[W]]=N}for(var w in Z)if(Z.hasOwnProperty(w)&&(!G||G[w]!==Z[w]))for(N=EY[w]||[w],B=0;B<N.length;B++)X[N[B]]=w;w={};for(var _ in Z)for(N=EY[_]||[_],B=0;B<N.length;B++)w[N[B]]=_;_={};for(var V in X)if(N=X[V],(B=w[V])&&N!==B&&(W=N+","+B,!_[W])){_[W]=!0,W=console;var k=Z[N];W.error.call(W,"%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.",k==null||typeof k==="boolean"||k===""?"Removing":"Updating",N,B)}}for(var b in G)!G.hasOwnProperty(b)||Z!=null&&Z.hasOwnProperty(b)||(b.indexOf("--")===0?$.setProperty(b,""):b==="float"?$.cssFloat="":$[b]="");for(var D in Z)V=Z[D],Z.hasOwnProperty(D)&&G[D]!==V&&wK($,D,V)}else for(X in Z)Z.hasOwnProperty(X)&&wK($,X,Z[X])}function U7($){if($.indexOf("-")===-1)return!1;switch($){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 TK($){return lV.get($)||$}function h_($,Z){if(D4.call(Z9,Z)&&Z9[Z])return!0;if(sV.test(Z)){if($="aria-"+Z.slice(4).toLowerCase(),$=CF.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Z),Z9[Z]=!0;if(Z!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Z,$),Z9[Z]=!0}if(rV.test(Z)){if($=Z.toLowerCase(),$=CF.hasOwnProperty($)?$:null,$==null)return Z9[Z]=!0,!1;Z!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Z,$),Z9[Z]=!0)}return!0}function x_($,Z){var G=[],X;for(X in Z)h_($,X)||G.push(X);Z=G.map(function(N){return"`"+N+"`"}).join(", "),G.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,$):1<G.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,$)}function u_($,Z,G,X){if(D4.call(T5,Z)&&T5[Z])return!0;var N=Z.toLowerCase();if(N==="onfocusin"||N==="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."),T5[Z]=!0;if(typeof G==="function"&&($==="form"&&Z==="action"||$==="input"&&Z==="formAction"||$==="button"&&Z==="formAction"))return!0;if(X!=null){if($=X.possibleRegistrationNames,X.registrationNameDependencies.hasOwnProperty(Z))return!0;if(X=$.hasOwnProperty(N)?$[N]:null,X!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Z,X),T5[Z]=!0;if(OF.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),T5[Z]=!0}else if(OF.test(Z))return nV.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),T5[Z]=!0;if(oV.test(Z)||aV.test(Z))return!0;if(N==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),T5[Z]=!0;if(N==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),T5[Z]=!0;if(N==="is"&&G!==null&&G!==void 0&&typeof G!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof G),T5[Z]=!0;if(typeof G==="number"&&isNaN(G))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Z),T5[Z]=!0;if(dG.hasOwnProperty(N)){if(N=dG[N],N!==Z)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Z,N),T5[Z]=!0}else if(Z!==N)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.",Z,N),T5[Z]=!0;switch(Z){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 G){case"boolean":switch(Z){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:if(N=Z.toLowerCase().slice(0,5),N==="data-"||N==="aria-")return!0;return G?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()}.',G,Z,Z,G,Z):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.',G,Z,Z,G,Z,Z,Z),T5[Z]=!0}case"function":case"symbol":return T5[Z]=!0,!1;case"string":if(G==="false"||G==="true"){switch(Z){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}?",G,Z,G==="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".',Z,G),T5[Z]=!0}}return!0}function m_($,Z,G){var X=[],N;for(N in Z)u_($,N,Z[N],G)||X.push(N);Z=X.map(function(B){return"`"+B+"`"}).join(", "),X.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 ",Z,$):1<X.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 ",Z,$)}function N7($){return iV.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function I8(){}function K3($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function zK($){var Z=E0($);if(Z&&($=Z.stateNode)){var G=$[R5]||null;$:switch($=Z.stateNode,Z.type){case"input":if(G3($,G.value,G.defaultValue,G.defaultValue,G.checked,G.defaultChecked,G.type,G.name),Z=G.name,G.type==="radio"&&Z!=null){for(G=$;G.parentNode;)G=G.parentNode;Y1(Z,"name"),G=G.querySelectorAll('input[name="'+Y4(""+Z)+'"][type="radio"]');for(Z=0;Z<G.length;Z++){var X=G[Z];if(X!==$&&X.form===$.form){var N=X[R5]||null;if(!N)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");G3(X,N.value,N.defaultValue,N.defaultValue,N.checked,N.defaultChecked,N.type,N.name)}}for(Z=0;Z<G.length;Z++)X=G[Z],X.form===$.form&&$K(X)}break $;case"textarea":YK($,G.value,G.defaultValue);break $;case"select":Z=G.value,Z!=null&&S$($,!!G.multiple,Z,!1)}}}function _K($,Z,G){if(CY)return $(Z,G);CY=!0;try{var X=$(Z);return X}finally{if(CY=!1,Q9!==null||G9!==null){if(p$(),Q9&&(Z=Q9,$=G9,G9=Q9=null,zK(Z),$))for(Z=0;Z<$.length;Z++)zK($[Z])}}}function K7($,Z){var G=$.stateNode;if(G===null)return null;var X=G[R5]||null;if(X===null)return null;G=X[Z];$:switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(X=!X.disabled)||($=$.type,X=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!X;break $;default:$=!1}if($)return null;if(G&&typeof G!=="function")throw Error("Expected `"+Z+"` listener to be a function, instead got a value of `"+typeof G+"` type.");return G}function LK(){if(pG)return pG;var $,Z=OY,G=Z.length,X,N="value"in S6?S6.value:S6.textContent,B=N.length;for($=0;$<G&&Z[$]===N[$];$++);var W=G-$;for(X=1;X<=W&&Z[G-X]===N[B-X];X++);return pG=N.slice($,1<X?1-X:void 0)}function AQ($){var Z=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&Z===13&&($=13)):$=Z,$===10&&($=13),32<=$||$===13?$:0}function SQ(){return!0}function VK(){return!1}function I5($){function Z(G,X,N,B,W){this._reactName=G,this._targetInst=N,this.type=X,this.nativeEvent=B,this.target=W,this.currentTarget=null;for(var w in $)$.hasOwnProperty(w)&&(G=$[w],this[w]=G?G(B):B[w]);return this.isDefaultPrevented=(B.defaultPrevented!=null?B.defaultPrevented:B.returnValue===!1)?SQ:VK,this.isPropagationStopped=VK,this}return y0(Z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var G=this.nativeEvent;G&&(G.preventDefault?G.preventDefault():typeof G.returnValue!=="unknown"&&(G.returnValue=!1),this.isDefaultPrevented=SQ)},stopPropagation:function(){var G=this.nativeEvent;G&&(G.stopPropagation?G.stopPropagation():typeof G.cancelBubble!=="unknown"&&(G.cancelBubble=!0),this.isPropagationStopped=SQ)},persist:function(){},isPersistent:SQ}),Z}function d_($){var Z=this.nativeEvent;return Z.getModifierState?Z.getModifierState($):($=KE[$])?!!Z[$]:!1}function B3(){return d_}function EK($,Z){switch($){case"keyup":return VE.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==SF;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function PK($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function p_($,Z){switch($){case"compositionend":return PK(Z);case"keypress":if(Z.which!==kF)return null;return fF=!0,bF;case"textInput":return $=Z.data,$===bF&&fF?null:$;default:return null}}function c_($,Z){if(J9)return $==="compositionend"||!SY&&EK($,Z)?($=LK(),pG=OY=S6=null,J9=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(Z.ctrlKey||Z.altKey||Z.metaKey)||Z.ctrlKey&&Z.altKey){if(Z.char&&1<Z.char.length)return Z.char;if(Z.which)return String.fromCharCode(Z.which)}return null;case"compositionend":return vF&&Z.locale!=="ko"?null:Z.data;default:return null}}function CK($){var Z=$&&$.nodeName&&$.nodeName.toLowerCase();return Z==="input"?!!PE[$.type]:Z==="textarea"?!0:!1}function l_($){if(!K8)return!1;$="on"+$;var Z=$ in document;return Z||(Z=document.createElement("div"),Z.setAttribute($,"return;"),Z=typeof Z[$]==="function"),Z}function IK($,Z,G,X){Q9?G9?G9.push(X):G9=[X]:Q9=X,Z=EG(Z,"onChange"),0<Z.length&&(G=new cG("onChange","change",null,G,X),$.push({event:G,listeners:Z}))}function r_($){UM($,0)}function vQ($){var Z=P0($);if($K(Z))return $}function OK($,Z){if($==="change")return Z}function DK(){o7&&(o7.detachEvent("onpropertychange",jK),a7=o7=null)}function jK($){if($.propertyName==="value"&&vQ(a7)){var Z=[];IK(Z,a7,$,K3($)),_K(r_,Z)}}function s_($,Z,G){$==="focusin"?(DK(),o7=Z,a7=G,o7.attachEvent("onpropertychange",jK)):$==="focusout"&&DK()}function n_($){if($==="selectionchange"||$==="keyup"||$==="keydown")return vQ(a7)}function o_($,Z){if($==="click")return vQ(Z)}function a_($,Z){if($==="input"||$==="change")return vQ(Z)}function i_($,Z){return $===Z&&($!==0||1/$===1/Z)||$!==$&&Z!==Z}function B7($,Z){if(z5($,Z))return!0;if(typeof $!=="object"||$===null||typeof Z!=="object"||Z===null)return!1;var G=Object.keys($),X=Object.keys(Z);if(G.length!==X.length)return!1;for(X=0;X<G.length;X++){var N=G[X];if(!D4.call(Z,N)||!z5($[N],Z[N]))return!1}return!0}function AK($){for(;$&&$.firstChild;)$=$.firstChild;return $}function SK($,Z){var G=AK($);$=0;for(var X;G;){if(G.nodeType===3){if(X=$+G.textContent.length,$<=Z&&X>=Z)return{node:G,offset:Z-$};$=X}$:{for(;G;){if(G.nextSibling){G=G.nextSibling;break $}G=G.parentNode}G=void 0}G=AK(G)}}function vK($,Z){return $&&Z?$===Z?!0:$&&$.nodeType===3?!1:Z&&Z.nodeType===3?vK($,Z.parentNode):("contains"in $)?$.contains(Z):$.compareDocumentPosition?!!($.compareDocumentPosition(Z)&16):!1:!1}function kK($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var Z=OQ($.document);Z instanceof $.HTMLIFrameElement;){try{var G=typeof Z.contentWindow.location.href==="string"}catch(X){G=!1}if(G)$=Z.contentWindow;else break;Z=OQ($.document)}return Z}function H3($){var Z=$&&$.nodeName&&$.nodeName.toLowerCase();return Z&&(Z==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||Z==="textarea"||$.contentEditable==="true")}function bK($,Z,G){var X=G.window===G?G.document:G.nodeType===9?G:G.ownerDocument;kY||q9==null||q9!==OQ(X)||(X=q9,("selectionStart"in X)&&H3(X)?X={start:X.selectionStart,end:X.selectionEnd}:(X=(X.ownerDocument&&X.ownerDocument.defaultView||window).getSelection(),X={anchorNode:X.anchorNode,anchorOffset:X.anchorOffset,focusNode:X.focusNode,focusOffset:X.focusOffset}),i7&&B7(i7,X)||(i7=X,X=EG(vY,"onSelect"),0<X.length&&(Z=new cG("onSelect","select",null,Z,G),$.push({event:Z,listeners:X}),Z.target=q9)))}function O2($,Z){var G={};return G[$.toLowerCase()]=Z.toLowerCase(),G["Webkit"+$]="webkit"+Z,G["Moz"+$]="moz"+Z,G}function D2($){if(bY[$])return bY[$];if(!X9[$])return $;var Z=X9[$],G;for(G in Z)if(Z.hasOwnProperty(G)&&G in gF)return bY[$]=Z[G];return $}function C4($,Z){dF.set($,Z),K5(Z,[$])}function t_($){for(var Z=rG,G=0;G<$.length;G++){var X=$[G];if(typeof X==="object"&&X!==null)if(c1(X)&&X.length===2&&typeof X[0]==="string"){if(Z!==rG&&Z!==xY)return gY;Z=xY}else return gY;else{if(typeof X==="function"||typeof X==="string"&&50<X.length||Z!==rG&&Z!==hY)return gY;Z=hY}}return Z}function M3($,Z,G,X){for(var N in $)D4.call($,N)&&N[0]!=="_"&&d4(N,$[N],Z,G,X)}function d4($,Z,G,X,N){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===J8){var B=i(Z.type)||"…",W=Z.key;Z=Z.props;var w=Object.keys(Z),_=w.length;if(W==null&&_===0){Z="<"+B+" />";break}if(3>X||_===1&&w[0]==="children"&&W==null){Z="<"+B+" … />";break}G.push([N+"  ".repeat(X)+$,"<"+B]),W!==null&&d4("key",W,G,X+1,N),$=!1;for(var V in Z)V==="children"?Z.children!=null&&(!c1(Z.children)||0<Z.children.length)&&($=!0):D4.call(Z,V)&&V[0]!=="_"&&d4(V,Z[V],G,X+1,N);G.push(["",$?">…</"+B+">":"/>"]);return}if(B=Object.prototype.toString.call(Z),B=B.slice(8,B.length-1),B==="Array"){if(V=t_(Z),V===hY||V===rG){Z=JSON.stringify(Z);break}else if(V===xY){G.push([N+"  ".repeat(X)+$,""]);for($=0;$<Z.length;$++)B=Z[$],d4(B[0],B[1],G,X+1,N);return}}if(B==="Promise"){if(Z.status==="fulfilled"){if(B=G.length,d4($,Z.value,G,X,N),G.length>B){G=G[B],G[1]="Promise<"+(G[1]||"Object")+">";return}}else if(Z.status==="rejected"&&(B=G.length,d4($,Z.reason,G,X,N),G.length>B)){G=G[B],G[1]="Rejected Promise<"+G[1]+">";return}G.push(["  ".repeat(X)+$,"Promise"]);return}B==="Object"&&(V=Object.getPrototypeOf(Z))&&typeof V.constructor==="function"&&(B=V.constructor.name),G.push([N+"  ".repeat(X)+$,B==="Object"?3>X?"":"…":B]),3>X&&M3(Z,G,X+1,N);return}case"function":Z=Z.name===""?"() => {}":Z.name+"() {}";break;case"string":Z=Z===SE?"…":JSON.stringify(Z);break;case"undefined":Z="undefined";break;case"boolean":Z=Z?"true":"false";break;default:Z=String(Z)}G.push([N+"  ".repeat(X)+$,Z])}function fK($,Z,G,X){var N=!0;for(W in $)W in Z||(G.push([sG+"  ".repeat(X)+W,"…"]),N=!1);for(var B in Z)if(B in $){var W=$[B],w=Z[B];if(W!==w){if(X===0&&B==="children")N="  ".repeat(X)+B,G.push([sG+N,"…"],[nG+N,"…"]);else{if(!(3<=X)){if(typeof W==="object"&&typeof w==="object"&&W!==null&&w!==null&&W.$$typeof===w.$$typeof)if(w.$$typeof===J8){if(W.type===w.type&&W.key===w.key){W=i(w.type)||"…",N="  ".repeat(X)+B,W="<"+W+" … />",G.push([sG+N,W],[nG+N,W]),N=!1;continue}}else{var _=Object.prototype.toString.call(W),V=Object.prototype.toString.call(w);if(_===V&&(V==="[object Object]"||V==="[object Array]")){_=[lF+"  ".repeat(X)+B,V==="[object Array]"?"Array":""],G.push(_),V=G.length,fK(W,w,G,X+1)?V===G.length&&(_[1]="Referentially unequal but deeply equal objects. Consider memoization."):N=!1;continue}}else if(typeof W==="function"&&typeof w==="function"&&W.name===w.name&&W.length===w.length&&(_=Function.prototype.toString.call(W),V=Function.prototype.toString.call(w),_===V)){W=w.name===""?"() => {}":w.name+"() {}",G.push([lF+"  ".repeat(X)+B,W+" Referentially unequal function closure. Consider memoization."]);continue}}d4(B,W,G,X,sG),d4(B,w,G,X,nG)}N=!1}}else G.push([nG+"  ".repeat(X)+B,"…"]),N=!1;return N}function c5($){u0=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function p4($,Z,G,X){w1&&(k6.start=Z,k6.end=G,f8.color="warning",f8.tooltipText=X,f8.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,X,k6)):performance.measure(X,k6))}function kQ($,Z,G){p4($,Z,G,"Reconnect")}function bQ($,Z,G,X,N){var B=d($);if(B!==null&&w1){var{alternate:W,actualDuration:w}=$;if(W===null||W.child!==$.child)for(var _=$.child;_!==null;_=_.sibling)w-=_.actualDuration;X=0.5>w?X?"tertiary-light":"primary-light":10>w?X?"tertiary":"primary":100>w?X?"tertiary-dark":"primary-dark":"error";var V=$.memoizedProps;w=$._debugTask,V!==null&&W!==null&&W.memoizedProps!==V?(_=[vE],V=fK(W.memoizedProps,V,_,0),1<_.length&&(V&&!v6&&(W.lanes&N)===0&&100<$.actualDuration?(v6=!0,_[0]=kE,f8.color="warning",f8.tooltipText=rF):(f8.color=X,f8.tooltipText=B),f8.properties=_,k6.start=Z,k6.end=G,w!=null?w.run(performance.measure.bind(performance,"​"+B,k6)):performance.measure("​"+B,k6))):w!=null?w.run(console.timeStamp.bind(console,B,Z,G,N4,void 0,X)):console.timeStamp(B,Z,G,N4,void 0,X)}}function F3($,Z,G,X){if(w1){var N=d($);if(N!==null){for(var B=null,W=[],w=0;w<X.length;w++){var _=X[w];B==null&&_.source!==null&&(B=_.source._debugTask),_=_.value,W.push(["Error",typeof _==="object"&&_!==null&&typeof _.message==="string"?String(_.message):String(_)])}$.key!==null&&d4("key",$.key,W,0,""),$.memoizedProps!==null&&M3($.memoizedProps,W,0,""),B==null&&(B=$._debugTask),$={start:Z,end:G,detail:{devtools:{color:"error",track:N4,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:W}}},B?B.run(performance.measure.bind(performance,"​"+N,$)):performance.measure("​"+N,$)}}}function c4($,Z,G,X,N){if(N!==null){if(w1){var B=d($);if(B!==null){X=[];for(var W=0;W<N.length;W++){var w=N[W].value;X.push(["Error",typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w)])}$.key!==null&&d4("key",$.key,X,0,""),$.memoizedProps!==null&&M3($.memoizedProps,X,0,""),Z={start:Z,end:G,detail:{devtools:{color:"error",track:N4,tooltipText:"A lifecycle or effect errored",properties:X}}},($=$._debugTask)?$.run(performance.measure.bind(performance,"​"+B,Z)):performance.measure("​"+B,Z)}}}else B=d($),B!==null&&w1&&(N=1>X?"secondary-light":100>X?"secondary":500>X?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,B,Z,G,N4,void 0,N)):console.timeStamp(B,Z,G,N4,void 0,N))}function e_($,Z,G,X){if(w1&&!(Z<=$)){var N=(G&738197653)===G?"tertiary-dark":"primary-dark";G=(G&536870912)===G?"Prepared":(G&201326741)===G?"Hydrated":"Render",X?X.run(console.timeStamp.bind(console,G,$,Z,u0,g0,N)):console.timeStamp(G,$,Z,u0,g0,N)}}function yK($,Z,G,X){!w1||Z<=$||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Prewarm",$,Z,u0,g0,G)):console.timeStamp("Prewarm",$,Z,u0,g0,G))}function gK($,Z,G,X){!w1||Z<=$||(G=(G&738197653)===G?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Suspended",$,Z,u0,g0,G)):console.timeStamp("Suspended",$,Z,u0,g0,G))}function $L($,Z,G,X,N,B){if(w1&&!(Z<=$)){G=[];for(var W=0;W<X.length;W++){var w=X[W].value;G.push(["Recoverable Error",typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w)])}$={start:$,end:Z,detail:{devtools:{color:"primary-dark",track:u0,trackGroup:g0,tooltipText:N?"Hydration Failed":"Recovered after Error",properties:G}}},B?B.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function W3($,Z,G,X){!w1||Z<=$||(X?X.run(console.timeStamp.bind(console,"Errored",$,Z,u0,g0,"error")):console.timeStamp("Errored",$,Z,u0,g0,"error"))}function ZL($,Z,G,X){!w1||Z<=$||(X?X.run(console.timeStamp.bind(console,G,$,Z,u0,g0,"secondary-light")):console.timeStamp(G,$,Z,u0,g0,"secondary-light"))}function hK($,Z,G,X,N){if(w1&&!(Z<=$)){for(var B=[],W=0;W<G.length;W++){var w=G[W].value;B.push(["Error",typeof w==="object"&&w!==null&&typeof w.message==="string"?String(w.message):String(w)])}$={start:$,end:Z,detail:{devtools:{color:"error",track:u0,trackGroup:g0,tooltipText:X?"Remaining Effects Errored":"Commit Errored",properties:B}}},N?N.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function H7($,Z,G){!w1||Z<=$||(G?G.run(console.timeStamp.bind(console,"Animating",$,Z,u0,g0,"secondary-dark")):console.timeStamp("Animating",$,Z,u0,g0,"secondary-dark"))}function fQ(){for(var $=Y9,Z=uY=Y9=0;Z<$;){var G=K4[Z];K4[Z++]=null;var X=K4[Z];K4[Z++]=null;var N=K4[Z];K4[Z++]=null;var B=K4[Z];if(K4[Z++]=null,X!==null&&N!==null){var W=X.pending;W===null?N.next=N:(N.next=W.next,W.next=N),X.pending=N}B!==0&&xK(G,N,B)}}function yQ($,Z,G,X){K4[Y9++]=$,K4[Y9++]=Z,K4[Y9++]=G,K4[Y9++]=X,uY|=X,$.lanes|=X,$=$.alternate,$!==null&&($.lanes|=X)}function w3($,Z,G,X){return yQ($,Z,G,X),gQ($)}function B5($,Z){return yQ($,null,null,Z),gQ($)}function xK($,Z,G){$.lanes|=G;var X=$.alternate;X!==null&&(X.lanes|=G);for(var N=!1,B=$.return;B!==null;)B.childLanes|=G,X=B.alternate,X!==null&&(X.childLanes|=G),B.tag===22&&($=B.stateNode,$===null||$._visibility&t7||(N=!0)),$=B,B=B.return;return $.tag===3?(B=$.stateNode,N&&Z!==null&&(N=31-w5(G),$=B.hiddenUpdates,X=$[N],X===null?$[N]=[Z]:X.push(Z),Z.lane=G|536870912),B):null}function gQ($){if(CZ>nE)throw G$=CZ=0,IZ=zU=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.");G$>oE&&(G$=0,IZ=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.")),$.alternate===null&&($.flags&4098)!==0&&ZM($);for(var Z=$,G=Z.return;G!==null;)Z.alternate===null&&(Z.flags&4098)!==0&&ZM($),Z=G,G=Z.return;return Z.tag===3?Z.stateNode:null}function j2($){if(B4===null)return $;var Z=B4($);return Z===void 0?$:Z.current}function R3($){if(B4===null)return $;var Z=B4($);return Z===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(Z=j2($.render),$.render!==Z)?(Z={$$typeof:u7,render:Z},$.displayName!==void 0&&(Z.displayName=$.displayName),Z):$:Z.current}function uK($,Z){if(B4===null)return!1;var G=$.elementType;Z=Z.type;var X=!1,N=typeof Z==="object"&&Z!==null?Z.$$typeof:null;switch($.tag){case 1:typeof Z==="function"&&(X=!0);break;case 0:typeof Z==="function"?X=!0:N===i5&&(X=!0);break;case 11:N===u7?X=!0:N===i5&&(X=!0);break;case 14:case 15:N===bG?X=!0:N===i5&&(X=!0);break;default:return!1}return X&&($=B4(G),$!==void 0&&$===B4(Z))?!0:!1}function mK($){B4!==null&&typeof WeakSet==="function"&&(U9===null&&(U9=new WeakSet),U9.add($))}function dK($,Z,G){do{var X=$,N=X.alternate,B=X.child,W=X.sibling,w=X.tag;X=X.type;var _=null;switch(w){case 0:case 15:case 1:_=X;break;case 11:_=X.render}if(B4===null)throw Error("Expected resolveFamily to be set during hot reload.");var V=!1;if(X=!1,_!==null&&(_=B4(_),_!==void 0&&(G.has(_)?X=!0:Z.has(_)&&(w===1?X=!0:V=!0))),U9!==null&&(U9.has($)||N!==null&&U9.has(N))&&(X=!0),X&&($._debugNeedsRemount=!0),X||V)N=B5($,2),N!==null&&C1(N,$,2);if(B===null||X||dK(B,Z,G),W===null)break;$=W}while(1)}function QL($,Z,G,X){this.tag=$,this.key=G,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Z,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=X,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,sF||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function T3($){return $=$.prototype,!(!$||!$.isReactComponent)}function O8($,Z){var G=$.alternate;switch(G===null?(G=L($.tag,Z,$.key,$.mode),G.elementType=$.elementType,G.type=$.type,G.stateNode=$.stateNode,G._debugOwner=$._debugOwner,G._debugStack=$._debugStack,G._debugTask=$._debugTask,G._debugHookTypes=$._debugHookTypes,G.alternate=$,$.alternate=G):(G.pendingProps=Z,G.type=$.type,G.flags=0,G.subtreeFlags=0,G.deletions=null,G.actualDuration=-0,G.actualStartTime=-1.1),G.flags=$.flags&65011712,G.childLanes=$.childLanes,G.lanes=$.lanes,G.child=$.child,G.memoizedProps=$.memoizedProps,G.memoizedState=$.memoizedState,G.updateQueue=$.updateQueue,Z=$.dependencies,G.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},G.sibling=$.sibling,G.index=$.index,G.ref=$.ref,G.refCleanup=$.refCleanup,G.selfBaseDuration=$.selfBaseDuration,G.treeBaseDuration=$.treeBaseDuration,G._debugInfo=$._debugInfo,G._debugNeedsRemount=$._debugNeedsRemount,G.tag){case 0:case 15:G.type=j2($.type);break;case 1:G.type=j2($.type);break;case 11:G.type=R3($.type)}return G}function pK($,Z){$.flags&=65011714;var G=$.alternate;return G===null?($.childLanes=0,$.lanes=Z,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=G.childLanes,$.lanes=G.lanes,$.child=G.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=G.memoizedProps,$.memoizedState=G.memoizedState,$.updateQueue=G.updateQueue,$.type=G.type,Z=G.dependencies,$.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},$.selfBaseDuration=G.selfBaseDuration,$.treeBaseDuration=G.treeBaseDuration),$}function z3($,Z,G,X,N,B){var W=0,w=$;if(typeof $==="function")T3($)&&(W=1),w=j2(w);else if(typeof $==="string")W=K0(),W=BV($,G,W)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case BY:return Z=L(31,G,Z,N),Z.elementType=BY,Z.lanes=B,Z;case a$:return A2(G.children,N,B,Z);case kG:W=8,N|=M5,N|=A4;break;case YY:return $=G,X=N,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),Z=L(12,$,Z,X|j0),Z.elementType=YY,Z.lanes=B,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z;case NY:return Z=L(13,G,Z,N),Z.elementType=NY,Z.lanes=B,Z;case KY:return Z=L(19,G,Z,N),Z.elementType=KY,Z.lanes=B,Z;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case q8:W=10;break $;case UY:W=9;break $;case u7:W=11,w=R3(w);break $;case bG:W=14;break $;case i5:W=16,w=null;break $}if(w="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?G="null":c1($)?G="array":$!==void 0&&$.$$typeof===J8?(G="<"+(i($.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):G=typeof $,(W=X?Y0(X):null)&&(w+=`
72
-
73
- Check the render method of \``+W+"`."),W=29,G=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(G+"."+w)),w=null}return Z=L(W,G,Z,N),Z.elementType=$,Z.type=w,Z.lanes=B,Z._debugOwner=X,Z}function hQ($,Z,G){return Z=z3($.type,$.key,$.props,$._owner,Z,G),Z._debugOwner=$._owner,Z._debugStack=$._debugStack,Z._debugTask=$._debugTask,Z}function A2($,Z,G,X){return $=L(7,$,X,Z),$.lanes=G,$}function _3($,Z,G){return $=L(6,$,null,Z),$.lanes=G,$}function cK($){var Z=L(18,null,null,_0);return Z.stateNode=$,Z}function L3($,Z,G){return Z=L(4,$.children!==null?$.children:[],$.key,Z),Z.lanes=G,Z.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},Z}function l5($,Z){if(typeof $==="object"&&$!==null){var G=mY.get($);if(G!==void 0)return G;return Z={value:$,source:Z,stack:f1(Z)},mY.set($,Z),Z}return{value:$,source:Z,stack:f1(Z)}}function D8($,Z){W6(),N9[K9++]=e7,N9[K9++]=oG,oG=$,e7=Z}function lK($,Z,G){W6(),H4[M4++]=g8,H4[M4++]=h8,H4[M4++]=p2,p2=$;var X=g8;$=h8;var N=32-w5(X)-1;X&=~(1<<N),G+=1;var B=32-w5(Z)+N;if(30<B){var W=N-N%5;B=(X&(1<<W)-1).toString(32),X>>=W,N-=W,g8=1<<32-w5(Z)+N|G<<N|X,h8=B+$}else g8=1<<B|G<<N|X,h8=$}function V3($){W6(),$.return!==null&&(D8($,1),lK($,1,0))}function E3($){for(;$===oG;)oG=N9[--K9],N9[K9]=null,e7=N9[--K9],N9[K9]=null;for(;$===p2;)p2=H4[--M4],H4[M4]=null,h8=H4[--M4],H4[M4]=null,g8=H4[--M4],H4[M4]=null}function rK(){return W6(),p2!==null?{id:g8,overflow:h8}:null}function sK($,Z){W6(),H4[M4++]=g8,H4[M4++]=h8,H4[M4++]=p2,g8=Z.id,h8=Z.overflow,p2=$}function W6(){p0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function S2($,Z){if($.return===null){if($4===null)$4={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z};else{if($4.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");$4.distanceFromLeaf>Z&&($4.distanceFromLeaf=Z)}return $4}var G=S2($.return,Z+1).children;if(0<G.length&&G[G.length-1].fiber===$)return G=G[G.length-1],G.distanceFromLeaf>Z&&(G.distanceFromLeaf=Z),G;return Z={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z},G.push(Z),Z}function nK(){p0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function xQ($,Z){B8||($=S2($,0),$.serverProps=null,Z!==null&&(Z=IM(Z),$.serverTail.push(Z)))}function w6($){var Z=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,G="",X=$4;throw X!==null&&($4=null,G=U3(X)),M7(l5(Error("Hydration failed because the server rendered "+(Z?"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:
29
+ `+t.stack}}function K8($){return($=$?$.displayName||$.name:"")?b0($):""}function P1(){if(t8===null)return null;var $=t8._debugOwner;return $!=null?Y0($):null}function Eq(){if(t8===null)return"";var $=t8;try{var Z="";switch($.tag===6&&($=$.return),$.tag){case 26:case 27:case 5:Z+=b0($.type);break;case 13:Z+=b0("Suspense");break;case 19:Z+=b0("SuspenseList");break;case 31:Z+=b0("Activity");break;case 30:case 0:case 15:case 1:$._debugOwner||Z!==""||(Z+=K8($.type));break;case 11:$._debugOwner||Z!==""||(Z+=K8($.type.render))}for(;$;)if(typeof $.tag==="number"){var q=$;$=q._debugOwner;var X=q._debugStack;if($&&X){var K=M0(X);K!==""&&(Z+=`
30
+ `+K)}}else if($.debugStack!=null){var N=$.debugStack;($=$.owner)&&N&&(Z+=`
31
+ `+M0(N))}else break;var W=Z}catch(R){W=`
32
+ Error generating stack: `+R.message+`
33
+ `+R.stack}return W}function q0($,Z,q,X,K,N,W){var R=t8;O7($);try{return $!==null&&$._debugTask?$._debugTask.run(Z.bind(null,q,X,K,N,W)):Z(q,X,K,N,W)}finally{O7(R)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function O7($){h.getCurrentStack=$===null?null:Eq,X$=!1,t8=$}function V4($){return typeof Symbol==="function"&&Symbol.toStringTag&&$[Symbol.toStringTag]||$.constructor.name||"Object"}function N6($){try{return s5($),!1}catch(Z){return!0}}function s5($){return""+$}function Y5($,Z){if(N6($))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",Z,V4($)),s5($)}function QZ($,Z){if(N6($))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.",Z,V4($)),s5($)}function j0($){if(N6($))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.",V4($)),s5($)}function j7($){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var Z=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(Z.isDisabled)return!0;if(!Z.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{t7=Z.inject($),M8=Z}catch(q){console.error("React instrumentation encountered an error: %o.",q)}return Z.checkDCE?!0:!1}function M5($){if(typeof DE==="function"&&SE($),M8&&typeof M8.setStrictMode==="function")try{M8.setStrictMode(t7,$)}catch(Z){Y$||(Y$=!0,console.error("React instrumentation encountered an error: %o",Z))}}function wq($){return $>>>=0,$===0?32:31-(vE($)/kE|0)|0}function m1($){var Z=$&42;if(Z!==0)return Z;switch($&-$){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 $&261888;case 262144:case 524288:case 1048576:case 2097152:return $&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return $&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."),$}}function _4($,Z,q){var X=$.pendingLanes;if(X===0)return 0;var K=0,N=$.suspendedLanes,W=$.pingedLanes;$=$.warmLanes;var R=X&134217727;return R!==0?(X=R&~N,X!==0?K=m1(X):(W&=R,W!==0?K=m1(W):q||(q=R&~$,q!==0&&(K=m1(q))))):(R=X&~N,R!==0?K=m1(R):W!==0?K=m1(W):q||(q=X&~$,q!==0&&(K=m1(q)))),K===0?0:Z!==0&&Z!==K&&(Z&N)===0&&(N=K&-K,q=Z&-Z,N>=q||N===32&&(q&4194048)!==0)?Z:K}function T4($,Z){return($.pendingLanes&~($.suspendedLanes&~$.pingedLanes)&Z)===0}function ZX($,Z){switch($){case 1:case 2:case 4:case 8:case 64:return Z+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 Z+5000;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 A7(){var $=xG;return xG<<=1,(xG&62914560)===0&&(xG=4194304),$}function D7($){for(var Z=[],q=0;31>q;q++)Z.push($);return Z}function M6($,Z){$.pendingLanes|=Z,Z!==268435456&&($.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0)}function Pq($,Z,q,X,K,N){var W=$.pendingLanes;$.pendingLanes=q,$.suspendedLanes=0,$.pingedLanes=0,$.warmLanes=0,$.expiredLanes&=q,$.entangledLanes&=q,$.errorRecoveryDisabledLanes&=q,$.shellSuspendCounter=0;var{entanglements:R,expirationTimes:_,hiddenUpdates:E}=$;for(q=W&~q;0<q;){var k=31-R8(q),b=1<<k;R[k]=0,_[k]=-1;var j=E[k];if(j!==null)for(E[k]=null,k=0;k<j.length;k++){var y=j[k];y!==null&&(y.lane&=-536870913)}q&=~b}X!==0&&E4($,X,0),N!==0&&K===0&&$.tag!==0&&($.suspendedLanes|=N&~(W&~Z))}function E4($,Z,q){$.pendingLanes|=Z,$.suspendedLanes&=~Z;var X=31-R8(Z);$.entangledLanes|=Z,$.entanglements[X]=$.entanglements[X]|1073741824|q&261930}function w4($,Z){var q=$.entangledLanes|=Z;for($=$.entanglements;q;){var X=31-R8(q),K=1<<X;K&Z|$[X]&Z&&($[X]|=Z),q&=~K}}function P4($,Z){var q=Z&-Z;return q=(q&42)!==0?1:C4(q),(q&($.suspendedLanes|Z))!==0?0:q}function C4($){switch($){case 2:$=1;break;case 8:$=4;break;case 32:$=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:$=128;break;case 268435456:$=134217728;break;default:$=0}return $}function qZ($,Z,q){if(U$)for($=$.pendingUpdatersLaneMap;0<q;){var X=31-R8(q),K=1<<X;$[X].add(Z),q&=~K}}function H6($,Z){if(U$)for(var{pendingUpdatersLaneMap:q,memoizedUpdaters:X}=$;0<Z;){var K=31-R8(Z);$=1<<K,K=q[K],0<K.size&&(K.forEach(function(N){var W=N.alternate;W!==null&&X.has(W)||X.add(N)}),K.clear()),Z&=~$}}function w($){return $&=-$,e8!==0&&e8<$?A1!==0&&A1<$?($&134217727)!==0?K$:hG:A1:e8}function f(){var $=Z5.p;if($!==0)return $;return $=window.event,$===void 0?K$:dH($.type)}function r($,Z){var q=Z5.p;try{return Z5.p=$,Z()}finally{Z5.p=q}}function e($){delete $[q8],delete $[z8],delete $[TY],delete $[bE],delete $[fE]}function J0($){var Z=$[q8];if(Z)return Z;for(var q=$.parentNode;q;){if(Z=q[D6]||q[q8]){if(q=Z.alternate,Z.child!==null||q!==null&&q.child!==null)for($=jH($);$!==null;){if(q=$[q8])return q;$=jH($)}return Z}$=q,q=$.parentNode}return null}function w0($){if($=$[q8]||$[D6]){var Z=$.tag;if(Z===5||Z===6||Z===13||Z===31||Z===26||Z===27||Z===3)return $}return null}function P0($){var Z=$.tag;if(Z===5||Z===26||Z===27||Z===6)return $.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function i0($){var Z=$[GF];return Z||(Z=$[GF]={hoistableStyles:new Map,hoistableScripts:new Map}),Z}function F0($){$[pZ]=!0}function B8($,Z){d8($,Z),d8($+"Capture",Z)}function d8($,Z){m4[$]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",$),m4[$]=Z;var q=$.toLowerCase();EY[q]=$,$==="onDoubleClick"&&(EY.ondblclick=$);for($=0;$<Z.length;$++)JF.add(Z[$])}function F6($,Z){yE[Z.type]||Z.onChange||Z.onInput||Z.readOnly||Z.disabled||Z.value==null||($==="select"?console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`."):console.error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")),Z.onChange||Z.readOnly||Z.disabled||Z.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 GZ($){if(j1.call(YF,$))return!0;if(j1.call(XF,$))return!1;if(gE.test($))return YF[$]=!0;return XF[$]=!0,console.error("Invalid attribute name: `%s`",$),!1}function tK($,Z,q){if(GZ(Z)){if(!$.hasAttribute(Z)){switch(typeof q){case"symbol":case"object":return q;case"function":return q;case"boolean":if(q===!1)return q}return q===void 0?void 0:null}if($=$.getAttribute(Z),$===""&&q===!0)return!0;return Y5(q,Z),$===""+q?q:$}}function Cq($,Z,q){if(GZ(Z))if(q===null)$.removeAttribute(Z);else{switch(typeof q){case"undefined":case"function":case"symbol":$.removeAttribute(Z);return;case"boolean":var X=Z.toLowerCase().slice(0,5);if(X!=="data-"&&X!=="aria-"){$.removeAttribute(Z);return}}Y5(q,Z),$.setAttribute(Z,""+q)}}function Iq($,Z,q){if(q===null)$.removeAttribute(Z);else{switch(typeof q){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(Z);return}Y5(q,Z),$.setAttribute(Z,""+q)}}function C$($,Z,q,X){if(X===null)$.removeAttribute(q);else{switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":$.removeAttribute(q);return}Y5(X,q),$.setAttributeNS(Z,q,""+X)}}function X1($){switch(typeof $){case"bigint":case"boolean":case"number":case"string":case"undefined":return $;case"object":return j0($),$;default:return""}}function eK($){var Z=$.type;return($=$.nodeName)&&$.toLowerCase()==="input"&&(Z==="checkbox"||Z==="radio")}function k_($,Z,q){var X=Object.getOwnPropertyDescriptor($.constructor.prototype,Z);if(!$.hasOwnProperty(Z)&&typeof X<"u"&&typeof X.get==="function"&&typeof X.set==="function"){var{get:K,set:N}=X;return Object.defineProperty($,Z,{configurable:!0,get:function(){return K.call(this)},set:function(W){j0(W),q=""+W,N.call(this,W)}}),Object.defineProperty($,Z,{enumerable:X.enumerable}),{getValue:function(){return q},setValue:function(W){j0(W),q=""+W},stopTracking:function(){$._valueTracker=null,delete $[Z]}}}}function QX($){if(!$._valueTracker){var Z=eK($)?"checked":"value";$._valueTracker=k_($,Z,""+$[Z])}}function $B($){if(!$)return!1;var Z=$._valueTracker;if(!Z)return!0;var q=Z.getValue(),X="";return $&&(X=eK($)?$.checked?"true":"false":$.value),$=X,$!==q?(Z.setValue($),!0):!1}function Oq($){if($=$||(typeof document<"u"?document:void 0),typeof $>"u")return null;try{return $.activeElement||$.body}catch(Z){return $.body}}function Y1($){return $.replace(xE,function(Z){return"\\"+Z.charCodeAt(0).toString(16)+" "})}function ZB($,Z){Z.checked===void 0||Z.defaultChecked===void 0||KF||(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",P1()||"A component",Z.type),KF=!0),Z.value===void 0||Z.defaultValue===void 0||UF||(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",P1()||"A component",Z.type),UF=!0)}function qX($,Z,q,X,K,N,W,R){if($.name="",W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&typeof W!=="boolean"?(Y5(W,"type"),$.type=W):$.removeAttribute("type"),Z!=null)if(W==="number"){if(Z===0&&$.value===""||$.value!=Z)$.value=""+X1(Z)}else $.value!==""+X1(Z)&&($.value=""+X1(Z));else W!=="submit"&&W!=="reset"||$.removeAttribute("value");Z!=null?GX($,W,X1(Z)):q!=null?GX($,W,X1(q)):X!=null&&$.removeAttribute("value"),K==null&&N!=null&&($.defaultChecked=!!N),K!=null&&($.checked=K&&typeof K!=="function"&&typeof K!=="symbol"),R!=null&&typeof R!=="function"&&typeof R!=="symbol"&&typeof R!=="boolean"?(Y5(R,"name"),$.name=""+X1(R)):$.removeAttribute("name")}function QB($,Z,q,X,K,N,W,R){if(N!=null&&typeof N!=="function"&&typeof N!=="symbol"&&typeof N!=="boolean"&&(Y5(N,"type"),$.type=N),Z!=null||q!=null){if(!(N!=="submit"&&N!=="reset"||Z!==void 0&&Z!==null)){QX($);return}q=q!=null?""+X1(q):"",Z=Z!=null?""+X1(Z):q,R||Z===$.value||($.value=Z),$.defaultValue=Z}X=X!=null?X:K,X=typeof X!=="function"&&typeof X!=="symbol"&&!!X,$.checked=R?$.checked:!!X,$.defaultChecked=!!X,W!=null&&typeof W!=="function"&&typeof W!=="symbol"&&typeof W!=="boolean"&&(Y5(W,"name"),$.name=W),QX($)}function GX($,Z,q){Z==="number"&&Oq($.ownerDocument)===$||$.defaultValue===""+q||($.defaultValue=""+q)}function qB($,Z){Z.value==null&&(typeof Z.children==="object"&&Z.children!==null?v9.Children.forEach(Z.children,function(q){q==null||typeof q==="string"||typeof q==="number"||typeof q==="bigint"||NF||(NF=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):Z.dangerouslySetInnerHTML==null||MF||(MF=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Z.selected==null||BF||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),BF=!0)}function GB(){var $=P1();return $?`
34
+
35
+ Check the render method of \``+$+"`.":""}function S7($,Z,q,X){if($=$.options,Z){Z={};for(var K=0;K<q.length;K++)Z["$"+q[K]]=!0;for(q=0;q<$.length;q++)K=Z.hasOwnProperty("$"+$[q].value),$[q].selected!==K&&($[q].selected=K),K&&X&&($[q].defaultSelected=!0)}else{q=""+X1(q),Z=null;for(K=0;K<$.length;K++){if($[K].value===q){$[K].selected=!0,X&&($[K].defaultSelected=!0);return}Z!==null||$[K].disabled||(Z=$[K])}Z!==null&&(Z.selected=!0)}}function JB($,Z){for($=0;$<FF.length;$++){var q=FF[$];if(Z[q]!=null){var X=c5(Z[q]);Z.multiple&&!X?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",q,GB()):!Z.multiple&&X&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",q,GB())}}Z.value===void 0||Z.defaultValue===void 0||HF||(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"),HF=!0)}function XB($,Z){Z.value===void 0||Z.defaultValue===void 0||WF||(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",P1()||"A component"),WF=!0),Z.children!=null&&Z.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function YB($,Z,q){if(Z!=null&&(Z=""+X1(Z),Z!==$.value&&($.value=Z),q==null)){$.defaultValue!==Z&&($.defaultValue=Z);return}$.defaultValue=q!=null?""+X1(q):""}function UB($,Z,q,X){if(Z==null){if(X!=null){if(q!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(c5(X)){if(1<X.length)throw Error("<textarea> can only have at most one child.");X=X[0]}q=X}q==null&&(q=""),Z=q}q=X1(Z),$.defaultValue=q,X=$.textContent,X===q&&X!==""&&X!==null&&($.value=X),QX($)}function KB($,Z){return $.serverProps===void 0&&$.serverTail.length===0&&$.children.length===1&&3<$.distanceFromLeaf&&$.distanceFromLeaf>15-Z?KB($.children[0],Z):$}function p8($){return" "+" ".repeat($)}function v7($){return"+ "+" ".repeat($)}function I4($){return"- "+" ".repeat($)}function BB($){switch($.tag){case 26:case 27:case 5:return $.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return $=$.type,$.displayName||$.name||null;case 11:return $=$.type.render,$.displayName||$.name||null;case 1:return $=$.type,$.displayName||$.name||null;default:return null}}function JZ($,Z){return RF.test($)?($=JSON.stringify($),$.length>Z-2?8>Z?'{"..."}':"{"+$.slice(0,Z-7)+'..."}':"{"+$+"}"):$.length>Z?5>Z?'{"..."}':$.slice(0,Z-3)+"...":$}function jq($,Z,q){var X=120-2*q;if(Z===null)return v7(q)+JZ($,X)+`
36
+ `;if(typeof Z==="string"){for(var K=0;K<Z.length&&K<$.length&&Z.charCodeAt(K)===$.charCodeAt(K);K++);return K>X-8&&10<K&&($="..."+$.slice(K-8),Z="..."+Z.slice(K-8)),v7(q)+JZ($,X)+`
37
+ `+I4(q)+JZ(Z,X)+`
38
+ `}return p8(q)+JZ($,X)+`
39
+ `}function JX($){return Object.prototype.toString.call($).replace(/^\[object (.*)\]$/,function(Z,q){return q})}function XZ($,Z){switch(typeof $){case"string":return $=JSON.stringify($),$.length>Z?5>Z?'"..."':$.slice(0,Z-4)+'..."':$;case"object":if($===null)return"null";if(c5($))return"[...]";if($.$$typeof===G$)return(Z=a($.type))?"<"+Z+">":"<...>";var q=JX($);if(q==="Object"){q="",Z-=2;for(var X in $)if($.hasOwnProperty(X)){var K=JSON.stringify(X);if(K!=='"'+X+'"'&&(X=K),Z-=X.length-2,K=XZ($[X],15>Z?Z:15),Z-=K.length,0>Z){q+=q===""?"...":", ...";break}q+=(q===""?"":",")+X+":"+K}return"{"+q+"}"}return q;case"function":return(Z=$.displayName||$.name)?"function "+Z:"function";default:return String($)}}function k7($,Z){return typeof $!=="string"||RF.test($)?"{"+XZ($,Z-2)+"}":$.length>Z-2?5>Z?'"..."':'"'+$.slice(0,Z-5)+'..."':'"'+$+'"'}function XX($,Z,q){var X=120-q.length-$.length,K=[],N;for(N in Z)if(Z.hasOwnProperty(N)&&N!=="children"){var W=k7(Z[N],120-q.length-N.length-1);X-=N.length+W.length+2,K.push(N+"="+W)}return K.length===0?q+"<"+$+`>
40
+ `:0<X?q+"<"+$+" "+K.join(" ")+`>
41
+ `:q+"<"+$+`
42
+ `+q+" "+K.join(`
43
+ `+q+" ")+`
44
+ `+q+`>
45
+ `}function b_($,Z,q){var X="",K=y0({},Z),N;for(N in $)if($.hasOwnProperty(N)){delete K[N];var W=120-2*q-N.length-2,R=XZ($[N],W);Z.hasOwnProperty(N)?(W=XZ(Z[N],W),X+=v7(q)+N+": "+R+`
46
+ `,X+=I4(q)+N+": "+W+`
47
+ `):X+=v7(q)+N+": "+R+`
48
+ `}for(var _ in K)K.hasOwnProperty(_)&&($=XZ(K[_],120-2*q-_.length-2),X+=I4(q)+_+": "+$+`
49
+ `);return X}function f_($,Z,q,X){var K="",N=new Map;for(E in q)q.hasOwnProperty(E)&&N.set(E.toLowerCase(),E);if(N.size===1&&N.has("children"))K+=XX($,Z,p8(X));else{for(var W in Z)if(Z.hasOwnProperty(W)&&W!=="children"){var R=120-2*(X+1)-W.length-1,_=N.get(W.toLowerCase());if(_!==void 0){N.delete(W.toLowerCase());var E=Z[W];_=q[_];var k=k7(E,R);R=k7(_,R),typeof E==="object"&&E!==null&&typeof _==="object"&&_!==null&&JX(E)==="Object"&&JX(_)==="Object"&&(2<Object.keys(E).length||2<Object.keys(_).length||-1<k.indexOf("...")||-1<R.indexOf("..."))?K+=p8(X+1)+W+`={{
50
+ `+b_(E,_,X+2)+p8(X+1)+`}}
51
+ `:(K+=v7(X+1)+W+"="+k+`
52
+ `,K+=I4(X+1)+W+"="+R+`
53
+ `)}else K+=p8(X+1)+W+"="+k7(Z[W],R)+`
54
+ `}N.forEach(function(b){if(b!=="children"){var j=120-2*(X+1)-b.length-1;K+=I4(X+1)+b+"="+k7(q[b],j)+`
55
+ `}}),K=K===""?p8(X)+"<"+$+`>
56
+ `:p8(X)+"<"+$+`
57
+ `+K+p8(X)+`>
58
+ `}if($=q.children,Z=Z.children,typeof $==="string"||typeof $==="number"||typeof $==="bigint"){if(N="",typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")N=""+Z;K+=jq(N,""+$,X+1)}else if(typeof Z==="string"||typeof Z==="number"||typeof Z==="bigint")K=$==null?K+jq(""+Z,null,X+1):K+jq(""+Z,void 0,X+1);return K}function NB($,Z){var q=BB($);if(q===null){q="";for($=$.child;$;)q+=NB($,Z),$=$.sibling;return q}return p8(Z)+"<"+q+`>
59
+ `}function YX($,Z){var q=KB($,Z);if(q!==$&&($.children.length!==1||$.children[0]!==q))return p8(Z)+`...
60
+ `+YX(q,Z+1);q="";var X=$.fiber._debugInfo;if(X)for(var K=0;K<X.length;K++){var N=X[K].name;typeof N==="string"&&(q+=p8(Z)+"<"+N+`>
61
+ `,Z++)}if(X="",K=$.fiber.pendingProps,$.fiber.tag===6)X=jq(K,$.serverProps,Z),Z++;else if(N=BB($.fiber),N!==null)if($.serverProps===void 0){X=Z;var W=120-2*X-N.length-2,R="";for(E in K)if(K.hasOwnProperty(E)&&E!=="children"){var _=k7(K[E],15);if(W-=E.length+_.length+2,0>W){R+=" ...";break}R+=" "+E+"="+_}X=p8(X)+"<"+N+R+`>
62
+ `,Z++}else $.serverProps===null?(X=XX(N,K,v7(Z)),Z++):typeof $.serverProps==="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(X=f_(N,K,$.serverProps,Z),Z++);var E="";K=$.fiber.child;for(N=0;K&&N<$.children.length;)W=$.children[N],W.fiber===K?(E+=YX(W,Z),N++):E+=NB(K,Z),K=K.sibling;K&&0<$.children.length&&(E+=p8(Z)+`...
63
+ `),K=$.serverTail,$.serverProps===null&&Z--;for($=0;$<K.length;$++)N=K[$],E=typeof N==="string"?E+(I4(Z)+JZ(N,120-2*Z)+`
64
+ `):E+XX(N.type,N.props,I4(Z));return q+X+E}function UX($){try{return`
65
+
66
+ `+YX($,0)}catch(Z){return""}}function MB($,Z,q){for(var X=Z,K=null,N=0;X;)X===$&&(N=0),K={fiber:X,children:K!==null?[K]:[],serverProps:X===Z?q:X===$?null:void 0,serverTail:[],distanceFromLeaf:N},N++,X=X.return;return K!==null?UX(K).replaceAll(/^[+-]/gm,">"):""}function HB($,Z){var q=y0({},$||LF),X={tag:Z};if(zF.indexOf(Z)!==-1&&(q.aTagInScope=null,q.buttonTagInScope=null,q.nobrTagInScope=null),uE.indexOf(Z)!==-1&&(q.pTagInButtonScope=null),hE.indexOf(Z)!==-1&&Z!=="address"&&Z!=="div"&&Z!=="p"&&(q.listItemTagAutoclosing=null,q.dlItemTagAutoclosing=null),q.current=X,Z==="form"&&(q.formTag=X),Z==="a"&&(q.aTagInScope=X),Z==="button"&&(q.buttonTagInScope=X),Z==="nobr"&&(q.nobrTagInScope=X),Z==="p"&&(q.pTagInButtonScope=X),Z==="li"&&(q.listItemTagAutoclosing=X),Z==="dd"||Z==="dt")q.dlItemTagAutoclosing=X;return Z==="#document"||Z==="html"?q.containerTagInScope=null:q.containerTagInScope||(q.containerTagInScope=X),$!==null||Z!=="#document"&&Z!=="html"&&Z!=="body"?q.implicitRootScope===!0&&(q.implicitRootScope=!1):q.implicitRootScope=!0,q}function FB($,Z,q){switch(Z){case"select":return $==="hr"||$==="option"||$==="optgroup"||$==="script"||$==="template"||$==="#text";case"optgroup":return $==="option"||$==="#text";case"option":return $==="#text";case"tr":return $==="th"||$==="td"||$==="style"||$==="script"||$==="template";case"tbody":case"thead":case"tfoot":return $==="tr"||$==="style"||$==="script"||$==="template";case"colgroup":return $==="col"||$==="template";case"table":return $==="caption"||$==="colgroup"||$==="tbody"||$==="tfoot"||$==="thead"||$==="style"||$==="script"||$==="template";case"head":return $==="base"||$==="basefont"||$==="bgsound"||$==="link"||$==="meta"||$==="title"||$==="noscript"||$==="noframes"||$==="style"||$==="script"||$==="template";case"html":if(q)break;return $==="head"||$==="body"||$==="frameset";case"frameset":return $==="frame";case"#document":if(!q)return $==="html"}switch($){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return Z!=="h1"&&Z!=="h2"&&Z!=="h3"&&Z!=="h4"&&Z!=="h5"&&Z!=="h6";case"rp":case"rt":return mE.indexOf(Z)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return Z==null;case"head":return q||Z===null;case"html":return q&&Z==="#document"||Z===null;case"body":return q&&(Z==="#document"||Z==="html")||Z===null}return!0}function y_($,Z){switch($){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 Z.pTagInButtonScope;case"form":return Z.formTag||Z.pTagInButtonScope;case"li":return Z.listItemTagAutoclosing;case"dd":case"dt":return Z.dlItemTagAutoclosing;case"button":return Z.buttonTagInScope;case"a":return Z.aTagInScope;case"nobr":return Z.nobrTagInScope}return null}function WB($,Z){for(;$;){switch($.tag){case 5:case 26:case 27:if($.type===Z)return $}$=$.return}return null}function KX($,Z){Z=Z||LF;var q=Z.current;if(Z=(q=FB($,q&&q.tag,Z.implicitRootScope)?null:q)?null:y_($,Z),Z=q||Z,!Z)return!0;var X=Z.tag;if(Z=String(!!q)+"|"+$+"|"+X,uG[Z])return!1;uG[Z]=!0;var K=(Z=t8)?WB(Z.return,X):null,N=Z!==null&&K!==null?MB(K,Z,null):"",W="<"+$+">";return q?(q="",X==="table"&&$==="tr"&&(q+=" 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
67
+ This will cause a hydration error.%s`,W,X,q,N)):console.error(`In HTML, %s cannot be a descendant of <%s>.
68
+ This will cause a hydration error.%s`,W,X,N),Z&&($=Z.return,K===null||$===null||K===$&&$._debugOwner===Z._debugOwner||q0(K,function(){console.error(`<%s> cannot contain a nested %s.
69
+ See this log for the ancestor stack trace.`,X,W)})),!1}function Aq($,Z,q){if(q||FB("#text",Z,!1))return!0;if(q="#text|"+Z,uG[q])return!1;uG[q]=!0;var X=(q=t8)?WB(q,Z):null;return q=q!==null&&X!==null?MB(X,q,q.tag!==6?{children:null}:null):"",/\S/.test($)?console.error(`In HTML, text nodes cannot be a child of <%s>.
70
+ This will cause a hydration error.%s`,Z,q):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.
71
+ This will cause a hydration error.%s`,Z,q),!1}function YZ($,Z){if(Z){var q=$.firstChild;if(q&&q===$.lastChild&&q.nodeType===3){q.nodeValue=Z;return}}$.textContent=Z}function g_($){return $.replace(cE,function(Z,q){return q.toUpperCase()})}function RB($,Z,q){var X=Z.indexOf("--")===0;X||(-1<Z.indexOf("-")?e7.hasOwnProperty(Z)&&e7[Z]||(e7[Z]=!0,console.error("Unsupported style property %s. Did you mean %s?",Z,g_(Z.replace(pE,"ms-")))):dE.test(Z)?e7.hasOwnProperty(Z)&&e7[Z]||(e7[Z]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",Z,Z.charAt(0).toUpperCase()+Z.slice(1))):!TF.test(q)||PY.hasOwnProperty(q)&&PY[q]||(PY[q]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,Z,q.replace(TF,""))),typeof q==="number"&&(isNaN(q)?EF||(EF=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",Z)):isFinite(q)||wF||(wF=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",Z)))),q==null||typeof q==="boolean"||q===""?X?$.setProperty(Z,""):Z==="float"?$.cssFloat="":$[Z]="":X?$.setProperty(Z,q):typeof q!=="number"||q===0||PF.has(Z)?Z==="float"?$.cssFloat=q:(QZ(q,Z),$[Z]=(""+q).trim()):$[Z]=q+"px"}function zB($,Z,q){if(Z!=null&&typeof Z!=="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(Z&&Object.freeze(Z),$=$.style,q!=null){if(Z){var X={};if(q){for(var K in q)if(q.hasOwnProperty(K)&&!Z.hasOwnProperty(K))for(var N=wY[K]||[K],W=0;W<N.length;W++)X[N[W]]=K}for(var R in Z)if(Z.hasOwnProperty(R)&&(!q||q[R]!==Z[R]))for(K=wY[R]||[R],N=0;N<K.length;N++)X[K[N]]=R;R={};for(var _ in Z)for(K=wY[_]||[_],N=0;N<K.length;N++)R[K[N]]=_;_={};for(var E in X)if(K=X[E],(N=R[E])&&K!==N&&(W=K+","+N,!_[W])){_[W]=!0,W=console;var k=Z[K];W.error.call(W,"%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.",k==null||typeof k==="boolean"||k===""?"Removing":"Updating",K,N)}}for(var b in q)!q.hasOwnProperty(b)||Z!=null&&Z.hasOwnProperty(b)||(b.indexOf("--")===0?$.setProperty(b,""):b==="float"?$.cssFloat="":$[b]="");for(var j in Z)E=Z[j],Z.hasOwnProperty(j)&&q[j]!==E&&RB($,j,E)}else for(X in Z)Z.hasOwnProperty(X)&&RB($,X,Z[X])}function UZ($){if($.indexOf("-")===-1)return!1;switch($){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 LB($){return lE.get($)||$}function x_($,Z){if(j1.call(Z9,Z)&&Z9[Z])return!0;if(sE.test(Z)){if($="aria-"+Z.slice(4).toLowerCase(),$=CF.hasOwnProperty($)?$:null,$==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",Z),Z9[Z]=!0;if(Z!==$)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",Z,$),Z9[Z]=!0}if(rE.test(Z)){if($=Z.toLowerCase(),$=CF.hasOwnProperty($)?$:null,$==null)return Z9[Z]=!0,!1;Z!==$&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",Z,$),Z9[Z]=!0)}return!0}function h_($,Z){var q=[],X;for(X in Z)x_($,X)||q.push(X);Z=q.map(function(K){return"`"+K+"`"}).join(", "),q.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,$):1<q.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",Z,$)}function u_($,Z,q,X){if(j1.call(L8,Z)&&L8[Z])return!0;var K=Z.toLowerCase();if(K==="onfocusin"||K==="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."),L8[Z]=!0;if(typeof q==="function"&&($==="form"&&Z==="action"||$==="input"&&Z==="formAction"||$==="button"&&Z==="formAction"))return!0;if(X!=null){if($=X.possibleRegistrationNames,X.registrationNameDependencies.hasOwnProperty(Z))return!0;if(X=$.hasOwnProperty(K)?$[K]:null,X!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",Z,X),L8[Z]=!0;if(OF.test(Z))return console.error("Unknown event handler property `%s`. It will be ignored.",Z),L8[Z]=!0}else if(OF.test(Z))return nE.test(Z)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",Z),L8[Z]=!0;if(oE.test(Z)||iE.test(Z))return!0;if(K==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),L8[Z]=!0;if(K==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),L8[Z]=!0;if(K==="is"&&q!==null&&q!==void 0&&typeof q!=="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof q),L8[Z]=!0;if(typeof q==="number"&&isNaN(q))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",Z),L8[Z]=!0;if(dG.hasOwnProperty(K)){if(K=dG[K],K!==Z)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",Z,K),L8[Z]=!0}else if(Z!==K)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.",Z,K),L8[Z]=!0;switch(Z){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 q){case"boolean":switch(Z){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:if(K=Z.toLowerCase().slice(0,5),K==="data-"||K==="aria-")return!0;return q?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()}.',q,Z,Z,q,Z):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.',q,Z,Z,q,Z,Z,Z),L8[Z]=!0}case"function":case"symbol":return L8[Z]=!0,!1;case"string":if(q==="false"||q==="true"){switch(Z){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}?",q,Z,q==="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".',Z,q),L8[Z]=!0}}return!0}function m_($,Z,q){var X=[],K;for(K in Z)u_($,K,Z[K],q)||X.push(K);Z=X.map(function(N){return"`"+N+"`"}).join(", "),X.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 ",Z,$):1<X.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 ",Z,$)}function KZ($){return aE.test(""+$)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":$}function I$(){}function BX($){return $=$.target||$.srcElement||window,$.correspondingUseElement&&($=$.correspondingUseElement),$.nodeType===3?$.parentNode:$}function VB($){var Z=w0($);if(Z&&($=Z.stateNode)){var q=$[z8]||null;$:switch($=Z.stateNode,Z.type){case"input":if(qX($,q.value,q.defaultValue,q.defaultValue,q.checked,q.defaultChecked,q.type,q.name),Z=q.name,q.type==="radio"&&Z!=null){for(q=$;q.parentNode;)q=q.parentNode;Y5(Z,"name"),q=q.querySelectorAll('input[name="'+Y1(""+Z)+'"][type="radio"]');for(Z=0;Z<q.length;Z++){var X=q[Z];if(X!==$&&X.form===$.form){var K=X[z8]||null;if(!K)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");qX(X,K.value,K.defaultValue,K.defaultValue,K.checked,K.defaultChecked,K.type,K.name)}}for(Z=0;Z<q.length;Z++)X=q[Z],X.form===$.form&&$B(X)}break $;case"textarea":YB($,q.value,q.defaultValue);break $;case"select":Z=q.value,Z!=null&&S7($,!!q.multiple,Z,!1)}}}function _B($,Z,q){if(CY)return $(Z,q);CY=!0;try{var X=$(Z);return X}finally{if(CY=!1,Q9!==null||q9!==null){if(p7(),Q9&&(Z=Q9,$=q9,q9=Q9=null,VB(Z),$))for(Z=0;Z<$.length;Z++)VB($[Z])}}}function BZ($,Z){var q=$.stateNode;if(q===null)return null;var X=q[z8]||null;if(X===null)return null;q=X[Z];$:switch(Z){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(X=!X.disabled)||($=$.type,X=!($==="button"||$==="input"||$==="select"||$==="textarea")),$=!X;break $;default:$=!1}if($)return null;if(q&&typeof q!=="function")throw Error("Expected `"+Z+"` listener to be a function, instead got a value of `"+typeof q+"` type.");return q}function TB(){if(pG)return pG;var $,Z=OY,q=Z.length,X,K="value"in S6?S6.value:S6.textContent,N=K.length;for($=0;$<q&&Z[$]===K[$];$++);var W=q-$;for(X=1;X<=W&&Z[q-X]===K[N-X];X++);return pG=K.slice($,1<X?1-X:void 0)}function Dq($){var Z=$.keyCode;return"charCode"in $?($=$.charCode,$===0&&Z===13&&($=13)):$=Z,$===10&&($=13),32<=$||$===13?$:0}function Sq(){return!0}function EB(){return!1}function I8($){function Z(q,X,K,N,W){this._reactName=q,this._targetInst=K,this.type=X,this.nativeEvent=N,this.target=W,this.currentTarget=null;for(var R in $)$.hasOwnProperty(R)&&(q=$[R],this[R]=q?q(N):N[R]);return this.isDefaultPrevented=(N.defaultPrevented!=null?N.defaultPrevented:N.returnValue===!1)?Sq:EB,this.isPropagationStopped=EB,this}return y0(Z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var q=this.nativeEvent;q&&(q.preventDefault?q.preventDefault():typeof q.returnValue!=="unknown"&&(q.returnValue=!1),this.isDefaultPrevented=Sq)},stopPropagation:function(){var q=this.nativeEvent;q&&(q.stopPropagation?q.stopPropagation():typeof q.cancelBubble!=="unknown"&&(q.cancelBubble=!0),this.isPropagationStopped=Sq)},persist:function(){},isPersistent:Sq}),Z}function d_($){var Z=this.nativeEvent;return Z.getModifierState?Z.getModifierState($):($=Bw[$])?!!Z[$]:!1}function NX(){return d_}function wB($,Z){switch($){case"keyup":return Ew.indexOf(Z.keyCode)!==-1;case"keydown":return Z.keyCode!==SF;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function PB($){return $=$.detail,typeof $==="object"&&"data"in $?$.data:null}function p_($,Z){switch($){case"compositionend":return PB(Z);case"keypress":if(Z.which!==kF)return null;return fF=!0,bF;case"textInput":return $=Z.data,$===bF&&fF?null:$;default:return null}}function c_($,Z){if(G9)return $==="compositionend"||!SY&&wB($,Z)?($=TB(),pG=OY=S6=null,G9=!1,$):null;switch($){case"paste":return null;case"keypress":if(!(Z.ctrlKey||Z.altKey||Z.metaKey)||Z.ctrlKey&&Z.altKey){if(Z.char&&1<Z.char.length)return Z.char;if(Z.which)return String.fromCharCode(Z.which)}return null;case"compositionend":return vF&&Z.locale!=="ko"?null:Z.data;default:return null}}function CB($){var Z=$&&$.nodeName&&$.nodeName.toLowerCase();return Z==="input"?!!Pw[$.type]:Z==="textarea"?!0:!1}function l_($){if(!B$)return!1;$="on"+$;var Z=$ in document;return Z||(Z=document.createElement("div"),Z.setAttribute($,"return;"),Z=typeof Z[$]==="function"),Z}function IB($,Z,q,X){Q9?q9?q9.push(X):q9=[X]:Q9=X,Z=wG(Z,"onChange"),0<Z.length&&(q=new cG("onChange","change",null,q,X),$.push({event:q,listeners:Z}))}function r_($){UH($,0)}function vq($){var Z=P0($);if($B(Z))return $}function OB($,Z){if($==="change")return Z}function jB(){oZ&&(oZ.detachEvent("onpropertychange",AB),iZ=oZ=null)}function AB($){if($.propertyName==="value"&&vq(iZ)){var Z=[];IB(Z,iZ,$,BX($)),_B(r_,Z)}}function s_($,Z,q){$==="focusin"?(jB(),oZ=Z,iZ=q,oZ.attachEvent("onpropertychange",AB)):$==="focusout"&&jB()}function n_($){if($==="selectionchange"||$==="keyup"||$==="keydown")return vq(iZ)}function o_($,Z){if($==="click")return vq(Z)}function i_($,Z){if($==="input"||$==="change")return vq(Z)}function a_($,Z){return $===Z&&($!==0||1/$===1/Z)||$!==$&&Z!==Z}function NZ($,Z){if(V8($,Z))return!0;if(typeof $!=="object"||$===null||typeof Z!=="object"||Z===null)return!1;var q=Object.keys($),X=Object.keys(Z);if(q.length!==X.length)return!1;for(X=0;X<q.length;X++){var K=q[X];if(!j1.call(Z,K)||!V8($[K],Z[K]))return!1}return!0}function DB($){for(;$&&$.firstChild;)$=$.firstChild;return $}function SB($,Z){var q=DB($);$=0;for(var X;q;){if(q.nodeType===3){if(X=$+q.textContent.length,$<=Z&&X>=Z)return{node:q,offset:Z-$};$=X}$:{for(;q;){if(q.nextSibling){q=q.nextSibling;break $}q=q.parentNode}q=void 0}q=DB(q)}}function vB($,Z){return $&&Z?$===Z?!0:$&&$.nodeType===3?!1:Z&&Z.nodeType===3?vB($,Z.parentNode):("contains"in $)?$.contains(Z):$.compareDocumentPosition?!!($.compareDocumentPosition(Z)&16):!1:!1}function kB($){$=$!=null&&$.ownerDocument!=null&&$.ownerDocument.defaultView!=null?$.ownerDocument.defaultView:window;for(var Z=Oq($.document);Z instanceof $.HTMLIFrameElement;){try{var q=typeof Z.contentWindow.location.href==="string"}catch(X){q=!1}if(q)$=Z.contentWindow;else break;Z=Oq($.document)}return Z}function MX($){var Z=$&&$.nodeName&&$.nodeName.toLowerCase();return Z&&(Z==="input"&&($.type==="text"||$.type==="search"||$.type==="tel"||$.type==="url"||$.type==="password")||Z==="textarea"||$.contentEditable==="true")}function bB($,Z,q){var X=q.window===q?q.document:q.nodeType===9?q:q.ownerDocument;kY||J9==null||J9!==Oq(X)||(X=J9,("selectionStart"in X)&&MX(X)?X={start:X.selectionStart,end:X.selectionEnd}:(X=(X.ownerDocument&&X.ownerDocument.defaultView||window).getSelection(),X={anchorNode:X.anchorNode,anchorOffset:X.anchorOffset,focusNode:X.focusNode,focusOffset:X.focusOffset}),aZ&&NZ(aZ,X)||(aZ=X,X=wG(vY,"onSelect"),0<X.length&&(Z=new cG("onSelect","select",null,Z,q),$.push({event:Z,listeners:X}),Z.target=J9)))}function O4($,Z){var q={};return q[$.toLowerCase()]=Z.toLowerCase(),q["Webkit"+$]="webkit"+Z,q["Moz"+$]="moz"+Z,q}function j4($){if(bY[$])return bY[$];if(!X9[$])return $;var Z=X9[$],q;for(q in Z)if(Z.hasOwnProperty(q)&&q in gF)return bY[$]=Z[q];return $}function C1($,Z){dF.set($,Z),B8(Z,[$])}function t_($){for(var Z=rG,q=0;q<$.length;q++){var X=$[q];if(typeof X==="object"&&X!==null)if(c5(X)&&X.length===2&&typeof X[0]==="string"){if(Z!==rG&&Z!==hY)return gY;Z=hY}else return gY;else{if(typeof X==="function"||typeof X==="string"&&50<X.length||Z!==rG&&Z!==xY)return gY;Z=xY}}return Z}function HX($,Z,q,X){for(var K in $)j1.call($,K)&&K[0]!=="_"&&d1(K,$[K],Z,q,X)}function d1($,Z,q,X,K){switch(typeof Z){case"object":if(Z===null){Z="null";break}else{if(Z.$$typeof===G$){var N=a(Z.type)||"…",W=Z.key;Z=Z.props;var R=Object.keys(Z),_=R.length;if(W==null&&_===0){Z="<"+N+" />";break}if(3>X||_===1&&R[0]==="children"&&W==null){Z="<"+N+" … />";break}q.push([K+"  ".repeat(X)+$,"<"+N]),W!==null&&d1("key",W,q,X+1,K),$=!1;for(var E in Z)E==="children"?Z.children!=null&&(!c5(Z.children)||0<Z.children.length)&&($=!0):j1.call(Z,E)&&E[0]!=="_"&&d1(E,Z[E],q,X+1,K);q.push(["",$?">…</"+N+">":"/>"]);return}if(N=Object.prototype.toString.call(Z),N=N.slice(8,N.length-1),N==="Array"){if(E=t_(Z),E===xY||E===rG){Z=JSON.stringify(Z);break}else if(E===hY){q.push([K+"  ".repeat(X)+$,""]);for($=0;$<Z.length;$++)N=Z[$],d1(N[0],N[1],q,X+1,K);return}}if(N==="Promise"){if(Z.status==="fulfilled"){if(N=q.length,d1($,Z.value,q,X,K),q.length>N){q=q[N],q[1]="Promise<"+(q[1]||"Object")+">";return}}else if(Z.status==="rejected"&&(N=q.length,d1($,Z.reason,q,X,K),q.length>N)){q=q[N],q[1]="Rejected Promise<"+q[1]+">";return}q.push(["  ".repeat(X)+$,"Promise"]);return}N==="Object"&&(E=Object.getPrototypeOf(Z))&&typeof E.constructor==="function"&&(N=E.constructor.name),q.push([K+"  ".repeat(X)+$,N==="Object"?3>X?"":"…":N]),3>X&&HX(Z,q,X+1,K);return}case"function":Z=Z.name===""?"() => {}":Z.name+"() {}";break;case"string":Z=Z===Sw?"…":JSON.stringify(Z);break;case"undefined":Z="undefined";break;case"boolean":Z=Z?"true":"false";break;default:Z=String(Z)}q.push([K+"  ".repeat(X)+$,Z])}function fB($,Z,q,X){var K=!0;for(W in $)W in Z||(q.push([sG+"  ".repeat(X)+W,"…"]),K=!1);for(var N in Z)if(N in $){var W=$[N],R=Z[N];if(W!==R){if(X===0&&N==="children")K="  ".repeat(X)+N,q.push([sG+K,"…"],[nG+K,"…"]);else{if(!(3<=X)){if(typeof W==="object"&&typeof R==="object"&&W!==null&&R!==null&&W.$$typeof===R.$$typeof)if(R.$$typeof===G$){if(W.type===R.type&&W.key===R.key){W=a(R.type)||"…",K="  ".repeat(X)+N,W="<"+W+" … />",q.push([sG+K,W],[nG+K,W]),K=!1;continue}}else{var _=Object.prototype.toString.call(W),E=Object.prototype.toString.call(R);if(_===E&&(E==="[object Object]"||E==="[object Array]")){_=[lF+"  ".repeat(X)+N,E==="[object Array]"?"Array":""],q.push(_),E=q.length,fB(W,R,q,X+1)?E===q.length&&(_[1]="Referentially unequal but deeply equal objects. Consider memoization."):K=!1;continue}}else if(typeof W==="function"&&typeof R==="function"&&W.name===R.name&&W.length===R.length&&(_=Function.prototype.toString.call(W),E=Function.prototype.toString.call(R),_===E)){W=R.name===""?"() => {}":R.name+"() {}",q.push([lF+"  ".repeat(X)+N,W+" Referentially unequal function closure. Consider memoization."]);continue}}d1(N,W,q,X,sG),d1(N,R,q,X,nG)}K=!1}}else q.push([nG+"  ".repeat(X)+N,"…"]),K=!1;return K}function c8($){u0=$&63?"Blocking":$&64?"Gesture":$&4194176?"Transition":$&62914560?"Suspense":$&2080374784?"Idle":"Other"}function p1($,Z,q,X){R5&&(k6.start=Z,k6.end=q,f$.color="warning",f$.tooltipText=X,f$.properties=null,($=$._debugTask)?$.run(performance.measure.bind(performance,X,k6)):performance.measure(X,k6))}function kq($,Z,q){p1($,Z,q,"Reconnect")}function bq($,Z,q,X,K){var N=d($);if(N!==null&&R5){var{alternate:W,actualDuration:R}=$;if(W===null||W.child!==$.child)for(var _=$.child;_!==null;_=_.sibling)R-=_.actualDuration;X=0.5>R?X?"tertiary-light":"primary-light":10>R?X?"tertiary":"primary":100>R?X?"tertiary-dark":"primary-dark":"error";var E=$.memoizedProps;R=$._debugTask,E!==null&&W!==null&&W.memoizedProps!==E?(_=[vw],E=fB(W.memoizedProps,E,_,0),1<_.length&&(E&&!v6&&(W.lanes&K)===0&&100<$.actualDuration?(v6=!0,_[0]=kw,f$.color="warning",f$.tooltipText=rF):(f$.color=X,f$.tooltipText=N),f$.properties=_,k6.start=Z,k6.end=q,R!=null?R.run(performance.measure.bind(performance,"​"+N,k6)):performance.measure("​"+N,k6))):R!=null?R.run(console.timeStamp.bind(console,N,Z,q,K1,void 0,X)):console.timeStamp(N,Z,q,K1,void 0,X)}}function FX($,Z,q,X){if(R5){var K=d($);if(K!==null){for(var N=null,W=[],R=0;R<X.length;R++){var _=X[R];N==null&&_.source!==null&&(N=_.source._debugTask),_=_.value,W.push(["Error",typeof _==="object"&&_!==null&&typeof _.message==="string"?String(_.message):String(_)])}$.key!==null&&d1("key",$.key,W,0,""),$.memoizedProps!==null&&HX($.memoizedProps,W,0,""),N==null&&(N=$._debugTask),$={start:Z,end:q,detail:{devtools:{color:"error",track:K1,tooltipText:$.tag===13?"Hydration failed":"Error boundary caught an error",properties:W}}},N?N.run(performance.measure.bind(performance,"​"+K,$)):performance.measure("​"+K,$)}}}function c1($,Z,q,X,K){if(K!==null){if(R5){var N=d($);if(N!==null){X=[];for(var W=0;W<K.length;W++){var R=K[W].value;X.push(["Error",typeof R==="object"&&R!==null&&typeof R.message==="string"?String(R.message):String(R)])}$.key!==null&&d1("key",$.key,X,0,""),$.memoizedProps!==null&&HX($.memoizedProps,X,0,""),Z={start:Z,end:q,detail:{devtools:{color:"error",track:K1,tooltipText:"A lifecycle or effect errored",properties:X}}},($=$._debugTask)?$.run(performance.measure.bind(performance,"​"+N,Z)):performance.measure("​"+N,Z)}}}else N=d($),N!==null&&R5&&(K=1>X?"secondary-light":100>X?"secondary":500>X?"secondary-dark":"error",($=$._debugTask)?$.run(console.timeStamp.bind(console,N,Z,q,K1,void 0,K)):console.timeStamp(N,Z,q,K1,void 0,K))}function e_($,Z,q,X){if(R5&&!(Z<=$)){var K=(q&738197653)===q?"tertiary-dark":"primary-dark";q=(q&536870912)===q?"Prepared":(q&201326741)===q?"Hydrated":"Render",X?X.run(console.timeStamp.bind(console,q,$,Z,u0,g0,K)):console.timeStamp(q,$,Z,u0,g0,K)}}function yB($,Z,q,X){!R5||Z<=$||(q=(q&738197653)===q?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Prewarm",$,Z,u0,g0,q)):console.timeStamp("Prewarm",$,Z,u0,g0,q))}function gB($,Z,q,X){!R5||Z<=$||(q=(q&738197653)===q?"tertiary-dark":"primary-dark",X?X.run(console.timeStamp.bind(console,"Suspended",$,Z,u0,g0,q)):console.timeStamp("Suspended",$,Z,u0,g0,q))}function $T($,Z,q,X,K,N){if(R5&&!(Z<=$)){q=[];for(var W=0;W<X.length;W++){var R=X[W].value;q.push(["Recoverable Error",typeof R==="object"&&R!==null&&typeof R.message==="string"?String(R.message):String(R)])}$={start:$,end:Z,detail:{devtools:{color:"primary-dark",track:u0,trackGroup:g0,tooltipText:K?"Hydration Failed":"Recovered after Error",properties:q}}},N?N.run(performance.measure.bind(performance,"Recovered",$)):performance.measure("Recovered",$)}}function WX($,Z,q,X){!R5||Z<=$||(X?X.run(console.timeStamp.bind(console,"Errored",$,Z,u0,g0,"error")):console.timeStamp("Errored",$,Z,u0,g0,"error"))}function ZT($,Z,q,X){!R5||Z<=$||(X?X.run(console.timeStamp.bind(console,q,$,Z,u0,g0,"secondary-light")):console.timeStamp(q,$,Z,u0,g0,"secondary-light"))}function xB($,Z,q,X,K){if(R5&&!(Z<=$)){for(var N=[],W=0;W<q.length;W++){var R=q[W].value;N.push(["Error",typeof R==="object"&&R!==null&&typeof R.message==="string"?String(R.message):String(R)])}$={start:$,end:Z,detail:{devtools:{color:"error",track:u0,trackGroup:g0,tooltipText:X?"Remaining Effects Errored":"Commit Errored",properties:N}}},K?K.run(performance.measure.bind(performance,"Errored",$)):performance.measure("Errored",$)}}function MZ($,Z,q){!R5||Z<=$||(q?q.run(console.timeStamp.bind(console,"Animating",$,Z,u0,g0,"secondary-dark")):console.timeStamp("Animating",$,Z,u0,g0,"secondary-dark"))}function fq(){for(var $=Y9,Z=uY=Y9=0;Z<$;){var q=B1[Z];B1[Z++]=null;var X=B1[Z];B1[Z++]=null;var K=B1[Z];B1[Z++]=null;var N=B1[Z];if(B1[Z++]=null,X!==null&&K!==null){var W=X.pending;W===null?K.next=K:(K.next=W.next,W.next=K),X.pending=K}N!==0&&hB(q,K,N)}}function yq($,Z,q,X){B1[Y9++]=$,B1[Y9++]=Z,B1[Y9++]=q,B1[Y9++]=X,uY|=X,$.lanes|=X,$=$.alternate,$!==null&&($.lanes|=X)}function RX($,Z,q,X){return yq($,Z,q,X),gq($)}function N8($,Z){return yq($,null,null,Z),gq($)}function hB($,Z,q){$.lanes|=q;var X=$.alternate;X!==null&&(X.lanes|=q);for(var K=!1,N=$.return;N!==null;)N.childLanes|=q,X=N.alternate,X!==null&&(X.childLanes|=q),N.tag===22&&($=N.stateNode,$===null||$._visibility&tZ||(K=!0)),$=N,N=N.return;return $.tag===3?(N=$.stateNode,K&&Z!==null&&(K=31-R8(q),$=N.hiddenUpdates,X=$[K],X===null?$[K]=[Z]:X.push(Z),Z.lane=q|536870912),N):null}function gq($){if(CQ>nw)throw q7=CQ=0,IQ=VU=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.");q7>ow&&(q7=0,IQ=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.")),$.alternate===null&&($.flags&4098)!==0&&ZH($);for(var Z=$,q=Z.return;q!==null;)Z.alternate===null&&(Z.flags&4098)!==0&&ZH($),Z=q,q=Z.return;return Z.tag===3?Z.stateNode:null}function A4($){if(N1===null)return $;var Z=N1($);return Z===void 0?$:Z.current}function zX($){if(N1===null)return $;var Z=N1($);return Z===void 0?$!==null&&$!==void 0&&typeof $.render==="function"&&(Z=A4($.render),$.render!==Z)?(Z={$$typeof:uZ,render:Z},$.displayName!==void 0&&(Z.displayName=$.displayName),Z):$:Z.current}function uB($,Z){if(N1===null)return!1;var q=$.elementType;Z=Z.type;var X=!1,K=typeof Z==="object"&&Z!==null?Z.$$typeof:null;switch($.tag){case 1:typeof Z==="function"&&(X=!0);break;case 0:typeof Z==="function"?X=!0:K===a8&&(X=!0);break;case 11:K===uZ?X=!0:K===a8&&(X=!0);break;case 14:case 15:K===bG?X=!0:K===a8&&(X=!0);break;default:return!1}return X&&($=N1(q),$!==void 0&&$===N1(Z))?!0:!1}function mB($){N1!==null&&typeof WeakSet==="function"&&(U9===null&&(U9=new WeakSet),U9.add($))}function dB($,Z,q){do{var X=$,K=X.alternate,N=X.child,W=X.sibling,R=X.tag;X=X.type;var _=null;switch(R){case 0:case 15:case 1:_=X;break;case 11:_=X.render}if(N1===null)throw Error("Expected resolveFamily to be set during hot reload.");var E=!1;if(X=!1,_!==null&&(_=N1(_),_!==void 0&&(q.has(_)?X=!0:Z.has(_)&&(R===1?X=!0:E=!0))),U9!==null&&(U9.has($)||K!==null&&U9.has(K))&&(X=!0),X&&($._debugNeedsRemount=!0),X||E)K=N8($,2),K!==null&&C5(K,$,2);if(N===null||X||dB(N,Z,q),W===null)break;$=W}while(1)}function QT($,Z,q,X){this.tag=$,this.key=q,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=Z,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=X,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,sF||typeof Object.preventExtensions!=="function"||Object.preventExtensions(this)}function LX($){return $=$.prototype,!(!$||!$.isReactComponent)}function O$($,Z){var q=$.alternate;switch(q===null?(q=T($.tag,Z,$.key,$.mode),q.elementType=$.elementType,q.type=$.type,q.stateNode=$.stateNode,q._debugOwner=$._debugOwner,q._debugStack=$._debugStack,q._debugTask=$._debugTask,q._debugHookTypes=$._debugHookTypes,q.alternate=$,$.alternate=q):(q.pendingProps=Z,q.type=$.type,q.flags=0,q.subtreeFlags=0,q.deletions=null,q.actualDuration=-0,q.actualStartTime=-1.1),q.flags=$.flags&65011712,q.childLanes=$.childLanes,q.lanes=$.lanes,q.child=$.child,q.memoizedProps=$.memoizedProps,q.memoizedState=$.memoizedState,q.updateQueue=$.updateQueue,Z=$.dependencies,q.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},q.sibling=$.sibling,q.index=$.index,q.ref=$.ref,q.refCleanup=$.refCleanup,q.selfBaseDuration=$.selfBaseDuration,q.treeBaseDuration=$.treeBaseDuration,q._debugInfo=$._debugInfo,q._debugNeedsRemount=$._debugNeedsRemount,q.tag){case 0:case 15:q.type=A4($.type);break;case 1:q.type=A4($.type);break;case 11:q.type=zX($.type)}return q}function pB($,Z){$.flags&=65011714;var q=$.alternate;return q===null?($.childLanes=0,$.lanes=Z,$.child=null,$.subtreeFlags=0,$.memoizedProps=null,$.memoizedState=null,$.updateQueue=null,$.dependencies=null,$.stateNode=null,$.selfBaseDuration=0,$.treeBaseDuration=0):($.childLanes=q.childLanes,$.lanes=q.lanes,$.child=q.child,$.subtreeFlags=0,$.deletions=null,$.memoizedProps=q.memoizedProps,$.memoizedState=q.memoizedState,$.updateQueue=q.updateQueue,$.type=q.type,Z=q.dependencies,$.dependencies=Z===null?null:{lanes:Z.lanes,firstContext:Z.firstContext,_debugThenableState:Z._debugThenableState},$.selfBaseDuration=q.selfBaseDuration,$.treeBaseDuration=q.treeBaseDuration),$}function VX($,Z,q,X,K,N){var W=0,R=$;if(typeof $==="function")LX($)&&(W=1),R=A4(R);else if(typeof $==="string")W=B0(),W=NE($,q,W)?26:$==="html"||$==="head"||$==="body"?27:5;else $:switch($){case NY:return Z=T(31,q,Z,K),Z.elementType=NY,Z.lanes=N,Z;case i7:return D4(q.children,K,N,Z);case kG:W=8,K|=H8,K|=D1;break;case YY:return $=q,X=K,typeof $.id!=="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof $.id),Z=T(12,$,Z,X|A0),Z.elementType=YY,Z.lanes=N,Z.stateNode={effectDuration:0,passiveEffectDuration:0},Z;case KY:return Z=T(13,q,Z,K),Z.elementType=KY,Z.lanes=N,Z;case BY:return Z=T(19,q,Z,K),Z.elementType=BY,Z.lanes=N,Z;default:if(typeof $==="object"&&$!==null)switch($.$$typeof){case J$:W=10;break $;case UY:W=9;break $;case uZ:W=11,R=zX(R);break $;case bG:W=14;break $;case a8:W=16,R=null;break $}if(R="",$===void 0||typeof $==="object"&&$!==null&&Object.keys($).length===0)R+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";$===null?q="null":c5($)?q="array":$!==void 0&&$.$$typeof===G$?(q="<"+(a($.type)||"Unknown")+" />",R=" Did you accidentally export a JSX literal instead of a component?"):q=typeof $,(W=X?Y0(X):null)&&(R+=`
72
+
73
+ Check the render method of \``+W+"`."),W=29,q=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(q+"."+R)),R=null}return Z=T(W,q,Z,K),Z.elementType=$,Z.type=R,Z.lanes=N,Z._debugOwner=X,Z}function xq($,Z,q){return Z=VX($.type,$.key,$.props,$._owner,Z,q),Z._debugOwner=$._owner,Z._debugStack=$._debugStack,Z._debugTask=$._debugTask,Z}function D4($,Z,q,X){return $=T(7,$,X,Z),$.lanes=q,$}function _X($,Z,q){return $=T(6,$,null,Z),$.lanes=q,$}function cB($){var Z=T(18,null,null,_0);return Z.stateNode=$,Z}function TX($,Z,q){return Z=T(4,$.children!==null?$.children:[],$.key,Z),Z.lanes=q,Z.stateNode={containerInfo:$.containerInfo,pendingChildren:null,implementation:$.implementation},Z}function l8($,Z){if(typeof $==="object"&&$!==null){var q=mY.get($);if(q!==void 0)return q;return Z={value:$,source:Z,stack:f5(Z)},mY.set($,Z),Z}return{value:$,source:Z,stack:f5(Z)}}function j$($,Z){W6(),K9[B9++]=eZ,K9[B9++]=oG,oG=$,eZ=Z}function lB($,Z,q){W6(),M1[H1++]=g$,M1[H1++]=x$,M1[H1++]=p4,p4=$;var X=g$;$=x$;var K=32-R8(X)-1;X&=~(1<<K),q+=1;var N=32-R8(Z)+K;if(30<N){var W=K-K%5;N=(X&(1<<W)-1).toString(32),X>>=W,K-=W,g$=1<<32-R8(Z)+K|q<<K|X,x$=N+$}else g$=1<<N|q<<K|X,x$=$}function EX($){W6(),$.return!==null&&(j$($,1),lB($,1,0))}function wX($){for(;$===oG;)oG=K9[--B9],K9[B9]=null,eZ=K9[--B9],K9[B9]=null;for(;$===p4;)p4=M1[--H1],M1[H1]=null,x$=M1[--H1],M1[H1]=null,g$=M1[--H1],M1[H1]=null}function rB(){return W6(),p4!==null?{id:g$,overflow:x$}:null}function sB($,Z){W6(),M1[H1++]=g$,M1[H1++]=x$,M1[H1++]=p4,g$=Z.id,x$=Z.overflow,p4=$}function W6(){p0||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function S4($,Z){if($.return===null){if($1===null)$1={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z};else{if($1.fiber!==$)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");$1.distanceFromLeaf>Z&&($1.distanceFromLeaf=Z)}return $1}var q=S4($.return,Z+1).children;if(0<q.length&&q[q.length-1].fiber===$)return q=q[q.length-1],q.distanceFromLeaf>Z&&(q.distanceFromLeaf=Z),q;return Z={fiber:$,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:Z},q.push(Z),Z}function nB(){p0&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function hq($,Z){N$||($=S4($,0),$.serverProps=null,Z!==null&&(Z=IH(Z),$.serverTail.push(Z)))}function R6($){var Z=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,q="",X=$1;throw X!==null&&($1=null,q=UX(X)),HZ(l8(Error("Hydration failed because the server rendered "+(Z?"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:
74
74
 
75
75
  - A server/client branch \`if (typeof window !== 'undefined')\`.
76
76
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -80,7 +80,7 @@ Check the render method of \``+W+"`."),W=29,G=Error("Element type is invalid: ex
80
80
 
81
81
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
82
82
 
83
- https://react.dev/link/hydration-mismatch`+G),$)),dY}function oK($){var{stateNode:Z,type:G,memoizedProps:X}=$;switch(Z[G5]=$,Z[R5]=X,pX(G,X),G){case"dialog":c0("cancel",Z),c0("close",Z);break;case"iframe":case"object":case"embed":c0("load",Z);break;case"video":case"audio":for(G=0;G<OZ.length;G++)c0(OZ[G],Z);break;case"source":c0("error",Z);break;case"img":case"image":case"link":c0("error",Z),c0("load",Z);break;case"details":c0("toggle",Z);break;case"input":F6("input",X),c0("invalid",Z),ZK(Z,X),QK(Z,X.value,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name,!0);break;case"option":GK(Z,X);break;case"select":F6("select",X),c0("invalid",Z),qK(Z,X);break;case"textarea":F6("textarea",X),c0("invalid",Z),XK(Z,X),UK(Z,X.value,X.defaultValue,X.children)}G=X.children,typeof G!=="string"&&typeof G!=="number"&&typeof G!=="bigint"||Z.textContent===""+G||X.suppressHydrationWarning===!0||HM(Z.textContent,G)?(X.popover!=null&&(c0("beforetoggle",Z),c0("toggle",Z)),X.onScroll!=null&&c0("scroll",Z),X.onScrollEnd!=null&&c0("scrollend",Z),X.onClick!=null&&(Z.onclick=I8),Z=!0):Z=!1,Z||w6($,!0)}function aK($){for(J5=$.return;J5;)switch(J5.tag){case 5:case 31:case 13:F4=!1;return;case 27:case 3:F4=!0;return;default:J5=J5.return}}function b$($){if($!==J5)return!1;if(!p0)return aK($),p0=!0,!1;var Z=$.tag,G;if(G=Z!==3&&Z!==27){if(G=Z===5)G=$.type,G=!(G!=="form"&&G!=="button")||nX($.type,$.memoizedProps);G=!G}if(G&&R1){for(G=R1;G;){var X=S2($,0),N=IM(G);X.serverTail.push(N),G=N.type==="Suspense"?tX(G):a5(G.nextSibling)}w6($)}if(aK($),Z===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R1=tX($)}else if(Z===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");R1=tX($)}else Z===27?(Z=R1,I6($.type)?($=SU,SU=null,R1=$):R1=Z):R1=J5?a5($.stateNode.nextSibling):null;return!0}function v2(){R1=J5=null,B8=p0=!1}function P3(){var $=f6;return $!==null&&(E5===null?E5=$:E5.push.apply(E5,$),f6=null),$}function M7($){f6===null?f6=[$]:f6.push($)}function C3(){var $=$4;if($!==null){$4=null;for(var Z=U3($);0<$.children.length;)$=$.children[0];G0($.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:
83
+ https://react.dev/link/hydration-mismatch`+q),$)),dY}function oB($){var{stateNode:Z,type:q,memoizedProps:X}=$;switch(Z[q8]=$,Z[z8]=X,p3(q,X),q){case"dialog":c0("cancel",Z),c0("close",Z);break;case"iframe":case"object":case"embed":c0("load",Z);break;case"video":case"audio":for(q=0;q<OQ.length;q++)c0(OQ[q],Z);break;case"source":c0("error",Z);break;case"img":case"image":case"link":c0("error",Z),c0("load",Z);break;case"details":c0("toggle",Z);break;case"input":F6("input",X),c0("invalid",Z),ZB(Z,X),QB(Z,X.value,X.defaultValue,X.checked,X.defaultChecked,X.type,X.name,!0);break;case"option":qB(Z,X);break;case"select":F6("select",X),c0("invalid",Z),JB(Z,X);break;case"textarea":F6("textarea",X),c0("invalid",Z),XB(Z,X),UB(Z,X.value,X.defaultValue,X.children)}q=X.children,typeof q!=="string"&&typeof q!=="number"&&typeof q!=="bigint"||Z.textContent===""+q||X.suppressHydrationWarning===!0||MH(Z.textContent,q)?(X.popover!=null&&(c0("beforetoggle",Z),c0("toggle",Z)),X.onScroll!=null&&c0("scroll",Z),X.onScrollEnd!=null&&c0("scrollend",Z),X.onClick!=null&&(Z.onclick=I$),Z=!0):Z=!1,Z||R6($,!0)}function iB($){for(G8=$.return;G8;)switch(G8.tag){case 5:case 31:case 13:F1=!1;return;case 27:case 3:F1=!0;return;default:G8=G8.return}}function b7($){if($!==G8)return!1;if(!p0)return iB($),p0=!0,!1;var Z=$.tag,q;if(q=Z!==3&&Z!==27){if(q=Z===5)q=$.type,q=!(q!=="form"&&q!=="button")||n3($.type,$.memoizedProps);q=!q}if(q&&z5){for(q=z5;q;){var X=S4($,0),K=IH(q);X.serverTail.push(K),q=K.type==="Suspense"?t3(q):i8(q.nextSibling)}R6($)}if(iB($),Z===13){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z5=t3($)}else if(Z===31){if($=$.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");z5=t3($)}else Z===27?(Z=z5,I6($.type)?($=SU,SU=null,z5=$):z5=Z):z5=G8?i8($.stateNode.nextSibling):null;return!0}function v4(){z5=G8=null,N$=p0=!1}function PX(){var $=f6;return $!==null&&(w8===null?w8=$:w8.push.apply(w8,$),f6=null),$}function HZ($){f6===null?f6=[$]:f6.push($)}function CX(){var $=$1;if($!==null){$1=null;for(var Z=UX($);0<$.children.length;)$=$.children[0];q0($.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:
84
84
 
85
85
  - A server/client branch \`if (typeof window !== 'undefined')\`.
86
86
  - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
@@ -90,58 +90,58 @@ https://react.dev/link/hydration-mismatch`+G),$)),dY}function oK($){var{stateNod
90
90
 
91
91
  It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
92
92
 
93
- %s%s`,"https://react.dev/link/hydration-mismatch",Z)})}}function uQ(){B9=aG=null,H9=!1}function R6($,Z,G){z0(pY,Z._currentValue,$),Z._currentValue=G,z0(cY,Z._currentRenderer,$),Z._currentRenderer!==void 0&&Z._currentRenderer!==null&&Z._currentRenderer!==oF&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Z._currentRenderer=oF}function j8($,Z){$._currentValue=pY.current;var G=cY.current;w0(cY,Z),$._currentRenderer=G,w0(pY,Z)}function I3($,Z,G){for(;$!==null;){var X=$.alternate;if(($.childLanes&Z)!==Z?($.childLanes|=Z,X!==null&&(X.childLanes|=Z)):X!==null&&(X.childLanes&Z)!==Z&&(X.childLanes|=Z),$===G)break;$=$.return}$!==G&&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 O3($,Z,G,X){var N=$.child;N!==null&&(N.return=$);for(;N!==null;){var B=N.dependencies;if(B!==null){var W=N.child;B=B.firstContext;$:for(;B!==null;){var w=B;B=N;for(var _=0;_<Z.length;_++)if(w.context===Z[_]){B.lanes|=G,w=B.alternate,w!==null&&(w.lanes|=G),I3(B.return,G,$),X||(W=null);break $}B=w.next}}else if(N.tag===18){if(W=N.return,W===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");W.lanes|=G,B=W.alternate,B!==null&&(B.lanes|=G),I3(W,G,$),W=null}else W=N.child;if(W!==null)W.return=N;else for(W=N;W!==null;){if(W===$){W=null;break}if(N=W.sibling,N!==null){N.return=W.return,W=N;break}W=W.return}N=W}}function f$($,Z,G,X){$=null;for(var N=Z,B=!1;N!==null;){if(!B){if((N.flags&524288)!==0)B=!0;else if((N.flags&262144)!==0)break}if(N.tag===10){var W=N.alternate;if(W===null)throw Error("Should have a current fiber. This is a bug in React.");if(W=W.memoizedProps,W!==null){var w=N.type;z5(N.pendingProps.value,W.value)||($!==null?$.push(w):$=[w])}}else if(N===fG.current){if(W=N.alternate,W===null)throw Error("Should have a current fiber. This is a bug in React.");W.memoizedState.memoizedState!==N.memoizedState.memoizedState&&($!==null?$.push(vZ):$=[vZ])}N=N.return}$!==null&&O3(Z,$,G,X),Z.flags|=262144}function mQ($){for($=$.firstContext;$!==null;){if(!z5($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function k2($){aG=$,B9=null,$=$.dependencies,$!==null&&($.firstContext=null)}function _1($){return H9&&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()."),iK(aG,$)}function dQ($,Z){return aG===null&&k2($),iK($,Z)}function iK($,Z){var G=Z._currentValue;if(Z={context:Z,memoizedValue:G,next:null},B9===null){if($===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().");B9=Z,$.dependencies={lanes:0,firstContext:Z,_debugThenableState:null},$.flags|=524288}else B9=B9.next=Z;return G}function D3(){return{controller:new yE,data:new Map,refCount:0}}function b2($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function F7($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&gE(hE,function(){$.controller.abort()})}function l4($,Z,G){if(($&127)!==0)0>H8&&(H8=g1(),ZZ=iG(Z),lY=Z,G!=null&&(rY=d(G)),(o0&(r1|G4))!==t1&&(I1=!0,h6=$Z),$=f7(),Z=b7(),$!==M9||Z!==QZ?M9=-1.1:Z!==null&&(h6=$Z),l2=$,QZ=Z);else if(($&4194048)!==0&&0>W4&&(W4=g1(),GZ=iG(Z),aF=Z,G!=null&&(iF=d(G)),0>m8)){if($=f7(),Z=b7(),$!==u6||Z!==r2)u6=-1.1;x6=$,r2=Z}}function GL($){if(0>H8){H8=g1(),ZZ=$._debugTask!=null?$._debugTask:null,(o0&(r1|G4))!==t1&&(h6=$Z);var Z=f7(),G=b7();Z!==M9||G!==QZ?M9=-1.1:G!==null&&(h6=$Z),l2=Z,QZ=G}if(0>W4&&(W4=g1(),GZ=$._debugTask!=null?$._debugTask:null,0>m8)){if($=f7(),Z=b7(),$!==u6||Z!==r2)u6=-1.1;x6=$,r2=Z}}function A8(){var $=c2;return c2=0,$}function pQ($){var Z=c2;return c2=$,Z}function W7($){var Z=c2;return c2+=$,Z}function cQ(){T0=W0=-1.1}function r5(){var $=W0;return W0=-1.1,$}function s5($){0<=$&&(W0=$)}function r4(){var $=V1;return V1=-0,$}function s4($){0<=$&&(V1=$)}function n4(){var $=L1;return L1=null,$}function o4(){var $=I1;return I1=!1,$}function j3($){_5=g1(),0>$.actualStartTime&&($.actualStartTime=_5)}function A3($){if(0<=_5){var Z=g1()-_5;$.actualDuration+=Z,$.selfBaseDuration=Z,_5=-1}}function tK($){if(0<=_5){var Z=g1()-_5;$.actualDuration+=Z,_5=-1}}function a4(){if(0<=_5){var $=g1(),Z=$-_5;_5=-1,c2+=Z,V1+=Z,T0=$}}function eK($){L1===null&&(L1=[]),L1.push($),u8===null&&(u8=[]),u8.push($)}function i4(){_5=g1(),0>W0&&(W0=_5)}function w7($){for(var Z=$.child;Z;)$.actualDuration+=Z.actualDuration,Z=Z.sibling}function JL($,Z){if(qZ===null){var G=qZ=[];nY=0,s2=xX(),F9={status:"pending",value:void 0,then:function(X){G.push(X)}}}return nY++,Z.then($B,$B),Z}function $B(){if(--nY===0&&(-1<W4||(m8=-1.1),qZ!==null)){F9!==null&&(F9.status="fulfilled");var $=qZ;qZ=null,s2=0,F9=null;for(var Z=0;Z<$.length;Z++)(0,$[Z])()}}function qL($,Z){var G=[],X={status:"pending",value:null,reason:null,then:function(N){G.push(N)}};return $.then(function(){X.status="fulfilled",X.value=Z;for(var N=0;N<G.length;N++)(0,G[N])(Z)},function(N){X.status="rejected",X.reason=N;for(N=0;N<G.length;N++)(0,G[N])(void 0)}),X}function S3(){var $=n2.current;return $!==null?$:K1.pooledCache}function lQ($,Z){Z===null?z0(n2,n2.current,$):z0(n2,Z.pool,$)}function ZB(){var $=S3();return $===null?null:{parent:y1._currentValue,pool:$}}function QB(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function GB($){return $=$.status,$==="fulfilled"||$==="rejected"}function JB($,Z,G){x.actQueue!==null&&(x.didUsePromise=!0);var X=$.thenables;if(G=X[G],G===void 0?X.push(Z):G!==Z&&($.didWarnAboutUncachedPromise||($.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.")),Z.then(I8,I8),Z=G),Z._debugInfo===void 0){$=performance.now(),X=Z.displayName;var N={name:typeof X==="string"?X:"Promise",start:$,end:$,value:Z};Z._debugInfo=[{awaited:N}],Z.status!=="fulfilled"&&Z.status!=="rejected"&&($=function(){N.end=performance.now()},Z.then($,$))}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw $=Z.reason,XB($),$;default:if(typeof Z.status==="string")Z.then(I8,I8);else{if($=K1,$!==null&&100<$.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.");$=Z,$.status="pending",$.then(function(B){if(Z.status==="pending"){var W=Z;W.status="fulfilled",W.value=B}},function(B){if(Z.status==="pending"){var W=Z;W.status="rejected",W.reason=B}})}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw $=Z.reason,XB($),$}throw a2=Z,HZ=!0,W9}}function T6($){try{return dE($)}catch(Z){if(Z!==null&&typeof Z==="object"&&typeof Z.then==="function")throw a2=Z,HZ=!0,W9;throw Z}}function qB(){if(a2===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=a2;return a2=null,HZ=!1,$}function XB($){if($===W9||$===qJ)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 $5($){var Z=A0;return $!=null&&(A0=Z===null?$:Z.concat($)),Z}function v3(){var $=A0;if($!=null){for(var Z=$.length-1;0<=Z;Z--)if($[Z].name!=null){var G=$[Z].debugTask;if(G!=null)return G}}return null}function rQ($,Z,G){for(var X=Object.keys($.props),N=0;N<X.length;N++){var B=X[N];if(B!=="children"&&B!=="key"){Z===null&&(Z=hQ($,G.mode,0),Z._debugInfo=A0,Z.return=G),G0(Z,function(W){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W)},B);break}}}function sQ($){var Z=MZ;return MZ+=1,w9===null&&(w9=QB()),JB(w9,$,Z)}function R7($,Z){Z=Z.props.ref,$.ref=Z!==void 0?Z:null}function YB($,Z){if(Z.$$typeof===LV)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
93
+ %s%s`,"https://react.dev/link/hydration-mismatch",Z)})}}function uq(){N9=iG=null,M9=!1}function z6($,Z,q){V0(pY,Z._currentValue,$),Z._currentValue=q,V0(cY,Z._currentRenderer,$),Z._currentRenderer!==void 0&&Z._currentRenderer!==null&&Z._currentRenderer!==oF&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),Z._currentRenderer=oF}function A$($,Z){$._currentValue=pY.current;var q=cY.current;R0(cY,Z),$._currentRenderer=q,R0(pY,Z)}function IX($,Z,q){for(;$!==null;){var X=$.alternate;if(($.childLanes&Z)!==Z?($.childLanes|=Z,X!==null&&(X.childLanes|=Z)):X!==null&&(X.childLanes&Z)!==Z&&(X.childLanes|=Z),$===q)break;$=$.return}$!==q&&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 OX($,Z,q,X){var K=$.child;K!==null&&(K.return=$);for(;K!==null;){var N=K.dependencies;if(N!==null){var W=K.child;N=N.firstContext;$:for(;N!==null;){var R=N;N=K;for(var _=0;_<Z.length;_++)if(R.context===Z[_]){N.lanes|=q,R=N.alternate,R!==null&&(R.lanes|=q),IX(N.return,q,$),X||(W=null);break $}N=R.next}}else if(K.tag===18){if(W=K.return,W===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");W.lanes|=q,N=W.alternate,N!==null&&(N.lanes|=q),IX(W,q,$),W=null}else W=K.child;if(W!==null)W.return=K;else for(W=K;W!==null;){if(W===$){W=null;break}if(K=W.sibling,K!==null){K.return=W.return,W=K;break}W=W.return}K=W}}function f7($,Z,q,X){$=null;for(var K=Z,N=!1;K!==null;){if(!N){if((K.flags&524288)!==0)N=!0;else if((K.flags&262144)!==0)break}if(K.tag===10){var W=K.alternate;if(W===null)throw Error("Should have a current fiber. This is a bug in React.");if(W=W.memoizedProps,W!==null){var R=K.type;V8(K.pendingProps.value,W.value)||($!==null?$.push(R):$=[R])}}else if(K===fG.current){if(W=K.alternate,W===null)throw Error("Should have a current fiber. This is a bug in React.");W.memoizedState.memoizedState!==K.memoizedState.memoizedState&&($!==null?$.push(vQ):$=[vQ])}K=K.return}$!==null&&OX(Z,$,q,X),Z.flags|=262144}function mq($){for($=$.firstContext;$!==null;){if(!V8($.context._currentValue,$.memoizedValue))return!0;$=$.next}return!1}function k4($){iG=$,N9=null,$=$.dependencies,$!==null&&($.firstContext=null)}function _5($){return M9&&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()."),aB(iG,$)}function dq($,Z){return iG===null&&k4($),aB($,Z)}function aB($,Z){var q=Z._currentValue;if(Z={context:Z,memoizedValue:q,next:null},N9===null){if($===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().");N9=Z,$.dependencies={lanes:0,firstContext:Z,_debugThenableState:null},$.flags|=524288}else N9=N9.next=Z;return q}function jX(){return{controller:new yw,data:new Map,refCount:0}}function b4($){$.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),$.refCount++}function FZ($){$.refCount--,0>$.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),$.refCount===0&&gw(xw,function(){$.controller.abort()})}function l1($,Z,q){if(($&127)!==0)0>M$&&(M$=g5(),ZQ=aG(Z),lY=Z,q!=null&&(rY=d(q)),(o0&(r5|q1))!==t5&&(I5=!0,x6=$Q),$=fZ(),Z=bZ(),$!==H9||Z!==QQ?H9=-1.1:Z!==null&&(x6=$Q),l4=$,QQ=Z);else if(($&4194048)!==0&&0>W1&&(W1=g5(),qQ=aG(Z),iF=Z,q!=null&&(aF=d(q)),0>m$)){if($=fZ(),Z=bZ(),$!==u6||Z!==r4)u6=-1.1;h6=$,r4=Z}}function qT($){if(0>M$){M$=g5(),ZQ=$._debugTask!=null?$._debugTask:null,(o0&(r5|q1))!==t5&&(x6=$Q);var Z=fZ(),q=bZ();Z!==H9||q!==QQ?H9=-1.1:q!==null&&(x6=$Q),l4=Z,QQ=q}if(0>W1&&(W1=g5(),qQ=$._debugTask!=null?$._debugTask:null,0>m$)){if($=fZ(),Z=bZ(),$!==u6||Z!==r4)u6=-1.1;h6=$,r4=Z}}function D$(){var $=c4;return c4=0,$}function pq($){var Z=c4;return c4=$,Z}function WZ($){var Z=c4;return c4+=$,Z}function cq(){L0=W0=-1.1}function r8(){var $=W0;return W0=-1.1,$}function s8($){0<=$&&(W0=$)}function r1(){var $=E5;return E5=-0,$}function s1($){0<=$&&(E5=$)}function n1(){var $=T5;return T5=null,$}function o1(){var $=I5;return I5=!1,$}function AX($){_8=g5(),0>$.actualStartTime&&($.actualStartTime=_8)}function DX($){if(0<=_8){var Z=g5()-_8;$.actualDuration+=Z,$.selfBaseDuration=Z,_8=-1}}function tB($){if(0<=_8){var Z=g5()-_8;$.actualDuration+=Z,_8=-1}}function i1(){if(0<=_8){var $=g5(),Z=$-_8;_8=-1,c4+=Z,E5+=Z,L0=$}}function eB($){T5===null&&(T5=[]),T5.push($),u$===null&&(u$=[]),u$.push($)}function a1(){_8=g5(),0>W0&&(W0=_8)}function RZ($){for(var Z=$.child;Z;)$.actualDuration+=Z.actualDuration,Z=Z.sibling}function GT($,Z){if(JQ===null){var q=JQ=[];nY=0,s4=h3(),F9={status:"pending",value:void 0,then:function(X){q.push(X)}}}return nY++,Z.then($N,$N),Z}function $N(){if(--nY===0&&(-1<W1||(m$=-1.1),JQ!==null)){F9!==null&&(F9.status="fulfilled");var $=JQ;JQ=null,s4=0,F9=null;for(var Z=0;Z<$.length;Z++)(0,$[Z])()}}function JT($,Z){var q=[],X={status:"pending",value:null,reason:null,then:function(K){q.push(K)}};return $.then(function(){X.status="fulfilled",X.value=Z;for(var K=0;K<q.length;K++)(0,q[K])(Z)},function(K){X.status="rejected",X.reason=K;for(K=0;K<q.length;K++)(0,q[K])(void 0)}),X}function SX(){var $=n4.current;return $!==null?$:B5.pooledCache}function lq($,Z){Z===null?V0(n4,n4.current,$):V0(n4,Z.pool,$)}function ZN(){var $=SX();return $===null?null:{parent:y5._currentValue,pool:$}}function QN(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function qN($){return $=$.status,$==="fulfilled"||$==="rejected"}function GN($,Z,q){h.actQueue!==null&&(h.didUsePromise=!0);var X=$.thenables;if(q=X[q],q===void 0?X.push(Z):q!==Z&&($.didWarnAboutUncachedPromise||($.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.")),Z.then(I$,I$),Z=q),Z._debugInfo===void 0){$=performance.now(),X=Z.displayName;var K={name:typeof X==="string"?X:"Promise",start:$,end:$,value:Z};Z._debugInfo=[{awaited:K}],Z.status!=="fulfilled"&&Z.status!=="rejected"&&($=function(){K.end=performance.now()},Z.then($,$))}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw $=Z.reason,XN($),$;default:if(typeof Z.status==="string")Z.then(I$,I$);else{if($=B5,$!==null&&100<$.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.");$=Z,$.status="pending",$.then(function(N){if(Z.status==="pending"){var W=Z;W.status="fulfilled",W.value=N}},function(N){if(Z.status==="pending"){var W=Z;W.status="rejected",W.reason=N}})}switch(Z.status){case"fulfilled":return Z.value;case"rejected":throw $=Z.reason,XN($),$}throw i4=Z,MQ=!0,W9}}function L6($){try{return dw($)}catch(Z){if(Z!==null&&typeof Z==="object"&&typeof Z.then==="function")throw i4=Z,MQ=!0,W9;throw Z}}function JN(){if(i4===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var $=i4;return i4=null,MQ=!1,$}function XN($){if($===W9||$===JJ)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 $8($){var Z=D0;return $!=null&&(D0=Z===null?$:Z.concat($)),Z}function vX(){var $=D0;if($!=null){for(var Z=$.length-1;0<=Z;Z--)if($[Z].name!=null){var q=$[Z].debugTask;if(q!=null)return q}}return null}function rq($,Z,q){for(var X=Object.keys($.props),K=0;K<X.length;K++){var N=X[K];if(N!=="children"&&N!=="key"){Z===null&&(Z=xq($,q.mode,0),Z._debugInfo=D0,Z.return=q),q0(Z,function(W){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",W)},N);break}}}function sq($){var Z=HQ;return HQ+=1,R9===null&&(R9=QN()),GN(R9,$,Z)}function zZ($,Z){Z=Z.props.ref,$.ref=Z!==void 0?Z:null}function YN($,Z){if(Z.$$typeof===TE)throw Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
94
94
  - Multiple copies of the "react" package is used.
95
95
  - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
96
- - A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(Z),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function nQ($,Z){var G=v3();G!==null?G.run(YB.bind(null,$,Z)):YB($,Z)}function UB($,Z){var G=d($)||"Component";RW[G]||(RW[G]=!0,Z=Z.displayName||Z.name||"Component",$.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.
96
+ - A compiler tries to "inline" JSX instead of using the runtime.`);throw $=Object.prototype.toString.call(Z),Error("Objects are not valid as a React child (found: "+($==="[object Object]"?"object with keys {"+Object.keys(Z).join(", ")+"}":$)+"). If you meant to render a collection of children, use an array instead.")}function nq($,Z){var q=vX();q!==null?q.run(YN.bind(null,$,Z)):YN($,Z)}function UN($,Z){var q=d($)||"Component";zW[q]||(zW[q]=!0,Z=Z.displayName||Z.name||"Component",$.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.
97
97
  root.render(%s)`,Z,Z,Z):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.
98
- <%s>{%s}</%s>`,Z,Z,G,Z,G))}function oQ($,Z){var G=v3();G!==null?G.run(UB.bind(null,$,Z)):UB($,Z)}function NB($,Z){var G=d($)||"Component";TW[G]||(TW[G]=!0,Z=String(Z),$.tag===3?console.error(`Symbols are not valid as a React child.
98
+ <%s>{%s}</%s>`,Z,Z,q,Z,q))}function oq($,Z){var q=vX();q!==null?q.run(UN.bind(null,$,Z)):UN($,Z)}function KN($,Z){var q=d($)||"Component";LW[q]||(LW[q]=!0,Z=String(Z),$.tag===3?console.error(`Symbols are not valid as a React child.
99
99
  root.render(%s)`,Z):console.error(`Symbols are not valid as a React child.
100
- <%s>%s</%s>`,G,Z,G))}function aQ($,Z){var G=v3();G!==null?G.run(NB.bind(null,$,Z)):NB($,Z)}function KB($){function Z(O,j){if($){var v=O.deletions;v===null?(O.deletions=[j],O.flags|=16):v.push(j)}}function G(O,j){if(!$)return null;for(;j!==null;)Z(O,j),j=j.sibling;return null}function X(O){for(var j=new Map;O!==null;)O.key!==null?j.set(O.key,O):j.set(O.index,O),O=O.sibling;return j}function N(O,j){return O=O8(O,j),O.index=0,O.sibling=null,O}function B(O,j,v){if(O.index=v,!$)return O.flags|=1048576,j;if(v=O.alternate,v!==null)return v=v.index,v<j?(O.flags|=67108866,j):v;return O.flags|=67108866,j}function W(O){return $&&O.alternate===null&&(O.flags|=67108866),O}function w(O,j,v,u){if(j===null||j.tag!==6)return j=_3(v,O.mode,u),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=A0,j;return j=N(j,v),j.return=O,j._debugInfo=A0,j}function _(O,j,v,u){var $0=v.type;if($0===a$)return j=k(O,j,v.props.children,u,v.key),rQ(v,j,O),j;if(j!==null&&(j.elementType===$0||uK(j,v)||typeof $0==="object"&&$0!==null&&$0.$$typeof===i5&&T6($0)===j.type))return j=N(j,v.props),R7(j,v),j.return=O,j._debugOwner=v._owner,j._debugInfo=A0,j;return j=hQ(v,O.mode,u),R7(j,v),j.return=O,j._debugInfo=A0,j}function V(O,j,v,u){if(j===null||j.tag!==4||j.stateNode.containerInfo!==v.containerInfo||j.stateNode.implementation!==v.implementation)return j=L3(v,O.mode,u),j.return=O,j._debugInfo=A0,j;return j=N(j,v.children||[]),j.return=O,j._debugInfo=A0,j}function k(O,j,v,u,$0){if(j===null||j.tag!==7)return j=A2(v,O.mode,u,$0),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=A0,j;return j=N(j,v),j.return=O,j._debugInfo=A0,j}function b(O,j,v){if(typeof j==="string"&&j!==""||typeof j==="number"||typeof j==="bigint")return j=_3(""+j,O.mode,v),j.return=O,j._debugOwner=O,j._debugTask=O._debugTask,j._debugInfo=A0,j;if(typeof j==="object"&&j!==null){switch(j.$$typeof){case J8:return v=hQ(j,O.mode,v),R7(v,j),v.return=O,O=$5(j._debugInfo),v._debugInfo=A0,A0=O,v;case o$:return j=L3(j,O.mode,v),j.return=O,j._debugInfo=A0,j;case i5:var u=$5(j._debugInfo);return j=T6(j),O=b(O,j,v),A0=u,O}if(c1(j)||p(j))return v=A2(j,O.mode,v,null),v.return=O,v._debugOwner=O,v._debugTask=O._debugTask,O=$5(j._debugInfo),v._debugInfo=A0,A0=O,v;if(typeof j.then==="function")return u=$5(j._debugInfo),O=b(O,sQ(j),v),A0=u,O;if(j.$$typeof===q8)return b(O,dQ(O,j),v);nQ(O,j)}return typeof j==="function"&&oQ(O,j),typeof j==="symbol"&&aQ(O,j),null}function D(O,j,v,u){var $0=j!==null?j.key:null;if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0!==null?null:w(O,j,""+v,u);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case J8:return v.key===$0?($0=$5(v._debugInfo),O=_(O,j,v,u),A0=$0,O):null;case o$:return v.key===$0?V(O,j,v,u):null;case i5:return $0=$5(v._debugInfo),v=T6(v),O=D(O,j,v,u),A0=$0,O}if(c1(v)||p(v)){if($0!==null)return null;return $0=$5(v._debugInfo),O=k(O,j,v,u,null),A0=$0,O}if(typeof v.then==="function")return $0=$5(v._debugInfo),O=D(O,j,sQ(v),u),A0=$0,O;if(v.$$typeof===q8)return D(O,j,dQ(O,v),u);nQ(O,v)}return typeof v==="function"&&oQ(O,v),typeof v==="symbol"&&aQ(O,v),null}function y(O,j,v,u,$0){if(typeof u==="string"&&u!==""||typeof u==="number"||typeof u==="bigint")return O=O.get(v)||null,w(j,O,""+u,$0);if(typeof u==="object"&&u!==null){switch(u.$$typeof){case J8:return v=O.get(u.key===null?v:u.key)||null,O=$5(u._debugInfo),j=_(j,v,u,$0),A0=O,j;case o$:return O=O.get(u.key===null?v:u.key)||null,V(j,O,u,$0);case i5:var V0=$5(u._debugInfo);return u=T6(u),j=y(O,j,v,u,$0),A0=V0,j}if(c1(u)||p(u))return v=O.get(v)||null,O=$5(u._debugInfo),j=k(j,v,u,$0,null),A0=O,j;if(typeof u.then==="function")return V0=$5(u._debugInfo),j=y(O,j,v,sQ(u),$0),A0=V0,j;if(u.$$typeof===q8)return y(O,j,v,dQ(j,u),$0);nQ(j,u)}return typeof u==="function"&&oQ(j,u),typeof u==="symbol"&&aQ(j,u),null}function t(O,j,v,u){if(typeof v!=="object"||v===null)return u;switch(v.$$typeof){case J8:case o$:T(O,j,v);var $0=v.key;if(typeof $0!=="string")break;if(u===null){u=new Set,u.add($0);break}if(!u.has($0)){u.add($0);break}G0(j,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.",$0)});break;case i5:v=T6(v),t(O,j,v,u)}return u}function Z0(O,j,v,u){for(var $0=null,V0=null,M0=null,U0=j,O0=j=0,T1=null;U0!==null&&O0<v.length;O0++){U0.index>O0?(T1=U0,U0=null):T1=U0.sibling;var k1=D(O,U0,v[O0],u);if(k1===null){U0===null&&(U0=T1);break}$0=t(O,k1,v[O0],$0),$&&U0&&k1.alternate===null&&Z(O,U0),j=B(k1,j,O0),M0===null?V0=k1:M0.sibling=k1,M0=k1,U0=T1}if(O0===v.length)return G(O,U0),p0&&D8(O,O0),V0;if(U0===null){for(;O0<v.length;O0++)U0=b(O,v[O0],u),U0!==null&&($0=t(O,U0,v[O0],$0),j=B(U0,j,O0),M0===null?V0=U0:M0.sibling=U0,M0=U0);return p0&&D8(O,O0),V0}for(U0=X(U0);O0<v.length;O0++)T1=y(U0,O,O0,v[O0],u),T1!==null&&($0=t(O,T1,v[O0],$0),$&&T1.alternate!==null&&U0.delete(T1.key===null?O0:T1.key),j=B(T1,j,O0),M0===null?V0=T1:M0.sibling=T1,M0=T1);return $&&U0.forEach(function(a8){return Z(O,a8)}),p0&&D8(O,O0),V0}function F1(O,j,v,u){if(v==null)throw Error("An iterable object provided no iterator.");for(var $0=null,V0=null,M0=j,U0=j=0,O0=null,T1=null,k1=v.next();M0!==null&&!k1.done;U0++,k1=v.next()){M0.index>U0?(O0=M0,M0=null):O0=M0.sibling;var a8=D(O,M0,k1.value,u);if(a8===null){M0===null&&(M0=O0);break}T1=t(O,a8,k1.value,T1),$&&M0&&a8.alternate===null&&Z(O,M0),j=B(a8,j,U0),V0===null?$0=a8:V0.sibling=a8,V0=a8,M0=O0}if(k1.done)return G(O,M0),p0&&D8(O,U0),$0;if(M0===null){for(;!k1.done;U0++,k1=v.next())M0=b(O,k1.value,u),M0!==null&&(T1=t(O,M0,k1.value,T1),j=B(M0,j,U0),V0===null?$0=M0:V0.sibling=M0,V0=M0);return p0&&D8(O,U0),$0}for(M0=X(M0);!k1.done;U0++,k1=v.next())O0=y(M0,O,U0,k1.value,u),O0!==null&&(T1=t(O,O0,k1.value,T1),$&&O0.alternate!==null&&M0.delete(O0.key===null?U0:O0.key),j=B(O0,j,U0),V0===null?$0=O0:V0.sibling=O0,V0=O0);return $&&M0.forEach(function(HP){return Z(O,HP)}),p0&&D8(O,U0),$0}function l0(O,j,v,u){if(typeof v==="object"&&v!==null&&v.type===a$&&v.key===null&&(rQ(v,null,O),v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case J8:var $0=$5(v._debugInfo);$:{for(var V0=v.key;j!==null;){if(j.key===V0){if(V0=v.type,V0===a$){if(j.tag===7){G(O,j.sibling),u=N(j,v.props.children),u.return=O,u._debugOwner=v._owner,u._debugInfo=A0,rQ(v,u,O),O=u;break $}}else if(j.elementType===V0||uK(j,v)||typeof V0==="object"&&V0!==null&&V0.$$typeof===i5&&T6(V0)===j.type){G(O,j.sibling),u=N(j,v.props),R7(u,v),u.return=O,u._debugOwner=v._owner,u._debugInfo=A0,O=u;break $}G(O,j);break}else Z(O,j);j=j.sibling}v.type===a$?(u=A2(v.props.children,O.mode,u,v.key),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=A0,rQ(v,u,O),O=u):(u=hQ(v,O.mode,u),R7(u,v),u.return=O,u._debugInfo=A0,O=u)}return O=W(O),A0=$0,O;case o$:$:{$0=v;for(v=$0.key;j!==null;){if(j.key===v)if(j.tag===4&&j.stateNode.containerInfo===$0.containerInfo&&j.stateNode.implementation===$0.implementation){G(O,j.sibling),u=N(j,$0.children||[]),u.return=O,O=u;break $}else{G(O,j);break}else Z(O,j);j=j.sibling}u=L3($0,O.mode,u),u.return=O,O=u}return W(O);case i5:return $0=$5(v._debugInfo),v=T6(v),O=l0(O,j,v,u),A0=$0,O}if(c1(v))return $0=$5(v._debugInfo),O=Z0(O,j,v,u),A0=$0,O;if(p(v)){if($0=$5(v._debugInfo),V0=p(v),typeof V0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var M0=V0.call(v);if(M0===v){if(O.tag!==0||Object.prototype.toString.call(O.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(M0)!=="[object Generator]")WW||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."),WW=!0}else v.entries!==V0||tY||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tY=!0);return O=F1(O,j,M0,u),A0=$0,O}if(typeof v.then==="function")return $0=$5(v._debugInfo),O=l0(O,j,sQ(v),u),A0=$0,O;if(v.$$typeof===q8)return l0(O,j,dQ(O,v),u);nQ(O,v)}if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0=""+v,j!==null&&j.tag===6?(G(O,j.sibling),u=N(j,$0),u.return=O,O=u):(G(O,j),u=_3($0,O.mode,u),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=A0,O=u),W(O);return typeof v==="function"&&oQ(O,v),typeof v==="symbol"&&aQ(O,v),G(O,j)}return function(O,j,v,u){var $0=A0;A0=null;try{MZ=0;var V0=l0(O,j,v,u);return w9=null,V0}catch(T1){if(T1===W9||T1===qJ)throw T1;var M0=L(29,T1,null,O.mode);M0.lanes=u,M0.return=O;var U0=M0._debugInfo=A0;if(M0._debugOwner=O._debugOwner,M0._debugTask=O._debugTask,U0!=null){for(var O0=U0.length-1;0<=O0;O0--)if(typeof U0[O0].stack==="string"){M0._debugOwner=U0[O0],M0._debugTask=U0[O0].debugTask;break}}return M0}finally{A0=$0}}}function BB($,Z){var G=c1($);return $=!G&&typeof p($)==="function",G||$?(G=G?"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>",G,Z,G),!1):!0}function k3($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function b3($,Z){$=$.updateQueue,Z.updateQueue===$&&(Z.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function z6($){return{lane:$,tag:_W,payload:null,callback:null,next:null}}function _6($,Z,G){var X=$.updateQueue;if(X===null)return null;if(X=X.shared,$U===X&&!EW){var N=d($);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.
100
+ <%s>%s</%s>`,q,Z,q))}function iq($,Z){var q=vX();q!==null?q.run(KN.bind(null,$,Z)):KN($,Z)}function BN($){function Z(O,A){if($){var v=O.deletions;v===null?(O.deletions=[A],O.flags|=16):v.push(A)}}function q(O,A){if(!$)return null;for(;A!==null;)Z(O,A),A=A.sibling;return null}function X(O){for(var A=new Map;O!==null;)O.key!==null?A.set(O.key,O):A.set(O.index,O),O=O.sibling;return A}function K(O,A){return O=O$(O,A),O.index=0,O.sibling=null,O}function N(O,A,v){if(O.index=v,!$)return O.flags|=1048576,A;if(v=O.alternate,v!==null)return v=v.index,v<A?(O.flags|=67108866,A):v;return O.flags|=67108866,A}function W(O){return $&&O.alternate===null&&(O.flags|=67108866),O}function R(O,A,v,u){if(A===null||A.tag!==6)return A=_X(v,O.mode,u),A.return=O,A._debugOwner=O,A._debugTask=O._debugTask,A._debugInfo=D0,A;return A=K(A,v),A.return=O,A._debugInfo=D0,A}function _(O,A,v,u){var $0=v.type;if($0===i7)return A=k(O,A,v.props.children,u,v.key),rq(v,A,O),A;if(A!==null&&(A.elementType===$0||uB(A,v)||typeof $0==="object"&&$0!==null&&$0.$$typeof===a8&&L6($0)===A.type))return A=K(A,v.props),zZ(A,v),A.return=O,A._debugOwner=v._owner,A._debugInfo=D0,A;return A=xq(v,O.mode,u),zZ(A,v),A.return=O,A._debugInfo=D0,A}function E(O,A,v,u){if(A===null||A.tag!==4||A.stateNode.containerInfo!==v.containerInfo||A.stateNode.implementation!==v.implementation)return A=TX(v,O.mode,u),A.return=O,A._debugInfo=D0,A;return A=K(A,v.children||[]),A.return=O,A._debugInfo=D0,A}function k(O,A,v,u,$0){if(A===null||A.tag!==7)return A=D4(v,O.mode,u,$0),A.return=O,A._debugOwner=O,A._debugTask=O._debugTask,A._debugInfo=D0,A;return A=K(A,v),A.return=O,A._debugInfo=D0,A}function b(O,A,v){if(typeof A==="string"&&A!==""||typeof A==="number"||typeof A==="bigint")return A=_X(""+A,O.mode,v),A.return=O,A._debugOwner=O,A._debugTask=O._debugTask,A._debugInfo=D0,A;if(typeof A==="object"&&A!==null){switch(A.$$typeof){case G$:return v=xq(A,O.mode,v),zZ(v,A),v.return=O,O=$8(A._debugInfo),v._debugInfo=D0,D0=O,v;case o7:return A=TX(A,O.mode,v),A.return=O,A._debugInfo=D0,A;case a8:var u=$8(A._debugInfo);return A=L6(A),O=b(O,A,v),D0=u,O}if(c5(A)||p(A))return v=D4(A,O.mode,v,null),v.return=O,v._debugOwner=O,v._debugTask=O._debugTask,O=$8(A._debugInfo),v._debugInfo=D0,D0=O,v;if(typeof A.then==="function")return u=$8(A._debugInfo),O=b(O,sq(A),v),D0=u,O;if(A.$$typeof===J$)return b(O,dq(O,A),v);nq(O,A)}return typeof A==="function"&&oq(O,A),typeof A==="symbol"&&iq(O,A),null}function j(O,A,v,u){var $0=A!==null?A.key:null;if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0!==null?null:R(O,A,""+v,u);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case G$:return v.key===$0?($0=$8(v._debugInfo),O=_(O,A,v,u),D0=$0,O):null;case o7:return v.key===$0?E(O,A,v,u):null;case a8:return $0=$8(v._debugInfo),v=L6(v),O=j(O,A,v,u),D0=$0,O}if(c5(v)||p(v)){if($0!==null)return null;return $0=$8(v._debugInfo),O=k(O,A,v,u,null),D0=$0,O}if(typeof v.then==="function")return $0=$8(v._debugInfo),O=j(O,A,sq(v),u),D0=$0,O;if(v.$$typeof===J$)return j(O,A,dq(O,v),u);nq(O,v)}return typeof v==="function"&&oq(O,v),typeof v==="symbol"&&iq(O,v),null}function y(O,A,v,u,$0){if(typeof u==="string"&&u!==""||typeof u==="number"||typeof u==="bigint")return O=O.get(v)||null,R(A,O,""+u,$0);if(typeof u==="object"&&u!==null){switch(u.$$typeof){case G$:return v=O.get(u.key===null?v:u.key)||null,O=$8(u._debugInfo),A=_(A,v,u,$0),D0=O,A;case o7:return O=O.get(u.key===null?v:u.key)||null,E(A,O,u,$0);case a8:var E0=$8(u._debugInfo);return u=L6(u),A=y(O,A,v,u,$0),D0=E0,A}if(c5(u)||p(u))return v=O.get(v)||null,O=$8(u._debugInfo),A=k(A,v,u,$0,null),D0=O,A;if(typeof u.then==="function")return E0=$8(u._debugInfo),A=y(O,A,v,sq(u),$0),D0=E0,A;if(u.$$typeof===J$)return y(O,A,v,dq(A,u),$0);nq(A,u)}return typeof u==="function"&&oq(A,u),typeof u==="symbol"&&iq(A,u),null}function t(O,A,v,u){if(typeof v!=="object"||v===null)return u;switch(v.$$typeof){case G$:case o7:L(O,A,v);var $0=v.key;if(typeof $0!=="string")break;if(u===null){u=new Set,u.add($0);break}if(!u.has($0)){u.add($0);break}q0(A,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.",$0)});break;case a8:v=L6(v),t(O,A,v,u)}return u}function Z0(O,A,v,u){for(var $0=null,E0=null,H0=null,U0=A,O0=A=0,L5=null;U0!==null&&O0<v.length;O0++){U0.index>O0?(L5=U0,U0=null):L5=U0.sibling;var k5=j(O,U0,v[O0],u);if(k5===null){U0===null&&(U0=L5);break}$0=t(O,k5,v[O0],$0),$&&U0&&k5.alternate===null&&Z(O,U0),A=N(k5,A,O0),H0===null?E0=k5:H0.sibling=k5,H0=k5,U0=L5}if(O0===v.length)return q(O,U0),p0&&j$(O,O0),E0;if(U0===null){for(;O0<v.length;O0++)U0=b(O,v[O0],u),U0!==null&&($0=t(O,U0,v[O0],$0),A=N(U0,A,O0),H0===null?E0=U0:H0.sibling=U0,H0=U0);return p0&&j$(O,O0),E0}for(U0=X(U0);O0<v.length;O0++)L5=y(U0,O,O0,v[O0],u),L5!==null&&($0=t(O,L5,v[O0],$0),$&&L5.alternate!==null&&U0.delete(L5.key===null?O0:L5.key),A=N(L5,A,O0),H0===null?E0=L5:H0.sibling=L5,H0=L5);return $&&U0.forEach(function(i$){return Z(O,i$)}),p0&&j$(O,O0),E0}function F5(O,A,v,u){if(v==null)throw Error("An iterable object provided no iterator.");for(var $0=null,E0=null,H0=A,U0=A=0,O0=null,L5=null,k5=v.next();H0!==null&&!k5.done;U0++,k5=v.next()){H0.index>U0?(O0=H0,H0=null):O0=H0.sibling;var i$=j(O,H0,k5.value,u);if(i$===null){H0===null&&(H0=O0);break}L5=t(O,i$,k5.value,L5),$&&H0&&i$.alternate===null&&Z(O,H0),A=N(i$,A,U0),E0===null?$0=i$:E0.sibling=i$,E0=i$,H0=O0}if(k5.done)return q(O,H0),p0&&j$(O,U0),$0;if(H0===null){for(;!k5.done;U0++,k5=v.next())H0=b(O,k5.value,u),H0!==null&&(L5=t(O,H0,k5.value,L5),A=N(H0,A,U0),E0===null?$0=H0:E0.sibling=H0,E0=H0);return p0&&j$(O,U0),$0}for(H0=X(H0);!k5.done;U0++,k5=v.next())O0=y(H0,O,U0,k5.value,u),O0!==null&&(L5=t(O,O0,k5.value,L5),$&&O0.alternate!==null&&H0.delete(O0.key===null?U0:O0.key),A=N(O0,A,U0),E0===null?$0=O0:E0.sibling=O0,E0=O0);return $&&H0.forEach(function(MP){return Z(O,MP)}),p0&&j$(O,U0),$0}function l0(O,A,v,u){if(typeof v==="object"&&v!==null&&v.type===i7&&v.key===null&&(rq(v,null,O),v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case G$:var $0=$8(v._debugInfo);$:{for(var E0=v.key;A!==null;){if(A.key===E0){if(E0=v.type,E0===i7){if(A.tag===7){q(O,A.sibling),u=K(A,v.props.children),u.return=O,u._debugOwner=v._owner,u._debugInfo=D0,rq(v,u,O),O=u;break $}}else if(A.elementType===E0||uB(A,v)||typeof E0==="object"&&E0!==null&&E0.$$typeof===a8&&L6(E0)===A.type){q(O,A.sibling),u=K(A,v.props),zZ(u,v),u.return=O,u._debugOwner=v._owner,u._debugInfo=D0,O=u;break $}q(O,A);break}else Z(O,A);A=A.sibling}v.type===i7?(u=D4(v.props.children,O.mode,u,v.key),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=D0,rq(v,u,O),O=u):(u=xq(v,O.mode,u),zZ(u,v),u.return=O,u._debugInfo=D0,O=u)}return O=W(O),D0=$0,O;case o7:$:{$0=v;for(v=$0.key;A!==null;){if(A.key===v)if(A.tag===4&&A.stateNode.containerInfo===$0.containerInfo&&A.stateNode.implementation===$0.implementation){q(O,A.sibling),u=K(A,$0.children||[]),u.return=O,O=u;break $}else{q(O,A);break}else Z(O,A);A=A.sibling}u=TX($0,O.mode,u),u.return=O,O=u}return W(O);case a8:return $0=$8(v._debugInfo),v=L6(v),O=l0(O,A,v,u),D0=$0,O}if(c5(v))return $0=$8(v._debugInfo),O=Z0(O,A,v,u),D0=$0,O;if(p(v)){if($0=$8(v._debugInfo),E0=p(v),typeof E0!=="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var H0=E0.call(v);if(H0===v){if(O.tag!==0||Object.prototype.toString.call(O.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(H0)!=="[object Generator]")WW||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."),WW=!0}else v.entries!==E0||tY||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),tY=!0);return O=F5(O,A,H0,u),D0=$0,O}if(typeof v.then==="function")return $0=$8(v._debugInfo),O=l0(O,A,sq(v),u),D0=$0,O;if(v.$$typeof===J$)return l0(O,A,dq(O,v),u);nq(O,v)}if(typeof v==="string"&&v!==""||typeof v==="number"||typeof v==="bigint")return $0=""+v,A!==null&&A.tag===6?(q(O,A.sibling),u=K(A,$0),u.return=O,O=u):(q(O,A),u=_X($0,O.mode,u),u.return=O,u._debugOwner=O,u._debugTask=O._debugTask,u._debugInfo=D0,O=u),W(O);return typeof v==="function"&&oq(O,v),typeof v==="symbol"&&iq(O,v),q(O,A)}return function(O,A,v,u){var $0=D0;D0=null;try{HQ=0;var E0=l0(O,A,v,u);return R9=null,E0}catch(L5){if(L5===W9||L5===JJ)throw L5;var H0=T(29,L5,null,O.mode);H0.lanes=u,H0.return=O;var U0=H0._debugInfo=D0;if(H0._debugOwner=O._debugOwner,H0._debugTask=O._debugTask,U0!=null){for(var O0=U0.length-1;0<=O0;O0--)if(typeof U0[O0].stack==="string"){H0._debugOwner=U0[O0],H0._debugTask=U0[O0].debugTask;break}}return H0}finally{D0=$0}}}function NN($,Z){var q=c5($);return $=!q&&typeof p($)==="function",q||$?(q=q?"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>",q,Z,q),!1):!0}function kX($){$.updateQueue={baseState:$.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function bX($,Z){$=$.updateQueue,Z.updateQueue===$&&(Z.updateQueue={baseState:$.baseState,firstBaseUpdate:$.firstBaseUpdate,lastBaseUpdate:$.lastBaseUpdate,shared:$.shared,callbacks:null})}function V6($){return{lane:$,tag:_W,payload:null,callback:null,next:null}}function _6($,Z,q){var X=$.updateQueue;if(X===null)return null;if(X=X.shared,$U===X&&!wW){var K=d($);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.
101
101
 
102
- Please update the following component: %s`,N),EW=!0}if((o0&r1)!==t1)return N=X.pending,N===null?Z.next=Z:(Z.next=N.next,N.next=Z),X.pending=Z,Z=gQ($),xK($,null,G),Z;return yQ($,X,Z,G),gQ($)}function T7($,Z,G){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(G&4194048)!==0)){var X=Z.lanes;X&=$.pendingLanes,G|=X,Z.lanes=G,E2($,G)}}function iQ($,Z){var{updateQueue:G,alternate:X}=$;if(X!==null&&(X=X.updateQueue,G===X)){var N=null,B=null;if(G=G.firstBaseUpdate,G!==null){do{var W={lane:G.lane,tag:G.tag,payload:G.payload,callback:null,next:null};B===null?N=B=W:B=B.next=W,G=G.next}while(G!==null);B===null?N=B=Z:B=B.next=Z}else N=B=Z;G={baseState:X.baseState,firstBaseUpdate:N,lastBaseUpdate:B,shared:X.shared,callbacks:X.callbacks},$.updateQueue=G;return}$=G.lastBaseUpdate,$===null?G.firstBaseUpdate=Z:$.next=Z,G.lastBaseUpdate=Z}function z7(){if(ZU){var $=F9;if($!==null)throw $}}function _7($,Z,G,X){ZU=!1;var N=$.updateQueue;m6=!1,$U=N.shared;var{firstBaseUpdate:B,lastBaseUpdate:W}=N,w=N.shared.pending;if(w!==null){N.shared.pending=null;var _=w,V=_.next;_.next=null,W===null?B=V:W.next=V,W=_;var k=$.alternate;k!==null&&(k=k.updateQueue,w=k.lastBaseUpdate,w!==W&&(w===null?k.firstBaseUpdate=V:w.next=V,k.lastBaseUpdate=_))}if(B!==null){var b=N.baseState;W=0,k=V=_=null,w=B;do{var D=w.lane&-536870913,y=D!==w.lane;if(y?(S0&D)===D:(X&D)===D){D!==0&&D===s2&&(ZU=!0),k!==null&&(k=k.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});$:{D=$;var t=w,Z0=Z,F1=G;switch(t.tag){case LW:if(t=t.payload,typeof t==="function"){H9=!0;var l0=t.call(F1,b,Z0);if(D.mode&M5){H1(!0);try{t.call(F1,b,Z0)}finally{H1(!1)}}H9=!1,b=l0;break $}b=t;break $;case eY:D.flags=D.flags&-65537|128;case _W:if(l0=t.payload,typeof l0==="function"){if(H9=!0,t=l0.call(F1,b,Z0),D.mode&M5){H1(!0);try{l0.call(F1,b,Z0)}finally{H1(!1)}}H9=!1}else t=l0;if(t===null||t===void 0)break $;b=y0({},b,t);break $;case VW:m6=!0}}D=w.callback,D!==null&&($.flags|=64,y&&($.flags|=8192),y=N.callbacks,y===null?N.callbacks=[D]:y.push(D))}else y={lane:D,tag:w.tag,payload:w.payload,callback:w.callback,next:null},k===null?(V=k=y,_=b):k=k.next=y,W|=D;if(w=w.next,w===null)if(w=N.shared.pending,w===null)break;else y=w,w=y.next,y.next=null,N.lastBaseUpdate=y,N.shared.pending=null}while(1);k===null&&(_=b),N.baseState=_,N.firstBaseUpdate=V,N.lastBaseUpdate=k,B===null&&(N.shared.lanes=0),c6|=W,$.lanes=W,$.memoizedState=b}$U=null}function HB($,Z){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(Z)}function XL($,Z){var G=$.shared.hiddenCallbacks;if(G!==null)for($.shared.hiddenCallbacks=null,$=0;$<G.length;$++)HB(G[$],Z)}function MB($,Z){var G=$.callbacks;if(G!==null)for($.callbacks=null,$=0;$<G.length;$++)HB(G[$],Z)}function FB($,Z){var G=W8;z0(YJ,G,$),z0(R9,Z,$),W8=G|Z.baseLanes}function f3($){z0(YJ,W8,$),z0(R9,R9.current,$)}function y3($){W8=YJ.current,w0(R9,$),w0(YJ,$)}function L6($){var Z=$.alternate;z0(v1,v1.current&T9,$),z0(Z4,$,$),w4===null&&(Z===null||R9.current!==null?w4=$:Z.memoizedState!==null&&(w4=$))}function g3($){z0(v1,v1.current,$),z0(Z4,$,$),w4===null&&(w4=$)}function WB($){$.tag===22?(z0(v1,v1.current,$),z0(Z4,$,$),w4===null&&(w4=$)):V6($)}function V6($){z0(v1,v1.current,$),z0(Z4,Z4.current,$)}function n5($){w0(Z4,$),w4===$&&(w4=null),w0(v1,$)}function tQ($){for(var Z=$;Z!==null;){if(Z.tag===13){var G=Z.memoizedState;if(G!==null&&(G=G.dehydrated,G===null||aX(G)||iX(G)))return Z}else if(Z.tag===19&&(Z.memoizedProps.revealOrder==="forwards"||Z.memoizedProps.revealOrder==="backwards"||Z.memoizedProps.revealOrder==="unstable_legacy-backwards"||Z.memoizedProps.revealOrder==="together")){if((Z.flags&128)!==0)return Z}else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===$)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)return null;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}return null}function f0(){var $=h;T4===null?T4=[$]:T4.push($)}function c(){var $=h;if(T4!==null&&(l8++,T4[l8]!==$)){var Z=d(L0);if(!PW.has(Z)&&(PW.add(Z),T4!==null)){for(var G="",X=0;X<=l8;X++){var N=T4[X],B=X===l8?$:N;for(N=X+1+". "+N;30>N.length;)N+=" ";N+=B+`
103
- `,G+=N}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
102
+ Please update the following component: %s`,K),wW=!0}if((o0&r5)!==t5)return K=X.pending,K===null?Z.next=Z:(Z.next=K.next,K.next=Z),X.pending=Z,Z=gq($),hB($,null,q),Z;return yq($,X,Z,q),gq($)}function LZ($,Z,q){if(Z=Z.updateQueue,Z!==null&&(Z=Z.shared,(q&4194048)!==0)){var X=Z.lanes;X&=$.pendingLanes,q|=X,Z.lanes=q,w4($,q)}}function aq($,Z){var{updateQueue:q,alternate:X}=$;if(X!==null&&(X=X.updateQueue,q===X)){var K=null,N=null;if(q=q.firstBaseUpdate,q!==null){do{var W={lane:q.lane,tag:q.tag,payload:q.payload,callback:null,next:null};N===null?K=N=W:N=N.next=W,q=q.next}while(q!==null);N===null?K=N=Z:N=N.next=Z}else K=N=Z;q={baseState:X.baseState,firstBaseUpdate:K,lastBaseUpdate:N,shared:X.shared,callbacks:X.callbacks},$.updateQueue=q;return}$=q.lastBaseUpdate,$===null?q.firstBaseUpdate=Z:$.next=Z,q.lastBaseUpdate=Z}function VZ(){if(ZU){var $=F9;if($!==null)throw $}}function _Z($,Z,q,X){ZU=!1;var K=$.updateQueue;m6=!1,$U=K.shared;var{firstBaseUpdate:N,lastBaseUpdate:W}=K,R=K.shared.pending;if(R!==null){K.shared.pending=null;var _=R,E=_.next;_.next=null,W===null?N=E:W.next=E,W=_;var k=$.alternate;k!==null&&(k=k.updateQueue,R=k.lastBaseUpdate,R!==W&&(R===null?k.firstBaseUpdate=E:R.next=E,k.lastBaseUpdate=_))}if(N!==null){var b=K.baseState;W=0,k=E=_=null,R=N;do{var j=R.lane&-536870913,y=j!==R.lane;if(y?(S0&j)===j:(X&j)===j){j!==0&&j===s4&&(ZU=!0),k!==null&&(k=k.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});$:{j=$;var t=R,Z0=Z,F5=q;switch(t.tag){case TW:if(t=t.payload,typeof t==="function"){M9=!0;var l0=t.call(F5,b,Z0);if(j.mode&H8){M5(!0);try{t.call(F5,b,Z0)}finally{M5(!1)}}M9=!1,b=l0;break $}b=t;break $;case eY:j.flags=j.flags&-65537|128;case _W:if(l0=t.payload,typeof l0==="function"){if(M9=!0,t=l0.call(F5,b,Z0),j.mode&H8){M5(!0);try{l0.call(F5,b,Z0)}finally{M5(!1)}}M9=!1}else t=l0;if(t===null||t===void 0)break $;b=y0({},b,t);break $;case EW:m6=!0}}j=R.callback,j!==null&&($.flags|=64,y&&($.flags|=8192),y=K.callbacks,y===null?K.callbacks=[j]:y.push(j))}else y={lane:j,tag:R.tag,payload:R.payload,callback:R.callback,next:null},k===null?(E=k=y,_=b):k=k.next=y,W|=j;if(R=R.next,R===null)if(R=K.shared.pending,R===null)break;else y=R,R=y.next,y.next=null,K.lastBaseUpdate=y,K.shared.pending=null}while(1);k===null&&(_=b),K.baseState=_,K.firstBaseUpdate=E,K.lastBaseUpdate=k,N===null&&(K.shared.lanes=0),c6|=W,$.lanes=W,$.memoizedState=b}$U=null}function MN($,Z){if(typeof $!=="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+$);$.call(Z)}function XT($,Z){var q=$.shared.hiddenCallbacks;if(q!==null)for($.shared.hiddenCallbacks=null,$=0;$<q.length;$++)MN(q[$],Z)}function HN($,Z){var q=$.callbacks;if(q!==null)for($.callbacks=null,$=0;$<q.length;$++)MN(q[$],Z)}function FN($,Z){var q=W$;V0(YJ,q,$),V0(z9,Z,$),W$=q|Z.baseLanes}function fX($){V0(YJ,W$,$),V0(z9,z9.current,$)}function yX($){W$=YJ.current,R0(z9,$),R0(YJ,$)}function T6($){var Z=$.alternate;V0(v5,v5.current&L9,$),V0(Z1,$,$),R1===null&&(Z===null||z9.current!==null?R1=$:Z.memoizedState!==null&&(R1=$))}function gX($){V0(v5,v5.current,$),V0(Z1,$,$),R1===null&&(R1=$)}function WN($){$.tag===22?(V0(v5,v5.current,$),V0(Z1,$,$),R1===null&&(R1=$)):E6($)}function E6($){V0(v5,v5.current,$),V0(Z1,Z1.current,$)}function n8($){R0(Z1,$),R1===$&&(R1=null),R0(v5,$)}function tq($){for(var Z=$;Z!==null;){if(Z.tag===13){var q=Z.memoizedState;if(q!==null&&(q=q.dehydrated,q===null||i3(q)||a3(q)))return Z}else if(Z.tag===19&&(Z.memoizedProps.revealOrder==="forwards"||Z.memoizedProps.revealOrder==="backwards"||Z.memoizedProps.revealOrder==="unstable_legacy-backwards"||Z.memoizedProps.revealOrder==="together")){if((Z.flags&128)!==0)return Z}else if(Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===$)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)return null;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}return null}function f0(){var $=x;L1===null?L1=[$]:L1.push($)}function c(){var $=x;if(L1!==null&&(l$++,L1[l$]!==$)){var Z=d(T0);if(!PW.has(Z)&&(PW.add(Z),L1!==null)){for(var q="",X=0;X<=l$;X++){var K=L1[X],N=X===l$?$:K;for(K=X+1+". "+K;30>K.length;)K+=" ";K+=N+`
103
+ `,q+=K}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
104
104
 
105
105
  Previous render Next render
106
106
  ------------------------------------------------------
107
107
  %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
- `,Z,G)}}}function y$($){$===void 0||$===null||c1($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",h,typeof $)}function eQ(){var $=d(L0);IW.has($)||(IW.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function A1(){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:
108
+ `,Z,q)}}}function y7($){$===void 0||$===null||c5($)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",x,typeof $)}function eq(){var $=d(T0);IW.has($)||(IW.add($),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",$))}function D5(){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:
109
109
  1. You might have mismatching versions of React and the renderer (such as React DOM)
110
110
  2. You might be breaking the Rules of Hooks
111
111
  3. You might have more than one copy of React in the same app
112
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function h3($,Z){if(wZ)return!1;if(Z===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.",h),!1;$.length!==Z.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
112
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function xX($,Z){if(RQ)return!1;if(Z===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.",x),!1;$.length!==Z.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
113
113
 
114
114
  Previous: %s
115
- Incoming: %s`,h,"["+Z.join(", ")+"]","["+$.join(", ")+"]");for(var G=0;G<Z.length&&G<$.length;G++)if(!z5($[G],Z[G]))return!1;return!0}function x3($,Z,G,X,N,B){if(p8=B,L0=Z,T4=$!==null?$._debugHookTypes:null,l8=-1,wZ=$!==null&&$.type!==Z.type,Object.prototype.toString.call(G)==="[object AsyncFunction]"||Object.prototype.toString.call(G)==="[object AsyncGeneratorFunction]")B=d(L0),QU.has(B)||(QU.add(B),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.",B===null?"An unknown Component":"<"+B+">"));Z.memoizedState=null,Z.updateQueue=null,Z.lanes=0,x.H=$!==null&&$.memoizedState!==null?JU:T4!==null?OW:GU,t2=B=(Z.mode&M5)!==_0;var W=oY(G,X,N);if(t2=!1,_9&&(W=u3(Z,G,X,N)),B){H1(!0);try{W=u3(Z,G,X,N)}finally{H1(!1)}}return wB($,Z),W}function wB($,Z){Z._debugHookTypes=T4,Z.dependencies===null?c8!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:c8}):Z.dependencies._debugThenableState=c8,x.H=RZ;var G=N1!==null&&N1.next!==null;if(p8=0,T4=h=h1=N1=L0=null,l8=-1,$!==null&&($.flags&65011712)!==(Z.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),NJ=!1,WZ=0,c8=null,G)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||x1||($=$.dependencies,$!==null&&mQ($)&&(x1=!0)),HZ?(HZ=!1,$=!0):$=!1,$&&(Z=d(Z)||"Unknown",CW.has(Z)||QU.has(Z)||(CW.add(Z),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 u3($,Z,G,X){L0=$;var N=0;do{if(_9&&(c8=null),WZ=0,_9=!1,N>=cE)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(N+=1,wZ=!1,h1=N1=null,$.updateQueue!=null){var B=$.updateQueue;B.lastEffect=null,B.events=null,B.stores=null,B.memoCache!=null&&(B.memoCache.index=0)}l8=-1,x.H=DW,B=oY(Z,G,X)}while(_9);return B}function YL(){var $=x.H,Z=$.useState()[0];return Z=typeof Z.then==="function"?L7(Z):Z,$=$.useState()[0],(N1!==null?N1.memoizedState:null)!==$&&(L0.flags|=1024),Z}function m3(){var $=KJ!==0;return KJ=0,$}function d3($,Z,G){Z.updateQueue=$.updateQueue,Z.flags=(Z.mode&A4)!==_0?Z.flags&-402655237:Z.flags&-2053,$.lanes&=~G}function p3($){if(NJ){for($=$.memoizedState;$!==null;){var Z=$.queue;Z!==null&&(Z.pending=null),$=$.next}NJ=!1}p8=0,T4=h1=N1=L0=null,l8=-1,h=null,_9=!1,WZ=KJ=0,c8=null}function W5(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return h1===null?L0.memoizedState=h1=$:h1=h1.next=$,h1}function J1(){if(N1===null){var $=L0.alternate;$=$!==null?$.memoizedState:null}else $=N1.next;var Z=h1===null?L0.memoizedState:h1.next;if(Z!==null)h1=Z,N1=$;else{if($===null){if(L0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}N1=$,$={memoizedState:N1.memoizedState,baseState:N1.baseState,baseQueue:N1.baseQueue,queue:N1.queue,next:null},h1===null?L0.memoizedState=h1=$:h1=h1.next=$}return h1}function $G(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function L7($){var Z=WZ;return WZ+=1,c8===null&&(c8=QB()),$=JB(c8,$,Z),Z=L0,(h1===null?Z.memoizedState:h1.next)===null&&(Z=Z.alternate,x.H=Z!==null&&Z.memoizedState!==null?JU:GU),$}function E6($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return L7($);if($.$$typeof===q8)return _1($)}throw Error("An unsupported type was passed to use(): "+String($))}function f2($){var Z=null,G=L0.updateQueue;if(G!==null&&(Z=G.memoCache),Z==null){var X=L0.alternate;X!==null&&(X=X.updateQueue,X!==null&&(X=X.memoCache,X!=null&&(Z={data:X.data.map(function(N){return N.slice()}),index:0})))}if(Z==null&&(Z={data:[],index:0}),G===null&&(G=$G(),L0.updateQueue=G),G.memoCache=Z,G=Z.data[Z.index],G===void 0||wZ)for(G=Z.data[Z.index]=Array($),X=0;X<$;X++)G[X]=VV;else G.length!==$&&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.",G.length,$);return Z.index++,G}function I4($,Z){return typeof Z==="function"?Z($):Z}function c3($,Z,G){var X=W5();if(G!==void 0){var N=G(Z);if(t2){H1(!0);try{G(Z)}finally{H1(!1)}}}else N=Z;return X.memoizedState=X.baseState=N,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:N},X.queue=$,$=$.dispatch=HL.bind(null,L0,$),[X.memoizedState,$]}function g$($){var Z=J1();return l3(Z,N1,$)}function l3($,Z,G){var X=$.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=G;var N=$.baseQueue,B=X.pending;if(B!==null){if(N!==null){var W=N.next;N.next=B.next,B.next=W}Z.baseQueue!==N&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Z.baseQueue=N=B,X.pending=null}if(B=$.baseState,N===null)$.memoizedState=B;else{Z=N.next;var w=W=null,_=null,V=Z,k=!1;do{var b=V.lane&-536870913;if(b!==V.lane?(S0&b)===b:(p8&b)===b){var D=V.revertLane;if(D===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null}),b===s2&&(k=!0);else if((p8&D)===D){V=V.next,D===s2&&(k=!0);continue}else b={lane:0,revertLane:V.revertLane,gesture:null,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},_===null?(w=_=b,W=B):_=_.next=b,L0.lanes|=D,c6|=D;b=V.action,t2&&G(B,b),B=V.hasEagerState?V.eagerState:G(B,b)}else D={lane:b,revertLane:V.revertLane,gesture:V.gesture,action:V.action,hasEagerState:V.hasEagerState,eagerState:V.eagerState,next:null},_===null?(w=_=D,W=B):_=_.next=D,L0.lanes|=b,c6|=b;V=V.next}while(V!==null&&V!==Z);if(_===null?W=B:_.next=w,!z5(B,$.memoizedState)&&(x1=!0,k&&(G=F9,G!==null)))throw G;$.memoizedState=B,$.baseState=W,$.baseQueue=_,X.lastRenderedState=B}return N===null&&(X.lanes=0),[$.memoizedState,X.dispatch]}function V7($){var Z=J1(),G=Z.queue;if(G===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");G.lastRenderedReducer=$;var{dispatch:X,pending:N}=G,B=Z.memoizedState;if(N!==null){G.pending=null;var W=N=N.next;do B=$(B,W.action),W=W.next;while(W!==N);z5(B,Z.memoizedState)||(x1=!0),Z.memoizedState=B,Z.baseQueue===null&&(Z.baseState=B),G.lastRenderedState=B}return[B,X]}function r3($,Z,G){var X=L0,N=W5();if(p0){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var B=G();z9||B===G()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),z9=!0)}else{if(B=Z(),z9||(G=Z(),z5(B,G)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),z9=!0)),K1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(S0&127)!==0||RB(X,Z,B)}return N.memoizedState=B,G={value:B,getSnapshot:Z},N.queue=G,JG(zB.bind(null,X,G,$),[$]),X.flags|=2048,x$(R4|V5,{destroy:void 0},TB.bind(null,X,G,B,Z),null),B}function ZG($,Z,G){var X=L0,N=J1(),B=p0;if(B){if(G===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");G=G()}else if(G=Z(),!z9){var W=Z();z5(G,W)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),z9=!0)}if(W=!z5((N1||N).memoizedState,G))N.memoizedState=G,x1=!0;N=N.queue;var w=zB.bind(null,X,N,$);if(O5(2048,V5,w,[$]),N.getSnapshot!==Z||W||h1!==null&&h1.memoizedState.tag&R4){if(X.flags|=2048,x$(R4|V5,{destroy:void 0},TB.bind(null,X,N,G,Z),null),K1===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");B||(p8&127)!==0||RB(X,Z,G)}return G}function RB($,Z,G){$.flags|=16384,$={getSnapshot:Z,value:G},Z=L0.updateQueue,Z===null?(Z=$G(),L0.updateQueue=Z,Z.stores=[$]):(G=Z.stores,G===null?Z.stores=[$]:G.push($))}function TB($,Z,G,X){Z.value=G,Z.getSnapshot=X,_B(Z)&&LB($)}function zB($,Z,G){return G(function(){_B(Z)&&(l4(2,"updateSyncExternalStore()",$),LB($))})}function _B($){var Z=$.getSnapshot;$=$.value;try{var G=Z();return!z5($,G)}catch(X){return!0}}function LB($){var Z=B5($,2);Z!==null&&C1(Z,$,2)}function s3($){var Z=W5();if(typeof $==="function"){var G=$;if($=G(),t2){H1(!0);try{G()}finally{H1(!1)}}}return Z.memoizedState=Z.baseState=$,Z.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:$},Z}function n3($){$=s3($);var Z=$.queue,G=uB.bind(null,L0,Z);return Z.dispatch=G,[$.memoizedState,G]}function o3($){var Z=W5();Z.memoizedState=Z.baseState=$;var G={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Z.queue=G,Z=NX.bind(null,L0,!0,G),G.dispatch=Z,[$,Z]}function VB($,Z){var G=J1();return EB(G,N1,$,Z)}function EB($,Z,G,X){return $.baseState=G,l3($,N1,typeof X==="function"?X:I4)}function PB($,Z){var G=J1();if(N1!==null)return EB(G,N1,$,Z);return G.baseState=$,[$,G.queue.dispatch]}function UL($,Z,G,X,N){if(KG($))throw Error("Cannot update form state while rendering.");if($=Z.action,$!==null){var B={payload:N,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(W){B.listeners.push(W)}};x.T!==null?G(!0):B.isTransition=!1,X(B),G=Z.pending,G===null?(B.next=Z.pending=B,CB(Z,B)):(B.next=G.next,Z.pending=G.next=B)}}function CB($,Z){var{action:G,payload:X}=Z,N=$.state;if(Z.isTransition){var B=x.T,W={};W._updatedFibers=new Set,x.T=W;try{var w=G(N,X),_=x.S;_!==null&&_(W,w),IB($,Z,w)}catch(V){a3($,Z,V)}finally{B!==null&&W.types!==null&&(B.types!==null&&B.types!==W.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."),B.types=W.types),x.T=B,B===null&&W._updatedFibers&&($=W._updatedFibers.size,W._updatedFibers.clear(),10<$&&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{W=G(N,X),IB($,Z,W)}catch(V){a3($,Z,V)}}function IB($,Z,G){G!==null&&typeof G==="object"&&typeof G.then==="function"?(x.asyncTransitions++,G.then(NG,NG),G.then(function(X){OB($,Z,X)},function(X){return a3($,Z,X)}),Z.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.")):OB($,Z,G)}function OB($,Z,G){Z.status="fulfilled",Z.value=G,DB(Z),$.state=G,Z=$.pending,Z!==null&&(G=Z.next,G===Z?$.pending=null:(G=G.next,Z.next=G,CB($,G)))}function a3($,Z,G){var X=$.pending;if($.pending=null,X!==null){X=X.next;do Z.status="rejected",Z.reason=G,DB(Z),Z=Z.next;while(Z!==X)}$.action=null}function DB($){$=$.listeners;for(var Z=0;Z<$.length;Z++)(0,$[Z])()}function jB($,Z){return Z}function h$($,Z){if(p0){var G=K1.formState;if(G!==null){$:{var X=L0;if(p0){if(R1){Z:{var N=R1;for(var B=F4;N.nodeType!==8;){if(!B){N=null;break Z}if(N=a5(N.nextSibling),N===null){N=null;break Z}}B=N.data,N=B===OU||B===Mw?N:null}if(N){R1=a5(N.nextSibling),X=N.data===OU;break $}}w6(X)}X=!1}X&&(Z=G[0])}}return G=W5(),G.memoizedState=G.baseState=Z,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jB,lastRenderedState:Z},G.queue=X,G=uB.bind(null,L0,X),X.dispatch=G,X=s3(!1),B=NX.bind(null,L0,!1,X.queue),X=W5(),N={state:Z,dispatch:null,action:$,pending:null},X.queue=N,G=UL.bind(null,L0,N,B,G),N.dispatch=G,X.memoizedState=$,[Z,G,!1]}function QG($){var Z=J1();return AB(Z,N1,$)}function AB($,Z,G){if(Z=l3($,Z,jB)[0],$=g$(I4)[0],typeof Z==="object"&&Z!==null&&typeof Z.then==="function")try{var X=L7(Z)}catch(W){if(W===W9)throw qJ;throw W}else X=Z;Z=J1();var N=Z.queue,B=N.dispatch;return G!==Z.memoizedState&&(L0.flags|=2048,x$(R4|V5,{destroy:void 0},NL.bind(null,N,G),null)),[X,B,$]}function NL($,Z){$.action=Z}function GG($){var Z=J1(),G=N1;if(G!==null)return AB(Z,G,$);J1(),Z=Z.memoizedState,G=J1();var X=G.queue.dispatch;return G.memoizedState=$,[Z,X,!1]}function x$($,Z,G,X){return $={tag:$,create:G,deps:X,inst:Z,next:null},Z=L0.updateQueue,Z===null&&(Z=$G(),L0.updateQueue=Z),G=Z.lastEffect,G===null?Z.lastEffect=$.next=$:(X=G.next,G.next=$,$.next=X,Z.lastEffect=$),$}function i3($){var Z=W5();return $={current:$},Z.memoizedState=$}function y2($,Z,G,X){var N=W5();L0.flags|=$,N.memoizedState=x$(R4|Z,{destroy:void 0},G,X===void 0?null:X)}function O5($,Z,G,X){var N=J1();X=X===void 0?null:X;var B=N.memoizedState.inst;N1!==null&&X!==null&&h3(X,N1.memoizedState.deps)?N.memoizedState=x$(Z,B,G,X):(L0.flags|=$,N.memoizedState=x$(R4|Z,B,G,X))}function JG($,Z){(L0.mode&A4)!==_0?y2(276826112,V5,$,Z):y2(8390656,V5,$,Z)}function KL($){L0.flags|=4;var Z=L0.updateQueue;if(Z===null)Z=$G(),L0.updateQueue=Z,Z.events=[$];else{var G=Z.events;G===null?Z.events=[$]:G.push($)}}function t3($){var Z=W5(),G={impl:$};return Z.memoizedState=G,function(){if((o0&r1)!==t1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return G.impl.apply(void 0,arguments)}}function qG($){var Z=J1().memoizedState;return KL({ref:Z,nextImpl:$}),function(){if((o0&r1)!==t1)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Z.impl.apply(void 0,arguments)}}function e3($,Z){var G=4194308;return(L0.mode&A4)!==_0&&(G|=134217728),y2(G,Q4,$,Z)}function SB($,Z){if(typeof Z==="function"){$=$();var G=Z($);return function(){typeof G==="function"?G():Z(null)}}if(Z!==null&&Z!==void 0)return Z.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(Z).join(", ")+"}"),$=$(),Z.current=$,function(){Z.current=null}}function $X($,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([$]):null;var X=4194308;(L0.mode&A4)!==_0&&(X|=134217728),y2(X,Q4,SB.bind(null,Z,$),G)}function XG($,Z,G){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),G=G!==null&&G!==void 0?G.concat([$]):null,O5(4,Q4,SB.bind(null,Z,$),G)}function ZX($,Z){return W5().memoizedState=[$,Z===void 0?null:Z],$}function YG($,Z){var G=J1();Z=Z===void 0?null:Z;var X=G.memoizedState;if(Z!==null&&h3(Z,X[1]))return X[0];return G.memoizedState=[$,Z],$}function QX($,Z){var G=W5();Z=Z===void 0?null:Z;var X=$();if(t2){H1(!0);try{$()}finally{H1(!1)}}return G.memoizedState=[X,Z],X}function UG($,Z){var G=J1();Z=Z===void 0?null:Z;var X=G.memoizedState;if(Z!==null&&h3(Z,X[1]))return X[0];if(X=$(),t2){H1(!0);try{$()}finally{H1(!1)}}return G.memoizedState=[X,Z],X}function GX($,Z){var G=W5();return JX(G,$,Z)}function vB($,Z){var G=J1();return bB(G,N1.memoizedState,$,Z)}function kB($,Z){var G=J1();return N1===null?JX(G,$,Z):bB(G,N1.memoizedState,$,Z)}function JX($,Z,G){if(G===void 0||(p8&1073741824)!==0&&(S0&261930)===0)return $.memoizedState=Z;return $.memoizedState=G,$=fH(),L0.lanes|=$,c6|=$,G}function bB($,Z,G,X){if(z5(G,Z))return G;if(R9.current!==null)return $=JX($,G,X),z5($,Z)||(x1=!0),$;if((p8&42)===0||(p8&1073741824)!==0&&(S0&261930)===0)return x1=!0,$.memoizedState=G;return $=fH(),L0.lanes|=$,c6|=$,Z}function NG(){x.asyncTransitions--}function fB($,Z,G,X,N){var B=Z1.p;Z1.p=B!==0&&B<j4?B:j4;var W=x.T,w={};w._updatedFibers=new Set,x.T=w,NX($,!1,Z,G);try{var _=N(),V=x.S;if(V!==null&&V(w,_),_!==null&&typeof _==="object"&&typeof _.then==="function"){x.asyncTransitions++,_.then(NG,NG);var k=qL(_,X);E7($,Z,k,o5($))}else E7($,Z,X,o5($))}catch(b){E7($,Z,{then:function(){},status:"rejected",reason:b},o5($))}finally{Z1.p=B,W!==null&&w.types!==null&&(W.types!==null&&W.types!==w.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."),W.types=w.types),x.T=W,W===null&&w._updatedFibers&&($=w._updatedFibers.size,w._updatedFibers.clear(),10<$&&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 qX($,Z,G,X){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var N=yB($).queue;GL($),fB($,N,Z,N$,G===null?R:function(){return gB($),G(X)})}function yB($){var Z=$.memoizedState;if(Z!==null)return Z;Z={memoizedState:N$,baseState:N$,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:N$},next:null};var G={};return Z.next={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I4,lastRenderedState:G},next:null},$.memoizedState=Z,$=$.alternate,$!==null&&($.memoizedState=Z),Z}function gB($){x.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Z=yB($);Z.next===null&&(Z=$.alternate.memoizedState),E7($,Z.next.queue,{},o5($))}function XX(){var $=s3(!1);return $=fB.bind(null,L0,$.queue,!0,!1),W5().memoizedState=$,[!1,$]}function hB(){var $=g$(I4)[0],Z=J1().memoizedState;return[typeof $==="boolean"?$:L7($),Z]}function xB(){var $=V7(I4)[0],Z=J1().memoizedState;return[typeof $==="boolean"?$:L7($),Z]}function g2(){return _1(vZ)}function YX(){var $=W5(),Z=K1.identifierPrefix;if(p0){var G=h8,X=g8;G=(X&~(1<<32-w5(X)-1)).toString(32)+G,Z="_"+Z+"R_"+G,G=KJ++,0<G&&(Z+="H"+G.toString(32)),Z+="_"}else G=pE++,Z="_"+Z+"r_"+G.toString(32)+"_";return $.memoizedState=Z}function UX(){return W5().memoizedState=BL.bind(null,L0)}function BL($,Z){for(var G=$.return;G!==null;){switch(G.tag){case 24:case 3:var X=o5(G),N=z6(X),B=_6(G,N,X);B!==null&&(l4(X,"refresh()",$),C1(B,G,X),T7(B,G,X)),$=D3(),Z!==null&&Z!==void 0&&B!==null&&console.error("The seed argument is not enabled outside experimental channels."),N.payload={cache:$};return}G=G.return}}function HL($,Z,G){var X=arguments;typeof X[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()."),X=o5($);var N={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};KG($)?mB(Z,N):(N=w3($,Z,N,X),N!==null&&(l4(X,"dispatch()",$),C1(N,$,X),dB(N,Z,X)))}function uB($,Z,G){var X=arguments;typeof X[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()."),X=o5($),E7($,Z,G,X)&&l4(X,"setState()",$)}function E7($,Z,G,X){var N={lane:X,revertLane:0,gesture:null,action:G,hasEagerState:!1,eagerState:null,next:null};if(KG($))mB(Z,N);else{var B=$.alternate;if($.lanes===0&&(B===null||B.lanes===0)&&(B=Z.lastRenderedReducer,B!==null)){var W=x.H;x.H=v4;try{var w=Z.lastRenderedState,_=B(w,G);if(N.hasEagerState=!0,N.eagerState=_,z5(_,w))return yQ($,Z,N,0),K1===null&&fQ(),!1}catch(V){}finally{x.H=W}}if(G=w3($,Z,N,X),G!==null)return C1(G,$,X),dB(G,Z,X),!0}return!1}function NX($,Z,G,X){if(x.T===null&&s2===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."),X={lane:2,revertLane:xX(),gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null},KG($)){if(Z)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Z=w3($,G,X,2),Z!==null&&(l4(2,"setOptimistic()",$),C1(Z,$,2))}function KG($){var Z=$.alternate;return $===L0||Z!==null&&Z===L0}function mB($,Z){_9=NJ=!0;var G=$.pending;G===null?Z.next=Z:(Z.next=G.next,G.next=Z),$.pending=Z}function dB($,Z,G){if((G&4194048)!==0){var X=Z.lanes;X&=$.pendingLanes,G|=X,Z.lanes=G,E2($,G)}}function KX($){if($!==null&&typeof $!=="function"){var Z=String($);xW.has(Z)||(xW.add(Z),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function BX($,Z,G,X){var N=$.memoizedState,B=G(X,N);if($.mode&M5){H1(!0);try{B=G(X,N)}finally{H1(!1)}}B===void 0&&(Z=i(Z)||"Component",fW.has(Z)||(fW.add(Z),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z))),N=B===null||B===void 0?N:y0({},N,B),$.memoizedState=N,$.lanes===0&&($.updateQueue.baseState=N)}function pB($,Z,G,X,N,B,W){var w=$.stateNode;if(typeof w.shouldComponentUpdate==="function"){if(G=w.shouldComponentUpdate(X,B,W),$.mode&M5){H1(!0);try{G=w.shouldComponentUpdate(X,B,W)}finally{H1(!1)}}return G===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",i(Z)||"Component"),G}return Z.prototype&&Z.prototype.isPureReactComponent?!B7(G,X)||!B7(N,B):!0}function cB($,Z,G,X){var N=Z.state;typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps(G,X),typeof Z.UNSAFE_componentWillReceiveProps==="function"&&Z.UNSAFE_componentWillReceiveProps(G,X),Z.state!==N&&($=d($)||"Component",AW.has($)||(AW.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),qU.enqueueReplaceState(Z,Z.state,null))}function h2($,Z){var G=Z;if("ref"in Z){G={};for(var X in Z)X!=="ref"&&(G[X]=Z[X])}if($=$.defaultProps){G===Z&&(G=y0({},G));for(var N in $)G[N]===void 0&&(G[N]=$[N])}return G}function lB($){yY($),console.warn(`%s
115
+ Incoming: %s`,x,"["+Z.join(", ")+"]","["+$.join(", ")+"]");for(var q=0;q<Z.length&&q<$.length;q++)if(!V8($[q],Z[q]))return!1;return!0}function hX($,Z,q,X,K,N){if(p$=N,T0=Z,L1=$!==null?$._debugHookTypes:null,l$=-1,RQ=$!==null&&$.type!==Z.type,Object.prototype.toString.call(q)==="[object AsyncFunction]"||Object.prototype.toString.call(q)==="[object AsyncGeneratorFunction]")N=d(T0),QU.has(N)||(QU.add(N),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.",N===null?"An unknown Component":"<"+N+">"));Z.memoizedState=null,Z.updateQueue=null,Z.lanes=0,h.H=$!==null&&$.memoizedState!==null?GU:L1!==null?OW:qU,t4=N=(Z.mode&H8)!==_0;var W=oY(q,X,K);if(t4=!1,_9&&(W=uX(Z,q,X,K)),N){M5(!0);try{W=uX(Z,q,X,K)}finally{M5(!1)}}return RN($,Z),W}function RN($,Z){Z._debugHookTypes=L1,Z.dependencies===null?c$!==null&&(Z.dependencies={lanes:0,firstContext:null,_debugThenableState:c$}):Z.dependencies._debugThenableState=c$,h.H=zQ;var q=K5!==null&&K5.next!==null;if(p$=0,L1=x=x5=K5=T0=null,l$=-1,$!==null&&($.flags&65011712)!==(Z.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),KJ=!1,WQ=0,c$=null,q)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");$===null||h5||($=$.dependencies,$!==null&&mq($)&&(h5=!0)),MQ?(MQ=!1,$=!0):$=!1,$&&(Z=d(Z)||"Unknown",CW.has(Z)||QU.has(Z)||(CW.add(Z),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 uX($,Z,q,X){T0=$;var K=0;do{if(_9&&(c$=null),WQ=0,_9=!1,K>=cw)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(K+=1,RQ=!1,x5=K5=null,$.updateQueue!=null){var N=$.updateQueue;N.lastEffect=null,N.events=null,N.stores=null,N.memoCache!=null&&(N.memoCache.index=0)}l$=-1,h.H=jW,N=oY(Z,q,X)}while(_9);return N}function YT(){var $=h.H,Z=$.useState()[0];return Z=typeof Z.then==="function"?TZ(Z):Z,$=$.useState()[0],(K5!==null?K5.memoizedState:null)!==$&&(T0.flags|=1024),Z}function mX(){var $=BJ!==0;return BJ=0,$}function dX($,Z,q){Z.updateQueue=$.updateQueue,Z.flags=(Z.mode&D1)!==_0?Z.flags&-402655237:Z.flags&-2053,$.lanes&=~q}function pX($){if(KJ){for($=$.memoizedState;$!==null;){var Z=$.queue;Z!==null&&(Z.pending=null),$=$.next}KJ=!1}p$=0,L1=x5=K5=T0=null,l$=-1,x=null,_9=!1,WQ=BJ=0,c$=null}function W8(){var $={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return x5===null?T0.memoizedState=x5=$:x5=x5.next=$,x5}function G5(){if(K5===null){var $=T0.alternate;$=$!==null?$.memoizedState:null}else $=K5.next;var Z=x5===null?T0.memoizedState:x5.next;if(Z!==null)x5=Z,K5=$;else{if($===null){if(T0.alternate===null)throw Error("Update hook called on initial render. This is likely a bug in React. Please file an issue.");throw Error("Rendered more hooks than during the previous render.")}K5=$,$={memoizedState:K5.memoizedState,baseState:K5.baseState,baseQueue:K5.baseQueue,queue:K5.queue,next:null},x5===null?T0.memoizedState=x5=$:x5=x5.next=$}return x5}function $G(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function TZ($){var Z=WQ;return WQ+=1,c$===null&&(c$=QN()),$=GN(c$,$,Z),Z=T0,(x5===null?Z.memoizedState:x5.next)===null&&(Z=Z.alternate,h.H=Z!==null&&Z.memoizedState!==null?GU:qU),$}function w6($){if($!==null&&typeof $==="object"){if(typeof $.then==="function")return TZ($);if($.$$typeof===J$)return _5($)}throw Error("An unsupported type was passed to use(): "+String($))}function f4($){var Z=null,q=T0.updateQueue;if(q!==null&&(Z=q.memoCache),Z==null){var X=T0.alternate;X!==null&&(X=X.updateQueue,X!==null&&(X=X.memoCache,X!=null&&(Z={data:X.data.map(function(K){return K.slice()}),index:0})))}if(Z==null&&(Z={data:[],index:0}),q===null&&(q=$G(),T0.updateQueue=q),q.memoCache=Z,q=Z.data[Z.index],q===void 0||RQ)for(q=Z.data[Z.index]=Array($),X=0;X<$;X++)q[X]=EE;else q.length!==$&&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.",q.length,$);return Z.index++,q}function I1($,Z){return typeof Z==="function"?Z($):Z}function cX($,Z,q){var X=W8();if(q!==void 0){var K=q(Z);if(t4){M5(!0);try{q(Z)}finally{M5(!1)}}}else K=Z;return X.memoizedState=X.baseState=K,$={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$,lastRenderedState:K},X.queue=$,$=$.dispatch=MT.bind(null,T0,$),[X.memoizedState,$]}function g7($){var Z=G5();return lX(Z,K5,$)}function lX($,Z,q){var X=$.queue;if(X===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");X.lastRenderedReducer=q;var K=$.baseQueue,N=X.pending;if(N!==null){if(K!==null){var W=K.next;K.next=N.next,N.next=W}Z.baseQueue!==K&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),Z.baseQueue=K=N,X.pending=null}if(N=$.baseState,K===null)$.memoizedState=N;else{Z=K.next;var R=W=null,_=null,E=Z,k=!1;do{var b=E.lane&-536870913;if(b!==E.lane?(S0&b)===b:(p$&b)===b){var j=E.revertLane;if(j===0)_!==null&&(_=_.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),b===s4&&(k=!0);else if((p$&j)===j){E=E.next,j===s4&&(k=!0);continue}else b={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},_===null?(R=_=b,W=N):_=_.next=b,T0.lanes|=j,c6|=j;b=E.action,t4&&q(N,b),N=E.hasEagerState?E.eagerState:q(N,b)}else j={lane:b,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},_===null?(R=_=j,W=N):_=_.next=j,T0.lanes|=b,c6|=b;E=E.next}while(E!==null&&E!==Z);if(_===null?W=N:_.next=R,!V8(N,$.memoizedState)&&(h5=!0,k&&(q=F9,q!==null)))throw q;$.memoizedState=N,$.baseState=W,$.baseQueue=_,X.lastRenderedState=N}return K===null&&(X.lanes=0),[$.memoizedState,X.dispatch]}function EZ($){var Z=G5(),q=Z.queue;if(q===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");q.lastRenderedReducer=$;var{dispatch:X,pending:K}=q,N=Z.memoizedState;if(K!==null){q.pending=null;var W=K=K.next;do N=$(N,W.action),W=W.next;while(W!==K);V8(N,Z.memoizedState)||(h5=!0),Z.memoizedState=N,Z.baseQueue===null&&(Z.baseState=N),q.lastRenderedState=N}return[N,X]}function rX($,Z,q){var X=T0,K=W8();if(p0){if(q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var N=q();V9||N===q()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),V9=!0)}else{if(N=Z(),V9||(q=Z(),V8(N,q)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),V9=!0)),B5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(S0&127)!==0||zN(X,Z,N)}return K.memoizedState=N,q={value:N,getSnapshot:Z},K.queue=q,GG(VN.bind(null,X,q,$),[$]),X.flags|=2048,h7(z1|E8,{destroy:void 0},LN.bind(null,X,q,N,Z),null),N}function ZG($,Z,q){var X=T0,K=G5(),N=p0;if(N){if(q===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");q=q()}else if(q=Z(),!V9){var W=Z();V8(q,W)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),V9=!0)}if(W=!V8((K5||K).memoizedState,q))K.memoizedState=q,h5=!0;K=K.queue;var R=VN.bind(null,X,K,$);if(O8(2048,E8,R,[$]),K.getSnapshot!==Z||W||x5!==null&&x5.memoizedState.tag&z1){if(X.flags|=2048,h7(z1|E8,{destroy:void 0},LN.bind(null,X,K,q,Z),null),B5===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");N||(p$&127)!==0||zN(X,Z,q)}return q}function zN($,Z,q){$.flags|=16384,$={getSnapshot:Z,value:q},Z=T0.updateQueue,Z===null?(Z=$G(),T0.updateQueue=Z,Z.stores=[$]):(q=Z.stores,q===null?Z.stores=[$]:q.push($))}function LN($,Z,q,X){Z.value=q,Z.getSnapshot=X,_N(Z)&&TN($)}function VN($,Z,q){return q(function(){_N(Z)&&(l1(2,"updateSyncExternalStore()",$),TN($))})}function _N($){var Z=$.getSnapshot;$=$.value;try{var q=Z();return!V8($,q)}catch(X){return!0}}function TN($){var Z=N8($,2);Z!==null&&C5(Z,$,2)}function sX($){var Z=W8();if(typeof $==="function"){var q=$;if($=q(),t4){M5(!0);try{q()}finally{M5(!1)}}}return Z.memoizedState=Z.baseState=$,Z.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:I1,lastRenderedState:$},Z}function nX($){$=sX($);var Z=$.queue,q=uN.bind(null,T0,Z);return Z.dispatch=q,[$.memoizedState,q]}function oX($){var Z=W8();Z.memoizedState=Z.baseState=$;var q={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return Z.queue=q,Z=K3.bind(null,T0,!0,q),q.dispatch=Z,[$,Z]}function EN($,Z){var q=G5();return wN(q,K5,$,Z)}function wN($,Z,q,X){return $.baseState=q,lX($,K5,typeof X==="function"?X:I1)}function PN($,Z){var q=G5();if(K5!==null)return wN(q,K5,$,Z);return q.baseState=$,[$,q.queue.dispatch]}function UT($,Z,q,X,K){if(BG($))throw Error("Cannot update form state while rendering.");if($=Z.action,$!==null){var N={payload:K,action:$,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(W){N.listeners.push(W)}};h.T!==null?q(!0):N.isTransition=!1,X(N),q=Z.pending,q===null?(N.next=Z.pending=N,CN(Z,N)):(N.next=q.next,Z.pending=q.next=N)}}function CN($,Z){var{action:q,payload:X}=Z,K=$.state;if(Z.isTransition){var N=h.T,W={};W._updatedFibers=new Set,h.T=W;try{var R=q(K,X),_=h.S;_!==null&&_(W,R),IN($,Z,R)}catch(E){iX($,Z,E)}finally{N!==null&&W.types!==null&&(N.types!==null&&N.types!==W.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."),N.types=W.types),h.T=N,N===null&&W._updatedFibers&&($=W._updatedFibers.size,W._updatedFibers.clear(),10<$&&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{W=q(K,X),IN($,Z,W)}catch(E){iX($,Z,E)}}function IN($,Z,q){q!==null&&typeof q==="object"&&typeof q.then==="function"?(h.asyncTransitions++,q.then(KG,KG),q.then(function(X){ON($,Z,X)},function(X){return iX($,Z,X)}),Z.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.")):ON($,Z,q)}function ON($,Z,q){Z.status="fulfilled",Z.value=q,jN(Z),$.state=q,Z=$.pending,Z!==null&&(q=Z.next,q===Z?$.pending=null:(q=q.next,Z.next=q,CN($,q)))}function iX($,Z,q){var X=$.pending;if($.pending=null,X!==null){X=X.next;do Z.status="rejected",Z.reason=q,jN(Z),Z=Z.next;while(Z!==X)}$.action=null}function jN($){$=$.listeners;for(var Z=0;Z<$.length;Z++)(0,$[Z])()}function AN($,Z){return Z}function x7($,Z){if(p0){var q=B5.formState;if(q!==null){$:{var X=T0;if(p0){if(z5){Z:{var K=z5;for(var N=F1;K.nodeType!==8;){if(!N){K=null;break Z}if(K=i8(K.nextSibling),K===null){K=null;break Z}}N=K.data,K=N===OU||N===HR?K:null}if(K){z5=i8(K.nextSibling),X=K.data===OU;break $}}R6(X)}X=!1}X&&(Z=q[0])}}return q=W8(),q.memoizedState=q.baseState=Z,X={pending:null,lanes:0,dispatch:null,lastRenderedReducer:AN,lastRenderedState:Z},q.queue=X,q=uN.bind(null,T0,X),X.dispatch=q,X=sX(!1),N=K3.bind(null,T0,!1,X.queue),X=W8(),K={state:Z,dispatch:null,action:$,pending:null},X.queue=K,q=UT.bind(null,T0,K,N,q),K.dispatch=q,X.memoizedState=$,[Z,q,!1]}function QG($){var Z=G5();return DN(Z,K5,$)}function DN($,Z,q){if(Z=lX($,Z,AN)[0],$=g7(I1)[0],typeof Z==="object"&&Z!==null&&typeof Z.then==="function")try{var X=TZ(Z)}catch(W){if(W===W9)throw JJ;throw W}else X=Z;Z=G5();var K=Z.queue,N=K.dispatch;return q!==Z.memoizedState&&(T0.flags|=2048,h7(z1|E8,{destroy:void 0},KT.bind(null,K,q),null)),[X,N,$]}function KT($,Z){$.action=Z}function qG($){var Z=G5(),q=K5;if(q!==null)return DN(Z,q,$);G5(),Z=Z.memoizedState,q=G5();var X=q.queue.dispatch;return q.memoizedState=$,[Z,X,!1]}function h7($,Z,q,X){return $={tag:$,create:q,deps:X,inst:Z,next:null},Z=T0.updateQueue,Z===null&&(Z=$G(),T0.updateQueue=Z),q=Z.lastEffect,q===null?Z.lastEffect=$.next=$:(X=q.next,q.next=$,$.next=X,Z.lastEffect=$),$}function aX($){var Z=W8();return $={current:$},Z.memoizedState=$}function y4($,Z,q,X){var K=W8();T0.flags|=$,K.memoizedState=h7(z1|Z,{destroy:void 0},q,X===void 0?null:X)}function O8($,Z,q,X){var K=G5();X=X===void 0?null:X;var N=K.memoizedState.inst;K5!==null&&X!==null&&xX(X,K5.memoizedState.deps)?K.memoizedState=h7(Z,N,q,X):(T0.flags|=$,K.memoizedState=h7(z1|Z,N,q,X))}function GG($,Z){(T0.mode&D1)!==_0?y4(276826112,E8,$,Z):y4(8390656,E8,$,Z)}function BT($){T0.flags|=4;var Z=T0.updateQueue;if(Z===null)Z=$G(),T0.updateQueue=Z,Z.events=[$];else{var q=Z.events;q===null?Z.events=[$]:q.push($)}}function tX($){var Z=W8(),q={impl:$};return Z.memoizedState=q,function(){if((o0&r5)!==t5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return q.impl.apply(void 0,arguments)}}function JG($){var Z=G5().memoizedState;return BT({ref:Z,nextImpl:$}),function(){if((o0&r5)!==t5)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return Z.impl.apply(void 0,arguments)}}function eX($,Z){var q=4194308;return(T0.mode&D1)!==_0&&(q|=134217728),y4(q,Q1,$,Z)}function SN($,Z){if(typeof Z==="function"){$=$();var q=Z($);return function(){typeof q==="function"?q():Z(null)}}if(Z!==null&&Z!==void 0)return Z.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(Z).join(", ")+"}"),$=$(),Z.current=$,function(){Z.current=null}}function $3($,Z,q){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),q=q!==null&&q!==void 0?q.concat([$]):null;var X=4194308;(T0.mode&D1)!==_0&&(X|=134217728),y4(X,Q1,SN.bind(null,Z,$),q)}function XG($,Z,q){typeof Z!=="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",Z!==null?typeof Z:"null"),q=q!==null&&q!==void 0?q.concat([$]):null,O8(4,Q1,SN.bind(null,Z,$),q)}function Z3($,Z){return W8().memoizedState=[$,Z===void 0?null:Z],$}function YG($,Z){var q=G5();Z=Z===void 0?null:Z;var X=q.memoizedState;if(Z!==null&&xX(Z,X[1]))return X[0];return q.memoizedState=[$,Z],$}function Q3($,Z){var q=W8();Z=Z===void 0?null:Z;var X=$();if(t4){M5(!0);try{$()}finally{M5(!1)}}return q.memoizedState=[X,Z],X}function UG($,Z){var q=G5();Z=Z===void 0?null:Z;var X=q.memoizedState;if(Z!==null&&xX(Z,X[1]))return X[0];if(X=$(),t4){M5(!0);try{$()}finally{M5(!1)}}return q.memoizedState=[X,Z],X}function q3($,Z){var q=W8();return G3(q,$,Z)}function vN($,Z){var q=G5();return bN(q,K5.memoizedState,$,Z)}function kN($,Z){var q=G5();return K5===null?G3(q,$,Z):bN(q,K5.memoizedState,$,Z)}function G3($,Z,q){if(q===void 0||(p$&1073741824)!==0&&(S0&261930)===0)return $.memoizedState=Z;return $.memoizedState=q,$=fM(),T0.lanes|=$,c6|=$,q}function bN($,Z,q,X){if(V8(q,Z))return q;if(z9.current!==null)return $=G3($,q,X),V8($,Z)||(h5=!0),$;if((p$&42)===0||(p$&1073741824)!==0&&(S0&261930)===0)return h5=!0,$.memoizedState=q;return $=fM(),T0.lanes|=$,c6|=$,Z}function KG(){h.asyncTransitions--}function fN($,Z,q,X,K){var N=Z5.p;Z5.p=N!==0&&N<A1?N:A1;var W=h.T,R={};R._updatedFibers=new Set,h.T=R,K3($,!1,Z,q);try{var _=K(),E=h.S;if(E!==null&&E(R,_),_!==null&&typeof _==="object"&&typeof _.then==="function"){h.asyncTransitions++,_.then(KG,KG);var k=JT(_,X);wZ($,Z,k,o8($))}else wZ($,Z,X,o8($))}catch(b){wZ($,Z,{then:function(){},status:"rejected",reason:b},o8($))}finally{Z5.p=N,W!==null&&R.types!==null&&(W.types!==null&&W.types!==R.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."),W.types=R.types),h.T=W,W===null&&R._updatedFibers&&($=R._updatedFibers.size,R._updatedFibers.clear(),10<$&&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 J3($,Z,q,X){if($.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var K=yN($).queue;qT($),fN($,K,Z,K7,q===null?z:function(){return gN($),q(X)})}function yN($){var Z=$.memoizedState;if(Z!==null)return Z;Z={memoizedState:K7,baseState:K7,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I1,lastRenderedState:K7},next:null};var q={};return Z.next={memoizedState:q,baseState:q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:I1,lastRenderedState:q},next:null},$.memoizedState=Z,$=$.alternate,$!==null&&($.memoizedState=Z),Z}function gN($){h.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var Z=yN($);Z.next===null&&(Z=$.alternate.memoizedState),wZ($,Z.next.queue,{},o8($))}function X3(){var $=sX(!1);return $=fN.bind(null,T0,$.queue,!0,!1),W8().memoizedState=$,[!1,$]}function xN(){var $=g7(I1)[0],Z=G5().memoizedState;return[typeof $==="boolean"?$:TZ($),Z]}function hN(){var $=EZ(I1)[0],Z=G5().memoizedState;return[typeof $==="boolean"?$:TZ($),Z]}function g4(){return _5(vQ)}function Y3(){var $=W8(),Z=B5.identifierPrefix;if(p0){var q=x$,X=g$;q=(X&~(1<<32-R8(X)-1)).toString(32)+q,Z="_"+Z+"R_"+q,q=BJ++,0<q&&(Z+="H"+q.toString(32)),Z+="_"}else q=pw++,Z="_"+Z+"r_"+q.toString(32)+"_";return $.memoizedState=Z}function U3(){return W8().memoizedState=NT.bind(null,T0)}function NT($,Z){for(var q=$.return;q!==null;){switch(q.tag){case 24:case 3:var X=o8(q),K=V6(X),N=_6(q,K,X);N!==null&&(l1(X,"refresh()",$),C5(N,q,X),LZ(N,q,X)),$=jX(),Z!==null&&Z!==void 0&&N!==null&&console.error("The seed argument is not enabled outside experimental channels."),K.payload={cache:$};return}q=q.return}}function MT($,Z,q){var X=arguments;typeof X[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()."),X=o8($);var K={lane:X,revertLane:0,gesture:null,action:q,hasEagerState:!1,eagerState:null,next:null};BG($)?mN(Z,K):(K=RX($,Z,K,X),K!==null&&(l1(X,"dispatch()",$),C5(K,$,X),dN(K,Z,X)))}function uN($,Z,q){var X=arguments;typeof X[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()."),X=o8($),wZ($,Z,q,X)&&l1(X,"setState()",$)}function wZ($,Z,q,X){var K={lane:X,revertLane:0,gesture:null,action:q,hasEagerState:!1,eagerState:null,next:null};if(BG($))mN(Z,K);else{var N=$.alternate;if($.lanes===0&&(N===null||N.lanes===0)&&(N=Z.lastRenderedReducer,N!==null)){var W=h.H;h.H=v1;try{var R=Z.lastRenderedState,_=N(R,q);if(K.hasEagerState=!0,K.eagerState=_,V8(_,R))return yq($,Z,K,0),B5===null&&fq(),!1}catch(E){}finally{h.H=W}}if(q=RX($,Z,K,X),q!==null)return C5(q,$,X),dN(q,Z,X),!0}return!1}function K3($,Z,q,X){if(h.T===null&&s4===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."),X={lane:2,revertLane:h3(),gesture:null,action:X,hasEagerState:!1,eagerState:null,next:null},BG($)){if(Z)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else Z=RX($,q,X,2),Z!==null&&(l1(2,"setOptimistic()",$),C5(Z,$,2))}function BG($){var Z=$.alternate;return $===T0||Z!==null&&Z===T0}function mN($,Z){_9=KJ=!0;var q=$.pending;q===null?Z.next=Z:(Z.next=q.next,q.next=Z),$.pending=Z}function dN($,Z,q){if((q&4194048)!==0){var X=Z.lanes;X&=$.pendingLanes,q|=X,Z.lanes=q,w4($,q)}}function B3($){if($!==null&&typeof $!=="function"){var Z=String($);hW.has(Z)||(hW.add(Z),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",$))}}function N3($,Z,q,X){var K=$.memoizedState,N=q(X,K);if($.mode&H8){M5(!0);try{N=q(X,K)}finally{M5(!1)}}N===void 0&&(Z=a(Z)||"Component",fW.has(Z)||(fW.add(Z),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",Z))),K=N===null||N===void 0?K:y0({},K,N),$.memoizedState=K,$.lanes===0&&($.updateQueue.baseState=K)}function pN($,Z,q,X,K,N,W){var R=$.stateNode;if(typeof R.shouldComponentUpdate==="function"){if(q=R.shouldComponentUpdate(X,N,W),$.mode&H8){M5(!0);try{q=R.shouldComponentUpdate(X,N,W)}finally{M5(!1)}}return q===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",a(Z)||"Component"),q}return Z.prototype&&Z.prototype.isPureReactComponent?!NZ(q,X)||!NZ(K,N):!0}function cN($,Z,q,X){var K=Z.state;typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps(q,X),typeof Z.UNSAFE_componentWillReceiveProps==="function"&&Z.UNSAFE_componentWillReceiveProps(q,X),Z.state!==K&&($=d($)||"Component",DW.has($)||(DW.add($),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$)),JU.enqueueReplaceState(Z,Z.state,null))}function x4($,Z){var q=Z;if("ref"in Z){q={};for(var X in Z)X!=="ref"&&(q[X]=Z[X])}if($=$.defaultProps){q===Z&&(q=y0({},q));for(var K in $)q[K]===void 0&&(q[K]=$[K])}return q}function lN($){yY($),console.warn(`%s
116
116
 
117
117
  %s
118
- `,L9?"An error occurred in the <"+L9+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
119
- Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function rB($){var Z=L9?"The above error occurred in the <"+L9+"> component.":"The above error occurred in one of your React components.",G="React will try to recreate this component tree from scratch using the error boundary you provided, "+((XU||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var X=$.environmentName;$=[`%o
118
+ `,T9?"An error occurred in the <"+T9+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
119
+ Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function rN($){var Z=T9?"The above error occurred in the <"+T9+"> component.":"The above error occurred in one of your React components.",q="React will try to recreate this component tree from scratch using the error boundary you provided, "+((XU||"Anonymous")+".");if(typeof $==="object"&&$!==null&&typeof $.environmentName==="string"){var X=$.environmentName;$=[`%o
120
120
 
121
121
  %s
122
122
 
123
123
  %s
124
- `,$,Z,G].slice(0),typeof $[0]==="string"?$.splice(0,1,Lw+" "+$[0],Vw,fJ+X+fJ,Ew):$.splice(0,0,Lw,Vw,fJ+X+fJ,Ew),$.unshift(console),X=KP.apply(console.error,$),X()}else console.error(`%o
124
+ `,$,Z,q].slice(0),typeof $[0]==="string"?$.splice(0,1,TR+" "+$[0],ER,fJ+X+fJ,wR):$.splice(0,0,TR,ER,fJ+X+fJ,wR),$.unshift(console),X=BP.apply(console.error,$),X()}else console.error(`%o
125
125
 
126
126
  %s
127
127
 
128
128
  %s
129
- `,$,Z,G)}function sB($){yY($)}function BG($,Z){try{L9=Z.source?d(Z.source):null,XU=null;var G=Z.value;if(x.actQueue!==null)x.thrownErrors.push(G);else{var X=$.onUncaughtError;X(G,{componentStack:Z.stack})}}catch(N){setTimeout(function(){throw N})}}function nB($,Z,G){try{L9=G.source?d(G.source):null,XU=d(Z);var X=$.onCaughtError;X(G.value,{componentStack:G.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch(N){setTimeout(function(){throw N})}}function HX($,Z,G){return G=z6(G),G.tag=eY,G.payload={element:null},G.callback=function(){G0(Z.source,BG,$,Z)},G}function MX($){return $=z6($),$.tag=eY,$}function FX($,Z,G,X){var N=G.type.getDerivedStateFromError;if(typeof N==="function"){var B=X.value;$.payload=function(){return N(B)},$.callback=function(){mK(G),G0(X.source,nB,Z,G,X)}}var W=G.stateNode;W!==null&&typeof W.componentDidCatch==="function"&&($.callback=function(){mK(G),G0(X.source,nB,Z,G,X),typeof N!=="function"&&(r6===null?r6=new Set([this]):r6.add(this)),xE(this,X),typeof N==="function"||(G.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.",d(G)||"Unknown")})}function ML($,Z,G,X,N){if(G.flags|=32768,U8&&S7($,N),X!==null&&typeof X==="object"&&typeof X.then==="function"){if(Z=G.alternate,Z!==null&&f$(Z,G,N,!0),p0&&(B8=!0),G=Z4.current,G!==null){switch(G.tag){case 31:case 13:return w4===null?_G():G.alternate===null&&E1===s8&&(E1=MJ),G.flags&=-257,G.flags|=65536,G.lanes=N,X===XJ?G.flags|=16384:(Z=G.updateQueue,Z===null?G.updateQueue=new Set([X]):Z.add(X),fX($,X,N)),!1;case 22:return G.flags|=65536,X===XJ?G.flags|=16384:(Z=G.updateQueue,Z===null?(Z={transitions:null,markerInstances:null,retryQueue:new Set([X])},G.updateQueue=Z):(G=Z.retryQueue,G===null?Z.retryQueue=new Set([X]):G.add(X)),fX($,X,N)),!1}throw Error("Unexpected Suspense handler tag ("+G.tag+"). This is a bug in React.")}return fX($,X,N),_G(),!1}if(p0)return B8=!0,Z=Z4.current,Z!==null?((Z.flags&65536)===0&&(Z.flags|=256),Z.flags|=65536,Z.lanes=N,X!==dY&&M7(l5(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:X}),G))):(X!==dY&&M7(l5(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:X}),G)),$=$.current.alternate,$.flags|=65536,N&=-N,$.lanes|=N,X=l5(X,G),N=HX($.stateNode,X,N),iQ($,N),E1!==d6&&(E1=e2)),!1;var B=l5(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:X}),G);if(EZ===null?EZ=[B]:EZ.push(B),E1!==d6&&(E1=e2),Z===null)return!0;X=l5(X,G),G=Z;do{switch(G.tag){case 3:return G.flags|=65536,$=N&-N,G.lanes|=$,$=HX(G.stateNode,X,$),iQ(G,$),!1;case 1:if(Z=G.type,B=G.stateNode,(G.flags&128)===0&&(typeof Z.getDerivedStateFromError==="function"||B!==null&&typeof B.componentDidCatch==="function"&&(r6===null||!r6.has(B))))return G.flags|=65536,N&=-N,G.lanes|=N,N=MX(N),FX(N,$,G,X),iQ(G,N),!1}G=G.return}while(G!==null);return!1}function Z5($,Z,G,X){Z.child=$===null?zW(Z,null,G,X):i2(Z,$.child,G,X)}function oB($,Z,G,X,N){G=G.render;var B=Z.ref;if("ref"in X){var W={};for(var w in X)w!=="ref"&&(W[w]=X[w])}else W=X;if(k2(Z),X=x3($,Z,G,W,B,N),w=m3(),$!==null&&!x1)return d3($,Z,N),S8($,Z,N);return p0&&w&&V3(Z),Z.flags|=1,Z5($,Z,X,N),Z.child}function aB($,Z,G,X,N){if($===null){var B=G.type;if(typeof B==="function"&&!T3(B)&&B.defaultProps===void 0&&G.compare===null)return G=j2(B),Z.tag=15,Z.type=G,wX(Z,B),iB($,Z,G,X,N);return $=z3(G.type,null,X,Z,Z.mode,N),$.ref=Z.ref,$.return=Z,Z.child=$}if(B=$.child,!VX($,N)){var W=B.memoizedProps;if(G=G.compare,G=G!==null?G:B7,G(W,X)&&$.ref===Z.ref)return S8($,Z,N)}return Z.flags|=1,$=O8(B,X),$.ref=Z.ref,$.return=Z,Z.child=$}function iB($,Z,G,X,N){if($!==null){var B=$.memoizedProps;if(B7(B,X)&&$.ref===Z.ref&&Z.type===$.type)if(x1=!1,Z.pendingProps=X=B,VX($,N))($.flags&131072)!==0&&(x1=!0);else return Z.lanes=$.lanes,S8($,Z,N)}return WX($,Z,G,X,N)}function tB($,Z,G,X){var N=X.children,B=$!==null?$.memoizedState:null;if($===null&&Z.stateNode===null&&(Z.stateNode={_visibility:t7,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.mode==="hidden"){if((Z.flags&128)!==0){if(B=B!==null?B.baseLanes|G:G,$!==null){X=Z.child=$.child;for(N=0;X!==null;)N=N|X.lanes|X.childLanes,X=X.sibling;X=N&~B}else X=0,Z.child=null;return eB($,Z,B,G,X)}if((G&536870912)!==0)Z.memoizedState={baseLanes:0,cachePool:null},$!==null&&lQ(Z,B!==null?B.cachePool:null),B!==null?FB(Z,B):f3(Z),WB(Z);else return X=Z.lanes=536870912,eB($,Z,B!==null?B.baseLanes|G:G,G,X)}else B!==null?(lQ(Z,B.cachePool),FB(Z,B),V6(Z),Z.memoizedState=null):($!==null&&lQ(Z,null),f3(Z),V6(Z));return Z5($,Z,N,G),Z.child}function P7($,Z){return $!==null&&$.tag===22||Z.stateNode!==null||(Z.stateNode={_visibility:t7,_pendingMarkers:null,_retryCache:null,_transitions:null}),Z.sibling}function eB($,Z,G,X,N){var B=S3();return B=B===null?null:{parent:y1._currentValue,pool:B},Z.memoizedState={baseLanes:G,cachePool:B},$!==null&&lQ(Z,null),f3(Z),WB(Z),$!==null&&f$($,Z,X,!0),Z.childLanes=N,null}function HG($,Z){var G=Z.hidden;return G!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
129
+ `,$,Z,q)}function sN($){yY($)}function NG($,Z){try{T9=Z.source?d(Z.source):null,XU=null;var q=Z.value;if(h.actQueue!==null)h.thrownErrors.push(q);else{var X=$.onUncaughtError;X(q,{componentStack:Z.stack})}}catch(K){setTimeout(function(){throw K})}}function nN($,Z,q){try{T9=q.source?d(q.source):null,XU=d(Z);var X=$.onCaughtError;X(q.value,{componentStack:q.stack,errorBoundary:Z.tag===1?Z.stateNode:null})}catch(K){setTimeout(function(){throw K})}}function M3($,Z,q){return q=V6(q),q.tag=eY,q.payload={element:null},q.callback=function(){q0(Z.source,NG,$,Z)},q}function H3($){return $=V6($),$.tag=eY,$}function F3($,Z,q,X){var K=q.type.getDerivedStateFromError;if(typeof K==="function"){var N=X.value;$.payload=function(){return K(N)},$.callback=function(){mB(q),q0(X.source,nN,Z,q,X)}}var W=q.stateNode;W!==null&&typeof W.componentDidCatch==="function"&&($.callback=function(){mB(q),q0(X.source,nN,Z,q,X),typeof K!=="function"&&(r6===null?r6=new Set([this]):r6.add(this)),hw(this,X),typeof K==="function"||(q.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.",d(q)||"Unknown")})}function HT($,Z,q,X,K){if(q.flags|=32768,U$&&SZ($,K),X!==null&&typeof X==="object"&&typeof X.then==="function"){if(Z=q.alternate,Z!==null&&f7(Z,q,K,!0),p0&&(N$=!0),q=Z1.current,q!==null){switch(q.tag){case 31:case 13:return R1===null?_G():q.alternate===null&&w5===s$&&(w5=HJ),q.flags&=-257,q.flags|=65536,q.lanes=K,X===XJ?q.flags|=16384:(Z=q.updateQueue,Z===null?q.updateQueue=new Set([X]):Z.add(X),f3($,X,K)),!1;case 22:return q.flags|=65536,X===XJ?q.flags|=16384:(Z=q.updateQueue,Z===null?(Z={transitions:null,markerInstances:null,retryQueue:new Set([X])},q.updateQueue=Z):(q=Z.retryQueue,q===null?Z.retryQueue=new Set([X]):q.add(X)),f3($,X,K)),!1}throw Error("Unexpected Suspense handler tag ("+q.tag+"). This is a bug in React.")}return f3($,X,K),_G(),!1}if(p0)return N$=!0,Z=Z1.current,Z!==null?((Z.flags&65536)===0&&(Z.flags|=256),Z.flags|=65536,Z.lanes=K,X!==dY&&HZ(l8(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:X}),q))):(X!==dY&&HZ(l8(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:X}),q)),$=$.current.alternate,$.flags|=65536,K&=-K,$.lanes|=K,X=l8(X,q),K=M3($.stateNode,X,K),aq($,K),w5!==d6&&(w5=e4)),!1;var N=l8(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:X}),q);if(wQ===null?wQ=[N]:wQ.push(N),w5!==d6&&(w5=e4),Z===null)return!0;X=l8(X,q),q=Z;do{switch(q.tag){case 3:return q.flags|=65536,$=K&-K,q.lanes|=$,$=M3(q.stateNode,X,$),aq(q,$),!1;case 1:if(Z=q.type,N=q.stateNode,(q.flags&128)===0&&(typeof Z.getDerivedStateFromError==="function"||N!==null&&typeof N.componentDidCatch==="function"&&(r6===null||!r6.has(N))))return q.flags|=65536,K&=-K,q.lanes|=K,K=H3(K),F3(K,$,q,X),aq(q,K),!1}q=q.return}while(q!==null);return!1}function Z8($,Z,q,X){Z.child=$===null?VW(Z,null,q,X):a4(Z,$.child,q,X)}function oN($,Z,q,X,K){q=q.render;var N=Z.ref;if("ref"in X){var W={};for(var R in X)R!=="ref"&&(W[R]=X[R])}else W=X;if(k4(Z),X=hX($,Z,q,W,N,K),R=mX(),$!==null&&!h5)return dX($,Z,K),S$($,Z,K);return p0&&R&&EX(Z),Z.flags|=1,Z8($,Z,X,K),Z.child}function iN($,Z,q,X,K){if($===null){var N=q.type;if(typeof N==="function"&&!LX(N)&&N.defaultProps===void 0&&q.compare===null)return q=A4(N),Z.tag=15,Z.type=q,R3(Z,N),aN($,Z,q,X,K);return $=VX(q.type,null,X,Z,Z.mode,K),$.ref=Z.ref,$.return=Z,Z.child=$}if(N=$.child,!E3($,K)){var W=N.memoizedProps;if(q=q.compare,q=q!==null?q:NZ,q(W,X)&&$.ref===Z.ref)return S$($,Z,K)}return Z.flags|=1,$=O$(N,X),$.ref=Z.ref,$.return=Z,Z.child=$}function aN($,Z,q,X,K){if($!==null){var N=$.memoizedProps;if(NZ(N,X)&&$.ref===Z.ref&&Z.type===$.type)if(h5=!1,Z.pendingProps=X=N,E3($,K))($.flags&131072)!==0&&(h5=!0);else return Z.lanes=$.lanes,S$($,Z,K)}return W3($,Z,q,X,K)}function tN($,Z,q,X){var K=X.children,N=$!==null?$.memoizedState:null;if($===null&&Z.stateNode===null&&(Z.stateNode={_visibility:tZ,_pendingMarkers:null,_retryCache:null,_transitions:null}),X.mode==="hidden"){if((Z.flags&128)!==0){if(N=N!==null?N.baseLanes|q:q,$!==null){X=Z.child=$.child;for(K=0;X!==null;)K=K|X.lanes|X.childLanes,X=X.sibling;X=K&~N}else X=0,Z.child=null;return eN($,Z,N,q,X)}if((q&536870912)!==0)Z.memoizedState={baseLanes:0,cachePool:null},$!==null&&lq(Z,N!==null?N.cachePool:null),N!==null?FN(Z,N):fX(Z),WN(Z);else return X=Z.lanes=536870912,eN($,Z,N!==null?N.baseLanes|q:q,q,X)}else N!==null?(lq(Z,N.cachePool),FN(Z,N),E6(Z),Z.memoizedState=null):($!==null&&lq(Z,null),fX(Z),E6(Z));return Z8($,Z,K,q),Z.child}function PZ($,Z){return $!==null&&$.tag===22||Z.stateNode!==null||(Z.stateNode={_visibility:tZ,_pendingMarkers:null,_retryCache:null,_transitions:null}),Z.sibling}function eN($,Z,q,X,K){var N=SX();return N=N===null?null:{parent:y5._currentValue,pool:N},Z.memoizedState={baseLanes:q,cachePool:N},$!==null&&lq(Z,null),fX(Z),WN(Z),$!==null&&f7($,Z,X,!0),Z.childLanes=K,null}function MG($,Z){var q=Z.hidden;return q!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
130
130
  - <Activity %s>
131
- + <Activity %s>`,G===!0?"hidden":G===!1?"hidden={false}":"hidden={...}",G?'mode="hidden"':'mode="visible"'),Z=FG({mode:Z.mode,children:Z.children},$.mode),Z.ref=$.ref,$.child=Z,Z.return=$,Z}function $H($,Z,G){return i2(Z,$.child,null,G),$=HG(Z,Z.pendingProps),$.flags|=2,n5(Z),Z.memoizedState=null,$}function FL($,Z,G){var X=Z.pendingProps,N=(Z.flags&128)!==0;if(Z.flags&=-129,$===null){if(p0){if(X.mode==="hidden")return $=HG(Z,X),Z.lanes=536870912,P7(null,$);if(g3(Z),($=R1)?(G=CM($,F4),G=G!==null&&G.data===q$?G:null,G!==null&&(X={dehydrated:G,treeContext:rK(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=X,X=cK(G),X.return=Z,Z.child=X,J5=Z,R1=null)):G=null,G===null)throw xQ(Z,$),w6(Z);return Z.lanes=536870912,null}return HG(Z,X)}var B=$.memoizedState;if(B!==null){var W=B.dehydrated;if(g3(Z),N)if(Z.flags&256)Z.flags&=-257,Z=$H($,Z,G);else if(Z.memoizedState!==null)Z.child=$.child,Z.flags|=128,Z=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(nK(),(G&536870912)!==0&&zG(Z),x1||f$($,Z,G,!1),N=(G&$.childLanes)!==0,x1||N){if(X=K1,X!==null&&(W=P2(X,G),W!==0&&W!==B.retryLane))throw B.retryLane=W,B5($,W),C1(X,$,W),YU;_G(),Z=$H($,Z,G)}else $=B.treeContext,R1=a5(W.nextSibling),J5=Z,p0=!0,f6=null,B8=!1,$4=null,F4=!1,$!==null&&sK(Z,$),Z=HG(Z,X),Z.flags|=4096;return Z}return B=$.child,X={mode:X.mode,children:X.children},(G&536870912)!==0&&(G&$.lanes)!==0&&zG(Z),$=O8(B,X),$.ref=Z.ref,Z.child=$,$.return=Z,$}function MG($,Z){var G=Z.ref;if(G===null)$!==null&&$.ref!==null&&(Z.flags|=4194816);else{if(typeof G!=="function"&&typeof G!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==G)Z.flags|=4194816}}function WX($,Z,G,X,N){if(G.prototype&&typeof G.prototype.render==="function"){var B=i(G)||"Unknown";uW[B]||(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.",B,B),uW[B]=!0)}if(Z.mode&M5&&S4.recordLegacyContextWarning(Z,null),$===null&&(wX(Z,Z.type),G.contextTypes&&(B=i(G)||"Unknown",dW[B]||(dW[B]=!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)",B)))),k2(Z),G=x3($,Z,G,X,void 0,N),X=m3(),$!==null&&!x1)return d3($,Z,N),S8($,Z,N);return p0&&X&&V3(Z),Z.flags|=1,Z5($,Z,G,N),Z.child}function ZH($,Z,G,X,N,B){if(k2(Z),l8=-1,wZ=$!==null&&$.type!==Z.type,Z.updateQueue=null,G=u3(Z,X,G,N),wB($,Z),X=m3(),$!==null&&!x1)return d3($,Z,B),S8($,Z,B);return p0&&X&&V3(Z),Z.flags|=1,Z5($,Z,G,B),Z.child}function QH($,Z,G,X,N){switch(H(Z)){case!1:var B=Z.stateNode,W=new Z.type(Z.memoizedProps,B.context).state;B.updater.enqueueSetState(B,W,null);break;case!0:Z.flags|=128,Z.flags|=65536,B=Error("Simulated error coming from DevTools");var w=N&-N;if(Z.lanes|=w,W=K1,W===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");w=MX(w),FX(w,W,Z,l5(B,Z)),iQ(Z,w)}if(k2(Z),Z.stateNode===null){if(W=b6,B=G.contextType,"contextType"in G&&B!==null&&(B===void 0||B.$$typeof!==q8)&&!hW.has(G)&&(hW.add(G),w=B===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 B!=="object"?" However, it is set to a "+typeof B+".":B.$$typeof===UY?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(B).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",i(G)||"Component",w)),typeof B==="object"&&B!==null&&(W=_1(B)),B=new G(X,W),Z.mode&M5){H1(!0);try{B=new G(X,W)}finally{H1(!1)}}if(W=Z.memoizedState=B.state!==null&&B.state!==void 0?B.state:null,B.updater=qU,Z.stateNode=B,B._reactInternals=Z,B._reactInternalInstance=jW,typeof G.getDerivedStateFromProps==="function"&&W===null&&(W=i(G)||"Component",SW.has(W)||(SW.add(W),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.",W,B.state===null?"null":"undefined",W))),typeof G.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"){var _=w=W=null;if(typeof B.componentWillMount==="function"&&B.componentWillMount.__suppressDeprecationWarning!==!0?W="componentWillMount":typeof B.UNSAFE_componentWillMount==="function"&&(W="UNSAFE_componentWillMount"),typeof B.componentWillReceiveProps==="function"&&B.componentWillReceiveProps.__suppressDeprecationWarning!==!0?w="componentWillReceiveProps":typeof B.UNSAFE_componentWillReceiveProps==="function"&&(w="UNSAFE_componentWillReceiveProps"),typeof B.componentWillUpdate==="function"&&B.componentWillUpdate.__suppressDeprecationWarning!==!0?_="componentWillUpdate":typeof B.UNSAFE_componentWillUpdate==="function"&&(_="UNSAFE_componentWillUpdate"),W!==null||w!==null||_!==null){B=i(G)||"Component";var V=typeof G.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kW.has(B)||(kW.add(B),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
131
+ + <Activity %s>`,q===!0?"hidden":q===!1?"hidden={false}":"hidden={...}",q?'mode="hidden"':'mode="visible"'),Z=FG({mode:Z.mode,children:Z.children},$.mode),Z.ref=$.ref,$.child=Z,Z.return=$,Z}function $M($,Z,q){return a4(Z,$.child,null,q),$=MG(Z,Z.pendingProps),$.flags|=2,n8(Z),Z.memoizedState=null,$}function FT($,Z,q){var X=Z.pendingProps,K=(Z.flags&128)!==0;if(Z.flags&=-129,$===null){if(p0){if(X.mode==="hidden")return $=MG(Z,X),Z.lanes=536870912,PZ(null,$);if(gX(Z),($=z5)?(q=CH($,F1),q=q!==null&&q.data===J7?q:null,q!==null&&(X={dehydrated:q,treeContext:rB(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=X,X=cB(q),X.return=Z,Z.child=X,G8=Z,z5=null)):q=null,q===null)throw hq(Z,$),R6(Z);return Z.lanes=536870912,null}return MG(Z,X)}var N=$.memoizedState;if(N!==null){var W=N.dehydrated;if(gX(Z),K)if(Z.flags&256)Z.flags&=-257,Z=$M($,Z,q);else if(Z.memoizedState!==null)Z.child=$.child,Z.flags|=128,Z=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(nB(),(q&536870912)!==0&&VG(Z),h5||f7($,Z,q,!1),K=(q&$.childLanes)!==0,h5||K){if(X=B5,X!==null&&(W=P4(X,q),W!==0&&W!==N.retryLane))throw N.retryLane=W,N8($,W),C5(X,$,W),YU;_G(),Z=$M($,Z,q)}else $=N.treeContext,z5=i8(W.nextSibling),G8=Z,p0=!0,f6=null,N$=!1,$1=null,F1=!1,$!==null&&sB(Z,$),Z=MG(Z,X),Z.flags|=4096;return Z}return N=$.child,X={mode:X.mode,children:X.children},(q&536870912)!==0&&(q&$.lanes)!==0&&VG(Z),$=O$(N,X),$.ref=Z.ref,Z.child=$,$.return=Z,$}function HG($,Z){var q=Z.ref;if(q===null)$!==null&&$.ref!==null&&(Z.flags|=4194816);else{if(typeof q!=="function"&&typeof q!=="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");if($===null||$.ref!==q)Z.flags|=4194816}}function W3($,Z,q,X,K){if(q.prototype&&typeof q.prototype.render==="function"){var N=a(q)||"Unknown";uW[N]||(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.",N,N),uW[N]=!0)}if(Z.mode&H8&&S1.recordLegacyContextWarning(Z,null),$===null&&(R3(Z,Z.type),q.contextTypes&&(N=a(q)||"Unknown",dW[N]||(dW[N]=!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)",N)))),k4(Z),q=hX($,Z,q,X,void 0,K),X=mX(),$!==null&&!h5)return dX($,Z,K),S$($,Z,K);return p0&&X&&EX(Z),Z.flags|=1,Z8($,Z,q,K),Z.child}function ZM($,Z,q,X,K,N){if(k4(Z),l$=-1,RQ=$!==null&&$.type!==Z.type,Z.updateQueue=null,q=uX(Z,X,q,K),RN($,Z),X=mX(),$!==null&&!h5)return dX($,Z,N),S$($,Z,N);return p0&&X&&EX(Z),Z.flags|=1,Z8($,Z,q,N),Z.child}function QM($,Z,q,X,K){switch(M(Z)){case!1:var N=Z.stateNode,W=new Z.type(Z.memoizedProps,N.context).state;N.updater.enqueueSetState(N,W,null);break;case!0:Z.flags|=128,Z.flags|=65536,N=Error("Simulated error coming from DevTools");var R=K&-K;if(Z.lanes|=R,W=B5,W===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");R=H3(R),F3(R,W,Z,l8(N,Z)),aq(Z,R)}if(k4(Z),Z.stateNode===null){if(W=b6,N=q.contextType,"contextType"in q&&N!==null&&(N===void 0||N.$$typeof!==J$)&&!xW.has(q)&&(xW.add(q),R=N===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 N!=="object"?" However, it is set to a "+typeof N+".":N.$$typeof===UY?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(N).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",a(q)||"Component",R)),typeof N==="object"&&N!==null&&(W=_5(N)),N=new q(X,W),Z.mode&H8){M5(!0);try{N=new q(X,W)}finally{M5(!1)}}if(W=Z.memoizedState=N.state!==null&&N.state!==void 0?N.state:null,N.updater=JU,Z.stateNode=N,N._reactInternals=Z,N._reactInternalInstance=AW,typeof q.getDerivedStateFromProps==="function"&&W===null&&(W=a(q)||"Component",SW.has(W)||(SW.add(W),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.",W,N.state===null?"null":"undefined",W))),typeof q.getDerivedStateFromProps==="function"||typeof N.getSnapshotBeforeUpdate==="function"){var _=R=W=null;if(typeof N.componentWillMount==="function"&&N.componentWillMount.__suppressDeprecationWarning!==!0?W="componentWillMount":typeof N.UNSAFE_componentWillMount==="function"&&(W="UNSAFE_componentWillMount"),typeof N.componentWillReceiveProps==="function"&&N.componentWillReceiveProps.__suppressDeprecationWarning!==!0?R="componentWillReceiveProps":typeof N.UNSAFE_componentWillReceiveProps==="function"&&(R="UNSAFE_componentWillReceiveProps"),typeof N.componentWillUpdate==="function"&&N.componentWillUpdate.__suppressDeprecationWarning!==!0?_="componentWillUpdate":typeof N.UNSAFE_componentWillUpdate==="function"&&(_="UNSAFE_componentWillUpdate"),W!==null||R!==null||_!==null){N=a(q)||"Component";var E=typeof q.getDerivedStateFromProps==="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";kW.has(N)||(kW.add(N),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
132
132
 
133
133
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
134
134
 
135
135
  The above lifecycles should be removed. Learn more about this warning here:
136
- https://react.dev/link/unsafe-component-lifecycles`,B,V,W!==null?`
137
- `+W:"",w!==null?`
138
- `+w:"",_!==null?`
139
- `+_:""))}}B=Z.stateNode,W=i(G)||"Component",B.render||(G.prototype&&typeof G.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",W):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",W)),!B.getInitialState||B.getInitialState.isReactClassApproved||B.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?",W),B.getDefaultProps&&!B.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.",W),B.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",W),G.childContextTypes&&!gW.has(G)&&(gW.add(G),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",W)),G.contextTypes&&!yW.has(G)&&(yW.add(G),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)",W)),typeof B.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.",W),G.prototype&&G.prototype.isPureReactComponent&&typeof B.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(G)||"A pure component"),typeof B.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",W),typeof B.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().",W),typeof B.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",W),typeof B.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",W),w=B.props!==X,B.props!==void 0&&w&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",W),B.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.",W,W),typeof B.getSnapshotBeforeUpdate!=="function"||typeof B.componentDidUpdate==="function"||vW.has(G)||(vW.add(G),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",i(G))),typeof B.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",W),typeof B.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",W),typeof G.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",W),(w=B.state)&&(typeof w!=="object"||c1(w))&&console.error("%s.state: must be set to an object or null",W),typeof B.getChildContext==="function"&&typeof G.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",W),B=Z.stateNode,B.props=X,B.state=Z.memoizedState,B.refs={},k3(Z),W=G.contextType,B.context=typeof W==="object"&&W!==null?_1(W):b6,B.state===X&&(W=i(G)||"Component",bW.has(W)||(bW.add(W),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.",W))),Z.mode&M5&&S4.recordLegacyContextWarning(Z,B),S4.recordUnsafeLifecycleWarnings(Z,B),B.state=Z.memoizedState,W=G.getDerivedStateFromProps,typeof W==="function"&&(BX(Z,G,W,X),B.state=Z.memoizedState),typeof G.getDerivedStateFromProps==="function"||typeof B.getSnapshotBeforeUpdate==="function"||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(W=B.state,typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount(),W!==B.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d(Z)||"Component"),qU.enqueueReplaceState(B,B.state,null)),_7(Z,X,B,N),z7(),B.state=Z.memoizedState),typeof B.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&A4)!==_0&&(Z.flags|=134217728),B=!0}else if($===null){B=Z.stateNode;var k=Z.memoizedProps;w=h2(G,k),B.props=w;var b=B.context;_=G.contextType,W=b6,typeof _==="object"&&_!==null&&(W=_1(_)),V=G.getDerivedStateFromProps,_=typeof V==="function"||typeof B.getSnapshotBeforeUpdate==="function",k=Z.pendingProps!==k,_||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(k||b!==W)&&cB(Z,B,X,W),m6=!1;var D=Z.memoizedState;B.state=D,_7(Z,X,B,N),z7(),b=Z.memoizedState,k||D!==b||m6?(typeof V==="function"&&(BX(Z,G,V,X),b=Z.memoizedState),(w=m6||pB(Z,G,w,X,D,b,W))?(_||typeof B.UNSAFE_componentWillMount!=="function"&&typeof B.componentWillMount!=="function"||(typeof B.componentWillMount==="function"&&B.componentWillMount(),typeof B.UNSAFE_componentWillMount==="function"&&B.UNSAFE_componentWillMount()),typeof B.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&A4)!==_0&&(Z.flags|=134217728)):(typeof B.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&A4)!==_0&&(Z.flags|=134217728),Z.memoizedProps=X,Z.memoizedState=b),B.props=X,B.state=b,B.context=W,B=w):(typeof B.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&A4)!==_0&&(Z.flags|=134217728),B=!1)}else{B=Z.stateNode,b3($,Z),W=Z.memoizedProps,_=h2(G,W),B.props=_,V=Z.pendingProps,D=B.context,b=G.contextType,w=b6,typeof b==="object"&&b!==null&&(w=_1(b)),k=G.getDerivedStateFromProps,(b=typeof k==="function"||typeof B.getSnapshotBeforeUpdate==="function")||typeof B.UNSAFE_componentWillReceiveProps!=="function"&&typeof B.componentWillReceiveProps!=="function"||(W!==V||D!==w)&&cB(Z,B,X,w),m6=!1,D=Z.memoizedState,B.state=D,_7(Z,X,B,N),z7();var y=Z.memoizedState;W!==V||D!==y||m6||$!==null&&$.dependencies!==null&&mQ($.dependencies)?(typeof k==="function"&&(BX(Z,G,k,X),y=Z.memoizedState),(_=m6||pB(Z,G,_,X,D,y,w)||$!==null&&$.dependencies!==null&&mQ($.dependencies))?(b||typeof B.UNSAFE_componentWillUpdate!=="function"&&typeof B.componentWillUpdate!=="function"||(typeof B.componentWillUpdate==="function"&&B.componentWillUpdate(X,y,w),typeof B.UNSAFE_componentWillUpdate==="function"&&B.UNSAFE_componentWillUpdate(X,y,w)),typeof B.componentDidUpdate==="function"&&(Z.flags|=4),typeof B.getSnapshotBeforeUpdate==="function"&&(Z.flags|=1024)):(typeof B.componentDidUpdate!=="function"||W===$.memoizedProps&&D===$.memoizedState||(Z.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||W===$.memoizedProps&&D===$.memoizedState||(Z.flags|=1024),Z.memoizedProps=X,Z.memoizedState=y),B.props=X,B.state=y,B.context=w,B=_):(typeof B.componentDidUpdate!=="function"||W===$.memoizedProps&&D===$.memoizedState||(Z.flags|=4),typeof B.getSnapshotBeforeUpdate!=="function"||W===$.memoizedProps&&D===$.memoizedState||(Z.flags|=1024),B=!1)}if(w=B,MG($,Z),W=(Z.flags&128)!==0,w||W){if(w=Z.stateNode,O$(Z),W&&typeof G.getDerivedStateFromError!=="function")G=null,_5=-1;else if(G=qW(w),Z.mode&M5){H1(!0);try{qW(w)}finally{H1(!1)}}Z.flags|=1,$!==null&&W?(Z.child=i2(Z,$.child,null,N),Z.child=i2(Z,null,G,N)):Z5($,Z,G,N),Z.memoizedState=w.state,$=Z.child}else $=S8($,Z,N);return N=Z.stateNode,B&&N.props!==X&&(V9||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",d(Z)||"a component"),V9=!0),$}function GH($,Z,G,X){return v2(),Z.flags|=256,Z5($,Z,G,X),Z.child}function wX($,Z){Z&&Z.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
140
- %s.childContextTypes = ...`,Z.displayName||Z.name||"Component"),typeof Z.getDerivedStateFromProps==="function"&&($=i(Z)||"Unknown",pW[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),pW[$]=!0)),typeof Z.contextType==="object"&&Z.contextType!==null&&(Z=i(Z)||"Unknown",mW[Z]||(console.error("%s: Function components do not support contextType.",Z),mW[Z]=!0))}function RX($){return{baseLanes:$,cachePool:ZB()}}function TX($,Z,G){return $=$!==null?$.childLanes&~G:0,Z&&($|=v5),$}function JH($,Z,G){var X,N=Z.pendingProps;K(Z)&&(Z.flags|=128);var B=!1,W=(Z.flags&128)!==0;if((X=W)||(X=$!==null&&$.memoizedState===null?!1:(v1.current&FZ)!==0),X&&(B=!0,Z.flags&=-129),X=(Z.flags&32)!==0,Z.flags&=-33,$===null){if(p0){if(B?L6(Z):V6(Z),($=R1)?(G=CM($,F4),G=G!==null&&G.data!==q$?G:null,G!==null&&(X={dehydrated:G,treeContext:rK(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=X,X=cK(G),X.return=Z,Z.child=X,J5=Z,R1=null)):G=null,G===null)throw xQ(Z,$),w6(Z);return iX(G)?Z.lanes=32:Z.lanes=536870912,null}var w=N.children;if(N=N.fallback,B){V6(Z);var _=Z.mode;return w=FG({mode:"hidden",children:w},_),N=A2(N,_,G,null),w.return=Z,N.return=Z,w.sibling=N,Z.child=w,N=Z.child,N.memoizedState=RX(G),N.childLanes=TX($,X,G),Z.memoizedState=UU,P7(null,N)}return L6(Z),zX(Z,w)}var V=$.memoizedState;if(V!==null){var k=V.dehydrated;if(k!==null){if(W)Z.flags&256?(L6(Z),Z.flags&=-257,Z=_X($,Z,G)):Z.memoizedState!==null?(V6(Z),Z.child=$.child,Z.flags|=128,Z=null):(V6(Z),w=N.fallback,_=Z.mode,N=FG({mode:"visible",children:N.children},_),w=A2(w,_,G,null),w.flags|=2,N.return=Z,w.return=Z,N.sibling=w,Z.child=N,i2(Z,$.child,null,G),N=Z.child,N.memoizedState=RX(G),N.childLanes=TX($,X,G),Z.memoizedState=UU,Z=P7(null,N));else if(L6(Z),nK(),(G&536870912)!==0&&zG(Z),iX(k)){if(X=k.nextSibling&&k.nextSibling.dataset,X){w=X.dgst;var b=X.msg;_=X.stck;var D=X.cstck}B=b,X=w,N=_,k=D,w=B,_=k,w=w?Error(w):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),w.stack=N||"",w.digest=X,X=_===void 0?null:_,N={value:w,source:null,stack:X},typeof X==="string"&&mY.set(w,N),M7(N),Z=_X($,Z,G)}else if(x1||f$($,Z,G,!1),X=(G&$.childLanes)!==0,x1||X){if(X=K1,X!==null&&(N=P2(X,G),N!==0&&N!==V.retryLane))throw V.retryLane=N,B5($,N),C1(X,$,N),YU;aX(k)||_G(),Z=_X($,Z,G)}else aX(k)?(Z.flags|=192,Z.child=$.child,Z=null):($=V.treeContext,R1=a5(k.nextSibling),J5=Z,p0=!0,f6=null,B8=!1,$4=null,F4=!1,$!==null&&sK(Z,$),Z=zX(Z,N.children),Z.flags|=4096);return Z}}if(B)return V6(Z),w=N.fallback,_=Z.mode,D=$.child,k=D.sibling,N=O8(D,{mode:"hidden",children:N.children}),N.subtreeFlags=D.subtreeFlags&65011712,k!==null?w=O8(k,w):(w=A2(w,_,G,null),w.flags|=2),w.return=Z,N.return=Z,N.sibling=w,Z.child=N,P7(null,N),N=Z.child,w=$.child.memoizedState,w===null?w=RX(G):(_=w.cachePool,_!==null?(D=y1._currentValue,_=_.parent!==D?{parent:D,pool:D}:_):_=ZB(),w={baseLanes:w.baseLanes|G,cachePool:_}),N.memoizedState=w,N.childLanes=TX($,X,G),Z.memoizedState=UU,P7($.child,N);return V!==null&&(G&62914560)===G&&(G&$.lanes)!==0&&zG(Z),L6(Z),G=$.child,$=G.sibling,G=O8(G,{mode:"visible",children:N.children}),G.return=Z,G.sibling=null,$!==null&&(X=Z.deletions,X===null?(Z.deletions=[$],Z.flags|=16):X.push($)),Z.child=G,Z.memoizedState=null,G}function zX($,Z){return Z=FG({mode:"visible",children:Z},$.mode),Z.return=$,$.child=Z}function FG($,Z){return $=L(22,$,null,Z),$.lanes=0,$}function _X($,Z,G){return i2(Z,$.child,null,G),$=zX(Z,Z.pendingProps.children),$.flags|=2,Z.memoizedState=null,$}function qH($,Z,G){$.lanes|=Z;var X=$.alternate;X!==null&&(X.lanes|=Z),I3($.return,Z,G)}function LX($,Z,G,X,N,B){var W=$.memoizedState;W===null?$.memoizedState={isBackwards:Z,rendering:null,renderingStartTime:0,last:X,tail:G,tailMode:N,treeForkCount:B}:(W.isBackwards=Z,W.rendering=null,W.renderingStartTime=0,W.last=X,W.tail=G,W.tailMode=N,W.treeForkCount=B)}function XH($,Z,G){var X=Z.pendingProps,N=X.revealOrder,B=X.tail,W=X.children,w=v1.current;if((X=(w&FZ)!==0)?(w=w&T9|FZ,Z.flags|=128):w&=T9,z0(v1,w,Z),w=N==null?"null":N,N!=="forwards"&&N!=="unstable_legacy-backwards"&&N!=="together"&&N!=="independent"&&!cW[w])if(cW[w]=!0,N==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(N==="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 N==="string")switch(N.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.',N,N.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.',N,N.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',N)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',N);if(w=B==null?"null":B,!HJ[w])if(B==null){if(N==="forwards"||N==="backwards"||N==="unstable_legacy-backwards")HJ[w]=!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".')}else B!=="visible"&&B!=="collapsed"&&B!=="hidden"?(HJ[w]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',B)):N!=="forwards"&&N!=="backwards"&&N!=="unstable_legacy-backwards"&&(HJ[w]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',B));$:if((N==="forwards"||N==="backwards"||N==="unstable_legacy-backwards")&&W!==void 0&&W!==null&&W!==!1)if(c1(W)){for(w=0;w<W.length;w++)if(!BB(W[w],w))break $}else if(w=p(W),typeof w==="function"){if(w=w.call(W))for(var _=w.next(),V=0;!_.done;_=w.next()){if(!BB(_.value,V))break $;V++}}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?',N);if(Z5($,Z,W,G),p0?(W6(),W=e7):W=0,!X&&$!==null&&($.flags&128)!==0)$:for($=Z.child;$!==null;){if($.tag===13)$.memoizedState!==null&&qH($,G,Z);else if($.tag===19)qH($,G,Z);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===Z)break $;for(;$.sibling===null;){if($.return===null||$.return===Z)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(N){case"forwards":G=Z.child;for(N=null;G!==null;)$=G.alternate,$!==null&&tQ($)===null&&(N=G),G=G.sibling;G=N,G===null?(N=Z.child,Z.child=null):(N=G.sibling,G.sibling=null),LX(Z,!1,N,G,B,W);break;case"backwards":case"unstable_legacy-backwards":G=null,N=Z.child;for(Z.child=null;N!==null;){if($=N.alternate,$!==null&&tQ($)===null){Z.child=N;break}$=N.sibling,N.sibling=G,G=N,N=$}LX(Z,!0,G,null,B,W);break;case"together":LX(Z,!1,null,null,void 0,W);break;default:Z.memoizedState=null}return Z.child}function S8($,Z,G){if($!==null&&(Z.dependencies=$.dependencies),_5=-1,c6|=Z.lanes,(G&Z.childLanes)===0)if($!==null){if(f$($,Z,G,!1),(G&Z.childLanes)===0)return null}else return null;if($!==null&&Z.child!==$.child)throw Error("Resuming work not yet implemented.");if(Z.child!==null){$=Z.child,G=O8($,$.pendingProps),Z.child=G;for(G.return=Z;$.sibling!==null;)$=$.sibling,G=G.sibling=O8($,$.pendingProps),G.return=Z;G.sibling=null}return Z.child}function VX($,Z){if(($.lanes&Z)!==0)return!0;return $=$.dependencies,$!==null&&mQ($)?!0:!1}function WL($,Z,G){switch(Z.tag){case 3:l(Z,Z.stateNode.containerInfo),R6(Z,y1,$.memoizedState.cache),v2();break;case 27:case 5:d0(Z);break;case 4:l(Z,Z.stateNode.containerInfo);break;case 10:R6(Z,Z.type,Z.memoizedProps.value);break;case 12:(G&Z.childLanes)!==0&&(Z.flags|=4),Z.flags|=2048;var X=Z.stateNode;X.effectDuration=-0,X.passiveEffectDuration=-0;break;case 31:if(Z.memoizedState!==null)return Z.flags|=128,g3(Z),null;break;case 13:if(X=Z.memoizedState,X!==null){if(X.dehydrated!==null)return L6(Z),Z.flags|=128,null;if((G&Z.child.childLanes)!==0)return JH($,Z,G);return L6(Z),$=S8($,Z,G),$!==null?$.sibling:null}L6(Z);break;case 19:var N=($.flags&128)!==0;if(X=(G&Z.childLanes)!==0,X||(f$($,Z,G,!1),X=(G&Z.childLanes)!==0),N){if(X)return XH($,Z,G);Z.flags|=128}if(N=Z.memoizedState,N!==null&&(N.rendering=null,N.tail=null,N.lastEffect=null),z0(v1,v1.current,Z),X)break;else return null;case 22:return Z.lanes=0,tB($,Z,G,Z.pendingProps);case 24:R6(Z,y1,$.memoizedState.cache)}return S8($,Z,G)}function EX($,Z,G){if(Z._debugNeedsRemount&&$!==null){G=z3(Z.type,Z.key,Z.pendingProps,Z._debugOwner||null,Z.mode,Z.lanes),G._debugStack=Z._debugStack,G._debugTask=Z._debugTask;var X=Z.return;if(X===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,Z.alternate=null,G.index=Z.index,G.sibling=Z.sibling,G.return=Z.return,G.ref=Z.ref,G._debugInfo=Z._debugInfo,Z===X.child)X.child=G;else{var N=X.child;if(N===null)throw Error("Expected parent to have a child.");for(;N.sibling!==Z;)if(N=N.sibling,N===null)throw Error("Expected to find the previous sibling.");N.sibling=G}return Z=X.deletions,Z===null?(X.deletions=[$],X.flags|=16):Z.push($),G.flags|=2,G}if($!==null)if($.memoizedProps!==Z.pendingProps||Z.type!==$.type)x1=!0;else{if(!VX($,G)&&(Z.flags&128)===0)return x1=!1,WL($,Z,G);x1=($.flags&131072)!==0?!0:!1}else{if(x1=!1,X=p0)W6(),X=(Z.flags&1048576)!==0;X&&(X=Z.index,W6(),lK(Z,e7,X))}switch(Z.lanes=0,Z.tag){case 16:$:if(X=Z.pendingProps,$=T6(Z.elementType),Z.type=$,typeof $==="function")T3($)?(X=h2($,X),Z.tag=1,Z.type=$=j2($),Z=QH(null,Z,$,X,G)):(Z.tag=0,wX(Z,$),Z.type=$=j2($),Z=WX(null,Z,$,X,G));else{if($!==void 0&&$!==null){if(N=$.$$typeof,N===u7){Z.tag=11,Z.type=$=R3($),Z=oB(null,Z,$,X,G);break $}else if(N===bG){Z.tag=14,Z=aB(null,Z,$,X,G);break $}}throw Z="",$!==null&&typeof $==="object"&&$.$$typeof===i5&&(Z=" Did you wrap a component in React.lazy() more than once?"),G=i($)||$,Error("Element type is invalid. Received a promise that resolves to: "+G+". Lazy element type must resolve to a class or function."+Z)}return Z;case 0:return WX($,Z,Z.type,Z.pendingProps,G);case 1:return X=Z.type,N=h2(X,Z.pendingProps),QH($,Z,X,N,G);case 3:$:{if(l(Z,Z.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");X=Z.pendingProps;var B=Z.memoizedState;N=B.element,b3($,Z),_7(Z,X,null,G);var W=Z.memoizedState;if(X=W.cache,R6(Z,y1,X),X!==B.cache&&O3(Z,[y1],G,!0),z7(),X=W.element,B.isDehydrated)if(B={element:X,isDehydrated:!1,cache:W.cache},Z.updateQueue.baseState=B,Z.memoizedState=B,Z.flags&256){Z=GH($,Z,X,G);break $}else if(X!==N){N=l5(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Z),M7(N),Z=GH($,Z,X,G);break $}else{switch($=Z.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}R1=a5($.firstChild),J5=Z,p0=!0,f6=null,B8=!1,$4=null,F4=!0,G=zW(Z,null,X,G);for(Z.child=G;G;)G.flags=G.flags&-3|4096,G=G.sibling}else{if(v2(),X===N){Z=S8($,Z,G);break $}Z5($,Z,X,G)}Z=Z.child}return Z;case 26:return MG($,Z),$===null?(G=SM(Z.type,null,Z.pendingProps,null))?Z.memoizedState=G:p0||(G=Z.type,$=Z.pendingProps,X=C0(D6.current),X=PG(X).createElement(G),X[G5]=Z,X[R5]=$,Q5(X,G,$),F0(X),Z.stateNode=X):Z.memoizedState=SM(Z.type,$.memoizedProps,Z.pendingProps,$.memoizedState),null;case 27:return d0(Z),$===null&&p0&&(X=C0(D6.current),N=K0(),X=Z.stateNode=jM(Z.type,Z.pendingProps,X,N,!1),B8||(N=RM(X,Z.type,Z.pendingProps,N),N!==null&&(S2(Z,0).serverProps=N)),J5=Z,F4=!0,N=R1,I6(Z.type)?(SU=N,R1=a5(X.firstChild)):R1=N),Z5($,Z,Z.pendingProps.children,G),MG($,Z),$===null&&(Z.flags|=4194304),Z.child;case 5:return $===null&&p0&&(B=K0(),X=N3(Z.type,B.ancestorInfo),N=R1,(W=!N)||(W=GV(N,Z.type,Z.pendingProps,F4),W!==null?(Z.stateNode=W,B8||(B=RM(W,Z.type,Z.pendingProps,B),B!==null&&(S2(Z,0).serverProps=B)),J5=Z,R1=a5(W.firstChild),F4=!1,B=!0):B=!1,W=!B),W&&(X&&xQ(Z,N),w6(Z))),d0(Z),N=Z.type,B=Z.pendingProps,W=$!==null?$.memoizedProps:null,X=B.children,nX(N,B)?X=null:W!==null&&nX(N,W)&&(Z.flags|=32),Z.memoizedState!==null&&(N=x3($,Z,YL,null,null,G),vZ._currentValue=N),MG($,Z),Z5($,Z,X,G),Z.child;case 6:return $===null&&p0&&(G=Z.pendingProps,$=K0(),X=$.ancestorInfo.current,G=X!=null?jQ(G,X.tag,$.ancestorInfo.implicitRootScope):!0,$=R1,(X=!$)||(X=JV($,Z.pendingProps,F4),X!==null?(Z.stateNode=X,J5=Z,R1=null,X=!0):X=!1,X=!X),X&&(G&&xQ(Z,$),w6(Z))),null;case 13:return JH($,Z,G);case 4:return l(Z,Z.stateNode.containerInfo),X=Z.pendingProps,$===null?Z.child=i2(Z,null,X,G):Z5($,Z,X,G),Z.child;case 11:return oB($,Z,Z.type,Z.pendingProps,G);case 7:return Z5($,Z,Z.pendingProps,G),Z.child;case 8:return Z5($,Z,Z.pendingProps.children,G),Z.child;case 12:return Z.flags|=4,Z.flags|=2048,X=Z.stateNode,X.effectDuration=-0,X.passiveEffectDuration=-0,Z5($,Z,Z.pendingProps.children,G),Z.child;case 10:return X=Z.type,N=Z.pendingProps,B=N.value,"value"in N||lW||(lW=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),R6(Z,X,B),Z5($,Z,N.children,G),Z.child;case 9:return N=Z.type._context,X=Z.pendingProps.children,typeof X!=="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."),k2(Z),N=_1(N),X=oY(X,N,void 0),Z.flags|=1,Z5($,Z,X,G),Z.child;case 14:return aB($,Z,Z.type,Z.pendingProps,G);case 15:return iB($,Z,Z.type,Z.pendingProps,G);case 19:return XH($,Z,G);case 31:return FL($,Z,G);case 22:return tB($,Z,G,Z.pendingProps);case 24:return k2(Z),X=_1(y1),$===null?(N=S3(),N===null&&(N=K1,B=D3(),N.pooledCache=B,b2(B),B!==null&&(N.pooledCacheLanes|=G),N=B),Z.memoizedState={parent:X,cache:N},k3(Z),R6(Z,y1,N)):(($.lanes&G)!==0&&(b3($,Z),_7(Z,null,null,G),z7()),N=$.memoizedState,B=Z.memoizedState,N.parent!==X?(N={parent:X,cache:X},Z.memoizedState=N,Z.lanes===0&&(Z.memoizedState=Z.updateQueue.baseState=N),R6(Z,y1,X)):(X=B.cache,R6(Z,y1,X),X!==N.cache&&O3(Z,[y1],G,!0))),Z5($,Z,Z.pendingProps.children,G),Z.child;case 29:throw Z.pendingProps}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function v8($){$.flags|=4}function PX($,Z,G,X,N){if(Z=($.mode&fE)!==_0)Z=!1;if(Z){if($.flags|=16777216,(N&335544128)===N)if($.stateNode.complete)$.flags|=8192;else if(xH())$.flags|=8192;else throw a2=XJ,iY}else $.flags&=-16777217}function YH($,Z){if(Z.type!=="stylesheet"||(Z.state.loading&z4)!==U$)$.flags&=-16777217;else if($.flags|=16777216,!yM(Z))if(xH())$.flags|=8192;else throw a2=XJ,iY}function WG($,Z){Z!==null&&($.flags|=4),$.flags&16384&&(Z=$.tag!==22?j$():536870912,$.lanes|=Z,Q$|=Z)}function C7($,Z){if(!p0)switch($.tailMode){case"hidden":Z=$.tail;for(var G=null;Z!==null;)Z.alternate!==null&&(G=Z),Z=Z.sibling;G===null?$.tail=null:G.sibling=null;break;case"collapsed":G=$.tail;for(var X=null;G!==null;)G.alternate!==null&&(X=G),G=G.sibling;X===null?Z||$.tail===null?$.tail=null:$.tail.sibling=null:X.sibling=null}}function M1($){var Z=$.alternate!==null&&$.alternate.child===$.child,G=0,X=0;if(Z)if(($.mode&j0)!==_0){for(var{selfBaseDuration:N,child:B}=$;B!==null;)G|=B.lanes|B.childLanes,X|=B.subtreeFlags&65011712,X|=B.flags&65011712,N+=B.treeBaseDuration,B=B.sibling;$.treeBaseDuration=N}else for(N=$.child;N!==null;)G|=N.lanes|N.childLanes,X|=N.subtreeFlags&65011712,X|=N.flags&65011712,N.return=$,N=N.sibling;else if(($.mode&j0)!==_0){N=$.actualDuration,B=$.selfBaseDuration;for(var W=$.child;W!==null;)G|=W.lanes|W.childLanes,X|=W.subtreeFlags,X|=W.flags,N+=W.actualDuration,B+=W.treeBaseDuration,W=W.sibling;$.actualDuration=N,$.treeBaseDuration=B}else for(N=$.child;N!==null;)G|=N.lanes|N.childLanes,X|=N.subtreeFlags,X|=N.flags,N.return=$,N=N.sibling;return $.subtreeFlags|=X,$.childLanes=G,Z}function wL($,Z,G){var X=Z.pendingProps;switch(E3(Z),Z.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return M1(Z),null;case 1:return M1(Z),null;case 3:if(G=Z.stateNode,X=null,$!==null&&(X=$.memoizedState.cache),Z.memoizedState.cache!==X&&(Z.flags|=2048),j8(y1,Z),J0(Z),G.pendingContext&&(G.context=G.pendingContext,G.pendingContext=null),$===null||$.child===null)b$(Z)?(C3(),v8(Z)):$===null||$.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,P3());return M1(Z),null;case 26:var{type:N,memoizedState:B}=Z;return $===null?(v8(Z),B!==null?(M1(Z),YH(Z,B)):(M1(Z),PX(Z,N,null,X,G))):B?B!==$.memoizedState?(v8(Z),M1(Z),YH(Z,B)):(M1(Z),Z.flags&=-16777217):($=$.memoizedProps,$!==X&&v8(Z),M1(Z),PX(Z,N,$,X,G)),null;case 27:if(k0(Z),G=C0(D6.current),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v8(Z);else{if(!X){if(Z.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 M1(Z),null}$=K0(),b$(Z)?oK(Z,$):($=jM(N,X,G,$,!0),Z.stateNode=$,v8(Z))}return M1(Z),null;case 5:if(k0(Z),N=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v8(Z);else{if(!X){if(Z.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 M1(Z),null}var W=K0();if(b$(Z))oK(Z,W);else{switch(B=C0(D6.current),N3(N,W.ancestorInfo),W=W.context,B=PG(B),W){case A9:B=B.createElementNS($9,N);break;case vJ:B=B.createElementNS(mG,N);break;default:switch(N){case"svg":B=B.createElementNS($9,N);break;case"math":B=B.createElementNS(mG,N);break;case"script":B=B.createElement("div"),B.innerHTML="<script></script>",B=B.removeChild(B.firstChild);break;case"select":B=typeof X.is==="string"?B.createElement("select",{is:X.is}):B.createElement("select"),X.multiple?B.multiple=!0:X.size&&(B.size=X.size);break;default:B=typeof X.is==="string"?B.createElement(N,{is:X.is}):B.createElement(N),N.indexOf("-")===-1&&(N!==N.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",N),Object.prototype.toString.call(B)!=="[object HTMLUnknownElement]"||D4.call(Ww,N)||(Ww[N]=!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.",N)))}}B[G5]=Z,B[R5]=X;$:for(W=Z.child;W!==null;){if(W.tag===5||W.tag===6)B.appendChild(W.stateNode);else if(W.tag!==4&&W.tag!==27&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===Z)break $;for(;W.sibling===null;){if(W.return===null||W.return===Z)break $;W=W.return}W.sibling.return=W.return,W=W.sibling}Z.stateNode=B;$:switch(Q5(B,N,X),N){case"button":case"input":case"select":case"textarea":X=!!X.autoFocus;break $;case"img":X=!0;break $;default:X=!1}X&&v8(Z)}}return M1(Z),PX(Z,Z.type,$===null?null:$.memoizedProps,Z.pendingProps,G),null;case 6:if($&&Z.stateNode!=null)$.memoizedProps!==X&&v8(Z);else{if(typeof X!=="string"&&Z.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($=C0(D6.current),G=K0(),b$(Z)){if($=Z.stateNode,G=Z.memoizedProps,N=!B8,X=null,B=J5,B!==null)switch(B.tag){case 3:N&&(N=OM($,G,X),N!==null&&(S2(Z,0).serverProps=N));break;case 27:case 5:X=B.memoizedProps,N&&(N=OM($,G,X),N!==null&&(S2(Z,0).serverProps=N))}$[G5]=Z,$=$.nodeValue===G||X!==null&&X.suppressHydrationWarning===!0||HM($.nodeValue,G)?!0:!1,$||w6(Z,!0)}else N=G.ancestorInfo.current,N!=null&&jQ(X,N.tag,G.ancestorInfo.implicitRootScope),$=PG($).createTextNode(X),$[G5]=Z,Z.stateNode=$}return M1(Z),null;case 31:if(G=Z.memoizedState,$===null||$.memoizedState!==null){if(X=b$(Z),G!==null){if($===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=Z.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[G5]=Z,M1(Z),(Z.mode&j0)!==_0&&G!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration))}else C3(),v2(),(Z.flags&128)===0&&(G=Z.memoizedState=null),Z.flags|=4,M1(Z),(Z.mode&j0)!==_0&&G!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration));$=!1}else G=P3(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=G),$=!0;if(!$){if(Z.flags&256)return n5(Z),Z;return n5(Z),null}if((Z.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return M1(Z),null;case 13:if(X=Z.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(N=X,B=b$(Z),N!==null&&N.dehydrated!==null){if($===null){if(!B)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(B=Z.memoizedState,B=B!==null?B.dehydrated:null,!B)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");B[G5]=Z,M1(Z),(Z.mode&j0)!==_0&&N!==null&&(N=Z.child,N!==null&&(Z.treeBaseDuration-=N.treeBaseDuration))}else C3(),v2(),(Z.flags&128)===0&&(N=Z.memoizedState=null),Z.flags|=4,M1(Z),(Z.mode&j0)!==_0&&N!==null&&(N=Z.child,N!==null&&(Z.treeBaseDuration-=N.treeBaseDuration));N=!1}else N=P3(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=N),N=!0;if(!N){if(Z.flags&256)return n5(Z),Z;return n5(Z),null}}if(n5(Z),(Z.flags&128)!==0)return Z.lanes=G,(Z.mode&j0)!==_0&&w7(Z),Z;return G=X!==null,$=$!==null&&$.memoizedState!==null,G&&(X=Z.child,N=null,X.alternate!==null&&X.alternate.memoizedState!==null&&X.alternate.memoizedState.cachePool!==null&&(N=X.alternate.memoizedState.cachePool.pool),B=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(B=X.memoizedState.cachePool.pool),B!==N&&(X.flags|=2048)),G!==$&&G&&(Z.child.flags|=8192),WG(Z,Z.updateQueue),M1(Z),(Z.mode&j0)!==_0&&G&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return J0(Z),$===null&&mX(Z.stateNode.containerInfo),M1(Z),null;case 10:return j8(Z.type,Z),M1(Z),null;case 19:if(w0(v1,Z),X=Z.memoizedState,X===null)return M1(Z),null;if(N=(Z.flags&128)!==0,B=X.rendering,B===null)if(N)C7(X,!1);else{if(E1!==s8||$!==null&&($.flags&128)!==0)for($=Z.child;$!==null;){if(B=tQ($),B!==null){Z.flags|=128,C7(X,!1),$=B.updateQueue,Z.updateQueue=$,WG(Z,$),Z.subtreeFlags=0,$=G;for(G=Z.child;G!==null;)pK(G,$),G=G.sibling;return z0(v1,v1.current&T9|FZ,Z),p0&&D8(Z,X.treeForkCount),Z.child}$=$.sibling}X.tail!==null&&o1()>zJ&&(Z.flags|=128,N=!0,C7(X,!1),Z.lanes=4194304)}else{if(!N)if($=tQ(B),$!==null){if(Z.flags|=128,N=!0,$=$.updateQueue,Z.updateQueue=$,WG(Z,$),C7(X,!0),X.tail===null&&X.tailMode==="hidden"&&!B.alternate&&!p0)return M1(Z),null}else 2*o1()-X.renderingStartTime>zJ&&G!==536870912&&(Z.flags|=128,N=!0,C7(X,!1),Z.lanes=4194304);X.isBackwards?(B.sibling=Z.child,Z.child=B):($=X.last,$!==null?$.sibling=B:Z.child=B,X.last=B)}if(X.tail!==null)return $=X.tail,X.rendering=$,X.tail=$.sibling,X.renderingStartTime=o1(),$.sibling=null,G=v1.current,G=N?G&T9|FZ:G&T9,z0(v1,G,Z),p0&&D8(Z,X.treeForkCount),$;return M1(Z),null;case 22:case 23:return n5(Z),y3(Z),X=Z.memoizedState!==null,$!==null?$.memoizedState!==null!==X&&(Z.flags|=8192):X&&(Z.flags|=8192),X?(G&536870912)!==0&&(Z.flags&128)===0&&(M1(Z),Z.subtreeFlags&6&&(Z.flags|=8192)):M1(Z),G=Z.updateQueue,G!==null&&WG(Z,G.retryQueue),G=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),X=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(X=Z.memoizedState.cachePool.pool),X!==G&&(Z.flags|=2048),$!==null&&w0(n2,Z),null;case 24:return G=null,$!==null&&(G=$.memoizedState.cache),Z.memoizedState.cache!==G&&(Z.flags|=2048),j8(y1,Z),M1(Z),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function RL($,Z){switch(E3(Z),Z.tag){case 1:return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&j0)!==_0&&w7(Z),Z):null;case 3:return j8(y1,Z),J0(Z),$=Z.flags,($&65536)!==0&&($&128)===0?(Z.flags=$&-65537|128,Z):null;case 26:case 27:case 5:return k0(Z),null;case 31:if(Z.memoizedState!==null){if(n5(Z),Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");v2()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&j0)!==_0&&w7(Z),Z):null;case 13:if(n5(Z),$=Z.memoizedState,$!==null&&$.dehydrated!==null){if(Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");v2()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&j0)!==_0&&w7(Z),Z):null;case 19:return w0(v1,Z),null;case 4:return J0(Z),null;case 10:return j8(Z.type,Z),null;case 22:case 23:return n5(Z),y3(Z),$!==null&&w0(n2,Z),$=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&j0)!==_0&&w7(Z),Z):null;case 24:return j8(y1,Z),null;case 25:return null;default:return null}}function UH($,Z){switch(E3(Z),Z.tag){case 3:j8(y1,Z),J0(Z);break;case 26:case 27:case 5:k0(Z);break;case 4:J0(Z);break;case 31:Z.memoizedState!==null&&n5(Z);break;case 13:n5(Z);break;case 19:w0(v1,Z);break;case 10:j8(Z.type,Z);break;case 22:case 23:n5(Z),y3(Z),$!==null&&w0(n2,Z);break;case 24:j8(y1,Z)}}function t4($){return($.mode&j0)!==_0}function NH($,Z){t4($)?(i4(),I7(Z,$),a4()):I7(Z,$)}function CX($,Z,G){t4($)?(i4(),u$(G,$,Z),a4()):u$(G,$,Z)}function I7($,Z){try{var G=Z.updateQueue,X=G!==null?G.lastEffect:null;if(X!==null){var N=X.next;G=N;do{if((G.tag&$)===$&&(X=void 0,($&L5)!==UJ&&(O9=!0),X=G0(Z,uE,G),($&L5)!==UJ&&(O9=!1),X!==void 0&&typeof X!=="function")){var B=void 0;B=(G.tag&Q4)!==0?"useLayoutEffect":(G.tag&L5)!==0?"useInsertionEffect":"useEffect";var W=void 0;W=X===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof X.then==="function"?`
136
+ https://react.dev/link/unsafe-component-lifecycles`,N,E,W!==null?`
137
+ `+W:"",R!==null?`
138
+ `+R:"",_!==null?`
139
+ `+_:""))}}N=Z.stateNode,W=a(q)||"Component",N.render||(q.prototype&&typeof q.prototype.render==="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",W):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",W)),!N.getInitialState||N.getInitialState.isReactClassApproved||N.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?",W),N.getDefaultProps&&!N.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.",W),N.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",W),q.childContextTypes&&!gW.has(q)&&(gW.add(q),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",W)),q.contextTypes&&!yW.has(q)&&(yW.add(q),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)",W)),typeof N.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.",W),q.prototype&&q.prototype.isPureReactComponent&&typeof N.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.",a(q)||"A pure component"),typeof N.componentDidUnmount==="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",W),typeof N.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().",W),typeof N.componentWillRecieveProps==="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",W),typeof N.UNSAFE_componentWillRecieveProps==="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",W),R=N.props!==X,N.props!==void 0&&R&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",W),N.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.",W,W),typeof N.getSnapshotBeforeUpdate!=="function"||typeof N.componentDidUpdate==="function"||vW.has(q)||(vW.add(q),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",a(q))),typeof N.getDerivedStateFromProps==="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",W),typeof N.getDerivedStateFromError==="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",W),typeof q.getSnapshotBeforeUpdate==="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",W),(R=N.state)&&(typeof R!=="object"||c5(R))&&console.error("%s.state: must be set to an object or null",W),typeof N.getChildContext==="function"&&typeof q.childContextTypes!=="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",W),N=Z.stateNode,N.props=X,N.state=Z.memoizedState,N.refs={},kX(Z),W=q.contextType,N.context=typeof W==="object"&&W!==null?_5(W):b6,N.state===X&&(W=a(q)||"Component",bW.has(W)||(bW.add(W),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.",W))),Z.mode&H8&&S1.recordLegacyContextWarning(Z,N),S1.recordUnsafeLifecycleWarnings(Z,N),N.state=Z.memoizedState,W=q.getDerivedStateFromProps,typeof W==="function"&&(N3(Z,q,W,X),N.state=Z.memoizedState),typeof q.getDerivedStateFromProps==="function"||typeof N.getSnapshotBeforeUpdate==="function"||typeof N.UNSAFE_componentWillMount!=="function"&&typeof N.componentWillMount!=="function"||(W=N.state,typeof N.componentWillMount==="function"&&N.componentWillMount(),typeof N.UNSAFE_componentWillMount==="function"&&N.UNSAFE_componentWillMount(),W!==N.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",d(Z)||"Component"),JU.enqueueReplaceState(N,N.state,null)),_Z(Z,X,N,K),VZ(),N.state=Z.memoizedState),typeof N.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&D1)!==_0&&(Z.flags|=134217728),N=!0}else if($===null){N=Z.stateNode;var k=Z.memoizedProps;R=x4(q,k),N.props=R;var b=N.context;_=q.contextType,W=b6,typeof _==="object"&&_!==null&&(W=_5(_)),E=q.getDerivedStateFromProps,_=typeof E==="function"||typeof N.getSnapshotBeforeUpdate==="function",k=Z.pendingProps!==k,_||typeof N.UNSAFE_componentWillReceiveProps!=="function"&&typeof N.componentWillReceiveProps!=="function"||(k||b!==W)&&cN(Z,N,X,W),m6=!1;var j=Z.memoizedState;N.state=j,_Z(Z,X,N,K),VZ(),b=Z.memoizedState,k||j!==b||m6?(typeof E==="function"&&(N3(Z,q,E,X),b=Z.memoizedState),(R=m6||pN(Z,q,R,X,j,b,W))?(_||typeof N.UNSAFE_componentWillMount!=="function"&&typeof N.componentWillMount!=="function"||(typeof N.componentWillMount==="function"&&N.componentWillMount(),typeof N.UNSAFE_componentWillMount==="function"&&N.UNSAFE_componentWillMount()),typeof N.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&D1)!==_0&&(Z.flags|=134217728)):(typeof N.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&D1)!==_0&&(Z.flags|=134217728),Z.memoizedProps=X,Z.memoizedState=b),N.props=X,N.state=b,N.context=W,N=R):(typeof N.componentDidMount==="function"&&(Z.flags|=4194308),(Z.mode&D1)!==_0&&(Z.flags|=134217728),N=!1)}else{N=Z.stateNode,bX($,Z),W=Z.memoizedProps,_=x4(q,W),N.props=_,E=Z.pendingProps,j=N.context,b=q.contextType,R=b6,typeof b==="object"&&b!==null&&(R=_5(b)),k=q.getDerivedStateFromProps,(b=typeof k==="function"||typeof N.getSnapshotBeforeUpdate==="function")||typeof N.UNSAFE_componentWillReceiveProps!=="function"&&typeof N.componentWillReceiveProps!=="function"||(W!==E||j!==R)&&cN(Z,N,X,R),m6=!1,j=Z.memoizedState,N.state=j,_Z(Z,X,N,K),VZ();var y=Z.memoizedState;W!==E||j!==y||m6||$!==null&&$.dependencies!==null&&mq($.dependencies)?(typeof k==="function"&&(N3(Z,q,k,X),y=Z.memoizedState),(_=m6||pN(Z,q,_,X,j,y,R)||$!==null&&$.dependencies!==null&&mq($.dependencies))?(b||typeof N.UNSAFE_componentWillUpdate!=="function"&&typeof N.componentWillUpdate!=="function"||(typeof N.componentWillUpdate==="function"&&N.componentWillUpdate(X,y,R),typeof N.UNSAFE_componentWillUpdate==="function"&&N.UNSAFE_componentWillUpdate(X,y,R)),typeof N.componentDidUpdate==="function"&&(Z.flags|=4),typeof N.getSnapshotBeforeUpdate==="function"&&(Z.flags|=1024)):(typeof N.componentDidUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=4),typeof N.getSnapshotBeforeUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=1024),Z.memoizedProps=X,Z.memoizedState=y),N.props=X,N.state=y,N.context=R,N=_):(typeof N.componentDidUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=4),typeof N.getSnapshotBeforeUpdate!=="function"||W===$.memoizedProps&&j===$.memoizedState||(Z.flags|=1024),N=!1)}if(R=N,HG($,Z),W=(Z.flags&128)!==0,R||W){if(R=Z.stateNode,O7(Z),W&&typeof q.getDerivedStateFromError!=="function")q=null,_8=-1;else if(q=JW(R),Z.mode&H8){M5(!0);try{JW(R)}finally{M5(!1)}}Z.flags|=1,$!==null&&W?(Z.child=a4(Z,$.child,null,K),Z.child=a4(Z,null,q,K)):Z8($,Z,q,K),Z.memoizedState=R.state,$=Z.child}else $=S$($,Z,K);return K=Z.stateNode,N&&K.props!==X&&(E9||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",d(Z)||"a component"),E9=!0),$}function qM($,Z,q,X){return v4(),Z.flags|=256,Z8($,Z,q,X),Z.child}function R3($,Z){Z&&Z.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
140
+ %s.childContextTypes = ...`,Z.displayName||Z.name||"Component"),typeof Z.getDerivedStateFromProps==="function"&&($=a(Z)||"Unknown",pW[$]||(console.error("%s: Function components do not support getDerivedStateFromProps.",$),pW[$]=!0)),typeof Z.contextType==="object"&&Z.contextType!==null&&(Z=a(Z)||"Unknown",mW[Z]||(console.error("%s: Function components do not support contextType.",Z),mW[Z]=!0))}function z3($){return{baseLanes:$,cachePool:ZN()}}function L3($,Z,q){return $=$!==null?$.childLanes&~q:0,Z&&($|=v8),$}function GM($,Z,q){var X,K=Z.pendingProps;B(Z)&&(Z.flags|=128);var N=!1,W=(Z.flags&128)!==0;if((X=W)||(X=$!==null&&$.memoizedState===null?!1:(v5.current&FQ)!==0),X&&(N=!0,Z.flags&=-129),X=(Z.flags&32)!==0,Z.flags&=-33,$===null){if(p0){if(N?T6(Z):E6(Z),($=z5)?(q=CH($,F1),q=q!==null&&q.data!==J7?q:null,q!==null&&(X={dehydrated:q,treeContext:rB(),retryLane:536870912,hydrationErrors:null},Z.memoizedState=X,X=cB(q),X.return=Z,Z.child=X,G8=Z,z5=null)):q=null,q===null)throw hq(Z,$),R6(Z);return a3(q)?Z.lanes=32:Z.lanes=536870912,null}var R=K.children;if(K=K.fallback,N){E6(Z);var _=Z.mode;return R=FG({mode:"hidden",children:R},_),K=D4(K,_,q,null),R.return=Z,K.return=Z,R.sibling=K,Z.child=R,K=Z.child,K.memoizedState=z3(q),K.childLanes=L3($,X,q),Z.memoizedState=UU,PZ(null,K)}return T6(Z),V3(Z,R)}var E=$.memoizedState;if(E!==null){var k=E.dehydrated;if(k!==null){if(W)Z.flags&256?(T6(Z),Z.flags&=-257,Z=_3($,Z,q)):Z.memoizedState!==null?(E6(Z),Z.child=$.child,Z.flags|=128,Z=null):(E6(Z),R=K.fallback,_=Z.mode,K=FG({mode:"visible",children:K.children},_),R=D4(R,_,q,null),R.flags|=2,K.return=Z,R.return=Z,K.sibling=R,Z.child=K,a4(Z,$.child,null,q),K=Z.child,K.memoizedState=z3(q),K.childLanes=L3($,X,q),Z.memoizedState=UU,Z=PZ(null,K));else if(T6(Z),nB(),(q&536870912)!==0&&VG(Z),a3(k)){if(X=k.nextSibling&&k.nextSibling.dataset,X){R=X.dgst;var b=X.msg;_=X.stck;var j=X.cstck}N=b,X=R,K=_,k=j,R=N,_=k,R=R?Error(R):Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),R.stack=K||"",R.digest=X,X=_===void 0?null:_,K={value:R,source:null,stack:X},typeof X==="string"&&mY.set(R,K),HZ(K),Z=_3($,Z,q)}else if(h5||f7($,Z,q,!1),X=(q&$.childLanes)!==0,h5||X){if(X=B5,X!==null&&(K=P4(X,q),K!==0&&K!==E.retryLane))throw E.retryLane=K,N8($,K),C5(X,$,K),YU;i3(k)||_G(),Z=_3($,Z,q)}else i3(k)?(Z.flags|=192,Z.child=$.child,Z=null):($=E.treeContext,z5=i8(k.nextSibling),G8=Z,p0=!0,f6=null,N$=!1,$1=null,F1=!1,$!==null&&sB(Z,$),Z=V3(Z,K.children),Z.flags|=4096);return Z}}if(N)return E6(Z),R=K.fallback,_=Z.mode,j=$.child,k=j.sibling,K=O$(j,{mode:"hidden",children:K.children}),K.subtreeFlags=j.subtreeFlags&65011712,k!==null?R=O$(k,R):(R=D4(R,_,q,null),R.flags|=2),R.return=Z,K.return=Z,K.sibling=R,Z.child=K,PZ(null,K),K=Z.child,R=$.child.memoizedState,R===null?R=z3(q):(_=R.cachePool,_!==null?(j=y5._currentValue,_=_.parent!==j?{parent:j,pool:j}:_):_=ZN(),R={baseLanes:R.baseLanes|q,cachePool:_}),K.memoizedState=R,K.childLanes=L3($,X,q),Z.memoizedState=UU,PZ($.child,K);return E!==null&&(q&62914560)===q&&(q&$.lanes)!==0&&VG(Z),T6(Z),q=$.child,$=q.sibling,q=O$(q,{mode:"visible",children:K.children}),q.return=Z,q.sibling=null,$!==null&&(X=Z.deletions,X===null?(Z.deletions=[$],Z.flags|=16):X.push($)),Z.child=q,Z.memoizedState=null,q}function V3($,Z){return Z=FG({mode:"visible",children:Z},$.mode),Z.return=$,$.child=Z}function FG($,Z){return $=T(22,$,null,Z),$.lanes=0,$}function _3($,Z,q){return a4(Z,$.child,null,q),$=V3(Z,Z.pendingProps.children),$.flags|=2,Z.memoizedState=null,$}function JM($,Z,q){$.lanes|=Z;var X=$.alternate;X!==null&&(X.lanes|=Z),IX($.return,Z,q)}function T3($,Z,q,X,K,N){var W=$.memoizedState;W===null?$.memoizedState={isBackwards:Z,rendering:null,renderingStartTime:0,last:X,tail:q,tailMode:K,treeForkCount:N}:(W.isBackwards=Z,W.rendering=null,W.renderingStartTime=0,W.last=X,W.tail=q,W.tailMode=K,W.treeForkCount=N)}function XM($,Z,q){var X=Z.pendingProps,K=X.revealOrder,N=X.tail,W=X.children,R=v5.current;if((X=(R&FQ)!==0)?(R=R&L9|FQ,Z.flags|=128):R&=L9,V0(v5,R,Z),R=K==null?"null":K,K!=="forwards"&&K!=="unstable_legacy-backwards"&&K!=="together"&&K!=="independent"&&!cW[R])if(cW[R]=!0,K==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(K==="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 K==="string")switch(K.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.',K,K.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.',K,K.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',K)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',K);if(R=N==null?"null":N,!MJ[R])if(N==null){if(K==="forwards"||K==="backwards"||K==="unstable_legacy-backwards")MJ[R]=!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".')}else N!=="visible"&&N!=="collapsed"&&N!=="hidden"?(MJ[R]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',N)):K!=="forwards"&&K!=="backwards"&&K!=="unstable_legacy-backwards"&&(MJ[R]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',N));$:if((K==="forwards"||K==="backwards"||K==="unstable_legacy-backwards")&&W!==void 0&&W!==null&&W!==!1)if(c5(W)){for(R=0;R<W.length;R++)if(!NN(W[R],R))break $}else if(R=p(W),typeof R==="function"){if(R=R.call(W))for(var _=R.next(),E=0;!_.done;_=R.next()){if(!NN(_.value,E))break $;E++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',K);if(Z8($,Z,W,q),p0?(W6(),W=eZ):W=0,!X&&$!==null&&($.flags&128)!==0)$:for($=Z.child;$!==null;){if($.tag===13)$.memoizedState!==null&&JM($,q,Z);else if($.tag===19)JM($,q,Z);else if($.child!==null){$.child.return=$,$=$.child;continue}if($===Z)break $;for(;$.sibling===null;){if($.return===null||$.return===Z)break $;$=$.return}$.sibling.return=$.return,$=$.sibling}switch(K){case"forwards":q=Z.child;for(K=null;q!==null;)$=q.alternate,$!==null&&tq($)===null&&(K=q),q=q.sibling;q=K,q===null?(K=Z.child,Z.child=null):(K=q.sibling,q.sibling=null),T3(Z,!1,K,q,N,W);break;case"backwards":case"unstable_legacy-backwards":q=null,K=Z.child;for(Z.child=null;K!==null;){if($=K.alternate,$!==null&&tq($)===null){Z.child=K;break}$=K.sibling,K.sibling=q,q=K,K=$}T3(Z,!0,q,null,N,W);break;case"together":T3(Z,!1,null,null,void 0,W);break;default:Z.memoizedState=null}return Z.child}function S$($,Z,q){if($!==null&&(Z.dependencies=$.dependencies),_8=-1,c6|=Z.lanes,(q&Z.childLanes)===0)if($!==null){if(f7($,Z,q,!1),(q&Z.childLanes)===0)return null}else return null;if($!==null&&Z.child!==$.child)throw Error("Resuming work not yet implemented.");if(Z.child!==null){$=Z.child,q=O$($,$.pendingProps),Z.child=q;for(q.return=Z;$.sibling!==null;)$=$.sibling,q=q.sibling=O$($,$.pendingProps),q.return=Z;q.sibling=null}return Z.child}function E3($,Z){if(($.lanes&Z)!==0)return!0;return $=$.dependencies,$!==null&&mq($)?!0:!1}function WT($,Z,q){switch(Z.tag){case 3:l(Z,Z.stateNode.containerInfo),z6(Z,y5,$.memoizedState.cache),v4();break;case 27:case 5:d0(Z);break;case 4:l(Z,Z.stateNode.containerInfo);break;case 10:z6(Z,Z.type,Z.memoizedProps.value);break;case 12:(q&Z.childLanes)!==0&&(Z.flags|=4),Z.flags|=2048;var X=Z.stateNode;X.effectDuration=-0,X.passiveEffectDuration=-0;break;case 31:if(Z.memoizedState!==null)return Z.flags|=128,gX(Z),null;break;case 13:if(X=Z.memoizedState,X!==null){if(X.dehydrated!==null)return T6(Z),Z.flags|=128,null;if((q&Z.child.childLanes)!==0)return GM($,Z,q);return T6(Z),$=S$($,Z,q),$!==null?$.sibling:null}T6(Z);break;case 19:var K=($.flags&128)!==0;if(X=(q&Z.childLanes)!==0,X||(f7($,Z,q,!1),X=(q&Z.childLanes)!==0),K){if(X)return XM($,Z,q);Z.flags|=128}if(K=Z.memoizedState,K!==null&&(K.rendering=null,K.tail=null,K.lastEffect=null),V0(v5,v5.current,Z),X)break;else return null;case 22:return Z.lanes=0,tN($,Z,q,Z.pendingProps);case 24:z6(Z,y5,$.memoizedState.cache)}return S$($,Z,q)}function w3($,Z,q){if(Z._debugNeedsRemount&&$!==null){q=VX(Z.type,Z.key,Z.pendingProps,Z._debugOwner||null,Z.mode,Z.lanes),q._debugStack=Z._debugStack,q._debugTask=Z._debugTask;var X=Z.return;if(X===null)throw Error("Cannot swap the root fiber.");if($.alternate=null,Z.alternate=null,q.index=Z.index,q.sibling=Z.sibling,q.return=Z.return,q.ref=Z.ref,q._debugInfo=Z._debugInfo,Z===X.child)X.child=q;else{var K=X.child;if(K===null)throw Error("Expected parent to have a child.");for(;K.sibling!==Z;)if(K=K.sibling,K===null)throw Error("Expected to find the previous sibling.");K.sibling=q}return Z=X.deletions,Z===null?(X.deletions=[$],X.flags|=16):Z.push($),q.flags|=2,q}if($!==null)if($.memoizedProps!==Z.pendingProps||Z.type!==$.type)h5=!0;else{if(!E3($,q)&&(Z.flags&128)===0)return h5=!1,WT($,Z,q);h5=($.flags&131072)!==0?!0:!1}else{if(h5=!1,X=p0)W6(),X=(Z.flags&1048576)!==0;X&&(X=Z.index,W6(),lB(Z,eZ,X))}switch(Z.lanes=0,Z.tag){case 16:$:if(X=Z.pendingProps,$=L6(Z.elementType),Z.type=$,typeof $==="function")LX($)?(X=x4($,X),Z.tag=1,Z.type=$=A4($),Z=QM(null,Z,$,X,q)):(Z.tag=0,R3(Z,$),Z.type=$=A4($),Z=W3(null,Z,$,X,q));else{if($!==void 0&&$!==null){if(K=$.$$typeof,K===uZ){Z.tag=11,Z.type=$=zX($),Z=oN(null,Z,$,X,q);break $}else if(K===bG){Z.tag=14,Z=iN(null,Z,$,X,q);break $}}throw Z="",$!==null&&typeof $==="object"&&$.$$typeof===a8&&(Z=" Did you wrap a component in React.lazy() more than once?"),q=a($)||$,Error("Element type is invalid. Received a promise that resolves to: "+q+". Lazy element type must resolve to a class or function."+Z)}return Z;case 0:return W3($,Z,Z.type,Z.pendingProps,q);case 1:return X=Z.type,K=x4(X,Z.pendingProps),QM($,Z,X,K,q);case 3:$:{if(l(Z,Z.stateNode.containerInfo),$===null)throw Error("Should have a current fiber. This is a bug in React.");X=Z.pendingProps;var N=Z.memoizedState;K=N.element,bX($,Z),_Z(Z,X,null,q);var W=Z.memoizedState;if(X=W.cache,z6(Z,y5,X),X!==N.cache&&OX(Z,[y5],q,!0),VZ(),X=W.element,N.isDehydrated)if(N={element:X,isDehydrated:!1,cache:W.cache},Z.updateQueue.baseState=N,Z.memoizedState=N,Z.flags&256){Z=qM($,Z,X,q);break $}else if(X!==K){K=l8(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),Z),HZ(K),Z=qM($,Z,X,q);break $}else{switch($=Z.stateNode.containerInfo,$.nodeType){case 9:$=$.body;break;default:$=$.nodeName==="HTML"?$.ownerDocument.body:$}z5=i8($.firstChild),G8=Z,p0=!0,f6=null,N$=!1,$1=null,F1=!0,q=VW(Z,null,X,q);for(Z.child=q;q;)q.flags=q.flags&-3|4096,q=q.sibling}else{if(v4(),X===K){Z=S$($,Z,q);break $}Z8($,Z,X,q)}Z=Z.child}return Z;case 26:return HG($,Z),$===null?(q=SH(Z.type,null,Z.pendingProps,null))?Z.memoizedState=q:p0||(q=Z.type,$=Z.pendingProps,X=C0(j6.current),X=PG(X).createElement(q),X[q8]=Z,X[z8]=$,Q8(X,q,$),F0(X),Z.stateNode=X):Z.memoizedState=SH(Z.type,$.memoizedProps,Z.pendingProps,$.memoizedState),null;case 27:return d0(Z),$===null&&p0&&(X=C0(j6.current),K=B0(),X=Z.stateNode=AH(Z.type,Z.pendingProps,X,K,!1),N$||(K=zH(X,Z.type,Z.pendingProps,K),K!==null&&(S4(Z,0).serverProps=K)),G8=Z,F1=!0,K=z5,I6(Z.type)?(SU=K,z5=i8(X.firstChild)):z5=K),Z8($,Z,Z.pendingProps.children,q),HG($,Z),$===null&&(Z.flags|=4194304),Z.child;case 5:return $===null&&p0&&(N=B0(),X=KX(Z.type,N.ancestorInfo),K=z5,(W=!K)||(W=qE(K,Z.type,Z.pendingProps,F1),W!==null?(Z.stateNode=W,N$||(N=zH(W,Z.type,Z.pendingProps,N),N!==null&&(S4(Z,0).serverProps=N)),G8=Z,z5=i8(W.firstChild),F1=!1,N=!0):N=!1,W=!N),W&&(X&&hq(Z,K),R6(Z))),d0(Z),K=Z.type,N=Z.pendingProps,W=$!==null?$.memoizedProps:null,X=N.children,n3(K,N)?X=null:W!==null&&n3(K,W)&&(Z.flags|=32),Z.memoizedState!==null&&(K=hX($,Z,YT,null,null,q),vQ._currentValue=K),HG($,Z),Z8($,Z,X,q),Z.child;case 6:return $===null&&p0&&(q=Z.pendingProps,$=B0(),X=$.ancestorInfo.current,q=X!=null?Aq(q,X.tag,$.ancestorInfo.implicitRootScope):!0,$=z5,(X=!$)||(X=GE($,Z.pendingProps,F1),X!==null?(Z.stateNode=X,G8=Z,z5=null,X=!0):X=!1,X=!X),X&&(q&&hq(Z,$),R6(Z))),null;case 13:return GM($,Z,q);case 4:return l(Z,Z.stateNode.containerInfo),X=Z.pendingProps,$===null?Z.child=a4(Z,null,X,q):Z8($,Z,X,q),Z.child;case 11:return oN($,Z,Z.type,Z.pendingProps,q);case 7:return Z8($,Z,Z.pendingProps,q),Z.child;case 8:return Z8($,Z,Z.pendingProps.children,q),Z.child;case 12:return Z.flags|=4,Z.flags|=2048,X=Z.stateNode,X.effectDuration=-0,X.passiveEffectDuration=-0,Z8($,Z,Z.pendingProps.children,q),Z.child;case 10:return X=Z.type,K=Z.pendingProps,N=K.value,"value"in K||lW||(lW=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),z6(Z,X,N),Z8($,Z,K.children,q),Z.child;case 9:return K=Z.type._context,X=Z.pendingProps.children,typeof X!=="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."),k4(Z),K=_5(K),X=oY(X,K,void 0),Z.flags|=1,Z8($,Z,X,q),Z.child;case 14:return iN($,Z,Z.type,Z.pendingProps,q);case 15:return aN($,Z,Z.type,Z.pendingProps,q);case 19:return XM($,Z,q);case 31:return FT($,Z,q);case 22:return tN($,Z,q,Z.pendingProps);case 24:return k4(Z),X=_5(y5),$===null?(K=SX(),K===null&&(K=B5,N=jX(),K.pooledCache=N,b4(N),N!==null&&(K.pooledCacheLanes|=q),K=N),Z.memoizedState={parent:X,cache:K},kX(Z),z6(Z,y5,K)):(($.lanes&q)!==0&&(bX($,Z),_Z(Z,null,null,q),VZ()),K=$.memoizedState,N=Z.memoizedState,K.parent!==X?(K={parent:X,cache:X},Z.memoizedState=K,Z.lanes===0&&(Z.memoizedState=Z.updateQueue.baseState=K),z6(Z,y5,X)):(X=N.cache,z6(Z,y5,X),X!==K.cache&&OX(Z,[y5],q,!0))),Z8($,Z,Z.pendingProps.children,q),Z.child;case 29:throw Z.pendingProps}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function v$($){$.flags|=4}function P3($,Z,q,X,K){if(Z=($.mode&fw)!==_0)Z=!1;if(Z){if($.flags|=16777216,(K&335544128)===K)if($.stateNode.complete)$.flags|=8192;else if(hM())$.flags|=8192;else throw i4=XJ,aY}else $.flags&=-16777217}function YM($,Z){if(Z.type!=="stylesheet"||(Z.state.loading&V1)!==U7)$.flags&=-16777217;else if($.flags|=16777216,!yH(Z))if(hM())$.flags|=8192;else throw i4=XJ,aY}function WG($,Z){Z!==null&&($.flags|=4),$.flags&16384&&(Z=$.tag!==22?A7():536870912,$.lanes|=Z,Q7|=Z)}function CZ($,Z){if(!p0)switch($.tailMode){case"hidden":Z=$.tail;for(var q=null;Z!==null;)Z.alternate!==null&&(q=Z),Z=Z.sibling;q===null?$.tail=null:q.sibling=null;break;case"collapsed":q=$.tail;for(var X=null;q!==null;)q.alternate!==null&&(X=q),q=q.sibling;X===null?Z||$.tail===null?$.tail=null:$.tail.sibling=null:X.sibling=null}}function H5($){var Z=$.alternate!==null&&$.alternate.child===$.child,q=0,X=0;if(Z)if(($.mode&A0)!==_0){for(var{selfBaseDuration:K,child:N}=$;N!==null;)q|=N.lanes|N.childLanes,X|=N.subtreeFlags&65011712,X|=N.flags&65011712,K+=N.treeBaseDuration,N=N.sibling;$.treeBaseDuration=K}else for(K=$.child;K!==null;)q|=K.lanes|K.childLanes,X|=K.subtreeFlags&65011712,X|=K.flags&65011712,K.return=$,K=K.sibling;else if(($.mode&A0)!==_0){K=$.actualDuration,N=$.selfBaseDuration;for(var W=$.child;W!==null;)q|=W.lanes|W.childLanes,X|=W.subtreeFlags,X|=W.flags,K+=W.actualDuration,N+=W.treeBaseDuration,W=W.sibling;$.actualDuration=K,$.treeBaseDuration=N}else for(K=$.child;K!==null;)q|=K.lanes|K.childLanes,X|=K.subtreeFlags,X|=K.flags,K.return=$,K=K.sibling;return $.subtreeFlags|=X,$.childLanes=q,Z}function RT($,Z,q){var X=Z.pendingProps;switch(wX(Z),Z.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return H5(Z),null;case 1:return H5(Z),null;case 3:if(q=Z.stateNode,X=null,$!==null&&(X=$.memoizedState.cache),Z.memoizedState.cache!==X&&(Z.flags|=2048),A$(y5,Z),G0(Z),q.pendingContext&&(q.context=q.pendingContext,q.pendingContext=null),$===null||$.child===null)b7(Z)?(CX(),v$(Z)):$===null||$.memoizedState.isDehydrated&&(Z.flags&256)===0||(Z.flags|=1024,PX());return H5(Z),null;case 26:var{type:K,memoizedState:N}=Z;return $===null?(v$(Z),N!==null?(H5(Z),YM(Z,N)):(H5(Z),P3(Z,K,null,X,q))):N?N!==$.memoizedState?(v$(Z),H5(Z),YM(Z,N)):(H5(Z),Z.flags&=-16777217):($=$.memoizedProps,$!==X&&v$(Z),H5(Z),P3(Z,K,$,X,q)),null;case 27:if(k0(Z),q=C0(j6.current),K=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v$(Z);else{if(!X){if(Z.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 H5(Z),null}$=B0(),b7(Z)?oB(Z,$):($=AH(K,X,q,$,!0),Z.stateNode=$,v$(Z))}return H5(Z),null;case 5:if(k0(Z),K=Z.type,$!==null&&Z.stateNode!=null)$.memoizedProps!==X&&v$(Z);else{if(!X){if(Z.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 H5(Z),null}var W=B0();if(b7(Z))oB(Z,W);else{switch(N=C0(j6.current),KX(K,W.ancestorInfo),W=W.context,N=PG(N),W){case D9:N=N.createElementNS($9,K);break;case vJ:N=N.createElementNS(mG,K);break;default:switch(K){case"svg":N=N.createElementNS($9,K);break;case"math":N=N.createElementNS(mG,K);break;case"script":N=N.createElement("div"),N.innerHTML="<script></script>",N=N.removeChild(N.firstChild);break;case"select":N=typeof X.is==="string"?N.createElement("select",{is:X.is}):N.createElement("select"),X.multiple?N.multiple=!0:X.size&&(N.size=X.size);break;default:N=typeof X.is==="string"?N.createElement(K,{is:X.is}):N.createElement(K),K.indexOf("-")===-1&&(K!==K.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",K),Object.prototype.toString.call(N)!=="[object HTMLUnknownElement]"||j1.call(WR,K)||(WR[K]=!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.",K)))}}N[q8]=Z,N[z8]=X;$:for(W=Z.child;W!==null;){if(W.tag===5||W.tag===6)N.appendChild(W.stateNode);else if(W.tag!==4&&W.tag!==27&&W.child!==null){W.child.return=W,W=W.child;continue}if(W===Z)break $;for(;W.sibling===null;){if(W.return===null||W.return===Z)break $;W=W.return}W.sibling.return=W.return,W=W.sibling}Z.stateNode=N;$:switch(Q8(N,K,X),K){case"button":case"input":case"select":case"textarea":X=!!X.autoFocus;break $;case"img":X=!0;break $;default:X=!1}X&&v$(Z)}}return H5(Z),P3(Z,Z.type,$===null?null:$.memoizedProps,Z.pendingProps,q),null;case 6:if($&&Z.stateNode!=null)$.memoizedProps!==X&&v$(Z);else{if(typeof X!=="string"&&Z.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($=C0(j6.current),q=B0(),b7(Z)){if($=Z.stateNode,q=Z.memoizedProps,K=!N$,X=null,N=G8,N!==null)switch(N.tag){case 3:K&&(K=OH($,q,X),K!==null&&(S4(Z,0).serverProps=K));break;case 27:case 5:X=N.memoizedProps,K&&(K=OH($,q,X),K!==null&&(S4(Z,0).serverProps=K))}$[q8]=Z,$=$.nodeValue===q||X!==null&&X.suppressHydrationWarning===!0||MH($.nodeValue,q)?!0:!1,$||R6(Z,!0)}else K=q.ancestorInfo.current,K!=null&&Aq(X,K.tag,q.ancestorInfo.implicitRootScope),$=PG($).createTextNode(X),$[q8]=Z,Z.stateNode=$}return H5(Z),null;case 31:if(q=Z.memoizedState,$===null||$.memoizedState!==null){if(X=b7(Z),q!==null){if($===null){if(!X)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($=Z.memoizedState,$=$!==null?$.dehydrated:null,!$)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");$[q8]=Z,H5(Z),(Z.mode&A0)!==_0&&q!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration))}else CX(),v4(),(Z.flags&128)===0&&(q=Z.memoizedState=null),Z.flags|=4,H5(Z),(Z.mode&A0)!==_0&&q!==null&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration));$=!1}else q=PX(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=q),$=!0;if(!$){if(Z.flags&256)return n8(Z),Z;return n8(Z),null}if((Z.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return H5(Z),null;case 13:if(X=Z.memoizedState,$===null||$.memoizedState!==null&&$.memoizedState.dehydrated!==null){if(K=X,N=b7(Z),K!==null&&K.dehydrated!==null){if($===null){if(!N)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(N=Z.memoizedState,N=N!==null?N.dehydrated:null,!N)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");N[q8]=Z,H5(Z),(Z.mode&A0)!==_0&&K!==null&&(K=Z.child,K!==null&&(Z.treeBaseDuration-=K.treeBaseDuration))}else CX(),v4(),(Z.flags&128)===0&&(K=Z.memoizedState=null),Z.flags|=4,H5(Z),(Z.mode&A0)!==_0&&K!==null&&(K=Z.child,K!==null&&(Z.treeBaseDuration-=K.treeBaseDuration));K=!1}else K=PX(),$!==null&&$.memoizedState!==null&&($.memoizedState.hydrationErrors=K),K=!0;if(!K){if(Z.flags&256)return n8(Z),Z;return n8(Z),null}}if(n8(Z),(Z.flags&128)!==0)return Z.lanes=q,(Z.mode&A0)!==_0&&RZ(Z),Z;return q=X!==null,$=$!==null&&$.memoizedState!==null,q&&(X=Z.child,K=null,X.alternate!==null&&X.alternate.memoizedState!==null&&X.alternate.memoizedState.cachePool!==null&&(K=X.alternate.memoizedState.cachePool.pool),N=null,X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(N=X.memoizedState.cachePool.pool),N!==K&&(X.flags|=2048)),q!==$&&q&&(Z.child.flags|=8192),WG(Z,Z.updateQueue),H5(Z),(Z.mode&A0)!==_0&&q&&($=Z.child,$!==null&&(Z.treeBaseDuration-=$.treeBaseDuration)),null;case 4:return G0(Z),$===null&&m3(Z.stateNode.containerInfo),H5(Z),null;case 10:return A$(Z.type,Z),H5(Z),null;case 19:if(R0(v5,Z),X=Z.memoizedState,X===null)return H5(Z),null;if(K=(Z.flags&128)!==0,N=X.rendering,N===null)if(K)CZ(X,!1);else{if(w5!==s$||$!==null&&($.flags&128)!==0)for($=Z.child;$!==null;){if(N=tq($),N!==null){Z.flags|=128,CZ(X,!1),$=N.updateQueue,Z.updateQueue=$,WG(Z,$),Z.subtreeFlags=0,$=q;for(q=Z.child;q!==null;)pB(q,$),q=q.sibling;return V0(v5,v5.current&L9|FQ,Z),p0&&j$(Z,X.treeForkCount),Z.child}$=$.sibling}X.tail!==null&&o5()>VJ&&(Z.flags|=128,K=!0,CZ(X,!1),Z.lanes=4194304)}else{if(!K)if($=tq(N),$!==null){if(Z.flags|=128,K=!0,$=$.updateQueue,Z.updateQueue=$,WG(Z,$),CZ(X,!0),X.tail===null&&X.tailMode==="hidden"&&!N.alternate&&!p0)return H5(Z),null}else 2*o5()-X.renderingStartTime>VJ&&q!==536870912&&(Z.flags|=128,K=!0,CZ(X,!1),Z.lanes=4194304);X.isBackwards?(N.sibling=Z.child,Z.child=N):($=X.last,$!==null?$.sibling=N:Z.child=N,X.last=N)}if(X.tail!==null)return $=X.tail,X.rendering=$,X.tail=$.sibling,X.renderingStartTime=o5(),$.sibling=null,q=v5.current,q=K?q&L9|FQ:q&L9,V0(v5,q,Z),p0&&j$(Z,X.treeForkCount),$;return H5(Z),null;case 22:case 23:return n8(Z),yX(Z),X=Z.memoizedState!==null,$!==null?$.memoizedState!==null!==X&&(Z.flags|=8192):X&&(Z.flags|=8192),X?(q&536870912)!==0&&(Z.flags&128)===0&&(H5(Z),Z.subtreeFlags&6&&(Z.flags|=8192)):H5(Z),q=Z.updateQueue,q!==null&&WG(Z,q.retryQueue),q=null,$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(q=$.memoizedState.cachePool.pool),X=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&(X=Z.memoizedState.cachePool.pool),X!==q&&(Z.flags|=2048),$!==null&&R0(n4,Z),null;case 24:return q=null,$!==null&&(q=$.memoizedState.cache),Z.memoizedState.cache!==q&&(Z.flags|=2048),A$(y5,Z),H5(Z),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+Z.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function zT($,Z){switch(wX(Z),Z.tag){case 1:return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&A0)!==_0&&RZ(Z),Z):null;case 3:return A$(y5,Z),G0(Z),$=Z.flags,($&65536)!==0&&($&128)===0?(Z.flags=$&-65537|128,Z):null;case 26:case 27:case 5:return k0(Z),null;case 31:if(Z.memoizedState!==null){if(n8(Z),Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");v4()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&A0)!==_0&&RZ(Z),Z):null;case 13:if(n8(Z),$=Z.memoizedState,$!==null&&$.dehydrated!==null){if(Z.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");v4()}return $=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&A0)!==_0&&RZ(Z),Z):null;case 19:return R0(v5,Z),null;case 4:return G0(Z),null;case 10:return A$(Z.type,Z),null;case 22:case 23:return n8(Z),yX(Z),$!==null&&R0(n4,Z),$=Z.flags,$&65536?(Z.flags=$&-65537|128,(Z.mode&A0)!==_0&&RZ(Z),Z):null;case 24:return A$(y5,Z),null;case 25:return null;default:return null}}function UM($,Z){switch(wX(Z),Z.tag){case 3:A$(y5,Z),G0(Z);break;case 26:case 27:case 5:k0(Z);break;case 4:G0(Z);break;case 31:Z.memoizedState!==null&&n8(Z);break;case 13:n8(Z);break;case 19:R0(v5,Z);break;case 10:A$(Z.type,Z);break;case 22:case 23:n8(Z),yX(Z),$!==null&&R0(n4,Z);break;case 24:A$(y5,Z)}}function t1($){return($.mode&A0)!==_0}function KM($,Z){t1($)?(a1(),IZ(Z,$),i1()):IZ(Z,$)}function C3($,Z,q){t1($)?(a1(),u7(q,$,Z),i1()):u7(q,$,Z)}function IZ($,Z){try{var q=Z.updateQueue,X=q!==null?q.lastEffect:null;if(X!==null){var K=X.next;q=K;do{if((q.tag&$)===$&&(X=void 0,($&T8)!==UJ&&(O9=!0),X=q0(Z,uw,q),($&T8)!==UJ&&(O9=!1),X!==void 0&&typeof X!=="function")){var N=void 0;N=(q.tag&Q1)!==0?"useLayoutEffect":(q.tag&T8)!==0?"useInsertionEffect":"useEffect";var W=void 0;W=X===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof X.then==="function"?`
141
141
 
142
- It looks like you wrote `+B+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
142
+ It looks like you wrote `+N+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
143
143
 
144
- `+B+`(() => {
144
+ `+N+`(() => {
145
145
  async function fetchData() {
146
146
  // You can await here
147
147
  const response = await MyAPI.getData(someId);
@@ -150,11 +150,11 @@ It looks like you wrote `+B+`(async () => ...) or returned a Promise. Instead, w
150
150
  fetchData();
151
151
  }, [someId]); // Or [] if effect doesn't need props or state
152
152
 
153
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+X,G0(Z,function(w,_){console.error("%s must not return anything besides a function, which is used for clean-up.%s",w,_)},B,W)}G=G.next}while(G!==N)}}catch(w){$1(Z,Z.return,w)}}function u$($,Z,G){try{var X=Z.updateQueue,N=X!==null?X.lastEffect:null;if(N!==null){var B=N.next;X=B;do{if((X.tag&$)===$){var W=X.inst,w=W.destroy;w!==void 0&&(W.destroy=void 0,($&L5)!==UJ&&(O9=!0),N=Z,G0(N,mE,N,G,w),($&L5)!==UJ&&(O9=!1))}X=X.next}while(X!==B)}}catch(_){$1(Z,Z.return,_)}}function KH($,Z){t4($)?(i4(),I7(Z,$),a4()):I7(Z,$)}function IX($,Z,G){t4($)?(i4(),u$(G,$,Z),a4()):u$(G,$,Z)}function BH($){var Z=$.updateQueue;if(Z!==null){var G=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||V9||(G.props!==$.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.",d($)||"instance"),G.state!==$.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.",d($)||"instance"));try{G0($,MB,Z,G)}catch(X){$1($,$.return,X)}}}function TL($,Z,G){return $.getSnapshotBeforeUpdate(Z,G)}function zL($,Z){var{memoizedProps:G,memoizedState:X}=Z;Z=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||V9||(Z.props!==$.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.",d($)||"instance"),Z.state!==$.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.",d($)||"instance"));try{var N=h2($.type,G),B=G0($,TL,Z,N,X);G=rW,B!==void 0||G.has($.type)||(G.add($.type),G0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",d($))})),Z.__reactInternalSnapshotBeforeUpdate=B}catch(W){$1($,$.return,W)}}function HH($,Z,G){G.props=h2($.type,$.memoizedProps),G.state=$.memoizedState,t4($)?(i4(),G0($,BW,$,Z,G),a4()):G0($,BW,$,Z,G)}function _L($){var Z=$.ref;if(Z!==null){switch($.tag){case 26:case 27:case 5:var G=$.stateNode;break;case 30:G=$.stateNode;break;default:G=$.stateNode}if(typeof Z==="function")if(t4($))try{i4(),$.refCleanup=Z(G)}finally{a4()}else $.refCleanup=Z(G);else typeof Z==="string"?console.error("String refs are no longer supported."):Z.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",d($)),Z.current=G}}function O7($,Z){try{G0($,_L,$)}catch(G){$1($,Z,G)}}function e4($,Z){var{ref:G,refCleanup:X}=$;if(G!==null)if(typeof X==="function")try{if(t4($))try{i4(),G0($,X)}finally{a4($)}else G0($,X)}catch(N){$1($,Z,N)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof G==="function")try{if(t4($))try{i4(),G0($,G,null)}finally{a4($)}else G0($,G,null)}catch(N){$1($,Z,N)}else G.current=null}function MH($,Z,G,X){var N=$.memoizedProps,B=N.id,W=N.onCommit;N=N.onRender,Z=Z===null?"mount":"update",QJ&&(Z="nested-update"),typeof N==="function"&&N(B,Z,$.actualDuration,$.treeBaseDuration,$.actualStartTime,G),typeof W==="function"&&W(B,Z,X,G)}function LL($,Z,G,X){var N=$.memoizedProps;$=N.id,N=N.onPostCommit,Z=Z===null?"mount":"update",QJ&&(Z="nested-update"),typeof N==="function"&&N($,Z,X,G)}function FH($){var{type:Z,memoizedProps:G,stateNode:X}=$;try{G0($,lL,X,Z,G,$)}catch(N){$1($,$.return,N)}}function OX($,Z,G){try{G0($,sL,$.stateNode,$.type,G,Z,$)}catch(X){$1($,$.return,X)}}function WH($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&I6($.type)||$.tag===4}function DX($){$:for(;;){for(;$.sibling===null;){if($.return===null||WH($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&I6($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function jX($,Z,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?(VM(G),(G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G).insertBefore($,Z)):(VM(G),Z=G.nodeType===9?G.body:G.nodeName==="HTML"?G.ownerDocument.body:G,Z.appendChild($),G=G._reactRootContainer,G!==null&&G!==void 0||Z.onclick!==null||(Z.onclick=I8));else if(X!==4&&(X===27&&I6($.type)&&(G=$.stateNode,Z=null),$=$.child,$!==null))for(jX($,Z,G),$=$.sibling;$!==null;)jX($,Z,G),$=$.sibling}function wG($,Z,G){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?G.insertBefore($,Z):G.appendChild($);else if(X!==4&&(X===27&&I6($.type)&&(G=$.stateNode),$=$.child,$!==null))for(wG($,Z,G),$=$.sibling;$!==null;)wG($,Z,G),$=$.sibling}function VL($){for(var Z,G=$.return;G!==null;){if(WH(G)){Z=G;break}G=G.return}if(Z==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Z.tag){case 27:Z=Z.stateNode,G=DX($),wG($,G,Z);break;case 5:G=Z.stateNode,Z.flags&32&&(LM(G),Z.flags&=-33),Z=DX($),wG($,Z,G);break;case 3:case 4:Z=Z.stateNode.containerInfo,G=DX($),jX($,G,Z);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function wH($){var{stateNode:Z,memoizedProps:G}=$;try{G0($,NV,$.type,G,Z,$)}catch(X){$1($,$.return,X)}}function RH($,Z){return Z.tag===31?(Z=Z.memoizedState,$.memoizedState!==null&&Z===null):Z.tag===13?($=$.memoizedState,Z=Z.memoizedState,$!==null&&$.dehydrated!==null&&(Z===null||Z.dehydrated===null)):Z.tag===3?$.memoizedState.isDehydrated&&(Z.flags&256)===0:!1}function EL($,Z){if($=$.containerInfo,DU=yJ,$=kK($),H3($)){if("selectionStart"in $)var G={start:$.selectionStart,end:$.selectionEnd};else $:{G=(G=$.ownerDocument)&&G.defaultView||window;var X=G.getSelection&&G.getSelection();if(X&&X.rangeCount!==0){G=X.anchorNode;var{anchorOffset:N,focusNode:B}=X;X=X.focusOffset;try{G.nodeType,B.nodeType}catch(t){G=null;break $}var W=0,w=-1,_=-1,V=0,k=0,b=$,D=null;Z:for(;;){for(var y;;){if(b!==G||N!==0&&b.nodeType!==3||(w=W+N),b!==B||X!==0&&b.nodeType!==3||(_=W+X),b.nodeType===3&&(W+=b.nodeValue.length),(y=b.firstChild)===null)break;D=b,b=y}for(;;){if(b===$)break Z;if(D===G&&++V===N&&(w=W),D===B&&++k===X&&(_=W),(y=b.nextSibling)!==null)break;b=D,D=b.parentNode}b=y}G=w===-1||_===-1?null:{start:w,end:_}}else G=null}G=G||{start:0,end:0}}else G=null;jU={focusedElem:$,selectionRange:G},yJ=!1;for(i1=Z;i1!==null;)if(Z=i1,$=Z.child,(Z.subtreeFlags&1028)!==0&&$!==null)$.return=Z,i1=$;else for(;i1!==null;){switch($=Z=i1,G=$.alternate,N=$.flags,$.tag){case 0:if((N&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(G=0;G<$.length;G++)N=$[G],N.ref.impl=N.nextImpl;break;case 11:case 15:break;case 1:(N&1024)!==0&&G!==null&&zL($,G);break;case 3:if((N&1024)!==0){if($=$.stateNode.containerInfo,G=$.nodeType,G===9)oX($);else if(G===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":oX($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((N&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($=Z.sibling,$!==null){$.return=Z.return,i1=$;break}i1=Z.return}}function TH($,Z,G){var X=r5(),N=r4(),B=n4(),W=o4(),w=G.flags;switch(G.tag){case 0:case 11:case 15:$8($,G),w&4&&NH(G,Q4|R4);break;case 1:if($8($,G),w&4)if($=G.stateNode,Z===null)G.type.defaultProps||"ref"in G.memoizedProps||V9||($.props!==G.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.",d(G)||"instance"),$.state!==G.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.",d(G)||"instance")),t4(G)?(i4(),G0(G,aY,G,$),a4()):G0(G,aY,G,$);else{var _=h2(G.type,Z.memoizedProps);Z=Z.memoizedState,G.type.defaultProps||"ref"in G.memoizedProps||V9||($.props!==G.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.",d(G)||"instance"),$.state!==G.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.",d(G)||"instance")),t4(G)?(i4(),G0(G,UW,G,$,_,Z,$.__reactInternalSnapshotBeforeUpdate),a4()):G0(G,UW,G,$,_,Z,$.__reactInternalSnapshotBeforeUpdate)}w&64&&BH(G),w&512&&O7(G,G.return);break;case 3:if(Z=A8(),$8($,G),w&64&&(w=G.updateQueue,w!==null)){if(_=null,G.child!==null)switch(G.child.tag){case 27:case 5:_=G.child.stateNode;break;case 1:_=G.child.stateNode}try{G0(G,MB,w,_)}catch(k){$1(G,G.return,k)}}$.effectDuration+=pQ(Z);break;case 27:Z===null&&w&4&&wH(G);case 26:case 5:if($8($,G),Z===null){if(w&4)FH(G);else if(w&64){$=G.type,Z=G.memoizedProps,_=G.stateNode;try{G0(G,rL,_,$,Z,G)}catch(k){$1(G,G.return,k)}}}w&512&&O7(G,G.return);break;case 12:if(w&4){w=A8(),$8($,G),$=G.stateNode,$.effectDuration+=W7(w);try{G0(G,MH,G,Z,y6,$.effectDuration)}catch(k){$1(G,G.return,k)}}else $8($,G);break;case 31:$8($,G),w&4&&LH($,G);break;case 13:$8($,G),w&4&&VH($,G),w&64&&($=G.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(w=vL.bind(null,G),qV($,w))));break;case 22:if(w=G.memoizedState!==null||r8,!w){Z=Z!==null&&Z.memoizedState!==null||u1,_=r8;var V=u1;r8=w,(u1=Z)&&!V?(Z8($,G,(G.subtreeFlags&8772)!==0),(G.mode&j0)!==_0&&0<=W0&&0<=T0&&0.05<T0-W0&&kQ(G,W0,T0)):$8($,G),r8=_,u1=V}break;case 30:break;default:$8($,G)}(G.mode&j0)!==_0&&0<=W0&&0<=T0&&((I1||0.05<V1)&&c4(G,W0,T0,V1,L1),G.alternate===null&&G.return!==null&&G.return.alternate!==null&&0.05<T0-W0&&(RH(G.return.alternate,G.return)||p4(G,W0,T0,"Mount"))),s5(X),s4(N),L1=B,I1=W}function zH($){var Z=$.alternate;Z!==null&&($.alternate=null,zH(Z)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(Z=$.stateNode,Z!==null&&e(Z)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function k8($,Z,G){for(G=G.child;G!==null;)_H($,Z,G),G=G.sibling}function _H($,Z,G){if(H5&&typeof H5.onCommitFiberUnmount==="function")try{H5.onCommitFiberUnmount(t$,G)}catch(V){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",V))}var X=r5(),N=r4(),B=n4(),W=o4();switch(G.tag){case 26:u1||e4(G,Z),k8($,Z,G),G.memoizedState?G.memoizedState.count--:G.stateNode&&($=G.stateNode,$.parentNode.removeChild($));break;case 27:u1||e4(G,Z);var w=m1,_=A5;I6(G.type)&&(m1=G.stateNode,A5=!1),k8($,Z,G),G0(G,y7,G.stateNode),m1=w,A5=_;break;case 5:u1||e4(G,Z);case 6:if(w=m1,_=A5,m1=null,k8($,Z,G),m1=w,A5=_,m1!==null)if(A5)try{G0(G,aL,m1,G.stateNode)}catch(V){$1(G,Z,V)}else try{G0(G,oL,m1,G.stateNode)}catch(V){$1(G,Z,V)}break;case 18:m1!==null&&(A5?($=m1,EM($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,G.stateNode),n$($)):EM(m1,G.stateNode));break;case 4:w=m1,_=A5,m1=G.stateNode.containerInfo,A5=!0,k8($,Z,G),m1=w,A5=_;break;case 0:case 11:case 14:case 15:u$(L5,G,Z),u1||CX(G,Z,Q4),k8($,Z,G);break;case 1:u1||(e4(G,Z),w=G.stateNode,typeof w.componentWillUnmount==="function"&&HH(G,Z,w)),k8($,Z,G);break;case 21:k8($,Z,G);break;case 22:u1=(w=u1)||G.memoizedState!==null,k8($,Z,G),u1=w;break;default:k8($,Z,G)}(G.mode&j0)!==_0&&0<=W0&&0<=T0&&(I1||0.05<V1)&&c4(G,W0,T0,V1,L1),s5(X),s4(N),L1=B,I1=W}function LH($,Z){if(Z.memoizedState===null&&($=Z.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{G0(Z,YV,$)}catch(G){$1(Z,Z.return,G)}}}function VH($,Z){if(Z.memoizedState===null&&($=Z.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{G0(Z,UV,$)}catch(G){$1(Z,Z.return,G)}}function PL($){switch($.tag){case 31:case 13:case 19:var Z=$.stateNode;return Z===null&&(Z=$.stateNode=new sW),Z;case 22:return $=$.stateNode,Z=$._retryCache,Z===null&&(Z=$._retryCache=new sW),Z;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function RG($,Z){var G=PL($);Z.forEach(function(X){if(!G.has(X)){if(G.add(X),U8)if(E9!==null&&P9!==null)S7(P9,E9);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var N=kL.bind(null,$,X);X.then(N,N)}})}function D5($,Z){var G=Z.deletions;if(G!==null)for(var X=0;X<G.length;X++){var N=$,B=Z,W=G[X],w=r5(),_=B;$:for(;_!==null;){switch(_.tag){case 27:if(I6(_.type)){m1=_.stateNode,A5=!1;break $}break;case 5:m1=_.stateNode,A5=!1;break $;case 3:case 4:m1=_.stateNode.containerInfo,A5=!0;break $}_=_.return}if(m1===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");_H(N,B,W),m1=null,A5=!1,(W.mode&j0)!==_0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4(W,W0,T0,"Unmount"),s5(w),N=W,B=N.alternate,B!==null&&(B.return=null),N.return=null}if(Z.subtreeFlags&13886)for(Z=Z.child;Z!==null;)EH(Z,$),Z=Z.sibling}function EH($,Z){var G=r5(),X=r4(),N=n4(),B=o4(),W=$.alternate,w=$.flags;switch($.tag){case 0:case 11:case 14:case 15:D5(Z,$),j5($),w&4&&(u$(L5|R4,$,$.return),I7(L5|R4,$),CX($,$.return,Q4|R4));break;case 1:if(D5(Z,$),j5($),w&512&&(u1||W===null||e4(W,W.return)),w&64&&r8&&(w=$.updateQueue,w!==null&&(W=w.callbacks,W!==null))){var _=w.shared.hiddenCallbacks;w.shared.hiddenCallbacks=_===null?W:_.concat(W)}break;case 26:if(_=k4,D5(Z,$),j5($),w&512&&(u1||W===null||e4(W,W.return)),w&4){var V=W!==null?W.memoizedState:null;if(w=$.memoizedState,W===null)if(w===null)if($.stateNode===null){$:{w=$.type,W=$.memoizedProps,_=_.ownerDocument||_;Z:switch(w){case"title":if(V=_.getElementsByTagName("title")[0],!V||V[p7]||V[G5]||V.namespaceURI===$9||V.hasAttribute("itemprop"))V=_.createElement(w),_.head.insertBefore(V,_.querySelector("head > title"));Q5(V,w,W),V[G5]=$,F0(V),w=V;break $;case"link":var k=bM("link","href",_).get(w+(W.href||""));if(k){for(var b=0;b<k.length;b++)if(V=k[b],V.getAttribute("href")===(W.href==null||W.href===""?null:W.href)&&V.getAttribute("rel")===(W.rel==null?null:W.rel)&&V.getAttribute("title")===(W.title==null?null:W.title)&&V.getAttribute("crossorigin")===(W.crossOrigin==null?null:W.crossOrigin)){k.splice(b,1);break Z}}V=_.createElement(w),Q5(V,w,W),_.head.appendChild(V);break;case"meta":if(k=bM("meta","content",_).get(w+(W.content||""))){for(b=0;b<k.length;b++)if(V=k[b],Y1(W.content,"content"),V.getAttribute("content")===(W.content==null?null:""+W.content)&&V.getAttribute("name")===(W.name==null?null:W.name)&&V.getAttribute("property")===(W.property==null?null:W.property)&&V.getAttribute("http-equiv")===(W.httpEquiv==null?null:W.httpEquiv)&&V.getAttribute("charset")===(W.charSet==null?null:W.charSet)){k.splice(b,1);break Z}}V=_.createElement(w),Q5(V,w,W),_.head.appendChild(V);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+w+'". This is a bug in React.')}V[G5]=$,F0(V),w=V}$.stateNode=w}else fM(_,$.type,$.stateNode);else $.stateNode=kM(_,w,$.memoizedProps);else V!==w?(V===null?W.stateNode!==null&&(W=W.stateNode,W.parentNode.removeChild(W)):V.count--,w===null?fM(_,$.type,$.stateNode):kM(_,w,$.memoizedProps)):w===null&&$.stateNode!==null&&OX($,$.memoizedProps,W.memoizedProps)}break;case 27:D5(Z,$),j5($),w&512&&(u1||W===null||e4(W,W.return)),W!==null&&w&4&&OX($,$.memoizedProps,W.memoizedProps);break;case 5:if(D5(Z,$),j5($),w&512&&(u1||W===null||e4(W,W.return)),$.flags&32){_=$.stateNode;try{G0($,LM,_)}catch(Z0){$1($,$.return,Z0)}}w&4&&$.stateNode!=null&&(_=$.memoizedProps,OX($,_,W!==null?W.memoizedProps:_)),w&1024&&(NU=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(D5(Z,$),j5($),w&4){if($.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.");w=$.memoizedProps,W=W!==null?W.memoizedProps:w,_=$.stateNode;try{G0($,nL,_,W,w)}catch(Z0){$1($,$.return,Z0)}}break;case 3:if(_=A8(),kJ=null,V=k4,k4=CG(Z.containerInfo),D5(Z,$),k4=V,j5($),w&4&&W!==null&&W.memoizedState.isDehydrated)try{G0($,XV,Z.containerInfo)}catch(Z0){$1($,$.return,Z0)}NU&&(NU=!1,PH($)),Z.effectDuration+=pQ(_);break;case 4:w=k4,k4=CG($.stateNode.containerInfo),D5(Z,$),j5($),k4=w;break;case 12:w=A8(),D5(Z,$),j5($),$.stateNode.effectDuration+=W7(w);break;case 31:D5(Z,$),j5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,RG($,w)));break;case 13:D5(Z,$),j5($),$.child.flags&8192&&$.memoizedState!==null!==(W!==null&&W.memoizedState!==null)&&(TJ=o1()),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,RG($,w)));break;case 22:_=$.memoizedState!==null;var D=W!==null&&W.memoizedState!==null,y=r8,t=u1;if(r8=y||_,u1=t||D,D5(Z,$),u1=t,r8=y,D&&!_&&!y&&!t&&($.mode&j0)!==_0&&0<=W0&&0<=T0&&0.05<T0-W0&&kQ($,W0,T0),j5($),w&8192)$:for(Z=$.stateNode,Z._visibility=_?Z._visibility&~t7:Z._visibility|t7,!_||W===null||D||r8||u1||(x2($),($.mode&j0)!==_0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4($,W0,T0,"Disconnect")),W=null,Z=$;;){if(Z.tag===5||Z.tag===26){if(W===null){D=W=Z;try{V=D.stateNode,_?G0(D,tL,V):G0(D,ZV,D.stateNode,D.memoizedProps)}catch(Z0){$1(D,D.return,Z0)}}}else if(Z.tag===6){if(W===null){D=Z;try{k=D.stateNode,_?G0(D,eL,k):G0(D,QV,k,D.memoizedProps)}catch(Z0){$1(D,D.return,Z0)}}}else if(Z.tag===18){if(W===null){D=Z;try{b=D.stateNode,_?G0(D,iL,b):G0(D,$V,D.stateNode)}catch(Z0){$1(D,D.return,Z0)}}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===$)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===$)break $;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)break $;W===Z&&(W=null),Z=Z.return}W===Z&&(W=null),Z.sibling.return=Z.return,Z=Z.sibling}w&4&&(w=$.updateQueue,w!==null&&(W=w.retryQueue,W!==null&&(w.retryQueue=null,RG($,W))));break;case 19:D5(Z,$),j5($),w&4&&(w=$.updateQueue,w!==null&&($.updateQueue=null,RG($,w)));break;case 30:break;case 21:break;default:D5(Z,$),j5($)}($.mode&j0)!==_0&&0<=W0&&0<=T0&&((I1||0.05<V1)&&c4($,W0,T0,V1,L1),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<T0-W0&&(RH($.return.alternate,$.return)||p4($,W0,T0,"Mount"))),s5(G),s4(X),L1=N,I1=B}function j5($){var Z=$.flags;if(Z&2){try{G0($,VL,$)}catch(G){$1($,$.return,G)}$.flags&=-3}Z&4096&&($.flags&=-4097)}function PH($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var Z=$;PH(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),$=$.sibling}}function $8($,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)TH($,Z.alternate,Z),Z=Z.sibling}function CH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 14:case 15:CX($,$.return,Q4),x2($);break;case 1:e4($,$.return);var B=$.stateNode;typeof B.componentWillUnmount==="function"&&HH($,$.return,B),x2($);break;case 27:G0($,y7,$.stateNode);case 26:case 5:e4($,$.return),x2($);break;case 22:$.memoizedState===null&&x2($);break;case 30:x2($);break;default:x2($)}($.mode&j0)!==_0&&0<=W0&&0<=T0&&(I1||0.05<V1)&&c4($,W0,T0,V1,L1),s5(Z),s4(G),L1=X,I1=N}function x2($){for($=$.child;$!==null;)CH($),$=$.sibling}function IH($,Z,G,X){var N=r5(),B=r4(),W=n4(),w=o4(),_=G.flags;switch(G.tag){case 0:case 11:case 15:Z8($,G,X),NH(G,Q4);break;case 1:if(Z8($,G,X),Z=G.stateNode,typeof Z.componentDidMount==="function"&&G0(G,aY,G,Z),Z=G.updateQueue,Z!==null){$=G.stateNode;try{G0(G,XL,Z,$)}catch(V){$1(G,G.return,V)}}X&&_&64&&BH(G),O7(G,G.return);break;case 27:wH(G);case 26:case 5:Z8($,G,X),X&&Z===null&&_&4&&FH(G),O7(G,G.return);break;case 12:if(X&&_&4){_=A8(),Z8($,G,X),X=G.stateNode,X.effectDuration+=W7(_);try{G0(G,MH,G,Z,y6,X.effectDuration)}catch(V){$1(G,G.return,V)}}else Z8($,G,X);break;case 31:Z8($,G,X),X&&_&4&&LH($,G);break;case 13:Z8($,G,X),X&&_&4&&VH($,G);break;case 22:G.memoizedState===null&&Z8($,G,X),O7(G,G.return);break;case 30:break;default:Z8($,G,X)}(G.mode&j0)!==_0&&0<=W0&&0<=T0&&(I1||0.05<V1)&&c4(G,W0,T0,V1,L1),s5(N),s4(B),L1=W,I1=w}function Z8($,Z,G){G=G&&(Z.subtreeFlags&8772)!==0;for(Z=Z.child;Z!==null;)IH($,Z.alternate,Z,G),Z=Z.sibling}function AX($,Z){var G=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(G=$.memoizedState.cachePool.pool),$=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&($=Z.memoizedState.cachePool.pool),$!==G&&($!=null&&b2($),G!=null&&F7(G))}function SX($,Z){$=null,Z.alternate!==null&&($=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==$&&(b2(Z),$!=null&&F7($))}function O4($,Z,G,X,N){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(Z=Z.child;Z!==null;){var B=Z.sibling;OH($,Z,G,X,B!==null?B.actualStartTime:N),Z=B}}function OH($,Z,G,X,N){var B=r5(),W=r4(),w=n4(),_=o4(),V=v6,k=Z.flags;switch(Z.tag){case 0:case 11:case 15:(Z.mode&j0)!==_0&&0<Z.actualStartTime&&(Z.flags&1)!==0&&bQ(Z,Z.actualStartTime,N,l1,G),O4($,Z,G,X,N),k&2048&&KH(Z,V5|R4);break;case 1:(Z.mode&j0)!==_0&&0<Z.actualStartTime&&((Z.flags&128)!==0?F3(Z,Z.actualStartTime,N,[]):(Z.flags&1)!==0&&bQ(Z,Z.actualStartTime,N,l1,G)),O4($,Z,G,X,N);break;case 3:var b=A8(),D=l1;l1=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,O4($,Z,G,X,N),l1=D,k&2048&&(G=null,Z.alternate!==null&&(G=Z.alternate.memoizedState.cache),X=Z.memoizedState.cache,X!==G&&(b2(X),G!=null&&F7(G))),$.passiveEffectDuration+=pQ(b);break;case 12:if(k&2048){k=A8(),O4($,Z,G,X,N),$=Z.stateNode,$.passiveEffectDuration+=W7(k);try{G0(Z,LL,Z,Z.alternate,y6,$.passiveEffectDuration)}catch(y){$1(Z,Z.return,y)}}else O4($,Z,G,X,N);break;case 31:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,D=Z.memoizedState,b!==null&&D===null?(D=Z.deletions,D!==null&&0<D.length&&D[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0):l1=!1,O4($,Z,G,X,N),l1=k;break;case 13:k=l1,b=Z.alternate!==null?Z.alternate.memoizedState:null,D=Z.memoizedState,b===null||b.dehydrated===null||D!==null&&D.dehydrated!==null?l1=!1:(D=Z.deletions,D!==null&&0<D.length&&D[0].tag===18?(l1=!1,b=b.hydrationErrors,b!==null&&F3(Z,Z.actualStartTime,N,b)):l1=!0),O4($,Z,G,X,N),l1=k;break;case 23:break;case 22:D=Z.stateNode,b=Z.alternate,Z.memoizedState!==null?D._visibility&y8?O4($,Z,G,X,N):D7($,Z,G,X,N):D._visibility&y8?O4($,Z,G,X,N):(D._visibility|=y8,m$($,Z,G,X,(Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child),N),(Z.mode&j0)===_0||l1||($=Z.actualStartTime,0<=$&&0.05<N-$&&kQ(Z,$,N),0<=W0&&0<=T0&&0.05<T0-W0&&kQ(Z,W0,T0))),k&2048&&AX(b,Z);break;case 24:O4($,Z,G,X,N),k&2048&&SX(Z.alternate,Z);break;default:O4($,Z,G,X,N)}if((Z.mode&j0)!==_0){if($=!l1&&Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null)G=Z.actualStartTime,0<=G&&0.05<N-G&&p4(Z,G,N,"Mount");0<=W0&&0<=T0&&((I1||0.05<V1)&&c4(Z,W0,T0,V1,L1),$&&0.05<T0-W0&&p4(Z,W0,T0,"Mount"))}s5(B),s4(W),L1=w,I1=_,v6=V}function m$($,Z,G,X,N,B){N=N&&((Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child));for(Z=Z.child;Z!==null;){var W=Z.sibling;DH($,Z,G,X,N,W!==null?W.actualStartTime:B),Z=W}}function DH($,Z,G,X,N,B){var W=r5(),w=r4(),_=n4(),V=o4(),k=v6;N&&(Z.mode&j0)!==_0&&0<Z.actualStartTime&&(Z.flags&1)!==0&&bQ(Z,Z.actualStartTime,B,l1,G);var b=Z.flags;switch(Z.tag){case 0:case 11:case 15:m$($,Z,G,X,N,B),KH(Z,V5);break;case 23:break;case 22:var D=Z.stateNode;Z.memoizedState!==null?D._visibility&y8?m$($,Z,G,X,N,B):D7($,Z,G,X,B):(D._visibility|=y8,m$($,Z,G,X,N,B)),N&&b&2048&&AX(Z.alternate,Z);break;case 24:m$($,Z,G,X,N,B),N&&b&2048&&SX(Z.alternate,Z);break;default:m$($,Z,G,X,N,B)}(Z.mode&j0)!==_0&&0<=W0&&0<=T0&&(I1||0.05<V1)&&c4(Z,W0,T0,V1,L1),s5(W),s4(w),L1=_,I1=V,v6=k}function D7($,Z,G,X,N){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(var B=Z.child;B!==null;){Z=B.sibling;var W=$,w=G,_=X,V=Z!==null?Z.actualStartTime:N,k=v6;(B.mode&j0)!==_0&&0<B.actualStartTime&&(B.flags&1)!==0&&bQ(B,B.actualStartTime,V,l1,w);var b=B.flags;switch(B.tag){case 22:D7(W,B,w,_,V),b&2048&&AX(B.alternate,B);break;case 24:D7(W,B,w,_,V),b&2048&&SX(B.alternate,B);break;default:D7(W,B,w,_,V)}v6=k,B=Z}}function d$($,Z,G){if($.subtreeFlags&TZ)for($=$.child;$!==null;)jH($,Z,G),$=$.sibling}function jH($,Z,G){switch($.tag){case 26:d$($,Z,G),$.flags&TZ&&$.memoizedState!==null&&HV(G,k4,$.memoizedState,$.memoizedProps);break;case 5:d$($,Z,G);break;case 3:case 4:var X=k4;k4=CG($.stateNode.containerInfo),d$($,Z,G),k4=X;break;case 22:$.memoizedState===null&&(X=$.alternate,X!==null&&X.memoizedState!==null?(X=TZ,TZ=16777216,d$($,Z,G),TZ=X):d$($,Z,G));break;default:d$($,Z,G)}}function AH($){var Z=$.alternate;if(Z!==null&&($=Z.child,$!==null)){Z.child=null;do Z=$.sibling,$.sibling=null,$=Z;while($!==null)}}function j7($){var Z=$.deletions;if(($.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var X=Z[G],N=r5();i1=X,kH(X,$),(X.mode&j0)!==_0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4(X,W0,T0,"Unmount"),s5(N)}AH($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)SH($),$=$.sibling}function SH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 15:j7($),$.flags&2048&&IX($,$.return,V5|R4);break;case 3:var B=A8();j7($),$.stateNode.passiveEffectDuration+=pQ(B);break;case 12:B=A8(),j7($),$.stateNode.passiveEffectDuration+=W7(B);break;case 22:B=$.stateNode,$.memoizedState!==null&&B._visibility&y8&&($.return===null||$.return.tag!==13)?(B._visibility&=~y8,TG($),($.mode&j0)!==_0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4($,W0,T0,"Disconnect")):j7($);break;default:j7($)}($.mode&j0)!==_0&&0<=W0&&0<=T0&&(I1||0.05<V1)&&c4($,W0,T0,V1,L1),s5(Z),s4(G),I1=N,L1=X}function TG($){var Z=$.deletions;if(($.flags&16)!==0){if(Z!==null)for(var G=0;G<Z.length;G++){var X=Z[G],N=r5();i1=X,kH(X,$),(X.mode&j0)!==_0&&0<=W0&&0<=T0&&0.05<T0-W0&&p4(X,W0,T0,"Unmount"),s5(N)}AH($)}for($=$.child;$!==null;)vH($),$=$.sibling}function vH($){var Z=r5(),G=r4(),X=n4(),N=o4();switch($.tag){case 0:case 11:case 15:IX($,$.return,V5),TG($);break;case 22:var B=$.stateNode;B._visibility&y8&&(B._visibility&=~y8,TG($));break;default:TG($)}($.mode&j0)!==_0&&0<=W0&&0<=T0&&(I1||0.05<V1)&&c4($,W0,T0,V1,L1),s5(Z),s4(G),I1=N,L1=X}function kH($,Z){for(;i1!==null;){var G=i1,X=G,N=Z,B=r5(),W=r4(),w=n4(),_=o4();switch(X.tag){case 0:case 11:case 15:IX(X,N,V5);break;case 23:case 22:X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(N=X.memoizedState.cachePool.pool,N!=null&&b2(N));break;case 24:F7(X.memoizedState.cache)}if((X.mode&j0)!==_0&&0<=W0&&0<=T0&&(I1||0.05<V1)&&c4(X,W0,T0,V1,L1),s5(B),s4(W),I1=_,L1=w,X=G.child,X!==null)X.return=G,i1=X;else $:for(G=$;i1!==null;){if(X=i1,B=X.sibling,W=X.return,zH(X),X===G){i1=null;break $}if(B!==null){B.return=W,i1=B;break $}i1=W}}}function CL(){rE.forEach(function($){return $()})}function bH(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||x.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function o5($){if((o0&r1)!==t1&&S0!==0)return S0&-S0;var Z=x.T;return Z!==null?(Z._updatedFibers||(Z._updatedFibers=new Set),Z._updatedFibers.add($),xX()):f()}function fH(){if(v5===0)if((S0&536870912)===0||p0){var $=gG;gG<<=1,(gG&3932160)===0&&(gG=262144),v5=$}else v5=536870912;return $=Z4.current,$!==null&&($.flags|=32),v5}function C1($,Z,G){if(O9&&console.error("useInsertionEffect must not schedule updates."),_U&&(VJ=!0),$===K1&&(q1===$$||q1===Z$)||$.cancelPendingCommit!==null)c$($,0),P6($,S0,v5,!1);if(H6($,G),(o0&r1)!==t1&&$===K1){if(X8)switch(Z.tag){case 0:case 11:case 15:$=v0&&d(v0)||"Unknown",Uw.has($)||(Uw.add($),Z=d(Z)||"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",Z,$,$));break;case 1:Yw||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Yw=!0)}}else U8&&G7($,Z,G),fL(Z),$===K1&&((o0&r1)===t1&&(l6|=G),E1===d6&&P6($,S0,v5,!1)),Q8($)}function yH($,Z,G){if((o0&(r1|G4))!==t1)throw Error("Should not already be working.");if(S0!==0&&v0!==null){var X=v0,N=o1();switch($W){case LZ:case $$:var B=JZ;w1&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Suspended",B,N,N4,void 0,"primary-light")):console.timeStamp("Suspended",B,N,N4,void 0,"primary-light"));break;case Z$:B=JZ,w1&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Action",B,N,N4,void 0,"primary-light")):console.timeStamp("Action",B,N,N4,void 0,"primary-light"));break;default:w1&&(X=N-JZ,3>X||console.timeStamp("Blocked",JZ,N,N4,void 0,5>X?"primary-light":10>X?"primary":100>X?"primary-dark":"error"))}}B=(G=!G&&(Z&127)===0&&(Z&$.expiredLanes)===0||L2($,Z))?OL($,Z):kX($,Z,!0);var W=G;do{if(B===s8){C9&&!G&&P6($,Z,0,!1),Z=q1,JZ=g1(),$W=Z;break}else{if(X=o1(),N=$.current.alternate,W&&!IL(N)){c5(Z),N=a1,B=X,!w1||B<=N||(S1?S1.run(console.timeStamp.bind(console,"Teared Render",N,B,u0,g0,"error")):console.timeStamp("Teared Render",N,B,u0,g0,"error")),u2(Z,X),B=kX($,Z,!1),W=!1;continue}if(B===e2){if(W=Z,$.errorRecoveryDisabledLanes&W)var w=0;else w=$.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){c5(Z),W3(a1,X,Z,S1),u2(Z,X),Z=w;$:{X=$,B=W,W=EZ;var _=X.current.memoizedState.isDehydrated;if(_&&(c$(X,w).flags|=256),w=kX(X,w,!1),w!==e2){if(HU&&!_){X.errorRecoveryDisabledLanes|=B,l6|=B,B=d6;break $}X=E5,E5=W,X!==null&&(E5===null?E5=X:E5.push.apply(E5,X))}B=w}if(W=!1,B!==e2)continue;else X=o1()}}if(B===_Z){c5(Z),W3(a1,X,Z,S1),u2(Z,X),c$($,0),P6($,Z,0,!0);break}$:{switch(G=$,B){case s8:case _Z:throw Error("Root did not complete. This is a bug in React.");case d6:if((Z&4194048)!==Z)break;case FJ:c5(Z),yK(a1,X,Z,S1),u2(Z,X),N=Z,(N&127)!==0?eG=X:(N&4194048)!==0&&($J=X),P6(G,Z,v5,!p6);break $;case e2:E5=null;break;case MJ:case nW:break;default:throw Error("Unknown root exit status.")}if(x.actQueue!==null)bX(G,N,Z,E5,PZ,RJ,v5,l6,Q$,B,null,null,a1,X);else{if((Z&62914560)===Z&&(W=TJ+iW-o1(),10<W)){if(P6(G,Z,v5,!p6),_2(G,0,!0)!==0)break $;b4=Z,G.timeoutHandle=ww(gH.bind(null,G,N,E5,PZ,RJ,Z,v5,l6,Q$,p6,B,"Throttled",a1,X),W);break $}gH(G,N,E5,PZ,RJ,Z,v5,l6,Q$,p6,B,null,a1,X)}}}break}while(1);Q8($)}function gH($,Z,G,X,N,B,W,w,_,V,k,b,D,y){$.timeoutHandle=Y$;var t=Z.subtreeFlags,Z0=null;if(t&8192||(t&16785408)===16785408){if(Z0={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:I8},jH(Z,B,Z0),t=(B&62914560)===B?TJ-o1():(B&4194048)===B?aW-o1():0,t=MV(Z0,t),t!==null){b4=B,$.cancelPendingCommit=t(bX.bind(null,$,Z,B,G,X,N,W,w,_,k,Z0,Z0.waitingForViewTransition?"Waiting for the previous Animation":0<Z0.count?0<Z0.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Z0.imgCount===1?"Suspended on an Image":0<Z0.imgCount?"Suspended on Images":null,D,y)),P6($,B,W,!V);return}}bX($,Z,B,G,X,N,W,w,_,k,Z0,b,D,y)}function IL($){for(var Z=$;;){var G=Z.tag;if((G===0||G===11||G===15)&&Z.flags&16384&&(G=Z.updateQueue,G!==null&&(G=G.stores,G!==null)))for(var X=0;X<G.length;X++){var N=G[X],B=N.getSnapshot;N=N.value;try{if(!z5(B(),N))return!1}catch(W){return!1}}if(G=Z.child,Z.subtreeFlags&16384&&G!==null)G.return=Z,Z=G;else{if(Z===$)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)return!0;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!0}function P6($,Z,G,X){Z&=~MU,Z&=~l6,$.suspendedLanes|=Z,$.pingedLanes&=~Z,X&&($.warmLanes|=Z),X=$.expirationTimes;for(var N=Z;0<N;){var B=31-w5(N),W=1<<B;X[B]=-1,N&=~W}G!==0&&V2($,G,Z)}function p$(){return(o0&(r1|G4))===t1?(v7(0,!1),!1):!0}function vX(){if(v0!==null){if(q1===S5)var $=v0.return;else $=v0,uQ(),p3($),w9=null,MZ=0,$=v0;for(;$!==null;)UH($.alternate,$),$=$.return;v0=null}}function u2($,Z){($&127)!==0&&(g6=Z),($&4194048)!==0&&(M8=Z),($&62914560)!==0&&(tF=Z),($&2080374784)!==0&&(eF=Z)}function c$($,Z){w1&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",g0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",g0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",g0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",g0,"primary-light"));var G=a1;if(a1=g1(),S0!==0&&0<G){if(c5(S0),E1===MJ||E1===d6)yK(G,a1,Z,S1);else{var X=a1,N=S1;if(w1&&!(X<=G)){var B=(Z&738197653)===Z?"tertiary-dark":"primary-dark",W=(Z&536870912)===Z?"Prewarm":(Z&201326741)===Z?"Interrupted Hydration":"Interrupted Render";N?N.run(console.timeStamp.bind(console,W,G,X,u0,g0,B)):console.timeStamp(W,G,X,u0,g0,B)}}u2(S0,a1)}if(G=S1,S1=null,(Z&127)!==0){S1=ZZ,N=0<=H8&&H8<g6?g6:H8,X=0<=l2&&l2<g6?g6:l2,B=0<=X?X:0<=N?N:a1,0<=eG?(c5(2),gK(eG,B,Z,G)):(ZJ&127)!==0&&(c5(2),H7(g6,B,d8)),G=N;var w=X,_=QZ,V=0<M9,k=h6===$Z,b=h6===tG;if(N=a1,X=ZZ,B=lY,W=rY,w1){if(u0="Blocking",0<G?G>N&&(G=N):G=N,0<w?w>G&&(w=G):w=G,_!==null&&G>w){var D=V?"secondary-light":"warning";X?X.run(console.timeStamp.bind(console,V?"Consecutive":"Event: "+_,w,G,u0,g0,D)):console.timeStamp(V?"Consecutive":"Event: "+_,w,G,u0,g0,D)}N>G&&(w=k?"error":(Z&738197653)===Z?"tertiary-light":"primary-light",k=b?"Promise Resolved":k?"Cascading Update":5<N-G?"Update Blocked":"Update",b=[],W!=null&&b.push(["Component name",W]),B!=null&&b.push(["Method name",B]),G={start:G,end:N,detail:{devtools:{properties:b,track:u0,trackGroup:g0,color:w}}},X?X.run(performance.measure.bind(performance,k,G)):performance.measure(k,G))}H8=-1.1,h6=0,rY=lY=null,eG=-1.1,M9=l2,l2=-1.1,g6=g1()}if((Z&4194048)!==0&&(S1=GZ,N=0<=m8&&m8<M8?M8:m8,G=0<=W4&&W4<M8?M8:W4,X=0<=x6&&x6<M8?M8:x6,B=0<=X?X:0<=G?G:a1,0<=$J?(c5(256),gK($J,B,Z,S1)):(ZJ&4194048)!==0&&(c5(256),H7(M8,B,d8)),b=X,w=r2,_=0<u6,V=sY===tG,B=a1,X=GZ,W=aF,k=iF,w1&&(u0="Transition",0<G?G>B&&(G=B):G=B,0<N?N>G&&(N=G):N=G,0<b?b>N&&(b=N):b=N,N>b&&w!==null&&(D=_?"secondary-light":"warning",X?X.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+w,b,N,u0,g0,D)):console.timeStamp(_?"Consecutive":"Event: "+w,b,N,u0,g0,D)),G>N&&(X?X.run(console.timeStamp.bind(console,"Action",N,G,u0,g0,"primary-dark")):console.timeStamp("Action",N,G,u0,g0,"primary-dark")),B>G&&(N=V?"Promise Resolved":5<B-G?"Update Blocked":"Update",b=[],k!=null&&b.push(["Component name",k]),W!=null&&b.push(["Method name",W]),G={start:G,end:B,detail:{devtools:{properties:b,track:u0,trackGroup:g0,color:"primary-light"}}},X?X.run(performance.measure.bind(performance,N,G)):performance.measure(N,G))),W4=m8=-1.1,sY=0,$J=-1.1,u6=x6,x6=-1.1,M8=g1()),(Z&62914560)!==0&&(ZJ&62914560)!==0&&(c5(4194304),H7(tF,a1,d8)),(Z&2080374784)!==0&&(ZJ&2080374784)!==0&&(c5(268435456),H7(eF,a1,d8)),G=$.timeoutHandle,G!==Y$&&($.timeoutHandle=Y$,qP(G)),G=$.cancelPendingCommit,G!==null&&($.cancelPendingCommit=null,G()),b4=0,vX(),K1=$,v0=G=O8($.current,null),S0=Z,q1=S5,J4=null,p6=!1,C9=L2($,Z),HU=!1,E1=s8,Q$=v5=MU=l6=c6=0,E5=EZ=null,RJ=!1,(Z&8)!==0&&(Z|=Z&32),X=$.entangledLanes,X!==0)for($=$.entanglements,X&=Z;0<X;)N=31-w5(X),B=1<<N,Z|=$[N],X&=~B;return W8=Z,fQ(),$=cF(),1000<$-pF&&(x.recentlyCreatedOwnerStacks=0,pF=$),S4.discardPendingWarnings(),G}function hH($,Z){L0=null,x.H=RZ,x.getCurrentStack=null,X8=!1,t5=null,Z===W9||Z===qJ?(Z=qB(),q1=LZ):Z===iY?(Z=qB(),q1=oW):q1=Z===YU?BU:Z!==null&&typeof Z==="object"&&typeof Z.then==="function"?VZ:WJ,J4=Z;var G=v0;G===null?(E1=_Z,BG($,l5(Z,$.current))):G.mode&j0&&A3(G)}function xH(){var $=Z4.current;return $===null?!0:(S0&4194048)===S0?w4===null?!0:!1:(S0&62914560)===S0||(S0&536870912)!==0?$===w4:!1}function uH(){var $=x.H;return x.H=RZ,$===null?RZ:$}function mH(){var $=x.A;return x.A=lE,$}function zG($){S1===null&&(S1=$._debugTask==null?null:$._debugTask)}function _G(){E1=d6,p6||(S0&4194048)!==S0&&Z4.current!==null||(C9=!0),(c6&134217727)===0&&(l6&134217727)===0||K1===null||P6(K1,S0,v5,!1)}function kX($,Z,G){var X=o0;o0|=r1;var N=uH(),B=mH();if(K1!==$||S0!==Z){if(U8){var W=$.memoizedUpdaters;0<W.size&&(S7($,S0),W.clear()),M6($,Z)}PZ=null,c$($,Z)}Z=!1,W=E1;$:do try{if(q1!==S5&&v0!==null){var w=v0,_=J4;switch(q1){case BU:vX(),W=FJ;break $;case LZ:case $$:case Z$:case VZ:Z4.current===null&&(Z=!0);var V=q1;if(q1=S5,J4=null,l$($,w,_,V),G&&C9){W=s8;break $}break;default:V=q1,q1=S5,J4=null,l$($,w,_,V)}}dH(),W=E1;break}catch(k){hH($,k)}while(1);return Z&&$.shellSuspendCounter++,uQ(),o0=X,x.H=N,x.A=B,v0===null&&(K1=null,S0=0,fQ()),W}function dH(){for(;v0!==null;)pH(v0)}function OL($,Z){var G=o0;o0|=r1;var X=uH(),N=mH();if(K1!==$||S0!==Z){if(U8){var B=$.memoizedUpdaters;0<B.size&&(S7($,S0),B.clear()),M6($,Z)}PZ=null,zJ=o1()+tW,c$($,Z)}else C9=L2($,Z);$:do try{if(q1!==S5&&v0!==null)Z:switch(Z=v0,B=J4,q1){case WJ:q1=S5,J4=null,l$($,Z,B,WJ);break;case $$:case Z$:if(GB(B)){q1=S5,J4=null,cH(Z);break}Z=function(){q1!==$$&&q1!==Z$||K1!==$||(q1=wJ),Q8($)},B.then(Z,Z);break $;case LZ:q1=wJ;break $;case oW:q1=KU;break $;case wJ:GB(B)?(q1=S5,J4=null,cH(Z)):(q1=S5,J4=null,l$($,Z,B,wJ));break;case KU:var W=null;switch(v0.tag){case 26:W=v0.memoizedState;case 5:case 27:var w=v0;if(W?yM(W):w.stateNode.complete){q1=S5,J4=null;var _=w.sibling;if(_!==null)v0=_;else{var V=w.return;V!==null?(v0=V,LG(V)):v0=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}q1=S5,J4=null,l$($,Z,B,KU);break;case VZ:q1=S5,J4=null,l$($,Z,B,VZ);break;case BU:vX(),E1=FJ;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}x.actQueue!==null?dH():DL();break}catch(k){hH($,k)}while(1);if(uQ(),x.H=X,x.A=N,o0=G,v0!==null)return s8;return K1=null,S0=0,fQ(),E1}function DL(){for(;v0!==null&&!IV();)pH(v0)}function pH($){var Z=$.alternate;($.mode&j0)!==_0?(j3($),Z=G0($,EX,Z,$,W8),A3($)):Z=G0($,EX,Z,$,W8),$.memoizedProps=$.pendingProps,Z===null?LG($):v0=Z}function cH($){var Z=G0($,jL,$);$.memoizedProps=$.pendingProps,Z===null?LG($):v0=Z}function jL($){var Z=$.alternate,G=($.mode&j0)!==_0;switch(G&&j3($),$.tag){case 15:case 0:Z=ZH(Z,$,$.pendingProps,$.type,void 0,S0);break;case 11:Z=ZH(Z,$,$.pendingProps,$.type.render,$.ref,S0);break;case 5:p3($);default:UH(Z,$),$=v0=pK($,W8),Z=EX(Z,$,W8)}return G&&A3($),Z}function l$($,Z,G,X){uQ(),p3(Z),w9=null,MZ=0;var N=Z.return;try{if(ML($,N,Z,G,S0)){E1=_Z,BG($,l5(G,$.current)),v0=null;return}}catch(B){if(N!==null)throw v0=N,B;E1=_Z,BG($,l5(G,$.current)),v0=null;return}if(Z.flags&32768){if(p0||X===WJ)$=!0;else if(C9||(S0&536870912)!==0)$=!1;else if(p6=$=!0,X===$$||X===Z$||X===LZ||X===VZ)X=Z4.current,X!==null&&X.tag===13&&(X.flags|=16384);lH(Z,$)}else LG(Z)}function LG($){var Z=$;do{if((Z.flags&32768)!==0){lH(Z,p6);return}var G=Z.alternate;if($=Z.return,j3(Z),G=G0(Z,wL,G,Z,W8),(Z.mode&j0)!==_0&&tK(Z),G!==null){v0=G;return}if(Z=Z.sibling,Z!==null){v0=Z;return}v0=Z=$}while(Z!==null);E1===s8&&(E1=nW)}function lH($,Z){do{var G=RL($.alternate,$);if(G!==null){G.flags&=32767,v0=G;return}if(($.mode&j0)!==_0){tK($),G=$.actualDuration;for(var X=$.child;X!==null;)G+=X.actualDuration,X=X.sibling;$.actualDuration=G}if(G=$.return,G!==null&&(G.flags|=32768,G.subtreeFlags=0,G.deletions=null),!Z&&($=$.sibling,$!==null)){v0=$;return}v0=$=G}while($!==null);E1=FJ,v0=null}function bX($,Z,G,X,N,B,W,w,_,V,k,b,D,y){$.cancelPendingCommit=null;do A7();while(d1!==s6);if(S4.flushLegacyContextWarning(),S4.flushPendingUnsafeLifecycleWarnings(),(o0&(r1|G4))!==t1)throw Error("Should not already be working.");if(c5(G),V===e2?W3(D,y,G,S1):X!==null?$L(D,y,G,X,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,S1):e_(D,y,G,S1),Z!==null){if(G===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Z===$.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(B=Z.lanes|Z.childLanes,B|=uY,PQ($,G,B,W,w,_),$===K1&&(v0=K1=null,S0=0),I9=Z,n6=$,b4=G,wU=B,TU=N,Jw=X,RU=y,qw=b,f4=_J,Xw=null,Z.actualDuration!==0||(Z.subtreeFlags&10256)!==0||(Z.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,bL(i$,function(){return AZ=window.event,f4===_J&&(f4=WU),aH(),null})):($.callbackNode=null,$.callbackPriority=0),u8=null,y6=g1(),b!==null&&ZL(y,y6,b,S1),X=(Z.flags&13878)!==0,(Z.subtreeFlags&13878)!==0||X){X=x.T,x.T=null,N=Z1.p,Z1.p=e5,W=o0,o0|=G4;try{EL($,Z,G)}finally{o0=W,Z1.p=N,x.T=X}}d1=$w,rH(),sH(),nH()}}function rH(){if(d1===$w){d1=s6;var $=n6,Z=I9,G=b4,X=(Z.flags&13878)!==0;if((Z.subtreeFlags&13878)!==0||X){X=x.T,x.T=null;var N=Z1.p;Z1.p=e5;var B=o0;o0|=G4;try{E9=G,P9=$,cQ(),EH(Z,$),P9=E9=null,G=jU;var W=kK($.containerInfo),w=G.focusedElem,_=G.selectionRange;if(W!==w&&w&&w.ownerDocument&&vK(w.ownerDocument.documentElement,w)){if(_!==null&&H3(w)){var{start:V,end:k}=_;if(k===void 0&&(k=V),"selectionStart"in w)w.selectionStart=V,w.selectionEnd=Math.min(k,w.value.length);else{var b=w.ownerDocument||document,D=b&&b.defaultView||window;if(D.getSelection){var y=D.getSelection(),t=w.textContent.length,Z0=Math.min(_.start,t),F1=_.end===void 0?Z0:Math.min(_.end,t);!y.extend&&Z0>F1&&(W=F1,F1=Z0,Z0=W);var l0=SK(w,Z0),O=SK(w,F1);if(l0&&O&&(y.rangeCount!==1||y.anchorNode!==l0.node||y.anchorOffset!==l0.offset||y.focusNode!==O.node||y.focusOffset!==O.offset)){var j=b.createRange();j.setStart(l0.node,l0.offset),y.removeAllRanges(),Z0>F1?(y.addRange(j),y.extend(O.node,O.offset)):(j.setEnd(O.node,O.offset),y.addRange(j))}}}}b=[];for(y=w;y=y.parentNode;)y.nodeType===1&&b.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof w.focus==="function"&&w.focus();for(w=0;w<b.length;w++){var v=b[w];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}yJ=!!DU,jU=DU=null}finally{o0=B,Z1.p=N,x.T=X}}$.current=Z,d1=Zw}}function sH(){if(d1===Zw){d1=s6;var $=Xw;if($!==null){y6=g1();var Z=x8,G=y6;!w1||G<=Z||(d8?d8.run(console.timeStamp.bind(console,$,Z,G,u0,g0,"secondary-light")):console.timeStamp($,Z,G,u0,g0,"secondary-light"))}$=n6,Z=I9,G=b4;var X=(Z.flags&8772)!==0;if((Z.subtreeFlags&8772)!==0||X){X=x.T,x.T=null;var N=Z1.p;Z1.p=e5;var B=o0;o0|=G4;try{E9=G,P9=$,cQ(),TH($,Z.alternate,Z),P9=E9=null}finally{o0=B,Z1.p=N,x.T=X}}$=RU,Z=qw,x8=g1(),$=Z===null?$:y6,Z=x8,G=f4===FU,X=S1,u8!==null?hK($,Z,u8,!1,X):!w1||Z<=$||(X?X.run(console.timeStamp.bind(console,G?"Commit Interrupted View Transition":"Commit",$,Z,u0,g0,G?"error":"secondary-dark")):console.timeStamp(G?"Commit Interrupted View Transition":"Commit",$,Z,u0,g0,G?"error":"secondary-dark")),d1=Qw}}function nH(){if(d1===Gw||d1===Qw){if(d1===Gw){var $=x8;x8=g1();var Z=x8,G=f4===FU;!w1||Z<=$||(d8?d8.run(console.timeStamp.bind(console,G?"Interrupted View Transition":"Starting Animation",$,Z,u0,g0,G?"error":"secondary-light")):console.timeStamp(G?"Interrupted View Transition":"Starting Animation",$,Z,u0,g0,G?" error":"secondary-light")),f4!==FU&&(f4=eW)}d1=s6,OV(),$=n6;var X=I9;Z=b4,G=Jw;var N=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;N?d1=LJ:(d1=s6,I9=n6=null,oH($,$.pendingLanes),G$=0,IZ=null);var B=$.pendingLanes;if(B===0&&(r6=null),N||$M($),B=E(Z),X=X.stateNode,H5&&typeof H5.onCommitFiberRoot==="function")try{var W=(X.current.flags&128)===128;switch(B){case e5:var w=TY;break;case j4:w=zY;break;case N8:w=i$;break;case xG:w=_Y;break;default:w=i$}H5.onCommitFiberRoot(t$,X,w,W)}catch(b){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",b))}if(U8&&$.memoizedUpdaters.clear(),CL(),G!==null){W=x.T,w=Z1.p,Z1.p=e5,x.T=null;try{var _=$.onRecoverableError;for(X=0;X<G.length;X++){var V=G[X],k=AL(V.stack);G0(V.source,_,V.value,k)}}finally{x.T=W,Z1.p=w}}(b4&3)!==0&&A7(),Q8($),B=$.pendingLanes,(Z&261930)!==0&&(B&42)!==0?(GJ=!0,$===zU?CZ++:(CZ=0,zU=$)):CZ=0,N||u2(Z,x8),v7(0,!1)}}function AL($){return $={componentStack:$},Object.defineProperty($,"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.')}}),$}function oH($,Z){($.pooledCacheLanes&=Z)===0&&(Z=$.pooledCache,Z!=null&&($.pooledCache=null,F7(Z)))}function A7(){return rH(),sH(),nH(),aH()}function aH(){if(d1!==LJ)return!1;var $=n6,Z=wU;wU=0;var G=E(b4),X=N8===0||N8>G?N8:G;G=x.T;var N=Z1.p;try{Z1.p=X,x.T=null;var B=TU;TU=null,X=n6;var W=b4;if(d1=s6,I9=n6=null,b4=0,(o0&(r1|G4))!==t1)throw Error("Cannot flush passive effects while already rendering.");c5(W),_U=!0,VJ=!1;var w=0;if(u8=null,w=o1(),f4===eW)H7(x8,w,d8);else{var _=x8,V=w,k=f4===WU;!w1||V<=_||(S1?S1.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",_,V,u0,g0,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",_,V,u0,g0,"secondary-light"))}_=o0,o0|=G4;var b=X.current;cQ(),SH(b);var D=X.current;b=RU,cQ(),OH(X,D,W,B,b),$M(X),o0=_;var y=o1();if(D=w,b=S1,u8!==null?hK(D,y,u8,!0,b):!w1||y<=D||(b?b.run(console.timeStamp.bind(console,"Remaining Effects",D,y,u0,g0,"secondary-dark")):console.timeStamp("Remaining Effects",D,y,u0,g0,"secondary-dark")),u2(W,y),v7(0,!1),VJ?X===IZ?G$++:(G$=0,IZ=X):G$=0,VJ=_U=!1,H5&&typeof H5.onPostCommitFiberRoot==="function")try{H5.onPostCommitFiberRoot(t$,X)}catch(Z0){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",Z0))}var t=X.current.stateNode;return t.effectDuration=0,t.passiveEffectDuration=0,!0}finally{Z1.p=N,x.T=G,oH($,Z)}}function iH($,Z,G){Z=l5(G,Z),eK(Z),Z=HX($.stateNode,Z,2),$=_6($,Z,2),$!==null&&(H6($,2),Q8($))}function $1($,Z,G){if(O9=!1,$.tag===3)iH($,$,G);else{for(;Z!==null;){if(Z.tag===3){iH(Z,$,G);return}if(Z.tag===1){var X=Z.stateNode;if(typeof Z.type.getDerivedStateFromError==="function"||typeof X.componentDidCatch==="function"&&(r6===null||!r6.has(X))){$=l5(G,$),eK($),G=MX(2),X=_6(Z,G,2),X!==null&&(FX(G,X,Z,$),H6(X,2),Q8(X));return}}Z=Z.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.
153
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+X,q0(Z,function(R,_){console.error("%s must not return anything besides a function, which is used for clean-up.%s",R,_)},N,W)}q=q.next}while(q!==K)}}catch(R){$5(Z,Z.return,R)}}function u7($,Z,q){try{var X=Z.updateQueue,K=X!==null?X.lastEffect:null;if(K!==null){var N=K.next;X=N;do{if((X.tag&$)===$){var W=X.inst,R=W.destroy;R!==void 0&&(W.destroy=void 0,($&T8)!==UJ&&(O9=!0),K=Z,q0(K,mw,K,q,R),($&T8)!==UJ&&(O9=!1))}X=X.next}while(X!==N)}}catch(_){$5(Z,Z.return,_)}}function BM($,Z){t1($)?(a1(),IZ(Z,$),i1()):IZ(Z,$)}function I3($,Z,q){t1($)?(a1(),u7(q,$,Z),i1()):u7(q,$,Z)}function NM($){var Z=$.updateQueue;if(Z!==null){var q=$.stateNode;$.type.defaultProps||"ref"in $.memoizedProps||E9||(q.props!==$.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.",d($)||"instance"),q.state!==$.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.",d($)||"instance"));try{q0($,HN,Z,q)}catch(X){$5($,$.return,X)}}}function LT($,Z,q){return $.getSnapshotBeforeUpdate(Z,q)}function VT($,Z){var{memoizedProps:q,memoizedState:X}=Z;Z=$.stateNode,$.type.defaultProps||"ref"in $.memoizedProps||E9||(Z.props!==$.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.",d($)||"instance"),Z.state!==$.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.",d($)||"instance"));try{var K=x4($.type,q),N=q0($,LT,Z,K,X);q=rW,N!==void 0||q.has($.type)||(q.add($.type),q0($,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",d($))})),Z.__reactInternalSnapshotBeforeUpdate=N}catch(W){$5($,$.return,W)}}function MM($,Z,q){q.props=x4($.type,$.memoizedProps),q.state=$.memoizedState,t1($)?(a1(),q0($,NW,$,Z,q),i1()):q0($,NW,$,Z,q)}function _T($){var Z=$.ref;if(Z!==null){switch($.tag){case 26:case 27:case 5:var q=$.stateNode;break;case 30:q=$.stateNode;break;default:q=$.stateNode}if(typeof Z==="function")if(t1($))try{a1(),$.refCleanup=Z(q)}finally{i1()}else $.refCleanup=Z(q);else typeof Z==="string"?console.error("String refs are no longer supported."):Z.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",d($)),Z.current=q}}function OZ($,Z){try{q0($,_T,$)}catch(q){$5($,Z,q)}}function e1($,Z){var{ref:q,refCleanup:X}=$;if(q!==null)if(typeof X==="function")try{if(t1($))try{a1(),q0($,X)}finally{i1($)}else q0($,X)}catch(K){$5($,Z,K)}finally{$.refCleanup=null,$=$.alternate,$!=null&&($.refCleanup=null)}else if(typeof q==="function")try{if(t1($))try{a1(),q0($,q,null)}finally{i1($)}else q0($,q,null)}catch(K){$5($,Z,K)}else q.current=null}function HM($,Z,q,X){var K=$.memoizedProps,N=K.id,W=K.onCommit;K=K.onRender,Z=Z===null?"mount":"update",QJ&&(Z="nested-update"),typeof K==="function"&&K(N,Z,$.actualDuration,$.treeBaseDuration,$.actualStartTime,q),typeof W==="function"&&W(N,Z,X,q)}function TT($,Z,q,X){var K=$.memoizedProps;$=K.id,K=K.onPostCommit,Z=Z===null?"mount":"update",QJ&&(Z="nested-update"),typeof K==="function"&&K($,Z,X,q)}function FM($){var{type:Z,memoizedProps:q,stateNode:X}=$;try{q0($,lT,X,Z,q,$)}catch(K){$5($,$.return,K)}}function O3($,Z,q){try{q0($,sT,$.stateNode,$.type,q,Z,$)}catch(X){$5($,$.return,X)}}function WM($){return $.tag===5||$.tag===3||$.tag===26||$.tag===27&&I6($.type)||$.tag===4}function j3($){$:for(;;){for(;$.sibling===null;){if($.return===null||WM($.return))return null;$=$.return}$.sibling.return=$.return;for($=$.sibling;$.tag!==5&&$.tag!==6&&$.tag!==18;){if($.tag===27&&I6($.type))continue $;if($.flags&2)continue $;if($.child===null||$.tag===4)continue $;else $.child.return=$,$=$.child}if(!($.flags&2))return $.stateNode}}function A3($,Z,q){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?(EH(q),(q.nodeType===9?q.body:q.nodeName==="HTML"?q.ownerDocument.body:q).insertBefore($,Z)):(EH(q),Z=q.nodeType===9?q.body:q.nodeName==="HTML"?q.ownerDocument.body:q,Z.appendChild($),q=q._reactRootContainer,q!==null&&q!==void 0||Z.onclick!==null||(Z.onclick=I$));else if(X!==4&&(X===27&&I6($.type)&&(q=$.stateNode,Z=null),$=$.child,$!==null))for(A3($,Z,q),$=$.sibling;$!==null;)A3($,Z,q),$=$.sibling}function RG($,Z,q){var X=$.tag;if(X===5||X===6)$=$.stateNode,Z?q.insertBefore($,Z):q.appendChild($);else if(X!==4&&(X===27&&I6($.type)&&(q=$.stateNode),$=$.child,$!==null))for(RG($,Z,q),$=$.sibling;$!==null;)RG($,Z,q),$=$.sibling}function ET($){for(var Z,q=$.return;q!==null;){if(WM(q)){Z=q;break}q=q.return}if(Z==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(Z.tag){case 27:Z=Z.stateNode,q=j3($),RG($,q,Z);break;case 5:q=Z.stateNode,Z.flags&32&&(TH(q),Z.flags&=-33),Z=j3($),RG($,Z,q);break;case 3:case 4:Z=Z.stateNode.containerInfo,q=j3($),A3($,q,Z);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function RM($){var{stateNode:Z,memoizedProps:q}=$;try{q0($,KE,$.type,q,Z,$)}catch(X){$5($,$.return,X)}}function zM($,Z){return Z.tag===31?(Z=Z.memoizedState,$.memoizedState!==null&&Z===null):Z.tag===13?($=$.memoizedState,Z=Z.memoizedState,$!==null&&$.dehydrated!==null&&(Z===null||Z.dehydrated===null)):Z.tag===3?$.memoizedState.isDehydrated&&(Z.flags&256)===0:!1}function wT($,Z){if($=$.containerInfo,jU=yJ,$=kB($),MX($)){if("selectionStart"in $)var q={start:$.selectionStart,end:$.selectionEnd};else $:{q=(q=$.ownerDocument)&&q.defaultView||window;var X=q.getSelection&&q.getSelection();if(X&&X.rangeCount!==0){q=X.anchorNode;var{anchorOffset:K,focusNode:N}=X;X=X.focusOffset;try{q.nodeType,N.nodeType}catch(t){q=null;break $}var W=0,R=-1,_=-1,E=0,k=0,b=$,j=null;Z:for(;;){for(var y;;){if(b!==q||K!==0&&b.nodeType!==3||(R=W+K),b!==N||X!==0&&b.nodeType!==3||(_=W+X),b.nodeType===3&&(W+=b.nodeValue.length),(y=b.firstChild)===null)break;j=b,b=y}for(;;){if(b===$)break Z;if(j===q&&++E===K&&(R=W),j===N&&++k===X&&(_=W),(y=b.nextSibling)!==null)break;b=j,j=b.parentNode}b=y}q=R===-1||_===-1?null:{start:R,end:_}}else q=null}q=q||{start:0,end:0}}else q=null;AU={focusedElem:$,selectionRange:q},yJ=!1;for(a5=Z;a5!==null;)if(Z=a5,$=Z.child,(Z.subtreeFlags&1028)!==0&&$!==null)$.return=Z,a5=$;else for(;a5!==null;){switch($=Z=a5,q=$.alternate,K=$.flags,$.tag){case 0:if((K&4)!==0&&($=$.updateQueue,$=$!==null?$.events:null,$!==null))for(q=0;q<$.length;q++)K=$[q],K.ref.impl=K.nextImpl;break;case 11:case 15:break;case 1:(K&1024)!==0&&q!==null&&VT($,q);break;case 3:if((K&1024)!==0){if($=$.stateNode.containerInfo,q=$.nodeType,q===9)o3($);else if(q===1)switch($.nodeName){case"HEAD":case"HTML":case"BODY":o3($);break;default:$.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((K&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($=Z.sibling,$!==null){$.return=Z.return,a5=$;break}a5=Z.return}}function LM($,Z,q){var X=r8(),K=r1(),N=n1(),W=o1(),R=q.flags;switch(q.tag){case 0:case 11:case 15:$$($,q),R&4&&KM(q,Q1|z1);break;case 1:if($$($,q),R&4)if($=q.stateNode,Z===null)q.type.defaultProps||"ref"in q.memoizedProps||E9||($.props!==q.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.",d(q)||"instance"),$.state!==q.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.",d(q)||"instance")),t1(q)?(a1(),q0(q,iY,q,$),i1()):q0(q,iY,q,$);else{var _=x4(q.type,Z.memoizedProps);Z=Z.memoizedState,q.type.defaultProps||"ref"in q.memoizedProps||E9||($.props!==q.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.",d(q)||"instance"),$.state!==q.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.",d(q)||"instance")),t1(q)?(a1(),q0(q,UW,q,$,_,Z,$.__reactInternalSnapshotBeforeUpdate),i1()):q0(q,UW,q,$,_,Z,$.__reactInternalSnapshotBeforeUpdate)}R&64&&NM(q),R&512&&OZ(q,q.return);break;case 3:if(Z=D$(),$$($,q),R&64&&(R=q.updateQueue,R!==null)){if(_=null,q.child!==null)switch(q.child.tag){case 27:case 5:_=q.child.stateNode;break;case 1:_=q.child.stateNode}try{q0(q,HN,R,_)}catch(k){$5(q,q.return,k)}}$.effectDuration+=pq(Z);break;case 27:Z===null&&R&4&&RM(q);case 26:case 5:if($$($,q),Z===null){if(R&4)FM(q);else if(R&64){$=q.type,Z=q.memoizedProps,_=q.stateNode;try{q0(q,rT,_,$,Z,q)}catch(k){$5(q,q.return,k)}}}R&512&&OZ(q,q.return);break;case 12:if(R&4){R=D$(),$$($,q),$=q.stateNode,$.effectDuration+=WZ(R);try{q0(q,HM,q,Z,y6,$.effectDuration)}catch(k){$5(q,q.return,k)}}else $$($,q);break;case 31:$$($,q),R&4&&TM($,q);break;case 13:$$($,q),R&4&&EM($,q),R&64&&($=q.memoizedState,$!==null&&($=$.dehydrated,$!==null&&(R=vT.bind(null,q),JE($,R))));break;case 22:if(R=q.memoizedState!==null||r$,!R){Z=Z!==null&&Z.memoizedState!==null||u5,_=r$;var E=u5;r$=R,(u5=Z)&&!E?(Z$($,q,(q.subtreeFlags&8772)!==0),(q.mode&A0)!==_0&&0<=W0&&0<=L0&&0.05<L0-W0&&kq(q,W0,L0)):$$($,q),r$=_,u5=E}break;case 30:break;default:$$($,q)}(q.mode&A0)!==_0&&0<=W0&&0<=L0&&((I5||0.05<E5)&&c1(q,W0,L0,E5,T5),q.alternate===null&&q.return!==null&&q.return.alternate!==null&&0.05<L0-W0&&(zM(q.return.alternate,q.return)||p1(q,W0,L0,"Mount"))),s8(X),s1(K),T5=N,I5=W}function VM($){var Z=$.alternate;Z!==null&&($.alternate=null,VM(Z)),$.child=null,$.deletions=null,$.sibling=null,$.tag===5&&(Z=$.stateNode,Z!==null&&e(Z)),$.stateNode=null,$._debugOwner=null,$.return=null,$.dependencies=null,$.memoizedProps=null,$.memoizedState=null,$.pendingProps=null,$.stateNode=null,$.updateQueue=null}function k$($,Z,q){for(q=q.child;q!==null;)_M($,Z,q),q=q.sibling}function _M($,Z,q){if(M8&&typeof M8.onCommitFiberUnmount==="function")try{M8.onCommitFiberUnmount(t7,q)}catch(E){Y$||(Y$=!0,console.error("React instrumentation encountered an error: %o",E))}var X=r8(),K=r1(),N=n1(),W=o1();switch(q.tag){case 26:u5||e1(q,Z),k$($,Z,q),q.memoizedState?q.memoizedState.count--:q.stateNode&&($=q.stateNode,$.parentNode.removeChild($));break;case 27:u5||e1(q,Z);var R=m5,_=D8;I6(q.type)&&(m5=q.stateNode,D8=!1),k$($,Z,q),q0(q,yZ,q.stateNode),m5=R,D8=_;break;case 5:u5||e1(q,Z);case 6:if(R=m5,_=D8,m5=null,k$($,Z,q),m5=R,D8=_,m5!==null)if(D8)try{q0(q,iT,m5,q.stateNode)}catch(E){$5(q,Z,E)}else try{q0(q,oT,m5,q.stateNode)}catch(E){$5(q,Z,E)}break;case 18:m5!==null&&(D8?($=m5,wH($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$,q.stateNode),n7($)):wH(m5,q.stateNode));break;case 4:R=m5,_=D8,m5=q.stateNode.containerInfo,D8=!0,k$($,Z,q),m5=R,D8=_;break;case 0:case 11:case 14:case 15:u7(T8,q,Z),u5||C3(q,Z,Q1),k$($,Z,q);break;case 1:u5||(e1(q,Z),R=q.stateNode,typeof R.componentWillUnmount==="function"&&MM(q,Z,R)),k$($,Z,q);break;case 21:k$($,Z,q);break;case 22:u5=(R=u5)||q.memoizedState!==null,k$($,Z,q),u5=R;break;default:k$($,Z,q)}(q.mode&A0)!==_0&&0<=W0&&0<=L0&&(I5||0.05<E5)&&c1(q,W0,L0,E5,T5),s8(X),s1(K),T5=N,I5=W}function TM($,Z){if(Z.memoizedState===null&&($=Z.alternate,$!==null&&($=$.memoizedState,$!==null))){$=$.dehydrated;try{q0(Z,YE,$)}catch(q){$5(Z,Z.return,q)}}}function EM($,Z){if(Z.memoizedState===null&&($=Z.alternate,$!==null&&($=$.memoizedState,$!==null&&($=$.dehydrated,$!==null))))try{q0(Z,UE,$)}catch(q){$5(Z,Z.return,q)}}function PT($){switch($.tag){case 31:case 13:case 19:var Z=$.stateNode;return Z===null&&(Z=$.stateNode=new sW),Z;case 22:return $=$.stateNode,Z=$._retryCache,Z===null&&(Z=$._retryCache=new sW),Z;default:throw Error("Unexpected Suspense handler tag ("+$.tag+"). This is a bug in React.")}}function zG($,Z){var q=PT($);Z.forEach(function(X){if(!q.has(X)){if(q.add(X),U$)if(w9!==null&&P9!==null)SZ(P9,w9);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var K=kT.bind(null,$,X);X.then(K,K)}})}function j8($,Z){var q=Z.deletions;if(q!==null)for(var X=0;X<q.length;X++){var K=$,N=Z,W=q[X],R=r8(),_=N;$:for(;_!==null;){switch(_.tag){case 27:if(I6(_.type)){m5=_.stateNode,D8=!1;break $}break;case 5:m5=_.stateNode,D8=!1;break $;case 3:case 4:m5=_.stateNode.containerInfo,D8=!0;break $}_=_.return}if(m5===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");_M(K,N,W),m5=null,D8=!1,(W.mode&A0)!==_0&&0<=W0&&0<=L0&&0.05<L0-W0&&p1(W,W0,L0,"Unmount"),s8(R),K=W,N=K.alternate,N!==null&&(N.return=null),K.return=null}if(Z.subtreeFlags&13886)for(Z=Z.child;Z!==null;)wM(Z,$),Z=Z.sibling}function wM($,Z){var q=r8(),X=r1(),K=n1(),N=o1(),W=$.alternate,R=$.flags;switch($.tag){case 0:case 11:case 14:case 15:j8(Z,$),A8($),R&4&&(u7(T8|z1,$,$.return),IZ(T8|z1,$),C3($,$.return,Q1|z1));break;case 1:if(j8(Z,$),A8($),R&512&&(u5||W===null||e1(W,W.return)),R&64&&r$&&(R=$.updateQueue,R!==null&&(W=R.callbacks,W!==null))){var _=R.shared.hiddenCallbacks;R.shared.hiddenCallbacks=_===null?W:_.concat(W)}break;case 26:if(_=k1,j8(Z,$),A8($),R&512&&(u5||W===null||e1(W,W.return)),R&4){var E=W!==null?W.memoizedState:null;if(R=$.memoizedState,W===null)if(R===null)if($.stateNode===null){$:{R=$.type,W=$.memoizedProps,_=_.ownerDocument||_;Z:switch(R){case"title":if(E=_.getElementsByTagName("title")[0],!E||E[pZ]||E[q8]||E.namespaceURI===$9||E.hasAttribute("itemprop"))E=_.createElement(R),_.head.insertBefore(E,_.querySelector("head > title"));Q8(E,R,W),E[q8]=$,F0(E),R=E;break $;case"link":var k=bH("link","href",_).get(R+(W.href||""));if(k){for(var b=0;b<k.length;b++)if(E=k[b],E.getAttribute("href")===(W.href==null||W.href===""?null:W.href)&&E.getAttribute("rel")===(W.rel==null?null:W.rel)&&E.getAttribute("title")===(W.title==null?null:W.title)&&E.getAttribute("crossorigin")===(W.crossOrigin==null?null:W.crossOrigin)){k.splice(b,1);break Z}}E=_.createElement(R),Q8(E,R,W),_.head.appendChild(E);break;case"meta":if(k=bH("meta","content",_).get(R+(W.content||""))){for(b=0;b<k.length;b++)if(E=k[b],Y5(W.content,"content"),E.getAttribute("content")===(W.content==null?null:""+W.content)&&E.getAttribute("name")===(W.name==null?null:W.name)&&E.getAttribute("property")===(W.property==null?null:W.property)&&E.getAttribute("http-equiv")===(W.httpEquiv==null?null:W.httpEquiv)&&E.getAttribute("charset")===(W.charSet==null?null:W.charSet)){k.splice(b,1);break Z}}E=_.createElement(R),Q8(E,R,W),_.head.appendChild(E);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+R+'". This is a bug in React.')}E[q8]=$,F0(E),R=E}$.stateNode=R}else fH(_,$.type,$.stateNode);else $.stateNode=kH(_,R,$.memoizedProps);else E!==R?(E===null?W.stateNode!==null&&(W=W.stateNode,W.parentNode.removeChild(W)):E.count--,R===null?fH(_,$.type,$.stateNode):kH(_,R,$.memoizedProps)):R===null&&$.stateNode!==null&&O3($,$.memoizedProps,W.memoizedProps)}break;case 27:j8(Z,$),A8($),R&512&&(u5||W===null||e1(W,W.return)),W!==null&&R&4&&O3($,$.memoizedProps,W.memoizedProps);break;case 5:if(j8(Z,$),A8($),R&512&&(u5||W===null||e1(W,W.return)),$.flags&32){_=$.stateNode;try{q0($,TH,_)}catch(Z0){$5($,$.return,Z0)}}R&4&&$.stateNode!=null&&(_=$.memoizedProps,O3($,_,W!==null?W.memoizedProps:_)),R&1024&&(KU=!0,$.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(j8(Z,$),A8($),R&4){if($.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.");R=$.memoizedProps,W=W!==null?W.memoizedProps:R,_=$.stateNode;try{q0($,nT,_,W,R)}catch(Z0){$5($,$.return,Z0)}}break;case 3:if(_=D$(),kJ=null,E=k1,k1=CG(Z.containerInfo),j8(Z,$),k1=E,A8($),R&4&&W!==null&&W.memoizedState.isDehydrated)try{q0($,XE,Z.containerInfo)}catch(Z0){$5($,$.return,Z0)}KU&&(KU=!1,PM($)),Z.effectDuration+=pq(_);break;case 4:R=k1,k1=CG($.stateNode.containerInfo),j8(Z,$),A8($),k1=R;break;case 12:R=D$(),j8(Z,$),A8($),$.stateNode.effectDuration+=WZ(R);break;case 31:j8(Z,$),A8($),R&4&&(R=$.updateQueue,R!==null&&($.updateQueue=null,zG($,R)));break;case 13:j8(Z,$),A8($),$.child.flags&8192&&$.memoizedState!==null!==(W!==null&&W.memoizedState!==null)&&(LJ=o5()),R&4&&(R=$.updateQueue,R!==null&&($.updateQueue=null,zG($,R)));break;case 22:_=$.memoizedState!==null;var j=W!==null&&W.memoizedState!==null,y=r$,t=u5;if(r$=y||_,u5=t||j,j8(Z,$),u5=t,r$=y,j&&!_&&!y&&!t&&($.mode&A0)!==_0&&0<=W0&&0<=L0&&0.05<L0-W0&&kq($,W0,L0),A8($),R&8192)$:for(Z=$.stateNode,Z._visibility=_?Z._visibility&~tZ:Z._visibility|tZ,!_||W===null||j||r$||u5||(h4($),($.mode&A0)!==_0&&0<=W0&&0<=L0&&0.05<L0-W0&&p1($,W0,L0,"Disconnect")),W=null,Z=$;;){if(Z.tag===5||Z.tag===26){if(W===null){j=W=Z;try{E=j.stateNode,_?q0(j,tT,E):q0(j,ZE,j.stateNode,j.memoizedProps)}catch(Z0){$5(j,j.return,Z0)}}}else if(Z.tag===6){if(W===null){j=Z;try{k=j.stateNode,_?q0(j,eT,k):q0(j,QE,k,j.memoizedProps)}catch(Z0){$5(j,j.return,Z0)}}}else if(Z.tag===18){if(W===null){j=Z;try{b=j.stateNode,_?q0(j,aT,b):q0(j,$E,j.stateNode)}catch(Z0){$5(j,j.return,Z0)}}}else if((Z.tag!==22&&Z.tag!==23||Z.memoizedState===null||Z===$)&&Z.child!==null){Z.child.return=Z,Z=Z.child;continue}if(Z===$)break $;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)break $;W===Z&&(W=null),Z=Z.return}W===Z&&(W=null),Z.sibling.return=Z.return,Z=Z.sibling}R&4&&(R=$.updateQueue,R!==null&&(W=R.retryQueue,W!==null&&(R.retryQueue=null,zG($,W))));break;case 19:j8(Z,$),A8($),R&4&&(R=$.updateQueue,R!==null&&($.updateQueue=null,zG($,R)));break;case 30:break;case 21:break;default:j8(Z,$),A8($)}($.mode&A0)!==_0&&0<=W0&&0<=L0&&((I5||0.05<E5)&&c1($,W0,L0,E5,T5),$.alternate===null&&$.return!==null&&$.return.alternate!==null&&0.05<L0-W0&&(zM($.return.alternate,$.return)||p1($,W0,L0,"Mount"))),s8(q),s1(X),T5=K,I5=N}function A8($){var Z=$.flags;if(Z&2){try{q0($,ET,$)}catch(q){$5($,$.return,q)}$.flags&=-3}Z&4096&&($.flags&=-4097)}function PM($){if($.subtreeFlags&1024)for($=$.child;$!==null;){var Z=$;PM(Z),Z.tag===5&&Z.flags&1024&&Z.stateNode.reset(),$=$.sibling}}function $$($,Z){if(Z.subtreeFlags&8772)for(Z=Z.child;Z!==null;)LM($,Z.alternate,Z),Z=Z.sibling}function CM($){var Z=r8(),q=r1(),X=n1(),K=o1();switch($.tag){case 0:case 11:case 14:case 15:C3($,$.return,Q1),h4($);break;case 1:e1($,$.return);var N=$.stateNode;typeof N.componentWillUnmount==="function"&&MM($,$.return,N),h4($);break;case 27:q0($,yZ,$.stateNode);case 26:case 5:e1($,$.return),h4($);break;case 22:$.memoizedState===null&&h4($);break;case 30:h4($);break;default:h4($)}($.mode&A0)!==_0&&0<=W0&&0<=L0&&(I5||0.05<E5)&&c1($,W0,L0,E5,T5),s8(Z),s1(q),T5=X,I5=K}function h4($){for($=$.child;$!==null;)CM($),$=$.sibling}function IM($,Z,q,X){var K=r8(),N=r1(),W=n1(),R=o1(),_=q.flags;switch(q.tag){case 0:case 11:case 15:Z$($,q,X),KM(q,Q1);break;case 1:if(Z$($,q,X),Z=q.stateNode,typeof Z.componentDidMount==="function"&&q0(q,iY,q,Z),Z=q.updateQueue,Z!==null){$=q.stateNode;try{q0(q,XT,Z,$)}catch(E){$5(q,q.return,E)}}X&&_&64&&NM(q),OZ(q,q.return);break;case 27:RM(q);case 26:case 5:Z$($,q,X),X&&Z===null&&_&4&&FM(q),OZ(q,q.return);break;case 12:if(X&&_&4){_=D$(),Z$($,q,X),X=q.stateNode,X.effectDuration+=WZ(_);try{q0(q,HM,q,Z,y6,X.effectDuration)}catch(E){$5(q,q.return,E)}}else Z$($,q,X);break;case 31:Z$($,q,X),X&&_&4&&TM($,q);break;case 13:Z$($,q,X),X&&_&4&&EM($,q);break;case 22:q.memoizedState===null&&Z$($,q,X),OZ(q,q.return);break;case 30:break;default:Z$($,q,X)}(q.mode&A0)!==_0&&0<=W0&&0<=L0&&(I5||0.05<E5)&&c1(q,W0,L0,E5,T5),s8(K),s1(N),T5=W,I5=R}function Z$($,Z,q){q=q&&(Z.subtreeFlags&8772)!==0;for(Z=Z.child;Z!==null;)IM($,Z.alternate,Z,q),Z=Z.sibling}function D3($,Z){var q=null;$!==null&&$.memoizedState!==null&&$.memoizedState.cachePool!==null&&(q=$.memoizedState.cachePool.pool),$=null,Z.memoizedState!==null&&Z.memoizedState.cachePool!==null&&($=Z.memoizedState.cachePool.pool),$!==q&&($!=null&&b4($),q!=null&&FZ(q))}function S3($,Z){$=null,Z.alternate!==null&&($=Z.alternate.memoizedState.cache),Z=Z.memoizedState.cache,Z!==$&&(b4(Z),$!=null&&FZ($))}function O1($,Z,q,X,K){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(Z=Z.child;Z!==null;){var N=Z.sibling;OM($,Z,q,X,N!==null?N.actualStartTime:K),Z=N}}function OM($,Z,q,X,K){var N=r8(),W=r1(),R=n1(),_=o1(),E=v6,k=Z.flags;switch(Z.tag){case 0:case 11:case 15:(Z.mode&A0)!==_0&&0<Z.actualStartTime&&(Z.flags&1)!==0&&bq(Z,Z.actualStartTime,K,l5,q),O1($,Z,q,X,K),k&2048&&BM(Z,E8|z1);break;case 1:(Z.mode&A0)!==_0&&0<Z.actualStartTime&&((Z.flags&128)!==0?FX(Z,Z.actualStartTime,K,[]):(Z.flags&1)!==0&&bq(Z,Z.actualStartTime,K,l5,q)),O1($,Z,q,X,K);break;case 3:var b=D$(),j=l5;l5=Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)===0,O1($,Z,q,X,K),l5=j,k&2048&&(q=null,Z.alternate!==null&&(q=Z.alternate.memoizedState.cache),X=Z.memoizedState.cache,X!==q&&(b4(X),q!=null&&FZ(q))),$.passiveEffectDuration+=pq(b);break;case 12:if(k&2048){k=D$(),O1($,Z,q,X,K),$=Z.stateNode,$.passiveEffectDuration+=WZ(k);try{q0(Z,TT,Z,Z.alternate,y6,$.passiveEffectDuration)}catch(y){$5(Z,Z.return,y)}}else O1($,Z,q,X,K);break;case 31:k=l5,b=Z.alternate!==null?Z.alternate.memoizedState:null,j=Z.memoizedState,b!==null&&j===null?(j=Z.deletions,j!==null&&0<j.length&&j[0].tag===18?(l5=!1,b=b.hydrationErrors,b!==null&&FX(Z,Z.actualStartTime,K,b)):l5=!0):l5=!1,O1($,Z,q,X,K),l5=k;break;case 13:k=l5,b=Z.alternate!==null?Z.alternate.memoizedState:null,j=Z.memoizedState,b===null||b.dehydrated===null||j!==null&&j.dehydrated!==null?l5=!1:(j=Z.deletions,j!==null&&0<j.length&&j[0].tag===18?(l5=!1,b=b.hydrationErrors,b!==null&&FX(Z,Z.actualStartTime,K,b)):l5=!0),O1($,Z,q,X,K),l5=k;break;case 23:break;case 22:j=Z.stateNode,b=Z.alternate,Z.memoizedState!==null?j._visibility&y$?O1($,Z,q,X,K):jZ($,Z,q,X,K):j._visibility&y$?O1($,Z,q,X,K):(j._visibility|=y$,m7($,Z,q,X,(Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child),K),(Z.mode&A0)===_0||l5||($=Z.actualStartTime,0<=$&&0.05<K-$&&kq(Z,$,K),0<=W0&&0<=L0&&0.05<L0-W0&&kq(Z,W0,L0))),k&2048&&D3(b,Z);break;case 24:O1($,Z,q,X,K),k&2048&&S3(Z.alternate,Z);break;default:O1($,Z,q,X,K)}if((Z.mode&A0)!==_0){if($=!l5&&Z.alternate===null&&Z.return!==null&&Z.return.alternate!==null)q=Z.actualStartTime,0<=q&&0.05<K-q&&p1(Z,q,K,"Mount");0<=W0&&0<=L0&&((I5||0.05<E5)&&c1(Z,W0,L0,E5,T5),$&&0.05<L0-W0&&p1(Z,W0,L0,"Mount"))}s8(N),s1(W),T5=R,I5=_,v6=E}function m7($,Z,q,X,K,N){K=K&&((Z.subtreeFlags&10256)!==0||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child));for(Z=Z.child;Z!==null;){var W=Z.sibling;jM($,Z,q,X,K,W!==null?W.actualStartTime:N),Z=W}}function jM($,Z,q,X,K,N){var W=r8(),R=r1(),_=n1(),E=o1(),k=v6;K&&(Z.mode&A0)!==_0&&0<Z.actualStartTime&&(Z.flags&1)!==0&&bq(Z,Z.actualStartTime,N,l5,q);var b=Z.flags;switch(Z.tag){case 0:case 11:case 15:m7($,Z,q,X,K,N),BM(Z,E8);break;case 23:break;case 22:var j=Z.stateNode;Z.memoizedState!==null?j._visibility&y$?m7($,Z,q,X,K,N):jZ($,Z,q,X,N):(j._visibility|=y$,m7($,Z,q,X,K,N)),K&&b&2048&&D3(Z.alternate,Z);break;case 24:m7($,Z,q,X,K,N),K&&b&2048&&S3(Z.alternate,Z);break;default:m7($,Z,q,X,K,N)}(Z.mode&A0)!==_0&&0<=W0&&0<=L0&&(I5||0.05<E5)&&c1(Z,W0,L0,E5,T5),s8(W),s1(R),T5=_,I5=E,v6=k}function jZ($,Z,q,X,K){if(Z.subtreeFlags&10256||Z.actualDuration!==0&&(Z.alternate===null||Z.alternate.child!==Z.child))for(var N=Z.child;N!==null;){Z=N.sibling;var W=$,R=q,_=X,E=Z!==null?Z.actualStartTime:K,k=v6;(N.mode&A0)!==_0&&0<N.actualStartTime&&(N.flags&1)!==0&&bq(N,N.actualStartTime,E,l5,R);var b=N.flags;switch(N.tag){case 22:jZ(W,N,R,_,E),b&2048&&D3(N.alternate,N);break;case 24:jZ(W,N,R,_,E),b&2048&&S3(N.alternate,N);break;default:jZ(W,N,R,_,E)}v6=k,N=Z}}function d7($,Z,q){if($.subtreeFlags&LQ)for($=$.child;$!==null;)AM($,Z,q),$=$.sibling}function AM($,Z,q){switch($.tag){case 26:d7($,Z,q),$.flags&LQ&&$.memoizedState!==null&&ME(q,k1,$.memoizedState,$.memoizedProps);break;case 5:d7($,Z,q);break;case 3:case 4:var X=k1;k1=CG($.stateNode.containerInfo),d7($,Z,q),k1=X;break;case 22:$.memoizedState===null&&(X=$.alternate,X!==null&&X.memoizedState!==null?(X=LQ,LQ=16777216,d7($,Z,q),LQ=X):d7($,Z,q));break;default:d7($,Z,q)}}function DM($){var Z=$.alternate;if(Z!==null&&($=Z.child,$!==null)){Z.child=null;do Z=$.sibling,$.sibling=null,$=Z;while($!==null)}}function AZ($){var Z=$.deletions;if(($.flags&16)!==0){if(Z!==null)for(var q=0;q<Z.length;q++){var X=Z[q],K=r8();a5=X,kM(X,$),(X.mode&A0)!==_0&&0<=W0&&0<=L0&&0.05<L0-W0&&p1(X,W0,L0,"Unmount"),s8(K)}DM($)}if($.subtreeFlags&10256)for($=$.child;$!==null;)SM($),$=$.sibling}function SM($){var Z=r8(),q=r1(),X=n1(),K=o1();switch($.tag){case 0:case 11:case 15:AZ($),$.flags&2048&&I3($,$.return,E8|z1);break;case 3:var N=D$();AZ($),$.stateNode.passiveEffectDuration+=pq(N);break;case 12:N=D$(),AZ($),$.stateNode.passiveEffectDuration+=WZ(N);break;case 22:N=$.stateNode,$.memoizedState!==null&&N._visibility&y$&&($.return===null||$.return.tag!==13)?(N._visibility&=~y$,LG($),($.mode&A0)!==_0&&0<=W0&&0<=L0&&0.05<L0-W0&&p1($,W0,L0,"Disconnect")):AZ($);break;default:AZ($)}($.mode&A0)!==_0&&0<=W0&&0<=L0&&(I5||0.05<E5)&&c1($,W0,L0,E5,T5),s8(Z),s1(q),I5=K,T5=X}function LG($){var Z=$.deletions;if(($.flags&16)!==0){if(Z!==null)for(var q=0;q<Z.length;q++){var X=Z[q],K=r8();a5=X,kM(X,$),(X.mode&A0)!==_0&&0<=W0&&0<=L0&&0.05<L0-W0&&p1(X,W0,L0,"Unmount"),s8(K)}DM($)}for($=$.child;$!==null;)vM($),$=$.sibling}function vM($){var Z=r8(),q=r1(),X=n1(),K=o1();switch($.tag){case 0:case 11:case 15:I3($,$.return,E8),LG($);break;case 22:var N=$.stateNode;N._visibility&y$&&(N._visibility&=~y$,LG($));break;default:LG($)}($.mode&A0)!==_0&&0<=W0&&0<=L0&&(I5||0.05<E5)&&c1($,W0,L0,E5,T5),s8(Z),s1(q),I5=K,T5=X}function kM($,Z){for(;a5!==null;){var q=a5,X=q,K=Z,N=r8(),W=r1(),R=n1(),_=o1();switch(X.tag){case 0:case 11:case 15:I3(X,K,E8);break;case 23:case 22:X.memoizedState!==null&&X.memoizedState.cachePool!==null&&(K=X.memoizedState.cachePool.pool,K!=null&&b4(K));break;case 24:FZ(X.memoizedState.cache)}if((X.mode&A0)!==_0&&0<=W0&&0<=L0&&(I5||0.05<E5)&&c1(X,W0,L0,E5,T5),s8(N),s1(W),I5=_,T5=R,X=q.child,X!==null)X.return=q,a5=X;else $:for(q=$;a5!==null;){if(X=a5,N=X.sibling,W=X.return,VM(X),X===q){a5=null;break $}if(N!==null){N.return=W,a5=N;break $}a5=W}}}function CT(){rw.forEach(function($){return $()})}function bM(){var $=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return $||h.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),$}function o8($){if((o0&r5)!==t5&&S0!==0)return S0&-S0;var Z=h.T;return Z!==null?(Z._updatedFibers||(Z._updatedFibers=new Set),Z._updatedFibers.add($),h3()):f()}function fM(){if(v8===0)if((S0&536870912)===0||p0){var $=gG;gG<<=1,(gG&3932160)===0&&(gG=262144),v8=$}else v8=536870912;return $=Z1.current,$!==null&&($.flags|=32),v8}function C5($,Z,q){if(O9&&console.error("useInsertionEffect must not schedule updates."),_U&&(EJ=!0),$===B5&&(J5===$7||J5===Z7)||$.cancelPendingCommit!==null)c7($,0),P6($,S0,v8,!1);if(M6($,q),(o0&r5)!==t5&&$===B5){if(X$)switch(Z.tag){case 0:case 11:case 15:$=v0&&d(v0)||"Unknown",UR.has($)||(UR.add($),Z=d(Z)||"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",Z,$,$));break;case 1:YR||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),YR=!0)}}else U$&&qZ($,Z,q),fT(Z),$===B5&&((o0&r5)===t5&&(l6|=q),w5===d6&&P6($,S0,v8,!1)),Q$($)}function yM($,Z,q){if((o0&(r5|q1))!==t5)throw Error("Should not already be working.");if(S0!==0&&v0!==null){var X=v0,K=o5();switch($W){case TQ:case $7:var N=GQ;R5&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Suspended",N,K,K1,void 0,"primary-light")):console.timeStamp("Suspended",N,K,K1,void 0,"primary-light"));break;case Z7:N=GQ,R5&&((X=X._debugTask)?X.run(console.timeStamp.bind(console,"Action",N,K,K1,void 0,"primary-light")):console.timeStamp("Action",N,K,K1,void 0,"primary-light"));break;default:R5&&(X=K-GQ,3>X||console.timeStamp("Blocked",GQ,K,K1,void 0,5>X?"primary-light":10>X?"primary":100>X?"primary-dark":"error"))}}N=(q=!q&&(Z&127)===0&&(Z&$.expiredLanes)===0||T4($,Z))?OT($,Z):k3($,Z,!0);var W=q;do{if(N===s$){C9&&!q&&P6($,Z,0,!1),Z=J5,GQ=g5(),$W=Z;break}else{if(X=o5(),K=$.current.alternate,W&&!IT(K)){c8(Z),K=i5,N=X,!R5||N<=K||(S5?S5.run(console.timeStamp.bind(console,"Teared Render",K,N,u0,g0,"error")):console.timeStamp("Teared Render",K,N,u0,g0,"error")),u4(Z,X),N=k3($,Z,!1),W=!1;continue}if(N===e4){if(W=Z,$.errorRecoveryDisabledLanes&W)var R=0;else R=$.pendingLanes&-536870913,R=R!==0?R:R&536870912?536870912:0;if(R!==0){c8(Z),WX(i5,X,Z,S5),u4(Z,X),Z=R;$:{X=$,N=W,W=wQ;var _=X.current.memoizedState.isDehydrated;if(_&&(c7(X,R).flags|=256),R=k3(X,R,!1),R!==e4){if(MU&&!_){X.errorRecoveryDisabledLanes|=N,l6|=N,N=d6;break $}X=w8,w8=W,X!==null&&(w8===null?w8=X:w8.push.apply(w8,X))}N=R}if(W=!1,N!==e4)continue;else X=o5()}}if(N===_Q){c8(Z),WX(i5,X,Z,S5),u4(Z,X),c7($,0),P6($,Z,0,!0);break}$:{switch(q=$,N){case s$:case _Q:throw Error("Root did not complete. This is a bug in React.");case d6:if((Z&4194048)!==Z)break;case FJ:c8(Z),yB(i5,X,Z,S5),u4(Z,X),K=Z,(K&127)!==0?eG=X:(K&4194048)!==0&&($J=X),P6(q,Z,v8,!p6);break $;case e4:w8=null;break;case HJ:case nW:break;default:throw Error("Unknown root exit status.")}if(h.actQueue!==null)b3(q,K,Z,w8,PQ,zJ,v8,l6,Q7,N,null,null,i5,X);else{if((Z&62914560)===Z&&(W=LJ+aW-o5(),10<W)){if(P6(q,Z,v8,!p6),_4(q,0,!0)!==0)break $;b1=Z,q.timeoutHandle=RR(gM.bind(null,q,K,w8,PQ,zJ,Z,v8,l6,Q7,p6,N,"Throttled",i5,X),W);break $}gM(q,K,w8,PQ,zJ,Z,v8,l6,Q7,p6,N,null,i5,X)}}}break}while(1);Q$($)}function gM($,Z,q,X,K,N,W,R,_,E,k,b,j,y){$.timeoutHandle=Y7;var t=Z.subtreeFlags,Z0=null;if(t&8192||(t&16785408)===16785408){if(Z0={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:I$},AM(Z,N,Z0),t=(N&62914560)===N?LJ-o5():(N&4194048)===N?iW-o5():0,t=HE(Z0,t),t!==null){b1=N,$.cancelPendingCommit=t(b3.bind(null,$,Z,N,q,X,K,W,R,_,k,Z0,Z0.waitingForViewTransition?"Waiting for the previous Animation":0<Z0.count?0<Z0.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Z0.imgCount===1?"Suspended on an Image":0<Z0.imgCount?"Suspended on Images":null,j,y)),P6($,N,W,!E);return}}b3($,Z,N,q,X,K,W,R,_,k,Z0,b,j,y)}function IT($){for(var Z=$;;){var q=Z.tag;if((q===0||q===11||q===15)&&Z.flags&16384&&(q=Z.updateQueue,q!==null&&(q=q.stores,q!==null)))for(var X=0;X<q.length;X++){var K=q[X],N=K.getSnapshot;K=K.value;try{if(!V8(N(),K))return!1}catch(W){return!1}}if(q=Z.child,Z.subtreeFlags&16384&&q!==null)q.return=Z,Z=q;else{if(Z===$)break;for(;Z.sibling===null;){if(Z.return===null||Z.return===$)return!0;Z=Z.return}Z.sibling.return=Z.return,Z=Z.sibling}}return!0}function P6($,Z,q,X){Z&=~HU,Z&=~l6,$.suspendedLanes|=Z,$.pingedLanes&=~Z,X&&($.warmLanes|=Z),X=$.expirationTimes;for(var K=Z;0<K;){var N=31-R8(K),W=1<<N;X[N]=-1,K&=~W}q!==0&&E4($,q,Z)}function p7(){return(o0&(r5|q1))===t5?(vZ(0,!1),!1):!0}function v3(){if(v0!==null){if(J5===S8)var $=v0.return;else $=v0,uq(),pX($),R9=null,HQ=0,$=v0;for(;$!==null;)UM($.alternate,$),$=$.return;v0=null}}function u4($,Z){($&127)!==0&&(g6=Z),($&4194048)!==0&&(H$=Z),($&62914560)!==0&&(tF=Z),($&2080374784)!==0&&(eF=Z)}function c7($,Z){R5&&(console.timeStamp("Blocking Track",0.003,0.003,"Blocking",g0,"primary-light"),console.timeStamp("Transition Track",0.003,0.003,"Transition",g0,"primary-light"),console.timeStamp("Suspense Track",0.003,0.003,"Suspense",g0,"primary-light"),console.timeStamp("Idle Track",0.003,0.003,"Idle",g0,"primary-light"));var q=i5;if(i5=g5(),S0!==0&&0<q){if(c8(S0),w5===HJ||w5===d6)yB(q,i5,Z,S5);else{var X=i5,K=S5;if(R5&&!(X<=q)){var N=(Z&738197653)===Z?"tertiary-dark":"primary-dark",W=(Z&536870912)===Z?"Prewarm":(Z&201326741)===Z?"Interrupted Hydration":"Interrupted Render";K?K.run(console.timeStamp.bind(console,W,q,X,u0,g0,N)):console.timeStamp(W,q,X,u0,g0,N)}}u4(S0,i5)}if(q=S5,S5=null,(Z&127)!==0){S5=ZQ,K=0<=M$&&M$<g6?g6:M$,X=0<=l4&&l4<g6?g6:l4,N=0<=X?X:0<=K?K:i5,0<=eG?(c8(2),gB(eG,N,Z,q)):(ZJ&127)!==0&&(c8(2),MZ(g6,N,d$)),q=K;var R=X,_=QQ,E=0<H9,k=x6===$Q,b=x6===tG;if(K=i5,X=ZQ,N=lY,W=rY,R5){if(u0="Blocking",0<q?q>K&&(q=K):q=K,0<R?R>q&&(R=q):R=q,_!==null&&q>R){var j=E?"secondary-light":"warning";X?X.run(console.timeStamp.bind(console,E?"Consecutive":"Event: "+_,R,q,u0,g0,j)):console.timeStamp(E?"Consecutive":"Event: "+_,R,q,u0,g0,j)}K>q&&(R=k?"error":(Z&738197653)===Z?"tertiary-light":"primary-light",k=b?"Promise Resolved":k?"Cascading Update":5<K-q?"Update Blocked":"Update",b=[],W!=null&&b.push(["Component name",W]),N!=null&&b.push(["Method name",N]),q={start:q,end:K,detail:{devtools:{properties:b,track:u0,trackGroup:g0,color:R}}},X?X.run(performance.measure.bind(performance,k,q)):performance.measure(k,q))}M$=-1.1,x6=0,rY=lY=null,eG=-1.1,H9=l4,l4=-1.1,g6=g5()}if((Z&4194048)!==0&&(S5=qQ,K=0<=m$&&m$<H$?H$:m$,q=0<=W1&&W1<H$?H$:W1,X=0<=h6&&h6<H$?H$:h6,N=0<=X?X:0<=q?q:i5,0<=$J?(c8(256),gB($J,N,Z,S5)):(ZJ&4194048)!==0&&(c8(256),MZ(H$,N,d$)),b=X,R=r4,_=0<u6,E=sY===tG,N=i5,X=qQ,W=iF,k=aF,R5&&(u0="Transition",0<q?q>N&&(q=N):q=N,0<K?K>q&&(K=q):K=q,0<b?b>K&&(b=K):b=K,K>b&&R!==null&&(j=_?"secondary-light":"warning",X?X.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+R,b,K,u0,g0,j)):console.timeStamp(_?"Consecutive":"Event: "+R,b,K,u0,g0,j)),q>K&&(X?X.run(console.timeStamp.bind(console,"Action",K,q,u0,g0,"primary-dark")):console.timeStamp("Action",K,q,u0,g0,"primary-dark")),N>q&&(K=E?"Promise Resolved":5<N-q?"Update Blocked":"Update",b=[],k!=null&&b.push(["Component name",k]),W!=null&&b.push(["Method name",W]),q={start:q,end:N,detail:{devtools:{properties:b,track:u0,trackGroup:g0,color:"primary-light"}}},X?X.run(performance.measure.bind(performance,K,q)):performance.measure(K,q))),W1=m$=-1.1,sY=0,$J=-1.1,u6=h6,h6=-1.1,H$=g5()),(Z&62914560)!==0&&(ZJ&62914560)!==0&&(c8(4194304),MZ(tF,i5,d$)),(Z&2080374784)!==0&&(ZJ&2080374784)!==0&&(c8(268435456),MZ(eF,i5,d$)),q=$.timeoutHandle,q!==Y7&&($.timeoutHandle=Y7,JP(q)),q=$.cancelPendingCommit,q!==null&&($.cancelPendingCommit=null,q()),b1=0,v3(),B5=$,v0=q=O$($.current,null),S0=Z,J5=S8,G1=null,p6=!1,C9=T4($,Z),MU=!1,w5=s$,Q7=v8=HU=l6=c6=0,w8=wQ=null,zJ=!1,(Z&8)!==0&&(Z|=Z&32),X=$.entangledLanes,X!==0)for($=$.entanglements,X&=Z;0<X;)K=31-R8(X),N=1<<K,Z|=$[K],X&=~N;return W$=Z,fq(),$=cF(),1000<$-pF&&(h.recentlyCreatedOwnerStacks=0,pF=$),S1.discardPendingWarnings(),q}function xM($,Z){T0=null,h.H=zQ,h.getCurrentStack=null,X$=!1,t8=null,Z===W9||Z===JJ?(Z=JN(),J5=TQ):Z===aY?(Z=JN(),J5=oW):J5=Z===YU?NU:Z!==null&&typeof Z==="object"&&typeof Z.then==="function"?EQ:WJ,G1=Z;var q=v0;q===null?(w5=_Q,NG($,l8(Z,$.current))):q.mode&A0&&DX(q)}function hM(){var $=Z1.current;return $===null?!0:(S0&4194048)===S0?R1===null?!0:!1:(S0&62914560)===S0||(S0&536870912)!==0?$===R1:!1}function uM(){var $=h.H;return h.H=zQ,$===null?zQ:$}function mM(){var $=h.A;return h.A=lw,$}function VG($){S5===null&&(S5=$._debugTask==null?null:$._debugTask)}function _G(){w5=d6,p6||(S0&4194048)!==S0&&Z1.current!==null||(C9=!0),(c6&134217727)===0&&(l6&134217727)===0||B5===null||P6(B5,S0,v8,!1)}function k3($,Z,q){var X=o0;o0|=r5;var K=uM(),N=mM();if(B5!==$||S0!==Z){if(U$){var W=$.memoizedUpdaters;0<W.size&&(SZ($,S0),W.clear()),H6($,Z)}PQ=null,c7($,Z)}Z=!1,W=w5;$:do try{if(J5!==S8&&v0!==null){var R=v0,_=G1;switch(J5){case NU:v3(),W=FJ;break $;case TQ:case $7:case Z7:case EQ:Z1.current===null&&(Z=!0);var E=J5;if(J5=S8,G1=null,l7($,R,_,E),q&&C9){W=s$;break $}break;default:E=J5,J5=S8,G1=null,l7($,R,_,E)}}dM(),W=w5;break}catch(k){xM($,k)}while(1);return Z&&$.shellSuspendCounter++,uq(),o0=X,h.H=K,h.A=N,v0===null&&(B5=null,S0=0,fq()),W}function dM(){for(;v0!==null;)pM(v0)}function OT($,Z){var q=o0;o0|=r5;var X=uM(),K=mM();if(B5!==$||S0!==Z){if(U$){var N=$.memoizedUpdaters;0<N.size&&(SZ($,S0),N.clear()),H6($,Z)}PQ=null,VJ=o5()+tW,c7($,Z)}else C9=T4($,Z);$:do try{if(J5!==S8&&v0!==null)Z:switch(Z=v0,N=G1,J5){case WJ:J5=S8,G1=null,l7($,Z,N,WJ);break;case $7:case Z7:if(qN(N)){J5=S8,G1=null,cM(Z);break}Z=function(){J5!==$7&&J5!==Z7||B5!==$||(J5=RJ),Q$($)},N.then(Z,Z);break $;case TQ:J5=RJ;break $;case oW:J5=BU;break $;case RJ:qN(N)?(J5=S8,G1=null,cM(Z)):(J5=S8,G1=null,l7($,Z,N,RJ));break;case BU:var W=null;switch(v0.tag){case 26:W=v0.memoizedState;case 5:case 27:var R=v0;if(W?yH(W):R.stateNode.complete){J5=S8,G1=null;var _=R.sibling;if(_!==null)v0=_;else{var E=R.return;E!==null?(v0=E,TG(E)):v0=null}break Z}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}J5=S8,G1=null,l7($,Z,N,BU);break;case EQ:J5=S8,G1=null,l7($,Z,N,EQ);break;case NU:v3(),w5=FJ;break $;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}h.actQueue!==null?dM():jT();break}catch(k){xM($,k)}while(1);if(uq(),h.H=X,h.A=K,o0=q,v0!==null)return s$;return B5=null,S0=0,fq(),w5}function jT(){for(;v0!==null&&!IE();)pM(v0)}function pM($){var Z=$.alternate;($.mode&A0)!==_0?(AX($),Z=q0($,w3,Z,$,W$),DX($)):Z=q0($,w3,Z,$,W$),$.memoizedProps=$.pendingProps,Z===null?TG($):v0=Z}function cM($){var Z=q0($,AT,$);$.memoizedProps=$.pendingProps,Z===null?TG($):v0=Z}function AT($){var Z=$.alternate,q=($.mode&A0)!==_0;switch(q&&AX($),$.tag){case 15:case 0:Z=ZM(Z,$,$.pendingProps,$.type,void 0,S0);break;case 11:Z=ZM(Z,$,$.pendingProps,$.type.render,$.ref,S0);break;case 5:pX($);default:UM(Z,$),$=v0=pB($,W$),Z=w3(Z,$,W$)}return q&&DX($),Z}function l7($,Z,q,X){uq(),pX(Z),R9=null,HQ=0;var K=Z.return;try{if(HT($,K,Z,q,S0)){w5=_Q,NG($,l8(q,$.current)),v0=null;return}}catch(N){if(K!==null)throw v0=K,N;w5=_Q,NG($,l8(q,$.current)),v0=null;return}if(Z.flags&32768){if(p0||X===WJ)$=!0;else if(C9||(S0&536870912)!==0)$=!1;else if(p6=$=!0,X===$7||X===Z7||X===TQ||X===EQ)X=Z1.current,X!==null&&X.tag===13&&(X.flags|=16384);lM(Z,$)}else TG(Z)}function TG($){var Z=$;do{if((Z.flags&32768)!==0){lM(Z,p6);return}var q=Z.alternate;if($=Z.return,AX(Z),q=q0(Z,RT,q,Z,W$),(Z.mode&A0)!==_0&&tB(Z),q!==null){v0=q;return}if(Z=Z.sibling,Z!==null){v0=Z;return}v0=Z=$}while(Z!==null);w5===s$&&(w5=nW)}function lM($,Z){do{var q=zT($.alternate,$);if(q!==null){q.flags&=32767,v0=q;return}if(($.mode&A0)!==_0){tB($),q=$.actualDuration;for(var X=$.child;X!==null;)q+=X.actualDuration,X=X.sibling;$.actualDuration=q}if(q=$.return,q!==null&&(q.flags|=32768,q.subtreeFlags=0,q.deletions=null),!Z&&($=$.sibling,$!==null)){v0=$;return}v0=$=q}while($!==null);w5=FJ,v0=null}function b3($,Z,q,X,K,N,W,R,_,E,k,b,j,y){$.cancelPendingCommit=null;do DZ();while(d5!==s6);if(S1.flushLegacyContextWarning(),S1.flushPendingUnsafeLifecycleWarnings(),(o0&(r5|q1))!==t5)throw Error("Should not already be working.");if(c8(q),E===e4?WX(j,y,q,S5):X!==null?$T(j,y,q,X,Z!==null&&Z.alternate!==null&&Z.alternate.memoizedState.isDehydrated&&(Z.flags&256)!==0,S5):e_(j,y,q,S5),Z!==null){if(q===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),Z===$.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(N=Z.lanes|Z.childLanes,N|=uY,Pq($,q,N,W,R,_),$===B5&&(v0=B5=null,S0=0),I9=Z,n6=$,b1=q,RU=N,LU=K,GR=X,zU=y,JR=b,f1=_J,XR=null,Z.actualDuration!==0||(Z.subtreeFlags&10256)!==0||(Z.flags&10256)!==0?($.callbackNode=null,$.callbackPriority=0,bT(a7,function(){return DQ=window.event,f1===_J&&(f1=WU),iM(),null})):($.callbackNode=null,$.callbackPriority=0),u$=null,y6=g5(),b!==null&&ZT(y,y6,b,S5),X=(Z.flags&13878)!==0,(Z.subtreeFlags&13878)!==0||X){X=h.T,h.T=null,K=Z5.p,Z5.p=e8,W=o0,o0|=q1;try{wT($,Z,q)}finally{o0=W,Z5.p=K,h.T=X}}d5=$R,rM(),sM(),nM()}}function rM(){if(d5===$R){d5=s6;var $=n6,Z=I9,q=b1,X=(Z.flags&13878)!==0;if((Z.subtreeFlags&13878)!==0||X){X=h.T,h.T=null;var K=Z5.p;Z5.p=e8;var N=o0;o0|=q1;try{w9=q,P9=$,cq(),wM(Z,$),P9=w9=null,q=AU;var W=kB($.containerInfo),R=q.focusedElem,_=q.selectionRange;if(W!==R&&R&&R.ownerDocument&&vB(R.ownerDocument.documentElement,R)){if(_!==null&&MX(R)){var{start:E,end:k}=_;if(k===void 0&&(k=E),"selectionStart"in R)R.selectionStart=E,R.selectionEnd=Math.min(k,R.value.length);else{var b=R.ownerDocument||document,j=b&&b.defaultView||window;if(j.getSelection){var y=j.getSelection(),t=R.textContent.length,Z0=Math.min(_.start,t),F5=_.end===void 0?Z0:Math.min(_.end,t);!y.extend&&Z0>F5&&(W=F5,F5=Z0,Z0=W);var l0=SB(R,Z0),O=SB(R,F5);if(l0&&O&&(y.rangeCount!==1||y.anchorNode!==l0.node||y.anchorOffset!==l0.offset||y.focusNode!==O.node||y.focusOffset!==O.offset)){var A=b.createRange();A.setStart(l0.node,l0.offset),y.removeAllRanges(),Z0>F5?(y.addRange(A),y.extend(O.node,O.offset)):(A.setEnd(O.node,O.offset),y.addRange(A))}}}}b=[];for(y=R;y=y.parentNode;)y.nodeType===1&&b.push({element:y,left:y.scrollLeft,top:y.scrollTop});typeof R.focus==="function"&&R.focus();for(R=0;R<b.length;R++){var v=b[R];v.element.scrollLeft=v.left,v.element.scrollTop=v.top}}yJ=!!jU,AU=jU=null}finally{o0=N,Z5.p=K,h.T=X}}$.current=Z,d5=ZR}}function sM(){if(d5===ZR){d5=s6;var $=XR;if($!==null){y6=g5();var Z=h$,q=y6;!R5||q<=Z||(d$?d$.run(console.timeStamp.bind(console,$,Z,q,u0,g0,"secondary-light")):console.timeStamp($,Z,q,u0,g0,"secondary-light"))}$=n6,Z=I9,q=b1;var X=(Z.flags&8772)!==0;if((Z.subtreeFlags&8772)!==0||X){X=h.T,h.T=null;var K=Z5.p;Z5.p=e8;var N=o0;o0|=q1;try{w9=q,P9=$,cq(),LM($,Z.alternate,Z),P9=w9=null}finally{o0=N,Z5.p=K,h.T=X}}$=zU,Z=JR,h$=g5(),$=Z===null?$:y6,Z=h$,q=f1===FU,X=S5,u$!==null?xB($,Z,u$,!1,X):!R5||Z<=$||(X?X.run(console.timeStamp.bind(console,q?"Commit Interrupted View Transition":"Commit",$,Z,u0,g0,q?"error":"secondary-dark")):console.timeStamp(q?"Commit Interrupted View Transition":"Commit",$,Z,u0,g0,q?"error":"secondary-dark")),d5=QR}}function nM(){if(d5===qR||d5===QR){if(d5===qR){var $=h$;h$=g5();var Z=h$,q=f1===FU;!R5||Z<=$||(d$?d$.run(console.timeStamp.bind(console,q?"Interrupted View Transition":"Starting Animation",$,Z,u0,g0,q?"error":"secondary-light")):console.timeStamp(q?"Interrupted View Transition":"Starting Animation",$,Z,u0,g0,q?" error":"secondary-light")),f1!==FU&&(f1=eW)}d5=s6,OE(),$=n6;var X=I9;Z=b1,q=GR;var K=X.actualDuration!==0||(X.subtreeFlags&10256)!==0||(X.flags&10256)!==0;K?d5=TJ:(d5=s6,I9=n6=null,oM($,$.pendingLanes),q7=0,IQ=null);var N=$.pendingLanes;if(N===0&&(r6=null),K||$H($),N=w(Z),X=X.stateNode,M8&&typeof M8.onCommitFiberRoot==="function")try{var W=(X.current.flags&128)===128;switch(N){case e8:var R=LY;break;case A1:R=VY;break;case K$:R=a7;break;case hG:R=_Y;break;default:R=a7}M8.onCommitFiberRoot(t7,X,R,W)}catch(b){Y$||(Y$=!0,console.error("React instrumentation encountered an error: %o",b))}if(U$&&$.memoizedUpdaters.clear(),CT(),q!==null){W=h.T,R=Z5.p,Z5.p=e8,h.T=null;try{var _=$.onRecoverableError;for(X=0;X<q.length;X++){var E=q[X],k=DT(E.stack);q0(E.source,_,E.value,k)}}finally{h.T=W,Z5.p=R}}(b1&3)!==0&&DZ(),Q$($),N=$.pendingLanes,(Z&261930)!==0&&(N&42)!==0?(qJ=!0,$===VU?CQ++:(CQ=0,VU=$)):CQ=0,K||u4(Z,h$),vZ(0,!1)}}function DT($){return $={componentStack:$},Object.defineProperty($,"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.')}}),$}function oM($,Z){($.pooledCacheLanes&=Z)===0&&(Z=$.pooledCache,Z!=null&&($.pooledCache=null,FZ(Z)))}function DZ(){return rM(),sM(),nM(),iM()}function iM(){if(d5!==TJ)return!1;var $=n6,Z=RU;RU=0;var q=w(b1),X=K$===0||K$>q?K$:q;q=h.T;var K=Z5.p;try{Z5.p=X,h.T=null;var N=LU;LU=null,X=n6;var W=b1;if(d5=s6,I9=n6=null,b1=0,(o0&(r5|q1))!==t5)throw Error("Cannot flush passive effects while already rendering.");c8(W),_U=!0,EJ=!1;var R=0;if(u$=null,R=o5(),f1===eW)MZ(h$,R,d$);else{var _=h$,E=R,k=f1===WU;!R5||E<=_||(S5?S5.run(console.timeStamp.bind(console,k?"Waiting for Paint":"Waiting",_,E,u0,g0,"secondary-light")):console.timeStamp(k?"Waiting for Paint":"Waiting",_,E,u0,g0,"secondary-light"))}_=o0,o0|=q1;var b=X.current;cq(),SM(b);var j=X.current;b=zU,cq(),OM(X,j,W,N,b),$H(X),o0=_;var y=o5();if(j=R,b=S5,u$!==null?xB(j,y,u$,!0,b):!R5||y<=j||(b?b.run(console.timeStamp.bind(console,"Remaining Effects",j,y,u0,g0,"secondary-dark")):console.timeStamp("Remaining Effects",j,y,u0,g0,"secondary-dark")),u4(W,y),vZ(0,!1),EJ?X===IQ?q7++:(q7=0,IQ=X):q7=0,EJ=_U=!1,M8&&typeof M8.onPostCommitFiberRoot==="function")try{M8.onPostCommitFiberRoot(t7,X)}catch(Z0){Y$||(Y$=!0,console.error("React instrumentation encountered an error: %o",Z0))}var t=X.current.stateNode;return t.effectDuration=0,t.passiveEffectDuration=0,!0}finally{Z5.p=K,h.T=q,oM($,Z)}}function aM($,Z,q){Z=l8(q,Z),eB(Z),Z=M3($.stateNode,Z,2),$=_6($,Z,2),$!==null&&(M6($,2),Q$($))}function $5($,Z,q){if(O9=!1,$.tag===3)aM($,$,q);else{for(;Z!==null;){if(Z.tag===3){aM(Z,$,q);return}if(Z.tag===1){var X=Z.stateNode;if(typeof Z.type.getDerivedStateFromError==="function"||typeof X.componentDidCatch==="function"&&(r6===null||!r6.has(X))){$=l8(q,$),eB($),q=H3(2),X=_6(Z,q,2),X!==null&&(F3(q,X,Z,$),M6(X,2),Q$(X));return}}Z=Z.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.
154
154
 
155
155
  Error message:
156
156
 
157
- %s`,G)}}function fX($,Z,G){var X=$.pingCache;if(X===null){X=$.pingCache=new sE;var N=new Set;X.set(Z,N)}else N=X.get(Z),N===void 0&&(N=new Set,X.set(Z,N));N.has(G)||(HU=!0,N.add(G),X=SL.bind(null,$,Z,G),U8&&S7($,G),Z.then(X,X))}function SL($,Z,G){var X=$.pingCache;X!==null&&X.delete(Z),$.pingedLanes|=$.suspendedLanes&G,$.warmLanes&=~G,(G&127)!==0?0>H8&&(g6=H8=g1(),ZZ=iG("Promise Resolved"),h6=tG):(G&4194048)!==0&&0>W4&&(M8=W4=g1(),GZ=iG("Promise Resolved"),sY=tG),bH()&&x.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
157
+ %s`,q)}}function f3($,Z,q){var X=$.pingCache;if(X===null){X=$.pingCache=new sw;var K=new Set;X.set(Z,K)}else K=X.get(Z),K===void 0&&(K=new Set,X.set(Z,K));K.has(q)||(MU=!0,K.add(q),X=ST.bind(null,$,Z,q),U$&&SZ($,q),Z.then(X,X))}function ST($,Z,q){var X=$.pingCache;X!==null&&X.delete(Z),$.pingedLanes|=$.suspendedLanes&q,$.warmLanes&=~q,(q&127)!==0?0>M$&&(g6=M$=g5(),ZQ=aG("Promise Resolved"),x6=tG):(q&4194048)!==0&&0>W1&&(H$=W1=g5(),qQ=aG("Promise Resolved"),sY=tG),bM()&&h.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
158
158
 
159
159
  When testing, code that resolves suspended data should be wrapped into act(...):
160
160
 
@@ -163,7 +163,7 @@ act(() => {
163
163
  });
164
164
  /* assert on the output */
165
165
 
166
- 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`),K1===$&&(S0&G)===G&&(E1===d6||E1===MJ&&(S0&62914560)===S0&&o1()-TJ<iW?(o0&r1)===t1&&c$($,0):MU|=G,Q$===S0&&(Q$=0)),Q8($)}function tH($,Z){Z===0&&(Z=j$()),$=B5($,Z),$!==null&&(H6($,Z),Q8($))}function vL($){var Z=$.memoizedState,G=0;Z!==null&&(G=Z.retryLane),tH($,G)}function kL($,Z){var G=0;switch($.tag){case 31:case 13:var{stateNode:X,memoizedState:N}=$;N!==null&&(G=N.retryLane);break;case 19:X=$.stateNode;break;case 22:X=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}X!==null&&X.delete(Z),tH($,G)}function yX($,Z,G){if((Z.subtreeFlags&67117056)!==0)for(Z=Z.child;Z!==null;){var X=$,N=Z,B=N.type===kG;B=G||B,N.tag!==22?N.flags&67108864?B&&G0(N,eH,X,N):yX(X,N,B):N.memoizedState===null&&(B&&N.flags&8192?G0(N,eH,X,N):N.subtreeFlags&67108864&&G0(N,yX,X,N,B)),Z=Z.sibling}}function eH($,Z){H1(!0);try{CH(Z),vH(Z),IH($,Z.alternate,Z,!1),DH($,Z,0,null,!1,0)}finally{H1(!1)}}function $M($){var Z=!0;$.current.mode&(M5|A4)||(Z=!1),yX($,$.current,Z)}function ZM($){if((o0&r1)===t1){var Z=$.tag;if(Z===3||Z===1||Z===0||Z===11||Z===14||Z===15){if(Z=d($)||"ReactComponent",EJ!==null){if(EJ.has(Z))return;EJ.add(Z)}else EJ=new Set([Z]);G0($,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 S7($,Z){U8&&$.memoizedUpdaters.forEach(function(G){G7($,G,Z)})}function bL($,Z){var G=x.actQueue;return G!==null?(G.push(Z),aE):RY($,Z)}function fL($){bH()&&x.actQueue===null&&G0($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
166
+ 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`),B5===$&&(S0&q)===q&&(w5===d6||w5===HJ&&(S0&62914560)===S0&&o5()-LJ<aW?(o0&r5)===t5&&c7($,0):HU|=q,Q7===S0&&(Q7=0)),Q$($)}function tM($,Z){Z===0&&(Z=A7()),$=N8($,Z),$!==null&&(M6($,Z),Q$($))}function vT($){var Z=$.memoizedState,q=0;Z!==null&&(q=Z.retryLane),tM($,q)}function kT($,Z){var q=0;switch($.tag){case 31:case 13:var{stateNode:X,memoizedState:K}=$;K!==null&&(q=K.retryLane);break;case 19:X=$.stateNode;break;case 22:X=$.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}X!==null&&X.delete(Z),tM($,q)}function y3($,Z,q){if((Z.subtreeFlags&67117056)!==0)for(Z=Z.child;Z!==null;){var X=$,K=Z,N=K.type===kG;N=q||N,K.tag!==22?K.flags&67108864?N&&q0(K,eM,X,K):y3(X,K,N):K.memoizedState===null&&(N&&K.flags&8192?q0(K,eM,X,K):K.subtreeFlags&67108864&&q0(K,y3,X,K,N)),Z=Z.sibling}}function eM($,Z){M5(!0);try{CM(Z),vM(Z),IM($,Z.alternate,Z,!1),jM($,Z,0,null,!1,0)}finally{M5(!1)}}function $H($){var Z=!0;$.current.mode&(H8|D1)||(Z=!1),y3($,$.current,Z)}function ZH($){if((o0&r5)===t5){var Z=$.tag;if(Z===3||Z===1||Z===0||Z===11||Z===14||Z===15){if(Z=d($)||"ReactComponent",wJ!==null){if(wJ.has(Z))return;wJ.add(Z)}else wJ=new Set([Z]);q0($,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 SZ($,Z){U$&&$.memoizedUpdaters.forEach(function(q){qZ($,q,Z)})}function bT($,Z){var q=h.actQueue;return q!==null?(q.push(Z),iw):zY($,Z)}function fT($){bM()&&h.actQueue===null&&q0($,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
167
167
 
168
168
  When testing, code that causes React state updates should be wrapped into act(...):
169
169
 
@@ -172,86 +172,86 @@ act(() => {
172
172
  });
173
173
  /* assert on the output */
174
174
 
175
- 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`,d($))})}function Q8($){$!==D9&&$.next===null&&(D9===null?PJ=D9=$:D9=D9.next=$),CJ=!0,x.actQueue!==null?VU||(VU=!0,qM()):LU||(LU=!0,qM())}function v7($,Z){if(!EU&&CJ){EU=!0;do{var G=!1;for(var X=PJ;X!==null;){if(!Z)if($!==0){var N=X.pendingLanes;if(N===0)var B=0;else{var{suspendedLanes:W,pingedLanes:w}=X;B=(1<<31-w5(42|$)+1)-1,B&=N&~(W&~w),B=B&201326741?B&201326741|1:B?B|2:0}B!==0&&(G=!0,JM(X,B))}else B=S0,B=_2(X,X===K1?B:0,X.cancelPendingCommit!==null||X.timeoutHandle!==Y$),(B&3)===0||L2(X,B)||(G=!0,JM(X,B));X=X.next}}while(G);EU=!1}}function yL(){AZ=window.event,gX()}function gX(){CJ=VU=LU=!1;var $=0;o6!==0&&pL()&&($=o6);for(var Z=o1(),G=null,X=PJ;X!==null;){var N=X.next,B=QM(X,Z);if(B===0)X.next=null,G===null?PJ=N:G.next=N,N===null&&(D9=G);else if(G=X,$!==0||(B&3)!==0)CJ=!0;X=N}d1!==s6&&d1!==LJ||v7($,!1),o6!==0&&(o6=0)}function QM($,Z){for(var{suspendedLanes:G,pingedLanes:X,expirationTimes:N}=$,B=$.pendingLanes&-62914561;0<B;){var W=31-w5(B),w=1<<W,_=N[W];if(_===-1){if((w&G)===0||(w&X)!==0)N[W]=Z3(w,Z)}else _<=Z&&($.expiredLanes|=w);B&=~w}if(Z=K1,G=S0,G=_2($,$===Z?G:0,$.cancelPendingCommit!==null||$.timeoutHandle!==Y$),X=$.callbackNode,G===0||$===Z&&(q1===$$||q1===Z$)||$.cancelPendingCommit!==null)return X!==null&&hX(X),$.callbackNode=null,$.callbackPriority=0;if((G&3)===0||L2($,G)){if(Z=G&-G,Z!==$.callbackPriority||x.actQueue!==null&&X!==PU)hX(X);else return Z;switch(E(G)){case e5:case j4:G=zY;break;case N8:G=i$;break;case xG:G=_Y;break;default:G=i$}return X=GM.bind(null,$),x.actQueue!==null?(x.actQueue.push(X),G=PU):G=RY(G,X),$.callbackPriority=Z,$.callbackNode=G,Z}return X!==null&&hX(X),$.callbackPriority=2,$.callbackNode=null,2}function GM($,Z){if(GJ=QJ=!1,AZ=window.event,d1!==s6&&d1!==LJ)return $.callbackNode=null,$.callbackPriority=0,null;var G=$.callbackNode;if(f4===_J&&(f4=WU),A7()&&$.callbackNode!==G)return null;var X=S0;if(X=_2($,$===K1?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==Y$),X===0)return null;return yH($,X,Z),QM($,o1()),$.callbackNode!=null&&$.callbackNode===G?GM.bind(null,$):null}function JM($,Z){if(A7())return null;QJ=GJ,GJ=!1,yH($,Z,!0)}function hX($){$!==PU&&$!==null&&CV($)}function qM(){x.actQueue!==null&&x.actQueue.push(function(){return gX(),null}),XP(function(){(o0&(r1|G4))!==t1?RY(TY,yL):gX()})}function xX(){if(o6===0){var $=s2;$===0&&($=yG,yG<<=1,(yG&261888)===0&&(yG=256)),o6=$}return o6}function XM($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return Y1($,"action"),N7(""+$)}function YM($,Z){var G=Z.ownerDocument.createElement("input");return G.name=Z.name,G.value=Z.value,$.id&&G.setAttribute("form",$.id),Z.parentNode.insertBefore(G,Z),$=new FormData($),G.parentNode.removeChild(G),$}function gL($,Z,G,X,N){if(Z==="submit"&&G&&G.stateNode===N){var B=XM((N[R5]||null).action),W=X.submitter;W&&(Z=(Z=W[R5]||null)?XM(Z.formAction):W.getAttribute("formAction"),Z!==null&&(B=Z,W=null));var w=new cG("action","action",null,X,N);$.push({event:w,listeners:[{instance:null,listener:function(){if(X.defaultPrevented){if(o6!==0){var _=W?YM(N,W):new FormData(N),V={pending:!0,data:_,method:N.method,action:B};Object.freeze(V),qX(G,V,null,_)}}else typeof B==="function"&&(w.preventDefault(),_=W?YM(N,W):new FormData(N),V={pending:!0,data:_,method:N.method,action:B},Object.freeze(V),qX(G,V,B,_))},currentTarget:N}]})}}function VG($,Z,G){$.currentTarget=G;try{Z($)}catch(X){yY(X)}$.currentTarget=null}function UM($,Z){Z=(Z&4)!==0;for(var G=0;G<$.length;G++){var X=$[G];$:{var N=void 0,B=X.event;if(X=X.listeners,Z)for(var W=X.length-1;0<=W;W--){var w=X[W],_=w.instance,V=w.currentTarget;if(w=w.listener,_!==N&&B.isPropagationStopped())break $;_!==null?G0(_,VG,B,w,V):VG(B,w,V),N=_}else for(W=0;W<X.length;W++){if(w=X[W],_=w.instance,V=w.currentTarget,w=w.listener,_!==N&&B.isPropagationStopped())break $;_!==null?G0(_,VG,B,w,V):VG(B,w,V),N=_}}}}function c0($,Z){CU.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var G=Z[LY];G===void 0&&(G=Z[LY]=new Set);var X=$+"__bubble";G.has(X)||(NM(Z,$,2,!1),G.add(X))}function uX($,Z,G){CU.has($)&&!Z&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var X=0;Z&&(X|=4),NM(G,$,X,Z)}function mX($){if(!$[IJ]){$[IJ]=!0,qF.forEach(function(G){G!=="selectionchange"&&(CU.has(G)||uX(G,!1,$),uX(G,!0,$))});var Z=$.nodeType===9?$:$.ownerDocument;Z===null||Z[IJ]||(Z[IJ]=!0,uX("selectionchange",!1,Z))}}function NM($,Z,G,X){switch(dM(Z)){case e5:var N=RV;break;case j4:N=TV;break;default:N=GY}G=N.bind(null,Z,G,$),N=void 0,!IY||Z!=="touchstart"&&Z!=="touchmove"&&Z!=="wheel"||(N=!0),X?N!==void 0?$.addEventListener(Z,G,{capture:!0,passive:N}):$.addEventListener(Z,G,!0):N!==void 0?$.addEventListener(Z,G,{passive:N}):$.addEventListener(Z,G,!1)}function dX($,Z,G,X,N){var B=X;if((Z&1)===0&&(Z&2)===0&&X!==null)$:for(;;){if(X===null)return;var W=X.tag;if(W===3||W===4){var w=X.stateNode.containerInfo;if(w===N)break;if(W===4)for(W=X.return;W!==null;){var _=W.tag;if((_===3||_===4)&&W.stateNode.containerInfo===N)return;W=W.return}for(;w!==null;){if(W=q0(w),W===null)return;if(_=W.tag,_===5||_===6||_===26||_===27){X=B=W;continue $}w=w.parentNode}}X=X.return}_K(function(){var V=B,k=K3(G),b=[];$:{var D=dF.get($);if(D!==void 0){var y=cG,t=$;switch($){case"keypress":if(AQ(G)===0)break $;case"keydown":case"keyup":y=HE;break;case"focusin":t="focus",y=AY;break;case"focusout":t="blur",y=AY;break;case"beforeblur":case"afterblur":y=AY;break;case"click":if(G.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=DF;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=$E;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=WE;break;case hF:case xF:case uF:y=GE;break;case mF:y=RE;break;case"scroll":case"scrollend":y=tV;break;case"wheel":y=zE;break;case"copy":case"cut":case"paste":y=qE;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=AF;break;case"toggle":case"beforetoggle":y=LE}var Z0=(Z&4)!==0,F1=!Z0&&($==="scroll"||$==="scrollend"),l0=Z0?D!==null?D+"Capture":null:D;Z0=[];for(var O=V,j;O!==null;){var v=O;if(j=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||j===null||l0===null||(v=K7(O,l0),v!=null&&Z0.push(k7(O,v,j))),F1)break;O=O.return}0<Z0.length&&(D=new y(D,t,null,G,k),b.push({event:D,listeners:Z0}))}}if((Z&7)===0){$:{if(D=$==="mouseover"||$==="pointerover",y=$==="mouseout"||$==="pointerout",D&&G!==c7&&(t=G.relatedTarget||G.fromElement)&&(q0(t)||t[A6]))break $;if(y||D){if(D=k.window===k?k:(D=k.ownerDocument)?D.defaultView||D.parentWindow:window,y){if(t=G.relatedTarget||G.toElement,y=V,t=t?q0(t):null,t!==null&&(F1=g(t),Z0=t.tag,t!==F1||Z0!==5&&Z0!==27&&Z0!==6))t=null}else y=null,t=V;if(y!==t){if(Z0=DF,v="onMouseLeave",l0="onMouseEnter",O="mouse",$==="pointerout"||$==="pointerover")Z0=AF,v="onPointerLeave",l0="onPointerEnter",O="pointer";if(F1=y==null?D:P0(y),j=t==null?D:P0(t),D=new Z0(v,O+"leave",y,G,k),D.target=F1,D.relatedTarget=j,v=null,q0(k)===V&&(Z0=new Z0(l0,O+"enter",t,G,k),Z0.target=j,Z0.relatedTarget=F1,v=Z0),F1=v,y&&t)Z:{Z0=hL,l0=y,O=t,j=0;for(v=l0;v;v=Z0(v))j++;v=0;for(var u=O;u;u=Z0(u))v++;for(;0<j-v;)l0=Z0(l0),j--;for(;0<v-j;)O=Z0(O),v--;for(;j--;){if(l0===O||O!==null&&l0===O.alternate){Z0=l0;break Z}l0=Z0(l0),O=Z0(O)}Z0=null}else Z0=null;y!==null&&KM(b,D,y,Z0,!1),t!==null&&F1!==null&&KM(b,F1,t,Z0,!0)}}}$:{if(D=V?P0(V):window,y=D.nodeName&&D.nodeName.toLowerCase(),y==="select"||y==="input"&&D.type==="file")var $0=OK;else if(CK(D))if(yF)$0=a_;else{$0=n_;var V0=s_}else y=D.nodeName,!y||y.toLowerCase()!=="input"||D.type!=="checkbox"&&D.type!=="radio"?V&&U7(V.elementType)&&($0=OK):$0=o_;if($0&&($0=$0($,V))){IK(b,$0,G,k);break $}V0&&V0($,D,V),$==="focusout"&&V&&D.type==="number"&&V.memoizedProps.value!=null&&J3(D,"number",D.value)}switch(V0=V?P0(V):window,$){case"focusin":if(CK(V0)||V0.contentEditable==="true")q9=V0,vY=V,i7=null;break;case"focusout":i7=vY=q9=null;break;case"mousedown":kY=!0;break;case"contextmenu":case"mouseup":case"dragend":kY=!1,bK(b,G,k);break;case"selectionchange":if(CE)break;case"keydown":case"keyup":bK(b,G,k)}var M0;if(SY)$:{switch($){case"compositionstart":var U0="onCompositionStart";break $;case"compositionend":U0="onCompositionEnd";break $;case"compositionupdate":U0="onCompositionUpdate";break $}U0=void 0}else J9?EK($,G)&&(U0="onCompositionEnd"):$==="keydown"&&G.keyCode===SF&&(U0="onCompositionStart");if(U0&&(vF&&G.locale!=="ko"&&(J9||U0!=="onCompositionStart"?U0==="onCompositionEnd"&&J9&&(M0=LK()):(S6=k,OY=("value"in S6)?S6.value:S6.textContent,J9=!0)),V0=EG(V,U0),0<V0.length&&(U0=new jF(U0,$,null,G,k),b.push({event:U0,listeners:V0}),M0?U0.data=M0:(M0=PK(G),M0!==null&&(U0.data=M0)))),M0=EE?p_($,G):c_($,G))U0=EG(V,"onBeforeInput"),0<U0.length&&(V0=new YE("onBeforeInput","beforeinput",null,G,k),b.push({event:V0,listeners:U0}),V0.data=M0);gL(b,$,V,G,k)}UM(b,Z)})}function k7($,Z,G){return{instance:$,listener:Z,currentTarget:G}}function EG($,Z){for(var G=Z+"Capture",X=[];$!==null;){var N=$,B=N.stateNode;if(N=N.tag,N!==5&&N!==26&&N!==27||B===null||(N=K7($,G),N!=null&&X.unshift(k7($,N,B)),N=K7($,Z),N!=null&&X.push(k7($,N,B))),$.tag===3)return X;$=$.return}return[]}function hL($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function KM($,Z,G,X,N){for(var B=Z._reactName,W=[];G!==null&&G!==X;){var w=G,_=w.alternate,V=w.stateNode;if(w=w.tag,_!==null&&_===X)break;w!==5&&w!==26&&w!==27||V===null||(_=V,N?(V=K7(G,B),V!=null&&W.unshift(k7(G,V,_))):N||(V=K7(G,B),V!=null&&W.push(k7(G,V,_)))),G=G.return}W.length!==0&&$.push({event:Z,listeners:W})}function pX($,Z){x_($,Z),$!=="input"&&$!=="textarea"&&$!=="select"||Z==null||Z.value!==null||IF||(IF=!0,$==="select"&&Z.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.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var G={registrationNameDependencies:m2,possibleRegistrationNames:VY};U7($)||typeof Z.is==="string"||m_($,Z,G),Z.contentEditable&&!Z.suppressContentEditableWarning&&Z.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 n1($,Z,G,X){Z!==G&&(G=C6(G),C6(Z)!==G&&(X[$]=Z))}function xL($,Z,G){Z.forEach(function(X){G[MM(X)]=X==="style"?lX($):$.getAttribute(X)})}function G8($,Z){Z===!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.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof Z)}function BM($,Z){return $=$.namespaceURI===mG||$.namespaceURI===$9?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=Z,$.innerHTML}function C6($){return B6($)&&(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.",z2($)),s1($)),(typeof $==="string"?$:""+$).replace(iE,`
176
- `).replace(tE,"")}function HM($,Z){return Z=C6(Z),C6($)===Z?!0:!1}function U1($,Z,G,X,N,B){switch(G){case"children":if(typeof X==="string")jQ(X,Z,!1),Z==="body"||Z==="textarea"&&X===""||Y7($,X);else if(typeof X==="number"||typeof X==="bigint")jQ(""+X,Z,!1),Z!=="body"&&Y7($,""+X);break;case"className":IQ($,"class",X);break;case"tabIndex":IQ($,"tabindex",X);break;case"dir":case"role":case"viewBox":case"width":case"height":IQ($,G,X);break;case"style":RK($,X,B);break;case"data":if(Z!=="object"){IQ($,"data",X);break}case"src":case"href":if(X===""&&(Z!=="a"||G!=="href")){G==="src"?console.error('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.',G,G):console.error('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.',G,G),$.removeAttribute(G);break}if(X==null||typeof X==="function"||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(G);break}Y1(X,G),X=N7(""+X),$.setAttribute(G,X);break;case"action":case"formAction":if(X!=null&&(Z==="form"?G==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof X==="function"&&(N.encType==null&&N.method==null||jJ||(jJ=!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.")),N.target==null||DJ||(DJ=!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."))):Z==="input"||Z==="button"?G==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Z!=="input"||N.type==="submit"||N.type==="image"||OJ?Z!=="button"||N.type==null||N.type==="submit"||OJ?typeof X==="function"&&(N.name==null||Bw||(Bw=!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.')),N.formEncType==null&&N.formMethod==null||jJ||(jJ=!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.")),N.formTarget==null||DJ||(DJ=!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."))):(OJ=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(OJ=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):G==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof X==="function"){$.setAttribute(G,"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 B==="function"&&(G==="formAction"?(Z!=="input"&&U1($,Z,"name",N.name,N,null),U1($,Z,"formEncType",N.formEncType,N,null),U1($,Z,"formMethod",N.formMethod,N,null),U1($,Z,"formTarget",N.formTarget,N,null)):(U1($,Z,"encType",N.encType,N,null),U1($,Z,"method",N.method,N,null),U1($,Z,"target",N.target,N,null)));if(X==null||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(G);break}Y1(X,G),X=N7(""+X),$.setAttribute(G,X);break;case"onClick":X!=null&&(typeof X!=="function"&&G8(G,X),$.onclick=I8);break;case"onScroll":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scrollend",$));break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=X.__html,G!=null){if(N.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=G}}break;case"multiple":$.multiple=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"muted":$.muted=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(X==null||typeof X==="function"||typeof X==="boolean"||typeof X==="symbol"){$.removeAttribute("xlink:href");break}Y1(X,G),G=N7(""+X),$.setAttributeNS(J$,"xlink:href",G);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(Y1(X,G),$.setAttribute(G,""+X)):$.removeAttribute(G);break;case"inert":X!==""||AJ[G]||(AJ[G]=!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.",G));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":X&&typeof X!=="function"&&typeof X!=="symbol"?$.setAttribute(G,""):$.removeAttribute(G);break;case"capture":case"download":X===!0?$.setAttribute(G,""):X!==!1&&X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(Y1(X,G),$.setAttribute(G,X)):$.removeAttribute(G);break;case"cols":case"rows":case"size":case"span":X!=null&&typeof X!=="function"&&typeof X!=="symbol"&&!isNaN(X)&&1<=X?(Y1(X,G),$.setAttribute(G,X)):$.removeAttribute(G);break;case"rowSpan":case"start":X==null||typeof X==="function"||typeof X==="symbol"||isNaN(X)?$.removeAttribute(G):(Y1(X,G),$.setAttribute(G,X));break;case"popover":c0("beforetoggle",$),c0("toggle",$),CQ($,"popover",X);break;case"xlinkActuate":C8($,J$,"xlink:actuate",X);break;case"xlinkArcrole":C8($,J$,"xlink:arcrole",X);break;case"xlinkRole":C8($,J$,"xlink:role",X);break;case"xlinkShow":C8($,J$,"xlink:show",X);break;case"xlinkTitle":C8($,J$,"xlink:title",X);break;case"xlinkType":C8($,J$,"xlink:type",X);break;case"xmlBase":C8($,IU,"xml:base",X);break;case"xmlLang":C8($,IU,"xml:lang",X);break;case"xmlSpace":C8($,IU,"xml:space",X);break;case"is":B!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),CQ($,"is",X);break;case"innerText":case"textContent":break;case"popoverTarget":Hw||X==null||typeof X!=="object"||(Hw=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",X));default:!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"?(G=TK(G),CQ($,G,X)):m2.hasOwnProperty(G)&&X!=null&&typeof X!=="function"&&G8(G,X)}}function cX($,Z,G,X,N,B){switch(G){case"style":RK($,X,B);break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(G=X.__html,G!=null){if(N.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=G}}break;case"children":typeof X==="string"?Y7($,X):(typeof X==="number"||typeof X==="bigint")&&Y7($,""+X);break;case"onScroll":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&G8(G,X),c0("scrollend",$));break;case"onClick":X!=null&&(typeof X!=="function"&&G8(G,X),$.onclick=I8);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(m2.hasOwnProperty(G))X!=null&&typeof X!=="function"&&G8(G,X);else $:{if(G[0]==="o"&&G[1]==="n"&&(N=G.endsWith("Capture"),Z=G.slice(2,N?G.length-7:void 0),B=$[R5]||null,B=B!=null?B[G]:null,typeof B==="function"&&$.removeEventListener(Z,B,N),typeof X==="function")){typeof B!=="function"&&B!==null&&(G in $?$[G]=null:$.hasAttribute(G)&&$.removeAttribute(G)),$.addEventListener(Z,X,N);break $}G in $?$[G]=X:X===!0?$.setAttribute(G,""):CQ($,G,X)}}}function Q5($,Z,G){switch(pX(Z,G),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":c0("error",$),c0("load",$);var X=!1,N=!1,B;for(B in G)if(G.hasOwnProperty(B)){var W=G[B];if(W!=null)switch(B){case"src":X=!0;break;case"srcSet":N=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:U1($,Z,B,W,G,null)}}N&&U1($,Z,"srcSet",G.srcSet,G,null),X&&U1($,Z,"src",G.src,G,null);return;case"input":F6("input",G),c0("invalid",$);var w=B=W=N=null,_=null,V=null;for(X in G)if(G.hasOwnProperty(X)){var k=G[X];if(k!=null)switch(X){case"name":N=k;break;case"type":W=k;break;case"checked":_=k;break;case"defaultChecked":V=k;break;case"value":B=k;break;case"defaultValue":w=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U1($,Z,X,k,G,null)}}ZK($,G),QK($,B,w,_,V,W,N,!1);return;case"select":F6("select",G),c0("invalid",$),X=W=B=null;for(N in G)if(G.hasOwnProperty(N)&&(w=G[N],w!=null))switch(N){case"value":B=w;break;case"defaultValue":W=w;break;case"multiple":X=w;default:U1($,Z,N,w,G,null)}qK($,G),Z=B,G=W,$.multiple=!!X,Z!=null?S$($,!!X,Z,!1):G!=null&&S$($,!!X,G,!0);return;case"textarea":F6("textarea",G),c0("invalid",$),B=N=X=null;for(W in G)if(G.hasOwnProperty(W)&&(w=G[W],w!=null))switch(W){case"value":X=w;break;case"defaultValue":N=w;break;case"children":B=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:U1($,Z,W,w,G,null)}XK($,G),UK($,X,N,B);return;case"option":GK($,G);for(_ in G)if(G.hasOwnProperty(_)&&(X=G[_],X!=null))switch(_){case"selected":$.selected=X&&typeof X!=="function"&&typeof X!=="symbol";break;default:U1($,Z,_,X,G,null)}return;case"dialog":c0("beforetoggle",$),c0("toggle",$),c0("cancel",$),c0("close",$);break;case"iframe":case"object":c0("load",$);break;case"video":case"audio":for(X=0;X<OZ.length;X++)c0(OZ[X],$);break;case"image":c0("error",$),c0("load",$);break;case"details":c0("toggle",$);break;case"embed":case"source":case"link":c0("error",$),c0("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(V in G)if(G.hasOwnProperty(V)&&(X=G[V],X!=null))switch(V){case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:U1($,Z,V,X,G,null)}return;default:if(U7(Z)){for(k in G)G.hasOwnProperty(k)&&(X=G[k],X!==void 0&&cX($,Z,k,X,G,void 0));return}}for(w in G)G.hasOwnProperty(w)&&(X=G[w],X!=null&&U1($,Z,w,X,G,null))}function uL($,Z,G,X){switch(pX(Z,X),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var N=null,B=null,W=null,w=null,_=null,V=null,k=null;for(y in G){var b=G[y];if(G.hasOwnProperty(y)&&b!=null)switch(y){case"checked":break;case"value":break;case"defaultValue":_=b;default:X.hasOwnProperty(y)||U1($,Z,y,null,X,b)}}for(var D in X){var y=X[D];if(b=G[D],X.hasOwnProperty(D)&&(y!=null||b!=null))switch(D){case"type":B=y;break;case"name":N=y;break;case"checked":V=y;break;case"defaultChecked":k=y;break;case"value":W=y;break;case"defaultValue":w=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:y!==b&&U1($,Z,D,y,X,b)}}Z=G.type==="checkbox"||G.type==="radio"?G.checked!=null:G.value!=null,X=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,Z||!X||Kw||(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"),Kw=!0),!Z||X||Nw||(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"),Nw=!0),G3($,W,w,_,V,k,B,N);return;case"select":y=W=w=D=null;for(B in G)if(_=G[B],G.hasOwnProperty(B)&&_!=null)switch(B){case"value":break;case"multiple":y=_;default:X.hasOwnProperty(B)||U1($,Z,B,null,X,_)}for(N in X)if(B=X[N],_=G[N],X.hasOwnProperty(N)&&(B!=null||_!=null))switch(N){case"value":D=B;break;case"defaultValue":w=B;break;case"multiple":W=B;default:B!==_&&U1($,Z,N,B,X,_)}X=w,Z=W,G=y,D!=null?S$($,!!Z,D,!1):!!G!==!!Z&&(X!=null?S$($,!!Z,X,!0):S$($,!!Z,Z?[]:"",!1));return;case"textarea":y=D=null;for(w in G)if(N=G[w],G.hasOwnProperty(w)&&N!=null&&!X.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:U1($,Z,w,null,X,N)}for(W in X)if(N=X[W],B=G[W],X.hasOwnProperty(W)&&(N!=null||B!=null))switch(W){case"value":D=N;break;case"defaultValue":y=N;break;case"children":break;case"dangerouslySetInnerHTML":if(N!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:N!==B&&U1($,Z,W,N,X,B)}YK($,D,y);return;case"option":for(var t in G)if(D=G[t],G.hasOwnProperty(t)&&D!=null&&!X.hasOwnProperty(t))switch(t){case"selected":$.selected=!1;break;default:U1($,Z,t,null,X,D)}for(_ in X)if(D=X[_],y=G[_],X.hasOwnProperty(_)&&D!==y&&(D!=null||y!=null))switch(_){case"selected":$.selected=D&&typeof D!=="function"&&typeof D!=="symbol";break;default:U1($,Z,_,D,X,y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Z0 in G)D=G[Z0],G.hasOwnProperty(Z0)&&D!=null&&!X.hasOwnProperty(Z0)&&U1($,Z,Z0,null,X,D);for(V in X)if(D=X[V],y=G[V],X.hasOwnProperty(V)&&D!==y&&(D!=null||y!=null))switch(V){case"children":case"dangerouslySetInnerHTML":if(D!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U1($,Z,V,D,X,y)}return;default:if(U7(Z)){for(var F1 in G)D=G[F1],G.hasOwnProperty(F1)&&D!==void 0&&!X.hasOwnProperty(F1)&&cX($,Z,F1,void 0,X,D);for(k in X)D=X[k],y=G[k],!X.hasOwnProperty(k)||D===y||D===void 0&&y===void 0||cX($,Z,k,D,X,y);return}}for(var l0 in G)D=G[l0],G.hasOwnProperty(l0)&&D!=null&&!X.hasOwnProperty(l0)&&U1($,Z,l0,null,X,D);for(b in X)D=X[b],y=G[b],!X.hasOwnProperty(b)||D===y||D==null&&y==null||U1($,Z,b,D,X,y)}function MM($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function lX($){var Z={};$=$.style;for(var G=0;G<$.length;G++){var X=$[G];Z[X]=$.getPropertyValue(X)}return Z}function FM($,Z,G){if(Z!=null&&typeof Z!=="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 X,N=X="",B;for(B in Z)if(Z.hasOwnProperty(B)){var W=Z[B];W!=null&&typeof W!=="boolean"&&W!==""&&(B.indexOf("--")===0?(Q7(W,B),X+=N+B+":"+(""+W).trim()):typeof W!=="number"||W===0||PF.has(B)?(Q7(W,B),X+=N+B.replace(zF,"-$1").toLowerCase().replace(_F,"-ms-")+":"+(""+W).trim()):X+=N+B.replace(zF,"-$1").toLowerCase().replace(_F,"-ms-")+":"+W+"px",N=";")}X=X||null,Z=$.getAttribute("style"),Z!==X&&(X=C6(X),C6(Z)!==X&&(G.style=lX($)))}}function U4($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(Y1(X,Z),$===""+X)return}n1(Z,$,X,B)}function WM($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null){switch(typeof X){case"function":case"symbol":return}if(!X)return}else switch(typeof X){case"function":case"symbol":break;default:if(X)return}n1(Z,$,X,B)}function rX($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":return}else if(X!=null)switch(typeof X){case"function":case"symbol":break;default:if(Y1(X,G),$===""+X)return}n1(Z,$,X,B)}function wM($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(X))return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(!isNaN(X)&&(Y1(X,Z),$===""+X))return}n1(Z,$,X,B)}function sX($,Z,G,X,N,B){if(N.delete(G),$=$.getAttribute(G),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(Y1(X,Z),G=N7(""+X),$===G)return}n1(Z,$,X,B)}function RM($,Z,G,X){for(var N={},B=new Set,W=$.attributes,w=0;w<W.length;w++)switch(W[w].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:B.add(W[w].name)}if(U7(Z)){for(var _ in G)if(G.hasOwnProperty(_)){var V=G[_];if(V!=null){if(m2.hasOwnProperty(_))typeof V!=="function"&&G8(_,V);else if(G.suppressHydrationWarning!==!0)switch(_){case"children":typeof V!=="string"&&typeof V!=="number"||n1("children",$.textContent,V,N);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":W=$.innerHTML,V=V?V.__html:void 0,V!=null&&(V=BM($,V),n1(_,W,V,N));continue;case"style":B.delete(_),FM($,V,N);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":B.delete(_.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",_);continue;case"className":B.delete("class"),W=tN($,"class",V),n1("className",W,V,N);continue;default:X.context===n8&&Z!=="svg"&&Z!=="math"?B.delete(_.toLowerCase()):B.delete(_),W=tN($,_,V),n1(_,W,V,N)}}}}else for(V in G)if(G.hasOwnProperty(V)&&(_=G[V],_!=null)){if(m2.hasOwnProperty(V))typeof _!=="function"&&G8(V,_);else if(G.suppressHydrationWarning!==!0)switch(V){case"children":typeof _!=="string"&&typeof _!=="number"||n1("children",$.textContent,_,N);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":W=$.innerHTML,_=_?_.__html:void 0,_!=null&&(_=BM($,_),W!==_&&(N[V]={__html:W}));continue;case"className":U4($,V,"class",_,B,N);continue;case"tabIndex":U4($,V,"tabindex",_,B,N);continue;case"style":B.delete(V),FM($,_,N);continue;case"multiple":B.delete(V),n1(V,$.multiple,_,N);continue;case"muted":B.delete(V),n1(V,$.muted,_,N);continue;case"autoFocus":B.delete("autofocus"),n1(V,$.autofocus,_,N);continue;case"data":if(Z!=="object"){B.delete(V),W=$.getAttribute("data"),n1(V,W,_,N);continue}case"src":case"href":if(!(_!==""||Z==="a"&&V==="href"||Z==="object"&&V==="data")){V==="src"?console.error('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.',V,V):console.error('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.',V,V);continue}sX($,V,V,_,B,N);continue;case"action":case"formAction":if(W=$.getAttribute(V),typeof _==="function"){B.delete(V.toLowerCase()),V==="formAction"?(B.delete("name"),B.delete("formenctype"),B.delete("formmethod"),B.delete("formtarget")):(B.delete("enctype"),B.delete("method"),B.delete("target"));continue}else if(W===eE){B.delete(V.toLowerCase()),n1(V,"function",_,N);continue}sX($,V,V.toLowerCase(),_,B,N);continue;case"xlinkHref":sX($,V,"xlink:href",_,B,N);continue;case"contentEditable":rX($,V,"contenteditable",_,B,N);continue;case"spellCheck":rX($,V,"spellcheck",_,B,N);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":rX($,V,V,_,B,N);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":WM($,V,V.toLowerCase(),_,B,N);continue;case"capture":case"download":$:{w=$;var k=W=V,b=N;if(B.delete(k),w=w.getAttribute(k),w===null)switch(typeof _){case"undefined":case"function":case"symbol":break $;default:if(_===!1)break $}else if(_!=null)switch(typeof _){case"function":case"symbol":break;case"boolean":if(_===!0&&w==="")break $;break;default:if(Y1(_,W),w===""+_)break $}n1(W,w,_,b)}continue;case"cols":case"rows":case"size":case"span":$:{if(w=$,k=W=V,b=N,B.delete(k),w=w.getAttribute(k),w===null)switch(typeof _){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(_)||1>_)break $}else if(_!=null)switch(typeof _){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(_)||1>_)&&(Y1(_,W),w===""+_))break $}n1(W,w,_,b)}continue;case"rowSpan":wM($,V,"rowspan",_,B,N);continue;case"start":wM($,V,V,_,B,N);continue;case"xHeight":U4($,V,"x-height",_,B,N);continue;case"xlinkActuate":U4($,V,"xlink:actuate",_,B,N);continue;case"xlinkArcrole":U4($,V,"xlink:arcrole",_,B,N);continue;case"xlinkRole":U4($,V,"xlink:role",_,B,N);continue;case"xlinkShow":U4($,V,"xlink:show",_,B,N);continue;case"xlinkTitle":U4($,V,"xlink:title",_,B,N);continue;case"xlinkType":U4($,V,"xlink:type",_,B,N);continue;case"xmlBase":U4($,V,"xml:base",_,B,N);continue;case"xmlLang":U4($,V,"xml:lang",_,B,N);continue;case"xmlSpace":U4($,V,"xml:space",_,B,N);continue;case"inert":_!==""||AJ[V]||(AJ[V]=!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.",V)),WM($,V,V,_,B,N);continue;default:if(!(2<V.length)||V[0]!=="o"&&V[0]!=="O"||V[1]!=="n"&&V[1]!=="N"){w=TK(V),W=!1,X.context===n8&&Z!=="svg"&&Z!=="math"?B.delete(w.toLowerCase()):(k=V.toLowerCase(),k=dG.hasOwnProperty(k)?dG[k]||null:null,k!==null&&k!==V&&(W=!0,B.delete(k)),B.delete(w));$:if(k=$,b=w,w=_,J7(b))if(k.hasAttribute(b))k=k.getAttribute(b),Y1(w,b),w=k===""+w?w:k;else{switch(typeof w){case"function":case"symbol":break $;case"boolean":if(k=b.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break $}w=w===void 0?void 0:null}else w=void 0;W||n1(V,w,_,N)}}}return 0<B.size&&G.suppressHydrationWarning!==!0&&xL($,B,N),Object.keys(N).length===0?null:N}function mL($,Z){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+Z+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+Z+" "+$[$.length-1]}}function TM($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dL(){if(typeof performance.getEntriesByType==="function"){for(var $=0,Z=0,G=performance.getEntriesByType("resource"),X=0;X<G.length;X++){var N=G[X],B=N.transferSize,W=N.initiatorType,w=N.duration;if(B&&w&&TM(W)){W=0,w=N.responseEnd;for(X+=1;X<G.length;X++){var _=G[X],V=_.startTime;if(V>w)break;var{transferSize:k,initiatorType:b}=_;k&&TM(b)&&(_=_.responseEnd,W+=k*(_<w?1:(w-V)/(_-V)))}if(--X,Z+=8*(B+W)/(N.duration/1000),$++,10<$)break}}if(0<$)return Z/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function PG($){return $.nodeType===9?$:$.ownerDocument}function zM($){switch($){case $9:return A9;case mG:return vJ;default:return n8}}function _M($,Z){if($===n8)switch(Z){case"svg":return A9;case"math":return vJ;default:return n8}return $===A9&&Z==="foreignObject"?n8:$}function nX($,Z){return $==="textarea"||$==="noscript"||typeof Z.children==="string"||typeof Z.children==="number"||typeof Z.children==="bigint"||typeof Z.dangerouslySetInnerHTML==="object"&&Z.dangerouslySetInnerHTML!==null&&Z.dangerouslySetInnerHTML.__html!=null}function pL(){var $=window.event;if($&&$.type==="popstate"){if($===AU)return!1;return AU=$,!0}return AU=null,!1}function b7(){var $=window.event;return $&&$!==AZ?$.type:null}function f7(){var $=window.event;return $&&$!==AZ?$.timeStamp:-1.1}function cL($){setTimeout(function(){throw $})}function lL($,Z,G){switch(Z){case"button":case"input":case"select":case"textarea":G.autoFocus&&$.focus();break;case"img":G.src?$.src=G.src:G.srcSet&&($.srcset=G.srcSet)}}function rL(){}function sL($,Z,G,X){uL($,Z,G,X),$[R5]=X}function LM($){Y7($,"")}function nL($,Z,G){$.nodeValue=G}function VM($){if(!$.__reactWarnedAboutChildrenConflict){var Z=$[R5]||null;if(Z!==null){var G=E0($);G!==null&&(typeof Z.children==="string"||typeof Z.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,G0(G,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.')})):Z.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,G0(G,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 I6($){return $==="head"}function oL($,Z){$.removeChild(Z)}function aL($,Z){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(Z)}function EM($,Z){var G=Z,X=0;do{var N=G.nextSibling;if($.removeChild(G),N&&N.nodeType===8)if(G=N.data,G===jZ||G===SJ){if(X===0){$.removeChild(N),n$(Z);return}X--}else if(G===DZ||G===a6||G===X$||G===j9||G===q$)X++;else if(G===ZP)y7($.ownerDocument.documentElement);else if(G===GP){G=$.ownerDocument.head,y7(G);for(var B=G.firstChild;B;){var{nextSibling:W,nodeName:w}=B;B[p7]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&B.rel.toLowerCase()==="stylesheet"||G.removeChild(B),B=W}}else G===QP&&y7($.ownerDocument.body);G=N}while(G);n$(Z)}function PM($,Z){var G=$;$=0;do{var X=G.nextSibling;if(G.nodeType===1?Z?(G._stashedDisplay=G.style.display,G.style.display="none"):(G.style.display=G._stashedDisplay||"",G.getAttribute("style")===""&&G.removeAttribute("style")):G.nodeType===3&&(Z?(G._stashedText=G.nodeValue,G.nodeValue=""):G.nodeValue=G._stashedText||""),X&&X.nodeType===8)if(G=X.data,G===jZ)if($===0)break;else $--;else G!==DZ&&G!==a6&&G!==X$&&G!==j9||$++;G=X}while(G)}function iL($){PM($,!0)}function tL($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function eL($){$.nodeValue=""}function $V($){PM($,!1)}function ZV($,Z){Z=Z[JP],Z=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null,$.style.display=Z==null||typeof Z==="boolean"?"":(""+Z).trim()}function QV($,Z){$.nodeValue=Z}function oX($){var Z=$.firstChild;Z&&Z.nodeType===10&&(Z=Z.nextSibling);for(;Z;){var G=Z;switch(Z=Z.nextSibling,G.nodeName){case"HTML":case"HEAD":case"BODY":oX(G),e(G);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(G.rel.toLowerCase()==="stylesheet")continue}$.removeChild(G)}}function GV($,Z,G,X){for(;$.nodeType===1;){var N=G;if($.nodeName.toLowerCase()!==Z.toLowerCase()){if(!X&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!X)if(Z==="input"&&$.type==="hidden"){Y1(N.name,"name");var B=N.name==null?null:""+N.name;if(N.type==="hidden"&&$.getAttribute("name")===B)return $}else return $;else if(!$[p7])switch(Z){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(B=$.getAttribute("rel"),B==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(B!==N.rel||$.getAttribute("href")!==(N.href==null||N.href===""?null:N.href)||$.getAttribute("crossorigin")!==(N.crossOrigin==null?null:N.crossOrigin)||$.getAttribute("title")!==(N.title==null?null:N.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(B=$.getAttribute("src"),(B!==(N.src==null?null:N.src)||$.getAttribute("type")!==(N.type==null?null:N.type)||$.getAttribute("crossorigin")!==(N.crossOrigin==null?null:N.crossOrigin))&&B&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=a5($.nextSibling),$===null)break}return null}function JV($,Z,G){if(Z==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!G)return null;if($=a5($.nextSibling),$===null)return null}return $}function CM($,Z){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Z)return null;if($=a5($.nextSibling),$===null)return null}return $}function aX($){return $.data===a6||$.data===X$}function iX($){return $.data===j9||$.data===a6&&$.ownerDocument.readyState!==Fw}function qV($,Z){var G=$.ownerDocument;if($.data===X$)$._reactRetry=Z;else if($.data!==a6||G.readyState!==Fw)Z();else{var X=function(){Z(),G.removeEventListener("DOMContentLoaded",X)};G.addEventListener("DOMContentLoaded",X),$._reactRetry=X}}function a5($){for(;$!=null;$=$.nextSibling){var Z=$.nodeType;if(Z===1||Z===3)break;if(Z===8){if(Z=$.data,Z===DZ||Z===j9||Z===a6||Z===X$||Z===q$||Z===OU||Z===Mw)break;if(Z===jZ||Z===SJ)return null}}return $}function IM($){if($.nodeType===1){for(var Z=$.nodeName.toLowerCase(),G={},X=$.attributes,N=0;N<X.length;N++){var B=X[N];G[MM(B.name)]=B.name.toLowerCase()==="style"?lX($):B.value}return{type:Z,props:G}}return $.nodeType===8?$.data===q$?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function OM($,Z,G){return G===null||G[$P]!==!0?($.nodeValue===Z?$=null:(Z=C6(Z),$=C6($.nodeValue)===Z?null:$.nodeValue),$):null}function tX($){$=$.nextSibling;for(var Z=0;$;){if($.nodeType===8){var G=$.data;if(G===jZ||G===SJ){if(Z===0)return a5($.nextSibling);Z--}else G!==DZ&&G!==j9&&G!==a6&&G!==X$&&G!==q$||Z++}$=$.nextSibling}return null}function DM($){$=$.previousSibling;for(var Z=0;$;){if($.nodeType===8){var G=$.data;if(G===DZ||G===j9||G===a6||G===X$||G===q$){if(Z===0)return $;Z--}else G!==jZ&&G!==SJ||Z++}$=$.previousSibling}return null}function XV($){n$($)}function YV($){n$($)}function UV($){n$($)}function jM($,Z,G,X,N){switch(N&&N3($,X.ancestorInfo),Z=PG(G),$){case"html":if($=Z.documentElement,!$)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 $;case"head":if($=Z.head,!$)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 $;case"body":if($=Z.body,!$)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 $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function NV($,Z,G,X){if(!G[A6]&&E0(G)){var N=G.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.",N,N,N)}switch($){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(N=G.attributes;N.length;)G.removeAttributeNode(N[0]);Q5(G,$,Z),G[G5]=X,G[R5]=Z}function y7($){for(var Z=$.attributes;Z.length;)$.removeAttributeNode(Z[0]);e($)}function CG($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function AM($,Z,G){var X=S9;if(X&&typeof Z==="string"&&Z){var N=Y4(Z);N='link[rel="'+$+'"][href="'+N+'"]',typeof G==="string"&&(N+='[crossorigin="'+G+'"]'),_w.has(N)||(_w.add(N),$={rel:$,crossOrigin:G,href:Z},X.querySelector(N)===null&&(Z=X.createElement("link"),Q5(Z,"link",$),F0(Z),X.head.appendChild(Z)))}}function SM($,Z,G,X){var N=(N=D6.current)?CG(N):null;if(!N)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof G.precedence==="string"&&typeof G.href==="string"?(G=r$(G.href),Z=a0(N).hoistableStyles,X=Z.get(G),X||(X={type:"style",instance:null,count:0,state:null},Z.set(G,X)),X):{type:"void",instance:null,count:0,state:null};case"link":if(G.rel==="stylesheet"&&typeof G.href==="string"&&typeof G.precedence==="string"){$=r$(G.href);var B=a0(N).hoistableStyles,W=B.get($);if(!W&&(N=N.ownerDocument||N,W={type:"stylesheet",instance:null,count:0,state:{loading:U$,preload:null}},B.set($,W),(B=N.querySelector(g7($)))&&!B._p&&(W.instance=B,W.state.loading=SZ|z4),!_4.has($))){var w={rel:"preload",as:"style",href:G.href,crossOrigin:G.crossOrigin,integrity:G.integrity,media:G.media,hrefLang:G.hrefLang,referrerPolicy:G.referrerPolicy};_4.set($,w),B||KV(N,$,w,W.state)}if(Z&&X===null)throw G=`
175
+ 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`,d($))})}function Q$($){$!==j9&&$.next===null&&(j9===null?PJ=j9=$:j9=j9.next=$),CJ=!0,h.actQueue!==null?EU||(EU=!0,JH()):TU||(TU=!0,JH())}function vZ($,Z){if(!wU&&CJ){wU=!0;do{var q=!1;for(var X=PJ;X!==null;){if(!Z)if($!==0){var K=X.pendingLanes;if(K===0)var N=0;else{var{suspendedLanes:W,pingedLanes:R}=X;N=(1<<31-R8(42|$)+1)-1,N&=K&~(W&~R),N=N&201326741?N&201326741|1:N?N|2:0}N!==0&&(q=!0,GH(X,N))}else N=S0,N=_4(X,X===B5?N:0,X.cancelPendingCommit!==null||X.timeoutHandle!==Y7),(N&3)===0||T4(X,N)||(q=!0,GH(X,N));X=X.next}}while(q);wU=!1}}function yT(){DQ=window.event,g3()}function g3(){CJ=EU=TU=!1;var $=0;o6!==0&&pT()&&($=o6);for(var Z=o5(),q=null,X=PJ;X!==null;){var K=X.next,N=QH(X,Z);if(N===0)X.next=null,q===null?PJ=K:q.next=K,K===null&&(j9=q);else if(q=X,$!==0||(N&3)!==0)CJ=!0;X=K}d5!==s6&&d5!==TJ||vZ($,!1),o6!==0&&(o6=0)}function QH($,Z){for(var{suspendedLanes:q,pingedLanes:X,expirationTimes:K}=$,N=$.pendingLanes&-62914561;0<N;){var W=31-R8(N),R=1<<W,_=K[W];if(_===-1){if((R&q)===0||(R&X)!==0)K[W]=ZX(R,Z)}else _<=Z&&($.expiredLanes|=R);N&=~R}if(Z=B5,q=S0,q=_4($,$===Z?q:0,$.cancelPendingCommit!==null||$.timeoutHandle!==Y7),X=$.callbackNode,q===0||$===Z&&(J5===$7||J5===Z7)||$.cancelPendingCommit!==null)return X!==null&&x3(X),$.callbackNode=null,$.callbackPriority=0;if((q&3)===0||T4($,q)){if(Z=q&-q,Z!==$.callbackPriority||h.actQueue!==null&&X!==PU)x3(X);else return Z;switch(w(q)){case e8:case A1:q=VY;break;case K$:q=a7;break;case hG:q=_Y;break;default:q=a7}return X=qH.bind(null,$),h.actQueue!==null?(h.actQueue.push(X),q=PU):q=zY(q,X),$.callbackPriority=Z,$.callbackNode=q,Z}return X!==null&&x3(X),$.callbackPriority=2,$.callbackNode=null,2}function qH($,Z){if(qJ=QJ=!1,DQ=window.event,d5!==s6&&d5!==TJ)return $.callbackNode=null,$.callbackPriority=0,null;var q=$.callbackNode;if(f1===_J&&(f1=WU),DZ()&&$.callbackNode!==q)return null;var X=S0;if(X=_4($,$===B5?X:0,$.cancelPendingCommit!==null||$.timeoutHandle!==Y7),X===0)return null;return yM($,X,Z),QH($,o5()),$.callbackNode!=null&&$.callbackNode===q?qH.bind(null,$):null}function GH($,Z){if(DZ())return null;QJ=qJ,qJ=!1,yM($,Z,!0)}function x3($){$!==PU&&$!==null&&CE($)}function JH(){h.actQueue!==null&&h.actQueue.push(function(){return g3(),null}),XP(function(){(o0&(r5|q1))!==t5?zY(LY,yT):g3()})}function h3(){if(o6===0){var $=s4;$===0&&($=yG,yG<<=1,(yG&261888)===0&&(yG=256)),o6=$}return o6}function XH($){if($==null||typeof $==="symbol"||typeof $==="boolean")return null;if(typeof $==="function")return $;return Y5($,"action"),KZ(""+$)}function YH($,Z){var q=Z.ownerDocument.createElement("input");return q.name=Z.name,q.value=Z.value,$.id&&q.setAttribute("form",$.id),Z.parentNode.insertBefore(q,Z),$=new FormData($),q.parentNode.removeChild(q),$}function gT($,Z,q,X,K){if(Z==="submit"&&q&&q.stateNode===K){var N=XH((K[z8]||null).action),W=X.submitter;W&&(Z=(Z=W[z8]||null)?XH(Z.formAction):W.getAttribute("formAction"),Z!==null&&(N=Z,W=null));var R=new cG("action","action",null,X,K);$.push({event:R,listeners:[{instance:null,listener:function(){if(X.defaultPrevented){if(o6!==0){var _=W?YH(K,W):new FormData(K),E={pending:!0,data:_,method:K.method,action:N};Object.freeze(E),J3(q,E,null,_)}}else typeof N==="function"&&(R.preventDefault(),_=W?YH(K,W):new FormData(K),E={pending:!0,data:_,method:K.method,action:N},Object.freeze(E),J3(q,E,N,_))},currentTarget:K}]})}}function EG($,Z,q){$.currentTarget=q;try{Z($)}catch(X){yY(X)}$.currentTarget=null}function UH($,Z){Z=(Z&4)!==0;for(var q=0;q<$.length;q++){var X=$[q];$:{var K=void 0,N=X.event;if(X=X.listeners,Z)for(var W=X.length-1;0<=W;W--){var R=X[W],_=R.instance,E=R.currentTarget;if(R=R.listener,_!==K&&N.isPropagationStopped())break $;_!==null?q0(_,EG,N,R,E):EG(N,R,E),K=_}else for(W=0;W<X.length;W++){if(R=X[W],_=R.instance,E=R.currentTarget,R=R.listener,_!==K&&N.isPropagationStopped())break $;_!==null?q0(_,EG,N,R,E):EG(N,R,E),K=_}}}}function c0($,Z){CU.has($)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',$);var q=Z[TY];q===void 0&&(q=Z[TY]=new Set);var X=$+"__bubble";q.has(X)||(KH(Z,$,2,!1),q.add(X))}function u3($,Z,q){CU.has($)&&!Z&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',$);var X=0;Z&&(X|=4),KH(q,$,X,Z)}function m3($){if(!$[IJ]){$[IJ]=!0,JF.forEach(function(q){q!=="selectionchange"&&(CU.has(q)||u3(q,!1,$),u3(q,!0,$))});var Z=$.nodeType===9?$:$.ownerDocument;Z===null||Z[IJ]||(Z[IJ]=!0,u3("selectionchange",!1,Z))}}function KH($,Z,q,X){switch(dH(Z)){case e8:var K=zE;break;case A1:K=LE;break;default:K=qY}q=K.bind(null,Z,q,$),K=void 0,!IY||Z!=="touchstart"&&Z!=="touchmove"&&Z!=="wheel"||(K=!0),X?K!==void 0?$.addEventListener(Z,q,{capture:!0,passive:K}):$.addEventListener(Z,q,!0):K!==void 0?$.addEventListener(Z,q,{passive:K}):$.addEventListener(Z,q,!1)}function d3($,Z,q,X,K){var N=X;if((Z&1)===0&&(Z&2)===0&&X!==null)$:for(;;){if(X===null)return;var W=X.tag;if(W===3||W===4){var R=X.stateNode.containerInfo;if(R===K)break;if(W===4)for(W=X.return;W!==null;){var _=W.tag;if((_===3||_===4)&&W.stateNode.containerInfo===K)return;W=W.return}for(;R!==null;){if(W=J0(R),W===null)return;if(_=W.tag,_===5||_===6||_===26||_===27){X=N=W;continue $}R=R.parentNode}}X=X.return}_B(function(){var E=N,k=BX(q),b=[];$:{var j=dF.get($);if(j!==void 0){var y=cG,t=$;switch($){case"keypress":if(Dq(q)===0)break $;case"keydown":case"keyup":y=Mw;break;case"focusin":t="focus",y=DY;break;case"focusout":t="blur",y=DY;break;case"beforeblur":case"afterblur":y=DY;break;case"click":if(q.button===2)break $;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=jF;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=$w;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Ww;break;case xF:case hF:case uF:y=qw;break;case mF:y=zw;break;case"scroll":case"scrollend":y=tE;break;case"wheel":y=Vw;break;case"copy":case"cut":case"paste":y=Jw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=DF;break;case"toggle":case"beforetoggle":y=Tw}var Z0=(Z&4)!==0,F5=!Z0&&($==="scroll"||$==="scrollend"),l0=Z0?j!==null?j+"Capture":null:j;Z0=[];for(var O=E,A;O!==null;){var v=O;if(A=v.stateNode,v=v.tag,v!==5&&v!==26&&v!==27||A===null||l0===null||(v=BZ(O,l0),v!=null&&Z0.push(kZ(O,v,A))),F5)break;O=O.return}0<Z0.length&&(j=new y(j,t,null,q,k),b.push({event:j,listeners:Z0}))}}if((Z&7)===0){$:{if(j=$==="mouseover"||$==="pointerover",y=$==="mouseout"||$==="pointerout",j&&q!==cZ&&(t=q.relatedTarget||q.fromElement)&&(J0(t)||t[D6]))break $;if(y||j){if(j=k.window===k?k:(j=k.ownerDocument)?j.defaultView||j.parentWindow:window,y){if(t=q.relatedTarget||q.toElement,y=E,t=t?J0(t):null,t!==null&&(F5=g(t),Z0=t.tag,t!==F5||Z0!==5&&Z0!==27&&Z0!==6))t=null}else y=null,t=E;if(y!==t){if(Z0=jF,v="onMouseLeave",l0="onMouseEnter",O="mouse",$==="pointerout"||$==="pointerover")Z0=DF,v="onPointerLeave",l0="onPointerEnter",O="pointer";if(F5=y==null?j:P0(y),A=t==null?j:P0(t),j=new Z0(v,O+"leave",y,q,k),j.target=F5,j.relatedTarget=A,v=null,J0(k)===E&&(Z0=new Z0(l0,O+"enter",t,q,k),Z0.target=A,Z0.relatedTarget=F5,v=Z0),F5=v,y&&t)Z:{Z0=xT,l0=y,O=t,A=0;for(v=l0;v;v=Z0(v))A++;v=0;for(var u=O;u;u=Z0(u))v++;for(;0<A-v;)l0=Z0(l0),A--;for(;0<v-A;)O=Z0(O),v--;for(;A--;){if(l0===O||O!==null&&l0===O.alternate){Z0=l0;break Z}l0=Z0(l0),O=Z0(O)}Z0=null}else Z0=null;y!==null&&BH(b,j,y,Z0,!1),t!==null&&F5!==null&&BH(b,F5,t,Z0,!0)}}}$:{if(j=E?P0(E):window,y=j.nodeName&&j.nodeName.toLowerCase(),y==="select"||y==="input"&&j.type==="file")var $0=OB;else if(CB(j))if(yF)$0=i_;else{$0=n_;var E0=s_}else y=j.nodeName,!y||y.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?E&&UZ(E.elementType)&&($0=OB):$0=o_;if($0&&($0=$0($,E))){IB(b,$0,q,k);break $}E0&&E0($,j,E),$==="focusout"&&E&&j.type==="number"&&E.memoizedProps.value!=null&&GX(j,"number",j.value)}switch(E0=E?P0(E):window,$){case"focusin":if(CB(E0)||E0.contentEditable==="true")J9=E0,vY=E,aZ=null;break;case"focusout":aZ=vY=J9=null;break;case"mousedown":kY=!0;break;case"contextmenu":case"mouseup":case"dragend":kY=!1,bB(b,q,k);break;case"selectionchange":if(Cw)break;case"keydown":case"keyup":bB(b,q,k)}var H0;if(SY)$:{switch($){case"compositionstart":var U0="onCompositionStart";break $;case"compositionend":U0="onCompositionEnd";break $;case"compositionupdate":U0="onCompositionUpdate";break $}U0=void 0}else G9?wB($,q)&&(U0="onCompositionEnd"):$==="keydown"&&q.keyCode===SF&&(U0="onCompositionStart");if(U0&&(vF&&q.locale!=="ko"&&(G9||U0!=="onCompositionStart"?U0==="onCompositionEnd"&&G9&&(H0=TB()):(S6=k,OY=("value"in S6)?S6.value:S6.textContent,G9=!0)),E0=wG(E,U0),0<E0.length&&(U0=new AF(U0,$,null,q,k),b.push({event:U0,listeners:E0}),H0?U0.data=H0:(H0=PB(q),H0!==null&&(U0.data=H0)))),H0=ww?p_($,q):c_($,q))U0=wG(E,"onBeforeInput"),0<U0.length&&(E0=new Yw("onBeforeInput","beforeinput",null,q,k),b.push({event:E0,listeners:U0}),E0.data=H0);gT(b,$,E,q,k)}UH(b,Z)})}function kZ($,Z,q){return{instance:$,listener:Z,currentTarget:q}}function wG($,Z){for(var q=Z+"Capture",X=[];$!==null;){var K=$,N=K.stateNode;if(K=K.tag,K!==5&&K!==26&&K!==27||N===null||(K=BZ($,q),K!=null&&X.unshift(kZ($,K,N)),K=BZ($,Z),K!=null&&X.push(kZ($,K,N))),$.tag===3)return X;$=$.return}return[]}function xT($){if($===null)return null;do $=$.return;while($&&$.tag!==5&&$.tag!==27);return $?$:null}function BH($,Z,q,X,K){for(var N=Z._reactName,W=[];q!==null&&q!==X;){var R=q,_=R.alternate,E=R.stateNode;if(R=R.tag,_!==null&&_===X)break;R!==5&&R!==26&&R!==27||E===null||(_=E,K?(E=BZ(q,N),E!=null&&W.unshift(kZ(q,E,_))):K||(E=BZ(q,N),E!=null&&W.push(kZ(q,E,_)))),q=q.return}W.length!==0&&$.push({event:Z,listeners:W})}function p3($,Z){h_($,Z),$!=="input"&&$!=="textarea"&&$!=="select"||Z==null||Z.value!==null||IF||(IF=!0,$==="select"&&Z.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.",$):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",$));var q={registrationNameDependencies:m4,possibleRegistrationNames:EY};UZ($)||typeof Z.is==="string"||m_($,Z,q),Z.contentEditable&&!Z.suppressContentEditableWarning&&Z.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 n5($,Z,q,X){Z!==q&&(q=C6(q),C6(Z)!==q&&(X[$]=Z))}function hT($,Z,q){Z.forEach(function(X){q[HH(X)]=X==="style"?l3($):$.getAttribute(X)})}function q$($,Z){Z===!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.",$,$,$):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",$,typeof Z)}function NH($,Z){return $=$.namespaceURI===mG||$.namespaceURI===$9?$.ownerDocument.createElementNS($.namespaceURI,$.tagName):$.ownerDocument.createElement($.tagName),$.innerHTML=Z,$.innerHTML}function C6($){return N6($)&&(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.",V4($)),s5($)),(typeof $==="string"?$:""+$).replace(aw,`
176
+ `).replace(tw,"")}function MH($,Z){return Z=C6(Z),C6($)===Z?!0:!1}function U5($,Z,q,X,K,N){switch(q){case"children":if(typeof X==="string")Aq(X,Z,!1),Z==="body"||Z==="textarea"&&X===""||YZ($,X);else if(typeof X==="number"||typeof X==="bigint")Aq(""+X,Z,!1),Z!=="body"&&YZ($,""+X);break;case"className":Iq($,"class",X);break;case"tabIndex":Iq($,"tabindex",X);break;case"dir":case"role":case"viewBox":case"width":case"height":Iq($,q,X);break;case"style":zB($,X,N);break;case"data":if(Z!=="object"){Iq($,"data",X);break}case"src":case"href":if(X===""&&(Z!=="a"||q!=="href")){q==="src"?console.error('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.',q,q):console.error('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.',q,q),$.removeAttribute(q);break}if(X==null||typeof X==="function"||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(q);break}Y5(X,q),X=KZ(""+X),$.setAttribute(q,X);break;case"action":case"formAction":if(X!=null&&(Z==="form"?q==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof X==="function"&&(K.encType==null&&K.method==null||AJ||(AJ=!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.")),K.target==null||jJ||(jJ=!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."))):Z==="input"||Z==="button"?q==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):Z!=="input"||K.type==="submit"||K.type==="image"||OJ?Z!=="button"||K.type==null||K.type==="submit"||OJ?typeof X==="function"&&(K.name==null||NR||(NR=!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.')),K.formEncType==null&&K.formMethod==null||AJ||(AJ=!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.")),K.formTarget==null||jJ||(jJ=!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."))):(OJ=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(OJ=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):q==="action"?console.error("You can only pass the action prop to <form>."):console.error("You can only pass the formAction prop to <input> or <button>.")),typeof X==="function"){$.setAttribute(q,"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 N==="function"&&(q==="formAction"?(Z!=="input"&&U5($,Z,"name",K.name,K,null),U5($,Z,"formEncType",K.formEncType,K,null),U5($,Z,"formMethod",K.formMethod,K,null),U5($,Z,"formTarget",K.formTarget,K,null)):(U5($,Z,"encType",K.encType,K,null),U5($,Z,"method",K.method,K,null),U5($,Z,"target",K.target,K,null)));if(X==null||typeof X==="symbol"||typeof X==="boolean"){$.removeAttribute(q);break}Y5(X,q),X=KZ(""+X),$.setAttribute(q,X);break;case"onClick":X!=null&&(typeof X!=="function"&&q$(q,X),$.onclick=I$);break;case"onScroll":X!=null&&(typeof X!=="function"&&q$(q,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&q$(q,X),c0("scrollend",$));break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(q=X.__html,q!=null){if(K.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=q}}break;case"multiple":$.multiple=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"muted":$.muted=X&&typeof X!=="function"&&typeof X!=="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(X==null||typeof X==="function"||typeof X==="boolean"||typeof X==="symbol"){$.removeAttribute("xlink:href");break}Y5(X,q),q=KZ(""+X),$.setAttributeNS(G7,"xlink:href",q);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(Y5(X,q),$.setAttribute(q,""+X)):$.removeAttribute(q);break;case"inert":X!==""||DJ[q]||(DJ[q]=!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.",q));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":X&&typeof X!=="function"&&typeof X!=="symbol"?$.setAttribute(q,""):$.removeAttribute(q);break;case"capture":case"download":X===!0?$.setAttribute(q,""):X!==!1&&X!=null&&typeof X!=="function"&&typeof X!=="symbol"?(Y5(X,q),$.setAttribute(q,X)):$.removeAttribute(q);break;case"cols":case"rows":case"size":case"span":X!=null&&typeof X!=="function"&&typeof X!=="symbol"&&!isNaN(X)&&1<=X?(Y5(X,q),$.setAttribute(q,X)):$.removeAttribute(q);break;case"rowSpan":case"start":X==null||typeof X==="function"||typeof X==="symbol"||isNaN(X)?$.removeAttribute(q):(Y5(X,q),$.setAttribute(q,X));break;case"popover":c0("beforetoggle",$),c0("toggle",$),Cq($,"popover",X);break;case"xlinkActuate":C$($,G7,"xlink:actuate",X);break;case"xlinkArcrole":C$($,G7,"xlink:arcrole",X);break;case"xlinkRole":C$($,G7,"xlink:role",X);break;case"xlinkShow":C$($,G7,"xlink:show",X);break;case"xlinkTitle":C$($,G7,"xlink:title",X);break;case"xlinkType":C$($,G7,"xlink:type",X);break;case"xmlBase":C$($,IU,"xml:base",X);break;case"xmlLang":C$($,IU,"xml:lang",X);break;case"xmlSpace":C$($,IU,"xml:space",X);break;case"is":N!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Cq($,"is",X);break;case"innerText":case"textContent":break;case"popoverTarget":MR||X==null||typeof X!=="object"||(MR=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",X));default:!(2<q.length)||q[0]!=="o"&&q[0]!=="O"||q[1]!=="n"&&q[1]!=="N"?(q=LB(q),Cq($,q,X)):m4.hasOwnProperty(q)&&X!=null&&typeof X!=="function"&&q$(q,X)}}function c3($,Z,q,X,K,N){switch(q){case"style":zB($,X,N);break;case"dangerouslySetInnerHTML":if(X!=null){if(typeof X!=="object"||!("__html"in X))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(q=X.__html,q!=null){if(K.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");$.innerHTML=q}}break;case"children":typeof X==="string"?YZ($,X):(typeof X==="number"||typeof X==="bigint")&&YZ($,""+X);break;case"onScroll":X!=null&&(typeof X!=="function"&&q$(q,X),c0("scroll",$));break;case"onScrollEnd":X!=null&&(typeof X!=="function"&&q$(q,X),c0("scrollend",$));break;case"onClick":X!=null&&(typeof X!=="function"&&q$(q,X),$.onclick=I$);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(m4.hasOwnProperty(q))X!=null&&typeof X!=="function"&&q$(q,X);else $:{if(q[0]==="o"&&q[1]==="n"&&(K=q.endsWith("Capture"),Z=q.slice(2,K?q.length-7:void 0),N=$[z8]||null,N=N!=null?N[q]:null,typeof N==="function"&&$.removeEventListener(Z,N,K),typeof X==="function")){typeof N!=="function"&&N!==null&&(q in $?$[q]=null:$.hasAttribute(q)&&$.removeAttribute(q)),$.addEventListener(Z,X,K);break $}q in $?$[q]=X:X===!0?$.setAttribute(q,""):Cq($,q,X)}}}function Q8($,Z,q){switch(p3(Z,q),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":c0("error",$),c0("load",$);var X=!1,K=!1,N;for(N in q)if(q.hasOwnProperty(N)){var W=q[N];if(W!=null)switch(N){case"src":X=!0;break;case"srcSet":K=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:U5($,Z,N,W,q,null)}}K&&U5($,Z,"srcSet",q.srcSet,q,null),X&&U5($,Z,"src",q.src,q,null);return;case"input":F6("input",q),c0("invalid",$);var R=N=W=K=null,_=null,E=null;for(X in q)if(q.hasOwnProperty(X)){var k=q[X];if(k!=null)switch(X){case"name":K=k;break;case"type":W=k;break;case"checked":_=k;break;case"defaultChecked":E=k;break;case"value":N=k;break;case"defaultValue":R=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U5($,Z,X,k,q,null)}}ZB($,q),QB($,N,R,_,E,W,K,!1);return;case"select":F6("select",q),c0("invalid",$),X=W=N=null;for(K in q)if(q.hasOwnProperty(K)&&(R=q[K],R!=null))switch(K){case"value":N=R;break;case"defaultValue":W=R;break;case"multiple":X=R;default:U5($,Z,K,R,q,null)}JB($,q),Z=N,q=W,$.multiple=!!X,Z!=null?S7($,!!X,Z,!1):q!=null&&S7($,!!X,q,!0);return;case"textarea":F6("textarea",q),c0("invalid",$),N=K=X=null;for(W in q)if(q.hasOwnProperty(W)&&(R=q[W],R!=null))switch(W){case"value":X=R;break;case"defaultValue":K=R;break;case"children":N=R;break;case"dangerouslySetInnerHTML":if(R!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:U5($,Z,W,R,q,null)}XB($,q),UB($,X,K,N);return;case"option":qB($,q);for(_ in q)if(q.hasOwnProperty(_)&&(X=q[_],X!=null))switch(_){case"selected":$.selected=X&&typeof X!=="function"&&typeof X!=="symbol";break;default:U5($,Z,_,X,q,null)}return;case"dialog":c0("beforetoggle",$),c0("toggle",$),c0("cancel",$),c0("close",$);break;case"iframe":case"object":c0("load",$);break;case"video":case"audio":for(X=0;X<OQ.length;X++)c0(OQ[X],$);break;case"image":c0("error",$),c0("load",$);break;case"details":c0("toggle",$);break;case"embed":case"source":case"link":c0("error",$),c0("load",$);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(E in q)if(q.hasOwnProperty(E)&&(X=q[E],X!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:U5($,Z,E,X,q,null)}return;default:if(UZ(Z)){for(k in q)q.hasOwnProperty(k)&&(X=q[k],X!==void 0&&c3($,Z,k,X,q,void 0));return}}for(R in q)q.hasOwnProperty(R)&&(X=q[R],X!=null&&U5($,Z,R,X,q,null))}function uT($,Z,q,X){switch(p3(Z,X),Z){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var K=null,N=null,W=null,R=null,_=null,E=null,k=null;for(y in q){var b=q[y];if(q.hasOwnProperty(y)&&b!=null)switch(y){case"checked":break;case"value":break;case"defaultValue":_=b;default:X.hasOwnProperty(y)||U5($,Z,y,null,X,b)}}for(var j in X){var y=X[j];if(b=q[j],X.hasOwnProperty(j)&&(y!=null||b!=null))switch(j){case"type":N=y;break;case"name":K=y;break;case"checked":E=y;break;case"defaultChecked":k=y;break;case"value":W=y;break;case"defaultValue":R=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:y!==b&&U5($,Z,j,y,X,b)}}Z=q.type==="checkbox"||q.type==="radio"?q.checked!=null:q.value!=null,X=X.type==="checkbox"||X.type==="radio"?X.checked!=null:X.value!=null,Z||!X||BR||(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"),BR=!0),!Z||X||KR||(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"),KR=!0),qX($,W,R,_,E,k,N,K);return;case"select":y=W=R=j=null;for(N in q)if(_=q[N],q.hasOwnProperty(N)&&_!=null)switch(N){case"value":break;case"multiple":y=_;default:X.hasOwnProperty(N)||U5($,Z,N,null,X,_)}for(K in X)if(N=X[K],_=q[K],X.hasOwnProperty(K)&&(N!=null||_!=null))switch(K){case"value":j=N;break;case"defaultValue":R=N;break;case"multiple":W=N;default:N!==_&&U5($,Z,K,N,X,_)}X=R,Z=W,q=y,j!=null?S7($,!!Z,j,!1):!!q!==!!Z&&(X!=null?S7($,!!Z,X,!0):S7($,!!Z,Z?[]:"",!1));return;case"textarea":y=j=null;for(R in q)if(K=q[R],q.hasOwnProperty(R)&&K!=null&&!X.hasOwnProperty(R))switch(R){case"value":break;case"children":break;default:U5($,Z,R,null,X,K)}for(W in X)if(K=X[W],N=q[W],X.hasOwnProperty(W)&&(K!=null||N!=null))switch(W){case"value":j=K;break;case"defaultValue":y=K;break;case"children":break;case"dangerouslySetInnerHTML":if(K!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:K!==N&&U5($,Z,W,K,X,N)}YB($,j,y);return;case"option":for(var t in q)if(j=q[t],q.hasOwnProperty(t)&&j!=null&&!X.hasOwnProperty(t))switch(t){case"selected":$.selected=!1;break;default:U5($,Z,t,null,X,j)}for(_ in X)if(j=X[_],y=q[_],X.hasOwnProperty(_)&&j!==y&&(j!=null||y!=null))switch(_){case"selected":$.selected=j&&typeof j!=="function"&&typeof j!=="symbol";break;default:U5($,Z,_,j,X,y)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Z0 in q)j=q[Z0],q.hasOwnProperty(Z0)&&j!=null&&!X.hasOwnProperty(Z0)&&U5($,Z,Z0,null,X,j);for(E in X)if(j=X[E],y=q[E],X.hasOwnProperty(E)&&j!==y&&(j!=null||y!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(Z+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:U5($,Z,E,j,X,y)}return;default:if(UZ(Z)){for(var F5 in q)j=q[F5],q.hasOwnProperty(F5)&&j!==void 0&&!X.hasOwnProperty(F5)&&c3($,Z,F5,void 0,X,j);for(k in X)j=X[k],y=q[k],!X.hasOwnProperty(k)||j===y||j===void 0&&y===void 0||c3($,Z,k,j,X,y);return}}for(var l0 in q)j=q[l0],q.hasOwnProperty(l0)&&j!=null&&!X.hasOwnProperty(l0)&&U5($,Z,l0,null,X,j);for(b in X)j=X[b],y=q[b],!X.hasOwnProperty(b)||j===y||j==null&&y==null||U5($,Z,b,j,X,y)}function HH($){switch($){case"class":return"className";case"for":return"htmlFor";default:return $}}function l3($){var Z={};$=$.style;for(var q=0;q<$.length;q++){var X=$[q];Z[X]=$.getPropertyValue(X)}return Z}function FH($,Z,q){if(Z!=null&&typeof Z!=="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 X,K=X="",N;for(N in Z)if(Z.hasOwnProperty(N)){var W=Z[N];W!=null&&typeof W!=="boolean"&&W!==""&&(N.indexOf("--")===0?(QZ(W,N),X+=K+N+":"+(""+W).trim()):typeof W!=="number"||W===0||PF.has(N)?(QZ(W,N),X+=K+N.replace(VF,"-$1").toLowerCase().replace(_F,"-ms-")+":"+(""+W).trim()):X+=K+N.replace(VF,"-$1").toLowerCase().replace(_F,"-ms-")+":"+W+"px",K=";")}X=X||null,Z=$.getAttribute("style"),Z!==X&&(X=C6(X),C6(Z)!==X&&(q.style=l3($)))}}function U1($,Z,q,X,K,N){if(K.delete(q),$=$.getAttribute(q),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(Y5(X,Z),$===""+X)return}n5(Z,$,X,N)}function WH($,Z,q,X,K,N){if(K.delete(q),$=$.getAttribute(q),$===null){switch(typeof X){case"function":case"symbol":return}if(!X)return}else switch(typeof X){case"function":case"symbol":break;default:if(X)return}n5(Z,$,X,N)}function r3($,Z,q,X,K,N){if(K.delete(q),$=$.getAttribute(q),$===null)switch(typeof X){case"undefined":case"function":case"symbol":return}else if(X!=null)switch(typeof X){case"function":case"symbol":break;default:if(Y5(X,q),$===""+X)return}n5(Z,$,X,N)}function RH($,Z,q,X,K,N){if(K.delete(q),$=$.getAttribute(q),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(X))return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(!isNaN(X)&&(Y5(X,Z),$===""+X))return}n5(Z,$,X,N)}function s3($,Z,q,X,K,N){if(K.delete(q),$=$.getAttribute(q),$===null)switch(typeof X){case"undefined":case"function":case"symbol":case"boolean":return}else if(X!=null)switch(typeof X){case"function":case"symbol":case"boolean":break;default:if(Y5(X,Z),q=KZ(""+X),$===q)return}n5(Z,$,X,N)}function zH($,Z,q,X){for(var K={},N=new Set,W=$.attributes,R=0;R<W.length;R++)switch(W[R].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:N.add(W[R].name)}if(UZ(Z)){for(var _ in q)if(q.hasOwnProperty(_)){var E=q[_];if(E!=null){if(m4.hasOwnProperty(_))typeof E!=="function"&&q$(_,E);else if(q.suppressHydrationWarning!==!0)switch(_){case"children":typeof E!=="string"&&typeof E!=="number"||n5("children",$.textContent,E,K);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":W=$.innerHTML,E=E?E.__html:void 0,E!=null&&(E=NH($,E),n5(_,W,E,K));continue;case"style":N.delete(_),FH($,E,K);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":N.delete(_.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",_);continue;case"className":N.delete("class"),W=tK($,"class",E),n5("className",W,E,K);continue;default:X.context===n$&&Z!=="svg"&&Z!=="math"?N.delete(_.toLowerCase()):N.delete(_),W=tK($,_,E),n5(_,W,E,K)}}}}else for(E in q)if(q.hasOwnProperty(E)&&(_=q[E],_!=null)){if(m4.hasOwnProperty(E))typeof _!=="function"&&q$(E,_);else if(q.suppressHydrationWarning!==!0)switch(E){case"children":typeof _!=="string"&&typeof _!=="number"||n5("children",$.textContent,_,K);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":W=$.innerHTML,_=_?_.__html:void 0,_!=null&&(_=NH($,_),W!==_&&(K[E]={__html:W}));continue;case"className":U1($,E,"class",_,N,K);continue;case"tabIndex":U1($,E,"tabindex",_,N,K);continue;case"style":N.delete(E),FH($,_,K);continue;case"multiple":N.delete(E),n5(E,$.multiple,_,K);continue;case"muted":N.delete(E),n5(E,$.muted,_,K);continue;case"autoFocus":N.delete("autofocus"),n5(E,$.autofocus,_,K);continue;case"data":if(Z!=="object"){N.delete(E),W=$.getAttribute("data"),n5(E,W,_,K);continue}case"src":case"href":if(!(_!==""||Z==="a"&&E==="href"||Z==="object"&&E==="data")){E==="src"?console.error('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.',E,E):console.error('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.',E,E);continue}s3($,E,E,_,N,K);continue;case"action":case"formAction":if(W=$.getAttribute(E),typeof _==="function"){N.delete(E.toLowerCase()),E==="formAction"?(N.delete("name"),N.delete("formenctype"),N.delete("formmethod"),N.delete("formtarget")):(N.delete("enctype"),N.delete("method"),N.delete("target"));continue}else if(W===ew){N.delete(E.toLowerCase()),n5(E,"function",_,K);continue}s3($,E,E.toLowerCase(),_,N,K);continue;case"xlinkHref":s3($,E,"xlink:href",_,N,K);continue;case"contentEditable":r3($,E,"contenteditable",_,N,K);continue;case"spellCheck":r3($,E,"spellcheck",_,N,K);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":r3($,E,E,_,N,K);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":WH($,E,E.toLowerCase(),_,N,K);continue;case"capture":case"download":$:{R=$;var k=W=E,b=K;if(N.delete(k),R=R.getAttribute(k),R===null)switch(typeof _){case"undefined":case"function":case"symbol":break $;default:if(_===!1)break $}else if(_!=null)switch(typeof _){case"function":case"symbol":break;case"boolean":if(_===!0&&R==="")break $;break;default:if(Y5(_,W),R===""+_)break $}n5(W,R,_,b)}continue;case"cols":case"rows":case"size":case"span":$:{if(R=$,k=W=E,b=K,N.delete(k),R=R.getAttribute(k),R===null)switch(typeof _){case"undefined":case"function":case"symbol":case"boolean":break $;default:if(isNaN(_)||1>_)break $}else if(_!=null)switch(typeof _){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(_)||1>_)&&(Y5(_,W),R===""+_))break $}n5(W,R,_,b)}continue;case"rowSpan":RH($,E,"rowspan",_,N,K);continue;case"start":RH($,E,E,_,N,K);continue;case"xHeight":U1($,E,"x-height",_,N,K);continue;case"xlinkActuate":U1($,E,"xlink:actuate",_,N,K);continue;case"xlinkArcrole":U1($,E,"xlink:arcrole",_,N,K);continue;case"xlinkRole":U1($,E,"xlink:role",_,N,K);continue;case"xlinkShow":U1($,E,"xlink:show",_,N,K);continue;case"xlinkTitle":U1($,E,"xlink:title",_,N,K);continue;case"xlinkType":U1($,E,"xlink:type",_,N,K);continue;case"xmlBase":U1($,E,"xml:base",_,N,K);continue;case"xmlLang":U1($,E,"xml:lang",_,N,K);continue;case"xmlSpace":U1($,E,"xml:space",_,N,K);continue;case"inert":_!==""||DJ[E]||(DJ[E]=!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.",E)),WH($,E,E,_,N,K);continue;default:if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){R=LB(E),W=!1,X.context===n$&&Z!=="svg"&&Z!=="math"?N.delete(R.toLowerCase()):(k=E.toLowerCase(),k=dG.hasOwnProperty(k)?dG[k]||null:null,k!==null&&k!==E&&(W=!0,N.delete(k)),N.delete(R));$:if(k=$,b=R,R=_,GZ(b))if(k.hasAttribute(b))k=k.getAttribute(b),Y5(R,b),R=k===""+R?R:k;else{switch(typeof R){case"function":case"symbol":break $;case"boolean":if(k=b.toLowerCase().slice(0,5),k!=="data-"&&k!=="aria-")break $}R=R===void 0?void 0:null}else R=void 0;W||n5(E,R,_,K)}}}return 0<N.size&&q.suppressHydrationWarning!==!0&&hT($,N,K),Object.keys(K).length===0?null:K}function mT($,Z){switch($.length){case 0:return"";case 1:return $[0];case 2:return $[0]+" "+Z+" "+$[1];default:return $.slice(0,-1).join(", ")+", "+Z+" "+$[$.length-1]}}function LH($){switch($){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dT(){if(typeof performance.getEntriesByType==="function"){for(var $=0,Z=0,q=performance.getEntriesByType("resource"),X=0;X<q.length;X++){var K=q[X],N=K.transferSize,W=K.initiatorType,R=K.duration;if(N&&R&&LH(W)){W=0,R=K.responseEnd;for(X+=1;X<q.length;X++){var _=q[X],E=_.startTime;if(E>R)break;var{transferSize:k,initiatorType:b}=_;k&&LH(b)&&(_=_.responseEnd,W+=k*(_<R?1:(R-E)/(_-E)))}if(--X,Z+=8*(N+W)/(K.duration/1000),$++,10<$)break}}if(0<$)return Z/$/1e6}return navigator.connection&&($=navigator.connection.downlink,typeof $==="number")?$:5}function PG($){return $.nodeType===9?$:$.ownerDocument}function VH($){switch($){case $9:return D9;case mG:return vJ;default:return n$}}function _H($,Z){if($===n$)switch(Z){case"svg":return D9;case"math":return vJ;default:return n$}return $===D9&&Z==="foreignObject"?n$:$}function n3($,Z){return $==="textarea"||$==="noscript"||typeof Z.children==="string"||typeof Z.children==="number"||typeof Z.children==="bigint"||typeof Z.dangerouslySetInnerHTML==="object"&&Z.dangerouslySetInnerHTML!==null&&Z.dangerouslySetInnerHTML.__html!=null}function pT(){var $=window.event;if($&&$.type==="popstate"){if($===DU)return!1;return DU=$,!0}return DU=null,!1}function bZ(){var $=window.event;return $&&$!==DQ?$.type:null}function fZ(){var $=window.event;return $&&$!==DQ?$.timeStamp:-1.1}function cT($){setTimeout(function(){throw $})}function lT($,Z,q){switch(Z){case"button":case"input":case"select":case"textarea":q.autoFocus&&$.focus();break;case"img":q.src?$.src=q.src:q.srcSet&&($.srcset=q.srcSet)}}function rT(){}function sT($,Z,q,X){uT($,Z,q,X),$[z8]=X}function TH($){YZ($,"")}function nT($,Z,q){$.nodeValue=q}function EH($){if(!$.__reactWarnedAboutChildrenConflict){var Z=$[z8]||null;if(Z!==null){var q=w0($);q!==null&&(typeof Z.children==="string"||typeof Z.children==="number"?($.__reactWarnedAboutChildrenConflict=!0,q0(q,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.')})):Z.dangerouslySetInnerHTML!=null&&($.__reactWarnedAboutChildrenConflict=!0,q0(q,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 I6($){return $==="head"}function oT($,Z){$.removeChild(Z)}function iT($,Z){($.nodeType===9?$.body:$.nodeName==="HTML"?$.ownerDocument.body:$).removeChild(Z)}function wH($,Z){var q=Z,X=0;do{var K=q.nextSibling;if($.removeChild(q),K&&K.nodeType===8)if(q=K.data,q===AQ||q===SJ){if(X===0){$.removeChild(K),n7(Z);return}X--}else if(q===jQ||q===i6||q===X7||q===A9||q===J7)X++;else if(q===ZP)yZ($.ownerDocument.documentElement);else if(q===qP){q=$.ownerDocument.head,yZ(q);for(var N=q.firstChild;N;){var{nextSibling:W,nodeName:R}=N;N[pZ]||R==="SCRIPT"||R==="STYLE"||R==="LINK"&&N.rel.toLowerCase()==="stylesheet"||q.removeChild(N),N=W}}else q===QP&&yZ($.ownerDocument.body);q=K}while(q);n7(Z)}function PH($,Z){var q=$;$=0;do{var X=q.nextSibling;if(q.nodeType===1?Z?(q._stashedDisplay=q.style.display,q.style.display="none"):(q.style.display=q._stashedDisplay||"",q.getAttribute("style")===""&&q.removeAttribute("style")):q.nodeType===3&&(Z?(q._stashedText=q.nodeValue,q.nodeValue=""):q.nodeValue=q._stashedText||""),X&&X.nodeType===8)if(q=X.data,q===AQ)if($===0)break;else $--;else q!==jQ&&q!==i6&&q!==X7&&q!==A9||$++;q=X}while(q)}function aT($){PH($,!0)}function tT($){$=$.style,typeof $.setProperty==="function"?$.setProperty("display","none","important"):$.display="none"}function eT($){$.nodeValue=""}function $E($){PH($,!1)}function ZE($,Z){Z=Z[GP],Z=Z!==void 0&&Z!==null&&Z.hasOwnProperty("display")?Z.display:null,$.style.display=Z==null||typeof Z==="boolean"?"":(""+Z).trim()}function QE($,Z){$.nodeValue=Z}function o3($){var Z=$.firstChild;Z&&Z.nodeType===10&&(Z=Z.nextSibling);for(;Z;){var q=Z;switch(Z=Z.nextSibling,q.nodeName){case"HTML":case"HEAD":case"BODY":o3(q),e(q);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(q.rel.toLowerCase()==="stylesheet")continue}$.removeChild(q)}}function qE($,Z,q,X){for(;$.nodeType===1;){var K=q;if($.nodeName.toLowerCase()!==Z.toLowerCase()){if(!X&&($.nodeName!=="INPUT"||$.type!=="hidden"))break}else if(!X)if(Z==="input"&&$.type==="hidden"){Y5(K.name,"name");var N=K.name==null?null:""+K.name;if(K.type==="hidden"&&$.getAttribute("name")===N)return $}else return $;else if(!$[pZ])switch(Z){case"meta":if(!$.hasAttribute("itemprop"))break;return $;case"link":if(N=$.getAttribute("rel"),N==="stylesheet"&&$.hasAttribute("data-precedence"))break;else if(N!==K.rel||$.getAttribute("href")!==(K.href==null||K.href===""?null:K.href)||$.getAttribute("crossorigin")!==(K.crossOrigin==null?null:K.crossOrigin)||$.getAttribute("title")!==(K.title==null?null:K.title))break;return $;case"style":if($.hasAttribute("data-precedence"))break;return $;case"script":if(N=$.getAttribute("src"),(N!==(K.src==null?null:K.src)||$.getAttribute("type")!==(K.type==null?null:K.type)||$.getAttribute("crossorigin")!==(K.crossOrigin==null?null:K.crossOrigin))&&N&&$.hasAttribute("async")&&!$.hasAttribute("itemprop"))break;return $;default:return $}if($=i8($.nextSibling),$===null)break}return null}function GE($,Z,q){if(Z==="")return null;for(;$.nodeType!==3;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!q)return null;if($=i8($.nextSibling),$===null)return null}return $}function CH($,Z){for(;$.nodeType!==8;){if(($.nodeType!==1||$.nodeName!=="INPUT"||$.type!=="hidden")&&!Z)return null;if($=i8($.nextSibling),$===null)return null}return $}function i3($){return $.data===i6||$.data===X7}function a3($){return $.data===A9||$.data===i6&&$.ownerDocument.readyState!==FR}function JE($,Z){var q=$.ownerDocument;if($.data===X7)$._reactRetry=Z;else if($.data!==i6||q.readyState!==FR)Z();else{var X=function(){Z(),q.removeEventListener("DOMContentLoaded",X)};q.addEventListener("DOMContentLoaded",X),$._reactRetry=X}}function i8($){for(;$!=null;$=$.nextSibling){var Z=$.nodeType;if(Z===1||Z===3)break;if(Z===8){if(Z=$.data,Z===jQ||Z===A9||Z===i6||Z===X7||Z===J7||Z===OU||Z===HR)break;if(Z===AQ||Z===SJ)return null}}return $}function IH($){if($.nodeType===1){for(var Z=$.nodeName.toLowerCase(),q={},X=$.attributes,K=0;K<X.length;K++){var N=X[K];q[HH(N.name)]=N.name.toLowerCase()==="style"?l3($):N.value}return{type:Z,props:q}}return $.nodeType===8?$.data===J7?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:$.nodeValue}function OH($,Z,q){return q===null||q[$P]!==!0?($.nodeValue===Z?$=null:(Z=C6(Z),$=C6($.nodeValue)===Z?null:$.nodeValue),$):null}function t3($){$=$.nextSibling;for(var Z=0;$;){if($.nodeType===8){var q=$.data;if(q===AQ||q===SJ){if(Z===0)return i8($.nextSibling);Z--}else q!==jQ&&q!==A9&&q!==i6&&q!==X7&&q!==J7||Z++}$=$.nextSibling}return null}function jH($){$=$.previousSibling;for(var Z=0;$;){if($.nodeType===8){var q=$.data;if(q===jQ||q===A9||q===i6||q===X7||q===J7){if(Z===0)return $;Z--}else q!==AQ&&q!==SJ||Z++}$=$.previousSibling}return null}function XE($){n7($)}function YE($){n7($)}function UE($){n7($)}function AH($,Z,q,X,K){switch(K&&KX($,X.ancestorInfo),Z=PG(q),$){case"html":if($=Z.documentElement,!$)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 $;case"head":if($=Z.head,!$)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 $;case"body":if($=Z.body,!$)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 $;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function KE($,Z,q,X){if(!q[D6]&&w0(q)){var K=q.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.",K,K,K)}switch($){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(K=q.attributes;K.length;)q.removeAttributeNode(K[0]);Q8(q,$,Z),q[q8]=X,q[z8]=Z}function yZ($){for(var Z=$.attributes;Z.length;)$.removeAttributeNode(Z[0]);e($)}function CG($){return typeof $.getRootNode==="function"?$.getRootNode():$.nodeType===9?$:$.ownerDocument}function DH($,Z,q){var X=S9;if(X&&typeof Z==="string"&&Z){var K=Y1(Z);K='link[rel="'+$+'"][href="'+K+'"]',typeof q==="string"&&(K+='[crossorigin="'+q+'"]'),_R.has(K)||(_R.add(K),$={rel:$,crossOrigin:q,href:Z},X.querySelector(K)===null&&(Z=X.createElement("link"),Q8(Z,"link",$),F0(Z),X.head.appendChild(Z)))}}function SH($,Z,q,X){var K=(K=j6.current)?CG(K):null;if(!K)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch($){case"meta":case"title":return null;case"style":return typeof q.precedence==="string"&&typeof q.href==="string"?(q=r7(q.href),Z=i0(K).hoistableStyles,X=Z.get(q),X||(X={type:"style",instance:null,count:0,state:null},Z.set(q,X)),X):{type:"void",instance:null,count:0,state:null};case"link":if(q.rel==="stylesheet"&&typeof q.href==="string"&&typeof q.precedence==="string"){$=r7(q.href);var N=i0(K).hoistableStyles,W=N.get($);if(!W&&(K=K.ownerDocument||K,W={type:"stylesheet",instance:null,count:0,state:{loading:U7,preload:null}},N.set($,W),(N=K.querySelector(gZ($)))&&!N._p&&(W.instance=N,W.state.loading=SQ|V1),!_1.has($))){var R={rel:"preload",as:"style",href:q.href,crossOrigin:q.crossOrigin,integrity:q.integrity,media:q.media,hrefLang:q.hrefLang,referrerPolicy:q.referrerPolicy};_1.set($,R),N||BE(K,$,R,W.state)}if(Z&&X===null)throw q=`
177
177
 
178
178
  - `+IG(Z)+`
179
- + `+IG(G),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."+G);return W}if(Z&&X!==null)throw G=`
179
+ + `+IG(q),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."+q);return W}if(Z&&X!==null)throw q=`
180
180
 
181
181
  - `+IG(Z)+`
182
- + `+IG(G),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."+G);return null;case"script":return Z=G.async,G=G.src,typeof G==="string"&&Z&&typeof Z!=="function"&&typeof Z!=="symbol"?(G=s$(G),Z=a0(N).hoistableScripts,X=Z.get(G),X||(X={type:"script",instance:null,count:0,state:null},Z.set(G,X)),X):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function IG($){var Z=0,G="<link";return typeof $.rel==="string"?(Z++,G+=' rel="'+$.rel+'"'):D4.call($,"rel")&&(Z++,G+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(Z++,G+=' href="'+$.href+'"'):D4.call($,"href")&&(Z++,G+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(Z++,G+=' precedence="'+$.precedence+'"'):D4.call($,"precedence")&&(Z++,G+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>Z&&(G+=" ..."),G+" />"}function r$($){return'href="'+Y4($)+'"'}function g7($){return'link[rel="stylesheet"]['+$+"]"}function vM($){return y0({},$,{"data-precedence":$.precedence,precedence:null})}function KV($,Z,G,X){$.querySelector('link[rel="preload"][as="style"]['+Z+"]")?X.loading=SZ:(Z=$.createElement("link"),X.preload=Z,Z.addEventListener("load",function(){return X.loading|=SZ}),Z.addEventListener("error",function(){return X.loading|=Tw}),Q5(Z,"link",G),F0(Z),$.head.appendChild(Z))}function s$($){return'[src="'+Y4($)+'"]'}function h7($){return"script[async]"+$}function kM($,Z,G){if(Z.count++,Z.instance===null)switch(Z.type){case"style":var X=$.querySelector('style[data-href~="'+Y4(G.href)+'"]');if(X)return Z.instance=X,F0(X),X;var N=y0({},G,{"data-href":G.href,"data-precedence":G.precedence,href:null,precedence:null});return X=($.ownerDocument||$).createElement("style"),F0(X),Q5(X,"style",N),OG(X,G.precedence,$),Z.instance=X;case"stylesheet":N=r$(G.href);var B=$.querySelector(g7(N));if(B)return Z.state.loading|=z4,Z.instance=B,F0(B),B;X=vM(G),(N=_4.get(N))&&eX(X,N),B=($.ownerDocument||$).createElement("link"),F0(B);var W=B;return W._p=new Promise(function(w,_){W.onload=w,W.onerror=_}),Q5(B,"link",X),Z.state.loading|=z4,OG(B,G.precedence,$),Z.instance=B;case"script":if(B=s$(G.src),N=$.querySelector(h7(B)))return Z.instance=N,F0(N),N;if(X=G,N=_4.get(B))X=y0({},G),$Y(X,N);return $=$.ownerDocument||$,N=$.createElement("script"),F0(N),Q5(N,"link",X),$.head.appendChild(N),Z.instance=N;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Z.type+'". this is a bug in React.')}else Z.type==="stylesheet"&&(Z.state.loading&z4)===U$&&(X=Z.instance,Z.state.loading|=z4,OG(X,G.precedence,$));return Z.instance}function OG($,Z,G){for(var X=G.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),N=X.length?X[X.length-1]:null,B=N,W=0;W<X.length;W++){var w=X[W];if(w.dataset.precedence===Z)B=w;else if(B!==N)break}B?B.parentNode.insertBefore($,B.nextSibling):(Z=G.nodeType===9?G.head:G,Z.insertBefore($,Z.firstChild))}function eX($,Z){$.crossOrigin==null&&($.crossOrigin=Z.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Z.referrerPolicy),$.title==null&&($.title=Z.title)}function $Y($,Z){$.crossOrigin==null&&($.crossOrigin=Z.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Z.referrerPolicy),$.integrity==null&&($.integrity=Z.integrity)}function bM($,Z,G){if(kJ===null){var X=new Map,N=kJ=new Map;N.set(G,X)}else N=kJ,X=N.get(G),X||(X=new Map,N.set(G,X));if(X.has($))return X;X.set($,null),G=G.getElementsByTagName($);for(N=0;N<G.length;N++){var B=G[N];if(!(B[p7]||B[G5]||$==="link"&&B.getAttribute("rel")==="stylesheet")&&B.namespaceURI!==$9){var W=B.getAttribute(Z)||"";W=$+W;var w=X.get(W);w?w.push(B):X.set(W,[B])}}return X}function fM($,Z,G){$=$.ownerDocument||$,$.head.insertBefore(G,Z==="title"?$.querySelector("head > title"):null)}function BV($,Z,G){var X=!G.ancestorInfo.containerTagInScope;if(G.context===A9||Z.itemProp!=null)return!X||Z.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="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.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof Z.precedence!=="string"||typeof Z.href!=="string"||Z.href===""){X&&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 Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""||Z.onLoad||Z.onError){if(Z.rel==="stylesheet"&&typeof Z.precedence==="string"){$=Z.href;var{onError:N,disabled:B}=Z;G=[],Z.onLoad&&G.push("`onLoad`"),N&&G.push("`onError`"),B!=null&&G.push("`disabled`"),N=mL(G,"and"),N+=G.length===1?" prop":" props",B=G.length===1?"an "+N:"the "+N,G.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.',$,B,N)}X&&(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.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"):(Z.onError||Z.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(Z.rel){case"stylesheet":return $=Z.precedence,Z=Z.disabled,typeof $!=="string"&&X&&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 $==="string"&&Z==null;default:return!0}case"script":if($=Z.async&&typeof Z.async!=="function"&&typeof Z.async!=="symbol",!$||Z.onLoad||Z.onError||!Z.src||typeof Z.src!=="string"){X&&($?Z.onLoad||Z.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":X&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function yM($){return $.type==="stylesheet"&&($.state.loading&zw)===U$?!1:!0}function HV($,Z,G,X){if(G.type==="stylesheet"&&(typeof X.media!=="string"||matchMedia(X.media).matches!==!1)&&(G.state.loading&z4)===U$){if(G.instance===null){var N=r$(X.href),B=Z.querySelector(g7(N));if(B){Z=B._p,Z!==null&&typeof Z==="object"&&typeof Z.then==="function"&&($.count++,$=DG.bind($),Z.then($,$)),G.state.loading|=z4,G.instance=B,F0(B);return}B=Z.ownerDocument||Z,X=vM(X),(N=_4.get(N))&&eX(X,N),B=B.createElement("link"),F0(B);var W=B;W._p=new Promise(function(w,_){W.onload=w,W.onerror=_}),Q5(B,"link",X),G.instance=B}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(G,Z),(Z=G.state.preload)&&(G.state.loading&zw)===U$&&($.count++,G=DG.bind($),Z.addEventListener("load",G),Z.addEventListener("error",G))}}function MV($,Z){return $.stylesheets&&$.count===0&&jG($,$.stylesheets),0<$.count||0<$.imgCount?function(G){var X=setTimeout(function(){if($.stylesheets&&jG($,$.stylesheets),$.unsuspend){var B=$.unsuspend;$.unsuspend=null,B()}},YP+Z);0<$.imgBytes&&vU===0&&(vU=125*dL()*NP);var N=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&jG($,$.stylesheets),$.unsuspend)){var B=$.unsuspend;$.unsuspend=null,B()}},($.imgBytes>vU?50:UP)+Z);return $.unsuspend=G,function(){$.unsuspend=null,clearTimeout(X),clearTimeout(N)}}:null}function DG(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)jG(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function jG($,Z){$.stylesheets=null,$.unsuspend!==null&&($.count++,bJ=new Map,Z.forEach(FV,$),bJ=null,DG.call($))}function FV($,Z){if(!(Z.state.loading&z4)){var G=bJ.get($);if(G)var X=G.get(kU);else{G=new Map,bJ.set($,G);for(var N=$.querySelectorAll("link[data-precedence],style[data-precedence]"),B=0;B<N.length;B++){var W=N[B];if(W.nodeName==="LINK"||W.getAttribute("media")!=="not all")G.set(W.dataset.precedence,W),X=W}X&&G.set(kU,X)}N=Z.instance,W=N.getAttribute("data-precedence"),B=G.get(W)||X,B===X&&G.set(kU,N),G.set(W,N),this.count++,X=DG.bind(this),N.addEventListener("load",X),N.addEventListener("error",X),B?B.parentNode.insertBefore(N,B.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(N,$.firstChild)),Z.state.loading|=z4}}function WV($,Z,G,X,N,B,W,w,_){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Y$,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=A$(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=A$(0),this.hiddenUpdates=A$(null),this.identifierPrefix=X,this.onUncaughtError=N,this.onCaughtError=B,this.onRecoverableError=W,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(Z=0;31>Z;Z++)$.push(new Set);this._debugRootType=G?"hydrateRoot()":"createRoot()"}function gM($,Z,G,X,N,B,W,w,_,V,k,b){return $=new WV($,Z,G,W,_,V,k,b,w),Z=bE,B===!0&&(Z|=M5|A4),Z|=j0,B=L(3,null,null,Z),$.current=B,B.stateNode=$,Z=D3(),b2(Z),$.pooledCache=Z,b2(Z),B.memoizedState={element:X,isDehydrated:G,cache:Z},k3(B),$}function hM($){if(!$)return b6;return $=b6,$}function ZY($,Z,G,X,N,B){if(H5&&typeof H5.onScheduleFiberRoot==="function")try{H5.onScheduleFiberRoot(t$,X,G)}catch(W){Y8||(Y8=!0,console.error("React instrumentation encountered an error: %o",W))}N=hM(N),X.context===null?X.context=N:X.pendingContext=N,X8&&t5!==null&&!Pw&&(Pw=!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.
182
+ + `+IG(q),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."+q);return null;case"script":return Z=q.async,q=q.src,typeof q==="string"&&Z&&typeof Z!=="function"&&typeof Z!=="symbol"?(q=s7(q),Z=i0(K).hoistableScripts,X=Z.get(q),X||(X={type:"script",instance:null,count:0,state:null},Z.set(q,X)),X):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+$+'". this is a bug in React.')}}function IG($){var Z=0,q="<link";return typeof $.rel==="string"?(Z++,q+=' rel="'+$.rel+'"'):j1.call($,"rel")&&(Z++,q+=' rel="'+($.rel===null?"null":"invalid type "+typeof $.rel)+'"'),typeof $.href==="string"?(Z++,q+=' href="'+$.href+'"'):j1.call($,"href")&&(Z++,q+=' href="'+($.href===null?"null":"invalid type "+typeof $.href)+'"'),typeof $.precedence==="string"?(Z++,q+=' precedence="'+$.precedence+'"'):j1.call($,"precedence")&&(Z++,q+=" precedence={"+($.precedence===null?"null":"invalid type "+typeof $.precedence)+"}"),Object.getOwnPropertyNames($).length>Z&&(q+=" ..."),q+" />"}function r7($){return'href="'+Y1($)+'"'}function gZ($){return'link[rel="stylesheet"]['+$+"]"}function vH($){return y0({},$,{"data-precedence":$.precedence,precedence:null})}function BE($,Z,q,X){$.querySelector('link[rel="preload"][as="style"]['+Z+"]")?X.loading=SQ:(Z=$.createElement("link"),X.preload=Z,Z.addEventListener("load",function(){return X.loading|=SQ}),Z.addEventListener("error",function(){return X.loading|=LR}),Q8(Z,"link",q),F0(Z),$.head.appendChild(Z))}function s7($){return'[src="'+Y1($)+'"]'}function xZ($){return"script[async]"+$}function kH($,Z,q){if(Z.count++,Z.instance===null)switch(Z.type){case"style":var X=$.querySelector('style[data-href~="'+Y1(q.href)+'"]');if(X)return Z.instance=X,F0(X),X;var K=y0({},q,{"data-href":q.href,"data-precedence":q.precedence,href:null,precedence:null});return X=($.ownerDocument||$).createElement("style"),F0(X),Q8(X,"style",K),OG(X,q.precedence,$),Z.instance=X;case"stylesheet":K=r7(q.href);var N=$.querySelector(gZ(K));if(N)return Z.state.loading|=V1,Z.instance=N,F0(N),N;X=vH(q),(K=_1.get(K))&&e3(X,K),N=($.ownerDocument||$).createElement("link"),F0(N);var W=N;return W._p=new Promise(function(R,_){W.onload=R,W.onerror=_}),Q8(N,"link",X),Z.state.loading|=V1,OG(N,q.precedence,$),Z.instance=N;case"script":if(N=s7(q.src),K=$.querySelector(xZ(N)))return Z.instance=K,F0(K),K;if(X=q,K=_1.get(N))X=y0({},q),$Y(X,K);return $=$.ownerDocument||$,K=$.createElement("script"),F0(K),Q8(K,"link",X),$.head.appendChild(K),Z.instance=K;case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+Z.type+'". this is a bug in React.')}else Z.type==="stylesheet"&&(Z.state.loading&V1)===U7&&(X=Z.instance,Z.state.loading|=V1,OG(X,q.precedence,$));return Z.instance}function OG($,Z,q){for(var X=q.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),K=X.length?X[X.length-1]:null,N=K,W=0;W<X.length;W++){var R=X[W];if(R.dataset.precedence===Z)N=R;else if(N!==K)break}N?N.parentNode.insertBefore($,N.nextSibling):(Z=q.nodeType===9?q.head:q,Z.insertBefore($,Z.firstChild))}function e3($,Z){$.crossOrigin==null&&($.crossOrigin=Z.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Z.referrerPolicy),$.title==null&&($.title=Z.title)}function $Y($,Z){$.crossOrigin==null&&($.crossOrigin=Z.crossOrigin),$.referrerPolicy==null&&($.referrerPolicy=Z.referrerPolicy),$.integrity==null&&($.integrity=Z.integrity)}function bH($,Z,q){if(kJ===null){var X=new Map,K=kJ=new Map;K.set(q,X)}else K=kJ,X=K.get(q),X||(X=new Map,K.set(q,X));if(X.has($))return X;X.set($,null),q=q.getElementsByTagName($);for(K=0;K<q.length;K++){var N=q[K];if(!(N[pZ]||N[q8]||$==="link"&&N.getAttribute("rel")==="stylesheet")&&N.namespaceURI!==$9){var W=N.getAttribute(Z)||"";W=$+W;var R=X.get(W);R?R.push(N):X.set(W,[N])}}return X}function fH($,Z,q){$=$.ownerDocument||$,$.head.insertBefore(q,Z==="title"?$.querySelector("head > title"):null)}function NE($,Z,q){var X=!q.ancestorInfo.containerTagInScope;if(q.context===D9||Z.itemProp!=null)return!X||Z.itemProp==null||$!=="meta"&&$!=="title"&&$!=="style"&&$!=="link"&&$!=="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.",$,$),!1;switch($){case"meta":case"title":return!0;case"style":if(typeof Z.precedence!=="string"||typeof Z.href!=="string"||Z.href===""){X&&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 Z.rel!=="string"||typeof Z.href!=="string"||Z.href===""||Z.onLoad||Z.onError){if(Z.rel==="stylesheet"&&typeof Z.precedence==="string"){$=Z.href;var{onError:K,disabled:N}=Z;q=[],Z.onLoad&&q.push("`onLoad`"),K&&q.push("`onError`"),N!=null&&q.push("`disabled`"),K=mT(q,"and"),K+=q.length===1?" prop":" props",N=q.length===1?"an "+K:"the "+K,q.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.',$,N,K)}X&&(typeof Z.rel!=="string"||typeof Z.href!=="string"||Z.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"):(Z.onError||Z.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(Z.rel){case"stylesheet":return $=Z.precedence,Z=Z.disabled,typeof $!=="string"&&X&&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 $==="string"&&Z==null;default:return!0}case"script":if($=Z.async&&typeof Z.async!=="function"&&typeof Z.async!=="symbol",!$||Z.onLoad||Z.onError||!Z.src||typeof Z.src!=="string"){X&&($?Z.onLoad||Z.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":X&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",$)}return!1}function yH($){return $.type==="stylesheet"&&($.state.loading&VR)===U7?!1:!0}function ME($,Z,q,X){if(q.type==="stylesheet"&&(typeof X.media!=="string"||matchMedia(X.media).matches!==!1)&&(q.state.loading&V1)===U7){if(q.instance===null){var K=r7(X.href),N=Z.querySelector(gZ(K));if(N){Z=N._p,Z!==null&&typeof Z==="object"&&typeof Z.then==="function"&&($.count++,$=jG.bind($),Z.then($,$)),q.state.loading|=V1,q.instance=N,F0(N);return}N=Z.ownerDocument||Z,X=vH(X),(K=_1.get(K))&&e3(X,K),N=N.createElement("link"),F0(N);var W=N;W._p=new Promise(function(R,_){W.onload=R,W.onerror=_}),Q8(N,"link",X),q.instance=N}$.stylesheets===null&&($.stylesheets=new Map),$.stylesheets.set(q,Z),(Z=q.state.preload)&&(q.state.loading&VR)===U7&&($.count++,q=jG.bind($),Z.addEventListener("load",q),Z.addEventListener("error",q))}}function HE($,Z){return $.stylesheets&&$.count===0&&AG($,$.stylesheets),0<$.count||0<$.imgCount?function(q){var X=setTimeout(function(){if($.stylesheets&&AG($,$.stylesheets),$.unsuspend){var N=$.unsuspend;$.unsuspend=null,N()}},YP+Z);0<$.imgBytes&&vU===0&&(vU=125*dT()*KP);var K=setTimeout(function(){if($.waitingForImages=!1,$.count===0&&($.stylesheets&&AG($,$.stylesheets),$.unsuspend)){var N=$.unsuspend;$.unsuspend=null,N()}},($.imgBytes>vU?50:UP)+Z);return $.unsuspend=q,function(){$.unsuspend=null,clearTimeout(X),clearTimeout(K)}}:null}function jG(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)AG(this,this.stylesheets);else if(this.unsuspend){var $=this.unsuspend;this.unsuspend=null,$()}}}function AG($,Z){$.stylesheets=null,$.unsuspend!==null&&($.count++,bJ=new Map,Z.forEach(FE,$),bJ=null,jG.call($))}function FE($,Z){if(!(Z.state.loading&V1)){var q=bJ.get($);if(q)var X=q.get(kU);else{q=new Map,bJ.set($,q);for(var K=$.querySelectorAll("link[data-precedence],style[data-precedence]"),N=0;N<K.length;N++){var W=K[N];if(W.nodeName==="LINK"||W.getAttribute("media")!=="not all")q.set(W.dataset.precedence,W),X=W}X&&q.set(kU,X)}K=Z.instance,W=K.getAttribute("data-precedence"),N=q.get(W)||X,N===X&&q.set(kU,K),q.set(W,K),this.count++,X=jG.bind(this),K.addEventListener("load",X),K.addEventListener("error",X),N?N.parentNode.insertBefore(K,N.nextSibling):($=$.nodeType===9?$.head:$,$.insertBefore(K,$.firstChild)),Z.state.loading|=V1}}function WE($,Z,q,X,K,N,W,R,_){this.tag=1,this.containerInfo=$,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Y7,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=D7(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=D7(0),this.hiddenUpdates=D7(null),this.identifierPrefix=X,this.onUncaughtError=K,this.onCaughtError=N,this.onRecoverableError=W,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=_,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,$=this.pendingUpdatersLaneMap=[];for(Z=0;31>Z;Z++)$.push(new Set);this._debugRootType=q?"hydrateRoot()":"createRoot()"}function gH($,Z,q,X,K,N,W,R,_,E,k,b){return $=new WE($,Z,q,W,_,E,k,b,R),Z=bw,N===!0&&(Z|=H8|D1),Z|=A0,N=T(3,null,null,Z),$.current=N,N.stateNode=$,Z=jX(),b4(Z),$.pooledCache=Z,b4(Z),N.memoizedState={element:X,isDehydrated:q,cache:Z},kX(N),$}function xH($){if(!$)return b6;return $=b6,$}function ZY($,Z,q,X,K,N){if(M8&&typeof M8.onScheduleFiberRoot==="function")try{M8.onScheduleFiberRoot(t7,X,q)}catch(W){Y$||(Y$=!0,console.error("React instrumentation encountered an error: %o",W))}K=xH(K),X.context===null?X.context=K:X.pendingContext=K,X$&&t8!==null&&!PR&&(PR=!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.
183
183
 
184
- Check the render method of %s.`,d(t5)||"Unknown")),X=z6(Z),X.payload={element:G},B=B===void 0?null:B,B!==null&&(typeof B!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",B),X.callback=B),G=_6($,X,Z),G!==null&&(l4(Z,"root.render()",null),C1(G,$,Z),T7(G,$,Z))}function xM($,Z){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var G=$.retryLane;$.retryLane=G!==0&&G<Z?G:Z}}function QY($,Z){xM($,Z),($=$.alternate)&&xM($,Z)}function uM($){if($.tag===13||$.tag===31){var Z=B5($,67108864);Z!==null&&C1(Z,$,67108864),QY($,67108864)}}function mM($){if($.tag===13||$.tag===31){var Z=o5($);Z=C2(Z);var G=B5($,Z);G!==null&&C1(G,$,Z),QY($,Z)}}function wV(){return t5}function RV($,Z,G,X){var N=x.T;x.T=null;var B=Z1.p;try{Z1.p=e5,GY($,Z,G,X)}finally{Z1.p=B,x.T=N}}function TV($,Z,G,X){var N=x.T;x.T=null;var B=Z1.p;try{Z1.p=j4,GY($,Z,G,X)}finally{Z1.p=B,x.T=N}}function GY($,Z,G,X){if(yJ){var N=JY(X);if(N===null)dX($,Z,X,gJ,G),pM($,X);else if(zV(N,$,Z,G,X))X.stopPropagation();else if(pM($,X),Z&4&&-1<BP.indexOf($)){for(;N!==null;){var B=E0(N);if(B!==null)switch(B.tag){case 3:if(B=B.stateNode,B.current.memoizedState.isDehydrated){var W=m4(B.pendingLanes);if(W!==0){var w=B;w.pendingLanes|=2;for(w.entangledLanes|=2;W;){var _=1<<31-w5(W);w.entanglements[1]|=_,W&=~_}Q8(B),(o0&(r1|G4))===t1&&(zJ=o1()+tW,v7(0,!1))}}break;case 31:case 13:w=B5(B,2),w!==null&&C1(w,B,2),p$(),QY(B,2)}if(B=JY(X),B===null&&dX($,Z,X,gJ,G),B===N)break;N=B}N!==null&&X.stopPropagation()}else dX($,Z,X,null,G)}}function JY($){return $=K3($),qY($)}function qY($){if(gJ=null,$=q0($),$!==null){var Z=g($);if(Z===null)$=null;else{var G=Z.tag;if(G===13){if($=m(Z),$!==null)return $;$=null}else if(G===31){if($=o(Z),$!==null)return $;$=null}else if(G===3){if(Z.stateNode.current.memoizedState.isDehydrated)return Z.tag===3?Z.stateNode.containerInfo:null;$=null}else Z!==$&&($=null)}}return gJ=$,null}function dM($){switch($){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 e5;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 j4;case"message":switch(DV()){case TY:return e5;case zY:return j4;case i$:case jV:return N8;case _Y:return xG;default:return N8}default:return N8}}function pM($,Z){switch($){case"focusin":case"focusout":i6=null;break;case"dragenter":case"dragleave":t6=null;break;case"mouseover":case"mouseout":e6=null;break;case"pointerover":case"pointerout":kZ.delete(Z.pointerId);break;case"gotpointercapture":case"lostpointercapture":bZ.delete(Z.pointerId)}}function x7($,Z,G,X,N,B){if($===null||$.nativeEvent!==B)return $={blockedOn:Z,domEventName:G,eventSystemFlags:X,nativeEvent:B,targetContainers:[N]},Z!==null&&(Z=E0(Z),Z!==null&&uM(Z)),$;return $.eventSystemFlags|=X,Z=$.targetContainers,N!==null&&Z.indexOf(N)===-1&&Z.push(N),$}function zV($,Z,G,X,N){switch(Z){case"focusin":return i6=x7(i6,$,Z,G,X,N),!0;case"dragenter":return t6=x7(t6,$,Z,G,X,N),!0;case"mouseover":return e6=x7(e6,$,Z,G,X,N),!0;case"pointerover":var B=N.pointerId;return kZ.set(B,x7(kZ.get(B)||null,$,Z,G,X,N)),!0;case"gotpointercapture":return B=N.pointerId,bZ.set(B,x7(bZ.get(B)||null,$,Z,G,X,N)),!0}return!1}function cM($){var Z=q0($.target);if(Z!==null){var G=g(Z);if(G!==null){if(Z=G.tag,Z===13){if(Z=m(G),Z!==null){$.blockedOn=Z,r($.priority,function(){mM(G)});return}}else if(Z===31){if(Z=o(G),Z!==null){$.blockedOn=Z,r($.priority,function(){mM(G)});return}}else if(Z===3&&G.stateNode.current.memoizedState.isDehydrated){$.blockedOn=G.tag===3?G.stateNode.containerInfo:null;return}}}$.blockedOn=null}function AG($){if($.blockedOn!==null)return!1;for(var Z=$.targetContainers;0<Z.length;){var G=JY($.nativeEvent);if(G===null){G=$.nativeEvent;var X=new G.constructor(G.type,G),N=X;c7!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),c7=N,G.target.dispatchEvent(X),c7===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."),c7=null}else return Z=E0(G),Z!==null&&uM(Z),$.blockedOn=G,!1;Z.shift()}return!0}function lM($,Z,G){AG($)&&G.delete(Z)}function _V(){bU=!1,i6!==null&&AG(i6)&&(i6=null),t6!==null&&AG(t6)&&(t6=null),e6!==null&&AG(e6)&&(e6=null),kZ.forEach(lM),bZ.forEach(lM)}function SG($,Z){$.blockedOn===Z&&($.blockedOn=null,bU||(bU=!0,i0.unstable_scheduleCallback(i0.unstable_NormalPriority,_V)))}function rM($){hJ!==$&&(hJ=$,i0.unstable_scheduleCallback(i0.unstable_NormalPriority,function(){hJ===$&&(hJ=null);for(var Z=0;Z<$.length;Z+=3){var G=$[Z],X=$[Z+1],N=$[Z+2];if(typeof X!=="function")if(qY(X||G)===null)continue;else break;var B=E0(G);B!==null&&($.splice(Z,3),Z-=3,G={pending:!0,data:N,method:G.method,action:X},Object.freeze(G),qX(B,G,X,N))}}))}function n$($){function Z(_){return SG(_,$)}i6!==null&&SG(i6,$),t6!==null&&SG(t6,$),e6!==null&&SG(e6,$),kZ.forEach(Z),bZ.forEach(Z);for(var G=0;G<$2.length;G++){var X=$2[G];X.blockedOn===$&&(X.blockedOn=null)}for(;0<$2.length&&(G=$2[0],G.blockedOn===null);)cM(G),G.blockedOn===null&&$2.shift();if(G=($.ownerDocument||$).$$reactFormReplay,G!=null)for(X=0;X<G.length;X+=3){var N=G[X],B=G[X+1],W=N[R5]||null;if(typeof B==="function")W||rM(G);else if(W){var w=null;if(B&&B.hasAttribute("formAction")){if(N=B,W=B[R5]||null)w=W.formAction;else if(qY(N)!==null)continue}else w=W.action;typeof w==="function"?G[X+1]=w:(G.splice(X,3),X-=3),rM(G)}}}function sM(){function $(B){B.canIntercept&&B.info==="react-transition"&&B.intercept({handler:function(){return new Promise(function(W){return N=W})},focusReset:"manual",scroll:"manual"})}function Z(){N!==null&&(N(),N=null),X||setTimeout(G,20)}function G(){if(!X&&!navigation.transition){var B=navigation.currentEntry;B&&B.url!=null&&navigation.navigate(B.url,{state:B.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var X=!1,N=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",Z),navigation.addEventListener("navigateerror",Z),setTimeout(G,100),function(){X=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",Z),navigation.removeEventListener("navigateerror",Z),N!==null&&(N(),N=null)}}}function XY($){this._internalRoot=$}function vG($){this._internalRoot=$}function nM($){$[A6]&&($._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 y0=Object.assign,LV=Symbol.for("react.element"),J8=Symbol.for("react.transitional.element"),o$=Symbol.for("react.portal"),a$=Symbol.for("react.fragment"),kG=Symbol.for("react.strict_mode"),YY=Symbol.for("react.profiler"),UY=Symbol.for("react.consumer"),q8=Symbol.for("react.context"),u7=Symbol.for("react.forward_ref"),NY=Symbol.for("react.suspense"),KY=Symbol.for("react.suspense_list"),bG=Symbol.for("react.memo"),i5=Symbol.for("react.lazy"),BY=Symbol.for("react.activity"),VV=Symbol.for("react.memo_cache_sentinel"),oM=Symbol.iterator,EV=Symbol.for("react.client.reference"),c1=Array.isArray,x=v9.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z1=yU.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,PV=Object.freeze({pending:!1,data:null,method:null,action:null}),HY=[],MY=[],b8=-1,O6=N0(null),m7=N0(null),D6=N0(null),fG=N0(null),d7=0,aM,iM,tM,eM,$F,ZF,QF;S.__reactDisabledLog=!0;var FY,GF,WY=!1,wY=new(typeof WeakMap==="function"?WeakMap:Map),t5=null,X8=!1,D4=Object.prototype.hasOwnProperty,RY=i0.unstable_scheduleCallback,CV=i0.unstable_cancelCallback,IV=i0.unstable_shouldYield,OV=i0.unstable_requestPaint,o1=i0.unstable_now,DV=i0.unstable_getCurrentPriorityLevel,TY=i0.unstable_ImmediatePriority,zY=i0.unstable_UserBlockingPriority,i$=i0.unstable_NormalPriority,jV=i0.unstable_LowPriority,_Y=i0.unstable_IdlePriority,AV=i0.log,SV=i0.unstable_setDisableYieldValue,t$=null,H5=null,Y8=!1,U8=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",w5=Math.clz32?Math.clz32:EQ,vV=Math.log,kV=Math.LN2,yG=256,gG=262144,hG=4194304,e5=2,j4=8,N8=32,xG=268435456,j6=Math.random().toString(36).slice(2),G5="__reactFiber$"+j6,R5="__reactProps$"+j6,A6="__reactContainer$"+j6,LY="__reactEvents$"+j6,bV="__reactListeners$"+j6,fV="__reactHandles$"+j6,JF="__reactResources$"+j6,p7="__reactMarker$"+j6,qF=new Set,m2={},VY={},yV={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},gV=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]*$"),XF={},YF={},hV=/[\n"\\]/g,UF=!1,NF=!1,KF=!1,BF=!1,HF=!1,MF=!1,FF=["value","defaultValue"],WF=!1,wF=/["'&<>\n\t]|^\s|\s$/,xV="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(" "),RF="applet caption html table td th marquee object template foreignObject desc title".split(" "),uV=RF.concat(["button"]),mV="dd dt li option optgroup p rp rt".split(" "),TF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},uG={},EY={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"]},zF=/([A-Z])/g,_F=/^ms-/,dV=/^(?:webkit|moz|o)[A-Z]/,pV=/^-ms-/,cV=/-(.)/g,LF=/;\s*$/,e$={},PY={},VF=!1,EF=!1,PF=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(" ")),mG="http://www.w3.org/1998/Math/MathML",$9="http://www.w3.org/2000/svg",lV=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"]]),dG={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"},CF={"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},Z9={},rV=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]*$"),sV=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]*$"),IF=!1,T5={},OF=/^on./,nV=/^on[^A-Z]/,oV=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]*$"),aV=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]*$"),iV=/^[\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,c7=null,Q9=null,G9=null,CY=!1,K8=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),IY=!1;if(K8)try{var l7={};Object.defineProperty(l7,"passive",{get:function(){IY=!0}}),window.addEventListener("test",l7,l7),window.removeEventListener("test",l7,l7)}catch($){IY=!1}var S6=null,OY=null,pG=null,d2={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cG=I5(d2),r7=y0({},d2,{view:0,detail:0}),tV=I5(r7),DY,jY,s7,lG=y0({},r7,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:B3,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==s7&&(s7&&$.type==="mousemove"?(DY=$.screenX-s7.screenX,jY=$.screenY-s7.screenY):jY=DY=0,s7=$),DY},movementY:function($){return"movementY"in $?$.movementY:jY}}),DF=I5(lG),eV=y0({},lG,{dataTransfer:0}),$E=I5(eV),ZE=y0({},r7,{relatedTarget:0}),AY=I5(ZE),QE=y0({},d2,{animationName:0,elapsedTime:0,pseudoElement:0}),GE=I5(QE),JE=y0({},d2,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),qE=I5(JE),XE=y0({},d2,{data:0}),jF=I5(XE),YE=jF,UE={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},NE={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"},KE={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},BE=y0({},r7,{key:function($){if($.key){var Z=UE[$.key]||$.key;if(Z!=="Unidentified")return Z}return $.type==="keypress"?($=AQ($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?NE[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:B3,charCode:function($){return $.type==="keypress"?AQ($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?AQ($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),HE=I5(BE),ME=y0({},lG,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),AF=I5(ME),FE=y0({},r7,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:B3}),WE=I5(FE),wE=y0({},d2,{propertyName:0,elapsedTime:0,pseudoElement:0}),RE=I5(wE),TE=y0({},lG,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),zE=I5(TE),_E=y0({},d2,{newState:0,oldState:0}),LE=I5(_E),VE=[9,13,27,32],SF=229,SY=K8&&"CompositionEvent"in window,n7=null;K8&&"documentMode"in document&&(n7=document.documentMode);var EE=K8&&"TextEvent"in window&&!n7,vF=K8&&(!SY||n7&&8<n7&&11>=n7),kF=32,bF=String.fromCharCode(kF),fF=!1,J9=!1,PE={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},o7=null,a7=null,yF=!1;K8&&(yF=l_("input")&&(!document.documentMode||9<document.documentMode));var z5=typeof Object.is==="function"?Object.is:i_,CE=K8&&"documentMode"in document&&11>=document.documentMode,q9=null,vY=null,i7=null,kY=!1,X9={animationend:O2("Animation","AnimationEnd"),animationiteration:O2("Animation","AnimationIteration"),animationstart:O2("Animation","AnimationStart"),transitionrun:O2("Transition","TransitionRun"),transitionstart:O2("Transition","TransitionStart"),transitioncancel:O2("Transition","TransitionCancel"),transitionend:O2("Transition","TransitionEnd")},bY={},gF={};K8&&(gF=document.createElement("div").style,("AnimationEvent"in window)||(delete X9.animationend.animation,delete X9.animationiteration.animation,delete X9.animationstart.animation),("TransitionEvent"in window)||delete X9.transitionend.transition);var hF=D2("animationend"),xF=D2("animationiteration"),uF=D2("animationstart"),IE=D2("transitionrun"),OE=D2("transitionstart"),DE=D2("transitioncancel"),mF=D2("transitionend"),dF=new Map,fY="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(" ");fY.push("scrollEnd");var pF=0;if(typeof performance==="object"&&typeof performance.now==="function")var jE=performance,cF=function(){return jE.now()};else{var AE=Date;cF=function(){return AE.now()}}var yY=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(Z))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},SE="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.",rG=0,gY=1,hY=2,xY=3,sG="– ",nG="+ ",lF="  ",w1=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",N4="Components ⚛",g0="Scheduler ⚛",u0="Blocking",v6=!1,f8={color:"primary",properties:null,tooltipText:"",track:N4},k6={start:-0,end:-0,detail:{devtools:f8}},vE=["Changed Props",""],rF="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",kE=["Changed Props",rF],t7=1,y8=2,K4=[],Y9=0,uY=0,b6={};Object.freeze(b6);var B4=null,U9=null,_0=0,bE=1,j0=2,M5=8,A4=16,fE=32,sF=!1;try{var nF=Object.preventExtensions({})}catch($){sF=!0}var mY=new WeakMap,N9=[],K9=0,oG=null,e7=0,H4=[],M4=0,p2=null,g8=1,h8="",J5=null,R1=null,p0=!1,B8=!1,$4=null,f6=null,F4=!1,dY=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."),pY=N0(null),cY=N0(null),oF={},aG=null,B9=null,H9=!1,yE=typeof AbortController<"u"?AbortController:function(){var $=[],Z=this.signal={aborted:!1,addEventListener:function(G,X){$.push(X)}};this.abort=function(){Z.aborted=!0,$.forEach(function(G){return G()})}},gE=i0.unstable_scheduleCallback,hE=i0.unstable_NormalPriority,y1={$$typeof:q8,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},g1=i0.unstable_now,iG=console.createTask?console.createTask:function(){return null},$Z=1,tG=2,a1=-0,y6=-0,x8=-0,u8=null,_5=-1.1,c2=-0,V1=-0,W0=-1.1,T0=-1.1,L1=null,I1=!1,g6=-0,H8=-1.1,ZZ=null,h6=0,lY=null,rY=null,l2=-1.1,QZ=null,M9=-1.1,eG=-1.1,M8=-0,m8=-1.1,W4=-1.1,sY=0,GZ=null,aF=null,iF=null,x6=-1.1,r2=null,u6=-1.1,$J=-1.1,tF=-0,eF=-0,ZJ=0,d8=null,$W=0,JZ=-1.1,QJ=!1,GJ=!1,qZ=null,nY=0,s2=0,F9=null,ZW=x.S;x.S=function($,Z){if(aW=o1(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>m8&&0>W4){m8=g1();var G=f7(),X=b7();if(G!==u6||X!==r2)u6=-1.1;x6=G,r2=X}JL($,Z)}ZW!==null&&ZW($,Z)};var n2=N0(null),S4={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},XZ=[],YZ=[],UZ=[],NZ=[],KZ=[],BZ=[],o2=new Set;S4.recordUnsafeLifecycleWarnings=function($,Z){o2.has($.type)||(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0&&XZ.push($),$.mode&M5&&typeof Z.UNSAFE_componentWillMount==="function"&&YZ.push($),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&UZ.push($),$.mode&M5&&typeof Z.UNSAFE_componentWillReceiveProps==="function"&&NZ.push($),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0&&KZ.push($),$.mode&M5&&typeof Z.UNSAFE_componentWillUpdate==="function"&&BZ.push($))},S4.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<XZ.length&&(XZ.forEach(function(w){$.add(d(w)||"Component"),o2.add(w.type)}),XZ=[]);var Z=new Set;0<YZ.length&&(YZ.forEach(function(w){Z.add(d(w)||"Component"),o2.add(w.type)}),YZ=[]);var G=new Set;0<UZ.length&&(UZ.forEach(function(w){G.add(d(w)||"Component"),o2.add(w.type)}),UZ=[]);var X=new Set;0<NZ.length&&(NZ.forEach(function(w){X.add(d(w)||"Component"),o2.add(w.type)}),NZ=[]);var N=new Set;0<KZ.length&&(KZ.forEach(function(w){N.add(d(w)||"Component"),o2.add(w.type)}),KZ=[]);var B=new Set;if(0<BZ.length&&(BZ.forEach(function(w){B.add(d(w)||"Component"),o2.add(w.type)}),BZ=[]),0<Z.size){var W=z(Z);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.
184
+ Check the render method of %s.`,d(t8)||"Unknown")),X=V6(Z),X.payload={element:q},N=N===void 0?null:N,N!==null&&(typeof N!=="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",N),X.callback=N),q=_6($,X,Z),q!==null&&(l1(Z,"root.render()",null),C5(q,$,Z),LZ(q,$,Z))}function hH($,Z){if($=$.memoizedState,$!==null&&$.dehydrated!==null){var q=$.retryLane;$.retryLane=q!==0&&q<Z?q:Z}}function QY($,Z){hH($,Z),($=$.alternate)&&hH($,Z)}function uH($){if($.tag===13||$.tag===31){var Z=N8($,67108864);Z!==null&&C5(Z,$,67108864),QY($,67108864)}}function mH($){if($.tag===13||$.tag===31){var Z=o8($);Z=C4(Z);var q=N8($,Z);q!==null&&C5(q,$,Z),QY($,Z)}}function RE(){return t8}function zE($,Z,q,X){var K=h.T;h.T=null;var N=Z5.p;try{Z5.p=e8,qY($,Z,q,X)}finally{Z5.p=N,h.T=K}}function LE($,Z,q,X){var K=h.T;h.T=null;var N=Z5.p;try{Z5.p=A1,qY($,Z,q,X)}finally{Z5.p=N,h.T=K}}function qY($,Z,q,X){if(yJ){var K=GY(X);if(K===null)d3($,Z,X,gJ,q),pH($,X);else if(VE(K,$,Z,q,X))X.stopPropagation();else if(pH($,X),Z&4&&-1<NP.indexOf($)){for(;K!==null;){var N=w0(K);if(N!==null)switch(N.tag){case 3:if(N=N.stateNode,N.current.memoizedState.isDehydrated){var W=m1(N.pendingLanes);if(W!==0){var R=N;R.pendingLanes|=2;for(R.entangledLanes|=2;W;){var _=1<<31-R8(W);R.entanglements[1]|=_,W&=~_}Q$(N),(o0&(r5|q1))===t5&&(VJ=o5()+tW,vZ(0,!1))}}break;case 31:case 13:R=N8(N,2),R!==null&&C5(R,N,2),p7(),QY(N,2)}if(N=GY(X),N===null&&d3($,Z,X,gJ,q),N===K)break;K=N}K!==null&&X.stopPropagation()}else d3($,Z,X,null,q)}}function GY($){return $=BX($),JY($)}function JY($){if(gJ=null,$=J0($),$!==null){var Z=g($);if(Z===null)$=null;else{var q=Z.tag;if(q===13){if($=m(Z),$!==null)return $;$=null}else if(q===31){if($=o(Z),$!==null)return $;$=null}else if(q===3){if(Z.stateNode.current.memoizedState.isDehydrated)return Z.tag===3?Z.stateNode.containerInfo:null;$=null}else Z!==$&&($=null)}}return gJ=$,null}function dH($){switch($){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 e8;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 A1;case"message":switch(jE()){case LY:return e8;case VY:return A1;case a7:case AE:return K$;case _Y:return hG;default:return K$}default:return K$}}function pH($,Z){switch($){case"focusin":case"focusout":a6=null;break;case"dragenter":case"dragleave":t6=null;break;case"mouseover":case"mouseout":e6=null;break;case"pointerover":case"pointerout":kQ.delete(Z.pointerId);break;case"gotpointercapture":case"lostpointercapture":bQ.delete(Z.pointerId)}}function hZ($,Z,q,X,K,N){if($===null||$.nativeEvent!==N)return $={blockedOn:Z,domEventName:q,eventSystemFlags:X,nativeEvent:N,targetContainers:[K]},Z!==null&&(Z=w0(Z),Z!==null&&uH(Z)),$;return $.eventSystemFlags|=X,Z=$.targetContainers,K!==null&&Z.indexOf(K)===-1&&Z.push(K),$}function VE($,Z,q,X,K){switch(Z){case"focusin":return a6=hZ(a6,$,Z,q,X,K),!0;case"dragenter":return t6=hZ(t6,$,Z,q,X,K),!0;case"mouseover":return e6=hZ(e6,$,Z,q,X,K),!0;case"pointerover":var N=K.pointerId;return kQ.set(N,hZ(kQ.get(N)||null,$,Z,q,X,K)),!0;case"gotpointercapture":return N=K.pointerId,bQ.set(N,hZ(bQ.get(N)||null,$,Z,q,X,K)),!0}return!1}function cH($){var Z=J0($.target);if(Z!==null){var q=g(Z);if(q!==null){if(Z=q.tag,Z===13){if(Z=m(q),Z!==null){$.blockedOn=Z,r($.priority,function(){mH(q)});return}}else if(Z===31){if(Z=o(q),Z!==null){$.blockedOn=Z,r($.priority,function(){mH(q)});return}}else if(Z===3&&q.stateNode.current.memoizedState.isDehydrated){$.blockedOn=q.tag===3?q.stateNode.containerInfo:null;return}}}$.blockedOn=null}function DG($){if($.blockedOn!==null)return!1;for(var Z=$.targetContainers;0<Z.length;){var q=GY($.nativeEvent);if(q===null){q=$.nativeEvent;var X=new q.constructor(q.type,q),K=X;cZ!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),cZ=K,q.target.dispatchEvent(X),cZ===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."),cZ=null}else return Z=w0(q),Z!==null&&uH(Z),$.blockedOn=q,!1;Z.shift()}return!0}function lH($,Z,q){DG($)&&q.delete(Z)}function _E(){bU=!1,a6!==null&&DG(a6)&&(a6=null),t6!==null&&DG(t6)&&(t6=null),e6!==null&&DG(e6)&&(e6=null),kQ.forEach(lH),bQ.forEach(lH)}function SG($,Z){$.blockedOn===Z&&($.blockedOn=null,bU||(bU=!0,a0.unstable_scheduleCallback(a0.unstable_NormalPriority,_E)))}function rH($){xJ!==$&&(xJ=$,a0.unstable_scheduleCallback(a0.unstable_NormalPriority,function(){xJ===$&&(xJ=null);for(var Z=0;Z<$.length;Z+=3){var q=$[Z],X=$[Z+1],K=$[Z+2];if(typeof X!=="function")if(JY(X||q)===null)continue;else break;var N=w0(q);N!==null&&($.splice(Z,3),Z-=3,q={pending:!0,data:K,method:q.method,action:X},Object.freeze(q),J3(N,q,X,K))}}))}function n7($){function Z(_){return SG(_,$)}a6!==null&&SG(a6,$),t6!==null&&SG(t6,$),e6!==null&&SG(e6,$),kQ.forEach(Z),bQ.forEach(Z);for(var q=0;q<$4.length;q++){var X=$4[q];X.blockedOn===$&&(X.blockedOn=null)}for(;0<$4.length&&(q=$4[0],q.blockedOn===null);)cH(q),q.blockedOn===null&&$4.shift();if(q=($.ownerDocument||$).$$reactFormReplay,q!=null)for(X=0;X<q.length;X+=3){var K=q[X],N=q[X+1],W=K[z8]||null;if(typeof N==="function")W||rH(q);else if(W){var R=null;if(N&&N.hasAttribute("formAction")){if(K=N,W=N[z8]||null)R=W.formAction;else if(JY(K)!==null)continue}else R=W.action;typeof R==="function"?q[X+1]=R:(q.splice(X,3),X-=3),rH(q)}}}function sH(){function $(N){N.canIntercept&&N.info==="react-transition"&&N.intercept({handler:function(){return new Promise(function(W){return K=W})},focusReset:"manual",scroll:"manual"})}function Z(){K!==null&&(K(),K=null),X||setTimeout(q,20)}function q(){if(!X&&!navigation.transition){var N=navigation.currentEntry;N&&N.url!=null&&navigation.navigate(N.url,{state:N.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation==="object"){var X=!1,K=null;return navigation.addEventListener("navigate",$),navigation.addEventListener("navigatesuccess",Z),navigation.addEventListener("navigateerror",Z),setTimeout(q,100),function(){X=!0,navigation.removeEventListener("navigate",$),navigation.removeEventListener("navigatesuccess",Z),navigation.removeEventListener("navigateerror",Z),K!==null&&(K(),K=null)}}}function XY($){this._internalRoot=$}function vG($){this._internalRoot=$}function nH($){$[D6]&&($._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 y0=Object.assign,TE=Symbol.for("react.element"),G$=Symbol.for("react.transitional.element"),o7=Symbol.for("react.portal"),i7=Symbol.for("react.fragment"),kG=Symbol.for("react.strict_mode"),YY=Symbol.for("react.profiler"),UY=Symbol.for("react.consumer"),J$=Symbol.for("react.context"),uZ=Symbol.for("react.forward_ref"),KY=Symbol.for("react.suspense"),BY=Symbol.for("react.suspense_list"),bG=Symbol.for("react.memo"),a8=Symbol.for("react.lazy"),NY=Symbol.for("react.activity"),EE=Symbol.for("react.memo_cache_sentinel"),oH=Symbol.iterator,wE=Symbol.for("react.client.reference"),c5=Array.isArray,h=v9.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z5=yU.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,PE=Object.freeze({pending:!1,data:null,method:null,action:null}),MY=[],HY=[],b$=-1,O6=K0(null),mZ=K0(null),j6=K0(null),fG=K0(null),dZ=0,iH,aH,tH,eH,$F,ZF,QF;S.__reactDisabledLog=!0;var FY,qF,WY=!1,RY=new(typeof WeakMap==="function"?WeakMap:Map),t8=null,X$=!1,j1=Object.prototype.hasOwnProperty,zY=a0.unstable_scheduleCallback,CE=a0.unstable_cancelCallback,IE=a0.unstable_shouldYield,OE=a0.unstable_requestPaint,o5=a0.unstable_now,jE=a0.unstable_getCurrentPriorityLevel,LY=a0.unstable_ImmediatePriority,VY=a0.unstable_UserBlockingPriority,a7=a0.unstable_NormalPriority,AE=a0.unstable_LowPriority,_Y=a0.unstable_IdlePriority,DE=a0.log,SE=a0.unstable_setDisableYieldValue,t7=null,M8=null,Y$=!1,U$=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",R8=Math.clz32?Math.clz32:wq,vE=Math.log,kE=Math.LN2,yG=256,gG=262144,xG=4194304,e8=2,A1=8,K$=32,hG=268435456,A6=Math.random().toString(36).slice(2),q8="__reactFiber$"+A6,z8="__reactProps$"+A6,D6="__reactContainer$"+A6,TY="__reactEvents$"+A6,bE="__reactListeners$"+A6,fE="__reactHandles$"+A6,GF="__reactResources$"+A6,pZ="__reactMarker$"+A6,JF=new Set,m4={},EY={},yE={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},gE=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]*$"),XF={},YF={},xE=/[\n"\\]/g,UF=!1,KF=!1,BF=!1,NF=!1,MF=!1,HF=!1,FF=["value","defaultValue"],WF=!1,RF=/["'&<>\n\t]|^\s|\s$/,hE="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(" "),zF="applet caption html table td th marquee object template foreignObject desc title".split(" "),uE=zF.concat(["button"]),mE="dd dt li option optgroup p rp rt".split(" "),LF={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},uG={},wY={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"]},VF=/([A-Z])/g,_F=/^ms-/,dE=/^(?:webkit|moz|o)[A-Z]/,pE=/^-ms-/,cE=/-(.)/g,TF=/;\s*$/,e7={},PY={},EF=!1,wF=!1,PF=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(" ")),mG="http://www.w3.org/1998/Math/MathML",$9="http://www.w3.org/2000/svg",lE=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"]]),dG={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"},CF={"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},Z9={},rE=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]*$"),sE=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]*$"),IF=!1,L8={},OF=/^on./,nE=/^on[^A-Z]/,oE=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]*$"),iE=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]*$"),aE=/^[\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,cZ=null,Q9=null,q9=null,CY=!1,B$=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),IY=!1;if(B$)try{var lZ={};Object.defineProperty(lZ,"passive",{get:function(){IY=!0}}),window.addEventListener("test",lZ,lZ),window.removeEventListener("test",lZ,lZ)}catch($){IY=!1}var S6=null,OY=null,pG=null,d4={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function($){return $.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cG=I8(d4),rZ=y0({},d4,{view:0,detail:0}),tE=I8(rZ),jY,AY,sZ,lG=y0({},rZ,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:NX,button:0,buttons:0,relatedTarget:function($){return $.relatedTarget===void 0?$.fromElement===$.srcElement?$.toElement:$.fromElement:$.relatedTarget},movementX:function($){if("movementX"in $)return $.movementX;return $!==sZ&&(sZ&&$.type==="mousemove"?(jY=$.screenX-sZ.screenX,AY=$.screenY-sZ.screenY):AY=jY=0,sZ=$),jY},movementY:function($){return"movementY"in $?$.movementY:AY}}),jF=I8(lG),eE=y0({},lG,{dataTransfer:0}),$w=I8(eE),Zw=y0({},rZ,{relatedTarget:0}),DY=I8(Zw),Qw=y0({},d4,{animationName:0,elapsedTime:0,pseudoElement:0}),qw=I8(Qw),Gw=y0({},d4,{clipboardData:function($){return"clipboardData"in $?$.clipboardData:window.clipboardData}}),Jw=I8(Gw),Xw=y0({},d4,{data:0}),AF=I8(Xw),Yw=AF,Uw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Kw={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"},Bw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Nw=y0({},rZ,{key:function($){if($.key){var Z=Uw[$.key]||$.key;if(Z!=="Unidentified")return Z}return $.type==="keypress"?($=Dq($),$===13?"Enter":String.fromCharCode($)):$.type==="keydown"||$.type==="keyup"?Kw[$.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:NX,charCode:function($){return $.type==="keypress"?Dq($):0},keyCode:function($){return $.type==="keydown"||$.type==="keyup"?$.keyCode:0},which:function($){return $.type==="keypress"?Dq($):$.type==="keydown"||$.type==="keyup"?$.keyCode:0}}),Mw=I8(Nw),Hw=y0({},lG,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),DF=I8(Hw),Fw=y0({},rZ,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:NX}),Ww=I8(Fw),Rw=y0({},d4,{propertyName:0,elapsedTime:0,pseudoElement:0}),zw=I8(Rw),Lw=y0({},lG,{deltaX:function($){return"deltaX"in $?$.deltaX:("wheelDeltaX"in $)?-$.wheelDeltaX:0},deltaY:function($){return"deltaY"in $?$.deltaY:("wheelDeltaY"in $)?-$.wheelDeltaY:("wheelDelta"in $)?-$.wheelDelta:0},deltaZ:0,deltaMode:0}),Vw=I8(Lw),_w=y0({},d4,{newState:0,oldState:0}),Tw=I8(_w),Ew=[9,13,27,32],SF=229,SY=B$&&"CompositionEvent"in window,nZ=null;B$&&"documentMode"in document&&(nZ=document.documentMode);var ww=B$&&"TextEvent"in window&&!nZ,vF=B$&&(!SY||nZ&&8<nZ&&11>=nZ),kF=32,bF=String.fromCharCode(kF),fF=!1,G9=!1,Pw={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},oZ=null,iZ=null,yF=!1;B$&&(yF=l_("input")&&(!document.documentMode||9<document.documentMode));var V8=typeof Object.is==="function"?Object.is:a_,Cw=B$&&"documentMode"in document&&11>=document.documentMode,J9=null,vY=null,aZ=null,kY=!1,X9={animationend:O4("Animation","AnimationEnd"),animationiteration:O4("Animation","AnimationIteration"),animationstart:O4("Animation","AnimationStart"),transitionrun:O4("Transition","TransitionRun"),transitionstart:O4("Transition","TransitionStart"),transitioncancel:O4("Transition","TransitionCancel"),transitionend:O4("Transition","TransitionEnd")},bY={},gF={};B$&&(gF=document.createElement("div").style,("AnimationEvent"in window)||(delete X9.animationend.animation,delete X9.animationiteration.animation,delete X9.animationstart.animation),("TransitionEvent"in window)||delete X9.transitionend.transition);var xF=j4("animationend"),hF=j4("animationiteration"),uF=j4("animationstart"),Iw=j4("transitionrun"),Ow=j4("transitionstart"),jw=j4("transitioncancel"),mF=j4("transitionend"),dF=new Map,fY="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(" ");fY.push("scrollEnd");var pF=0;if(typeof performance==="object"&&typeof performance.now==="function")var Aw=performance,cF=function(){return Aw.now()};else{var Dw=Date;cF=function(){return Dw.now()}}var yY=typeof reportError==="function"?reportError:function($){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var Z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $==="object"&&$!==null&&typeof $.message==="string"?String($.message):String($),error:$});if(!window.dispatchEvent(Z))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",$);return}console.error($)},Sw="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.",rG=0,gY=1,xY=2,hY=3,sG="– ",nG="+ ",lF="  ",R5=typeof console<"u"&&typeof console.timeStamp==="function"&&typeof performance<"u"&&typeof performance.measure==="function",K1="Components ⚛",g0="Scheduler ⚛",u0="Blocking",v6=!1,f$={color:"primary",properties:null,tooltipText:"",track:K1},k6={start:-0,end:-0,detail:{devtools:f$}},vw=["Changed Props",""],rF="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",kw=["Changed Props",rF],tZ=1,y$=2,B1=[],Y9=0,uY=0,b6={};Object.freeze(b6);var N1=null,U9=null,_0=0,bw=1,A0=2,H8=8,D1=16,fw=32,sF=!1;try{var nF=Object.preventExtensions({})}catch($){sF=!0}var mY=new WeakMap,K9=[],B9=0,oG=null,eZ=0,M1=[],H1=0,p4=null,g$=1,x$="",G8=null,z5=null,p0=!1,N$=!1,$1=null,f6=null,F1=!1,dY=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."),pY=K0(null),cY=K0(null),oF={},iG=null,N9=null,M9=!1,yw=typeof AbortController<"u"?AbortController:function(){var $=[],Z=this.signal={aborted:!1,addEventListener:function(q,X){$.push(X)}};this.abort=function(){Z.aborted=!0,$.forEach(function(q){return q()})}},gw=a0.unstable_scheduleCallback,xw=a0.unstable_NormalPriority,y5={$$typeof:J$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},g5=a0.unstable_now,aG=console.createTask?console.createTask:function(){return null},$Q=1,tG=2,i5=-0,y6=-0,h$=-0,u$=null,_8=-1.1,c4=-0,E5=-0,W0=-1.1,L0=-1.1,T5=null,I5=!1,g6=-0,M$=-1.1,ZQ=null,x6=0,lY=null,rY=null,l4=-1.1,QQ=null,H9=-1.1,eG=-1.1,H$=-0,m$=-1.1,W1=-1.1,sY=0,qQ=null,iF=null,aF=null,h6=-1.1,r4=null,u6=-1.1,$J=-1.1,tF=-0,eF=-0,ZJ=0,d$=null,$W=0,GQ=-1.1,QJ=!1,qJ=!1,JQ=null,nY=0,s4=0,F9=null,ZW=h.S;h.S=function($,Z){if(iW=o5(),typeof Z==="object"&&Z!==null&&typeof Z.then==="function"){if(0>m$&&0>W1){m$=g5();var q=fZ(),X=bZ();if(q!==u6||X!==r4)u6=-1.1;h6=q,r4=X}GT($,Z)}ZW!==null&&ZW($,Z)};var n4=K0(null),S1={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},XQ=[],YQ=[],UQ=[],KQ=[],BQ=[],NQ=[],o4=new Set;S1.recordUnsafeLifecycleWarnings=function($,Z){o4.has($.type)||(typeof Z.componentWillMount==="function"&&Z.componentWillMount.__suppressDeprecationWarning!==!0&&XQ.push($),$.mode&H8&&typeof Z.UNSAFE_componentWillMount==="function"&&YQ.push($),typeof Z.componentWillReceiveProps==="function"&&Z.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&UQ.push($),$.mode&H8&&typeof Z.UNSAFE_componentWillReceiveProps==="function"&&KQ.push($),typeof Z.componentWillUpdate==="function"&&Z.componentWillUpdate.__suppressDeprecationWarning!==!0&&BQ.push($),$.mode&H8&&typeof Z.UNSAFE_componentWillUpdate==="function"&&NQ.push($))},S1.flushPendingUnsafeLifecycleWarnings=function(){var $=new Set;0<XQ.length&&(XQ.forEach(function(R){$.add(d(R)||"Component"),o4.add(R.type)}),XQ=[]);var Z=new Set;0<YQ.length&&(YQ.forEach(function(R){Z.add(d(R)||"Component"),o4.add(R.type)}),YQ=[]);var q=new Set;0<UQ.length&&(UQ.forEach(function(R){q.add(d(R)||"Component"),o4.add(R.type)}),UQ=[]);var X=new Set;0<KQ.length&&(KQ.forEach(function(R){X.add(d(R)||"Component"),o4.add(R.type)}),KQ=[]);var K=new Set;0<BQ.length&&(BQ.forEach(function(R){K.add(d(R)||"Component"),o4.add(R.type)}),BQ=[]);var N=new Set;if(0<NQ.length&&(NQ.forEach(function(R){N.add(d(R)||"Component"),o4.add(R.type)}),NQ=[]),0<Z.size){var W=V(Z);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.
185
185
 
186
186
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
187
187
 
188
- Please update the following components: %s`,W)}0<X.size&&(W=z(X),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.
188
+ Please update the following components: %s`,W)}0<X.size&&(W=V(X),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.
189
189
 
190
190
  * Move data fetching code or side effects to componentDidUpdate.
191
191
  * 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
192
192
 
193
- Please update the following components: %s`,W)),0<B.size&&(W=z(B),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.
193
+ Please update the following components: %s`,W)),0<N.size&&(W=V(N),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.
194
194
 
195
195
  * Move data fetching code or side effects to componentDidUpdate.
196
196
 
197
- Please update the following components: %s`,W)),0<$.size&&(W=z($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
197
+ Please update the following components: %s`,W)),0<$.size&&(W=V($),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
198
198
 
199
199
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
200
200
  * 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.
201
201
 
202
- Please update the following components: %s`,W)),0<G.size&&(W=z(G),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
202
+ Please update the following components: %s`,W)),0<q.size&&(W=V(q),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
203
203
 
204
204
  * Move data fetching code or side effects to componentDidUpdate.
205
205
  * 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
206
206
  * 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.
207
207
 
208
- Please update the following components: %s`,W)),0<N.size&&(W=z(N),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
208
+ Please update the following components: %s`,W)),0<K.size&&(W=V(K),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
209
209
 
210
210
  * Move data fetching code or side effects to componentDidUpdate.
211
211
  * 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.
212
212
 
213
- Please update the following components: %s`,W))};var JJ=new Map,QW=new Set;S4.recordLegacyContextWarning=function($,Z){var G=null;for(var X=$;X!==null;)X.mode&M5&&(G=X),X=X.return;G===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."):!QW.has($.type)&&(X=JJ.get(G),$.type.contextTypes!=null||$.type.childContextTypes!=null||Z!==null&&typeof Z.getChildContext==="function")&&(X===void 0&&(X=[],JJ.set(G,X)),X.push($))},S4.flushLegacyContextWarning=function(){JJ.forEach(function($){if($.length!==0){var Z=$[0],G=new Set;$.forEach(function(N){G.add(d(N)||"Component"),QW.add(N.type)});var X=z(G);G0(Z,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
213
+ Please update the following components: %s`,W))};var GJ=new Map,QW=new Set;S1.recordLegacyContextWarning=function($,Z){var q=null;for(var X=$;X!==null;)X.mode&H8&&(q=X),X=X.return;q===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."):!QW.has($.type)&&(X=GJ.get(q),$.type.contextTypes!=null||$.type.childContextTypes!=null||Z!==null&&typeof Z.getChildContext==="function")&&(X===void 0&&(X=[],GJ.set(q,X)),X.push($))},S1.flushLegacyContextWarning=function(){GJ.forEach(function($){if($.length!==0){var Z=$[0],q=new Set;$.forEach(function(K){q.add(d(K)||"Component"),QW.add(K.type)});var X=V(q);q0(Z,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
214
214
 
215
215
  The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
216
216
 
217
217
  Please update the following components: %s
218
218
 
219
- Learn more about this warning here: https://react.dev/link/legacy-context`,X)})}})},S4.discardPendingWarnings=function(){XZ=[],YZ=[],UZ=[],NZ=[],KZ=[],BZ=[],JJ=new Map};var GW={react_stack_bottom_frame:function($,Z,G){var X=X8;X8=!0;try{return $(Z,G)}finally{X8=X}}},oY=GW.react_stack_bottom_frame.bind(GW),JW={react_stack_bottom_frame:function($){var Z=X8;X8=!0;try{return $.render()}finally{X8=Z}}},qW=JW.react_stack_bottom_frame.bind(JW),XW={react_stack_bottom_frame:function($,Z){try{Z.componentDidMount()}catch(G){$1($,$.return,G)}}},aY=XW.react_stack_bottom_frame.bind(XW),YW={react_stack_bottom_frame:function($,Z,G,X,N){try{Z.componentDidUpdate(G,X,N)}catch(B){$1($,$.return,B)}}},UW=YW.react_stack_bottom_frame.bind(YW),NW={react_stack_bottom_frame:function($,Z){var G=Z.stack;$.componentDidCatch(Z.value,{componentStack:G!==null?G:""})}},xE=NW.react_stack_bottom_frame.bind(NW),KW={react_stack_bottom_frame:function($,Z,G){try{G.componentWillUnmount()}catch(X){$1($,Z,X)}}},BW=KW.react_stack_bottom_frame.bind(KW),HW={react_stack_bottom_frame:function($){var Z=$.create;return $=$.inst,Z=Z(),$.destroy=Z}},uE=HW.react_stack_bottom_frame.bind(HW),MW={react_stack_bottom_frame:function($,Z,G){try{G()}catch(X){$1($,Z,X)}}},mE=MW.react_stack_bottom_frame.bind(MW),FW={react_stack_bottom_frame:function($){var Z=$._init;return Z($._payload)}},dE=FW.react_stack_bottom_frame.bind(FW),W9=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`."),iY=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."),qJ=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."),XJ={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.')}},a2=null,HZ=!1,w9=null,MZ=0,A0=null,tY,WW=tY=!1,wW={},RW={},TW={};T=function($,Z,G){if(G!==null&&typeof G==="object"&&G._store&&(!G._store.validated&&G.key==null||G._store.validated===2)){if(typeof G._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.");G._store.validated=1;var X=d($),N=X||"null";if(!wW[N]){wW[N]=!0,G=G._owner,$=$._debugOwner;var B="";$&&typeof $.tag==="number"&&(N=d($))&&(B=`
219
+ Learn more about this warning here: https://react.dev/link/legacy-context`,X)})}})},S1.discardPendingWarnings=function(){XQ=[],YQ=[],UQ=[],KQ=[],BQ=[],NQ=[],GJ=new Map};var qW={react_stack_bottom_frame:function($,Z,q){var X=X$;X$=!0;try{return $(Z,q)}finally{X$=X}}},oY=qW.react_stack_bottom_frame.bind(qW),GW={react_stack_bottom_frame:function($){var Z=X$;X$=!0;try{return $.render()}finally{X$=Z}}},JW=GW.react_stack_bottom_frame.bind(GW),XW={react_stack_bottom_frame:function($,Z){try{Z.componentDidMount()}catch(q){$5($,$.return,q)}}},iY=XW.react_stack_bottom_frame.bind(XW),YW={react_stack_bottom_frame:function($,Z,q,X,K){try{Z.componentDidUpdate(q,X,K)}catch(N){$5($,$.return,N)}}},UW=YW.react_stack_bottom_frame.bind(YW),KW={react_stack_bottom_frame:function($,Z){var q=Z.stack;$.componentDidCatch(Z.value,{componentStack:q!==null?q:""})}},hw=KW.react_stack_bottom_frame.bind(KW),BW={react_stack_bottom_frame:function($,Z,q){try{q.componentWillUnmount()}catch(X){$5($,Z,X)}}},NW=BW.react_stack_bottom_frame.bind(BW),MW={react_stack_bottom_frame:function($){var Z=$.create;return $=$.inst,Z=Z(),$.destroy=Z}},uw=MW.react_stack_bottom_frame.bind(MW),HW={react_stack_bottom_frame:function($,Z,q){try{q()}catch(X){$5($,Z,X)}}},mw=HW.react_stack_bottom_frame.bind(HW),FW={react_stack_bottom_frame:function($){var Z=$._init;return Z($._payload)}},dw=FW.react_stack_bottom_frame.bind(FW),W9=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`."),aY=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."),JJ=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."),XJ={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.')}},i4=null,MQ=!1,R9=null,HQ=0,D0=null,tY,WW=tY=!1,RW={},zW={},LW={};L=function($,Z,q){if(q!==null&&typeof q==="object"&&q._store&&(!q._store.validated&&q.key==null||q._store.validated===2)){if(typeof q._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.");q._store.validated=1;var X=d($),K=X||"null";if(!RW[K]){RW[K]=!0,q=q._owner,$=$._debugOwner;var N="";$&&typeof $.tag==="number"&&(K=d($))&&(N=`
220
220
 
221
- Check the render method of \``+N+"`."),B||X&&(B=`
221
+ Check the render method of \``+K+"`."),N||X&&(N=`
222
222
 
223
- Check the top-level render call using <`+X+">.");var W="";G!=null&&$!==G&&(X=null,typeof G.tag==="number"?X=d(G):typeof G.name==="string"&&(X=G.name),X&&(W=" It was passed a child from "+X+".")),G0(Z,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.',B,W)})}}};var i2=KB(!0),zW=KB(!1),_W=0,LW=1,VW=2,eY=3,m6=!1,EW=!1,$U=null,ZU=!1,R9=N0(null),YJ=N0(0),Z4=N0(null),w4=null,T9=1,FZ=2,v1=N0(0),UJ=0,R4=1,L5=2,Q4=4,V5=8,z9,PW=new Set,CW=new Set,QU=new Set,IW=new Set,p8=0,L0=null,N1=null,h1=null,NJ=!1,_9=!1,t2=!1,KJ=0,WZ=0,c8=null,pE=0,cE=25,h=null,T4=null,l8=-1,wZ=!1,RZ={readContext:_1,use:E6,useCallback:A1,useContext:A1,useEffect:A1,useImperativeHandle:A1,useLayoutEffect:A1,useInsertionEffect:A1,useMemo:A1,useReducer:A1,useRef:A1,useState:A1,useDebugValue:A1,useDeferredValue:A1,useTransition:A1,useSyncExternalStore:A1,useId:A1,useHostTransitionStatus:A1,useFormState:A1,useActionState:A1,useOptimistic:A1,useMemoCache:A1,useCacheRefresh:A1};RZ.useEffectEvent=A1;var GU=null,OW=null,JU=null,DW=null,F8=null,v4=null,BJ=null;GU={readContext:function($){return _1($)},use:E6,useCallback:function($,Z){return h="useCallback",f0(),y$(Z),ZX($,Z)},useContext:function($){return h="useContext",f0(),_1($)},useEffect:function($,Z){return h="useEffect",f0(),y$(Z),JG($,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",f0(),y$(G),$X($,Z,G)},useInsertionEffect:function($,Z){h="useInsertionEffect",f0(),y$(Z),y2(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",f0(),y$(Z),e3($,Z)},useMemo:function($,Z){h="useMemo",f0(),y$(Z);var G=x.H;x.H=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",f0();var X=x.H;x.H=F8;try{return c3($,Z,G)}finally{x.H=X}},useRef:function($){return h="useRef",f0(),i3($)},useState:function($){h="useState",f0();var Z=x.H;x.H=F8;try{return n3($)}finally{x.H=Z}},useDebugValue:function(){h="useDebugValue",f0()},useDeferredValue:function($,Z){return h="useDeferredValue",f0(),GX($,Z)},useTransition:function(){return h="useTransition",f0(),XX()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",f0(),r3($,Z,G)},useId:function(){return h="useId",f0(),YX()},useFormState:function($,Z){return h="useFormState",f0(),eQ(),h$($,Z)},useActionState:function($,Z){return h="useActionState",f0(),h$($,Z)},useOptimistic:function($){return h="useOptimistic",f0(),o3($)},useHostTransitionStatus:g2,useMemoCache:f2,useCacheRefresh:function(){return h="useCacheRefresh",f0(),UX()},useEffectEvent:function($){return h="useEffectEvent",f0(),t3($)}},OW={readContext:function($){return _1($)},use:E6,useCallback:function($,Z){return h="useCallback",c(),ZX($,Z)},useContext:function($){return h="useContext",c(),_1($)},useEffect:function($,Z){return h="useEffect",c(),JG($,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),$X($,Z,G)},useInsertionEffect:function($,Z){h="useInsertionEffect",c(),y2(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),e3($,Z)},useMemo:function($,Z){h="useMemo",c();var G=x.H;x.H=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=F8;try{return c3($,Z,G)}finally{x.H=X}},useRef:function($){return h="useRef",c(),i3($)},useState:function($){h="useState",c();var Z=x.H;x.H=F8;try{return n3($)}finally{x.H=Z}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Z){return h="useDeferredValue",c(),GX($,Z)},useTransition:function(){return h="useTransition",c(),XX()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",c(),r3($,Z,G)},useId:function(){return h="useId",c(),YX()},useActionState:function($,Z){return h="useActionState",c(),h$($,Z)},useFormState:function($,Z){return h="useFormState",c(),eQ(),h$($,Z)},useOptimistic:function($){return h="useOptimistic",c(),o3($)},useHostTransitionStatus:g2,useMemoCache:f2,useCacheRefresh:function(){return h="useCacheRefresh",c(),UX()},useEffectEvent:function($){return h="useEffectEvent",c(),t3($)}},JU={readContext:function($){return _1($)},use:E6,useCallback:function($,Z){return h="useCallback",c(),YG($,Z)},useContext:function($){return h="useContext",c(),_1($)},useEffect:function($,Z){h="useEffect",c(),O5(2048,V5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),XG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),O5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",c();var G=x.H;x.H=v4;try{return UG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=v4;try{return g$($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",c(),J1().memoizedState},useState:function(){h="useState",c();var $=x.H;x.H=v4;try{return g$(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Z){return h="useDeferredValue",c(),vB($,Z)},useTransition:function(){return h="useTransition",c(),hB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",c(),ZG($,Z,G)},useId:function(){return h="useId",c(),J1().memoizedState},useFormState:function($){return h="useFormState",c(),eQ(),QG($)},useActionState:function($){return h="useActionState",c(),QG($)},useOptimistic:function($,Z){return h="useOptimistic",c(),VB($,Z)},useHostTransitionStatus:g2,useMemoCache:f2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),qG($)}},DW={readContext:function($){return _1($)},use:E6,useCallback:function($,Z){return h="useCallback",c(),YG($,Z)},useContext:function($){return h="useContext",c(),_1($)},useEffect:function($,Z){h="useEffect",c(),O5(2048,V5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",c(),XG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",c(),O5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",c();var G=x.H;x.H=BJ;try{return UG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",c();var X=x.H;x.H=BJ;try{return V7($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",c(),J1().memoizedState},useState:function(){h="useState",c();var $=x.H;x.H=BJ;try{return V7(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",c()},useDeferredValue:function($,Z){return h="useDeferredValue",c(),kB($,Z)},useTransition:function(){return h="useTransition",c(),xB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",c(),ZG($,Z,G)},useId:function(){return h="useId",c(),J1().memoizedState},useFormState:function($){return h="useFormState",c(),eQ(),GG($)},useActionState:function($){return h="useActionState",c(),GG($)},useOptimistic:function($,Z){return h="useOptimistic",c(),PB($,Z)},useHostTransitionStatus:g2,useMemoCache:f2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",c(),qG($)}},F8={readContext:function($){return F(),_1($)},use:function($){return M(),E6($)},useCallback:function($,Z){return h="useCallback",M(),f0(),ZX($,Z)},useContext:function($){return h="useContext",M(),f0(),_1($)},useEffect:function($,Z){return h="useEffect",M(),f0(),JG($,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),f0(),$X($,Z,G)},useInsertionEffect:function($,Z){h="useInsertionEffect",M(),f0(),y2(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),f0(),e3($,Z)},useMemo:function($,Z){h="useMemo",M(),f0();var G=x.H;x.H=F8;try{return QX($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),f0();var X=x.H;x.H=F8;try{return c3($,Z,G)}finally{x.H=X}},useRef:function($){return h="useRef",M(),f0(),i3($)},useState:function($){h="useState",M(),f0();var Z=x.H;x.H=F8;try{return n3($)}finally{x.H=Z}},useDebugValue:function(){h="useDebugValue",M(),f0()},useDeferredValue:function($,Z){return h="useDeferredValue",M(),f0(),GX($,Z)},useTransition:function(){return h="useTransition",M(),f0(),XX()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",M(),f0(),r3($,Z,G)},useId:function(){return h="useId",M(),f0(),YX()},useFormState:function($,Z){return h="useFormState",M(),f0(),h$($,Z)},useActionState:function($,Z){return h="useActionState",M(),f0(),h$($,Z)},useOptimistic:function($){return h="useOptimistic",M(),f0(),o3($)},useMemoCache:function($){return M(),f2($)},useHostTransitionStatus:g2,useCacheRefresh:function(){return h="useCacheRefresh",f0(),UX()},useEffectEvent:function($){return h="useEffectEvent",M(),f0(),t3($)}},v4={readContext:function($){return F(),_1($)},use:function($){return M(),E6($)},useCallback:function($,Z){return h="useCallback",M(),c(),YG($,Z)},useContext:function($){return h="useContext",M(),c(),_1($)},useEffect:function($,Z){h="useEffect",M(),c(),O5(2048,V5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),XG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),O5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",M(),c();var G=x.H;x.H=v4;try{return UG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),c();var X=x.H;x.H=v4;try{return g$($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",M(),c(),J1().memoizedState},useState:function(){h="useState",M(),c();var $=x.H;x.H=v4;try{return g$(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",M(),c()},useDeferredValue:function($,Z){return h="useDeferredValue",M(),c(),vB($,Z)},useTransition:function(){return h="useTransition",M(),c(),hB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",M(),c(),ZG($,Z,G)},useId:function(){return h="useId",M(),c(),J1().memoizedState},useFormState:function($){return h="useFormState",M(),c(),QG($)},useActionState:function($){return h="useActionState",M(),c(),QG($)},useOptimistic:function($,Z){return h="useOptimistic",M(),c(),VB($,Z)},useMemoCache:function($){return M(),f2($)},useHostTransitionStatus:g2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",M(),c(),qG($)}},BJ={readContext:function($){return F(),_1($)},use:function($){return M(),E6($)},useCallback:function($,Z){return h="useCallback",M(),c(),YG($,Z)},useContext:function($){return h="useContext",M(),c(),_1($)},useEffect:function($,Z){h="useEffect",M(),c(),O5(2048,V5,$,Z)},useImperativeHandle:function($,Z,G){return h="useImperativeHandle",M(),c(),XG($,Z,G)},useInsertionEffect:function($,Z){return h="useInsertionEffect",M(),c(),O5(4,L5,$,Z)},useLayoutEffect:function($,Z){return h="useLayoutEffect",M(),c(),O5(4,Q4,$,Z)},useMemo:function($,Z){h="useMemo",M(),c();var G=x.H;x.H=v4;try{return UG($,Z)}finally{x.H=G}},useReducer:function($,Z,G){h="useReducer",M(),c();var X=x.H;x.H=v4;try{return V7($,Z,G)}finally{x.H=X}},useRef:function(){return h="useRef",M(),c(),J1().memoizedState},useState:function(){h="useState",M(),c();var $=x.H;x.H=v4;try{return V7(I4)}finally{x.H=$}},useDebugValue:function(){h="useDebugValue",M(),c()},useDeferredValue:function($,Z){return h="useDeferredValue",M(),c(),kB($,Z)},useTransition:function(){return h="useTransition",M(),c(),xB()},useSyncExternalStore:function($,Z,G){return h="useSyncExternalStore",M(),c(),ZG($,Z,G)},useId:function(){return h="useId",M(),c(),J1().memoizedState},useFormState:function($){return h="useFormState",M(),c(),GG($)},useActionState:function($){return h="useActionState",M(),c(),GG($)},useOptimistic:function($,Z){return h="useOptimistic",M(),c(),PB($,Z)},useMemoCache:function($){return M(),f2($)},useHostTransitionStatus:g2,useCacheRefresh:function(){return h="useCacheRefresh",c(),J1().memoizedState},useEffectEvent:function($){return h="useEffectEvent",M(),c(),qG($)}};var jW={},AW=new Set,SW=new Set,vW=new Set,kW=new Set,bW=new Set,fW=new Set,yW=new Set,gW=new Set,hW=new Set,xW=new Set;Object.freeze(jW);var qU={enqueueSetState:function($,Z,G){$=$._reactInternals;var X=o5($),N=z6(X);N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=_6($,N,X),Z!==null&&(l4(X,"this.setState()",$),C1(Z,$,X),T7(Z,$,X))},enqueueReplaceState:function($,Z,G){$=$._reactInternals;var X=o5($),N=z6(X);N.tag=LW,N.payload=Z,G!==void 0&&G!==null&&(KX(G),N.callback=G),Z=_6($,N,X),Z!==null&&(l4(X,"this.replaceState()",$),C1(Z,$,X),T7(Z,$,X))},enqueueForceUpdate:function($,Z){$=$._reactInternals;var G=o5($),X=z6(G);X.tag=VW,Z!==void 0&&Z!==null&&(KX(Z),X.callback=Z),Z=_6($,X,G),Z!==null&&(l4(G,"this.forceUpdate()",$),C1(Z,$,G),T7(Z,$,G))}},L9=null,XU=null,YU=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."),x1=!1,uW={},mW={},dW={},pW={},V9=!1,cW={},HJ={},UU={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},lW=!1,rW=null;rW=new Set;var r8=!1,u1=!1,NU=!1,sW=typeof WeakSet==="function"?WeakSet:Set,i1=null,E9=null,P9=null,m1=null,A5=!1,k4=null,l1=!1,TZ=8192,lE={getCacheForType:function($){var Z=_1(y1),G=Z.data.get($);return G===void 0&&(G=$(),Z.data.set($,G)),G},cacheSignal:function(){return _1(y1).controller.signal},getOwner:function(){return t5}};if(typeof Symbol==="function"&&Symbol.for){var zZ=Symbol.for;zZ("selector.component"),zZ("selector.has_pseudo_class"),zZ("selector.role"),zZ("selector.test_id"),zZ("selector.text")}var rE=[],sE=typeof WeakMap==="function"?WeakMap:Map,t1=0,r1=2,G4=4,s8=0,_Z=1,e2=2,MJ=3,d6=4,FJ=6,nW=5,o0=t1,K1=null,v0=null,S0=0,S5=0,WJ=1,$$=2,LZ=3,oW=4,KU=5,VZ=6,wJ=7,BU=8,Z$=9,q1=S5,J4=null,p6=!1,C9=!1,HU=!1,W8=0,E1=s8,c6=0,l6=0,MU=0,v5=0,Q$=0,EZ=null,E5=null,RJ=!1,TJ=0,aW=0,iW=300,zJ=1/0,tW=500,PZ=null,S1=null,r6=null,_J=0,FU=1,WU=2,eW=3,s6=0,$w=1,Zw=2,Qw=3,Gw=4,LJ=5,d1=0,n6=null,I9=null,b4=0,wU=0,RU=-0,TU=null,Jw=null,qw=null,f4=_J,Xw=null,nE=50,CZ=0,zU=null,_U=!1,VJ=!1,oE=50,G$=0,IZ=null,O9=!1,EJ=null,Yw=!1,Uw=new Set,aE={},PJ=null,D9=null,LU=!1,VU=!1,CJ=!1,EU=!1,o6=0,PU={};(function(){for(var $=0;$<fY.length;$++){var Z=fY[$],G=Z.toLowerCase();Z=Z[0].toUpperCase()+Z.slice(1),C4(G,"on"+Z)}C4(hF,"onAnimationEnd"),C4(xF,"onAnimationIteration"),C4(uF,"onAnimationStart"),C4("dblclick","onDoubleClick"),C4("focusin","onFocus"),C4("focusout","onBlur"),C4(IE,"onTransitionRun"),C4(OE,"onTransitionStart"),C4(DE,"onTransitionCancel"),C4(mF,"onTransitionEnd")})(),d5("onMouseEnter",["mouseout","mouseover"]),d5("onMouseLeave",["mouseout","mouseover"]),d5("onPointerEnter",["pointerout","pointerover"]),d5("onPointerLeave",["pointerout","pointerover"]),K5("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),K5("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),K5("onBeforeInput",["compositionend","keypress","textInput","paste"]),K5("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),K5("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),K5("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var OZ="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(" "),CU=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(OZ)),IJ="_reactListening"+Math.random().toString(36).slice(2),Nw=!1,Kw=!1,OJ=!1,Bw=!1,DJ=!1,jJ=!1,Hw=!1,AJ={},iE=/\r\n?/g,tE=/\u0000|\uFFFD/g,J$="http://www.w3.org/1999/xlink",IU="http://www.w3.org/XML/1998/namespace",eE="javascript:throw new Error('React form unexpectedly submitted.')",$P="suppressHydrationWarning",q$="&",SJ="/&",DZ="$",jZ="/$",a6="$?",X$="$~",j9="$!",ZP="html",QP="body",GP="head",OU="F!",Mw="F",Fw="loading",JP="style",n8=0,A9=1,vJ=2,DU=null,jU=null,Ww={dialog:!0,webview:!0},AU=null,AZ=void 0,ww=typeof setTimeout==="function"?setTimeout:void 0,qP=typeof clearTimeout==="function"?clearTimeout:void 0,Y$=-1,Rw=typeof Promise==="function"?Promise:void 0,XP=typeof queueMicrotask==="function"?queueMicrotask:typeof Rw<"u"?function($){return Rw.resolve(null).then($).catch(cL)}:ww,SU=null,U$=0,SZ=1,Tw=2,zw=3,z4=4,_4=new Map,_w=new Set,o8=Z1.d;Z1.d={f:function(){var $=o8.f(),Z=p$();return $||Z},r:function($){var Z=E0($);Z!==null&&Z.tag===5&&Z.type==="form"?gB(Z):o8.r($)},D:function($){o8.D($),AM("dns-prefetch",$,null)},C:function($,Z){o8.C($,Z),AM("preconnect",$,Z)},L:function($,Z,G){o8.L($,Z,G);var X=S9;if(X&&$&&Z){var N='link[rel="preload"][as="'+Y4(Z)+'"]';Z==="image"?G&&G.imageSrcSet?(N+='[imagesrcset="'+Y4(G.imageSrcSet)+'"]',typeof G.imageSizes==="string"&&(N+='[imagesizes="'+Y4(G.imageSizes)+'"]')):N+='[href="'+Y4($)+'"]':N+='[href="'+Y4($)+'"]';var B=N;switch(Z){case"style":B=r$($);break;case"script":B=s$($)}_4.has(B)||($=y0({rel:"preload",href:Z==="image"&&G&&G.imageSrcSet?void 0:$,as:Z},G),_4.set(B,$),X.querySelector(N)!==null||Z==="style"&&X.querySelector(g7(B))||Z==="script"&&X.querySelector(h7(B))||(Z=X.createElement("link"),Q5(Z,"link",$),F0(Z),X.head.appendChild(Z)))}},m:function($,Z){o8.m($,Z);var G=S9;if(G&&$){var X=Z&&typeof Z.as==="string"?Z.as:"script",N='link[rel="modulepreload"][as="'+Y4(X)+'"][href="'+Y4($)+'"]',B=N;switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":B=s$($)}if(!_4.has(B)&&($=y0({rel:"modulepreload",href:$},Z),_4.set(B,$),G.querySelector(N)===null)){switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(G.querySelector(h7(B)))return}X=G.createElement("link"),Q5(X,"link",$),F0(X),G.head.appendChild(X)}}},X:function($,Z){o8.X($,Z);var G=S9;if(G&&$){var X=a0(G).hoistableScripts,N=s$($),B=X.get(N);B||(B=G.querySelector(h7(N)),B||($=y0({src:$,async:!0},Z),(Z=_4.get(N))&&$Y($,Z),B=G.createElement("script"),F0(B),Q5(B,"link",$),G.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},X.set(N,B))}},S:function($,Z,G){o8.S($,Z,G);var X=S9;if(X&&$){var N=a0(X).hoistableStyles,B=r$($);Z=Z||"default";var W=N.get(B);if(!W){var w={loading:U$,preload:null};if(W=X.querySelector(g7(B)))w.loading=SZ|z4;else{$=y0({rel:"stylesheet",href:$,"data-precedence":Z},G),(G=_4.get(B))&&eX($,G);var _=W=X.createElement("link");F0(_),Q5(_,"link",$),_._p=new Promise(function(V,k){_.onload=V,_.onerror=k}),_.addEventListener("load",function(){w.loading|=SZ}),_.addEventListener("error",function(){w.loading|=Tw}),w.loading|=z4,OG(W,Z,X)}W={type:"stylesheet",instance:W,count:1,state:w},N.set(B,W)}}},M:function($,Z){o8.M($,Z);var G=S9;if(G&&$){var X=a0(G).hoistableScripts,N=s$($),B=X.get(N);B||(B=G.querySelector(h7(N)),B||($=y0({src:$,async:!0,type:"module"},Z),(Z=_4.get(N))&&$Y($,Z),B=G.createElement("script"),F0(B),Q5(B,"link",$),G.head.appendChild(B)),B={type:"script",instance:B,count:1,state:null},X.set(N,B))}}};var S9=typeof document>"u"?null:document,kJ=null,YP=60000,UP=800,NP=500,vU=0,kU=null,bJ=null,N$=PV,vZ={$$typeof:q8,Provider:null,Consumer:null,_currentValue:N$,_currentValue2:N$,_threadCount:0},Lw="%c%s%c",Vw="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",Ew="",fJ=" ",KP=Function.prototype.bind,Pw=!1,Cw=null,Iw=null,Ow=null,Dw=null,jw=null,Aw=null,Sw=null,vw=null,kw=null,bw=null;Cw=function($,Z,G,X){Z=Q($,Z),Z!==null&&(G=J(Z.memoizedState,G,0,X),Z.memoizedState=G,Z.baseState=G,$.memoizedProps=y0({},$.memoizedProps),G=B5($,2),G!==null&&C1(G,$,2))},Iw=function($,Z,G){Z=Q($,Z),Z!==null&&(G=U(Z.memoizedState,G,0),Z.memoizedState=G,Z.baseState=G,$.memoizedProps=y0({},$.memoizedProps),G=B5($,2),G!==null&&C1(G,$,2))},Ow=function($,Z,G,X){Z=Q($,Z),Z!==null&&(G=q(Z.memoizedState,G,X),Z.memoizedState=G,Z.baseState=G,$.memoizedProps=y0({},$.memoizedProps),G=B5($,2),G!==null&&C1(G,$,2))},Dw=function($,Z,G){$.pendingProps=J($.memoizedProps,Z,0,G),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=B5($,2),Z!==null&&C1(Z,$,2)},jw=function($,Z){$.pendingProps=U($.memoizedProps,Z,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=B5($,2),Z!==null&&C1(Z,$,2)},Aw=function($,Z,G){$.pendingProps=q($.memoizedProps,Z,G),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=B5($,2),Z!==null&&C1(Z,$,2)},Sw=function($){var Z=B5($,2);Z!==null&&C1(Z,$,2)},vw=function($){var Z=j$(),G=B5($,Z);G!==null&&C1(G,$,Z)},kw=function($){H=$},bw=function($){K=$};var yJ=!0,gJ=null,bU=!1,i6=null,t6=null,e6=null,kZ=new Map,bZ=new Map,$2=[],BP="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(" "),hJ=null;if(vG.prototype.render=XY.prototype.render=function($){var Z=this._internalRoot;if(Z===null)throw Error("Cannot update an unmounted root.");var G=arguments;typeof G[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()."):C(G[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 G[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),G=$;var X=Z.current,N=o5(X);ZY(X,N,G,Z,null,null)},vG.prototype.unmount=XY.prototype.unmount=function(){var $=arguments;if(typeof $[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()."),$=this._internalRoot,$!==null){this._internalRoot=null;var Z=$.containerInfo;(o0&(r1|G4))!==t1&&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."),ZY($.current,2,null,$,null,null),p$(),Z[A6]=null}},vG.prototype.unstable_scheduleHydration=function($){if($){var Z=f();$={blockedOn:null,target:$,priority:Z};for(var G=0;G<$2.length&&Z!==0&&Z<$2[G].priority;G++);$2.splice(G,0,$),G===0&&cM($)}},function(){var $=v9.version;if($!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
223
+ Check the top-level render call using <`+X+">.");var W="";q!=null&&$!==q&&(X=null,typeof q.tag==="number"?X=d(q):typeof q.name==="string"&&(X=q.name),X&&(W=" It was passed a child from "+X+".")),q0(Z,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.',N,W)})}}};var a4=BN(!0),VW=BN(!1),_W=0,TW=1,EW=2,eY=3,m6=!1,wW=!1,$U=null,ZU=!1,z9=K0(null),YJ=K0(0),Z1=K0(null),R1=null,L9=1,FQ=2,v5=K0(0),UJ=0,z1=1,T8=2,Q1=4,E8=8,V9,PW=new Set,CW=new Set,QU=new Set,IW=new Set,p$=0,T0=null,K5=null,x5=null,KJ=!1,_9=!1,t4=!1,BJ=0,WQ=0,c$=null,pw=0,cw=25,x=null,L1=null,l$=-1,RQ=!1,zQ={readContext:_5,use:w6,useCallback:D5,useContext:D5,useEffect:D5,useImperativeHandle:D5,useLayoutEffect:D5,useInsertionEffect:D5,useMemo:D5,useReducer:D5,useRef:D5,useState:D5,useDebugValue:D5,useDeferredValue:D5,useTransition:D5,useSyncExternalStore:D5,useId:D5,useHostTransitionStatus:D5,useFormState:D5,useActionState:D5,useOptimistic:D5,useMemoCache:D5,useCacheRefresh:D5};zQ.useEffectEvent=D5;var qU=null,OW=null,GU=null,jW=null,F$=null,v1=null,NJ=null;qU={readContext:function($){return _5($)},use:w6,useCallback:function($,Z){return x="useCallback",f0(),y7(Z),Z3($,Z)},useContext:function($){return x="useContext",f0(),_5($)},useEffect:function($,Z){return x="useEffect",f0(),y7(Z),GG($,Z)},useImperativeHandle:function($,Z,q){return x="useImperativeHandle",f0(),y7(q),$3($,Z,q)},useInsertionEffect:function($,Z){x="useInsertionEffect",f0(),y7(Z),y4(4,T8,$,Z)},useLayoutEffect:function($,Z){return x="useLayoutEffect",f0(),y7(Z),eX($,Z)},useMemo:function($,Z){x="useMemo",f0(),y7(Z);var q=h.H;h.H=F$;try{return Q3($,Z)}finally{h.H=q}},useReducer:function($,Z,q){x="useReducer",f0();var X=h.H;h.H=F$;try{return cX($,Z,q)}finally{h.H=X}},useRef:function($){return x="useRef",f0(),aX($)},useState:function($){x="useState",f0();var Z=h.H;h.H=F$;try{return nX($)}finally{h.H=Z}},useDebugValue:function(){x="useDebugValue",f0()},useDeferredValue:function($,Z){return x="useDeferredValue",f0(),q3($,Z)},useTransition:function(){return x="useTransition",f0(),X3()},useSyncExternalStore:function($,Z,q){return x="useSyncExternalStore",f0(),rX($,Z,q)},useId:function(){return x="useId",f0(),Y3()},useFormState:function($,Z){return x="useFormState",f0(),eq(),x7($,Z)},useActionState:function($,Z){return x="useActionState",f0(),x7($,Z)},useOptimistic:function($){return x="useOptimistic",f0(),oX($)},useHostTransitionStatus:g4,useMemoCache:f4,useCacheRefresh:function(){return x="useCacheRefresh",f0(),U3()},useEffectEvent:function($){return x="useEffectEvent",f0(),tX($)}},OW={readContext:function($){return _5($)},use:w6,useCallback:function($,Z){return x="useCallback",c(),Z3($,Z)},useContext:function($){return x="useContext",c(),_5($)},useEffect:function($,Z){return x="useEffect",c(),GG($,Z)},useImperativeHandle:function($,Z,q){return x="useImperativeHandle",c(),$3($,Z,q)},useInsertionEffect:function($,Z){x="useInsertionEffect",c(),y4(4,T8,$,Z)},useLayoutEffect:function($,Z){return x="useLayoutEffect",c(),eX($,Z)},useMemo:function($,Z){x="useMemo",c();var q=h.H;h.H=F$;try{return Q3($,Z)}finally{h.H=q}},useReducer:function($,Z,q){x="useReducer",c();var X=h.H;h.H=F$;try{return cX($,Z,q)}finally{h.H=X}},useRef:function($){return x="useRef",c(),aX($)},useState:function($){x="useState",c();var Z=h.H;h.H=F$;try{return nX($)}finally{h.H=Z}},useDebugValue:function(){x="useDebugValue",c()},useDeferredValue:function($,Z){return x="useDeferredValue",c(),q3($,Z)},useTransition:function(){return x="useTransition",c(),X3()},useSyncExternalStore:function($,Z,q){return x="useSyncExternalStore",c(),rX($,Z,q)},useId:function(){return x="useId",c(),Y3()},useActionState:function($,Z){return x="useActionState",c(),x7($,Z)},useFormState:function($,Z){return x="useFormState",c(),eq(),x7($,Z)},useOptimistic:function($){return x="useOptimistic",c(),oX($)},useHostTransitionStatus:g4,useMemoCache:f4,useCacheRefresh:function(){return x="useCacheRefresh",c(),U3()},useEffectEvent:function($){return x="useEffectEvent",c(),tX($)}},GU={readContext:function($){return _5($)},use:w6,useCallback:function($,Z){return x="useCallback",c(),YG($,Z)},useContext:function($){return x="useContext",c(),_5($)},useEffect:function($,Z){x="useEffect",c(),O8(2048,E8,$,Z)},useImperativeHandle:function($,Z,q){return x="useImperativeHandle",c(),XG($,Z,q)},useInsertionEffect:function($,Z){return x="useInsertionEffect",c(),O8(4,T8,$,Z)},useLayoutEffect:function($,Z){return x="useLayoutEffect",c(),O8(4,Q1,$,Z)},useMemo:function($,Z){x="useMemo",c();var q=h.H;h.H=v1;try{return UG($,Z)}finally{h.H=q}},useReducer:function($,Z,q){x="useReducer",c();var X=h.H;h.H=v1;try{return g7($,Z,q)}finally{h.H=X}},useRef:function(){return x="useRef",c(),G5().memoizedState},useState:function(){x="useState",c();var $=h.H;h.H=v1;try{return g7(I1)}finally{h.H=$}},useDebugValue:function(){x="useDebugValue",c()},useDeferredValue:function($,Z){return x="useDeferredValue",c(),vN($,Z)},useTransition:function(){return x="useTransition",c(),xN()},useSyncExternalStore:function($,Z,q){return x="useSyncExternalStore",c(),ZG($,Z,q)},useId:function(){return x="useId",c(),G5().memoizedState},useFormState:function($){return x="useFormState",c(),eq(),QG($)},useActionState:function($){return x="useActionState",c(),QG($)},useOptimistic:function($,Z){return x="useOptimistic",c(),EN($,Z)},useHostTransitionStatus:g4,useMemoCache:f4,useCacheRefresh:function(){return x="useCacheRefresh",c(),G5().memoizedState},useEffectEvent:function($){return x="useEffectEvent",c(),JG($)}},jW={readContext:function($){return _5($)},use:w6,useCallback:function($,Z){return x="useCallback",c(),YG($,Z)},useContext:function($){return x="useContext",c(),_5($)},useEffect:function($,Z){x="useEffect",c(),O8(2048,E8,$,Z)},useImperativeHandle:function($,Z,q){return x="useImperativeHandle",c(),XG($,Z,q)},useInsertionEffect:function($,Z){return x="useInsertionEffect",c(),O8(4,T8,$,Z)},useLayoutEffect:function($,Z){return x="useLayoutEffect",c(),O8(4,Q1,$,Z)},useMemo:function($,Z){x="useMemo",c();var q=h.H;h.H=NJ;try{return UG($,Z)}finally{h.H=q}},useReducer:function($,Z,q){x="useReducer",c();var X=h.H;h.H=NJ;try{return EZ($,Z,q)}finally{h.H=X}},useRef:function(){return x="useRef",c(),G5().memoizedState},useState:function(){x="useState",c();var $=h.H;h.H=NJ;try{return EZ(I1)}finally{h.H=$}},useDebugValue:function(){x="useDebugValue",c()},useDeferredValue:function($,Z){return x="useDeferredValue",c(),kN($,Z)},useTransition:function(){return x="useTransition",c(),hN()},useSyncExternalStore:function($,Z,q){return x="useSyncExternalStore",c(),ZG($,Z,q)},useId:function(){return x="useId",c(),G5().memoizedState},useFormState:function($){return x="useFormState",c(),eq(),qG($)},useActionState:function($){return x="useActionState",c(),qG($)},useOptimistic:function($,Z){return x="useOptimistic",c(),PN($,Z)},useHostTransitionStatus:g4,useMemoCache:f4,useCacheRefresh:function(){return x="useCacheRefresh",c(),G5().memoizedState},useEffectEvent:function($){return x="useEffectEvent",c(),JG($)}},F$={readContext:function($){return F(),_5($)},use:function($){return H(),w6($)},useCallback:function($,Z){return x="useCallback",H(),f0(),Z3($,Z)},useContext:function($){return x="useContext",H(),f0(),_5($)},useEffect:function($,Z){return x="useEffect",H(),f0(),GG($,Z)},useImperativeHandle:function($,Z,q){return x="useImperativeHandle",H(),f0(),$3($,Z,q)},useInsertionEffect:function($,Z){x="useInsertionEffect",H(),f0(),y4(4,T8,$,Z)},useLayoutEffect:function($,Z){return x="useLayoutEffect",H(),f0(),eX($,Z)},useMemo:function($,Z){x="useMemo",H(),f0();var q=h.H;h.H=F$;try{return Q3($,Z)}finally{h.H=q}},useReducer:function($,Z,q){x="useReducer",H(),f0();var X=h.H;h.H=F$;try{return cX($,Z,q)}finally{h.H=X}},useRef:function($){return x="useRef",H(),f0(),aX($)},useState:function($){x="useState",H(),f0();var Z=h.H;h.H=F$;try{return nX($)}finally{h.H=Z}},useDebugValue:function(){x="useDebugValue",H(),f0()},useDeferredValue:function($,Z){return x="useDeferredValue",H(),f0(),q3($,Z)},useTransition:function(){return x="useTransition",H(),f0(),X3()},useSyncExternalStore:function($,Z,q){return x="useSyncExternalStore",H(),f0(),rX($,Z,q)},useId:function(){return x="useId",H(),f0(),Y3()},useFormState:function($,Z){return x="useFormState",H(),f0(),x7($,Z)},useActionState:function($,Z){return x="useActionState",H(),f0(),x7($,Z)},useOptimistic:function($){return x="useOptimistic",H(),f0(),oX($)},useMemoCache:function($){return H(),f4($)},useHostTransitionStatus:g4,useCacheRefresh:function(){return x="useCacheRefresh",f0(),U3()},useEffectEvent:function($){return x="useEffectEvent",H(),f0(),tX($)}},v1={readContext:function($){return F(),_5($)},use:function($){return H(),w6($)},useCallback:function($,Z){return x="useCallback",H(),c(),YG($,Z)},useContext:function($){return x="useContext",H(),c(),_5($)},useEffect:function($,Z){x="useEffect",H(),c(),O8(2048,E8,$,Z)},useImperativeHandle:function($,Z,q){return x="useImperativeHandle",H(),c(),XG($,Z,q)},useInsertionEffect:function($,Z){return x="useInsertionEffect",H(),c(),O8(4,T8,$,Z)},useLayoutEffect:function($,Z){return x="useLayoutEffect",H(),c(),O8(4,Q1,$,Z)},useMemo:function($,Z){x="useMemo",H(),c();var q=h.H;h.H=v1;try{return UG($,Z)}finally{h.H=q}},useReducer:function($,Z,q){x="useReducer",H(),c();var X=h.H;h.H=v1;try{return g7($,Z,q)}finally{h.H=X}},useRef:function(){return x="useRef",H(),c(),G5().memoizedState},useState:function(){x="useState",H(),c();var $=h.H;h.H=v1;try{return g7(I1)}finally{h.H=$}},useDebugValue:function(){x="useDebugValue",H(),c()},useDeferredValue:function($,Z){return x="useDeferredValue",H(),c(),vN($,Z)},useTransition:function(){return x="useTransition",H(),c(),xN()},useSyncExternalStore:function($,Z,q){return x="useSyncExternalStore",H(),c(),ZG($,Z,q)},useId:function(){return x="useId",H(),c(),G5().memoizedState},useFormState:function($){return x="useFormState",H(),c(),QG($)},useActionState:function($){return x="useActionState",H(),c(),QG($)},useOptimistic:function($,Z){return x="useOptimistic",H(),c(),EN($,Z)},useMemoCache:function($){return H(),f4($)},useHostTransitionStatus:g4,useCacheRefresh:function(){return x="useCacheRefresh",c(),G5().memoizedState},useEffectEvent:function($){return x="useEffectEvent",H(),c(),JG($)}},NJ={readContext:function($){return F(),_5($)},use:function($){return H(),w6($)},useCallback:function($,Z){return x="useCallback",H(),c(),YG($,Z)},useContext:function($){return x="useContext",H(),c(),_5($)},useEffect:function($,Z){x="useEffect",H(),c(),O8(2048,E8,$,Z)},useImperativeHandle:function($,Z,q){return x="useImperativeHandle",H(),c(),XG($,Z,q)},useInsertionEffect:function($,Z){return x="useInsertionEffect",H(),c(),O8(4,T8,$,Z)},useLayoutEffect:function($,Z){return x="useLayoutEffect",H(),c(),O8(4,Q1,$,Z)},useMemo:function($,Z){x="useMemo",H(),c();var q=h.H;h.H=v1;try{return UG($,Z)}finally{h.H=q}},useReducer:function($,Z,q){x="useReducer",H(),c();var X=h.H;h.H=v1;try{return EZ($,Z,q)}finally{h.H=X}},useRef:function(){return x="useRef",H(),c(),G5().memoizedState},useState:function(){x="useState",H(),c();var $=h.H;h.H=v1;try{return EZ(I1)}finally{h.H=$}},useDebugValue:function(){x="useDebugValue",H(),c()},useDeferredValue:function($,Z){return x="useDeferredValue",H(),c(),kN($,Z)},useTransition:function(){return x="useTransition",H(),c(),hN()},useSyncExternalStore:function($,Z,q){return x="useSyncExternalStore",H(),c(),ZG($,Z,q)},useId:function(){return x="useId",H(),c(),G5().memoizedState},useFormState:function($){return x="useFormState",H(),c(),qG($)},useActionState:function($){return x="useActionState",H(),c(),qG($)},useOptimistic:function($,Z){return x="useOptimistic",H(),c(),PN($,Z)},useMemoCache:function($){return H(),f4($)},useHostTransitionStatus:g4,useCacheRefresh:function(){return x="useCacheRefresh",c(),G5().memoizedState},useEffectEvent:function($){return x="useEffectEvent",H(),c(),JG($)}};var AW={},DW=new Set,SW=new Set,vW=new Set,kW=new Set,bW=new Set,fW=new Set,yW=new Set,gW=new Set,xW=new Set,hW=new Set;Object.freeze(AW);var JU={enqueueSetState:function($,Z,q){$=$._reactInternals;var X=o8($),K=V6(X);K.payload=Z,q!==void 0&&q!==null&&(B3(q),K.callback=q),Z=_6($,K,X),Z!==null&&(l1(X,"this.setState()",$),C5(Z,$,X),LZ(Z,$,X))},enqueueReplaceState:function($,Z,q){$=$._reactInternals;var X=o8($),K=V6(X);K.tag=TW,K.payload=Z,q!==void 0&&q!==null&&(B3(q),K.callback=q),Z=_6($,K,X),Z!==null&&(l1(X,"this.replaceState()",$),C5(Z,$,X),LZ(Z,$,X))},enqueueForceUpdate:function($,Z){$=$._reactInternals;var q=o8($),X=V6(q);X.tag=EW,Z!==void 0&&Z!==null&&(B3(Z),X.callback=Z),Z=_6($,X,q),Z!==null&&(l1(q,"this.forceUpdate()",$),C5(Z,$,q),LZ(Z,$,q))}},T9=null,XU=null,YU=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."),h5=!1,uW={},mW={},dW={},pW={},E9=!1,cW={},MJ={},UU={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},lW=!1,rW=null;rW=new Set;var r$=!1,u5=!1,KU=!1,sW=typeof WeakSet==="function"?WeakSet:Set,a5=null,w9=null,P9=null,m5=null,D8=!1,k1=null,l5=!1,LQ=8192,lw={getCacheForType:function($){var Z=_5(y5),q=Z.data.get($);return q===void 0&&(q=$(),Z.data.set($,q)),q},cacheSignal:function(){return _5(y5).controller.signal},getOwner:function(){return t8}};if(typeof Symbol==="function"&&Symbol.for){var VQ=Symbol.for;VQ("selector.component"),VQ("selector.has_pseudo_class"),VQ("selector.role"),VQ("selector.test_id"),VQ("selector.text")}var rw=[],sw=typeof WeakMap==="function"?WeakMap:Map,t5=0,r5=2,q1=4,s$=0,_Q=1,e4=2,HJ=3,d6=4,FJ=6,nW=5,o0=t5,B5=null,v0=null,S0=0,S8=0,WJ=1,$7=2,TQ=3,oW=4,BU=5,EQ=6,RJ=7,NU=8,Z7=9,J5=S8,G1=null,p6=!1,C9=!1,MU=!1,W$=0,w5=s$,c6=0,l6=0,HU=0,v8=0,Q7=0,wQ=null,w8=null,zJ=!1,LJ=0,iW=0,aW=300,VJ=1/0,tW=500,PQ=null,S5=null,r6=null,_J=0,FU=1,WU=2,eW=3,s6=0,$R=1,ZR=2,QR=3,qR=4,TJ=5,d5=0,n6=null,I9=null,b1=0,RU=0,zU=-0,LU=null,GR=null,JR=null,f1=_J,XR=null,nw=50,CQ=0,VU=null,_U=!1,EJ=!1,ow=50,q7=0,IQ=null,O9=!1,wJ=null,YR=!1,UR=new Set,iw={},PJ=null,j9=null,TU=!1,EU=!1,CJ=!1,wU=!1,o6=0,PU={};(function(){for(var $=0;$<fY.length;$++){var Z=fY[$],q=Z.toLowerCase();Z=Z[0].toUpperCase()+Z.slice(1),C1(q,"on"+Z)}C1(xF,"onAnimationEnd"),C1(hF,"onAnimationIteration"),C1(uF,"onAnimationStart"),C1("dblclick","onDoubleClick"),C1("focusin","onFocus"),C1("focusout","onBlur"),C1(Iw,"onTransitionRun"),C1(Ow,"onTransitionStart"),C1(jw,"onTransitionCancel"),C1(mF,"onTransitionEnd")})(),d8("onMouseEnter",["mouseout","mouseover"]),d8("onMouseLeave",["mouseout","mouseover"]),d8("onPointerEnter",["pointerout","pointerover"]),d8("onPointerLeave",["pointerout","pointerover"]),B8("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),B8("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),B8("onBeforeInput",["compositionend","keypress","textInput","paste"]),B8("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),B8("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),B8("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var OQ="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(" "),CU=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(OQ)),IJ="_reactListening"+Math.random().toString(36).slice(2),KR=!1,BR=!1,OJ=!1,NR=!1,jJ=!1,AJ=!1,MR=!1,DJ={},aw=/\r\n?/g,tw=/\u0000|\uFFFD/g,G7="http://www.w3.org/1999/xlink",IU="http://www.w3.org/XML/1998/namespace",ew="javascript:throw new Error('React form unexpectedly submitted.')",$P="suppressHydrationWarning",J7="&",SJ="/&",jQ="$",AQ="/$",i6="$?",X7="$~",A9="$!",ZP="html",QP="body",qP="head",OU="F!",HR="F",FR="loading",GP="style",n$=0,D9=1,vJ=2,jU=null,AU=null,WR={dialog:!0,webview:!0},DU=null,DQ=void 0,RR=typeof setTimeout==="function"?setTimeout:void 0,JP=typeof clearTimeout==="function"?clearTimeout:void 0,Y7=-1,zR=typeof Promise==="function"?Promise:void 0,XP=typeof queueMicrotask==="function"?queueMicrotask:typeof zR<"u"?function($){return zR.resolve(null).then($).catch(cT)}:RR,SU=null,U7=0,SQ=1,LR=2,VR=3,V1=4,_1=new Map,_R=new Set,o$=Z5.d;Z5.d={f:function(){var $=o$.f(),Z=p7();return $||Z},r:function($){var Z=w0($);Z!==null&&Z.tag===5&&Z.type==="form"?gN(Z):o$.r($)},D:function($){o$.D($),DH("dns-prefetch",$,null)},C:function($,Z){o$.C($,Z),DH("preconnect",$,Z)},L:function($,Z,q){o$.L($,Z,q);var X=S9;if(X&&$&&Z){var K='link[rel="preload"][as="'+Y1(Z)+'"]';Z==="image"?q&&q.imageSrcSet?(K+='[imagesrcset="'+Y1(q.imageSrcSet)+'"]',typeof q.imageSizes==="string"&&(K+='[imagesizes="'+Y1(q.imageSizes)+'"]')):K+='[href="'+Y1($)+'"]':K+='[href="'+Y1($)+'"]';var N=K;switch(Z){case"style":N=r7($);break;case"script":N=s7($)}_1.has(N)||($=y0({rel:"preload",href:Z==="image"&&q&&q.imageSrcSet?void 0:$,as:Z},q),_1.set(N,$),X.querySelector(K)!==null||Z==="style"&&X.querySelector(gZ(N))||Z==="script"&&X.querySelector(xZ(N))||(Z=X.createElement("link"),Q8(Z,"link",$),F0(Z),X.head.appendChild(Z)))}},m:function($,Z){o$.m($,Z);var q=S9;if(q&&$){var X=Z&&typeof Z.as==="string"?Z.as:"script",K='link[rel="modulepreload"][as="'+Y1(X)+'"][href="'+Y1($)+'"]',N=K;switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":N=s7($)}if(!_1.has(N)&&($=y0({rel:"modulepreload",href:$},Z),_1.set(N,$),q.querySelector(K)===null)){switch(X){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(q.querySelector(xZ(N)))return}X=q.createElement("link"),Q8(X,"link",$),F0(X),q.head.appendChild(X)}}},X:function($,Z){o$.X($,Z);var q=S9;if(q&&$){var X=i0(q).hoistableScripts,K=s7($),N=X.get(K);N||(N=q.querySelector(xZ(K)),N||($=y0({src:$,async:!0},Z),(Z=_1.get(K))&&$Y($,Z),N=q.createElement("script"),F0(N),Q8(N,"link",$),q.head.appendChild(N)),N={type:"script",instance:N,count:1,state:null},X.set(K,N))}},S:function($,Z,q){o$.S($,Z,q);var X=S9;if(X&&$){var K=i0(X).hoistableStyles,N=r7($);Z=Z||"default";var W=K.get(N);if(!W){var R={loading:U7,preload:null};if(W=X.querySelector(gZ(N)))R.loading=SQ|V1;else{$=y0({rel:"stylesheet",href:$,"data-precedence":Z},q),(q=_1.get(N))&&e3($,q);var _=W=X.createElement("link");F0(_),Q8(_,"link",$),_._p=new Promise(function(E,k){_.onload=E,_.onerror=k}),_.addEventListener("load",function(){R.loading|=SQ}),_.addEventListener("error",function(){R.loading|=LR}),R.loading|=V1,OG(W,Z,X)}W={type:"stylesheet",instance:W,count:1,state:R},K.set(N,W)}}},M:function($,Z){o$.M($,Z);var q=S9;if(q&&$){var X=i0(q).hoistableScripts,K=s7($),N=X.get(K);N||(N=q.querySelector(xZ(K)),N||($=y0({src:$,async:!0,type:"module"},Z),(Z=_1.get(K))&&$Y($,Z),N=q.createElement("script"),F0(N),Q8(N,"link",$),q.head.appendChild(N)),N={type:"script",instance:N,count:1,state:null},X.set(K,N))}}};var S9=typeof document>"u"?null:document,kJ=null,YP=60000,UP=800,KP=500,vU=0,kU=null,bJ=null,K7=PE,vQ={$$typeof:J$,Provider:null,Consumer:null,_currentValue:K7,_currentValue2:K7,_threadCount:0},TR="%c%s%c",ER="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",wR="",fJ=" ",BP=Function.prototype.bind,PR=!1,CR=null,IR=null,OR=null,jR=null,AR=null,DR=null,SR=null,vR=null,kR=null,bR=null;CR=function($,Z,q,X){Z=Q($,Z),Z!==null&&(q=G(Z.memoizedState,q,0,X),Z.memoizedState=q,Z.baseState=q,$.memoizedProps=y0({},$.memoizedProps),q=N8($,2),q!==null&&C5(q,$,2))},IR=function($,Z,q){Z=Q($,Z),Z!==null&&(q=U(Z.memoizedState,q,0),Z.memoizedState=q,Z.baseState=q,$.memoizedProps=y0({},$.memoizedProps),q=N8($,2),q!==null&&C5(q,$,2))},OR=function($,Z,q,X){Z=Q($,Z),Z!==null&&(q=J(Z.memoizedState,q,X),Z.memoizedState=q,Z.baseState=q,$.memoizedProps=y0({},$.memoizedProps),q=N8($,2),q!==null&&C5(q,$,2))},jR=function($,Z,q){$.pendingProps=G($.memoizedProps,Z,0,q),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=N8($,2),Z!==null&&C5(Z,$,2)},AR=function($,Z){$.pendingProps=U($.memoizedProps,Z,0),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=N8($,2),Z!==null&&C5(Z,$,2)},DR=function($,Z,q){$.pendingProps=J($.memoizedProps,Z,q),$.alternate&&($.alternate.pendingProps=$.pendingProps),Z=N8($,2),Z!==null&&C5(Z,$,2)},SR=function($){var Z=N8($,2);Z!==null&&C5(Z,$,2)},vR=function($){var Z=A7(),q=N8($,Z);q!==null&&C5(q,$,Z)},kR=function($){M=$},bR=function($){B=$};var yJ=!0,gJ=null,bU=!1,a6=null,t6=null,e6=null,kQ=new Map,bQ=new Map,$4=[],NP="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(" "),xJ=null;if(vG.prototype.render=XY.prototype.render=function($){var Z=this._internalRoot;if(Z===null)throw Error("Cannot update an unmounted root.");var q=arguments;typeof q[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()."):C(q[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 q[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),q=$;var X=Z.current,K=o8(X);ZY(X,K,q,Z,null,null)},vG.prototype.unmount=XY.prototype.unmount=function(){var $=arguments;if(typeof $[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()."),$=this._internalRoot,$!==null){this._internalRoot=null;var Z=$.containerInfo;(o0&(r5|q1))!==t5&&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."),ZY($.current,2,null,$,null,null),p7(),Z[D6]=null}},vG.prototype.unstable_scheduleHydration=function($){if($){var Z=f();$={blockedOn:null,target:$,priority:Z};for(var q=0;q<$4.length&&Z!==0&&Z<$4[q].priority;q++);$4.splice(q,0,$),q===0&&cH($)}},function(){var $=v9.version;if($!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
224
224
  - react: `+($+`
225
225
  - react-dom: 19.2.5
226
- 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"),Z1.findDOMNode=function($){var Z=$._reactInternals;if(Z===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=s(Z),$=$!==null?Q0($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:x,reconcilerVersion:"19.2.5"};return $.overrideHookState=Cw,$.overrideHookStateDeletePath=Iw,$.overrideHookStateRenamePath=Ow,$.overrideProps=Dw,$.overridePropsDeletePath=jw,$.overridePropsRenamePath=Aw,$.scheduleUpdate=Sw,$.scheduleRetry=vw,$.setErrorHandler=kw,$.setSuspenseHandler=bw,$.scheduleRefresh=I,$.scheduleRoot=P,$.setRefreshHandler=A,$.getCurrentFiber=wV,D$($)}()&&K8&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var fw=window.location.protocol;/^(https?|file):$/.test(fw)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(fw==="file:"?`
227
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}PP.createRoot=function($,Z){if(!C($))throw Error("Target container is not a DOM element.");nM($);var G=!1,X="",N=lB,B=rB,W=sB;return Z!==null&&Z!==void 0&&(Z.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Z==="object"&&Z!==null&&Z.$$typeof===J8&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
226
+ 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"),Z5.findDOMNode=function($){var Z=$._reactInternals;if(Z===void 0){if(typeof $.render==="function")throw Error("Unable to find node on an unmounted component.");throw $=Object.keys($).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+$)}return $=s(Z),$=$!==null?Q0($):null,$=$===null?null:$.stateNode,$},!function(){var $={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:h,reconcilerVersion:"19.2.5"};return $.overrideHookState=CR,$.overrideHookStateDeletePath=IR,$.overrideHookStateRenamePath=OR,$.overrideProps=jR,$.overridePropsDeletePath=AR,$.overridePropsRenamePath=DR,$.scheduleUpdate=SR,$.scheduleRetry=vR,$.setErrorHandler=kR,$.setSuspenseHandler=bR,$.scheduleRefresh=I,$.scheduleRoot=P,$.setRefreshHandler=D,$.getCurrentFiber=RE,j7($)}()&&B$&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var fR=window.location.protocol;/^(https?|file):$/.test(fR)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(fR==="file:"?`
227
+ You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}PP.createRoot=function($,Z){if(!C($))throw Error("Target container is not a DOM element.");nH($);var q=!1,X="",K=lN,N=rN,W=sN;return Z!==null&&Z!==void 0&&(Z.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof Z==="object"&&Z!==null&&Z.$$typeof===G$&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
228
228
 
229
229
  let root = createRoot(domContainer);
230
- root.render(<App />);`),Z.unstable_strictMode===!0&&(G=!0),Z.identifierPrefix!==void 0&&(X=Z.identifierPrefix),Z.onUncaughtError!==void 0&&(N=Z.onUncaughtError),Z.onCaughtError!==void 0&&(B=Z.onCaughtError),Z.onRecoverableError!==void 0&&(W=Z.onRecoverableError)),Z=gM($,1,!1,null,null,G,X,null,N,B,W,sM),$[A6]=Z.current,mX($),new XY(Z)},PP.hydrateRoot=function($,Z,G){if(!C($))throw Error("Target container is not a DOM element.");nM($),Z===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var X=!1,N="",B=lB,W=rB,w=sB,_=null;return G!==null&&G!==void 0&&(G.unstable_strictMode===!0&&(X=!0),G.identifierPrefix!==void 0&&(N=G.identifierPrefix),G.onUncaughtError!==void 0&&(B=G.onUncaughtError),G.onCaughtError!==void 0&&(W=G.onCaughtError),G.onRecoverableError!==void 0&&(w=G.onRecoverableError),G.formState!==void 0&&(_=G.formState)),Z=gM($,1,!0,Z,G!=null?G:null,X,N,_,B,W,w,sM),Z.context=hM(null),G=Z.current,X=o5(G),X=C2(X),N=z6(X),N.callback=null,_6(G,N,X),l4(X,"hydrateRoot()",null),G=X,Z.current.lanes=G,H6(Z,G),Q8(Z),$[A6]=Z.current,mX($),new vG(Z)},PP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var pw=Z2((lS,dw)=>{var CP=R0(mw());dw.exports=CP});var Fz=Z2((bD)=>{var z$=R0(e1());(function(){function Q(S){if(S==null)return null;if(typeof S==="function")return S.$$typeof===d?null:S.displayName||S.name||null;if(typeof S==="string")return S;switch(S){case A:return"Fragment";case g:return"Profiler";case C:return"StrictMode";case s:return"Suspense";case Q0:return"SuspenseList";case Y0:return"Activity"}if(typeof S==="object")switch(typeof S.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case I:return"Portal";case o:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case a:var n=S.render;return S=S.displayName,S||(S=n.displayName||n.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return n=S.displayName||null,n!==null?n:Q(S.type)||"Memo";case i:n=S._payload,S=S._init;try{return Q(S(n))}catch(B0){}}return null}function J(S){return""+S}function q(S){try{J(S);var n=!1}catch(b0){n=!0}if(n){n=console;var B0=n.error,H0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return B0.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",H0),J(S)}}function Y(S){if(S===A)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===i)return"<...>";try{var n=Q(S);return n?"<"+n+">":"<...>"}catch(B0){return"<...>"}}function U(){var S=N0.A;return S===null?null:S.getOwner()}function K(){return Error("react-stack-top-frame")}function H(S){if(w0.call(S,"key")){var n=Object.getOwnPropertyDescriptor(S,"key").get;if(n&&n.isReactWarning)return!1}return S.key!==void 0}function M(S,n){function B0(){l||(l=!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)",n))}B0.isReactWarning=!0,Object.defineProperty(S,"key",{get:B0,configurable:!0})}function F(){var S=Q(this.type);return J0[S]||(J0[S]=!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.")),S=this.props.ref,S!==void 0?S:null}function R(S,n,B0,H0,b0,j1){var I0=B0.ref;return S={$$typeof:P,type:S,key:n,props:B0,_owner:H0},(I0!==void 0?I0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:F}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:j1}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function T(S,n,B0,H0,b0,j1){var I0=n.children;if(I0!==void 0)if(H0)if(z0(I0)){for(H0=0;H0<I0.length;H0++)z(I0[H0]);Object.freeze&&Object.freeze(I0)}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 z(I0);if(w0.call(n,"key")){I0=Q(S);var f1=Object.keys(n).filter(function(P4){return P4!=="key"});H0=0<f1.length?"{key: someKey, "+f1.join(": ..., ")+": ...}":"{key: someKey}",k0[I0+H0]||(f1=0<f1.length?"{"+f1.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
230
+ root.render(<App />);`),Z.unstable_strictMode===!0&&(q=!0),Z.identifierPrefix!==void 0&&(X=Z.identifierPrefix),Z.onUncaughtError!==void 0&&(K=Z.onUncaughtError),Z.onCaughtError!==void 0&&(N=Z.onCaughtError),Z.onRecoverableError!==void 0&&(W=Z.onRecoverableError)),Z=gH($,1,!1,null,null,q,X,null,K,N,W,sH),$[D6]=Z.current,m3($),new XY(Z)},PP.hydrateRoot=function($,Z,q){if(!C($))throw Error("Target container is not a DOM element.");nH($),Z===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var X=!1,K="",N=lN,W=rN,R=sN,_=null;return q!==null&&q!==void 0&&(q.unstable_strictMode===!0&&(X=!0),q.identifierPrefix!==void 0&&(K=q.identifierPrefix),q.onUncaughtError!==void 0&&(N=q.onUncaughtError),q.onCaughtError!==void 0&&(W=q.onCaughtError),q.onRecoverableError!==void 0&&(R=q.onRecoverableError),q.formState!==void 0&&(_=q.formState)),Z=gH($,1,!0,Z,q!=null?q:null,X,K,_,N,W,R,sH),Z.context=xH(null),q=Z.current,X=o8(q),X=C4(X),K=V6(X),K.callback=null,_6(q,K,X),l1(X,"hydrateRoot()",null),q=X,Z.current.lanes=q,M6(Z,q),Q$(Z),$[D6]=Z.current,m3($),new vG(Z)},PP.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var pR=Z4((lS,dR)=>{var CP=z0(mR());dR.exports=CP});var FV=Z4((bj)=>{var V7=z0(e5());(function(){function Q(S){if(S==null)return null;if(typeof S==="function")return S.$$typeof===d?null:S.displayName||S.name||null;if(typeof S==="string")return S;switch(S){case D:return"Fragment";case g:return"Profiler";case C:return"StrictMode";case s:return"Suspense";case Q0:return"SuspenseList";case Y0:return"Activity"}if(typeof S==="object")switch(typeof S.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case I:return"Portal";case o:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case i:var n=S.render;return S=S.displayName,S||(S=n.displayName||n.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return n=S.displayName||null,n!==null?n:Q(S.type)||"Memo";case a:n=S._payload,S=S._init;try{return Q(S(n))}catch(N0){}}return null}function G(S){return""+S}function J(S){try{G(S);var n=!1}catch(b0){n=!0}if(n){n=console;var N0=n.error,M0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return N0.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",M0),G(S)}}function Y(S){if(S===D)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===a)return"<...>";try{var n=Q(S);return n?"<"+n+">":"<...>"}catch(N0){return"<...>"}}function U(){var S=K0.A;return S===null?null:S.getOwner()}function B(){return Error("react-stack-top-frame")}function M(S){if(R0.call(S,"key")){var n=Object.getOwnPropertyDescriptor(S,"key").get;if(n&&n.isReactWarning)return!1}return S.key!==void 0}function H(S,n){function N0(){l||(l=!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)",n))}N0.isReactWarning=!0,Object.defineProperty(S,"key",{get:N0,configurable:!0})}function F(){var S=Q(this.type);return G0[S]||(G0[S]=!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.")),S=this.props.ref,S!==void 0?S:null}function z(S,n,N0,M0,b0,A5){var I0=N0.ref;return S={$$typeof:P,type:S,key:n,props:N0,_owner:M0},(I0!==void 0?I0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:F}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A5}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function L(S,n,N0,M0,b0,A5){var I0=n.children;if(I0!==void 0)if(M0)if(V0(I0)){for(M0=0;M0<I0.length;M0++)V(I0[M0]);Object.freeze&&Object.freeze(I0)}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 V(I0);if(R0.call(n,"key")){I0=Q(S);var f5=Object.keys(n).filter(function(P1){return P1!=="key"});M0=0<f5.length?"{key: someKey, "+f5.join(": ..., ")+": ...}":"{key: someKey}",k0[I0+M0]||(f5=0<f5.length?"{"+f5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
231
231
  let props = %s;
232
232
  <%s {...props} />
233
233
  React keys must be passed directly to JSX without using spread:
234
234
  let props = %s;
235
- <%s key={someKey} {...props} />`,H0,I0,f1,I0),k0[I0+H0]=!0)}if(I0=null,B0!==void 0&&(q(B0),I0=""+B0),H(n)&&(q(n.key),I0=""+n.key),"key"in n){B0={};for(var N5 in n)N5!=="key"&&(B0[N5]=n[N5])}else B0=n;return I0&&M(B0,typeof S==="function"?S.displayName||S.name||"Unknown":S),R(S,I0,B0,U(),b0,j1)}function z(S){L(S)?S._store&&(S._store.validated=1):typeof S==="object"&&S!==null&&S.$$typeof===i&&(S._payload.status==="fulfilled"?L(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function L(S){return typeof S==="object"&&S!==null&&S.$$typeof===P}var P=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),Q0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),i=Symbol.for("react.lazy"),Y0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),N0=z$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w0=Object.prototype.hasOwnProperty,z0=Array.isArray,C0=console.createTask?console.createTask:function(){return null};z$={react_stack_bottom_frame:function(S){return S()}};var l,J0={},K0=z$.react_stack_bottom_frame.bind(z$,K)(),d0=C0(Y(K)),k0={};bD.Fragment=A,bD.jsx=function(S,n,B0){var H0=1e4>N0.recentlyCreatedOwnerStacks++;return T(S,n,B0,!1,H0?Error("react-stack-top-frame"):K0,H0?C0(Y(S)):d0)},bD.jsxs=function(S,n,B0){var H0=1e4>N0.recentlyCreatedOwnerStacks++;return T(S,n,B0,!0,H0?Error("react-stack-top-frame"):K0,H0?C0(Y(S)):d0)}})()});var G1=Z2((Cj)=>{var V$=R0(e1());(function(){function Q(S){if(S==null)return null;if(typeof S==="function")return S.$$typeof===d?null:S.displayName||S.name||null;if(typeof S==="string")return S;switch(S){case A:return"Fragment";case g:return"Profiler";case C:return"StrictMode";case s:return"Suspense";case Q0:return"SuspenseList";case Y0:return"Activity"}if(typeof S==="object")switch(typeof S.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case I:return"Portal";case o:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case a:var n=S.render;return S=S.displayName,S||(S=n.displayName||n.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return n=S.displayName||null,n!==null?n:Q(S.type)||"Memo";case i:n=S._payload,S=S._init;try{return Q(S(n))}catch(B0){}}return null}function J(S){return""+S}function q(S){try{J(S);var n=!1}catch(b0){n=!0}if(n){n=console;var B0=n.error,H0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return B0.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",H0),J(S)}}function Y(S){if(S===A)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===i)return"<...>";try{var n=Q(S);return n?"<"+n+">":"<...>"}catch(B0){return"<...>"}}function U(){var S=N0.A;return S===null?null:S.getOwner()}function K(){return Error("react-stack-top-frame")}function H(S){if(w0.call(S,"key")){var n=Object.getOwnPropertyDescriptor(S,"key").get;if(n&&n.isReactWarning)return!1}return S.key!==void 0}function M(S,n){function B0(){l||(l=!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)",n))}B0.isReactWarning=!0,Object.defineProperty(S,"key",{get:B0,configurable:!0})}function F(){var S=Q(this.type);return J0[S]||(J0[S]=!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.")),S=this.props.ref,S!==void 0?S:null}function R(S,n,B0,H0,b0,j1){var I0=B0.ref;return S={$$typeof:P,type:S,key:n,props:B0,_owner:H0},(I0!==void 0?I0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:F}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:j1}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function T(S,n,B0,H0,b0,j1){var I0=n.children;if(I0!==void 0)if(H0)if(z0(I0)){for(H0=0;H0<I0.length;H0++)z(I0[H0]);Object.freeze&&Object.freeze(I0)}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 z(I0);if(w0.call(n,"key")){I0=Q(S);var f1=Object.keys(n).filter(function(P4){return P4!=="key"});H0=0<f1.length?"{key: someKey, "+f1.join(": ..., ")+": ...}":"{key: someKey}",k0[I0+H0]||(f1=0<f1.length?"{"+f1.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
235
+ <%s key={someKey} {...props} />`,M0,I0,f5,I0),k0[I0+M0]=!0)}if(I0=null,N0!==void 0&&(J(N0),I0=""+N0),M(n)&&(J(n.key),I0=""+n.key),"key"in n){N0={};for(var K8 in n)K8!=="key"&&(N0[K8]=n[K8])}else N0=n;return I0&&H(N0,typeof S==="function"?S.displayName||S.name||"Unknown":S),z(S,I0,N0,U(),b0,A5)}function V(S){T(S)?S._store&&(S._store.validated=1):typeof S==="object"&&S!==null&&S.$$typeof===a&&(S._payload.status==="fulfilled"?T(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function T(S){return typeof S==="object"&&S!==null&&S.$$typeof===P}var P=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),o=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),Q0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),a=Symbol.for("react.lazy"),Y0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),K0=V7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R0=Object.prototype.hasOwnProperty,V0=Array.isArray,C0=console.createTask?console.createTask:function(){return null};V7={react_stack_bottom_frame:function(S){return S()}};var l,G0={},B0=V7.react_stack_bottom_frame.bind(V7,B)(),d0=C0(Y(B)),k0={};bj.Fragment=D,bj.jsx=function(S,n,N0){var M0=1e4>K0.recentlyCreatedOwnerStacks++;return L(S,n,N0,!1,M0?Error("react-stack-top-frame"):B0,M0?C0(Y(S)):d0)},bj.jsxs=function(S,n,N0){var M0=1e4>K0.recentlyCreatedOwnerStacks++;return L(S,n,N0,!0,M0?Error("react-stack-top-frame"):B0,M0?C0(Y(S)):d0)}})()});var q5=Z4((CA)=>{var E7=z0(e5());(function(){function Q(S){if(S==null)return null;if(typeof S==="function")return S.$$typeof===d?null:S.displayName||S.name||null;if(typeof S==="string")return S;switch(S){case D:return"Fragment";case g:return"Profiler";case C:return"StrictMode";case s:return"Suspense";case Q0:return"SuspenseList";case Y0:return"Activity"}if(typeof S==="object")switch(typeof S.tag==="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),S.$$typeof){case I:return"Portal";case o:return S.displayName||"Context";case m:return(S._context.displayName||"Context")+".Consumer";case i:var n=S.render;return S=S.displayName,S||(S=n.displayName||n.name||"",S=S!==""?"ForwardRef("+S+")":"ForwardRef"),S;case p:return n=S.displayName||null,n!==null?n:Q(S.type)||"Memo";case a:n=S._payload,S=S._init;try{return Q(S(n))}catch(N0){}}return null}function G(S){return""+S}function J(S){try{G(S);var n=!1}catch(b0){n=!0}if(n){n=console;var N0=n.error,M0=typeof Symbol==="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object";return N0.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",M0),G(S)}}function Y(S){if(S===D)return"<>";if(typeof S==="object"&&S!==null&&S.$$typeof===a)return"<...>";try{var n=Q(S);return n?"<"+n+">":"<...>"}catch(N0){return"<...>"}}function U(){var S=K0.A;return S===null?null:S.getOwner()}function B(){return Error("react-stack-top-frame")}function M(S){if(R0.call(S,"key")){var n=Object.getOwnPropertyDescriptor(S,"key").get;if(n&&n.isReactWarning)return!1}return S.key!==void 0}function H(S,n){function N0(){l||(l=!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)",n))}N0.isReactWarning=!0,Object.defineProperty(S,"key",{get:N0,configurable:!0})}function F(){var S=Q(this.type);return G0[S]||(G0[S]=!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.")),S=this.props.ref,S!==void 0?S:null}function z(S,n,N0,M0,b0,A5){var I0=N0.ref;return S={$$typeof:P,type:S,key:n,props:N0,_owner:M0},(I0!==void 0?I0:null)!==null?Object.defineProperty(S,"ref",{enumerable:!1,get:F}):Object.defineProperty(S,"ref",{enumerable:!1,value:null}),S._store={},Object.defineProperty(S._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(S,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(S,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:b0}),Object.defineProperty(S,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A5}),Object.freeze&&(Object.freeze(S.props),Object.freeze(S)),S}function L(S,n,N0,M0,b0,A5){var I0=n.children;if(I0!==void 0)if(M0)if(V0(I0)){for(M0=0;M0<I0.length;M0++)V(I0[M0]);Object.freeze&&Object.freeze(I0)}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 V(I0);if(R0.call(n,"key")){I0=Q(S);var f5=Object.keys(n).filter(function(P1){return P1!=="key"});M0=0<f5.length?"{key: someKey, "+f5.join(": ..., ")+": ...}":"{key: someKey}",k0[I0+M0]||(f5=0<f5.length?"{"+f5.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
236
236
  let props = %s;
237
237
  <%s {...props} />
238
238
  React keys must be passed directly to JSX without using spread:
239
239
  let props = %s;
240
- <%s key={someKey} {...props} />`,H0,I0,f1,I0),k0[I0+H0]=!0)}if(I0=null,B0!==void 0&&(q(B0),I0=""+B0),H(n)&&(q(n.key),I0=""+n.key),"key"in n){B0={};for(var N5 in n)N5!=="key"&&(B0[N5]=n[N5])}else B0=n;return I0&&M(B0,typeof S==="function"?S.displayName||S.name||"Unknown":S),R(S,I0,B0,U(),b0,j1)}function z(S){L(S)?S._store&&(S._store.validated=1):typeof S==="object"&&S!==null&&S.$$typeof===i&&(S._payload.status==="fulfilled"?L(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function L(S){return typeof S==="object"&&S!==null&&S.$$typeof===P}var P=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),o=Symbol.for("react.context"),a=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),Q0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),i=Symbol.for("react.lazy"),Y0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),N0=V$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w0=Object.prototype.hasOwnProperty,z0=Array.isArray,C0=console.createTask?console.createTask:function(){return null};V$={react_stack_bottom_frame:function(S){return S()}};var l,J0={},K0=V$.react_stack_bottom_frame.bind(V$,K)(),d0=C0(Y(K)),k0={};Cj.Fragment=A,Cj.jsxDEV=function(S,n,B0,H0){var b0=1e4>N0.recentlyCreatedOwnerStacks++;return T(S,n,B0,H0,b0?Error("react-stack-top-frame"):K0,b0?C0(Y(S)):d0)}})()});var S_=R0(pw(),1);var U5=R0(e1(),1);async function cw(Q="24h"){let J=await fetch(`/api/stats/overview?range=${encodeURIComponent(Q)}`);if(!J.ok)throw Error("Failed to fetch overview stats");return J.json()}async function lw(Q="24h"){let J=await fetch(`/api/stats/model-dashboard?range=${encodeURIComponent(Q)}`);if(!J.ok)throw Error("Failed to fetch model stats");return J.json()}async function rw(Q="24h"){let J=await fetch(`/api/stats/costs?range=${encodeURIComponent(Q)}`);if(!J.ok)throw Error("Failed to fetch cost stats");return J.json()}async function sw(Q=50){let J=await fetch(`/api/stats/recent?limit=${Q}`);if(!J.ok)throw Error("Failed to fetch recent requests");return J.json()}async function nw(Q=50){let J=await fetch(`/api/stats/errors?limit=${Q}`);if(!J.ok)throw Error("Failed to fetch recent errors");return J.json()}async function ow(Q){let J=await fetch(`/api/request/${Q}`);if(!J.ok)throw Error("Failed to fetch request details");return J.json()}async function aw(){let Q=await fetch("/api/sync");if(!Q.ok)throw Error("Failed to sync");return Q.json()}async function iw(Q="24h"){let J=await fetch(`/api/stats/behavior?range=${encodeURIComponent(Q)}`);if(!J.ok)throw Error("Failed to fetch behavior stats");return J.json()}/*!
240
+ <%s key={someKey} {...props} />`,M0,I0,f5,I0),k0[I0+M0]=!0)}if(I0=null,N0!==void 0&&(J(N0),I0=""+N0),M(n)&&(J(n.key),I0=""+n.key),"key"in n){N0={};for(var K8 in n)K8!=="key"&&(N0[K8]=n[K8])}else N0=n;return I0&&H(N0,typeof S==="function"?S.displayName||S.name||"Unknown":S),z(S,I0,N0,U(),b0,A5)}function V(S){T(S)?S._store&&(S._store.validated=1):typeof S==="object"&&S!==null&&S.$$typeof===a&&(S._payload.status==="fulfilled"?T(S._payload.value)&&S._payload.value._store&&(S._payload.value._store.validated=1):S._store&&(S._store.validated=1))}function T(S){return typeof S==="object"&&S!==null&&S.$$typeof===P}var P=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),o=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),Q0=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),a=Symbol.for("react.lazy"),Y0=Symbol.for("react.activity"),d=Symbol.for("react.client.reference"),K0=E7.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R0=Object.prototype.hasOwnProperty,V0=Array.isArray,C0=console.createTask?console.createTask:function(){return null};E7={react_stack_bottom_frame:function(S){return S()}};var l,G0={},B0=E7.react_stack_bottom_frame.bind(E7,B)(),d0=C0(Y(B)),k0={};CA.Fragment=D,CA.jsxDEV=function(S,n,N0,M0){var b0=1e4>K0.recentlyCreatedOwnerStacks++;return L(S,n,N0,M0,b0?Error("react-stack-top-frame"):B0,b0?C0(Y(S)):d0)}})()});var S_=z0(pR(),1);var U8=z0(e5(),1);async function cR(Q="24h"){let G=await fetch(`/api/stats/overview?range=${encodeURIComponent(Q)}`);if(!G.ok)throw Error("Failed to fetch overview stats");return G.json()}async function lR(Q="24h"){let G=await fetch(`/api/stats/model-dashboard?range=${encodeURIComponent(Q)}`);if(!G.ok)throw Error("Failed to fetch model stats");return G.json()}async function rR(Q="24h"){let G=await fetch(`/api/stats/costs?range=${encodeURIComponent(Q)}`);if(!G.ok)throw Error("Failed to fetch cost stats");return G.json()}async function sR(Q=50){let G=await fetch(`/api/stats/recent?limit=${Q}`);if(!G.ok)throw Error("Failed to fetch recent requests");return G.json()}async function nR(Q=50){let G=await fetch(`/api/stats/errors?limit=${Q}`);if(!G.ok)throw Error("Failed to fetch recent errors");return G.json()}async function oR(Q){let G=await fetch(`/api/request/${Q}`);if(!G.ok)throw Error("Failed to fetch request details");return G.json()}async function iR(){let Q=await fetch("/api/sync");if(!Q.ok)throw Error("Failed to sync");return Q.json()}async function aR(Q="24h"){let G=await fetch(`/api/stats/behavior?range=${encodeURIComponent(Q)}`);if(!G.ok)throw Error("Failed to fetch behavior stats");return G.json()}/*!
241
241
  * @kurkle/color v0.3.4
242
242
  * https://github.com/kurkle/color#readme
243
243
  * (c) 2024 Jukka Kurkela
244
244
  * Released under the MIT License
245
- */function yZ(Q){return Q+0.5|0}var Q2=(Q,J,q)=>Math.max(Math.min(Q,q),J);function fZ(Q){return Q2(yZ(Q*2.55),0,255)}function G2(Q){return Q2(yZ(Q*255),0,255)}function i8(Q){return Q2(yZ(Q/2.55)/100,0,1)}function tw(Q){return Q2(yZ(Q*100),0,100)}var L4={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},hU=[..."0123456789ABCDEF"],IP=(Q)=>hU[Q&15],OP=(Q)=>hU[(Q&240)>>4]+hU[Q&15],uJ=(Q)=>(Q&240)>>4===(Q&15),DP=(Q)=>uJ(Q.r)&&uJ(Q.g)&&uJ(Q.b)&&uJ(Q.a);function jP(Q){var J=Q.length,q;if(Q[0]==="#"){if(J===4||J===5)q={r:255&L4[Q[1]]*17,g:255&L4[Q[2]]*17,b:255&L4[Q[3]]*17,a:J===5?L4[Q[4]]*17:255};else if(J===7||J===9)q={r:L4[Q[1]]<<4|L4[Q[2]],g:L4[Q[3]]<<4|L4[Q[4]],b:L4[Q[5]]<<4|L4[Q[6]],a:J===9?L4[Q[7]]<<4|L4[Q[8]]:255}}return q}var AP=(Q,J)=>Q<255?J(Q):"";function SP(Q){var J=DP(Q)?IP:OP;return Q?"#"+J(Q.r)+J(Q.g)+J(Q.b)+AP(Q.a,J):void 0}var vP=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function QR(Q,J,q){let Y=J*Math.min(q,1-q),U=(K,H=(K+Q/30)%12)=>q-Y*Math.max(Math.min(H-3,9-H,1),-1);return[U(0),U(8),U(4)]}function kP(Q,J,q){let Y=(U,K=(U+Q/60)%6)=>q-q*J*Math.max(Math.min(K,4-K,1),0);return[Y(5),Y(3),Y(1)]}function bP(Q,J,q){let Y=QR(Q,1,0.5),U;if(J+q>1)U=1/(J+q),J*=U,q*=U;for(U=0;U<3;U++)Y[U]*=1-J-q,Y[U]+=J;return Y}function fP(Q,J,q,Y,U){if(Q===U)return(J-q)/Y+(J<q?6:0);if(J===U)return(q-Q)/Y+2;return(Q-J)/Y+4}function xU(Q){let q=Q.r/255,Y=Q.g/255,U=Q.b/255,K=Math.max(q,Y,U),H=Math.min(q,Y,U),M=(K+H)/2,F,R,T;if(K!==H)T=K-H,R=M>0.5?T/(2-K-H):T/(K+H),F=fP(q,Y,U,T,K),F=F*60+0.5;return[F|0,R||0,M]}function uU(Q,J,q,Y){return(Array.isArray(J)?Q(J[0],J[1],J[2]):Q(J,q,Y)).map(G2)}function mU(Q,J,q){return uU(QR,Q,J,q)}function yP(Q,J,q){return uU(bP,Q,J,q)}function gP(Q,J,q){return uU(kP,Q,J,q)}function GR(Q){return(Q%360+360)%360}function hP(Q){let J=vP.exec(Q),q=255,Y;if(!J)return;if(J[5]!==Y)q=J[6]?fZ(+J[5]):G2(+J[5]);let U=GR(+J[2]),K=+J[3]/100,H=+J[4]/100;if(J[1]==="hwb")Y=yP(U,K,H);else if(J[1]==="hsv")Y=gP(U,K,H);else Y=mU(U,K,H);return{r:Y[0],g:Y[1],b:Y[2],a:q}}function xP(Q,J){var q=xU(Q);q[0]=GR(q[0]+J),q=mU(q),Q.r=q[0],Q.g=q[1],Q.b=q[2]}function uP(Q){if(!Q)return;let J=xU(Q),q=J[0],Y=tw(J[1]),U=tw(J[2]);return Q.a<255?`hsla(${q}, ${Y}%, ${U}%, ${i8(Q.a)})`:`hsl(${q}, ${Y}%, ${U}%)`}var ew={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},$R={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function mP(){let Q={},J=Object.keys($R),q=Object.keys(ew),Y,U,K,H,M;for(Y=0;Y<J.length;Y++){H=M=J[Y];for(U=0;U<q.length;U++)K=q[U],M=M.replace(K,ew[K]);K=parseInt($R[H],16),Q[M]=[K>>16&255,K>>8&255,K&255]}return Q}var mJ;function dP(Q){if(!mJ)mJ=mP(),mJ.transparent=[0,0,0,0];let J=mJ[Q.toLowerCase()];return J&&{r:J[0],g:J[1],b:J[2],a:J.length===4?J[3]:255}}var pP=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function cP(Q){let J=pP.exec(Q),q=255,Y,U,K;if(!J)return;if(J[7]!==Y){let H=+J[7];q=J[8]?fZ(H):Q2(H*255,0,255)}return Y=+J[1],U=+J[3],K=+J[5],Y=255&(J[2]?fZ(Y):Q2(Y,0,255)),U=255&(J[4]?fZ(U):Q2(U,0,255)),K=255&(J[6]?fZ(K):Q2(K,0,255)),{r:Y,g:U,b:K,a:q}}function lP(Q){return Q&&(Q.a<255?`rgba(${Q.r}, ${Q.g}, ${Q.b}, ${i8(Q.a)})`:`rgb(${Q.r}, ${Q.g}, ${Q.b})`)}var gU=(Q)=>Q<=0.0031308?Q*12.92:Math.pow(Q,0.4166666666666667)*1.055-0.055,k9=(Q)=>Q<=0.04045?Q/12.92:Math.pow((Q+0.055)/1.055,2.4);function rP(Q,J,q){let Y=k9(i8(Q.r)),U=k9(i8(Q.g)),K=k9(i8(Q.b));return{r:G2(gU(Y+q*(k9(i8(J.r))-Y))),g:G2(gU(U+q*(k9(i8(J.g))-U))),b:G2(gU(K+q*(k9(i8(J.b))-K))),a:Q.a+q*(J.a-Q.a)}}function dJ(Q,J,q){if(Q){let Y=xU(Q);Y[J]=Math.max(0,Math.min(Y[J]+Y[J]*q,J===0?360:1)),Y=mU(Y),Q.r=Y[0],Q.g=Y[1],Q.b=Y[2]}}function JR(Q,J){return Q?Object.assign(J||{},Q):Q}function ZR(Q){var J={r:0,g:0,b:0,a:255};if(Array.isArray(Q)){if(Q.length>=3){if(J={r:Q[0],g:Q[1],b:Q[2],a:255},Q.length>3)J.a=G2(Q[3])}}else J=JR(Q,{r:0,g:0,b:0,a:1}),J.a=G2(J.a);return J}function sP(Q){if(Q.charAt(0)==="r")return cP(Q);return hP(Q)}class b9{constructor(Q){if(Q instanceof b9)return Q;let J=typeof Q,q;if(J==="object")q=ZR(Q);else if(J==="string")q=jP(Q)||dP(Q)||sP(Q);this._rgb=q,this._valid=!!q}get valid(){return this._valid}get rgb(){var Q=JR(this._rgb);if(Q)Q.a=i8(Q.a);return Q}set rgb(Q){this._rgb=ZR(Q)}rgbString(){return this._valid?lP(this._rgb):void 0}hexString(){return this._valid?SP(this._rgb):void 0}hslString(){return this._valid?uP(this._rgb):void 0}mix(Q,J){if(Q){let q=this.rgb,Y=Q.rgb,U,K=J===U?0.5:J,H=2*K-1,M=q.a-Y.a,F=((H*M===-1?H:(H+M)/(1+H*M))+1)/2;U=1-F,q.r=255&F*q.r+U*Y.r+0.5,q.g=255&F*q.g+U*Y.g+0.5,q.b=255&F*q.b+U*Y.b+0.5,q.a=K*q.a+(1-K)*Y.a,this.rgb=q}return this}interpolate(Q,J){if(Q)this._rgb=rP(this._rgb,Q._rgb,J);return this}clone(){return new b9(this.rgb)}alpha(Q){return this._rgb.a=G2(Q),this}clearer(Q){let J=this._rgb;return J.a*=1-Q,this}greyscale(){let Q=this._rgb,J=yZ(Q.r*0.3+Q.g*0.59+Q.b*0.11);return Q.r=Q.g=Q.b=J,this}opaquer(Q){let J=this._rgb;return J.a*=1+Q,this}negate(){let Q=this._rgb;return Q.r=255-Q.r,Q.g=255-Q.g,Q.b=255-Q.b,this}lighten(Q){return dJ(this._rgb,2,Q),this}darken(Q){return dJ(this._rgb,2,-Q),this}saturate(Q){return dJ(this._rgb,1,Q),this}desaturate(Q){return dJ(this._rgb,1,-Q),this}rotate(Q){return xP(this._rgb,Q),this}}/*!
245
+ */function yQ(Q){return Q+0.5|0}var Q4=(Q,G,J)=>Math.max(Math.min(Q,J),G);function fQ(Q){return Q4(yQ(Q*2.55),0,255)}function q4(Q){return Q4(yQ(Q*255),0,255)}function a$(Q){return Q4(yQ(Q/2.55)/100,0,1)}function tR(Q){return Q4(yQ(Q*100),0,100)}var T1={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},xU=[..."0123456789ABCDEF"],IP=(Q)=>xU[Q&15],OP=(Q)=>xU[(Q&240)>>4]+xU[Q&15],uJ=(Q)=>(Q&240)>>4===(Q&15),jP=(Q)=>uJ(Q.r)&&uJ(Q.g)&&uJ(Q.b)&&uJ(Q.a);function AP(Q){var G=Q.length,J;if(Q[0]==="#"){if(G===4||G===5)J={r:255&T1[Q[1]]*17,g:255&T1[Q[2]]*17,b:255&T1[Q[3]]*17,a:G===5?T1[Q[4]]*17:255};else if(G===7||G===9)J={r:T1[Q[1]]<<4|T1[Q[2]],g:T1[Q[3]]<<4|T1[Q[4]],b:T1[Q[5]]<<4|T1[Q[6]],a:G===9?T1[Q[7]]<<4|T1[Q[8]]:255}}return J}var DP=(Q,G)=>Q<255?G(Q):"";function SP(Q){var G=jP(Q)?IP:OP;return Q?"#"+G(Q.r)+G(Q.g)+G(Q.b)+DP(Q.a,G):void 0}var vP=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Qz(Q,G,J){let Y=G*Math.min(J,1-J),U=(B,M=(B+Q/30)%12)=>J-Y*Math.max(Math.min(M-3,9-M,1),-1);return[U(0),U(8),U(4)]}function kP(Q,G,J){let Y=(U,B=(U+Q/60)%6)=>J-J*G*Math.max(Math.min(B,4-B,1),0);return[Y(5),Y(3),Y(1)]}function bP(Q,G,J){let Y=Qz(Q,1,0.5),U;if(G+J>1)U=1/(G+J),G*=U,J*=U;for(U=0;U<3;U++)Y[U]*=1-G-J,Y[U]+=G;return Y}function fP(Q,G,J,Y,U){if(Q===U)return(G-J)/Y+(G<J?6:0);if(G===U)return(J-Q)/Y+2;return(Q-G)/Y+4}function hU(Q){let J=Q.r/255,Y=Q.g/255,U=Q.b/255,B=Math.max(J,Y,U),M=Math.min(J,Y,U),H=(B+M)/2,F,z,L;if(B!==M)L=B-M,z=H>0.5?L/(2-B-M):L/(B+M),F=fP(J,Y,U,L,B),F=F*60+0.5;return[F|0,z||0,H]}function uU(Q,G,J,Y){return(Array.isArray(G)?Q(G[0],G[1],G[2]):Q(G,J,Y)).map(q4)}function mU(Q,G,J){return uU(Qz,Q,G,J)}function yP(Q,G,J){return uU(bP,Q,G,J)}function gP(Q,G,J){return uU(kP,Q,G,J)}function qz(Q){return(Q%360+360)%360}function xP(Q){let G=vP.exec(Q),J=255,Y;if(!G)return;if(G[5]!==Y)J=G[6]?fQ(+G[5]):q4(+G[5]);let U=qz(+G[2]),B=+G[3]/100,M=+G[4]/100;if(G[1]==="hwb")Y=yP(U,B,M);else if(G[1]==="hsv")Y=gP(U,B,M);else Y=mU(U,B,M);return{r:Y[0],g:Y[1],b:Y[2],a:J}}function hP(Q,G){var J=hU(Q);J[0]=qz(J[0]+G),J=mU(J),Q.r=J[0],Q.g=J[1],Q.b=J[2]}function uP(Q){if(!Q)return;let G=hU(Q),J=G[0],Y=tR(G[1]),U=tR(G[2]);return Q.a<255?`hsla(${J}, ${Y}%, ${U}%, ${a$(Q.a)})`:`hsl(${J}, ${Y}%, ${U}%)`}var eR={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},$z={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function mP(){let Q={},G=Object.keys($z),J=Object.keys(eR),Y,U,B,M,H;for(Y=0;Y<G.length;Y++){M=H=G[Y];for(U=0;U<J.length;U++)B=J[U],H=H.replace(B,eR[B]);B=parseInt($z[M],16),Q[H]=[B>>16&255,B>>8&255,B&255]}return Q}var mJ;function dP(Q){if(!mJ)mJ=mP(),mJ.transparent=[0,0,0,0];let G=mJ[Q.toLowerCase()];return G&&{r:G[0],g:G[1],b:G[2],a:G.length===4?G[3]:255}}var pP=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function cP(Q){let G=pP.exec(Q),J=255,Y,U,B;if(!G)return;if(G[7]!==Y){let M=+G[7];J=G[8]?fQ(M):Q4(M*255,0,255)}return Y=+G[1],U=+G[3],B=+G[5],Y=255&(G[2]?fQ(Y):Q4(Y,0,255)),U=255&(G[4]?fQ(U):Q4(U,0,255)),B=255&(G[6]?fQ(B):Q4(B,0,255)),{r:Y,g:U,b:B,a:J}}function lP(Q){return Q&&(Q.a<255?`rgba(${Q.r}, ${Q.g}, ${Q.b}, ${a$(Q.a)})`:`rgb(${Q.r}, ${Q.g}, ${Q.b})`)}var gU=(Q)=>Q<=0.0031308?Q*12.92:Math.pow(Q,0.4166666666666667)*1.055-0.055,k9=(Q)=>Q<=0.04045?Q/12.92:Math.pow((Q+0.055)/1.055,2.4);function rP(Q,G,J){let Y=k9(a$(Q.r)),U=k9(a$(Q.g)),B=k9(a$(Q.b));return{r:q4(gU(Y+J*(k9(a$(G.r))-Y))),g:q4(gU(U+J*(k9(a$(G.g))-U))),b:q4(gU(B+J*(k9(a$(G.b))-B))),a:Q.a+J*(G.a-Q.a)}}function dJ(Q,G,J){if(Q){let Y=hU(Q);Y[G]=Math.max(0,Math.min(Y[G]+Y[G]*J,G===0?360:1)),Y=mU(Y),Q.r=Y[0],Q.g=Y[1],Q.b=Y[2]}}function Gz(Q,G){return Q?Object.assign(G||{},Q):Q}function Zz(Q){var G={r:0,g:0,b:0,a:255};if(Array.isArray(Q)){if(Q.length>=3){if(G={r:Q[0],g:Q[1],b:Q[2],a:255},Q.length>3)G.a=q4(Q[3])}}else G=Gz(Q,{r:0,g:0,b:0,a:1}),G.a=q4(G.a);return G}function sP(Q){if(Q.charAt(0)==="r")return cP(Q);return xP(Q)}class b9{constructor(Q){if(Q instanceof b9)return Q;let G=typeof Q,J;if(G==="object")J=Zz(Q);else if(G==="string")J=AP(Q)||dP(Q)||sP(Q);this._rgb=J,this._valid=!!J}get valid(){return this._valid}get rgb(){var Q=Gz(this._rgb);if(Q)Q.a=a$(Q.a);return Q}set rgb(Q){this._rgb=Zz(Q)}rgbString(){return this._valid?lP(this._rgb):void 0}hexString(){return this._valid?SP(this._rgb):void 0}hslString(){return this._valid?uP(this._rgb):void 0}mix(Q,G){if(Q){let J=this.rgb,Y=Q.rgb,U,B=G===U?0.5:G,M=2*B-1,H=J.a-Y.a,F=((M*H===-1?M:(M+H)/(1+M*H))+1)/2;U=1-F,J.r=255&F*J.r+U*Y.r+0.5,J.g=255&F*J.g+U*Y.g+0.5,J.b=255&F*J.b+U*Y.b+0.5,J.a=B*J.a+(1-B)*Y.a,this.rgb=J}return this}interpolate(Q,G){if(Q)this._rgb=rP(this._rgb,Q._rgb,G);return this}clone(){return new b9(this.rgb)}alpha(Q){return this._rgb.a=q4(Q),this}clearer(Q){let G=this._rgb;return G.a*=1-Q,this}greyscale(){let Q=this._rgb,G=yQ(Q.r*0.3+Q.g*0.59+Q.b*0.11);return Q.r=Q.g=Q.b=G,this}opaquer(Q){let G=this._rgb;return G.a*=1+Q,this}negate(){let Q=this._rgb;return Q.r=255-Q.r,Q.g=255-Q.g,Q.b=255-Q.b,this}lighten(Q){return dJ(this._rgb,2,Q),this}darken(Q){return dJ(this._rgb,2,-Q),this}saturate(Q){return dJ(this._rgb,1,Q),this}desaturate(Q){return dJ(this._rgb,1,-Q),this}rotate(Q){return hP(this._rgb,Q),this}}/*!
246
246
  * Chart.js v4.5.1
247
247
  * https://www.chartjs.org
248
248
  * (c) 2025 Chart.js Contributors
249
249
  * Released under the MIT License
250
- */function R8(){}var WR=(()=>{let Q=0;return()=>Q++})();function t0(Q){return Q===null||Q===void 0}function z1(Q){if(Array.isArray&&Array.isArray(Q))return!0;let J=Object.prototype.toString.call(Q);if(J.slice(0,7)==="[object"&&J.slice(-6)==="Array]")return!0;return!1}function n0(Q){return Q!==null&&Object.prototype.toString.call(Q)==="[object Object]"}function O1(Q){return(typeof Q==="number"||Q instanceof Number)&&isFinite(+Q)}function g5(Q,J){return O1(Q)?Q:J}function h0(Q,J){return typeof Q>"u"?J:Q}var wR=(Q,J)=>typeof Q==="string"&&Q.endsWith("%")?parseFloat(Q)/100*J:+Q;function W1(Q,J,q){if(Q&&typeof Q.call==="function")return Q.apply(q,J)}function X1(Q,J,q,Y){let U,K,H;if(z1(Q))if(K=Q.length,Y)for(U=K-1;U>=0;U--)J.call(q,Q[U],U);else for(U=0;U<K;U++)J.call(q,Q[U],U);else if(n0(Q)){H=Object.keys(Q),K=H.length;for(U=0;U<K;U++)J.call(q,Q[H[U]],H[U])}}function xZ(Q,J){let q,Y,U,K;if(!Q||!J||Q.length!==J.length)return!1;for(q=0,Y=Q.length;q<Y;++q)if(U=Q[q],K=J[q],U.datasetIndex!==K.datasetIndex||U.index!==K.index)return!1;return!0}function rJ(Q){if(z1(Q))return Q.map(rJ);if(n0(Q)){let J=Object.create(null),q=Object.keys(Q),Y=q.length,U=0;for(;U<Y;++U)J[q[U]]=rJ(Q[q[U]]);return J}return Q}function RR(Q){return["__proto__","prototype","constructor"].indexOf(Q)===-1}function nP(Q,J,q,Y){if(!RR(Q))return;let U=J[Q],K=q[Q];if(n0(U)&&n0(K))y9(U,K,Y);else J[Q]=rJ(K)}function y9(Q,J,q){let Y=z1(J)?J:[J],U=Y.length;if(!n0(Q))return Q;q=q||{};let K=q.merger||nP,H;for(let M=0;M<U;++M){if(H=Y[M],!n0(H))continue;let F=Object.keys(H);for(let R=0,T=F.length;R<T;++R)K(F[R],Q,H,q)}return Q}function h9(Q,J){return y9(Q,J,{merger:oP})}function oP(Q,J,q){if(!RR(Q))return;let Y=J[Q],U=q[Q];if(n0(Y)&&n0(U))h9(Y,U);else if(!Object.prototype.hasOwnProperty.call(J,Q))J[Q]=rJ(U)}var qR={"":(Q)=>Q,x:(Q)=>Q.x,y:(Q)=>Q.y};function aP(Q){let J=Q.split("."),q=[],Y="";for(let U of J)if(Y+=U,Y.endsWith("\\"))Y=Y.slice(0,-1)+".";else q.push(Y),Y="";return q}function iP(Q){let J=aP(Q);return(q)=>{for(let Y of J){if(Y==="")break;q=q&&q[Y]}return q}}function F$(Q,J){return(qR[J]||(qR[J]=iP(J)))(Q)}function aJ(Q){return Q.charAt(0).toUpperCase()+Q.slice(1)}var x9=(Q)=>typeof Q<"u",t8=(Q)=>typeof Q==="function",cU=(Q,J)=>{if(Q.size!==J.size)return!1;for(let q of Q)if(!J.has(q))return!1;return!0};function TR(Q){return Q.type==="mouseup"||Q.type==="click"||Q.type==="contextmenu"}var b1=Math.PI,f5=2*b1,tP=f5+b1,sJ=Number.POSITIVE_INFINITY,eP=b1/180,b5=b1/2,B$=b1/4,XR=b1*2/3,e8=Math.log10,y4=Math.sign;function u9(Q,J,q){return Math.abs(Q-J)<q}function lU(Q){let J=Math.round(Q);Q=u9(Q,J,Q/1000)?J:Q;let q=Math.pow(10,Math.floor(e8(Q))),Y=Q/q;return(Y<=1?1:Y<=2?2:Y<=5?5:10)*q}function zR(Q){let J=[],q=Math.sqrt(Q),Y;for(Y=1;Y<q;Y++)if(Q%Y===0)J.push(Y),J.push(Q/Y);if(q===(q|0))J.push(q);return J.sort((U,K)=>U-K).pop(),J}function $C(Q){return typeof Q==="symbol"||typeof Q==="object"&&Q!==null&&!((Symbol.toPrimitive in Q)||("toString"in Q)||("valueOf"in Q))}function m9(Q){return!$C(Q)&&!isNaN(parseFloat(Q))&&isFinite(Q)}function _R(Q,J){let q=Math.round(Q);return q-J<=Q&&q+J>=Q}function rU(Q,J,q){let Y,U,K;for(Y=0,U=Q.length;Y<U;Y++)if(K=Q[Y][q],!isNaN(K))J.min=Math.min(J.min,K),J.max=Math.max(J.max,K)}function $6(Q){return Q*(b1/180)}function iJ(Q){return Q*(180/b1)}function sU(Q){if(!O1(Q))return;let J=1,q=0;while(Math.round(Q*J)/J!==Q)J*=10,q++;return q}function LR(Q,J){let q=J.x-Q.x,Y=J.y-Q.y,U=Math.sqrt(q*q+Y*Y),K=Math.atan2(Y,q);if(K<-0.5*b1)K+=f5;return{angle:K,distance:U}}function nJ(Q,J){return Math.sqrt(Math.pow(J.x-Q.x,2)+Math.pow(J.y-Q.y,2))}function ZC(Q,J){return(Q-J+tP)%f5-b1}function k5(Q){return(Q%f5+f5)%f5}function nU(Q,J,q,Y){let U=k5(Q),K=k5(J),H=k5(q),M=k5(K-U),F=k5(H-U),R=k5(U-K),T=k5(U-H);return U===K||U===H||Y&&K===H||M>F&&R<T}function y5(Q,J,q){return Math.max(J,Math.min(q,Q))}function VR(Q){return y5(Q,-32768,32767)}function Z6(Q,J,q,Y=0.000001){return Q>=Math.min(J,q)-Y&&Q<=Math.max(J,q)+Y}function tJ(Q,J,q){q=q||((H)=>Q[H]<J);let Y=Q.length-1,U=0,K;while(Y-U>1)if(K=U+Y>>1,q(K))U=K;else Y=K;return{lo:U,hi:Y}}var q2=(Q,J,q,Y)=>tJ(Q,q,Y?(U)=>{let K=Q[U][J];return K<q||K===q&&Q[U+1][J]===q}:(U)=>Q[U][J]<q),ER=(Q,J,q)=>tJ(Q,q,(Y)=>Q[Y][J]>=q);function PR(Q,J,q){let Y=0,U=Q.length;while(Y<U&&Q[Y]<J)Y++;while(U>Y&&Q[U-1]>q)U--;return Y>0||U<Q.length?Q.slice(Y,U):Q}var CR=["push","pop","shift","splice","unshift"];function IR(Q,J){if(Q._chartjs){Q._chartjs.listeners.push(J);return}Object.defineProperty(Q,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[J]}}),CR.forEach((q)=>{let Y="_onData"+aJ(q),U=Q[q];Object.defineProperty(Q,q,{configurable:!0,enumerable:!1,value(...K){let H=U.apply(this,K);return Q._chartjs.listeners.forEach((M)=>{if(typeof M[Y]==="function")M[Y](...K)}),H}})})}function oU(Q,J){let q=Q._chartjs;if(!q)return;let Y=q.listeners,U=Y.indexOf(J);if(U!==-1)Y.splice(U,1);if(Y.length>0)return;CR.forEach((K)=>{delete Q[K]}),delete Q._chartjs}function aU(Q){let J=new Set(Q);if(J.size===Q.length)return Q;return Array.from(J)}var iU=function(){if(typeof window>"u")return function(Q){return Q()};return window.requestAnimationFrame}();function tU(Q,J){let q=[],Y=!1;return function(...U){if(q=U,!Y)Y=!0,iU.call(window,()=>{Y=!1,Q.apply(J,q)})}}function OR(Q,J){let q;return function(...Y){if(J)clearTimeout(q),q=setTimeout(Q,J,Y);else Q.apply(this,Y);return J}}var eJ=(Q)=>Q==="start"?"left":Q==="end"?"right":"center",q5=(Q,J,q)=>Q==="start"?J:Q==="end"?q:(J+q)/2,DR=(Q,J,q,Y)=>{return Q===(Y?"left":"right")?q:Q==="center"?(J+q)/2:J};function jR(Q,J,q){let Y=J.length,U=0,K=Y;if(Q._sorted){let{iScale:H,vScale:M,_parsed:F}=Q,R=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null,T=H.axis,{min:z,max:L,minDefined:P,maxDefined:I}=H.getUserBounds();if(P){if(U=Math.min(q2(F,T,z).lo,q?Y:q2(J,T,H.getPixelForValue(z)).lo),R){let A=F.slice(0,U+1).reverse().findIndex((C)=>!t0(C[M.axis]));U-=Math.max(0,A)}U=y5(U,0,Y-1)}if(I){let A=Math.max(q2(F,H.axis,L,!0).hi+1,q?0:q2(J,T,H.getPixelForValue(L),!0).hi+1);if(R){let C=F.slice(A-1).findIndex((g)=>!t0(g[M.axis]));A+=Math.max(0,C)}K=y5(A,U,Y)-U}else K=Y-U}return{start:U,count:K}}function AR(Q){let{xScale:J,yScale:q,_scaleRanges:Y}=Q,U={xmin:J.min,xmax:J.max,ymin:q.min,ymax:q.max};if(!Y)return Q._scaleRanges=U,!0;let K=Y.xmin!==J.min||Y.xmax!==J.max||Y.ymin!==q.min||Y.ymax!==q.max;return Object.assign(Y,U),K}var pJ=(Q)=>Q===0||Q===1,YR=(Q,J,q)=>-(Math.pow(2,10*(Q-=1))*Math.sin((Q-J)*f5/q)),UR=(Q,J,q)=>Math.pow(2,-10*Q)*Math.sin((Q-J)*f5/q)+1,f9={linear:(Q)=>Q,easeInQuad:(Q)=>Q*Q,easeOutQuad:(Q)=>-Q*(Q-2),easeInOutQuad:(Q)=>(Q/=0.5)<1?0.5*Q*Q:-0.5*(--Q*(Q-2)-1),easeInCubic:(Q)=>Q*Q*Q,easeOutCubic:(Q)=>(Q-=1)*Q*Q+1,easeInOutCubic:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q:0.5*((Q-=2)*Q*Q+2),easeInQuart:(Q)=>Q*Q*Q*Q,easeOutQuart:(Q)=>-((Q-=1)*Q*Q*Q-1),easeInOutQuart:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q*Q:-0.5*((Q-=2)*Q*Q*Q-2),easeInQuint:(Q)=>Q*Q*Q*Q*Q,easeOutQuint:(Q)=>(Q-=1)*Q*Q*Q*Q+1,easeInOutQuint:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q*Q*Q:0.5*((Q-=2)*Q*Q*Q*Q+2),easeInSine:(Q)=>-Math.cos(Q*b5)+1,easeOutSine:(Q)=>Math.sin(Q*b5),easeInOutSine:(Q)=>-0.5*(Math.cos(b1*Q)-1),easeInExpo:(Q)=>Q===0?0:Math.pow(2,10*(Q-1)),easeOutExpo:(Q)=>Q===1?1:-Math.pow(2,-10*Q)+1,easeInOutExpo:(Q)=>pJ(Q)?Q:Q<0.5?0.5*Math.pow(2,10*(Q*2-1)):0.5*(-Math.pow(2,-10*(Q*2-1))+2),easeInCirc:(Q)=>Q>=1?Q:-(Math.sqrt(1-Q*Q)-1),easeOutCirc:(Q)=>Math.sqrt(1-(Q-=1)*Q),easeInOutCirc:(Q)=>(Q/=0.5)<1?-0.5*(Math.sqrt(1-Q*Q)-1):0.5*(Math.sqrt(1-(Q-=2)*Q)+1),easeInElastic:(Q)=>pJ(Q)?Q:YR(Q,0.075,0.3),easeOutElastic:(Q)=>pJ(Q)?Q:UR(Q,0.075,0.3),easeInOutElastic(Q){return pJ(Q)?Q:Q<0.5?0.5*YR(Q*2,0.1125,0.45):0.5+0.5*UR(Q*2-1,0.1125,0.45)},easeInBack(Q){return Q*Q*(2.70158*Q-1.70158)},easeOutBack(Q){return(Q-=1)*Q*(2.70158*Q+1.70158)+1},easeInOutBack(Q){let J=1.70158;if((Q/=0.5)<1)return 0.5*(Q*Q*(((J*=1.525)+1)*Q-J));return 0.5*((Q-=2)*Q*(((J*=1.525)+1)*Q+J)+2)},easeInBounce:(Q)=>1-f9.easeOutBounce(1-Q),easeOutBounce(Q){if(Q<0.36363636363636365)return 7.5625*Q*Q;if(Q<0.7272727272727273)return 7.5625*(Q-=0.5454545454545454)*Q+0.75;if(Q<0.9090909090909091)return 7.5625*(Q-=0.8181818181818182)*Q+0.9375;return 7.5625*(Q-=0.9545454545454546)*Q+0.984375},easeInOutBounce:(Q)=>Q<0.5?f9.easeInBounce(Q*2)*0.5:f9.easeOutBounce(Q*2-1)*0.5+0.5};function eU(Q){if(Q&&typeof Q==="object"){let J=Q.toString();return J==="[object CanvasPattern]"||J==="[object CanvasGradient]"}return!1}function $N(Q){return eU(Q)?Q:new b9(Q)}function dU(Q){return eU(Q)?Q:new b9(Q).saturate(0.5).darken(0.1).hexString()}var QC=["x","y","borderWidth","radius","tension"],GC=["color","borderColor","backgroundColor"];function JC(Q){Q.set("animation",{delay:void 0,duration:1000,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),Q.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:(J)=>J!=="onProgress"&&J!=="onComplete"&&J!=="fn"}),Q.set("animations",{colors:{type:"color",properties:GC},numbers:{type:"number",properties:QC}}),Q.describe("animations",{_fallback:"animation"}),Q.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:(J)=>J|0}}}})}function qC(Q){Q.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var NR=new Map;function XC(Q,J){J=J||{};let q=Q+JSON.stringify(J),Y=NR.get(q);if(!Y)Y=new Intl.NumberFormat(Q,J),NR.set(q,Y);return Y}function $q(Q,J,q){return XC(J,q).format(Q)}var SR={values(Q){return z1(Q)?Q:""+Q},numeric(Q,J,q){if(Q===0)return"0";let Y=this.chart.options.locale,U,K=Q;if(q.length>1){let R=Math.max(Math.abs(q[0].value),Math.abs(q[q.length-1].value));if(R<0.0001||R>1000000000000000)U="scientific";K=YC(Q,q)}let H=e8(Math.abs(K)),M=isNaN(H)?1:Math.max(Math.min(-1*Math.floor(H),20),0),F={notation:U,minimumFractionDigits:M,maximumFractionDigits:M};return Object.assign(F,this.options.ticks.format),$q(Q,Y,F)},logarithmic(Q,J,q){if(Q===0)return"0";let Y=q[J].significand||Q/Math.pow(10,Math.floor(e8(Q)));if([1,2,3,5,10,15].includes(Y)||J>0.8*q.length)return SR.numeric.call(this,Q,J,q);return""}};function YC(Q,J){let q=J.length>3?J[2].value-J[1].value:J[1].value-J[0].value;if(Math.abs(q)>=1&&Q!==Math.floor(Q))q=Q-Math.floor(Q);return q}var uZ={formatters:SR};function UC(Q){Q.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(J,q)=>q.lineWidth,tickColor:(J,q)=>q.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:uZ.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Q.route("scale.ticks","color","","color"),Q.route("scale.grid","color","","borderColor"),Q.route("scale.border","color","","borderColor"),Q.route("scale.title","color","","color"),Q.describe("scale",{_fallback:!1,_scriptable:(J)=>!J.startsWith("before")&&!J.startsWith("after")&&J!=="callback"&&J!=="parser",_indexable:(J)=>J!=="borderDash"&&J!=="tickBorderDash"&&J!=="dash"}),Q.describe("scales",{_fallback:"scale"}),Q.describe("scale.ticks",{_scriptable:(J)=>J!=="backdropPadding"&&J!=="callback",_indexable:(J)=>J!=="backdropPadding"})}var Y2=Object.create(null),Zq=Object.create(null);function gZ(Q,J){if(!J)return Q;let q=J.split(".");for(let Y=0,U=q.length;Y<U;++Y){let K=q[Y];Q=Q[K]||(Q[K]=Object.create(null))}return Q}function pU(Q,J,q){if(typeof J==="string")return y9(gZ(Q,J),q);return y9(gZ(Q,""),J)}class vR{constructor(Q,J){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=(q)=>q.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(q,Y)=>dU(Y.backgroundColor),this.hoverBorderColor=(q,Y)=>dU(Y.borderColor),this.hoverColor=(q,Y)=>dU(Y.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(Q),this.apply(J)}set(Q,J){return pU(this,Q,J)}get(Q){return gZ(this,Q)}describe(Q,J){return pU(Zq,Q,J)}override(Q,J){return pU(Y2,Q,J)}route(Q,J,q,Y){let U=gZ(this,Q),K=gZ(this,q),H="_"+J;Object.defineProperties(U,{[H]:{value:U[J],writable:!0},[J]:{enumerable:!0,get(){let M=this[H],F=K[Y];if(n0(M))return Object.assign({},F,M);return h0(M,F)},set(M){this[H]=M}}})}apply(Q){Q.forEach((J)=>J(this))}}var D1=new vR({_scriptable:(Q)=>!Q.startsWith("on"),_indexable:(Q)=>Q!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[JC,qC,UC]);function NC(Q){if(!Q||t0(Q.size)||t0(Q.family))return null;return(Q.style?Q.style+" ":"")+(Q.weight?Q.weight+" ":"")+Q.size+"px "+Q.family}function hZ(Q,J,q,Y,U){let K=J[U];if(!K)K=J[U]=Q.measureText(U).width,q.push(U);if(K>Y)Y=K;return Y}function kR(Q,J,q,Y){Y=Y||{};let U=Y.data=Y.data||{},K=Y.garbageCollect=Y.garbageCollect||[];if(Y.font!==J)U=Y.data={},K=Y.garbageCollect=[],Y.font=J;Q.save(),Q.font=J;let H=0,M=q.length,F,R,T,z,L;for(F=0;F<M;F++)if(z=q[F],z!==void 0&&z!==null&&!z1(z))H=hZ(Q,U,K,H,z);else if(z1(z)){for(R=0,T=z.length;R<T;R++)if(L=z[R],L!==void 0&&L!==null&&!z1(L))H=hZ(Q,U,K,H,L)}Q.restore();let P=K.length/2;if(P>q.length){for(F=0;F<P;F++)delete U[K[F]];K.splice(0,P)}return H}function U2(Q,J,q){let Y=Q.currentDevicePixelRatio,U=q!==0?Math.max(q/2,0.5):0;return Math.round((J-U)*Y)/Y+U}function ZN(Q,J){if(!J&&!Q)return;J=J||Q.getContext("2d"),J.save(),J.resetTransform(),J.clearRect(0,0,Q.width,Q.height),J.restore()}function Qq(Q,J,q,Y){QN(Q,J,q,Y,null)}function QN(Q,J,q,Y,U){let K,H,M,F,R,T,z,L,P=J.pointStyle,I=J.rotation,A=J.radius,C=(I||0)*eP;if(P&&typeof P==="object"){if(K=P.toString(),K==="[object HTMLImageElement]"||K==="[object HTMLCanvasElement]"){Q.save(),Q.translate(q,Y),Q.rotate(C),Q.drawImage(P,-P.width/2,-P.height/2,P.width,P.height),Q.restore();return}}if(isNaN(A)||A<=0)return;switch(Q.beginPath(),P){default:if(U)Q.ellipse(q,Y,U/2,A,0,0,f5);else Q.arc(q,Y,A,0,f5);Q.closePath();break;case"triangle":T=U?U/2:A,Q.moveTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),C+=XR,Q.lineTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),C+=XR,Q.lineTo(q+Math.sin(C)*T,Y-Math.cos(C)*A),Q.closePath();break;case"rectRounded":R=A*0.516,F=A-R,H=Math.cos(C+B$)*F,z=Math.cos(C+B$)*(U?U/2-R:F),M=Math.sin(C+B$)*F,L=Math.sin(C+B$)*(U?U/2-R:F),Q.arc(q-z,Y-M,R,C-b1,C-b5),Q.arc(q+L,Y-H,R,C-b5,C),Q.arc(q+z,Y+M,R,C,C+b5),Q.arc(q-L,Y+H,R,C+b5,C+b1),Q.closePath();break;case"rect":if(!I){F=Math.SQRT1_2*A,T=U?U/2:F,Q.rect(q-T,Y-F,2*T,2*F);break}C+=B$;case"rectRot":z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+L,Y-H),Q.lineTo(q+z,Y+M),Q.lineTo(q-L,Y+H),Q.closePath();break;case"crossRot":C+=B$;case"cross":z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+z,Y+M),Q.moveTo(q+L,Y-H),Q.lineTo(q-L,Y+H);break;case"star":z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+z,Y+M),Q.moveTo(q+L,Y-H),Q.lineTo(q-L,Y+H),C+=B$,z=Math.cos(C)*(U?U/2:A),H=Math.cos(C)*A,M=Math.sin(C)*A,L=Math.sin(C)*(U?U/2:A),Q.moveTo(q-z,Y-M),Q.lineTo(q+z,Y+M),Q.moveTo(q+L,Y-H),Q.lineTo(q-L,Y+H);break;case"line":H=U?U/2:Math.cos(C)*A,M=Math.sin(C)*A,Q.moveTo(q-H,Y-M),Q.lineTo(q+H,Y+M);break;case"dash":Q.moveTo(q,Y),Q.lineTo(q+Math.cos(C)*(U?U/2:A),Y+Math.sin(C)*A);break;case!1:Q.closePath();break}if(Q.fill(),J.borderWidth>0)Q.stroke()}function w8(Q,J,q){return q=q||0.5,!J||Q&&Q.x>J.left-q&&Q.x<J.right+q&&Q.y>J.top-q&&Q.y<J.bottom+q}function mZ(Q,J){Q.save(),Q.beginPath(),Q.rect(J.left,J.top,J.right-J.left,J.bottom-J.top),Q.clip()}function dZ(Q){Q.restore()}function bR(Q,J,q,Y,U){if(!J)return Q.lineTo(q.x,q.y);if(U==="middle"){let K=(J.x+q.x)/2;Q.lineTo(K,J.y),Q.lineTo(K,q.y)}else if(U==="after"!==!!Y)Q.lineTo(J.x,q.y);else Q.lineTo(q.x,J.y);Q.lineTo(q.x,q.y)}function fR(Q,J,q,Y){if(!J)return Q.lineTo(q.x,q.y);Q.bezierCurveTo(Y?J.cp1x:J.cp2x,Y?J.cp1y:J.cp2y,Y?q.cp2x:q.cp1x,Y?q.cp2y:q.cp1y,q.x,q.y)}function KC(Q,J){if(J.translation)Q.translate(J.translation[0],J.translation[1]);if(!t0(J.rotation))Q.rotate(J.rotation);if(J.color)Q.fillStyle=J.color;if(J.textAlign)Q.textAlign=J.textAlign;if(J.textBaseline)Q.textBaseline=J.textBaseline}function BC(Q,J,q,Y,U){if(U.strikethrough||U.underline){let K=Q.measureText(Y),H=J-K.actualBoundingBoxLeft,M=J+K.actualBoundingBoxRight,F=q-K.actualBoundingBoxAscent,R=q+K.actualBoundingBoxDescent,T=U.strikethrough?(F+R)/2:R;Q.strokeStyle=Q.fillStyle,Q.beginPath(),Q.lineWidth=U.decorationWidth||2,Q.moveTo(H,T),Q.lineTo(M,T),Q.stroke()}}function HC(Q,J){let q=Q.fillStyle;Q.fillStyle=J.color,Q.fillRect(J.left,J.top,J.width,J.height),Q.fillStyle=q}function N2(Q,J,q,Y,U,K={}){let H=z1(J)?J:[J],M=K.strokeWidth>0&&K.strokeColor!=="",F,R;Q.save(),Q.font=U.string,KC(Q,K);for(F=0;F<H.length;++F){if(R=H[F],K.backdrop)HC(Q,K.backdrop);if(M){if(K.strokeColor)Q.strokeStyle=K.strokeColor;if(!t0(K.strokeWidth))Q.lineWidth=K.strokeWidth;Q.strokeText(R,q,Y,K.maxWidth)}Q.fillText(R,q,Y,K.maxWidth),BC(Q,q,Y,R,K),Y+=Number(U.lineHeight)}Q.restore()}function d9(Q,J){let{x:q,y:Y,w:U,h:K,radius:H}=J;Q.arc(q+H.topLeft,Y+H.topLeft,H.topLeft,1.5*b1,b1,!0),Q.lineTo(q,Y+K-H.bottomLeft),Q.arc(q+H.bottomLeft,Y+K-H.bottomLeft,H.bottomLeft,b1,b5,!0),Q.lineTo(q+U-H.bottomRight,Y+K),Q.arc(q+U-H.bottomRight,Y+K-H.bottomRight,H.bottomRight,b5,0,!0),Q.lineTo(q+U,Y+H.topRight),Q.arc(q+U-H.topRight,Y+H.topRight,H.topRight,0,-b5,!0),Q.lineTo(q+H.topLeft,Y)}var MC=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,FC=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function WC(Q,J){let q=(""+Q).match(MC);if(!q||q[1]==="normal")return J*1.2;switch(Q=+q[2],q[3]){case"px":return Q;case"%":Q/=100;break}return J*Q}var wC=(Q)=>+Q||0;function GN(Q,J){let q={},Y=n0(J),U=Y?Object.keys(J):J,K=n0(Q)?Y?(H)=>h0(Q[H],Q[J[H]]):(H)=>Q[H]:()=>Q;for(let H of U)q[H]=wC(K(H));return q}function JN(Q){return GN(Q,{top:"y",right:"x",bottom:"y",left:"x"})}function K2(Q){return GN(Q,["topLeft","topRight","bottomLeft","bottomRight"])}function X5(Q){let J=JN(Q);return J.width=J.left+J.right,J.height=J.top+J.bottom,J}function p1(Q,J){Q=Q||{},J=J||D1.font;let q=h0(Q.size,J.size);if(typeof q==="string")q=parseInt(q,10);let Y=h0(Q.style,J.style);if(Y&&!(""+Y).match(FC))console.warn('Invalid font style specified: "'+Y+'"'),Y=void 0;let U={family:h0(Q.family,J.family),lineHeight:WC(h0(Q.lineHeight,J.lineHeight),q),size:q,style:Y,weight:h0(Q.weight,J.weight),string:""};return U.string=NC(U),U}function pZ(Q,J,q,Y){let U=!0,K,H,M;for(K=0,H=Q.length;K<H;++K){if(M=Q[K],M===void 0)continue;if(J!==void 0&&typeof M==="function")M=M(J),U=!1;if(q!==void 0&&z1(M))M=M[q%M.length],U=!1;if(M!==void 0){if(Y&&!U)Y.cacheable=!1;return M}}}function yR(Q,J,q){let{min:Y,max:U}=Q,K=wR(J,(U-Y)/2),H=(M,F)=>q&&M===0?0:M+F;return{min:H(Y,-Math.abs(K)),max:H(U,K)}}function Q6(Q,J){return Object.assign(Object.create(Q),J)}function Gq(Q,J=[""],q,Y,U=()=>Q[0]){let K=q||Q;if(typeof Y>"u")Y=xR("_fallback",Q);let H={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:Q,_rootScopes:K,_fallback:Y,_getTarget:U,override:(M)=>Gq([M,...Q],J,K,Y)};return new Proxy(H,{deleteProperty(M,F){return delete M[F],delete M._keys,delete Q[0][F],!0},get(M,F){return gR(M,F,()=>PC(F,J,Q,M))},getOwnPropertyDescriptor(M,F){return Reflect.getOwnPropertyDescriptor(M._scopes[0],F)},getPrototypeOf(){return Reflect.getPrototypeOf(Q[0])},has(M,F){return BR(M).includes(F)},ownKeys(M){return BR(M)},set(M,F,R){let T=M._storage||(M._storage=U());return M[F]=T[F]=R,delete M._keys,!0}})}function M$(Q,J,q,Y){let U={_cacheable:!1,_proxy:Q,_context:J,_subProxy:q,_stack:new Set,_descriptors:qN(Q,Y),setContext:(K)=>M$(Q,K,q,Y),override:(K)=>M$(Q.override(K),J,q,Y)};return new Proxy(U,{deleteProperty(K,H){return delete K[H],delete Q[H],!0},get(K,H,M){return gR(K,H,()=>TC(K,H,M))},getOwnPropertyDescriptor(K,H){return K._descriptors.allKeys?Reflect.has(Q,H)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(Q,H)},getPrototypeOf(){return Reflect.getPrototypeOf(Q)},has(K,H){return Reflect.has(Q,H)},ownKeys(){return Reflect.ownKeys(Q)},set(K,H,M){return Q[H]=M,delete K[H],!0}})}function qN(Q,J={scriptable:!0,indexable:!0}){let{_scriptable:q=J.scriptable,_indexable:Y=J.indexable,_allKeys:U=J.allKeys}=Q;return{allKeys:U,scriptable:q,indexable:Y,isScriptable:t8(q)?q:()=>q,isIndexable:t8(Y)?Y:()=>Y}}var RC=(Q,J)=>Q?Q+aJ(J):J,XN=(Q,J)=>n0(J)&&Q!=="adapters"&&(Object.getPrototypeOf(J)===null||J.constructor===Object);function gR(Q,J,q){if(Object.prototype.hasOwnProperty.call(Q,J)||J==="constructor")return Q[J];let Y=q();return Q[J]=Y,Y}function TC(Q,J,q){let{_proxy:Y,_context:U,_subProxy:K,_descriptors:H}=Q,M=Y[J];if(t8(M)&&H.isScriptable(J))M=zC(J,M,Q,q);if(z1(M)&&M.length)M=_C(J,M,Q,H.isIndexable);if(XN(J,M))M=M$(M,U,K&&K[J],H);return M}function zC(Q,J,q,Y){let{_proxy:U,_context:K,_subProxy:H,_stack:M}=q;if(M.has(Q))throw Error("Recursion detected: "+Array.from(M).join("->")+"->"+Q);M.add(Q);let F=J(K,H||Y);if(M.delete(Q),XN(Q,F))F=YN(U._scopes,U,Q,F);return F}function _C(Q,J,q,Y){let{_proxy:U,_context:K,_subProxy:H,_descriptors:M}=q;if(typeof K.index<"u"&&Y(Q))return J[K.index%J.length];else if(n0(J[0])){let F=J,R=U._scopes.filter((T)=>T!==F);J=[];for(let T of F){let z=YN(R,U,Q,T);J.push(M$(z,K,H&&H[Q],M))}}return J}function hR(Q,J,q){return t8(Q)?Q(J,q):Q}var LC=(Q,J)=>Q===!0?J:typeof Q==="string"?F$(J,Q):void 0;function VC(Q,J,q,Y,U){for(let K of J){let H=LC(q,K);if(H){Q.add(H);let M=hR(H._fallback,q,U);if(typeof M<"u"&&M!==q&&M!==Y)return M}else if(H===!1&&typeof Y<"u"&&q!==Y)return null}return!1}function YN(Q,J,q,Y){let U=J._rootScopes,K=hR(J._fallback,q,Y),H=[...Q,...U],M=new Set;M.add(Y);let F=KR(M,H,q,K||q,Y);if(F===null)return!1;if(typeof K<"u"&&K!==q){if(F=KR(M,H,K,F,Y),F===null)return!1}return Gq(Array.from(M),[""],U,K,()=>EC(J,q,Y))}function KR(Q,J,q,Y,U){while(q)q=VC(Q,J,q,Y,U);return q}function EC(Q,J,q){let Y=Q._getTarget();if(!(J in Y))Y[J]={};let U=Y[J];if(z1(U)&&n0(q))return q;return U||{}}function PC(Q,J,q,Y){let U;for(let K of J)if(U=xR(RC(K,Q),q),typeof U<"u")return XN(Q,U)?YN(q,Y,Q,U):U}function xR(Q,J){for(let q of J){if(!q)continue;let Y=q[Q];if(typeof Y<"u")return Y}}function BR(Q){let J=Q._keys;if(!J)J=Q._keys=CC(Q._scopes);return J}function CC(Q){let J=new Set;for(let q of Q)for(let Y of Object.keys(q).filter((U)=>!U.startsWith("_")))J.add(Y);return Array.from(J)}var IC=Number.EPSILON||0.00000000000001,g9=(Q,J)=>J<Q.length&&!Q[J].skip&&Q[J],uR=(Q)=>Q==="x"?"y":"x";function OC(Q,J,q,Y){let U=Q.skip?J:Q,K=J,H=q.skip?J:q,M=nJ(K,U),F=nJ(H,K),R=M/(M+F),T=F/(M+F);R=isNaN(R)?0:R,T=isNaN(T)?0:T;let z=Y*R,L=Y*T;return{previous:{x:K.x-z*(H.x-U.x),y:K.y-z*(H.y-U.y)},next:{x:K.x+L*(H.x-U.x),y:K.y+L*(H.y-U.y)}}}function DC(Q,J,q){let Y=Q.length,U,K,H,M,F,R=g9(Q,0);for(let T=0;T<Y-1;++T){if(F=R,R=g9(Q,T+1),!F||!R)continue;if(u9(J[T],0,IC)){q[T]=q[T+1]=0;continue}if(U=q[T]/J[T],K=q[T+1]/J[T],M=Math.pow(U,2)+Math.pow(K,2),M<=9)continue;H=3/Math.sqrt(M),q[T]=U*H*J[T],q[T+1]=K*H*J[T]}}function jC(Q,J,q="x"){let Y=uR(q),U=Q.length,K,H,M,F=g9(Q,0);for(let R=0;R<U;++R){if(H=M,M=F,F=g9(Q,R+1),!M)continue;let T=M[q],z=M[Y];if(H)K=(T-H[q])/3,M[`cp1${q}`]=T-K,M[`cp1${Y}`]=z-K*J[R];if(F)K=(F[q]-T)/3,M[`cp2${q}`]=T+K,M[`cp2${Y}`]=z+K*J[R]}}function AC(Q,J="x"){let q=uR(J),Y=Q.length,U=Array(Y).fill(0),K=Array(Y),H,M,F,R=g9(Q,0);for(H=0;H<Y;++H){if(M=F,F=R,R=g9(Q,H+1),!F)continue;if(R){let T=R[J]-F[J];U[H]=T!==0?(R[q]-F[q])/T:0}K[H]=!M?U[H]:!R?U[H-1]:y4(U[H-1])!==y4(U[H])?0:(U[H-1]+U[H])/2}DC(Q,U,K),jC(Q,K,J)}function cJ(Q,J,q){return Math.max(Math.min(Q,q),J)}function SC(Q,J){let q,Y,U,K,H,M=w8(Q[0],J);for(q=0,Y=Q.length;q<Y;++q){if(H=K,K=M,M=q<Y-1&&w8(Q[q+1],J),!K)continue;if(U=Q[q],H)U.cp1x=cJ(U.cp1x,J.left,J.right),U.cp1y=cJ(U.cp1y,J.top,J.bottom);if(M)U.cp2x=cJ(U.cp2x,J.left,J.right),U.cp2y=cJ(U.cp2y,J.top,J.bottom)}}function mR(Q,J,q,Y,U){let K,H,M,F;if(J.spanGaps)Q=Q.filter((R)=>!R.skip);if(J.cubicInterpolationMode==="monotone")AC(Q,U);else{let R=Y?Q[Q.length-1]:Q[0];for(K=0,H=Q.length;K<H;++K)M=Q[K],F=OC(R,M,Q[Math.min(K+1,H-(Y?0:1))%H],J.tension),M.cp1x=F.previous.x,M.cp1y=F.previous.y,M.cp2x=F.next.x,M.cp2y=F.next.y,R=M}if(J.capBezierPoints)SC(Q,q)}function Jq(){return typeof window<"u"&&typeof document<"u"}function qq(Q){let J=Q.parentNode;if(J&&J.toString()==="[object ShadowRoot]")J=J.host;return J}function oJ(Q,J,q){let Y;if(typeof Q==="string"){if(Y=parseInt(Q,10),Q.indexOf("%")!==-1)Y=Y/100*J.parentNode[q]}else Y=Q;return Y}var Xq=(Q)=>Q.ownerDocument.defaultView.getComputedStyle(Q,null);function vC(Q,J){return Xq(Q).getPropertyValue(J)}var kC=["top","right","bottom","left"];function H$(Q,J,q){let Y={};q=q?"-"+q:"";for(let U=0;U<4;U++){let K=kC[U];Y[K]=parseFloat(Q[J+"-"+K+q])||0}return Y.width=Y.left+Y.right,Y.height=Y.top+Y.bottom,Y}var bC=(Q,J,q)=>(Q>0||J>0)&&(!q||!q.shadowRoot);function fC(Q,J){let q=Q.touches,Y=q&&q.length?q[0]:Q,{offsetX:U,offsetY:K}=Y,H=!1,M,F;if(bC(U,K,Q.target))M=U,F=K;else{let R=J.getBoundingClientRect();M=Y.clientX-R.left,F=Y.clientY-R.top,H=!0}return{x:M,y:F,box:H}}function B2(Q,J){if("native"in Q)return Q;let{canvas:q,currentDevicePixelRatio:Y}=J,U=Xq(q),K=U.boxSizing==="border-box",H=H$(U,"padding"),M=H$(U,"border","width"),{x:F,y:R,box:T}=fC(Q,q),z=H.left+(T&&M.left),L=H.top+(T&&M.top),{width:P,height:I}=J;if(K)P-=H.width+M.width,I-=H.height+M.height;return{x:Math.round((F-z)/P*q.width/Y),y:Math.round((R-L)/I*q.height/Y)}}function yC(Q,J,q){let Y,U;if(J===void 0||q===void 0){let K=Q&&qq(Q);if(!K)J=Q.clientWidth,q=Q.clientHeight;else{let H=K.getBoundingClientRect(),M=Xq(K),F=H$(M,"border","width"),R=H$(M,"padding");J=H.width-R.width-F.width,q=H.height-R.height-F.height,Y=oJ(M.maxWidth,K,"clientWidth"),U=oJ(M.maxHeight,K,"clientHeight")}}return{width:J,height:q,maxWidth:Y||sJ,maxHeight:U||sJ}}var X2=(Q)=>Math.round(Q*10)/10;function dR(Q,J,q,Y){let U=Xq(Q),K=H$(U,"margin"),H=oJ(U.maxWidth,Q,"clientWidth")||sJ,M=oJ(U.maxHeight,Q,"clientHeight")||sJ,F=yC(Q,J,q),{width:R,height:T}=F;if(U.boxSizing==="content-box"){let L=H$(U,"border","width"),P=H$(U,"padding");R-=P.width+L.width,T-=P.height+L.height}if(R=Math.max(0,R-K.width),T=Math.max(0,Y?R/Y:T-K.height),R=X2(Math.min(R,H,F.maxWidth)),T=X2(Math.min(T,M,F.maxHeight)),R&&!T)T=X2(R/2);if((J!==void 0||q!==void 0)&&Y&&F.height&&T>F.height)T=F.height,R=X2(Math.floor(T*Y));return{width:R,height:T}}function UN(Q,J,q){let Y=J||1,U=X2(Q.height*Y),K=X2(Q.width*Y);Q.height=X2(Q.height),Q.width=X2(Q.width);let H=Q.canvas;if(H.style&&(q||!H.style.height&&!H.style.width))H.style.height=`${Q.height}px`,H.style.width=`${Q.width}px`;if(Q.currentDevicePixelRatio!==Y||H.height!==U||H.width!==K)return Q.currentDevicePixelRatio=Y,H.height=U,H.width=K,Q.ctx.setTransform(Y,0,0,Y,0,0),!0;return!1}var pR=function(){let Q=!1;try{let J={get passive(){return Q=!0,!1}};if(Jq())window.addEventListener("test",null,J),window.removeEventListener("test",null,J)}catch(J){}return Q}();function NN(Q,J){let q=vC(Q,J),Y=q&&q.match(/^(\d+)(\.\d+)?px$/);return Y?+Y[1]:void 0}function J2(Q,J,q,Y){return{x:Q.x+q*(J.x-Q.x),y:Q.y+q*(J.y-Q.y)}}function cR(Q,J,q,Y){return{x:Q.x+q*(J.x-Q.x),y:Y==="middle"?q<0.5?Q.y:J.y:Y==="after"?q<1?Q.y:J.y:q>0?J.y:Q.y}}function lR(Q,J,q,Y){let U={x:Q.cp2x,y:Q.cp2y},K={x:J.cp1x,y:J.cp1y},H=J2(Q,U,q),M=J2(U,K,q),F=J2(K,J,q),R=J2(H,M,q),T=J2(M,F,q);return J2(R,T,q)}var gC=function(Q,J){return{x(q){return Q+Q+J-q},setWidth(q){J=q},textAlign(q){if(q==="center")return q;return q==="right"?"left":"right"},xPlus(q,Y){return q-Y},leftForLtr(q,Y){return q-Y}}},hC=function(){return{x(Q){return Q},setWidth(Q){},textAlign(Q){return Q},xPlus(Q,J){return Q+J},leftForLtr(Q,J){return Q}}};function W$(Q,J,q){return Q?gC(J,q):hC()}function KN(Q,J){let q,Y;if(J==="ltr"||J==="rtl")q=Q.canvas.style,Y=[q.getPropertyValue("direction"),q.getPropertyPriority("direction")],q.setProperty("direction",J,"important"),Q.prevTextDirection=Y}function BN(Q,J){if(J!==void 0)delete Q.prevTextDirection,Q.canvas.style.setProperty("direction",J[0],J[1])}function rR(Q){if(Q==="angle")return{between:nU,compare:ZC,normalize:k5};return{between:Z6,compare:(J,q)=>J-q,normalize:(J)=>J}}function HR({start:Q,end:J,count:q,loop:Y,style:U}){return{start:Q%q,end:J%q,loop:Y&&(J-Q+1)%q===0,style:U}}function xC(Q,J,q){let{property:Y,start:U,end:K}=q,{between:H,normalize:M}=rR(Y),F=J.length,{start:R,end:T,loop:z}=Q,L,P;if(z){R+=F,T+=F;for(L=0,P=F;L<P;++L){if(!H(M(J[R%F][Y]),U,K))break;R--,T--}R%=F,T%=F}if(T<R)T+=F;return{start:R,end:T,loop:z,style:Q.style}}function HN(Q,J,q){if(!q)return[Q];let{property:Y,start:U,end:K}=q,H=J.length,{compare:M,between:F,normalize:R}=rR(Y),{start:T,end:z,loop:L,style:P}=xC(Q,J,q),I=[],A=!1,C=null,g,m,o,a=()=>F(U,o,g)&&M(U,o)!==0,s=()=>M(K,g)===0||F(K,o,g),Q0=()=>A||a(),p=()=>!A||s();for(let i=T,Y0=T;i<=z;++i){if(m=J[i%H],m.skip)continue;if(g=R(m[Y]),g===o)continue;if(A=F(g,U,K),C===null&&Q0())C=M(g,U)===0?i:Y0;if(C!==null&&p())I.push(HR({start:C,end:i,loop:L,count:H,style:P})),C=null;Y0=i,o=g}if(C!==null)I.push(HR({start:C,end:z,loop:L,count:H,style:P}));return I}function MN(Q,J){let q=[],Y=Q.segments;for(let U=0;U<Y.length;U++){let K=HN(Y[U],Q.points,J);if(K.length)q.push(...K)}return q}function uC(Q,J,q,Y){let U=0,K=J-1;if(q&&!Y)while(U<J&&!Q[U].skip)U++;while(U<J&&Q[U].skip)U++;if(U%=J,q)K+=U;while(K>U&&Q[K%J].skip)K--;return K%=J,{start:U,end:K}}function mC(Q,J,q,Y){let U=Q.length,K=[],H=J,M=Q[J],F;for(F=J+1;F<=q;++F){let R=Q[F%U];if(R.skip||R.stop){if(!M.skip)Y=!1,K.push({start:J%U,end:(F-1)%U,loop:Y}),J=H=R.stop?F:null}else if(H=F,M.skip)J=F;M=R}if(H!==null)K.push({start:J%U,end:H%U,loop:Y});return K}function sR(Q,J){let q=Q.points,Y=Q.options.spanGaps,U=q.length;if(!U)return[];let K=!!Q._loop,{start:H,end:M}=uC(q,U,K,Y);if(Y===!0)return MR(Q,[{start:H,end:M,loop:K}],q,J);let F=M<H?M+U:M,R=!!Q._fullLoop&&H===0&&M===U-1;return MR(Q,mC(q,H,F,R),q,J)}function MR(Q,J,q,Y){if(!Y||!Y.setContext||!q)return J;return dC(Q,J,q,Y)}function dC(Q,J,q,Y){let U=Q._chart.getContext(),K=FR(Q.options),{_datasetIndex:H,options:{spanGaps:M}}=Q,F=q.length,R=[],T=K,z=J[0].start,L=z;function P(I,A,C,g){let m=M?-1:1;if(I===A)return;I+=F;while(q[I%F].skip)I-=m;while(q[A%F].skip)A+=m;if(I%F!==A%F)R.push({start:I%F,end:A%F,loop:C,style:g}),T=g,z=A%F}for(let I of J){z=M?z:I.start;let A=q[z%F],C;for(L=z+1;L<=I.end;L++){let g=q[L%F];if(C=FR(Y.setContext(Q6(U,{type:"segment",p0:A,p1:g,p0DataIndex:(L-1)%F,p1DataIndex:L%F,datasetIndex:H}))),pC(C,T))P(z,L-1,I.loop,T);A=g,T=C}if(z<L-1)P(z,L-1,I.loop,T)}return R}function FR(Q){return{backgroundColor:Q.backgroundColor,borderCapStyle:Q.borderCapStyle,borderDash:Q.borderDash,borderDashOffset:Q.borderDashOffset,borderJoinStyle:Q.borderJoinStyle,borderWidth:Q.borderWidth,borderColor:Q.borderColor}}function pC(Q,J){if(!J)return!1;let q=[],Y=function(U,K){if(!eU(K))return K;if(!q.includes(K))q.push(K);return q.indexOf(K)};return JSON.stringify(Q,Y)!==JSON.stringify(J,Y)}function lJ(Q,J,q){return Q.options.clip?Q[q]:J[q]}function cC(Q,J){let{xScale:q,yScale:Y}=Q;if(q&&Y)return{left:lJ(q,J,"left"),right:lJ(q,J,"right"),top:lJ(Y,J,"top"),bottom:lJ(Y,J,"bottom")};return J}function FN(Q,J){let q=J._clip;if(q.disabled)return!1;let Y=cC(J,Q.chartArea);return{left:q.left===!1?0:Y.left-(q.left===!0?0:q.left),right:q.right===!1?Q.width:Y.right+(q.right===!0?0:q.right),top:q.top===!1?0:Y.top-(q.top===!0?0:q.top),bottom:q.bottom===!1?Q.height:Y.bottom+(q.bottom===!0?0:q.bottom)}}/*!
250
+ */function z$(){}var Wz=(()=>{let Q=0;return()=>Q++})();function t0(Q){return Q===null||Q===void 0}function V5(Q){if(Array.isArray&&Array.isArray(Q))return!0;let G=Object.prototype.toString.call(Q);if(G.slice(0,7)==="[object"&&G.slice(-6)==="Array]")return!0;return!1}function n0(Q){return Q!==null&&Object.prototype.toString.call(Q)==="[object Object]"}function O5(Q){return(typeof Q==="number"||Q instanceof Number)&&isFinite(+Q)}function g8(Q,G){return O5(Q)?Q:G}function x0(Q,G){return typeof Q>"u"?G:Q}var Rz=(Q,G)=>typeof Q==="string"&&Q.endsWith("%")?parseFloat(Q)/100*G:+Q;function W5(Q,G,J){if(Q&&typeof Q.call==="function")return Q.apply(J,G)}function X5(Q,G,J,Y){let U,B,M;if(V5(Q))if(B=Q.length,Y)for(U=B-1;U>=0;U--)G.call(J,Q[U],U);else for(U=0;U<B;U++)G.call(J,Q[U],U);else if(n0(Q)){M=Object.keys(Q),B=M.length;for(U=0;U<B;U++)G.call(J,Q[M[U]],M[U])}}function hQ(Q,G){let J,Y,U,B;if(!Q||!G||Q.length!==G.length)return!1;for(J=0,Y=Q.length;J<Y;++J)if(U=Q[J],B=G[J],U.datasetIndex!==B.datasetIndex||U.index!==B.index)return!1;return!0}function rJ(Q){if(V5(Q))return Q.map(rJ);if(n0(Q)){let G=Object.create(null),J=Object.keys(Q),Y=J.length,U=0;for(;U<Y;++U)G[J[U]]=rJ(Q[J[U]]);return G}return Q}function zz(Q){return["__proto__","prototype","constructor"].indexOf(Q)===-1}function nP(Q,G,J,Y){if(!zz(Q))return;let U=G[Q],B=J[Q];if(n0(U)&&n0(B))y9(U,B,Y);else G[Q]=rJ(B)}function y9(Q,G,J){let Y=V5(G)?G:[G],U=Y.length;if(!n0(Q))return Q;J=J||{};let B=J.merger||nP,M;for(let H=0;H<U;++H){if(M=Y[H],!n0(M))continue;let F=Object.keys(M);for(let z=0,L=F.length;z<L;++z)B(F[z],Q,M,J)}return Q}function x9(Q,G){return y9(Q,G,{merger:oP})}function oP(Q,G,J){if(!zz(Q))return;let Y=G[Q],U=J[Q];if(n0(Y)&&n0(U))x9(Y,U);else if(!Object.prototype.hasOwnProperty.call(G,Q))G[Q]=rJ(U)}var Jz={"":(Q)=>Q,x:(Q)=>Q.x,y:(Q)=>Q.y};function iP(Q){let G=Q.split("."),J=[],Y="";for(let U of G)if(Y+=U,Y.endsWith("\\"))Y=Y.slice(0,-1)+".";else J.push(Y),Y="";return J}function aP(Q){let G=iP(Q);return(J)=>{for(let Y of G){if(Y==="")break;J=J&&J[Y]}return J}}function F7(Q,G){return(Jz[G]||(Jz[G]=aP(G)))(Q)}function iJ(Q){return Q.charAt(0).toUpperCase()+Q.slice(1)}var h9=(Q)=>typeof Q<"u",t$=(Q)=>typeof Q==="function",cU=(Q,G)=>{if(Q.size!==G.size)return!1;for(let J of Q)if(!G.has(J))return!1;return!0};function Lz(Q){return Q.type==="mouseup"||Q.type==="click"||Q.type==="contextmenu"}var b5=Math.PI,f8=2*b5,tP=f8+b5,sJ=Number.POSITIVE_INFINITY,eP=b5/180,b8=b5/2,N7=b5/4,Xz=b5*2/3,e$=Math.log10,y1=Math.sign;function u9(Q,G,J){return Math.abs(Q-G)<J}function lU(Q){let G=Math.round(Q);Q=u9(Q,G,Q/1000)?G:Q;let J=Math.pow(10,Math.floor(e$(Q))),Y=Q/J;return(Y<=1?1:Y<=2?2:Y<=5?5:10)*J}function Vz(Q){let G=[],J=Math.sqrt(Q),Y;for(Y=1;Y<J;Y++)if(Q%Y===0)G.push(Y),G.push(Q/Y);if(J===(J|0))G.push(J);return G.sort((U,B)=>U-B).pop(),G}function $C(Q){return typeof Q==="symbol"||typeof Q==="object"&&Q!==null&&!((Symbol.toPrimitive in Q)||("toString"in Q)||("valueOf"in Q))}function m9(Q){return!$C(Q)&&!isNaN(parseFloat(Q))&&isFinite(Q)}function _z(Q,G){let J=Math.round(Q);return J-G<=Q&&J+G>=Q}function rU(Q,G,J){let Y,U,B;for(Y=0,U=Q.length;Y<U;Y++)if(B=Q[Y][J],!isNaN(B))G.min=Math.min(G.min,B),G.max=Math.max(G.max,B)}function $6(Q){return Q*(b5/180)}function aJ(Q){return Q*(180/b5)}function sU(Q){if(!O5(Q))return;let G=1,J=0;while(Math.round(Q*G)/G!==Q)G*=10,J++;return J}function Tz(Q,G){let J=G.x-Q.x,Y=G.y-Q.y,U=Math.sqrt(J*J+Y*Y),B=Math.atan2(Y,J);if(B<-0.5*b5)B+=f8;return{angle:B,distance:U}}function nJ(Q,G){return Math.sqrt(Math.pow(G.x-Q.x,2)+Math.pow(G.y-Q.y,2))}function ZC(Q,G){return(Q-G+tP)%f8-b5}function k8(Q){return(Q%f8+f8)%f8}function nU(Q,G,J,Y){let U=k8(Q),B=k8(G),M=k8(J),H=k8(B-U),F=k8(M-U),z=k8(U-B),L=k8(U-M);return U===B||U===M||Y&&B===M||H>F&&z<L}function y8(Q,G,J){return Math.max(G,Math.min(J,Q))}function Ez(Q){return y8(Q,-32768,32767)}function Z6(Q,G,J,Y=0.000001){return Q>=Math.min(G,J)-Y&&Q<=Math.max(G,J)+Y}function tJ(Q,G,J){J=J||((M)=>Q[M]<G);let Y=Q.length-1,U=0,B;while(Y-U>1)if(B=U+Y>>1,J(B))U=B;else Y=B;return{lo:U,hi:Y}}var J4=(Q,G,J,Y)=>tJ(Q,J,Y?(U)=>{let B=Q[U][G];return B<J||B===J&&Q[U+1][G]===J}:(U)=>Q[U][G]<J),wz=(Q,G,J)=>tJ(Q,J,(Y)=>Q[Y][G]>=J);function Pz(Q,G,J){let Y=0,U=Q.length;while(Y<U&&Q[Y]<G)Y++;while(U>Y&&Q[U-1]>J)U--;return Y>0||U<Q.length?Q.slice(Y,U):Q}var Cz=["push","pop","shift","splice","unshift"];function Iz(Q,G){if(Q._chartjs){Q._chartjs.listeners.push(G);return}Object.defineProperty(Q,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[G]}}),Cz.forEach((J)=>{let Y="_onData"+iJ(J),U=Q[J];Object.defineProperty(Q,J,{configurable:!0,enumerable:!1,value(...B){let M=U.apply(this,B);return Q._chartjs.listeners.forEach((H)=>{if(typeof H[Y]==="function")H[Y](...B)}),M}})})}function oU(Q,G){let J=Q._chartjs;if(!J)return;let Y=J.listeners,U=Y.indexOf(G);if(U!==-1)Y.splice(U,1);if(Y.length>0)return;Cz.forEach((B)=>{delete Q[B]}),delete Q._chartjs}function iU(Q){let G=new Set(Q);if(G.size===Q.length)return Q;return Array.from(G)}var aU=function(){if(typeof window>"u")return function(Q){return Q()};return window.requestAnimationFrame}();function tU(Q,G){let J=[],Y=!1;return function(...U){if(J=U,!Y)Y=!0,aU.call(window,()=>{Y=!1,Q.apply(G,J)})}}function Oz(Q,G){let J;return function(...Y){if(G)clearTimeout(J),J=setTimeout(Q,G,Y);else Q.apply(this,Y);return G}}var eJ=(Q)=>Q==="start"?"left":Q==="end"?"right":"center",J8=(Q,G,J)=>Q==="start"?G:Q==="end"?J:(G+J)/2,jz=(Q,G,J,Y)=>{return Q===(Y?"left":"right")?J:Q==="center"?(G+J)/2:G};function Az(Q,G,J){let Y=G.length,U=0,B=Y;if(Q._sorted){let{iScale:M,vScale:H,_parsed:F}=Q,z=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null,L=M.axis,{min:V,max:T,minDefined:P,maxDefined:I}=M.getUserBounds();if(P){if(U=Math.min(J4(F,L,V).lo,J?Y:J4(G,L,M.getPixelForValue(V)).lo),z){let D=F.slice(0,U+1).reverse().findIndex((C)=>!t0(C[H.axis]));U-=Math.max(0,D)}U=y8(U,0,Y-1)}if(I){let D=Math.max(J4(F,M.axis,T,!0).hi+1,J?0:J4(G,L,M.getPixelForValue(T),!0).hi+1);if(z){let C=F.slice(D-1).findIndex((g)=>!t0(g[H.axis]));D+=Math.max(0,C)}B=y8(D,U,Y)-U}else B=Y-U}return{start:U,count:B}}function Dz(Q){let{xScale:G,yScale:J,_scaleRanges:Y}=Q,U={xmin:G.min,xmax:G.max,ymin:J.min,ymax:J.max};if(!Y)return Q._scaleRanges=U,!0;let B=Y.xmin!==G.min||Y.xmax!==G.max||Y.ymin!==J.min||Y.ymax!==J.max;return Object.assign(Y,U),B}var pJ=(Q)=>Q===0||Q===1,Yz=(Q,G,J)=>-(Math.pow(2,10*(Q-=1))*Math.sin((Q-G)*f8/J)),Uz=(Q,G,J)=>Math.pow(2,-10*Q)*Math.sin((Q-G)*f8/J)+1,f9={linear:(Q)=>Q,easeInQuad:(Q)=>Q*Q,easeOutQuad:(Q)=>-Q*(Q-2),easeInOutQuad:(Q)=>(Q/=0.5)<1?0.5*Q*Q:-0.5*(--Q*(Q-2)-1),easeInCubic:(Q)=>Q*Q*Q,easeOutCubic:(Q)=>(Q-=1)*Q*Q+1,easeInOutCubic:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q:0.5*((Q-=2)*Q*Q+2),easeInQuart:(Q)=>Q*Q*Q*Q,easeOutQuart:(Q)=>-((Q-=1)*Q*Q*Q-1),easeInOutQuart:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q*Q:-0.5*((Q-=2)*Q*Q*Q-2),easeInQuint:(Q)=>Q*Q*Q*Q*Q,easeOutQuint:(Q)=>(Q-=1)*Q*Q*Q*Q+1,easeInOutQuint:(Q)=>(Q/=0.5)<1?0.5*Q*Q*Q*Q*Q:0.5*((Q-=2)*Q*Q*Q*Q+2),easeInSine:(Q)=>-Math.cos(Q*b8)+1,easeOutSine:(Q)=>Math.sin(Q*b8),easeInOutSine:(Q)=>-0.5*(Math.cos(b5*Q)-1),easeInExpo:(Q)=>Q===0?0:Math.pow(2,10*(Q-1)),easeOutExpo:(Q)=>Q===1?1:-Math.pow(2,-10*Q)+1,easeInOutExpo:(Q)=>pJ(Q)?Q:Q<0.5?0.5*Math.pow(2,10*(Q*2-1)):0.5*(-Math.pow(2,-10*(Q*2-1))+2),easeInCirc:(Q)=>Q>=1?Q:-(Math.sqrt(1-Q*Q)-1),easeOutCirc:(Q)=>Math.sqrt(1-(Q-=1)*Q),easeInOutCirc:(Q)=>(Q/=0.5)<1?-0.5*(Math.sqrt(1-Q*Q)-1):0.5*(Math.sqrt(1-(Q-=2)*Q)+1),easeInElastic:(Q)=>pJ(Q)?Q:Yz(Q,0.075,0.3),easeOutElastic:(Q)=>pJ(Q)?Q:Uz(Q,0.075,0.3),easeInOutElastic(Q){return pJ(Q)?Q:Q<0.5?0.5*Yz(Q*2,0.1125,0.45):0.5+0.5*Uz(Q*2-1,0.1125,0.45)},easeInBack(Q){return Q*Q*(2.70158*Q-1.70158)},easeOutBack(Q){return(Q-=1)*Q*(2.70158*Q+1.70158)+1},easeInOutBack(Q){let G=1.70158;if((Q/=0.5)<1)return 0.5*(Q*Q*(((G*=1.525)+1)*Q-G));return 0.5*((Q-=2)*Q*(((G*=1.525)+1)*Q+G)+2)},easeInBounce:(Q)=>1-f9.easeOutBounce(1-Q),easeOutBounce(Q){if(Q<0.36363636363636365)return 7.5625*Q*Q;if(Q<0.7272727272727273)return 7.5625*(Q-=0.5454545454545454)*Q+0.75;if(Q<0.9090909090909091)return 7.5625*(Q-=0.8181818181818182)*Q+0.9375;return 7.5625*(Q-=0.9545454545454546)*Q+0.984375},easeInOutBounce:(Q)=>Q<0.5?f9.easeInBounce(Q*2)*0.5:f9.easeOutBounce(Q*2-1)*0.5+0.5};function eU(Q){if(Q&&typeof Q==="object"){let G=Q.toString();return G==="[object CanvasPattern]"||G==="[object CanvasGradient]"}return!1}function $K(Q){return eU(Q)?Q:new b9(Q)}function dU(Q){return eU(Q)?Q:new b9(Q).saturate(0.5).darken(0.1).hexString()}var QC=["x","y","borderWidth","radius","tension"],qC=["color","borderColor","backgroundColor"];function GC(Q){Q.set("animation",{delay:void 0,duration:1000,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),Q.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:(G)=>G!=="onProgress"&&G!=="onComplete"&&G!=="fn"}),Q.set("animations",{colors:{type:"color",properties:qC},numbers:{type:"number",properties:QC}}),Q.describe("animations",{_fallback:"animation"}),Q.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:(G)=>G|0}}}})}function JC(Q){Q.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}var Kz=new Map;function XC(Q,G){G=G||{};let J=Q+JSON.stringify(G),Y=Kz.get(J);if(!Y)Y=new Intl.NumberFormat(Q,G),Kz.set(J,Y);return Y}function $2(Q,G,J){return XC(G,J).format(Q)}var Sz={values(Q){return V5(Q)?Q:""+Q},numeric(Q,G,J){if(Q===0)return"0";let Y=this.chart.options.locale,U,B=Q;if(J.length>1){let z=Math.max(Math.abs(J[0].value),Math.abs(J[J.length-1].value));if(z<0.0001||z>1000000000000000)U="scientific";B=YC(Q,J)}let M=e$(Math.abs(B)),H=isNaN(M)?1:Math.max(Math.min(-1*Math.floor(M),20),0),F={notation:U,minimumFractionDigits:H,maximumFractionDigits:H};return Object.assign(F,this.options.ticks.format),$2(Q,Y,F)},logarithmic(Q,G,J){if(Q===0)return"0";let Y=J[G].significand||Q/Math.pow(10,Math.floor(e$(Q)));if([1,2,3,5,10,15].includes(Y)||G>0.8*J.length)return Sz.numeric.call(this,Q,G,J);return""}};function YC(Q,G){let J=G.length>3?G[2].value-G[1].value:G[1].value-G[0].value;if(Math.abs(J)>=1&&Q!==Math.floor(Q))J=Q-Math.floor(Q);return J}var uQ={formatters:Sz};function UC(Q){Q.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(G,J)=>J.lineWidth,tickColor:(G,J)=>J.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:uQ.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Q.route("scale.ticks","color","","color"),Q.route("scale.grid","color","","borderColor"),Q.route("scale.border","color","","borderColor"),Q.route("scale.title","color","","color"),Q.describe("scale",{_fallback:!1,_scriptable:(G)=>!G.startsWith("before")&&!G.startsWith("after")&&G!=="callback"&&G!=="parser",_indexable:(G)=>G!=="borderDash"&&G!=="tickBorderDash"&&G!=="dash"}),Q.describe("scales",{_fallback:"scale"}),Q.describe("scale.ticks",{_scriptable:(G)=>G!=="backdropPadding"&&G!=="callback",_indexable:(G)=>G!=="backdropPadding"})}var Y4=Object.create(null),Z2=Object.create(null);function gQ(Q,G){if(!G)return Q;let J=G.split(".");for(let Y=0,U=J.length;Y<U;++Y){let B=J[Y];Q=Q[B]||(Q[B]=Object.create(null))}return Q}function pU(Q,G,J){if(typeof G==="string")return y9(gQ(Q,G),J);return y9(gQ(Q,""),G)}class vz{constructor(Q,G){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=(J)=>J.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(J,Y)=>dU(Y.backgroundColor),this.hoverBorderColor=(J,Y)=>dU(Y.borderColor),this.hoverColor=(J,Y)=>dU(Y.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(Q),this.apply(G)}set(Q,G){return pU(this,Q,G)}get(Q){return gQ(this,Q)}describe(Q,G){return pU(Z2,Q,G)}override(Q,G){return pU(Y4,Q,G)}route(Q,G,J,Y){let U=gQ(this,Q),B=gQ(this,J),M="_"+G;Object.defineProperties(U,{[M]:{value:U[G],writable:!0},[G]:{enumerable:!0,get(){let H=this[M],F=B[Y];if(n0(H))return Object.assign({},F,H);return x0(H,F)},set(H){this[M]=H}}})}apply(Q){Q.forEach((G)=>G(this))}}var j5=new vz({_scriptable:(Q)=>!Q.startsWith("on"),_indexable:(Q)=>Q!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[GC,JC,UC]);function KC(Q){if(!Q||t0(Q.size)||t0(Q.family))return null;return(Q.style?Q.style+" ":"")+(Q.weight?Q.weight+" ":"")+Q.size+"px "+Q.family}function xQ(Q,G,J,Y,U){let B=G[U];if(!B)B=G[U]=Q.measureText(U).width,J.push(U);if(B>Y)Y=B;return Y}function kz(Q,G,J,Y){Y=Y||{};let U=Y.data=Y.data||{},B=Y.garbageCollect=Y.garbageCollect||[];if(Y.font!==G)U=Y.data={},B=Y.garbageCollect=[],Y.font=G;Q.save(),Q.font=G;let M=0,H=J.length,F,z,L,V,T;for(F=0;F<H;F++)if(V=J[F],V!==void 0&&V!==null&&!V5(V))M=xQ(Q,U,B,M,V);else if(V5(V)){for(z=0,L=V.length;z<L;z++)if(T=V[z],T!==void 0&&T!==null&&!V5(T))M=xQ(Q,U,B,M,T)}Q.restore();let P=B.length/2;if(P>J.length){for(F=0;F<P;F++)delete U[B[F]];B.splice(0,P)}return M}function U4(Q,G,J){let Y=Q.currentDevicePixelRatio,U=J!==0?Math.max(J/2,0.5):0;return Math.round((G-U)*Y)/Y+U}function ZK(Q,G){if(!G&&!Q)return;G=G||Q.getContext("2d"),G.save(),G.resetTransform(),G.clearRect(0,0,Q.width,Q.height),G.restore()}function Q2(Q,G,J,Y){QK(Q,G,J,Y,null)}function QK(Q,G,J,Y,U){let B,M,H,F,z,L,V,T,P=G.pointStyle,I=G.rotation,D=G.radius,C=(I||0)*eP;if(P&&typeof P==="object"){if(B=P.toString(),B==="[object HTMLImageElement]"||B==="[object HTMLCanvasElement]"){Q.save(),Q.translate(J,Y),Q.rotate(C),Q.drawImage(P,-P.width/2,-P.height/2,P.width,P.height),Q.restore();return}}if(isNaN(D)||D<=0)return;switch(Q.beginPath(),P){default:if(U)Q.ellipse(J,Y,U/2,D,0,0,f8);else Q.arc(J,Y,D,0,f8);Q.closePath();break;case"triangle":L=U?U/2:D,Q.moveTo(J+Math.sin(C)*L,Y-Math.cos(C)*D),C+=Xz,Q.lineTo(J+Math.sin(C)*L,Y-Math.cos(C)*D),C+=Xz,Q.lineTo(J+Math.sin(C)*L,Y-Math.cos(C)*D),Q.closePath();break;case"rectRounded":z=D*0.516,F=D-z,M=Math.cos(C+N7)*F,V=Math.cos(C+N7)*(U?U/2-z:F),H=Math.sin(C+N7)*F,T=Math.sin(C+N7)*(U?U/2-z:F),Q.arc(J-V,Y-H,z,C-b5,C-b8),Q.arc(J+T,Y-M,z,C-b8,C),Q.arc(J+V,Y+H,z,C,C+b8),Q.arc(J-T,Y+M,z,C+b8,C+b5),Q.closePath();break;case"rect":if(!I){F=Math.SQRT1_2*D,L=U?U/2:F,Q.rect(J-L,Y-F,2*L,2*F);break}C+=N7;case"rectRot":V=Math.cos(C)*(U?U/2:D),M=Math.cos(C)*D,H=Math.sin(C)*D,T=Math.sin(C)*(U?U/2:D),Q.moveTo(J-V,Y-H),Q.lineTo(J+T,Y-M),Q.lineTo(J+V,Y+H),Q.lineTo(J-T,Y+M),Q.closePath();break;case"crossRot":C+=N7;case"cross":V=Math.cos(C)*(U?U/2:D),M=Math.cos(C)*D,H=Math.sin(C)*D,T=Math.sin(C)*(U?U/2:D),Q.moveTo(J-V,Y-H),Q.lineTo(J+V,Y+H),Q.moveTo(J+T,Y-M),Q.lineTo(J-T,Y+M);break;case"star":V=Math.cos(C)*(U?U/2:D),M=Math.cos(C)*D,H=Math.sin(C)*D,T=Math.sin(C)*(U?U/2:D),Q.moveTo(J-V,Y-H),Q.lineTo(J+V,Y+H),Q.moveTo(J+T,Y-M),Q.lineTo(J-T,Y+M),C+=N7,V=Math.cos(C)*(U?U/2:D),M=Math.cos(C)*D,H=Math.sin(C)*D,T=Math.sin(C)*(U?U/2:D),Q.moveTo(J-V,Y-H),Q.lineTo(J+V,Y+H),Q.moveTo(J+T,Y-M),Q.lineTo(J-T,Y+M);break;case"line":M=U?U/2:Math.cos(C)*D,H=Math.sin(C)*D,Q.moveTo(J-M,Y-H),Q.lineTo(J+M,Y+H);break;case"dash":Q.moveTo(J,Y),Q.lineTo(J+Math.cos(C)*(U?U/2:D),Y+Math.sin(C)*D);break;case!1:Q.closePath();break}if(Q.fill(),G.borderWidth>0)Q.stroke()}function R$(Q,G,J){return J=J||0.5,!G||Q&&Q.x>G.left-J&&Q.x<G.right+J&&Q.y>G.top-J&&Q.y<G.bottom+J}function mQ(Q,G){Q.save(),Q.beginPath(),Q.rect(G.left,G.top,G.right-G.left,G.bottom-G.top),Q.clip()}function dQ(Q){Q.restore()}function bz(Q,G,J,Y,U){if(!G)return Q.lineTo(J.x,J.y);if(U==="middle"){let B=(G.x+J.x)/2;Q.lineTo(B,G.y),Q.lineTo(B,J.y)}else if(U==="after"!==!!Y)Q.lineTo(G.x,J.y);else Q.lineTo(J.x,G.y);Q.lineTo(J.x,J.y)}function fz(Q,G,J,Y){if(!G)return Q.lineTo(J.x,J.y);Q.bezierCurveTo(Y?G.cp1x:G.cp2x,Y?G.cp1y:G.cp2y,Y?J.cp2x:J.cp1x,Y?J.cp2y:J.cp1y,J.x,J.y)}function BC(Q,G){if(G.translation)Q.translate(G.translation[0],G.translation[1]);if(!t0(G.rotation))Q.rotate(G.rotation);if(G.color)Q.fillStyle=G.color;if(G.textAlign)Q.textAlign=G.textAlign;if(G.textBaseline)Q.textBaseline=G.textBaseline}function NC(Q,G,J,Y,U){if(U.strikethrough||U.underline){let B=Q.measureText(Y),M=G-B.actualBoundingBoxLeft,H=G+B.actualBoundingBoxRight,F=J-B.actualBoundingBoxAscent,z=J+B.actualBoundingBoxDescent,L=U.strikethrough?(F+z)/2:z;Q.strokeStyle=Q.fillStyle,Q.beginPath(),Q.lineWidth=U.decorationWidth||2,Q.moveTo(M,L),Q.lineTo(H,L),Q.stroke()}}function MC(Q,G){let J=Q.fillStyle;Q.fillStyle=G.color,Q.fillRect(G.left,G.top,G.width,G.height),Q.fillStyle=J}function K4(Q,G,J,Y,U,B={}){let M=V5(G)?G:[G],H=B.strokeWidth>0&&B.strokeColor!=="",F,z;Q.save(),Q.font=U.string,BC(Q,B);for(F=0;F<M.length;++F){if(z=M[F],B.backdrop)MC(Q,B.backdrop);if(H){if(B.strokeColor)Q.strokeStyle=B.strokeColor;if(!t0(B.strokeWidth))Q.lineWidth=B.strokeWidth;Q.strokeText(z,J,Y,B.maxWidth)}Q.fillText(z,J,Y,B.maxWidth),NC(Q,J,Y,z,B),Y+=Number(U.lineHeight)}Q.restore()}function d9(Q,G){let{x:J,y:Y,w:U,h:B,radius:M}=G;Q.arc(J+M.topLeft,Y+M.topLeft,M.topLeft,1.5*b5,b5,!0),Q.lineTo(J,Y+B-M.bottomLeft),Q.arc(J+M.bottomLeft,Y+B-M.bottomLeft,M.bottomLeft,b5,b8,!0),Q.lineTo(J+U-M.bottomRight,Y+B),Q.arc(J+U-M.bottomRight,Y+B-M.bottomRight,M.bottomRight,b8,0,!0),Q.lineTo(J+U,Y+M.topRight),Q.arc(J+U-M.topRight,Y+M.topRight,M.topRight,0,-b8,!0),Q.lineTo(J+M.topLeft,Y)}var HC=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,FC=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function WC(Q,G){let J=(""+Q).match(HC);if(!J||J[1]==="normal")return G*1.2;switch(Q=+J[2],J[3]){case"px":return Q;case"%":Q/=100;break}return G*Q}var RC=(Q)=>+Q||0;function qK(Q,G){let J={},Y=n0(G),U=Y?Object.keys(G):G,B=n0(Q)?Y?(M)=>x0(Q[M],Q[G[M]]):(M)=>Q[M]:()=>Q;for(let M of U)J[M]=RC(B(M));return J}function GK(Q){return qK(Q,{top:"y",right:"x",bottom:"y",left:"x"})}function B4(Q){return qK(Q,["topLeft","topRight","bottomLeft","bottomRight"])}function X8(Q){let G=GK(Q);return G.width=G.left+G.right,G.height=G.top+G.bottom,G}function p5(Q,G){Q=Q||{},G=G||j5.font;let J=x0(Q.size,G.size);if(typeof J==="string")J=parseInt(J,10);let Y=x0(Q.style,G.style);if(Y&&!(""+Y).match(FC))console.warn('Invalid font style specified: "'+Y+'"'),Y=void 0;let U={family:x0(Q.family,G.family),lineHeight:WC(x0(Q.lineHeight,G.lineHeight),J),size:J,style:Y,weight:x0(Q.weight,G.weight),string:""};return U.string=KC(U),U}function pQ(Q,G,J,Y){let U=!0,B,M,H;for(B=0,M=Q.length;B<M;++B){if(H=Q[B],H===void 0)continue;if(G!==void 0&&typeof H==="function")H=H(G),U=!1;if(J!==void 0&&V5(H))H=H[J%H.length],U=!1;if(H!==void 0){if(Y&&!U)Y.cacheable=!1;return H}}}function yz(Q,G,J){let{min:Y,max:U}=Q,B=Rz(G,(U-Y)/2),M=(H,F)=>J&&H===0?0:H+F;return{min:M(Y,-Math.abs(B)),max:M(U,B)}}function Q6(Q,G){return Object.assign(Object.create(Q),G)}function q2(Q,G=[""],J,Y,U=()=>Q[0]){let B=J||Q;if(typeof Y>"u")Y=hz("_fallback",Q);let M={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:Q,_rootScopes:B,_fallback:Y,_getTarget:U,override:(H)=>q2([H,...Q],G,B,Y)};return new Proxy(M,{deleteProperty(H,F){return delete H[F],delete H._keys,delete Q[0][F],!0},get(H,F){return gz(H,F,()=>PC(F,G,Q,H))},getOwnPropertyDescriptor(H,F){return Reflect.getOwnPropertyDescriptor(H._scopes[0],F)},getPrototypeOf(){return Reflect.getPrototypeOf(Q[0])},has(H,F){return Nz(H).includes(F)},ownKeys(H){return Nz(H)},set(H,F,z){let L=H._storage||(H._storage=U());return H[F]=L[F]=z,delete H._keys,!0}})}function H7(Q,G,J,Y){let U={_cacheable:!1,_proxy:Q,_context:G,_subProxy:J,_stack:new Set,_descriptors:JK(Q,Y),setContext:(B)=>H7(Q,B,J,Y),override:(B)=>H7(Q.override(B),G,J,Y)};return new Proxy(U,{deleteProperty(B,M){return delete B[M],delete Q[M],!0},get(B,M,H){return gz(B,M,()=>LC(B,M,H))},getOwnPropertyDescriptor(B,M){return B._descriptors.allKeys?Reflect.has(Q,M)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(Q,M)},getPrototypeOf(){return Reflect.getPrototypeOf(Q)},has(B,M){return Reflect.has(Q,M)},ownKeys(){return Reflect.ownKeys(Q)},set(B,M,H){return Q[M]=H,delete B[M],!0}})}function JK(Q,G={scriptable:!0,indexable:!0}){let{_scriptable:J=G.scriptable,_indexable:Y=G.indexable,_allKeys:U=G.allKeys}=Q;return{allKeys:U,scriptable:J,indexable:Y,isScriptable:t$(J)?J:()=>J,isIndexable:t$(Y)?Y:()=>Y}}var zC=(Q,G)=>Q?Q+iJ(G):G,XK=(Q,G)=>n0(G)&&Q!=="adapters"&&(Object.getPrototypeOf(G)===null||G.constructor===Object);function gz(Q,G,J){if(Object.prototype.hasOwnProperty.call(Q,G)||G==="constructor")return Q[G];let Y=J();return Q[G]=Y,Y}function LC(Q,G,J){let{_proxy:Y,_context:U,_subProxy:B,_descriptors:M}=Q,H=Y[G];if(t$(H)&&M.isScriptable(G))H=VC(G,H,Q,J);if(V5(H)&&H.length)H=_C(G,H,Q,M.isIndexable);if(XK(G,H))H=H7(H,U,B&&B[G],M);return H}function VC(Q,G,J,Y){let{_proxy:U,_context:B,_subProxy:M,_stack:H}=J;if(H.has(Q))throw Error("Recursion detected: "+Array.from(H).join("->")+"->"+Q);H.add(Q);let F=G(B,M||Y);if(H.delete(Q),XK(Q,F))F=YK(U._scopes,U,Q,F);return F}function _C(Q,G,J,Y){let{_proxy:U,_context:B,_subProxy:M,_descriptors:H}=J;if(typeof B.index<"u"&&Y(Q))return G[B.index%G.length];else if(n0(G[0])){let F=G,z=U._scopes.filter((L)=>L!==F);G=[];for(let L of F){let V=YK(z,U,Q,L);G.push(H7(V,B,M&&M[Q],H))}}return G}function xz(Q,G,J){return t$(Q)?Q(G,J):Q}var TC=(Q,G)=>Q===!0?G:typeof Q==="string"?F7(G,Q):void 0;function EC(Q,G,J,Y,U){for(let B of G){let M=TC(J,B);if(M){Q.add(M);let H=xz(M._fallback,J,U);if(typeof H<"u"&&H!==J&&H!==Y)return H}else if(M===!1&&typeof Y<"u"&&J!==Y)return null}return!1}function YK(Q,G,J,Y){let U=G._rootScopes,B=xz(G._fallback,J,Y),M=[...Q,...U],H=new Set;H.add(Y);let F=Bz(H,M,J,B||J,Y);if(F===null)return!1;if(typeof B<"u"&&B!==J){if(F=Bz(H,M,B,F,Y),F===null)return!1}return q2(Array.from(H),[""],U,B,()=>wC(G,J,Y))}function Bz(Q,G,J,Y,U){while(J)J=EC(Q,G,J,Y,U);return J}function wC(Q,G,J){let Y=Q._getTarget();if(!(G in Y))Y[G]={};let U=Y[G];if(V5(U)&&n0(J))return J;return U||{}}function PC(Q,G,J,Y){let U;for(let B of G)if(U=hz(zC(B,Q),J),typeof U<"u")return XK(Q,U)?YK(J,Y,Q,U):U}function hz(Q,G){for(let J of G){if(!J)continue;let Y=J[Q];if(typeof Y<"u")return Y}}function Nz(Q){let G=Q._keys;if(!G)G=Q._keys=CC(Q._scopes);return G}function CC(Q){let G=new Set;for(let J of Q)for(let Y of Object.keys(J).filter((U)=>!U.startsWith("_")))G.add(Y);return Array.from(G)}var IC=Number.EPSILON||0.00000000000001,g9=(Q,G)=>G<Q.length&&!Q[G].skip&&Q[G],uz=(Q)=>Q==="x"?"y":"x";function OC(Q,G,J,Y){let U=Q.skip?G:Q,B=G,M=J.skip?G:J,H=nJ(B,U),F=nJ(M,B),z=H/(H+F),L=F/(H+F);z=isNaN(z)?0:z,L=isNaN(L)?0:L;let V=Y*z,T=Y*L;return{previous:{x:B.x-V*(M.x-U.x),y:B.y-V*(M.y-U.y)},next:{x:B.x+T*(M.x-U.x),y:B.y+T*(M.y-U.y)}}}function jC(Q,G,J){let Y=Q.length,U,B,M,H,F,z=g9(Q,0);for(let L=0;L<Y-1;++L){if(F=z,z=g9(Q,L+1),!F||!z)continue;if(u9(G[L],0,IC)){J[L]=J[L+1]=0;continue}if(U=J[L]/G[L],B=J[L+1]/G[L],H=Math.pow(U,2)+Math.pow(B,2),H<=9)continue;M=3/Math.sqrt(H),J[L]=U*M*G[L],J[L+1]=B*M*G[L]}}function AC(Q,G,J="x"){let Y=uz(J),U=Q.length,B,M,H,F=g9(Q,0);for(let z=0;z<U;++z){if(M=H,H=F,F=g9(Q,z+1),!H)continue;let L=H[J],V=H[Y];if(M)B=(L-M[J])/3,H[`cp1${J}`]=L-B,H[`cp1${Y}`]=V-B*G[z];if(F)B=(F[J]-L)/3,H[`cp2${J}`]=L+B,H[`cp2${Y}`]=V+B*G[z]}}function DC(Q,G="x"){let J=uz(G),Y=Q.length,U=Array(Y).fill(0),B=Array(Y),M,H,F,z=g9(Q,0);for(M=0;M<Y;++M){if(H=F,F=z,z=g9(Q,M+1),!F)continue;if(z){let L=z[G]-F[G];U[M]=L!==0?(z[J]-F[J])/L:0}B[M]=!H?U[M]:!z?U[M-1]:y1(U[M-1])!==y1(U[M])?0:(U[M-1]+U[M])/2}jC(Q,U,B),AC(Q,B,G)}function cJ(Q,G,J){return Math.max(Math.min(Q,J),G)}function SC(Q,G){let J,Y,U,B,M,H=R$(Q[0],G);for(J=0,Y=Q.length;J<Y;++J){if(M=B,B=H,H=J<Y-1&&R$(Q[J+1],G),!B)continue;if(U=Q[J],M)U.cp1x=cJ(U.cp1x,G.left,G.right),U.cp1y=cJ(U.cp1y,G.top,G.bottom);if(H)U.cp2x=cJ(U.cp2x,G.left,G.right),U.cp2y=cJ(U.cp2y,G.top,G.bottom)}}function mz(Q,G,J,Y,U){let B,M,H,F;if(G.spanGaps)Q=Q.filter((z)=>!z.skip);if(G.cubicInterpolationMode==="monotone")DC(Q,U);else{let z=Y?Q[Q.length-1]:Q[0];for(B=0,M=Q.length;B<M;++B)H=Q[B],F=OC(z,H,Q[Math.min(B+1,M-(Y?0:1))%M],G.tension),H.cp1x=F.previous.x,H.cp1y=F.previous.y,H.cp2x=F.next.x,H.cp2y=F.next.y,z=H}if(G.capBezierPoints)SC(Q,J)}function G2(){return typeof window<"u"&&typeof document<"u"}function J2(Q){let G=Q.parentNode;if(G&&G.toString()==="[object ShadowRoot]")G=G.host;return G}function oJ(Q,G,J){let Y;if(typeof Q==="string"){if(Y=parseInt(Q,10),Q.indexOf("%")!==-1)Y=Y/100*G.parentNode[J]}else Y=Q;return Y}var X2=(Q)=>Q.ownerDocument.defaultView.getComputedStyle(Q,null);function vC(Q,G){return X2(Q).getPropertyValue(G)}var kC=["top","right","bottom","left"];function M7(Q,G,J){let Y={};J=J?"-"+J:"";for(let U=0;U<4;U++){let B=kC[U];Y[B]=parseFloat(Q[G+"-"+B+J])||0}return Y.width=Y.left+Y.right,Y.height=Y.top+Y.bottom,Y}var bC=(Q,G,J)=>(Q>0||G>0)&&(!J||!J.shadowRoot);function fC(Q,G){let J=Q.touches,Y=J&&J.length?J[0]:Q,{offsetX:U,offsetY:B}=Y,M=!1,H,F;if(bC(U,B,Q.target))H=U,F=B;else{let z=G.getBoundingClientRect();H=Y.clientX-z.left,F=Y.clientY-z.top,M=!0}return{x:H,y:F,box:M}}function N4(Q,G){if("native"in Q)return Q;let{canvas:J,currentDevicePixelRatio:Y}=G,U=X2(J),B=U.boxSizing==="border-box",M=M7(U,"padding"),H=M7(U,"border","width"),{x:F,y:z,box:L}=fC(Q,J),V=M.left+(L&&H.left),T=M.top+(L&&H.top),{width:P,height:I}=G;if(B)P-=M.width+H.width,I-=M.height+H.height;return{x:Math.round((F-V)/P*J.width/Y),y:Math.round((z-T)/I*J.height/Y)}}function yC(Q,G,J){let Y,U;if(G===void 0||J===void 0){let B=Q&&J2(Q);if(!B)G=Q.clientWidth,J=Q.clientHeight;else{let M=B.getBoundingClientRect(),H=X2(B),F=M7(H,"border","width"),z=M7(H,"padding");G=M.width-z.width-F.width,J=M.height-z.height-F.height,Y=oJ(H.maxWidth,B,"clientWidth"),U=oJ(H.maxHeight,B,"clientHeight")}}return{width:G,height:J,maxWidth:Y||sJ,maxHeight:U||sJ}}var X4=(Q)=>Math.round(Q*10)/10;function dz(Q,G,J,Y){let U=X2(Q),B=M7(U,"margin"),M=oJ(U.maxWidth,Q,"clientWidth")||sJ,H=oJ(U.maxHeight,Q,"clientHeight")||sJ,F=yC(Q,G,J),{width:z,height:L}=F;if(U.boxSizing==="content-box"){let T=M7(U,"border","width"),P=M7(U,"padding");z-=P.width+T.width,L-=P.height+T.height}if(z=Math.max(0,z-B.width),L=Math.max(0,Y?z/Y:L-B.height),z=X4(Math.min(z,M,F.maxWidth)),L=X4(Math.min(L,H,F.maxHeight)),z&&!L)L=X4(z/2);if((G!==void 0||J!==void 0)&&Y&&F.height&&L>F.height)L=F.height,z=X4(Math.floor(L*Y));return{width:z,height:L}}function UK(Q,G,J){let Y=G||1,U=X4(Q.height*Y),B=X4(Q.width*Y);Q.height=X4(Q.height),Q.width=X4(Q.width);let M=Q.canvas;if(M.style&&(J||!M.style.height&&!M.style.width))M.style.height=`${Q.height}px`,M.style.width=`${Q.width}px`;if(Q.currentDevicePixelRatio!==Y||M.height!==U||M.width!==B)return Q.currentDevicePixelRatio=Y,M.height=U,M.width=B,Q.ctx.setTransform(Y,0,0,Y,0,0),!0;return!1}var pz=function(){let Q=!1;try{let G={get passive(){return Q=!0,!1}};if(G2())window.addEventListener("test",null,G),window.removeEventListener("test",null,G)}catch(G){}return Q}();function KK(Q,G){let J=vC(Q,G),Y=J&&J.match(/^(\d+)(\.\d+)?px$/);return Y?+Y[1]:void 0}function G4(Q,G,J,Y){return{x:Q.x+J*(G.x-Q.x),y:Q.y+J*(G.y-Q.y)}}function cz(Q,G,J,Y){return{x:Q.x+J*(G.x-Q.x),y:Y==="middle"?J<0.5?Q.y:G.y:Y==="after"?J<1?Q.y:G.y:J>0?G.y:Q.y}}function lz(Q,G,J,Y){let U={x:Q.cp2x,y:Q.cp2y},B={x:G.cp1x,y:G.cp1y},M=G4(Q,U,J),H=G4(U,B,J),F=G4(B,G,J),z=G4(M,H,J),L=G4(H,F,J);return G4(z,L,J)}var gC=function(Q,G){return{x(J){return Q+Q+G-J},setWidth(J){G=J},textAlign(J){if(J==="center")return J;return J==="right"?"left":"right"},xPlus(J,Y){return J-Y},leftForLtr(J,Y){return J-Y}}},xC=function(){return{x(Q){return Q},setWidth(Q){},textAlign(Q){return Q},xPlus(Q,G){return Q+G},leftForLtr(Q,G){return Q}}};function W7(Q,G,J){return Q?gC(G,J):xC()}function BK(Q,G){let J,Y;if(G==="ltr"||G==="rtl")J=Q.canvas.style,Y=[J.getPropertyValue("direction"),J.getPropertyPriority("direction")],J.setProperty("direction",G,"important"),Q.prevTextDirection=Y}function NK(Q,G){if(G!==void 0)delete Q.prevTextDirection,Q.canvas.style.setProperty("direction",G[0],G[1])}function rz(Q){if(Q==="angle")return{between:nU,compare:ZC,normalize:k8};return{between:Z6,compare:(G,J)=>G-J,normalize:(G)=>G}}function Mz({start:Q,end:G,count:J,loop:Y,style:U}){return{start:Q%J,end:G%J,loop:Y&&(G-Q+1)%J===0,style:U}}function hC(Q,G,J){let{property:Y,start:U,end:B}=J,{between:M,normalize:H}=rz(Y),F=G.length,{start:z,end:L,loop:V}=Q,T,P;if(V){z+=F,L+=F;for(T=0,P=F;T<P;++T){if(!M(H(G[z%F][Y]),U,B))break;z--,L--}z%=F,L%=F}if(L<z)L+=F;return{start:z,end:L,loop:V,style:Q.style}}function MK(Q,G,J){if(!J)return[Q];let{property:Y,start:U,end:B}=J,M=G.length,{compare:H,between:F,normalize:z}=rz(Y),{start:L,end:V,loop:T,style:P}=hC(Q,G,J),I=[],D=!1,C=null,g,m,o,i=()=>F(U,o,g)&&H(U,o)!==0,s=()=>H(B,g)===0||F(B,o,g),Q0=()=>D||i(),p=()=>!D||s();for(let a=L,Y0=L;a<=V;++a){if(m=G[a%M],m.skip)continue;if(g=z(m[Y]),g===o)continue;if(D=F(g,U,B),C===null&&Q0())C=H(g,U)===0?a:Y0;if(C!==null&&p())I.push(Mz({start:C,end:a,loop:T,count:M,style:P})),C=null;Y0=a,o=g}if(C!==null)I.push(Mz({start:C,end:V,loop:T,count:M,style:P}));return I}function HK(Q,G){let J=[],Y=Q.segments;for(let U=0;U<Y.length;U++){let B=MK(Y[U],Q.points,G);if(B.length)J.push(...B)}return J}function uC(Q,G,J,Y){let U=0,B=G-1;if(J&&!Y)while(U<G&&!Q[U].skip)U++;while(U<G&&Q[U].skip)U++;if(U%=G,J)B+=U;while(B>U&&Q[B%G].skip)B--;return B%=G,{start:U,end:B}}function mC(Q,G,J,Y){let U=Q.length,B=[],M=G,H=Q[G],F;for(F=G+1;F<=J;++F){let z=Q[F%U];if(z.skip||z.stop){if(!H.skip)Y=!1,B.push({start:G%U,end:(F-1)%U,loop:Y}),G=M=z.stop?F:null}else if(M=F,H.skip)G=F;H=z}if(M!==null)B.push({start:G%U,end:M%U,loop:Y});return B}function sz(Q,G){let J=Q.points,Y=Q.options.spanGaps,U=J.length;if(!U)return[];let B=!!Q._loop,{start:M,end:H}=uC(J,U,B,Y);if(Y===!0)return Hz(Q,[{start:M,end:H,loop:B}],J,G);let F=H<M?H+U:H,z=!!Q._fullLoop&&M===0&&H===U-1;return Hz(Q,mC(J,M,F,z),J,G)}function Hz(Q,G,J,Y){if(!Y||!Y.setContext||!J)return G;return dC(Q,G,J,Y)}function dC(Q,G,J,Y){let U=Q._chart.getContext(),B=Fz(Q.options),{_datasetIndex:M,options:{spanGaps:H}}=Q,F=J.length,z=[],L=B,V=G[0].start,T=V;function P(I,D,C,g){let m=H?-1:1;if(I===D)return;I+=F;while(J[I%F].skip)I-=m;while(J[D%F].skip)D+=m;if(I%F!==D%F)z.push({start:I%F,end:D%F,loop:C,style:g}),L=g,V=D%F}for(let I of G){V=H?V:I.start;let D=J[V%F],C;for(T=V+1;T<=I.end;T++){let g=J[T%F];if(C=Fz(Y.setContext(Q6(U,{type:"segment",p0:D,p1:g,p0DataIndex:(T-1)%F,p1DataIndex:T%F,datasetIndex:M}))),pC(C,L))P(V,T-1,I.loop,L);D=g,L=C}if(V<T-1)P(V,T-1,I.loop,L)}return z}function Fz(Q){return{backgroundColor:Q.backgroundColor,borderCapStyle:Q.borderCapStyle,borderDash:Q.borderDash,borderDashOffset:Q.borderDashOffset,borderJoinStyle:Q.borderJoinStyle,borderWidth:Q.borderWidth,borderColor:Q.borderColor}}function pC(Q,G){if(!G)return!1;let J=[],Y=function(U,B){if(!eU(B))return B;if(!J.includes(B))J.push(B);return J.indexOf(B)};return JSON.stringify(Q,Y)!==JSON.stringify(G,Y)}function lJ(Q,G,J){return Q.options.clip?Q[J]:G[J]}function cC(Q,G){let{xScale:J,yScale:Y}=Q;if(J&&Y)return{left:lJ(J,G,"left"),right:lJ(J,G,"right"),top:lJ(Y,G,"top"),bottom:lJ(Y,G,"bottom")};return G}function FK(Q,G){let J=G._clip;if(J.disabled)return!1;let Y=cC(G,Q.chartArea);return{left:J.left===!1?0:Y.left-(J.left===!0?0:J.left),right:J.right===!1?Q.width:Y.right+(J.right===!0?0:J.right),top:J.top===!1?0:Y.top-(J.top===!0?0:J.top),bottom:J.bottom===!1?Q.height:Y.bottom+(J.bottom===!0?0:J.bottom)}}/*!
251
251
  * Chart.js v4.5.1
252
252
  * https://www.chartjs.org
253
253
  * (c) 2025 Chart.js Contributors
254
254
  * Released under the MIT License
255
- */class cT{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(Q,J,q,Y){let U=J.listeners[Y],K=J.duration;U.forEach((H)=>H({chart:Q,initial:J.initial,numSteps:K,currentStep:Math.min(q-J.start,K)}))}_refresh(){if(this._request)return;this._running=!0,this._request=iU.call(window,()=>{if(this._update(),this._request=null,this._running)this._refresh()})}_update(Q=Date.now()){let J=0;if(this._charts.forEach((q,Y)=>{if(!q.running||!q.items.length)return;let U=q.items,K=U.length-1,H=!1,M;for(;K>=0;--K)if(M=U[K],M._active){if(M._total>q.duration)q.duration=M._total;M.tick(Q),H=!0}else U[K]=U[U.length-1],U.pop();if(H)Y.draw(),this._notify(Y,q,Q,"progress");if(!U.length)q.running=!1,this._notify(Y,q,Q,"complete"),q.initial=!1;J+=U.length}),this._lastDate=Q,J===0)this._running=!1}_getAnims(Q){let J=this._charts,q=J.get(Q);if(!q)q={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},J.set(Q,q);return q}listen(Q,J,q){this._getAnims(Q).listeners[J].push(q)}add(Q,J){if(!J||!J.length)return;this._getAnims(Q).items.push(...J)}has(Q){return this._getAnims(Q).items.length>0}start(Q){let J=this._charts.get(Q);if(!J)return;J.running=!0,J.start=Date.now(),J.duration=J.items.reduce((q,Y)=>Math.max(q,Y._duration),0),this._refresh()}running(Q){if(!this._running)return!1;let J=this._charts.get(Q);if(!J||!J.running||!J.items.length)return!1;return!0}stop(Q){let J=this._charts.get(Q);if(!J||!J.items.length)return;let q=J.items,Y=q.length-1;for(;Y>=0;--Y)q[Y].cancel();J.items=[],this._notify(Q,J,Date.now(),"complete")}remove(Q){return this._charts.delete(Q)}}var G6=new cT,nR="transparent",lC={boolean(Q,J,q){return q>0.5?J:Q},color(Q,J,q){let Y=$N(Q||nR),U=Y.valid&&$N(J||nR);return U&&U.valid?U.mix(Y,q).hexString():J},number(Q,J,q){return Q+(J-Q)*q}};class lT{constructor(Q,J,q,Y){let U=J[q];Y=pZ([Q.to,Y,U,Q.from]);let K=pZ([Q.from,U,Y]);this._active=!0,this._fn=Q.fn||lC[Q.type||typeof K],this._easing=f9[Q.easing]||f9.linear,this._start=Math.floor(Date.now()+(Q.delay||0)),this._duration=this._total=Math.floor(Q.duration),this._loop=!!Q.loop,this._target=J,this._prop=q,this._from=K,this._to=Y,this._promises=void 0}active(){return this._active}update(Q,J,q){if(this._active){this._notify(!1);let Y=this._target[this._prop],U=q-this._start,K=this._duration-U;this._start=q,this._duration=Math.floor(Math.max(K,Q.duration)),this._total+=U,this._loop=!!Q.loop,this._to=pZ([Q.to,J,Y,Q.from]),this._from=pZ([Q.from,Y,J])}}cancel(){if(this._active)this.tick(Date.now()),this._active=!1,this._notify(!1)}tick(Q){let J=Q-this._start,q=this._duration,Y=this._prop,U=this._from,K=this._loop,H=this._to,M;if(this._active=U!==H&&(K||J<q),!this._active){this._target[Y]=H,this._notify(!0);return}if(J<0){this._target[Y]=U;return}M=J/q%2,M=K&&M>1?2-M:M,M=this._easing(Math.min(1,Math.max(0,M))),this._target[Y]=this._fn(U,H,M)}wait(){let Q=this._promises||(this._promises=[]);return new Promise((J,q)=>{Q.push({res:J,rej:q})})}_notify(Q){let J=Q?"res":"rej",q=this._promises||[];for(let Y=0;Y<q.length;Y++)q[Y][J]()}}class bN{constructor(Q,J){this._chart=Q,this._properties=new Map,this.configure(J)}configure(Q){if(!n0(Q))return;let J=Object.keys(D1.animation),q=this._properties;Object.getOwnPropertyNames(Q).forEach((Y)=>{let U=Q[Y];if(!n0(U))return;let K={};for(let H of J)K[H]=U[H];(z1(U.properties)&&U.properties||[Y]).forEach((H)=>{if(H===Y||!q.has(H))q.set(H,K)})})}_animateOptions(Q,J){let q=J.options,Y=sC(Q,q);if(!Y)return[];let U=this._createAnimations(Y,q);if(q.$shared)rC(Q.options.$animations,q).then(()=>{Q.options=q},()=>{});return U}_createAnimations(Q,J){let q=this._properties,Y=[],U=Q.$animations||(Q.$animations={}),K=Object.keys(J),H=Date.now(),M;for(M=K.length-1;M>=0;--M){let F=K[M];if(F.charAt(0)==="$")continue;if(F==="options"){Y.push(...this._animateOptions(Q,J));continue}let R=J[F],T=U[F],z=q.get(F);if(T)if(z&&T.active()){T.update(z,R,H);continue}else T.cancel();if(!z||!z.duration){Q[F]=R;continue}U[F]=T=new lT(z,Q,F,R),Y.push(T)}return Y}update(Q,J){if(this._properties.size===0){Object.assign(Q,J);return}let q=this._createAnimations(Q,J);if(q.length)return G6.add(this._chart,q),!0}}function rC(Q,J){let q=[],Y=Object.keys(J);for(let U=0;U<Y.length;U++){let K=Q[Y[U]];if(K&&K.active())q.push(K.wait())}return Promise.all(q)}function sC(Q,J){if(!J)return;let q=Q.options;if(!q){Q.options=J;return}if(q.$shared)Q.options=q=Object.assign({},q,{$shared:!1,$animations:{}});return q}function oR(Q,J){let q=Q&&Q.options||{},Y=q.reverse,U=q.min===void 0?J:0,K=q.max===void 0?J:0;return{start:Y?K:U,end:Y?U:K}}function nC(Q,J,q){if(q===!1)return!1;let Y=oR(Q,q),U=oR(J,q);return{top:U.end,right:Y.end,bottom:U.start,left:Y.start}}function oC(Q){let J,q,Y,U;if(n0(Q))J=Q.top,q=Q.right,Y=Q.bottom,U=Q.left;else J=q=Y=U=Q;return{top:J,right:q,bottom:Y,left:U,disabled:Q===!1}}function rT(Q,J){let q=[],Y=Q._getSortedDatasetMetas(J),U,K;for(U=0,K=Y.length;U<K;++U)q.push(Y[U].index);return q}function aR(Q,J,q,Y={}){let U=Q.keys,K=Y.mode==="single",H,M,F,R;if(J===null)return;let T=!1;for(H=0,M=U.length;H<M;++H){if(F=+U[H],F===q){if(T=!0,Y.all)continue;break}if(R=Q.values[F],O1(R)&&(K||J===0||y4(J)===y4(R)))J+=R}if(!T&&!Y.all)return 0;return J}function aC(Q,J){let{iScale:q,vScale:Y}=J,U=q.axis==="x"?"x":"y",K=Y.axis==="x"?"x":"y",H=Object.keys(Q),M=Array(H.length),F,R,T;for(F=0,R=H.length;F<R;++F)T=H[F],M[F]={[U]:T,[K]:Q[T]};return M}function WN(Q,J){let q=Q&&Q.options.stacked;return q||q===void 0&&J.stack!==void 0}function iC(Q,J,q){return`${Q.id}.${J.id}.${q.stack||q.type}`}function tC(Q){let{min:J,max:q,minDefined:Y,maxDefined:U}=Q.getUserBounds();return{min:Y?J:Number.NEGATIVE_INFINITY,max:U?q:Number.POSITIVE_INFINITY}}function eC(Q,J,q){let Y=Q[J]||(Q[J]={});return Y[q]||(Y[q]={})}function iR(Q,J,q,Y){for(let U of J.getMatchingVisibleMetas(Y).reverse()){let K=Q[U.index];if(q&&K>0||!q&&K<0)return U.index}return null}function tR(Q,J){let{chart:q,_cachedMeta:Y}=Q,U=q._stacks||(q._stacks={}),{iScale:K,vScale:H,index:M}=Y,F=K.axis,R=H.axis,T=iC(K,H,Y),z=J.length,L;for(let P=0;P<z;++P){let I=J[P],{[F]:A,[R]:C}=I,g=I._stacks||(I._stacks={});L=g[R]=eC(U,T,A),L[M]=C,L._top=iR(L,H,!0,Y.type),L._bottom=iR(L,H,!1,Y.type);let m=L._visualValues||(L._visualValues={});m[M]=C}}function wN(Q,J){let q=Q.scales;return Object.keys(q).filter((Y)=>q[Y].axis===J).shift()}function $I(Q,J){return Q6(Q,{active:!1,dataset:void 0,datasetIndex:J,index:J,mode:"default",type:"dataset"})}function ZI(Q,J,q){return Q6(Q,{active:!1,dataIndex:J,parsed:void 0,raw:void 0,element:q,index:J,mode:"default",type:"data"})}function cZ(Q,J){let q=Q.controller.index,Y=Q.vScale&&Q.vScale.axis;if(!Y)return;J=J||Q._parsed;for(let U of J){let K=U._stacks;if(!K||K[Y]===void 0||K[Y][q]===void 0)return;if(delete K[Y][q],K[Y]._visualValues!==void 0&&K[Y]._visualValues[q]!==void 0)delete K[Y]._visualValues[q]}}var RN=(Q)=>Q==="reset"||Q==="none",eR=(Q,J)=>J?Q:Object.assign({},Q),QI=(Q,J,q)=>Q&&!J.hidden&&J._stacked&&{keys:rT(q,!0),values:null};class Wq{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(Q,J){this.chart=Q,this._ctx=Q.ctx,this.index=J,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let Q=this._cachedMeta;if(this.configure(),this.linkScales(),Q._stacked=WN(Q.vScale,Q),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler"))console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(Q){if(this.index!==Q)cZ(this._cachedMeta);this.index=Q}linkScales(){let Q=this.chart,J=this._cachedMeta,q=this.getDataset(),Y=(T,z,L,P)=>T==="x"?z:T==="r"?P:L,U=J.xAxisID=h0(q.xAxisID,wN(Q,"x")),K=J.yAxisID=h0(q.yAxisID,wN(Q,"y")),H=J.rAxisID=h0(q.rAxisID,wN(Q,"r")),M=J.indexAxis,F=J.iAxisID=Y(M,U,K,H),R=J.vAxisID=Y(M,K,U,H);J.xScale=this.getScaleForId(U),J.yScale=this.getScaleForId(K),J.rScale=this.getScaleForId(H),J.iScale=this.getScaleForId(F),J.vScale=this.getScaleForId(R)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(Q){return this.chart.scales[Q]}_getOtherScale(Q){let J=this._cachedMeta;return Q===J.iScale?J.vScale:J.iScale}reset(){this._update("reset")}_destroy(){let Q=this._cachedMeta;if(this._data)oU(this._data,this);if(Q._stacked)cZ(Q)}_dataCheck(){let Q=this.getDataset(),J=Q.data||(Q.data=[]),q=this._data;if(n0(J)){let Y=this._cachedMeta;this._data=aC(J,Y)}else if(q!==J){if(q){oU(q,this);let Y=this._cachedMeta;cZ(Y),Y._parsed=[]}if(J&&Object.isExtensible(J))IR(J,this);this._syncList=[],this._data=J}}addElements(){let Q=this._cachedMeta;if(this._dataCheck(),this.datasetElementType)Q.dataset=new this.datasetElementType}buildOrUpdateElements(Q){let J=this._cachedMeta,q=this.getDataset(),Y=!1;this._dataCheck();let U=J._stacked;if(J._stacked=WN(J.vScale,J),J.stack!==q.stack)Y=!0,cZ(J),J.stack=q.stack;if(this._resyncElements(Q),Y||U!==J._stacked)tR(this,J._parsed),J._stacked=WN(J.vScale,J)}configure(){let Q=this.chart.config,J=Q.datasetScopeKeys(this._type),q=Q.getOptionScopes(this.getDataset(),J,!0);this.options=Q.createResolver(q,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(Q,J){let{_cachedMeta:q,_data:Y}=this,{iScale:U,_stacked:K}=q,H=U.axis,M=Q===0&&J===Y.length?!0:q._sorted,F=Q>0&&q._parsed[Q-1],R,T,z;if(this._parsing===!1)q._parsed=Y,q._sorted=!0,z=Y;else{if(z1(Y[Q]))z=this.parseArrayData(q,Y,Q,J);else if(n0(Y[Q]))z=this.parseObjectData(q,Y,Q,J);else z=this.parsePrimitiveData(q,Y,Q,J);let L=()=>T[H]===null||F&&T[H]<F[H];for(R=0;R<J;++R)if(q._parsed[R+Q]=T=z[R],M){if(L())M=!1;F=T}q._sorted=M}if(K)tR(this,z)}parsePrimitiveData(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.axis,M=K.axis,F=U.getLabels(),R=U===K,T=Array(Y),z,L,P;for(z=0,L=Y;z<L;++z)P=z+q,T[z]={[H]:R||U.parse(F[P],P),[M]:K.parse(J[P],P)};return T}parseArrayData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,H=Array(Y),M,F,R,T;for(M=0,F=Y;M<F;++M)R=M+q,T=J[R],H[M]={x:U.parse(T[0],R),y:K.parse(T[1],R)};return H}parseObjectData(Q,J,q,Y){let{xScale:U,yScale:K}=Q,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,F=Array(Y),R,T,z,L;for(R=0,T=Y;R<T;++R)z=R+q,L=J[z],F[R]={x:U.parse(F$(L,H),z),y:K.parse(F$(L,M),z)};return F}getParsed(Q){return this._cachedMeta._parsed[Q]}getDataElement(Q){return this._cachedMeta.data[Q]}applyStack(Q,J,q){let Y=this.chart,U=this._cachedMeta,K=J[Q.axis],H={keys:rT(Y,!0),values:J._stacks[Q.axis]._visualValues};return aR(H,K,U.index,{mode:q})}updateRangeFromParsed(Q,J,q,Y){let U=q[J.axis],K=U===null?NaN:U,H=Y&&q._stacks[J.axis];if(Y&&H)Y.values=H,K=aR(Y,U,this._cachedMeta.index);Q.min=Math.min(Q.min,K),Q.max=Math.max(Q.max,K)}getMinMax(Q,J){let q=this._cachedMeta,Y=q._parsed,U=q._sorted&&Q===q.iScale,K=Y.length,H=this._getOtherScale(Q),M=QI(J,q,this.chart),F={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:R,max:T}=tC(H),z,L;function P(){L=Y[z];let I=L[H.axis];return!O1(L[Q.axis])||R>I||T<I}for(z=0;z<K;++z){if(P())continue;if(this.updateRangeFromParsed(F,Q,L,M),U)break}if(U)for(z=K-1;z>=0;--z){if(P())continue;this.updateRangeFromParsed(F,Q,L,M);break}return F}getAllParsedValues(Q){let J=this._cachedMeta._parsed,q=[],Y,U,K;for(Y=0,U=J.length;Y<U;++Y)if(K=J[Y][Q.axis],O1(K))q.push(K);return q}getMaxOverflow(){return!1}getLabelAndValue(Q){let J=this._cachedMeta,q=J.iScale,Y=J.vScale,U=this.getParsed(Q);return{label:q?""+q.getLabelForValue(U[q.axis]):"",value:Y?""+Y.getLabelForValue(U[Y.axis]):""}}_update(Q){let J=this._cachedMeta;this.update(Q||"default"),J._clip=oC(h0(this.options.clip,nC(J.xScale,J.yScale,this.getMaxOverflow())))}update(Q){}draw(){let Q=this._ctx,J=this.chart,q=this._cachedMeta,Y=q.data||[],U=J.chartArea,K=[],H=this._drawStart||0,M=this._drawCount||Y.length-H,F=this.options.drawActiveElementsOnTop,R;if(q.dataset)q.dataset.draw(Q,U,H,M);for(R=H;R<H+M;++R){let T=Y[R];if(T.hidden)continue;if(T.active&&F)K.push(T);else T.draw(Q,U)}for(R=0;R<K.length;++R)K[R].draw(Q,U)}getStyle(Q,J){let q=J?"active":"default";return Q===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(q):this.resolveDataElementOptions(Q||0,q)}getContext(Q,J,q){let Y=this.getDataset(),U;if(Q>=0&&Q<this._cachedMeta.data.length){let K=this._cachedMeta.data[Q];U=K.$context||(K.$context=ZI(this.getContext(),Q,K)),U.parsed=this.getParsed(Q),U.raw=Y.data[Q],U.index=U.dataIndex=Q}else U=this.$context||(this.$context=$I(this.chart.getContext(),this.index)),U.dataset=Y,U.index=U.datasetIndex=this.index;return U.active=!!J,U.mode=q,U}resolveDatasetElementOptions(Q){return this._resolveElementOptions(this.datasetElementType.id,Q)}resolveDataElementOptions(Q,J){return this._resolveElementOptions(this.dataElementType.id,J,Q)}_resolveElementOptions(Q,J="default",q){let Y=J==="active",U=this._cachedDataOpts,K=Q+"-"+J,H=U[K],M=this.enableOptionSharing&&x9(q);if(H)return eR(H,M);let F=this.chart.config,R=F.datasetElementScopeKeys(this._type,Q),T=Y?[`${Q}Hover`,"hover",Q,""]:[Q,""],z=F.getOptionScopes(this.getDataset(),R),L=Object.keys(D1.elements[Q]),P=()=>this.getContext(q,Y,J),I=F.resolveNamedOptions(z,L,P,T);if(I.$shared)I.$shared=M,U[K]=Object.freeze(eR(I,M));return I}_resolveAnimations(Q,J,q){let Y=this.chart,U=this._cachedDataOpts,K=`animation-${J}`,H=U[K];if(H)return H;let M;if(Y.options.animation!==!1){let R=this.chart.config,T=R.datasetAnimationScopeKeys(this._type,J),z=R.getOptionScopes(this.getDataset(),T);M=R.createResolver(z,this.getContext(Q,q,J))}let F=new bN(Y,M&&M.animations);if(M&&M._cacheable)U[K]=Object.freeze(F);return F}getSharedOptions(Q){if(!Q.$shared)return;return this._sharedOptions||(this._sharedOptions=Object.assign({},Q))}includeOptions(Q,J){return!J||RN(Q)||this.chart._animationsDisabled}_getSharedOptions(Q,J){let q=this.resolveDataElementOptions(Q,J),Y=this._sharedOptions,U=this.getSharedOptions(q),K=this.includeOptions(J,U)||U!==Y;return this.updateSharedOptions(U,J,q),{sharedOptions:U,includeOptions:K}}updateElement(Q,J,q,Y){if(RN(Y))Object.assign(Q,q);else this._resolveAnimations(J,Y).update(Q,q)}updateSharedOptions(Q,J,q){if(Q&&!RN(J))this._resolveAnimations(void 0,J).update(Q,q)}_setStyle(Q,J,q,Y){Q.active=Y;let U=this.getStyle(J,Y);this._resolveAnimations(J,q,Y).update(Q,{options:!Y&&this.getSharedOptions(U)||U})}removeHoverStyle(Q,J,q){this._setStyle(Q,q,"active",!1)}setHoverStyle(Q,J,q){this._setStyle(Q,q,"active",!0)}_removeDatasetHoverStyle(){let Q=this._cachedMeta.dataset;if(Q)this._setStyle(Q,void 0,"active",!1)}_setDatasetHoverStyle(){let Q=this._cachedMeta.dataset;if(Q)this._setStyle(Q,void 0,"active",!0)}_resyncElements(Q){let J=this._data,q=this._cachedMeta.data;for(let[H,M,F]of this._syncList)this[H](M,F);this._syncList=[];let Y=q.length,U=J.length,K=Math.min(U,Y);if(K)this.parse(0,K);if(U>Y)this._insertElements(Y,U-Y,Q);else if(U<Y)this._removeElements(U,Y-U)}_insertElements(Q,J,q=!0){let Y=this._cachedMeta,U=Y.data,K=Q+J,H,M=(F)=>{F.length+=J;for(H=F.length-1;H>=K;H--)F[H]=F[H-J]};M(U);for(H=Q;H<K;++H)U[H]=new this.dataElementType;if(this._parsing)M(Y._parsed);if(this.parse(Q,J),q)this.updateElements(U,Q,J,"reset")}updateElements(Q,J,q,Y){}_removeElements(Q,J){let q=this._cachedMeta;if(this._parsing){let Y=q._parsed.splice(Q,J);if(q._stacked)cZ(q,Y)}q.data.splice(Q,J)}_sync(Q){if(this._parsing)this._syncList.push(Q);else{let[J,q,Y]=Q;this[J](q,Y)}this.chart._dataChanges.push([this.index,...Q])}_onDataPush(){let Q=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-Q,Q])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(Q,J){if(J)this._sync(["_removeElements",Q,J]);let q=arguments.length-2;if(q)this._sync(["_insertElements",Q,q])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function GI(Q,J){if(!Q._cache.$bar){let q=Q.getMatchingVisibleMetas(J),Y=[];for(let U=0,K=q.length;U<K;U++)Y=Y.concat(q[U].controller.getAllParsedValues(Q));Q._cache.$bar=aU(Y.sort((U,K)=>U-K))}return Q._cache.$bar}function JI(Q){let J=Q.iScale,q=GI(J,Q.type),Y=J._length,U,K,H,M,F=()=>{if(H===32767||H===-32768)return;if(x9(M))Y=Math.min(Y,Math.abs(H-M)||Y);M=H};for(U=0,K=q.length;U<K;++U)H=J.getPixelForValue(q[U]),F();M=void 0;for(U=0,K=J.ticks.length;U<K;++U)H=J.getPixelForTick(U),F();return Y}function qI(Q,J,q,Y){let U=q.barThickness,K,H;if(t0(U))K=J.min*q.categoryPercentage,H=q.barPercentage;else K=U*Y,H=1;return{chunk:K/Y,ratio:H,start:J.pixels[Q]-K/2}}function XI(Q,J,q,Y){let U=J.pixels,K=U[Q],H=Q>0?U[Q-1]:null,M=Q<U.length-1?U[Q+1]:null,F=q.categoryPercentage;if(H===null)H=K-(M===null?J.end-J.start:M-K);if(M===null)M=K+K-H;let R=K-(K-Math.min(H,M))/2*F;return{chunk:Math.abs(M-H)/2*F/Y,ratio:q.barPercentage,start:R}}function YI(Q,J,q,Y){let U=q.parse(Q[0],Y),K=q.parse(Q[1],Y),H=Math.min(U,K),M=Math.max(U,K),F=H,R=M;if(Math.abs(H)>Math.abs(M))F=M,R=H;J[q.axis]=R,J._custom={barStart:F,barEnd:R,start:U,end:K,min:H,max:M}}function sT(Q,J,q,Y){if(z1(Q))YI(Q,J,q,Y);else J[q.axis]=q.parse(Q,Y);return J}function $T(Q,J,q,Y){let{iScale:U,vScale:K}=Q,H=U.getLabels(),M=U===K,F=[],R,T,z,L;for(R=q,T=q+Y;R<T;++R)L=J[R],z={},z[U.axis]=M||U.parse(H[R],R),F.push(sT(L,z,K,R));return F}function TN(Q){return Q&&Q.barStart!==void 0&&Q.barEnd!==void 0}function UI(Q,J,q){if(Q!==0)return y4(Q);return(J.isHorizontal()?1:-1)*(J.min>=q?1:-1)}function NI(Q){let J,q,Y,U,K;if(Q.horizontal)J=Q.base>Q.x,q="left",Y="right";else J=Q.base<Q.y,q="bottom",Y="top";if(J)U="end",K="start";else U="start",K="end";return{start:q,end:Y,reverse:J,top:U,bottom:K}}function KI(Q,J,q,Y){let U=J.borderSkipped,K={};if(!U){Q.borderSkipped=K;return}if(U===!0){Q.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:H,end:M,reverse:F,top:R,bottom:T}=NI(Q);if(U==="middle"&&q)if(Q.enableBorderRadius=!0,(q._top||0)===Y)U=R;else if((q._bottom||0)===Y)U=T;else K[ZT(T,H,M,F)]=!0,U=R;K[ZT(U,H,M,F)]=!0,Q.borderSkipped=K}function ZT(Q,J,q,Y){if(Y)Q=BI(Q,J,q),Q=QT(Q,q,J);else Q=QT(Q,J,q);return Q}function BI(Q,J,q){return Q===J?q:Q===q?J:Q}function QT(Q,J,q){return Q==="start"?J:Q==="end"?q:Q}function HI(Q,{inflateAmount:J},q){Q.inflateAmount=J==="auto"?q===1?0.33:0:J}class fN extends Wq{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:0.8,barPercentage:0.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(Q,J,q,Y){return $T(Q,J,q,Y)}parseArrayData(Q,J,q,Y){return $T(Q,J,q,Y)}parseObjectData(Q,J,q,Y){let{iScale:U,vScale:K}=Q,{xAxisKey:H="x",yAxisKey:M="y"}=this._parsing,F=U.axis==="x"?H:M,R=K.axis==="x"?H:M,T=[],z,L,P,I;for(z=q,L=q+Y;z<L;++z)I=J[z],P={},P[U.axis]=U.parse(F$(I,F),z),T.push(sT(F$(I,R),P,K,z));return T}updateRangeFromParsed(Q,J,q,Y){super.updateRangeFromParsed(Q,J,q,Y);let U=q._custom;if(U&&J===this._cachedMeta.vScale)Q.min=Math.min(Q.min,U.min),Q.max=Math.max(Q.max,U.max)}getMaxOverflow(){return 0}getLabelAndValue(Q){let J=this._cachedMeta,{iScale:q,vScale:Y}=J,U=this.getParsed(Q),K=U._custom,H=TN(K)?"["+K.start+", "+K.end+"]":""+Y.getLabelForValue(U[Y.axis]);return{label:""+q.getLabelForValue(U[q.axis]),value:H}}initialize(){this.enableOptionSharing=!0,super.initialize();let Q=this._cachedMeta;Q.stack=this.getDataset().stack}update(Q){let J=this._cachedMeta;this.updateElements(J.data,0,J.data.length,Q)}updateElements(Q,J,q,Y){let U=Y==="reset",{index:K,_cachedMeta:{vScale:H}}=this,M=H.getBasePixel(),F=H.isHorizontal(),R=this._getRuler(),{sharedOptions:T,includeOptions:z}=this._getSharedOptions(J,Y);for(let L=J;L<J+q;L++){let P=this.getParsed(L),I=U||t0(P[H.axis])?{base:M,head:M}:this._calculateBarValuePixels(L),A=this._calculateBarIndexPixels(L,R),C=(P._stacks||{})[H.axis],g={horizontal:F,base:I.base,enableBorderRadius:!C||TN(P._custom)||K===C._top||K===C._bottom,x:F?I.head:A.center,y:F?A.center:I.head,height:F?A.size:Math.abs(I.size),width:F?Math.abs(I.size):A.size};if(z)g.options=T||this.resolveDataElementOptions(L,Q[L].active?"active":Y);let m=g.options||Q[L].options;KI(g,m,C,K),HI(g,m,R.ratio),this.updateElement(Q[L],L,g,Y)}}_getStacks(Q,J){let{iScale:q}=this._cachedMeta,Y=q.getMatchingVisibleMetas(this._type).filter((R)=>R.controller.options.grouped),U=q.options.stacked,K=[],H=this._cachedMeta.controller.getParsed(J),M=H&&H[q.axis],F=(R)=>{let T=R._parsed.find((L)=>L[q.axis]===M),z=T&&T[R.vScale.axis];if(t0(z)||isNaN(z))return!0};for(let R of Y){if(J!==void 0&&F(R))continue;if(U===!1||K.indexOf(R.stack)===-1||U===void 0&&R.stack===void 0)K.push(R.stack);if(R.index===Q)break}if(!K.length)K.push(void 0);return K}_getStackCount(Q){return this._getStacks(void 0,Q).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let Q=this.chart.scales,J=this.chart.options.indexAxis;return Object.keys(Q).filter((q)=>Q[q].axis===J).shift()}_getAxis(){let Q={},J=this.getFirstScaleIdForIndexAxis();for(let q of this.chart.data.datasets)Q[h0(this.chart.options.indexAxis==="x"?q.xAxisID:q.yAxisID,J)]=!0;return Object.keys(Q)}_getStackIndex(Q,J,q){let Y=this._getStacks(Q,q),U=J!==void 0?Y.indexOf(J):-1;return U===-1?Y.length-1:U}_getRuler(){let Q=this.options,J=this._cachedMeta,q=J.iScale,Y=[],U,K;for(U=0,K=J.data.length;U<K;++U)Y.push(q.getPixelForValue(this.getParsed(U)[q.axis],U));let H=Q.barThickness;return{min:H||JI(J),pixels:Y,start:q._startPixel,end:q._endPixel,stackCount:this._getStackCount(),scale:q,grouped:Q.grouped,ratio:H?1:Q.categoryPercentage*Q.barPercentage}}_calculateBarValuePixels(Q){let{_cachedMeta:{vScale:J,_stacked:q,index:Y},options:{base:U,minBarLength:K}}=this,H=U||0,M=this.getParsed(Q),F=M._custom,R=TN(F),T=M[J.axis],z=0,L=q?this.applyStack(J,M,q):T,P,I;if(L!==T)z=L-T,L=T;if(R){if(T=F.barStart,L=F.barEnd-F.barStart,T!==0&&y4(T)!==y4(F.barEnd))z=0;z+=T}let A=!t0(U)&&!R?U:z,C=J.getPixelForValue(A);if(this.chart.getDataVisibility(Q))P=J.getPixelForValue(z+L);else P=C;if(I=P-C,Math.abs(I)<K){if(I=UI(I,J,H)*K,T===H)C-=I/2;let g=J.getPixelForDecimal(0),m=J.getPixelForDecimal(1),o=Math.min(g,m),a=Math.max(g,m);if(C=Math.max(Math.min(C,a),o),P=C+I,q&&!R)M._stacks[J.axis]._visualValues[Y]=J.getValueForPixel(P)-J.getValueForPixel(C)}if(C===J.getPixelForValue(H)){let g=y4(I)*J.getLineWidthForValue(H)/2;C+=g,I-=g}return{size:I,base:C,head:P,center:P+I/2}}_calculateBarIndexPixels(Q,J){let q=J.scale,Y=this.options,U=Y.skipNull,K=h0(Y.maxBarThickness,1/0),H,M,F=this._getAxisCount();if(J.grouped){let R=U?this._getStackCount(Q):J.stackCount,T=Y.barThickness==="flex"?XI(Q,J,Y,R*F):qI(Q,J,Y,R*F),z=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,L=this._getAxis().indexOf(h0(z,this.getFirstScaleIdForIndexAxis())),P=this._getStackIndex(this.index,this._cachedMeta.stack,U?Q:void 0)+L;H=T.start+T.chunk*P+T.chunk/2,M=Math.min(K,T.chunk*T.ratio)}else H=q.getPixelForValue(this.getParsed(Q)[q.axis],Q),M=Math.min(K,J.min*J.ratio);return{base:H-M/2,head:H+M/2,center:H,size:M}}draw(){let Q=this._cachedMeta,J=Q.vScale,q=Q.data,Y=q.length,U=0;for(;U<Y;++U)if(this.getParsed(U)[J.axis]!==null&&!q[U].hidden)q[U].draw(this._ctx)}}class yN extends Wq{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(Q){let J=this._cachedMeta,{dataset:q,data:Y=[],_dataset:U}=J,K=this.chart._animationsDisabled,{start:H,count:M}=jR(J,Y,K);if(this._drawStart=H,this._drawCount=M,AR(J))H=0,M=Y.length;q._chart=this.chart,q._datasetIndex=this.index,q._decimated=!!U._decimated,q.points=Y;let F=this.resolveDatasetElementOptions(Q);if(!this.options.showLine)F.borderWidth=0;F.segment=this.options.segment,this.updateElement(q,void 0,{animated:!K,options:F},Q),this.updateElements(Y,H,M,Q)}updateElements(Q,J,q,Y){let U=Y==="reset",{iScale:K,vScale:H,_stacked:M,_dataset:F}=this._cachedMeta,{sharedOptions:R,includeOptions:T}=this._getSharedOptions(J,Y),z=K.axis,L=H.axis,{spanGaps:P,segment:I}=this.options,A=m9(P)?P:Number.POSITIVE_INFINITY,C=this.chart._animationsDisabled||U||Y==="none",g=J+q,m=Q.length,o=J>0&&this.getParsed(J-1);for(let a=0;a<m;++a){let s=Q[a],Q0=C?s:{};if(a<J||a>=g){Q0.skip=!0;continue}let p=this.getParsed(a),i=t0(p[L]),Y0=Q0[z]=K.getPixelForValue(p[z],a),d=Q0[L]=U||i?H.getBasePixel():H.getPixelForValue(M?this.applyStack(H,p,M):p[L],a);if(Q0.skip=isNaN(Y0)||isNaN(d)||i,Q0.stop=a>0&&Math.abs(p[z]-o[z])>A,I)Q0.parsed=p,Q0.raw=F.data[a];if(T)Q0.options=R||this.resolveDataElementOptions(a,s.active?"active":Y);if(!C)this.updateElement(s,a,Q0,Y);o=p}}getMaxOverflow(){let Q=this._cachedMeta,J=Q.dataset,q=J.options&&J.options.borderWidth||0,Y=Q.data||[];if(!Y.length)return q;let U=Y[0].size(this.resolveDataElementOptions(0)),K=Y[Y.length-1].size(this.resolveDataElementOptions(Y.length-1));return Math.max(q,U,K)/2}draw(){let Q=this._cachedMeta;Q.dataset.updateControlPoints(this.chart.chartArea,Q.iScale.axis),super.draw()}}function w$(){throw Error("This method is not implemented: Check that a complete date adapter is provided.")}class gN{static override(Q){Object.assign(gN.prototype,Q)}options;constructor(Q){this.options=Q||{}}init(){}formats(){return w$()}parse(){return w$()}format(){return w$()}add(){return w$()}diff(){return w$()}startOf(){return w$()}endOf(){return w$()}}var MI={_date:gN};function FI(Q,J,q,Y){let{controller:U,data:K,_sorted:H}=Q,M=U._cachedMeta.iScale,F=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null;if(M&&J===M.axis&&J!=="r"&&H&&K.length){let R=M._reversePixels?ER:q2;if(!Y){let T=R(K,J,q);if(F){let{vScale:z}=U._cachedMeta,{_parsed:L}=Q,P=L.slice(0,T.lo+1).reverse().findIndex((A)=>!t0(A[z.axis]));T.lo-=Math.max(0,P);let I=L.slice(T.hi).findIndex((A)=>!t0(A[z.axis]));T.hi+=Math.max(0,I)}return T}else if(U._sharedOptions){let T=K[0],z=typeof T.getRange==="function"&&T.getRange(J);if(z){let L=R(K,J,q-z),P=R(K,J,q+z);return{lo:L.lo,hi:P.hi}}}}return{lo:0,hi:K.length-1}}function ZQ(Q,J,q,Y,U){let K=Q.getSortedVisibleDatasetMetas(),H=q[J];for(let M=0,F=K.length;M<F;++M){let{index:R,data:T}=K[M],{lo:z,hi:L}=FI(K[M],J,H,U);for(let P=z;P<=L;++P){let I=T[P];if(!I.skip)Y(I,R,P)}}}function WI(Q){let J=Q.indexOf("x")!==-1,q=Q.indexOf("y")!==-1;return function(Y,U){let K=J?Math.abs(Y.x-U.x):0,H=q?Math.abs(Y.y-U.y):0;return Math.sqrt(Math.pow(K,2)+Math.pow(H,2))}}function zN(Q,J,q,Y,U){let K=[];if(!U&&!Q.isPointInArea(J))return K;return ZQ(Q,q,J,function(M,F,R){if(!U&&!w8(M,Q.chartArea,0))return;if(M.inRange(J.x,J.y,Y))K.push({element:M,datasetIndex:F,index:R})},!0),K}function wI(Q,J,q,Y){let U=[];function K(H,M,F){let{startAngle:R,endAngle:T}=H.getProps(["startAngle","endAngle"],Y),{angle:z}=LR(H,{x:J.x,y:J.y});if(nU(z,R,T))U.push({element:H,datasetIndex:M,index:F})}return ZQ(Q,q,J,K),U}function RI(Q,J,q,Y,U,K){let H=[],M=WI(q),F=Number.POSITIVE_INFINITY;function R(T,z,L){let P=T.inRange(J.x,J.y,U);if(Y&&!P)return;let I=T.getCenterPoint(U);if(!(!!K||Q.isPointInArea(I))&&!P)return;let C=M(J,I);if(C<F)H=[{element:T,datasetIndex:z,index:L}],F=C;else if(C===F)H.push({element:T,datasetIndex:z,index:L})}return ZQ(Q,q,J,R),H}function _N(Q,J,q,Y,U,K){if(!K&&!Q.isPointInArea(J))return[];return q==="r"&&!Y?wI(Q,J,q,U):RI(Q,J,q,Y,U,K)}function GT(Q,J,q,Y,U){let K=[],H=q==="x"?"inXRange":"inYRange",M=!1;if(ZQ(Q,q,J,(F,R,T)=>{if(F[H]&&F[H](J[q],U))K.push({element:F,datasetIndex:R,index:T}),M=M||F.inRange(J.x,J.y,U)}),Y&&!M)return[];return K}var TI={evaluateInteractionItems:ZQ,modes:{index(Q,J,q,Y){let U=B2(J,Q),K=q.axis||"x",H=q.includeInvisible||!1,M=q.intersect?zN(Q,U,K,Y,H):_N(Q,U,K,!1,Y,H),F=[];if(!M.length)return[];return Q.getSortedVisibleDatasetMetas().forEach((R)=>{let T=M[0].index,z=R.data[T];if(z&&!z.skip)F.push({element:z,datasetIndex:R.index,index:T})}),F},dataset(Q,J,q,Y){let U=B2(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1,M=q.intersect?zN(Q,U,K,Y,H):_N(Q,U,K,!1,Y,H);if(M.length>0){let F=M[0].datasetIndex,R=Q.getDatasetMeta(F).data;M=[];for(let T=0;T<R.length;++T)M.push({element:R[T],datasetIndex:F,index:T})}return M},point(Q,J,q,Y){let U=B2(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1;return zN(Q,U,K,Y,H)},nearest(Q,J,q,Y){let U=B2(J,Q),K=q.axis||"xy",H=q.includeInvisible||!1;return _N(Q,U,K,q.intersect,Y,H)},x(Q,J,q,Y){let U=B2(J,Q);return GT(Q,U,"x",q.intersect,Y)},y(Q,J,q,Y){let U=B2(J,Q);return GT(Q,U,"y",q.intersect,Y)}}},nT=["left","top","right","bottom"];function lZ(Q,J){return Q.filter((q)=>q.pos===J)}function JT(Q,J){return Q.filter((q)=>nT.indexOf(q.pos)===-1&&q.box.axis===J)}function rZ(Q,J){return Q.sort((q,Y)=>{let U=J?Y:q,K=J?q:Y;return U.weight===K.weight?U.index-K.index:U.weight-K.weight})}function zI(Q){let J=[],q,Y,U,K,H,M;for(q=0,Y=(Q||[]).length;q<Y;++q)U=Q[q],{position:K,options:{stack:H,stackWeight:M=1}}=U,J.push({index:q,box:U,pos:K,horizontal:U.isHorizontal(),weight:U.weight,stack:H&&K+H,stackWeight:M});return J}function _I(Q){let J={};for(let q of Q){let{stack:Y,pos:U,stackWeight:K}=q;if(!Y||!nT.includes(U))continue;let H=J[Y]||(J[Y]={count:0,placed:0,weight:0,size:0});H.count++,H.weight+=K}return J}function LI(Q,J){let q=_I(Q),{vBoxMaxWidth:Y,hBoxMaxHeight:U}=J,K,H,M;for(K=0,H=Q.length;K<H;++K){M=Q[K];let{fullSize:F}=M.box,R=q[M.stack],T=R&&M.stackWeight/R.weight;if(M.horizontal)M.width=T?T*Y:F&&J.availableWidth,M.height=U;else M.width=Y,M.height=T?T*U:F&&J.availableHeight}return q}function VI(Q){let J=zI(Q),q=rZ(J.filter((R)=>R.box.fullSize),!0),Y=rZ(lZ(J,"left"),!0),U=rZ(lZ(J,"right")),K=rZ(lZ(J,"top"),!0),H=rZ(lZ(J,"bottom")),M=JT(J,"x"),F=JT(J,"y");return{fullSize:q,leftAndTop:Y.concat(K),rightAndBottom:U.concat(F).concat(H).concat(M),chartArea:lZ(J,"chartArea"),vertical:Y.concat(U).concat(F),horizontal:K.concat(H).concat(M)}}function qT(Q,J,q,Y){return Math.max(Q[q],J[q])+Math.max(Q[Y],J[Y])}function oT(Q,J){Q.top=Math.max(Q.top,J.top),Q.left=Math.max(Q.left,J.left),Q.bottom=Math.max(Q.bottom,J.bottom),Q.right=Math.max(Q.right,J.right)}function EI(Q,J,q,Y){let{pos:U,box:K}=q,H=Q.maxPadding;if(!n0(U)){if(q.size)Q[U]-=q.size;let z=Y[q.stack]||{size:0,count:1};z.size=Math.max(z.size,q.horizontal?K.height:K.width),q.size=z.size/z.count,Q[U]+=q.size}if(K.getPadding)oT(H,K.getPadding());let M=Math.max(0,J.outerWidth-qT(H,Q,"left","right")),F=Math.max(0,J.outerHeight-qT(H,Q,"top","bottom")),R=M!==Q.w,T=F!==Q.h;return Q.w=M,Q.h=F,q.horizontal?{same:R,other:T}:{same:T,other:R}}function PI(Q){let J=Q.maxPadding;function q(Y){let U=Math.max(J[Y]-Q[Y],0);return Q[Y]+=U,U}Q.y+=q("top"),Q.x+=q("left"),q("right"),q("bottom")}function CI(Q,J){let q=J.maxPadding;function Y(U){let K={left:0,top:0,right:0,bottom:0};return U.forEach((H)=>{K[H]=Math.max(J[H],q[H])}),K}return Q?Y(["left","right"]):Y(["top","bottom"])}function oZ(Q,J,q,Y){let U=[],K,H,M,F,R,T;for(K=0,H=Q.length,R=0;K<H;++K){M=Q[K],F=M.box,F.update(M.width||J.w,M.height||J.h,CI(M.horizontal,J));let{same:z,other:L}=EI(J,q,M,Y);if(R|=z&&U.length,T=T||L,!F.fullSize)U.push(M)}return R&&oZ(U,J,q,Y)||T}function Yq(Q,J,q,Y,U){Q.top=q,Q.left=J,Q.right=J+Y,Q.bottom=q+U,Q.width=Y,Q.height=U}function XT(Q,J,q,Y){let U=q.padding,{x:K,y:H}=J;for(let M of Q){let F=M.box,R=Y[M.stack]||{count:1,placed:0,weight:1},T=M.stackWeight/R.weight||1;if(M.horizontal){let z=J.w*T,L=R.size||F.height;if(x9(R.start))H=R.start;if(F.fullSize)Yq(F,U.left,H,q.outerWidth-U.right-U.left,L);else Yq(F,J.left+R.placed,H,z,L);R.start=H,R.placed+=z,H=F.bottom}else{let z=J.h*T,L=R.size||F.width;if(x9(R.start))K=R.start;if(F.fullSize)Yq(F,K,U.top,L,q.outerHeight-U.bottom-U.top);else Yq(F,K,J.top+R.placed,L,z);R.start=K,R.placed+=z,K=F.right}}J.x=K,J.y=H}var V4={addBox(Q,J){if(!Q.boxes)Q.boxes=[];J.fullSize=J.fullSize||!1,J.position=J.position||"top",J.weight=J.weight||0,J._layers=J._layers||function(){return[{z:0,draw(q){J.draw(q)}}]},Q.boxes.push(J)},removeBox(Q,J){let q=Q.boxes?Q.boxes.indexOf(J):-1;if(q!==-1)Q.boxes.splice(q,1)},configure(Q,J,q){J.fullSize=q.fullSize,J.position=q.position,J.weight=q.weight},update(Q,J,q,Y){if(!Q)return;let U=X5(Q.options.layout.padding),K=Math.max(J-U.width,0),H=Math.max(q-U.height,0),M=VI(Q.boxes),F=M.vertical,R=M.horizontal;X1(Q.boxes,(A)=>{if(typeof A.beforeLayout==="function")A.beforeLayout()});let T=F.reduce((A,C)=>C.box.options&&C.box.options.display===!1?A:A+1,0)||1,z=Object.freeze({outerWidth:J,outerHeight:q,padding:U,availableWidth:K,availableHeight:H,vBoxMaxWidth:K/2/T,hBoxMaxHeight:H/2}),L=Object.assign({},U);oT(L,X5(Y));let P=Object.assign({maxPadding:L,w:K,h:H,x:U.left,y:U.top},U),I=LI(F.concat(R),z);if(oZ(M.fullSize,P,z,I),oZ(F,P,z,I),oZ(R,P,z,I))oZ(F,P,z,I);PI(P),XT(M.leftAndTop,P,z,I),P.x+=P.w,P.y+=P.h,XT(M.rightAndBottom,P,z,I),Q.chartArea={left:P.left,top:P.top,right:P.left+P.w,bottom:P.top+P.h,height:P.h,width:P.w},X1(M.chartArea,(A)=>{let C=A.box;Object.assign(C,Q.chartArea),C.update(P.w,P.h,{left:0,top:0,right:0,bottom:0})})}};class hN{acquireContext(Q,J){}releaseContext(Q){return!1}addEventListener(Q,J,q){}removeEventListener(Q,J,q){}getDevicePixelRatio(){return 1}getMaximumSize(Q,J,q,Y){return J=Math.max(0,J||Q.width),q=q||Q.height,{width:J,height:Math.max(0,Y?Math.floor(J/Y):q)}}isAttached(Q){return!0}updateConfig(Q){}}class aT extends hN{acquireContext(Q){return Q&&Q.getContext&&Q.getContext("2d")||null}updateConfig(Q){Q.options.animation=!1}}var Hq="$chartjs",II={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},YT=(Q)=>Q===null||Q==="";function OI(Q,J){let q=Q.style,Y=Q.getAttribute("height"),U=Q.getAttribute("width");if(Q[Hq]={initial:{height:Y,width:U,style:{display:q.display,height:q.height,width:q.width}}},q.display=q.display||"block",q.boxSizing=q.boxSizing||"border-box",YT(U)){let K=NN(Q,"width");if(K!==void 0)Q.width=K}if(YT(Y))if(Q.style.height==="")Q.height=Q.width/(J||2);else{let K=NN(Q,"height");if(K!==void 0)Q.height=K}return Q}var iT=pR?{passive:!0}:!1;function DI(Q,J,q){if(Q)Q.addEventListener(J,q,iT)}function jI(Q,J,q){if(Q&&Q.canvas)Q.canvas.removeEventListener(J,q,iT)}function AI(Q,J){let q=II[Q.type]||Q.type,{x:Y,y:U}=B2(Q,J);return{type:q,chart:J,native:Q,x:Y!==void 0?Y:null,y:U!==void 0?U:null}}function Fq(Q,J){for(let q of Q)if(q===J||q.contains(J))return!0}function SI(Q,J,q){let Y=Q.canvas,U=new MutationObserver((K)=>{let H=!1;for(let M of K)H=H||Fq(M.addedNodes,Y),H=H&&!Fq(M.removedNodes,Y);if(H)q()});return U.observe(document,{childList:!0,subtree:!0}),U}function vI(Q,J,q){let Y=Q.canvas,U=new MutationObserver((K)=>{let H=!1;for(let M of K)H=H||Fq(M.removedNodes,Y),H=H&&!Fq(M.addedNodes,Y);if(H)q()});return U.observe(document,{childList:!0,subtree:!0}),U}var tZ=new Map,UT=0;function tT(){let Q=window.devicePixelRatio;if(Q===UT)return;UT=Q,tZ.forEach((J,q)=>{if(q.currentDevicePixelRatio!==Q)J()})}function kI(Q,J){if(!tZ.size)window.addEventListener("resize",tT);tZ.set(Q,J)}function bI(Q){if(tZ.delete(Q),!tZ.size)window.removeEventListener("resize",tT)}function fI(Q,J,q){let Y=Q.canvas,U=Y&&qq(Y);if(!U)return;let K=tU((M,F)=>{let R=U.clientWidth;if(q(M,F),R<U.clientWidth)q()},window),H=new ResizeObserver((M)=>{let F=M[0],R=F.contentRect.width,T=F.contentRect.height;if(R===0&&T===0)return;K(R,T)});return H.observe(U),kI(Q,K),H}function LN(Q,J,q){if(q)q.disconnect();if(J==="resize")bI(Q)}function yI(Q,J,q){let Y=Q.canvas,U=tU((K)=>{if(Q.ctx!==null)q(AI(K,Q))},Q);return DI(Y,J,U),U}class eT extends hN{acquireContext(Q,J){let q=Q&&Q.getContext&&Q.getContext("2d");if(q&&q.canvas===Q)return OI(Q,J),q;return null}releaseContext(Q){let J=Q.canvas;if(!J[Hq])return!1;let q=J[Hq].initial;["height","width"].forEach((U)=>{let K=q[U];if(t0(K))J.removeAttribute(U);else J.setAttribute(U,K)});let Y=q.style||{};return Object.keys(Y).forEach((U)=>{J.style[U]=Y[U]}),J.width=J.width,delete J[Hq],!0}addEventListener(Q,J,q){this.removeEventListener(Q,J);let Y=Q.$proxies||(Q.$proxies={}),K={attach:SI,detach:vI,resize:fI}[J]||yI;Y[J]=K(Q,J,q)}removeEventListener(Q,J){let q=Q.$proxies||(Q.$proxies={}),Y=q[J];if(!Y)return;({attach:LN,detach:LN,resize:LN}[J]||jI)(Q,J,Y),q[J]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(Q,J,q,Y){return dR(Q,J,q,Y)}isAttached(Q){let J=Q&&qq(Q);return!!(J&&J.isConnected)}}function gI(Q){if(!Jq()||typeof OffscreenCanvas<"u"&&Q instanceof OffscreenCanvas)return aT;return eT}class q6{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(Q){let{x:J,y:q}=this.getProps(["x","y"],Q);return{x:J,y:q}}hasValue(){return m9(this.x)&&m9(this.y)}getProps(Q,J){let q=this.$animations;if(!J||!q)return this;let Y={};return Q.forEach((U)=>{Y[U]=q[U]&&q[U].active()?q[U]._to:this[U]}),Y}}function hI(Q,J){let q=Q.options.ticks,Y=xI(Q),U=Math.min(q.maxTicksLimit||Y,Y),K=q.major.enabled?mI(J):[],H=K.length,M=K[0],F=K[H-1],R=[];if(H>U)return dI(J,R,K,H/U),R;let T=uI(K,J,U);if(H>0){let z,L,P=H>1?Math.round((F-M)/(H-1)):null;Uq(J,R,T,t0(P)?0:M-P,M);for(z=0,L=H-1;z<L;z++)Uq(J,R,T,K[z],K[z+1]);return Uq(J,R,T,F,t0(P)?J.length:F+P),R}return Uq(J,R,T),R}function xI(Q){let J=Q.options.offset,q=Q._tickSize(),Y=Q._length/q+(J?0:1),U=Q._maxLength/q;return Math.floor(Math.min(Y,U))}function uI(Q,J,q){let Y=pI(Q),U=J.length/q;if(!Y)return Math.max(U,1);let K=zR(Y);for(let H=0,M=K.length-1;H<M;H++){let F=K[H];if(F>U)return F}return Math.max(U,1)}function mI(Q){let J=[],q,Y;for(q=0,Y=Q.length;q<Y;q++)if(Q[q].major)J.push(q);return J}function dI(Q,J,q,Y){let U=0,K=q[0],H;Y=Math.ceil(Y);for(H=0;H<Q.length;H++)if(H===K)J.push(Q[H]),U++,K=q[U*Y]}function Uq(Q,J,q,Y,U){let K=h0(Y,0),H=Math.min(h0(U,Q.length),Q.length),M=0,F,R,T;if(q=Math.ceil(q),U)F=U-Y,q=F/Math.floor(F/q);T=K;while(T<0)M++,T=Math.round(K+M*q);for(R=Math.max(K,0);R<H;R++)if(R===T)J.push(Q[R]),M++,T=Math.round(K+M*q)}function pI(Q){let J=Q.length,q,Y;if(J<2)return!1;for(Y=Q[0],q=1;q<J;++q)if(Q[q]-Q[q-1]!==Y)return!1;return Y}var cI=(Q)=>Q==="left"?"right":Q==="right"?"left":Q,NT=(Q,J,q)=>J==="top"||J==="left"?Q[J]+q:Q[J]-q,KT=(Q,J)=>Math.min(J||Q,Q);function BT(Q,J){let q=[],Y=Q.length/J,U=Q.length,K=0;for(;K<U;K+=Y)q.push(Q[Math.floor(K)]);return q}function lI(Q,J,q){let Y=Q.ticks.length,U=Math.min(J,Y-1),K=Q._startPixel,H=Q._endPixel,M=0.000001,F=Q.getPixelForTick(U),R;if(q){if(Y===1)R=Math.max(F-K,H-F);else if(J===0)R=(Q.getPixelForTick(1)-F)/2;else R=(F-Q.getPixelForTick(U-1))/2;if(F+=U<J?R:-R,F<K-0.000001||F>H+0.000001)return}return F}function rI(Q,J){X1(Q,(q)=>{let Y=q.gc,U=Y.length/2,K;if(U>J){for(K=0;K<U;++K)delete q.data[Y[K]];Y.splice(0,U)}})}function sZ(Q){return Q.drawTicks?Q.tickLength:0}function HT(Q,J){if(!Q.display)return 0;let q=p1(Q.font,J),Y=X5(Q.padding);return(z1(Q.text)?Q.text.length:1)*q.lineHeight+Y.height}function sI(Q,J){return Q6(Q,{scale:J,type:"scale"})}function nI(Q,J,q){return Q6(Q,{tick:q,index:J,type:"tick"})}function oI(Q,J,q){let Y=eJ(Q);if(q&&J!=="right"||!q&&J==="right")Y=cI(Y);return Y}function aI(Q,J,q,Y){let{top:U,left:K,bottom:H,right:M,chart:F}=Q,{chartArea:R,scales:T}=F,z=0,L,P,I,A=H-U,C=M-K;if(Q.isHorizontal()){if(P=q5(Y,K,M),n0(q)){let g=Object.keys(q)[0],m=q[g];I=T[g].getPixelForValue(m)+A-J}else if(q==="center")I=(R.bottom+R.top)/2+A-J;else I=NT(Q,q,J);L=M-K}else{if(n0(q)){let g=Object.keys(q)[0],m=q[g];P=T[g].getPixelForValue(m)-C+J}else if(q==="center")P=(R.left+R.right)/2-C+J;else P=NT(Q,q,J);I=q5(Y,H,U),z=q==="left"?-b5:b5}return{titleX:P,titleY:I,maxWidth:L,rotation:z}}class T$ extends q6{constructor(Q){super();this.id=Q.id,this.type=Q.type,this.options=void 0,this.ctx=Q.ctx,this.chart=Q.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(Q){this.options=Q.setContext(this.getContext()),this.axis=Q.axis,this._userMin=this.parse(Q.min),this._userMax=this.parse(Q.max),this._suggestedMin=this.parse(Q.suggestedMin),this._suggestedMax=this.parse(Q.suggestedMax)}parse(Q,J){return Q}getUserBounds(){let{_userMin:Q,_userMax:J,_suggestedMin:q,_suggestedMax:Y}=this;return Q=g5(Q,Number.POSITIVE_INFINITY),J=g5(J,Number.NEGATIVE_INFINITY),q=g5(q,Number.POSITIVE_INFINITY),Y=g5(Y,Number.NEGATIVE_INFINITY),{min:g5(Q,q),max:g5(J,Y),minDefined:O1(Q),maxDefined:O1(J)}}getMinMax(Q){let{min:J,max:q,minDefined:Y,maxDefined:U}=this.getUserBounds(),K;if(Y&&U)return{min:J,max:q};let H=this.getMatchingVisibleMetas();for(let M=0,F=H.length;M<F;++M){if(K=H[M].controller.getMinMax(this,Q),!Y)J=Math.min(J,K.min);if(!U)q=Math.max(q,K.max)}return J=U&&J>q?q:J,q=Y&&J>q?J:q,{min:g5(J,g5(q,J)),max:g5(q,g5(J,q))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let Q=this.chart.data;return this.options.labels||(this.isHorizontal()?Q.xLabels:Q.yLabels)||Q.labels||[]}getLabelItems(Q=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(Q))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){W1(this.options.beforeUpdate,[this])}update(Q,J,q){let{beginAtZero:Y,grace:U,ticks:K}=this.options,H=K.sampleSize;if(this.beforeUpdate(),this.maxWidth=Q,this.maxHeight=J,this._margins=q=Object.assign({left:0,right:0,top:0,bottom:0},q),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+q.left+q.right:this.height+q.top+q.bottom,!this._dataLimitsCached)this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=yR(this,U,Y),this._dataLimitsCached=!0;this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let M=H<this.ticks.length;if(this._convertTicksToLabels(M?BT(this.ticks,H):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),K.display&&(K.autoSkip||K.source==="auto"))this.ticks=hI(this,this.ticks),this._labelSizes=null,this.afterAutoSkip();if(M)this._convertTicksToLabels(this.ticks);this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let Q=this.options.reverse,J,q;if(this.isHorizontal())J=this.left,q=this.right;else J=this.top,q=this.bottom,Q=!Q;this._startPixel=J,this._endPixel=q,this._reversePixels=Q,this._length=q-J,this._alignToPixels=this.options.alignToPixels}afterUpdate(){W1(this.options.afterUpdate,[this])}beforeSetDimensions(){W1(this.options.beforeSetDimensions,[this])}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=0,this.right=this.width;else this.height=this.maxHeight,this.top=0,this.bottom=this.height;this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){W1(this.options.afterSetDimensions,[this])}_callHooks(Q){this.chart.notifyPlugins(Q,this.getContext()),W1(this.options[Q],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){W1(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(Q){let J=this.options.ticks,q,Y,U;for(q=0,Y=Q.length;q<Y;q++)U=Q[q],U.label=W1(J.callback,[U.value,q,Q],this)}afterTickToLabelConversion(){W1(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){W1(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let Q=this.options,J=Q.ticks,q=KT(this.ticks.length,Q.ticks.maxTicksLimit),Y=J.minRotation||0,U=J.maxRotation,K=Y,H,M,F;if(!this._isVisible()||!J.display||Y>=U||q<=1||!this.isHorizontal()){this.labelRotation=Y;return}let R=this._getLabelSizes(),T=R.widest.width,z=R.highest.height,L=y5(this.chart.width-T,0,this.maxWidth);if(H=Q.offset?this.maxWidth/q:L/(q-1),T+6>H)H=L/(q-(Q.offset?0.5:1)),M=this.maxHeight-sZ(Q.grid)-J.padding-HT(Q.title,this.chart.options.font),F=Math.sqrt(T*T+z*z),K=iJ(Math.min(Math.asin(y5((R.highest.height+6)/H,-1,1)),Math.asin(y5(M/F,-1,1))-Math.asin(y5(z/F,-1,1)))),K=Math.max(Y,Math.min(U,K));this.labelRotation=K}afterCalculateLabelRotation(){W1(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){W1(this.options.beforeFit,[this])}fit(){let Q={width:0,height:0},{chart:J,options:{ticks:q,title:Y,grid:U}}=this,K=this._isVisible(),H=this.isHorizontal();if(K){let M=HT(Y,J.options.font);if(H)Q.width=this.maxWidth,Q.height=sZ(U)+M;else Q.height=this.maxHeight,Q.width=sZ(U)+M;if(q.display&&this.ticks.length){let{first:F,last:R,widest:T,highest:z}=this._getLabelSizes(),L=q.padding*2,P=$6(this.labelRotation),I=Math.cos(P),A=Math.sin(P);if(H){let C=q.mirror?0:A*T.width+I*z.height;Q.height=Math.min(this.maxHeight,Q.height+C+L)}else{let C=q.mirror?0:I*T.width+A*z.height;Q.width=Math.min(this.maxWidth,Q.width+C+L)}this._calculatePadding(F,R,A,I)}}if(this._handleMargins(),H)this.width=this._length=J.width-this._margins.left-this._margins.right,this.height=Q.height;else this.width=Q.width,this.height=this._length=J.height-this._margins.top-this._margins.bottom}_calculatePadding(Q,J,q,Y){let{ticks:{align:U,padding:K},position:H}=this.options,M=this.labelRotation!==0,F=H!=="top"&&this.axis==="x";if(this.isHorizontal()){let R=this.getPixelForTick(0)-this.left,T=this.right-this.getPixelForTick(this.ticks.length-1),z=0,L=0;if(M)if(F)z=Y*Q.width,L=q*J.height;else z=q*Q.height,L=Y*J.width;else if(U==="start")L=J.width;else if(U==="end")z=Q.width;else if(U!=="inner")z=Q.width/2,L=J.width/2;this.paddingLeft=Math.max((z-R+K)*this.width/(this.width-R),0),this.paddingRight=Math.max((L-T+K)*this.width/(this.width-T),0)}else{let R=J.height/2,T=Q.height/2;if(U==="start")R=0,T=Q.height;else if(U==="end")R=J.height,T=0;this.paddingTop=R+K,this.paddingBottom=T+K}}_handleMargins(){if(this._margins)this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom)}afterFit(){W1(this.options.afterFit,[this])}isHorizontal(){let{axis:Q,position:J}=this.options;return J==="top"||J==="bottom"||Q==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(Q){this.beforeTickToLabelConversion(),this.generateTickLabels(Q);let J,q;for(J=0,q=Q.length;J<q;J++)if(t0(Q[J].label))Q.splice(J,1),q--,J--;this.afterTickToLabelConversion()}_getLabelSizes(){let Q=this._labelSizes;if(!Q){let J=this.options.ticks.sampleSize,q=this.ticks;if(J<q.length)q=BT(q,J);this._labelSizes=Q=this._computeLabelSizes(q,q.length,this.options.ticks.maxTicksLimit)}return Q}_computeLabelSizes(Q,J,q){let{ctx:Y,_longestTextCache:U}=this,K=[],H=[],M=Math.floor(J/KT(J,q)),F=0,R=0,T,z,L,P,I,A,C,g,m,o,a;for(T=0;T<J;T+=M){if(P=Q[T].label,I=this._resolveTickFontOptions(T),Y.font=A=I.string,C=U[A]=U[A]||{data:{},gc:[]},g=I.lineHeight,m=o=0,!t0(P)&&!z1(P))m=hZ(Y,C.data,C.gc,m,P),o=g;else if(z1(P)){for(z=0,L=P.length;z<L;++z)if(a=P[z],!t0(a)&&!z1(a))m=hZ(Y,C.data,C.gc,m,a),o+=g}K.push(m),H.push(o),F=Math.max(m,F),R=Math.max(o,R)}rI(U,J);let s=K.indexOf(F),Q0=H.indexOf(R),p=(i)=>({width:K[i]||0,height:H[i]||0});return{first:p(0),last:p(J-1),widest:p(s),highest:p(Q0),widths:K,heights:H}}getLabelForValue(Q){return Q}getPixelForValue(Q,J){return NaN}getValueForPixel(Q){}getPixelForTick(Q){let J=this.ticks;if(Q<0||Q>J.length-1)return null;return this.getPixelForValue(J[Q].value)}getPixelForDecimal(Q){if(this._reversePixels)Q=1-Q;let J=this._startPixel+Q*this._length;return VR(this._alignToPixels?U2(this.chart,J,0):J)}getDecimalForPixel(Q){let J=(Q-this._startPixel)/this._length;return this._reversePixels?1-J:J}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:Q,max:J}=this;return Q<0&&J<0?J:Q>0&&J>0?Q:0}getContext(Q){let J=this.ticks||[];if(Q>=0&&Q<J.length){let q=J[Q];return q.$context||(q.$context=nI(this.getContext(),Q,q))}return this.$context||(this.$context=sI(this.chart.getContext(),this))}_tickSize(){let Q=this.options.ticks,J=$6(this.labelRotation),q=Math.abs(Math.cos(J)),Y=Math.abs(Math.sin(J)),U=this._getLabelSizes(),K=Q.autoSkipPadding||0,H=U?U.widest.width+K:0,M=U?U.highest.height+K:0;return this.isHorizontal()?M*q>H*Y?H/q:M/Y:M*Y<H*q?M/q:H/Y}_isVisible(){let Q=this.options.display;if(Q!=="auto")return!!Q;return this.getMatchingVisibleMetas().length>0}_computeGridLineItems(Q){let J=this.axis,q=this.chart,Y=this.options,{grid:U,position:K,border:H}=Y,M=U.offset,F=this.isHorizontal(),T=this.ticks.length+(M?1:0),z=sZ(U),L=[],P=H.setContext(this.getContext()),I=P.display?P.width:0,A=I/2,C=function(l){return U2(q,l,I)},g,m,o,a,s,Q0,p,i,Y0,d,N0,w0;if(K==="top")g=C(this.bottom),Q0=this.bottom-z,i=g-A,d=C(Q.top)+A,w0=Q.bottom;else if(K==="bottom")g=C(this.top),d=Q.top,w0=C(Q.bottom)-A,Q0=g+A,i=this.top+z;else if(K==="left")g=C(this.right),s=this.right-z,p=g-A,Y0=C(Q.left)+A,N0=Q.right;else if(K==="right")g=C(this.left),Y0=Q.left,N0=C(Q.right)-A,s=g+A,p=this.left+z;else if(J==="x"){if(K==="center")g=C((Q.top+Q.bottom)/2+0.5);else if(n0(K)){let l=Object.keys(K)[0],J0=K[l];g=C(this.chart.scales[l].getPixelForValue(J0))}d=Q.top,w0=Q.bottom,Q0=g+A,i=Q0+z}else if(J==="y"){if(K==="center")g=C((Q.left+Q.right)/2);else if(n0(K)){let l=Object.keys(K)[0],J0=K[l];g=C(this.chart.scales[l].getPixelForValue(J0))}s=g-A,p=s-z,Y0=Q.left,N0=Q.right}let z0=h0(Y.ticks.maxTicksLimit,T),C0=Math.max(1,Math.ceil(T/z0));for(m=0;m<T;m+=C0){let l=this.getContext(m),J0=U.setContext(l),K0=H.setContext(l),d0=J0.lineWidth,k0=J0.color,S=K0.dash||[],n=K0.dashOffset,B0=J0.tickWidth,H0=J0.tickColor,b0=J0.tickBorderDash||[],j1=J0.tickBorderDashOffset;if(o=lI(this,m,M),o===void 0)continue;if(a=U2(q,o,d0),F)s=p=Y0=N0=a;else Q0=i=d=w0=a;L.push({tx1:s,ty1:Q0,tx2:p,ty2:i,x1:Y0,y1:d,x2:N0,y2:w0,width:d0,color:k0,borderDash:S,borderDashOffset:n,tickWidth:B0,tickColor:H0,tickBorderDash:b0,tickBorderDashOffset:j1})}return this._ticksLength=T,this._borderValue=g,L}_computeLabelItems(Q){let J=this.axis,q=this.options,{position:Y,ticks:U}=q,K=this.isHorizontal(),H=this.ticks,{align:M,crossAlign:F,padding:R,mirror:T}=U,z=sZ(q.grid),L=z+R,P=T?-R:L,I=-$6(this.labelRotation),A=[],C,g,m,o,a,s,Q0,p,i,Y0,d,N0,w0="middle";if(Y==="top")s=this.bottom-P,Q0=this._getXAxisLabelAlignment();else if(Y==="bottom")s=this.top+P,Q0=this._getXAxisLabelAlignment();else if(Y==="left"){let C0=this._getYAxisLabelAlignment(z);Q0=C0.textAlign,a=C0.x}else if(Y==="right"){let C0=this._getYAxisLabelAlignment(z);Q0=C0.textAlign,a=C0.x}else if(J==="x"){if(Y==="center")s=(Q.top+Q.bottom)/2+L;else if(n0(Y)){let C0=Object.keys(Y)[0],l=Y[C0];s=this.chart.scales[C0].getPixelForValue(l)+L}Q0=this._getXAxisLabelAlignment()}else if(J==="y"){if(Y==="center")a=(Q.left+Q.right)/2-L;else if(n0(Y)){let C0=Object.keys(Y)[0],l=Y[C0];a=this.chart.scales[C0].getPixelForValue(l)}Q0=this._getYAxisLabelAlignment(z).textAlign}if(J==="y"){if(M==="start")w0="top";else if(M==="end")w0="bottom"}let z0=this._getLabelSizes();for(C=0,g=H.length;C<g;++C){m=H[C],o=m.label;let C0=U.setContext(this.getContext(C));p=this.getPixelForTick(C)+U.labelOffset,i=this._resolveTickFontOptions(C),Y0=i.lineHeight,d=z1(o)?o.length:1;let l=d/2,J0=C0.color,K0=C0.textStrokeColor,d0=C0.textStrokeWidth,k0=Q0;if(K){if(a=p,Q0==="inner")if(C===g-1)k0=!this.options.reverse?"right":"left";else if(C===0)k0=!this.options.reverse?"left":"right";else k0="center";if(Y==="top")if(F==="near"||I!==0)N0=-d*Y0+Y0/2;else if(F==="center")N0=-z0.highest.height/2-l*Y0+Y0;else N0=-z0.highest.height+Y0/2;else if(F==="near"||I!==0)N0=Y0/2;else if(F==="center")N0=z0.highest.height/2-l*Y0;else N0=z0.highest.height-d*Y0;if(T)N0*=-1;if(I!==0&&!C0.showLabelBackdrop)a+=Y0/2*Math.sin(I)}else s=p,N0=(1-d)*Y0/2;let S;if(C0.showLabelBackdrop){let n=X5(C0.backdropPadding),B0=z0.heights[C],H0=z0.widths[C],b0=N0-n.top,j1=0-n.left;switch(w0){case"middle":b0-=B0/2;break;case"bottom":b0-=B0;break}switch(Q0){case"center":j1-=H0/2;break;case"right":j1-=H0;break;case"inner":if(C===g-1)j1-=H0;else if(C>0)j1-=H0/2;break}S={left:j1,top:b0,width:H0+n.width,height:B0+n.height,color:C0.backdropColor}}A.push({label:o,font:i,textOffset:N0,options:{rotation:I,color:J0,strokeColor:K0,strokeWidth:d0,textAlign:k0,textBaseline:w0,translation:[a,s],backdrop:S}})}return A}_getXAxisLabelAlignment(){let{position:Q,ticks:J}=this.options;if(-$6(this.labelRotation))return Q==="top"?"left":"right";let Y="center";if(J.align==="start")Y="left";else if(J.align==="end")Y="right";else if(J.align==="inner")Y="inner";return Y}_getYAxisLabelAlignment(Q){let{position:J,ticks:{crossAlign:q,mirror:Y,padding:U}}=this.options,K=this._getLabelSizes(),H=Q+U,M=K.widest.width,F,R;if(J==="left")if(Y)if(R=this.right+U,q==="near")F="left";else if(q==="center")F="center",R+=M/2;else F="right",R+=M;else if(R=this.right-H,q==="near")F="right";else if(q==="center")F="center",R-=M/2;else F="left",R=this.left;else if(J==="right")if(Y)if(R=this.left+U,q==="near")F="right";else if(q==="center")F="center",R-=M/2;else F="left",R-=M;else if(R=this.left+H,q==="near")F="left";else if(q==="center")F="center",R+=M/2;else F="right",R=this.right;else F="right";return{textAlign:F,x:R}}_computeLabelArea(){if(this.options.ticks.mirror)return;let Q=this.chart,J=this.options.position;if(J==="left"||J==="right")return{top:0,left:this.left,bottom:Q.height,right:this.right};if(J==="top"||J==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:Q.width}}drawBackground(){let{ctx:Q,options:{backgroundColor:J},left:q,top:Y,width:U,height:K}=this;if(J)Q.save(),Q.fillStyle=J,Q.fillRect(q,Y,U,K),Q.restore()}getLineWidthForValue(Q){let J=this.options.grid;if(!this._isVisible()||!J.display)return 0;let Y=this.ticks.findIndex((U)=>U.value===Q);if(Y>=0)return J.setContext(this.getContext(Y)).lineWidth;return 0}drawGrid(Q){let J=this.options.grid,q=this.ctx,Y=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(Q)),U,K,H=(M,F,R)=>{if(!R.width||!R.color)return;q.save(),q.lineWidth=R.width,q.strokeStyle=R.color,q.setLineDash(R.borderDash||[]),q.lineDashOffset=R.borderDashOffset,q.beginPath(),q.moveTo(M.x,M.y),q.lineTo(F.x,F.y),q.stroke(),q.restore()};if(J.display)for(U=0,K=Y.length;U<K;++U){let M=Y[U];if(J.drawOnChartArea)H({x:M.x1,y:M.y1},{x:M.x2,y:M.y2},M);if(J.drawTicks)H({x:M.tx1,y:M.ty1},{x:M.tx2,y:M.ty2},{color:M.tickColor,width:M.tickWidth,borderDash:M.tickBorderDash,borderDashOffset:M.tickBorderDashOffset})}}drawBorder(){let{chart:Q,ctx:J,options:{border:q,grid:Y}}=this,U=q.setContext(this.getContext()),K=q.display?U.width:0;if(!K)return;let H=Y.setContext(this.getContext(0)).lineWidth,M=this._borderValue,F,R,T,z;if(this.isHorizontal())F=U2(Q,this.left,K)-K/2,R=U2(Q,this.right,H)+H/2,T=z=M;else T=U2(Q,this.top,K)-K/2,z=U2(Q,this.bottom,H)+H/2,F=R=M;J.save(),J.lineWidth=U.width,J.strokeStyle=U.color,J.beginPath(),J.moveTo(F,T),J.lineTo(R,z),J.stroke(),J.restore()}drawLabels(Q){if(!this.options.ticks.display)return;let q=this.ctx,Y=this._computeLabelArea();if(Y)mZ(q,Y);let U=this.getLabelItems(Q);for(let K of U){let{options:H,font:M,label:F,textOffset:R}=K;N2(q,F,0,R,M,H)}if(Y)dZ(q)}drawTitle(){let{ctx:Q,options:{position:J,title:q,reverse:Y}}=this;if(!q.display)return;let U=p1(q.font),K=X5(q.padding),H=q.align,M=U.lineHeight/2;if(J==="bottom"||J==="center"||n0(J)){if(M+=K.bottom,z1(q.text))M+=U.lineHeight*(q.text.length-1)}else M+=K.top;let{titleX:F,titleY:R,maxWidth:T,rotation:z}=aI(this,M,J,H);N2(Q,q.text,0,0,U,{color:q.color,maxWidth:T,rotation:z,textAlign:oI(H,J,Y),textBaseline:"middle",translation:[F,R]})}draw(Q){if(!this._isVisible())return;this.drawBackground(),this.drawGrid(Q),this.drawBorder(),this.drawTitle(),this.drawLabels(Q)}_layers(){let Q=this.options,J=Q.ticks&&Q.ticks.z||0,q=h0(Q.grid&&Q.grid.z,-1),Y=h0(Q.border&&Q.border.z,0);if(!this._isVisible()||this.draw!==T$.prototype.draw)return[{z:J,draw:(U)=>{this.draw(U)}}];return[{z:q,draw:(U)=>{this.drawBackground(),this.drawGrid(U),this.drawTitle()}},{z:Y,draw:()=>{this.drawBorder()}},{z:J,draw:(U)=>{this.drawLabels(U)}}]}getMatchingVisibleMetas(Q){let J=this.chart.getSortedVisibleDatasetMetas(),q=this.axis+"AxisID",Y=[],U,K;for(U=0,K=J.length;U<K;++U){let H=J[U];if(H[q]===this.id&&(!Q||H.type===Q))Y.push(H)}return Y}_resolveTickFontOptions(Q){let J=this.options.ticks.setContext(this.getContext(Q));return p1(J.font)}_maxDigits(){let Q=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/Q}}class aZ{constructor(Q,J,q){this.type=Q,this.scope=J,this.override=q,this.items=Object.create(null)}isForType(Q){return Object.prototype.isPrototypeOf.call(this.type.prototype,Q.prototype)}register(Q){let J=Object.getPrototypeOf(Q),q;if(eI(J))q=this.register(J);let Y=this.items,U=Q.id,K=this.scope+"."+U;if(!U)throw Error("class does not have id: "+Q);if(U in Y)return K;if(Y[U]=Q,iI(Q,K,q),this.override)D1.override(Q.id,Q.overrides);return K}get(Q){return this.items[Q]}unregister(Q){let J=this.items,q=Q.id,Y=this.scope;if(q in J)delete J[q];if(Y&&q in D1[Y]){if(delete D1[Y][q],this.override)delete Y2[q]}}}function iI(Q,J,q){let Y=y9(Object.create(null),[q?D1.get(q):{},D1.get(J),Q.defaults]);if(D1.set(J,Y),Q.defaultRoutes)tI(J,Q.defaultRoutes);if(Q.descriptors)D1.describe(J,Q.descriptors)}function tI(Q,J){Object.keys(J).forEach((q)=>{let Y=q.split("."),U=Y.pop(),K=[Q].concat(Y).join("."),H=J[q].split("."),M=H.pop(),F=H.join(".");D1.route(K,U,F,M)})}function eI(Q){return"id"in Q&&"defaults"in Q}class $z{constructor(){this.controllers=new aZ(Wq,"datasets",!0),this.elements=new aZ(q6,"elements"),this.plugins=new aZ(Object,"plugins"),this.scales=new aZ(T$,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...Q){this._each("register",Q)}remove(...Q){this._each("unregister",Q)}addControllers(...Q){this._each("register",Q,this.controllers)}addElements(...Q){this._each("register",Q,this.elements)}addPlugins(...Q){this._each("register",Q,this.plugins)}addScales(...Q){this._each("register",Q,this.scales)}getController(Q){return this._get(Q,this.controllers,"controller")}getElement(Q){return this._get(Q,this.elements,"element")}getPlugin(Q){return this._get(Q,this.plugins,"plugin")}getScale(Q){return this._get(Q,this.scales,"scale")}removeControllers(...Q){this._each("unregister",Q,this.controllers)}removeElements(...Q){this._each("unregister",Q,this.elements)}removePlugins(...Q){this._each("unregister",Q,this.plugins)}removeScales(...Q){this._each("unregister",Q,this.scales)}_each(Q,J,q){[...J].forEach((Y)=>{let U=q||this._getRegistryForType(Y);if(q||U.isForType(Y)||U===this.plugins&&Y.id)this._exec(Q,U,Y);else X1(Y,(K)=>{let H=q||this._getRegistryForType(K);this._exec(Q,H,K)})})}_exec(Q,J,q){let Y=aJ(Q);W1(q["before"+Y],[],q),J[Q](q),W1(q["after"+Y],[],q)}_getRegistryForType(Q){for(let J=0;J<this._typedRegistries.length;J++){let q=this._typedRegistries[J];if(q.isForType(Q))return q}return this.plugins}_get(Q,J,q){let Y=J.get(Q);if(Y===void 0)throw Error('"'+Q+'" is not a registered '+q+".");return Y}}var z8=new $z;class Zz{constructor(){this._init=void 0}notify(Q,J,q,Y){if(J==="beforeInit")this._init=this._createDescriptors(Q,!0),this._notify(this._init,Q,"install");if(this._init===void 0)return;let U=Y?this._descriptors(Q).filter(Y):this._descriptors(Q),K=this._notify(U,Q,J,q);if(J==="afterDestroy")this._notify(U,Q,"stop"),this._notify(this._init,Q,"uninstall"),this._init=void 0;return K}_notify(Q,J,q,Y){Y=Y||{};for(let U of Q){let K=U.plugin,H=K[q],M=[J,Y,U.options];if(W1(H,M,K)===!1&&Y.cancelable)return!1}return!0}invalidate(){if(!t0(this._cache))this._oldCache=this._cache,this._cache=void 0}_descriptors(Q){if(this._cache)return this._cache;let J=this._cache=this._createDescriptors(Q);return this._notifyStateChanges(Q),J}_createDescriptors(Q,J){let q=Q&&Q.config,Y=h0(q.options&&q.options.plugins,{}),U=$O(q);return Y===!1&&!J?[]:QO(Q,U,Y,J)}_notifyStateChanges(Q){let J=this._oldCache||[],q=this._cache,Y=(U,K)=>U.filter((H)=>!K.some((M)=>H.plugin.id===M.plugin.id));this._notify(Y(J,q),Q,"stop"),this._notify(Y(q,J),Q,"start")}}function $O(Q){let J={},q=[],Y=Object.keys(z8.plugins.items);for(let K=0;K<Y.length;K++)q.push(z8.getPlugin(Y[K]));let U=Q.plugins||[];for(let K=0;K<U.length;K++){let H=U[K];if(q.indexOf(H)===-1)q.push(H),J[H.id]=!0}return{plugins:q,localIds:J}}function ZO(Q,J){if(!J&&Q===!1)return null;if(Q===!0)return{};return Q}function QO(Q,{plugins:J,localIds:q},Y,U){let K=[],H=Q.getContext();for(let M of J){let F=M.id,R=ZO(Y[F],U);if(R===null)continue;K.push({plugin:M,options:GO(Q.config,{plugin:M,local:q[F]},R,H)})}return K}function GO(Q,{plugin:J,local:q},Y,U){let K=Q.pluginScopeKeys(J),H=Q.getOptionScopes(Y,K);if(q&&J.defaults)H.push(J.defaults);return Q.createResolver(H,U,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function IN(Q,J){let q=D1.datasets[Q]||{};return((J.datasets||{})[Q]||{}).indexAxis||J.indexAxis||q.indexAxis||"x"}function JO(Q,J){let q=Q;if(Q==="_index_")q=J;else if(Q==="_value_")q=J==="x"?"y":"x";return q}function qO(Q,J){return Q===J?"_index_":"_value_"}function MT(Q){if(Q==="x"||Q==="y"||Q==="r")return Q}function XO(Q){if(Q==="top"||Q==="bottom")return"x";if(Q==="left"||Q==="right")return"y"}function ON(Q,...J){if(MT(Q))return Q;for(let q of J){let Y=q.axis||XO(q.position)||Q.length>1&&MT(Q[0].toLowerCase());if(Y)return Y}throw Error(`Cannot determine type of '${Q}' axis. Please provide 'axis' or 'position' option.`)}function FT(Q,J,q){if(q[J+"AxisID"]===Q)return{axis:J}}function YO(Q,J){if(J.data&&J.data.datasets){let q=J.data.datasets.filter((Y)=>Y.xAxisID===Q||Y.yAxisID===Q);if(q.length)return FT(Q,"x",q[0])||FT(Q,"y",q[0])}return{}}function UO(Q,J){let q=Y2[Q.type]||{scales:{}},Y=J.scales||{},U=IN(Q.type,J),K=Object.create(null);return Object.keys(Y).forEach((H)=>{let M=Y[H];if(!n0(M))return console.error(`Invalid scale configuration for scale: ${H}`);if(M._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${H}`);let F=ON(H,M,YO(H,Q),D1.scales[M.type]),R=qO(F,U),T=q.scales||{};K[H]=h9(Object.create(null),[{axis:F},M,T[F],T[R]])}),Q.data.datasets.forEach((H)=>{let M=H.type||Q.type,F=H.indexAxis||IN(M,J),T=(Y2[M]||{}).scales||{};Object.keys(T).forEach((z)=>{let L=JO(z,F),P=H[L+"AxisID"]||L;K[P]=K[P]||Object.create(null),h9(K[P],[{axis:L},Y[P],T[z]])})}),Object.keys(K).forEach((H)=>{let M=K[H];h9(M,[D1.scales[M.type],D1.scale])}),K}function Qz(Q){let J=Q.options||(Q.options={});J.plugins=h0(J.plugins,{}),J.scales=UO(Q,J)}function Gz(Q){return Q=Q||{},Q.datasets=Q.datasets||[],Q.labels=Q.labels||[],Q}function NO(Q){return Q=Q||{},Q.data=Gz(Q.data),Qz(Q),Q}var WT=new Map,Jz=new Set;function Nq(Q,J){let q=WT.get(Q);if(!q)q=J(),WT.set(Q,q),Jz.add(q);return q}var nZ=(Q,J,q)=>{let Y=F$(J,q);if(Y!==void 0)Q.add(Y)};class qz{constructor(Q){this._config=NO(Q),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(Q){this._config.type=Q}get data(){return this._config.data}set data(Q){this._config.data=Gz(Q)}get options(){return this._config.options}set options(Q){this._config.options=Q}get plugins(){return this._config.plugins}update(){let Q=this._config;this.clearCache(),Qz(Q)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(Q){return Nq(Q,()=>[[`datasets.${Q}`,""]])}datasetAnimationScopeKeys(Q,J){return Nq(`${Q}.transition.${J}`,()=>[[`datasets.${Q}.transitions.${J}`,`transitions.${J}`],[`datasets.${Q}`,""]])}datasetElementScopeKeys(Q,J){return Nq(`${Q}-${J}`,()=>[[`datasets.${Q}.elements.${J}`,`datasets.${Q}`,`elements.${J}`,""]])}pluginScopeKeys(Q){let J=Q.id,q=this.type;return Nq(`${q}-plugin-${J}`,()=>[[`plugins.${J}`,...Q.additionalOptionScopes||[]]])}_cachedScopes(Q,J){let q=this._scopeCache,Y=q.get(Q);if(!Y||J)Y=new Map,q.set(Q,Y);return Y}getOptionScopes(Q,J,q){let{options:Y,type:U}=this,K=this._cachedScopes(Q,q),H=K.get(J);if(H)return H;let M=new Set;J.forEach((R)=>{if(Q)M.add(Q),R.forEach((T)=>nZ(M,Q,T));R.forEach((T)=>nZ(M,Y,T)),R.forEach((T)=>nZ(M,Y2[U]||{},T)),R.forEach((T)=>nZ(M,D1,T)),R.forEach((T)=>nZ(M,Zq,T))});let F=Array.from(M);if(F.length===0)F.push(Object.create(null));if(Jz.has(J))K.set(J,F);return F}chartOptionScopes(){let{options:Q,type:J}=this;return[Q,Y2[J]||{},D1.datasets[J]||{},{type:J},D1,Zq]}resolveNamedOptions(Q,J,q,Y=[""]){let U={$shared:!0},{resolver:K,subPrefixes:H}=wT(this._resolverCache,Q,Y),M=K;if(BO(K,J)){U.$shared=!1,q=t8(q)?q():q;let F=this.createResolver(Q,q,H);M=M$(K,q,F)}for(let F of J)U[F]=M[F];return U}createResolver(Q,J,q=[""],Y){let{resolver:U}=wT(this._resolverCache,Q,q);return n0(J)?M$(U,J,void 0,Y):U}}function wT(Q,J,q){let Y=Q.get(J);if(!Y)Y=new Map,Q.set(J,Y);let U=q.join(),K=Y.get(U);if(!K)K={resolver:Gq(J,q),subPrefixes:q.filter((M)=>!M.toLowerCase().includes("hover"))},Y.set(U,K);return K}var KO=(Q)=>n0(Q)&&Object.getOwnPropertyNames(Q).some((J)=>t8(Q[J]));function BO(Q,J){let{isScriptable:q,isIndexable:Y}=qN(Q);for(let U of J){let K=q(U),H=Y(U),M=(H||K)&&Q[U];if(K&&(t8(M)||KO(M))||H&&z1(M))return!0}return!1}var HO="4.5.1",MO=["top","bottom","left","right","chartArea"];function RT(Q,J){return Q==="top"||Q==="bottom"||MO.indexOf(Q)===-1&&J==="x"}function TT(Q,J){return function(q,Y){return q[Q]===Y[Q]?q[J]-Y[J]:q[Q]-Y[Q]}}function zT(Q){let J=Q.chart,q=J.options.animation;J.notifyPlugins("afterRender"),W1(q&&q.onComplete,[Q],J)}function FO(Q){let J=Q.chart,q=J.options.animation;W1(q&&q.onProgress,[Q],J)}function Xz(Q){if(Jq()&&typeof Q==="string")Q=document.getElementById(Q);else if(Q&&Q.length)Q=Q[0];if(Q&&Q.canvas)Q=Q.canvas;return Q}var Mq={},_T=(Q)=>{let J=Xz(Q);return Object.values(Mq).filter((q)=>q.canvas===J).pop()};function WO(Q,J,q){let Y=Object.keys(Q);for(let U of Y){let K=+U;if(K>=J){let H=Q[U];if(delete Q[U],q>0||K>J)Q[K+q]=H}}}function wO(Q,J,q,Y){if(!q||Q.type==="mouseout")return null;if(Y)return J;return Q}class P5{static defaults=D1;static instances=Mq;static overrides=Y2;static registry=z8;static version=HO;static getChart=_T;static register(...Q){z8.add(...Q),LT()}static unregister(...Q){z8.remove(...Q),LT()}constructor(Q,J){let q=this.config=new qz(J),Y=Xz(Q),U=_T(Y);if(U)throw Error("Canvas is already in use. Chart with ID '"+U.id+"' must be destroyed before the canvas with ID '"+U.canvas.id+"' can be reused.");let K=q.createResolver(q.chartOptionScopes(),this.getContext());this.platform=new(q.platform||gI(Y)),this.platform.updateConfig(q);let H=this.platform.acquireContext(Y,K.aspectRatio),M=H&&H.canvas,F=M&&M.height,R=M&&M.width;if(this.id=WR(),this.ctx=H,this.canvas=M,this.width=R,this.height=F,this._options=K,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Zz,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=OR((T)=>this.update(T),K.resizeDelay||0),this._dataChanges=[],Mq[this.id]=this,!H||!M){console.error("Failed to create chart: can't acquire context from the given item");return}if(G6.listen(this,"complete",zT),G6.listen(this,"progress",FO),this._initialize(),this.attached)this.update()}get aspectRatio(){let{options:{aspectRatio:Q,maintainAspectRatio:J},width:q,height:Y,_aspectRatio:U}=this;if(!t0(Q))return Q;if(J&&U)return U;return Y?q/Y:null}get data(){return this.config.data}set data(Q){this.config.data=Q}get options(){return this._options}set options(Q){this.config.options=Q}get registry(){return z8}_initialize(){if(this.notifyPlugins("beforeInit"),this.options.responsive)this.resize();else UN(this,this.options.devicePixelRatio);return this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ZN(this.canvas,this.ctx),this}stop(){return G6.stop(this),this}resize(Q,J){if(!G6.running(this))this._resize(Q,J);else this._resizeBeforeDraw={width:Q,height:J}}_resize(Q,J){let q=this.options,Y=this.canvas,U=q.maintainAspectRatio&&this.aspectRatio,K=this.platform.getMaximumSize(Y,Q,J,U),H=q.devicePixelRatio||this.platform.getDevicePixelRatio(),M=this.width?"resize":"attach";if(this.width=K.width,this.height=K.height,this._aspectRatio=this.aspectRatio,!UN(this,H,!0))return;if(this.notifyPlugins("resize",{size:K}),W1(q.onResize,[this,K],this),this.attached){if(this._doResize(M))this.render()}}ensureScalesHaveIDs(){let J=this.options.scales||{};X1(J,(q,Y)=>{q.id=Y})}buildOrUpdateScales(){let Q=this.options,J=Q.scales,q=this.scales,Y=Object.keys(q).reduce((K,H)=>{return K[H]=!1,K},{}),U=[];if(J)U=U.concat(Object.keys(J).map((K)=>{let H=J[K],M=ON(K,H),F=M==="r",R=M==="x";return{options:H,dposition:F?"chartArea":R?"bottom":"left",dtype:F?"radialLinear":R?"category":"linear"}}));X1(U,(K)=>{let H=K.options,M=H.id,F=ON(M,H),R=h0(H.type,K.dtype);if(H.position===void 0||RT(H.position,F)!==RT(K.dposition))H.position=K.dposition;Y[M]=!0;let T=null;if(M in q&&q[M].type===R)T=q[M];else T=new(z8.getScale(R))({id:M,type:R,ctx:this.ctx,chart:this}),q[T.id]=T;T.init(H,Q)}),X1(Y,(K,H)=>{if(!K)delete q[H]}),X1(q,(K)=>{V4.configure(this,K,K.options),V4.addBox(this,K)})}_updateMetasets(){let Q=this._metasets,J=this.data.datasets.length,q=Q.length;if(Q.sort((Y,U)=>Y.index-U.index),q>J){for(let Y=J;Y<q;++Y)this._destroyDatasetMeta(Y);Q.splice(J,q-J)}this._sortedMetasets=Q.slice(0).sort(TT("order","index"))}_removeUnreferencedMetasets(){let{_metasets:Q,data:{datasets:J}}=this;if(Q.length>J.length)delete this._stacks;Q.forEach((q,Y)=>{if(J.filter((U)=>U===q._dataset).length===0)this._destroyDatasetMeta(Y)})}buildOrUpdateControllers(){let Q=[],J=this.data.datasets,q,Y;this._removeUnreferencedMetasets();for(q=0,Y=J.length;q<Y;q++){let U=J[q],K=this.getDatasetMeta(q),H=U.type||this.config.type;if(K.type&&K.type!==H)this._destroyDatasetMeta(q),K=this.getDatasetMeta(q);if(K.type=H,K.indexAxis=U.indexAxis||IN(H,this.options),K.order=U.order||0,K.index=q,K.label=""+U.label,K.visible=this.isDatasetVisible(q),K.controller)K.controller.updateIndex(q),K.controller.linkScales();else{let M=z8.getController(H),{datasetElementType:F,dataElementType:R}=D1.datasets[H];Object.assign(M,{dataElementType:z8.getElement(R),datasetElementType:F&&z8.getElement(F)}),K.controller=new M(this,q),Q.push(K.controller)}}return this._updateMetasets(),Q}_resetElements(){X1(this.data.datasets,(Q,J)=>{this.getDatasetMeta(J).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(Q){let J=this.config;J.update();let q=this._options=J.createResolver(J.chartOptionScopes(),this.getContext()),Y=this._animationsDisabled=!q.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:Q,cancelable:!0})===!1)return;let U=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let K=0;for(let F=0,R=this.data.datasets.length;F<R;F++){let{controller:T}=this.getDatasetMeta(F),z=!Y&&U.indexOf(T)===-1;T.buildOrUpdateElements(z),K=Math.max(+T.getMaxOverflow(),K)}if(K=this._minPadding=q.layout.autoPadding?K:0,this._updateLayout(K),!Y)X1(U,(F)=>{F.reset()});this._updateDatasets(Q),this.notifyPlugins("afterUpdate",{mode:Q}),this._layers.sort(TT("z","_idx"));let{_active:H,_lastEvent:M}=this;if(M)this._eventHandler(M,!0);else if(H.length)this._updateHoverStyles(H,H,!0);this.render()}_updateScales(){X1(this.scales,(Q)=>{V4.removeBox(this,Q)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let Q=this.options,J=new Set(Object.keys(this._listeners)),q=new Set(Q.events);if(!cU(J,q)||!!this._responsiveListeners!==Q.responsive)this.unbindEvents(),this.bindEvents()}_updateHiddenIndices(){let{_hiddenIndices:Q}=this,J=this._getUniformDataChanges()||[];for(let{method:q,start:Y,count:U}of J){let K=q==="_removeElements"?-U:U;WO(Q,Y,K)}}_getUniformDataChanges(){let Q=this._dataChanges;if(!Q||!Q.length)return;this._dataChanges=[];let J=this.data.datasets.length,q=(U)=>new Set(Q.filter((K)=>K[0]===U).map((K,H)=>H+","+K.splice(1).join(","))),Y=q(0);for(let U=1;U<J;U++)if(!cU(Y,q(U)))return;return Array.from(Y).map((U)=>U.split(",")).map((U)=>({method:U[1],start:+U[2],count:+U[3]}))}_updateLayout(Q){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;V4.update(this,this.width,this.height,Q);let J=this.chartArea,q=J.width<=0||J.height<=0;this._layers=[],X1(this.boxes,(Y)=>{if(q&&Y.position==="chartArea")return;if(Y.configure)Y.configure();this._layers.push(...Y._layers())},this),this._layers.forEach((Y,U)=>{Y._idx=U}),this.notifyPlugins("afterLayout")}_updateDatasets(Q){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:Q,cancelable:!0})===!1)return;for(let J=0,q=this.data.datasets.length;J<q;++J)this.getDatasetMeta(J).controller.configure();for(let J=0,q=this.data.datasets.length;J<q;++J)this._updateDataset(J,t8(Q)?Q({datasetIndex:J}):Q);this.notifyPlugins("afterDatasetsUpdate",{mode:Q})}_updateDataset(Q,J){let q=this.getDatasetMeta(Q),Y={meta:q,index:Q,mode:J,cancelable:!0};if(this.notifyPlugins("beforeDatasetUpdate",Y)===!1)return;q.controller._update(J),Y.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",Y)}render(){if(this.notifyPlugins("beforeRender",{cancelable:!0})===!1)return;if(G6.has(this)){if(this.attached&&!G6.running(this))G6.start(this)}else this.draw(),zT({chart:this})}draw(){let Q;if(this._resizeBeforeDraw){let{width:q,height:Y}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(q,Y)}if(this.clear(),this.width<=0||this.height<=0)return;if(this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;let J=this._layers;for(Q=0;Q<J.length&&J[Q].z<=0;++Q)J[Q].draw(this.chartArea);this._drawDatasets();for(;Q<J.length;++Q)J[Q].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(Q){let J=this._sortedMetasets,q=[],Y,U;for(Y=0,U=J.length;Y<U;++Y){let K=J[Y];if(!Q||K.visible)q.push(K)}return q}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;let Q=this.getSortedVisibleDatasetMetas();for(let J=Q.length-1;J>=0;--J)this._drawDataset(Q[J]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(Q){let J=this.ctx,q={meta:Q,index:Q.index,cancelable:!0},Y=FN(this,Q);if(this.notifyPlugins("beforeDatasetDraw",q)===!1)return;if(Y)mZ(J,Y);if(Q.controller.draw(),Y)dZ(J);q.cancelable=!1,this.notifyPlugins("afterDatasetDraw",q)}isPointInArea(Q){return w8(Q,this.chartArea,this._minPadding)}getElementsAtEventForMode(Q,J,q,Y){let U=TI.modes[J];if(typeof U==="function")return U(this,Q,q,Y);return[]}getDatasetMeta(Q){let J=this.data.datasets[Q],q=this._metasets,Y=q.filter((U)=>U&&U._dataset===J).pop();if(!Y)Y={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:J&&J.order||0,index:Q,_dataset:J,_parsed:[],_sorted:!1},q.push(Y);return Y}getContext(){return this.$context||(this.$context=Q6(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(Q){let J=this.data.datasets[Q];if(!J)return!1;let q=this.getDatasetMeta(Q);return typeof q.hidden==="boolean"?!q.hidden:!J.hidden}setDatasetVisibility(Q,J){let q=this.getDatasetMeta(Q);q.hidden=!J}toggleDataVisibility(Q){this._hiddenIndices[Q]=!this._hiddenIndices[Q]}getDataVisibility(Q){return!this._hiddenIndices[Q]}_updateVisibility(Q,J,q){let Y=q?"show":"hide",U=this.getDatasetMeta(Q),K=U.controller._resolveAnimations(void 0,Y);if(x9(J))U.data[J].hidden=!q,this.update();else this.setDatasetVisibility(Q,q),K.update(U,{visible:q}),this.update((H)=>H.datasetIndex===Q?Y:void 0)}hide(Q,J){this._updateVisibility(Q,J,!1)}show(Q,J){this._updateVisibility(Q,J,!0)}_destroyDatasetMeta(Q){let J=this._metasets[Q];if(J&&J.controller)J.controller._destroy();delete this._metasets[Q]}_stop(){let Q,J;this.stop(),G6.remove(this);for(Q=0,J=this.data.datasets.length;Q<J;++Q)this._destroyDatasetMeta(Q)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:Q,ctx:J}=this;if(this._stop(),this.config.clearCache(),Q)this.unbindEvents(),ZN(Q,J),this.platform.releaseContext(J),this.canvas=null,this.ctx=null;delete Mq[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...Q){return this.canvas.toDataURL(...Q)}bindEvents(){if(this.bindUserEvents(),this.options.responsive)this.bindResponsiveEvents();else this.attached=!0}bindUserEvents(){let Q=this._listeners,J=this.platform,q=(U,K)=>{J.addEventListener(this,U,K),Q[U]=K},Y=(U,K,H)=>{U.offsetX=K,U.offsetY=H,this._eventHandler(U)};X1(this.options.events,(U)=>q(U,Y))}bindResponsiveEvents(){if(!this._responsiveListeners)this._responsiveListeners={};let Q=this._responsiveListeners,J=this.platform,q=(M,F)=>{J.addEventListener(this,M,F),Q[M]=F},Y=(M,F)=>{if(Q[M])J.removeEventListener(this,M,F),delete Q[M]},U=(M,F)=>{if(this.canvas)this.resize(M,F)},K,H=()=>{Y("attach",H),this.attached=!0,this.resize(),q("resize",U),q("detach",K)};if(K=()=>{this.attached=!1,Y("resize",U),this._stop(),this._resize(0,0),q("attach",H)},J.isAttached(this.canvas))H();else K()}unbindEvents(){X1(this._listeners,(Q,J)=>{this.platform.removeEventListener(this,J,Q)}),this._listeners={},X1(this._responsiveListeners,(Q,J)=>{this.platform.removeEventListener(this,J,Q)}),this._responsiveListeners=void 0}updateHoverStyle(Q,J,q){let Y=q?"set":"remove",U,K,H,M;if(J==="dataset")U=this.getDatasetMeta(Q[0].datasetIndex),U.controller["_"+Y+"DatasetHoverStyle"]();for(H=0,M=Q.length;H<M;++H){K=Q[H];let F=K&&this.getDatasetMeta(K.datasetIndex).controller;if(F)F[Y+"HoverStyle"](K.element,K.datasetIndex,K.index)}}getActiveElements(){return this._active||[]}setActiveElements(Q){let J=this._active||[],q=Q.map(({datasetIndex:U,index:K})=>{let H=this.getDatasetMeta(U);if(!H)throw Error("No dataset found at index "+U);return{datasetIndex:U,element:H.data[K],index:K}});if(!xZ(q,J))this._active=q,this._lastEvent=null,this._updateHoverStyles(q,J)}notifyPlugins(Q,J,q){return this._plugins.notify(this,Q,J,q)}isPluginEnabled(Q){return this._plugins._cache.filter((J)=>J.plugin.id===Q).length===1}_updateHoverStyles(Q,J,q){let Y=this.options.hover,U=(M,F)=>M.filter((R)=>!F.some((T)=>R.datasetIndex===T.datasetIndex&&R.index===T.index)),K=U(J,Q),H=q?Q:U(Q,J);if(K.length)this.updateHoverStyle(K,Y.mode,!1);if(H.length&&Y.mode)this.updateHoverStyle(H,Y.mode,!0)}_eventHandler(Q,J){let q={event:Q,replay:J,cancelable:!0,inChartArea:this.isPointInArea(Q)},Y=(K)=>(K.options.events||this.options.events).includes(Q.native.type);if(this.notifyPlugins("beforeEvent",q,Y)===!1)return;let U=this._handleEvent(Q,J,q.inChartArea);if(q.cancelable=!1,this.notifyPlugins("afterEvent",q,Y),U||q.changed)this.render();return this}_handleEvent(Q,J,q){let{_active:Y=[],options:U}=this,K=J,H=this._getActiveElements(Q,Y,q,K),M=TR(Q),F=wO(Q,this._lastEvent,q,M);if(q){if(this._lastEvent=null,W1(U.onHover,[Q,H,this],this),M)W1(U.onClick,[Q,H,this],this)}let R=!xZ(H,Y);if(R||J)this._active=H,this._updateHoverStyles(H,Y,J);return this._lastEvent=F,R}_getActiveElements(Q,J,q,Y){if(Q.type==="mouseout")return[];if(!q)return J;let U=this.options.hover;return this.getElementsAtEventForMode(Q,U.mode,U,Y)}}function LT(){return X1(P5.instances,(Q)=>Q._plugins.invalidate())}function Yz(Q,J,q=J){Q.lineCap=h0(q.borderCapStyle,J.borderCapStyle),Q.setLineDash(h0(q.borderDash,J.borderDash)),Q.lineDashOffset=h0(q.borderDashOffset,J.borderDashOffset),Q.lineJoin=h0(q.borderJoinStyle,J.borderJoinStyle),Q.lineWidth=h0(q.borderWidth,J.borderWidth),Q.strokeStyle=h0(q.borderColor,J.borderColor)}function RO(Q,J,q){Q.lineTo(q.x,q.y)}function TO(Q){if(Q.stepped)return bR;if(Q.tension||Q.cubicInterpolationMode==="monotone")return fR;return RO}function Uz(Q,J,q={}){let Y=Q.length,{start:U=0,end:K=Y-1}=q,{start:H,end:M}=J,F=Math.max(U,H),R=Math.min(K,M),T=U<H&&K<H||U>M&&K>M;return{count:Y,start:F,loop:J.loop,ilen:R<F&&!T?Y+R-F:R-F}}function zO(Q,J,q,Y){let{points:U,options:K}=J,{count:H,start:M,loop:F,ilen:R}=Uz(U,q,Y),T=TO(K),{move:z=!0,reverse:L}=Y||{},P,I,A;for(P=0;P<=R;++P){if(I=U[(M+(L?R-P:P))%H],I.skip)continue;else if(z)Q.moveTo(I.x,I.y),z=!1;else T(Q,A,I,L,K.stepped);A=I}if(F)I=U[(M+(L?R:0))%H],T(Q,A,I,L,K.stepped);return!!F}function _O(Q,J,q,Y){let U=J.points,{count:K,start:H,ilen:M}=Uz(U,q,Y),{move:F=!0,reverse:R}=Y||{},T=0,z=0,L,P,I,A,C,g,m=(a)=>(H+(R?M-a:a))%K,o=()=>{if(A!==C)Q.lineTo(T,C),Q.lineTo(T,A),Q.lineTo(T,g)};if(F)P=U[m(0)],Q.moveTo(P.x,P.y);for(L=0;L<=M;++L){if(P=U[m(L)],P.skip)continue;let{x:a,y:s}=P,Q0=a|0;if(Q0===I){if(s<A)A=s;else if(s>C)C=s;T=(z*T+a)/++z}else o(),Q.lineTo(a,s),I=Q0,z=0,A=C=s;g=s}o()}function DN(Q){let J=Q.options,q=J.borderDash&&J.borderDash.length;return!Q._decimated&&!Q._loop&&!J.tension&&J.cubicInterpolationMode!=="monotone"&&!J.stepped&&!q?_O:zO}function LO(Q){if(Q.stepped)return cR;if(Q.tension||Q.cubicInterpolationMode==="monotone")return lR;return J2}function VO(Q,J,q,Y){let U=J._path;if(!U){if(U=J._path=new Path2D,J.path(U,q,Y))U.closePath()}Yz(Q,J.options),Q.stroke(U)}function EO(Q,J,q,Y){let{segments:U,options:K}=J,H=DN(J);for(let M of U){if(Yz(Q,K,M.style),Q.beginPath(),H(Q,J,M,{start:q,end:q+Y-1}))Q.closePath();Q.stroke()}}var PO=typeof Path2D==="function";function CO(Q,J,q,Y){if(PO&&!J.options.segment)VO(Q,J,q,Y);else EO(Q,J,q,Y)}class u5 extends q6{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:(Q)=>Q!=="borderDash"&&Q!=="fill"};constructor(Q){super();if(this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,Q)Object.assign(this,Q)}updateControlPoints(Q,J){let q=this.options;if((q.tension||q.cubicInterpolationMode==="monotone")&&!q.stepped&&!this._pointsUpdated){let Y=q.spanGaps?this._loop:this._fullLoop;mR(this._points,q,Q,Y,J),this._pointsUpdated=!0}}set points(Q){this._points=Q,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=sR(this,this.options.segment))}first(){let Q=this.segments,J=this.points;return Q.length&&J[Q[0].start]}last(){let Q=this.segments,J=this.points,q=Q.length;return q&&J[Q[q-1].end]}interpolate(Q,J){let q=this.options,Y=Q[J],U=this.points,K=MN(this,{property:J,start:Y,end:Y});if(!K.length)return;let H=[],M=LO(q),F,R;for(F=0,R=K.length;F<R;++F){let{start:T,end:z}=K[F],L=U[T],P=U[z];if(L===P){H.push(L);continue}let I=Math.abs((Y-L[J])/(P[J]-L[J])),A=M(L,P,I,q.stepped);A[J]=Q[J],H.push(A)}return H.length===1?H[0]:H}pathSegment(Q,J,q){return DN(this)(Q,this,J,q)}path(Q,J,q){let Y=this.segments,U=DN(this),K=this._loop;J=J||0,q=q||this.points.length-J;for(let H of Y)K&=U(Q,this,H,{start:J,end:J+q-1});return!!K}draw(Q,J,q,Y){let U=this.options||{};if((this.points||[]).length&&U.borderWidth)Q.save(),CO(Q,this,q,Y),Q.restore();if(this.animated)this._pointsUpdated=!1,this._path=void 0}}function VT(Q,J,q,Y){let U=Q.options,{[q]:K}=Q.getProps([q],Y);return Math.abs(J-K)<U.radius+U.hitRadius}class g4 extends q6{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Q){super();if(this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,Q)Object.assign(this,Q)}inRange(Q,J,q){let Y=this.options,{x:U,y:K}=this.getProps(["x","y"],q);return Math.pow(Q-U,2)+Math.pow(J-K,2)<Math.pow(Y.hitRadius+Y.radius,2)}inXRange(Q,J){return VT(this,Q,"x",J)}inYRange(Q,J){return VT(this,Q,"y",J)}getCenterPoint(Q){let{x:J,y:q}=this.getProps(["x","y"],Q);return{x:J,y:q}}size(Q){Q=Q||this.options||{};let J=Q.radius||0;J=Math.max(J,J&&Q.hoverRadius||0);let q=J&&Q.borderWidth||0;return(J+q)*2}draw(Q,J){let q=this.options;if(this.skip||q.radius<0.1||!w8(this,J,this.size(q)/2))return;Q.strokeStyle=q.borderColor,Q.lineWidth=q.borderWidth,Q.fillStyle=q.backgroundColor,Qq(Q,q,this.x,this.y)}getRange(){let Q=this.options||{};return Q.radius+Q.hitRadius}}function Nz(Q,J){let{x:q,y:Y,base:U,width:K,height:H}=Q.getProps(["x","y","base","width","height"],J),M,F,R,T,z;if(Q.horizontal)z=H/2,M=Math.min(q,U),F=Math.max(q,U),R=Y-z,T=Y+z;else z=K/2,M=q-z,F=q+z,R=Math.min(Y,U),T=Math.max(Y,U);return{left:M,top:R,right:F,bottom:T}}function H2(Q,J,q,Y){return Q?0:y5(J,q,Y)}function IO(Q,J,q){let Y=Q.options.borderWidth,U=Q.borderSkipped,K=JN(Y);return{t:H2(U.top,K.top,0,q),r:H2(U.right,K.right,0,J),b:H2(U.bottom,K.bottom,0,q),l:H2(U.left,K.left,0,J)}}function OO(Q,J,q){let{enableBorderRadius:Y}=Q.getProps(["enableBorderRadius"]),U=Q.options.borderRadius,K=K2(U),H=Math.min(J,q),M=Q.borderSkipped,F=Y||n0(U);return{topLeft:H2(!F||M.top||M.left,K.topLeft,0,H),topRight:H2(!F||M.top||M.right,K.topRight,0,H),bottomLeft:H2(!F||M.bottom||M.left,K.bottomLeft,0,H),bottomRight:H2(!F||M.bottom||M.right,K.bottomRight,0,H)}}function DO(Q){let J=Nz(Q),q=J.right-J.left,Y=J.bottom-J.top,U=IO(Q,q/2,Y/2),K=OO(Q,q/2,Y/2);return{outer:{x:J.left,y:J.top,w:q,h:Y,radius:K},inner:{x:J.left+U.l,y:J.top+U.t,w:q-U.l-U.r,h:Y-U.t-U.b,radius:{topLeft:Math.max(0,K.topLeft-Math.max(U.t,U.l)),topRight:Math.max(0,K.topRight-Math.max(U.t,U.r)),bottomLeft:Math.max(0,K.bottomLeft-Math.max(U.b,U.l)),bottomRight:Math.max(0,K.bottomRight-Math.max(U.b,U.r))}}}}function VN(Q,J,q,Y){let U=J===null,K=q===null,M=Q&&!(U&&K)&&Nz(Q,Y);return M&&(U||Z6(J,M.left,M.right))&&(K||Z6(q,M.top,M.bottom))}function jO(Q){return Q.topLeft||Q.topRight||Q.bottomLeft||Q.bottomRight}function AO(Q,J){Q.rect(J.x,J.y,J.w,J.h)}function EN(Q,J,q={}){let Y=Q.x!==q.x?-J:0,U=Q.y!==q.y?-J:0,K=(Q.x+Q.w!==q.x+q.w?J:0)-Y,H=(Q.y+Q.h!==q.y+q.h?J:0)-U;return{x:Q.x+Y,y:Q.y+U,w:Q.w+K,h:Q.h+H,radius:Q.radius}}class QQ extends q6{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Q){super();if(this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,Q)Object.assign(this,Q)}draw(Q){let{inflateAmount:J,options:{borderColor:q,backgroundColor:Y}}=this,{inner:U,outer:K}=DO(this),H=jO(K.radius)?d9:AO;if(Q.save(),K.w!==U.w||K.h!==U.h)Q.beginPath(),H(Q,EN(K,J,U)),Q.clip(),H(Q,EN(U,-J,K)),Q.fillStyle=q,Q.fill("evenodd");Q.beginPath(),H(Q,EN(U,J)),Q.fillStyle=Y,Q.fill(),Q.restore()}inRange(Q,J,q){return VN(this,Q,J,q)}inXRange(Q,J){return VN(this,Q,null,J)}inYRange(Q,J){return VN(this,null,Q,J)}getCenterPoint(Q){let{x:J,y:q,base:Y,horizontal:U}=this.getProps(["x","y","base","horizontal"],Q);return{x:U?(J+Y)/2:J,y:U?q:(q+Y)/2}}getRange(Q){return Q==="x"?this.width/2:this.height/2}}function SO(Q,J,q){let{segments:Y,points:U}=Q,K=J.points,H=[];for(let M of Y){let{start:F,end:R}=M;R=wq(F,R,U);let T=jN(q,U[F],U[R],M.loop);if(!J.segments){H.push({source:M,target:T,start:U[F],end:U[R]});continue}let z=MN(J,T);for(let L of z){let P=jN(q,K[L.start],K[L.end],L.loop),I=HN(M,U,P);for(let A of I)H.push({source:A,target:L,start:{[q]:ET(T,P,"start",Math.max)},end:{[q]:ET(T,P,"end",Math.min)}})}}return H}function jN(Q,J,q,Y){if(Y)return;let U=J[Q],K=q[Q];if(Q==="angle")U=k5(U),K=k5(K);return{property:Q,start:U,end:K}}function vO(Q,J){let{x:q=null,y:Y=null}=Q||{},U=J.points,K=[];return J.segments.forEach(({start:H,end:M})=>{M=wq(H,M,U);let F=U[H],R=U[M];if(Y!==null)K.push({x:F.x,y:Y}),K.push({x:R.x,y:Y});else if(q!==null)K.push({x:q,y:F.y}),K.push({x:q,y:R.y})}),K}function wq(Q,J,q){for(;J>Q;J--){let Y=q[J];if(!isNaN(Y.x)&&!isNaN(Y.y))break}return J}function ET(Q,J,q,Y){if(Q&&J)return Y(Q[q],J[q]);return Q?Q[q]:J?J[q]:0}function Kz(Q,J){let q=[],Y=!1;if(z1(Q))Y=!0,q=Q;else q=vO(Q,J);return q.length?new u5({points:q,options:{tension:0},_loop:Y,_fullLoop:Y}):null}function PT(Q){return Q&&Q.fill!==!1}function kO(Q,J,q){let U=Q[J].fill,K=[J],H;if(!q)return U;while(U!==!1&&K.indexOf(U)===-1){if(!O1(U))return U;if(H=Q[U],!H)return!1;if(H.visible)return U;K.push(U),U=H.fill}return!1}function bO(Q,J,q){let Y=hO(Q);if(n0(Y))return isNaN(Y.value)?!1:Y;let U=parseFloat(Y);if(O1(U)&&Math.floor(U)===U)return fO(Y[0],J,U,q);return["origin","start","end","stack","shape"].indexOf(Y)>=0&&Y}function fO(Q,J,q,Y){if(Q==="-"||Q==="+")q=J+q;if(q===J||q<0||q>=Y)return!1;return q}function yO(Q,J){let q=null;if(Q==="start")q=J.bottom;else if(Q==="end")q=J.top;else if(n0(Q))q=J.getPixelForValue(Q.value);else if(J.getBasePixel)q=J.getBasePixel();return q}function gO(Q,J,q){let Y;if(Q==="start")Y=q;else if(Q==="end")Y=J.options.reverse?J.min:J.max;else if(n0(Q))Y=Q.value;else Y=J.getBaseValue();return Y}function hO(Q){let J=Q.options,q=J.fill,Y=h0(q&&q.target,q);if(Y===void 0)Y=!!J.backgroundColor;if(Y===!1||Y===null)return!1;if(Y===!0)return"origin";return Y}function xO(Q){let{scale:J,index:q,line:Y}=Q,U=[],K=Y.segments,H=Y.points,M=uO(J,q);M.push(Kz({x:null,y:J.bottom},Y));for(let F=0;F<K.length;F++){let R=K[F];for(let T=R.start;T<=R.end;T++)mO(U,H[T],M)}return new u5({points:U,options:{}})}function uO(Q,J){let q=[],Y=Q.getMatchingVisibleMetas("line");for(let U=0;U<Y.length;U++){let K=Y[U];if(K.index===J)break;if(!K.hidden)q.unshift(K.dataset)}return q}function mO(Q,J,q){let Y=[];for(let U=0;U<q.length;U++){let K=q[U],{first:H,last:M,point:F}=dO(K,J,"x");if(!F||H&&M)continue;if(H)Y.unshift(F);else if(Q.push(F),!M)break}Q.push(...Y)}function dO(Q,J,q){let Y=Q.interpolate(J,q);if(!Y)return{};let U=Y[q],K=Q.segments,H=Q.points,M=!1,F=!1;for(let R=0;R<K.length;R++){let T=K[R],z=H[T.start][q],L=H[T.end][q];if(Z6(U,z,L)){M=U===z,F=U===L;break}}return{first:M,last:F,point:Y}}class xN{constructor(Q){this.x=Q.x,this.y=Q.y,this.radius=Q.radius}pathSegment(Q,J,q){let{x:Y,y:U,radius:K}=this;return J=J||{start:0,end:f5},Q.arc(Y,U,K,J.end,J.start,!0),!q.bounds}interpolate(Q){let{x:J,y:q,radius:Y}=this,U=Q.angle;return{x:J+Math.cos(U)*Y,y:q+Math.sin(U)*Y,angle:U}}}function pO(Q){let{chart:J,fill:q,line:Y}=Q;if(O1(q))return cO(J,q);if(q==="stack")return xO(Q);if(q==="shape")return!0;let U=lO(Q);if(U instanceof xN)return U;return Kz(U,Y)}function cO(Q,J){let q=Q.getDatasetMeta(J);return q&&Q.isDatasetVisible(J)?q.dataset:null}function lO(Q){if((Q.scale||{}).getPointPositionForValue)return sO(Q);return rO(Q)}function rO(Q){let{scale:J={},fill:q}=Q,Y=yO(q,J);if(O1(Y)){let U=J.isHorizontal();return{x:U?Y:null,y:U?null:Y}}return null}function sO(Q){let{scale:J,fill:q}=Q,Y=J.options,U=J.getLabels().length,K=Y.reverse?J.max:J.min,H=gO(q,J,K),M=[];if(Y.grid.circular){let F=J.getPointPositionForValue(0,K);return new xN({x:F.x,y:F.y,radius:J.getDistanceFromCenterForValue(H)})}for(let F=0;F<U;++F)M.push(J.getPointPositionForValue(F,H));return M}function PN(Q,J,q){let Y=pO(J),{chart:U,index:K,line:H,scale:M,axis:F}=J,R=H.options,T=R.fill,z=R.backgroundColor,{above:L=z,below:P=z}=T||{},I=U.getDatasetMeta(K),A=FN(U,I);if(Y&&H.points.length)mZ(Q,q),nO(Q,{line:H,target:Y,above:L,below:P,area:q,scale:M,axis:F,clip:A}),dZ(Q)}function nO(Q,J){let{line:q,target:Y,above:U,below:K,area:H,scale:M,clip:F}=J,R=q._loop?"angle":J.axis;Q.save();let T=K;if(K!==U){if(R==="x")CT(Q,Y,H.top),CN(Q,{line:q,target:Y,color:U,scale:M,property:R,clip:F}),Q.restore(),Q.save(),CT(Q,Y,H.bottom);else if(R==="y")IT(Q,Y,H.left),CN(Q,{line:q,target:Y,color:K,scale:M,property:R,clip:F}),Q.restore(),Q.save(),IT(Q,Y,H.right),T=U}CN(Q,{line:q,target:Y,color:T,scale:M,property:R,clip:F}),Q.restore()}function CT(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:R}=M,T=U[F],z=U[wq(F,R,U)];if(K)Q.moveTo(T.x,T.y),K=!1;else Q.lineTo(T.x,q),Q.lineTo(T.x,T.y);if(H=!!J.pathSegment(Q,M,{move:H}),H)Q.closePath();else Q.lineTo(z.x,q)}Q.lineTo(J.first().x,q),Q.closePath(),Q.clip()}function IT(Q,J,q){let{segments:Y,points:U}=J,K=!0,H=!1;Q.beginPath();for(let M of Y){let{start:F,end:R}=M,T=U[F],z=U[wq(F,R,U)];if(K)Q.moveTo(T.x,T.y),K=!1;else Q.lineTo(q,T.y),Q.lineTo(T.x,T.y);if(H=!!J.pathSegment(Q,M,{move:H}),H)Q.closePath();else Q.lineTo(q,z.y)}Q.lineTo(q,J.first().y),Q.closePath(),Q.clip()}function CN(Q,J){let{line:q,target:Y,property:U,color:K,scale:H,clip:M}=J,F=SO(q,Y,U);for(let{source:R,target:T,start:z,end:L}of F){let{style:{backgroundColor:P=K}={}}=R,I=Y!==!0;Q.save(),Q.fillStyle=P,oO(Q,H,M,I&&jN(U,z,L)),Q.beginPath();let A=!!q.pathSegment(Q,R),C;if(I){if(A)Q.closePath();else OT(Q,Y,L,U);let g=!!Y.pathSegment(Q,T,{move:A,reverse:!0});if(C=A&&g,!C)OT(Q,Y,z,U)}Q.closePath(),Q.fill(C?"evenodd":"nonzero"),Q.restore()}}function oO(Q,J,q,Y){let U=J.chart.chartArea,{property:K,start:H,end:M}=Y||{};if(K==="x"||K==="y"){let F,R,T,z;if(K==="x")F=H,R=U.top,T=M,z=U.bottom;else F=U.left,R=H,T=U.right,z=M;if(Q.beginPath(),q)F=Math.max(F,q.left),T=Math.min(T,q.right),R=Math.max(R,q.top),z=Math.min(z,q.bottom);Q.rect(F,R,T-F,z-R),Q.clip()}}function OT(Q,J,q,Y){let U=J.interpolate(q,Y);if(U)Q.lineTo(U.x,U.y)}var p9={id:"filler",afterDatasetsUpdate(Q,J,q){let Y=(Q.data.datasets||[]).length,U=[],K,H,M,F;for(H=0;H<Y;++H){if(K=Q.getDatasetMeta(H),M=K.dataset,F=null,M&&M.options&&M instanceof u5)F={visible:Q.isDatasetVisible(H),index:H,fill:bO(M,H,Y),chart:Q,axis:K.controller.options.indexAxis,scale:K.vScale,line:M};K.$filler=F,U.push(F)}for(H=0;H<Y;++H){if(F=U[H],!F||F.fill===!1)continue;F.fill=kO(U,H,q.propagate)}},beforeDraw(Q,J,q){let Y=q.drawTime==="beforeDraw",U=Q.getSortedVisibleDatasetMetas(),K=Q.chartArea;for(let H=U.length-1;H>=0;--H){let M=U[H].$filler;if(!M)continue;if(M.line.updateControlPoints(K,M.axis),Y&&M.fill)PN(Q.ctx,M,K)}},beforeDatasetsDraw(Q,J,q){if(q.drawTime!=="beforeDatasetsDraw")return;let Y=Q.getSortedVisibleDatasetMetas();for(let U=Y.length-1;U>=0;--U){let K=Y[U].$filler;if(PT(K))PN(Q.ctx,K,Q.chartArea)}},beforeDatasetDraw(Q,J,q){let Y=J.meta.$filler;if(!PT(Y)||q.drawTime!=="beforeDatasetDraw")return;PN(Q.ctx,Y,Q.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},DT=(Q,J)=>{let{boxHeight:q=J,boxWidth:Y=J}=Q;if(Q.usePointStyle)q=Math.min(q,J),Y=Q.pointStyleWidth||Math.min(Y,J);return{boxWidth:Y,boxHeight:q,itemHeight:Math.max(J,q)}},aO=(Q,J)=>Q!==null&&J!==null&&Q.datasetIndex===J.datasetIndex&&Q.index===J.index;class AN extends q6{constructor(Q){super();this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=Q.chart,this.options=Q.options,this.ctx=Q.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Q,J,q){this.maxWidth=Q,this.maxHeight=J,this._margins=q,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width;else this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height}buildLabels(){let Q=this.options.labels||{},J=W1(Q.generateLabels,[this.chart],this)||[];if(Q.filter)J=J.filter((q)=>Q.filter(q,this.chart.data));if(Q.sort)J=J.sort((q,Y)=>Q.sort(q,Y,this.chart.data));if(this.options.reverse)J.reverse();this.legendItems=J}fit(){let{options:Q,ctx:J}=this;if(!Q.display){this.width=this.height=0;return}let q=Q.labels,Y=p1(q.font),U=Y.size,K=this._computeTitleHeight(),{boxWidth:H,itemHeight:M}=DT(q,U),F,R;if(J.font=Y.string,this.isHorizontal())F=this.maxWidth,R=this._fitRows(K,U,H,M)+10;else R=this.maxHeight,F=this._fitCols(K,Y,H,M)+10;this.width=Math.min(F,Q.maxWidth||this.maxWidth),this.height=Math.min(R,Q.maxHeight||this.maxHeight)}_fitRows(Q,J,q,Y){let{ctx:U,maxWidth:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],F=this.lineWidths=[0],R=Y+H,T=Q;U.textAlign="left",U.textBaseline="middle";let z=-1,L=-R;return this.legendItems.forEach((P,I)=>{let A=q+J/2+U.measureText(P.text).width;if(I===0||F[F.length-1]+A+2*H>K)T+=R,F[F.length-(I>0?0:1)]=0,L+=R,z++;M[I]={left:0,top:L,row:z,width:A,height:Y},F[F.length-1]+=A+H}),T}_fitCols(Q,J,q,Y){let{ctx:U,maxHeight:K,options:{labels:{padding:H}}}=this,M=this.legendHitBoxes=[],F=this.columnSizes=[],R=K-Q,T=H,z=0,L=0,P=0,I=0;return this.legendItems.forEach((A,C)=>{let{itemWidth:g,itemHeight:m}=iO(q,J,U,A,Y);if(C>0&&L+m+2*H>R)T+=z+H,F.push({width:z,height:L}),P+=z+H,I++,z=L=0;M[C]={left:P,top:L,col:I,width:g,height:m},z=Math.max(z,g),L+=m+H}),T+=z,F.push({width:z,height:L}),T}adjustHitBoxes(){if(!this.options.display)return;let Q=this._computeTitleHeight(),{legendHitBoxes:J,options:{align:q,labels:{padding:Y},rtl:U}}=this,K=W$(U,this.left,this.width);if(this.isHorizontal()){let H=0,M=q5(q,this.left+Y,this.right-this.lineWidths[H]);for(let F of J){if(H!==F.row)H=F.row,M=q5(q,this.left+Y,this.right-this.lineWidths[H]);F.top+=this.top+Q+Y,F.left=K.leftForLtr(K.x(M),F.width),M+=F.width+Y}}else{let H=0,M=q5(q,this.top+Q+Y,this.bottom-this.columnSizes[H].height);for(let F of J){if(F.col!==H)H=F.col,M=q5(q,this.top+Q+Y,this.bottom-this.columnSizes[H].height);F.top=M,F.left+=this.left+Y,F.left=K.leftForLtr(K.x(F.left),F.width),M+=F.height+Y}}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let Q=this.ctx;mZ(Q,this),this._draw(),dZ(Q)}}_draw(){let{options:Q,columnSizes:J,lineWidths:q,ctx:Y}=this,{align:U,labels:K}=Q,H=D1.color,M=W$(Q.rtl,this.left,this.width),F=p1(K.font),{padding:R}=K,T=F.size,z=T/2,L;this.drawTitle(),Y.textAlign=M.textAlign("left"),Y.textBaseline="middle",Y.lineWidth=0.5,Y.font=F.string;let{boxWidth:P,boxHeight:I,itemHeight:A}=DT(K,T),C=function(s,Q0,p){if(isNaN(P)||P<=0||isNaN(I)||I<0)return;Y.save();let i=h0(p.lineWidth,1);if(Y.fillStyle=h0(p.fillStyle,H),Y.lineCap=h0(p.lineCap,"butt"),Y.lineDashOffset=h0(p.lineDashOffset,0),Y.lineJoin=h0(p.lineJoin,"miter"),Y.lineWidth=i,Y.strokeStyle=h0(p.strokeStyle,H),Y.setLineDash(h0(p.lineDash,[])),K.usePointStyle){let Y0={radius:I*Math.SQRT2/2,pointStyle:p.pointStyle,rotation:p.rotation,borderWidth:i},d=M.xPlus(s,P/2),N0=Q0+z;QN(Y,Y0,d,N0,K.pointStyleWidth&&P)}else{let Y0=Q0+Math.max((T-I)/2,0),d=M.leftForLtr(s,P),N0=K2(p.borderRadius);if(Y.beginPath(),Object.values(N0).some((w0)=>w0!==0))d9(Y,{x:d,y:Y0,w:P,h:I,radius:N0});else Y.rect(d,Y0,P,I);if(Y.fill(),i!==0)Y.stroke()}Y.restore()},g=function(s,Q0,p){N2(Y,p.text,s,Q0+A/2,F,{strikethrough:p.hidden,textAlign:M.textAlign(p.textAlign)})},m=this.isHorizontal(),o=this._computeTitleHeight();if(m)L={x:q5(U,this.left+R,this.right-q[0]),y:this.top+R+o,line:0};else L={x:this.left+R,y:q5(U,this.top+o+R,this.bottom-J[0].height),line:0};KN(this.ctx,Q.textDirection);let a=A+R;this.legendItems.forEach((s,Q0)=>{Y.strokeStyle=s.fontColor,Y.fillStyle=s.fontColor;let p=Y.measureText(s.text).width,i=M.textAlign(s.textAlign||(s.textAlign=K.textAlign)),Y0=P+z+p,d=L.x,N0=L.y;if(M.setWidth(this.width),m){if(Q0>0&&d+Y0+R>this.right)N0=L.y+=a,L.line++,d=L.x=q5(U,this.left+R,this.right-q[L.line])}else if(Q0>0&&N0+a>this.bottom)d=L.x=d+J[L.line].width+R,L.line++,N0=L.y=q5(U,this.top+o+R,this.bottom-J[L.line].height);let w0=M.x(d);if(C(w0,N0,s),d=DR(i,d+P+z,m?d+Y0:this.right,Q.rtl),g(M.x(d),N0,s),m)L.x+=Y0+R;else if(typeof s.text!=="string"){let z0=F.lineHeight;L.y+=Bz(s,z0)+R}else L.y+=a}),BN(this.ctx,Q.textDirection)}drawTitle(){let Q=this.options,J=Q.title,q=p1(J.font),Y=X5(J.padding);if(!J.display)return;let U=W$(Q.rtl,this.left,this.width),K=this.ctx,H=J.position,M=q.size/2,F=Y.top+M,R,T=this.left,z=this.width;if(this.isHorizontal())z=Math.max(...this.lineWidths),R=this.top+F,T=q5(Q.align,T,this.right-z);else{let P=this.columnSizes.reduce((I,A)=>Math.max(I,A.height),0);R=F+q5(Q.align,this.top,this.bottom-P-Q.labels.padding-this._computeTitleHeight())}let L=q5(H,T,T+z);K.textAlign=U.textAlign(eJ(H)),K.textBaseline="middle",K.strokeStyle=J.color,K.fillStyle=J.color,K.font=q.string,N2(K,J.text,L,R,q)}_computeTitleHeight(){let Q=this.options.title,J=p1(Q.font),q=X5(Q.padding);return Q.display?J.lineHeight+q.height:0}_getLegendItemAt(Q,J){let q,Y,U;if(Z6(Q,this.left,this.right)&&Z6(J,this.top,this.bottom)){U=this.legendHitBoxes;for(q=0;q<U.length;++q)if(Y=U[q],Z6(Q,Y.left,Y.left+Y.width)&&Z6(J,Y.top,Y.top+Y.height))return this.legendItems[q]}return null}handleEvent(Q){let J=this.options;if(!$D(Q.type,J))return;let q=this._getLegendItemAt(Q.x,Q.y);if(Q.type==="mousemove"||Q.type==="mouseout"){let Y=this._hoveredItem,U=aO(Y,q);if(Y&&!U)W1(J.onLeave,[Q,Y,this],this);if(this._hoveredItem=q,q&&!U)W1(J.onHover,[Q,q,this],this)}else if(q)W1(J.onClick,[Q,q,this],this)}}function iO(Q,J,q,Y,U){let K=tO(Y,Q,J,q),H=eO(U,Y,J.lineHeight);return{itemWidth:K,itemHeight:H}}function tO(Q,J,q,Y){let U=Q.text;if(U&&typeof U!=="string")U=U.reduce((K,H)=>K.length>H.length?K:H);return J+q.size/2+Y.measureText(U).width}function eO(Q,J,q){let Y=Q;if(typeof J.text!=="string")Y=Bz(J,q);return Y}function Bz(Q,J){let q=Q.text?Q.text.length:0;return J*q}function $D(Q,J){if((Q==="mousemove"||Q==="mouseout")&&(J.onHover||J.onLeave))return!0;if(J.onClick&&(Q==="click"||Q==="mouseup"))return!0;return!1}var _8={id:"legend",_element:AN,start(Q,J,q){let Y=Q.legend=new AN({ctx:Q.ctx,options:q,chart:Q});V4.configure(Q,Y,q),V4.addBox(Q,Y)},stop(Q){V4.removeBox(Q,Q.legend),delete Q.legend},beforeUpdate(Q,J,q){let Y=Q.legend;V4.configure(Q,Y,q),Y.options=q},afterUpdate(Q){let J=Q.legend;J.buildLabels(),J.adjustHitBoxes()},afterEvent(Q,J){if(!J.replay)Q.legend.handleEvent(J.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1000,onClick(Q,J,q){let Y=J.datasetIndex,U=q.chart;if(U.isDatasetVisible(Y))U.hide(Y),J.hidden=!0;else U.show(Y),J.hidden=!1},onHover:null,onLeave:null,labels:{color:(Q)=>Q.chart.options.color,boxWidth:40,padding:10,generateLabels(Q){let J=Q.data.datasets,{labels:{usePointStyle:q,pointStyle:Y,textAlign:U,color:K,useBorderRadius:H,borderRadius:M}}=Q.legend.options;return Q._getSortedDatasetMetas().map((F)=>{let R=F.controller.getStyle(q?0:void 0),T=X5(R.borderWidth);return{text:J[F.index].label,fillStyle:R.backgroundColor,fontColor:K,hidden:!F.visible,lineCap:R.borderCapStyle,lineDash:R.borderDash,lineDashOffset:R.borderDashOffset,lineJoin:R.borderJoinStyle,lineWidth:(T.width+T.height)/4,strokeStyle:R.borderColor,pointStyle:Y||R.pointStyle,rotation:R.rotation,textAlign:U||R.textAlign,borderRadius:H&&(M||R.borderRadius),datasetIndex:F.index}},this)}},title:{color:(Q)=>Q.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:(Q)=>!Q.startsWith("on"),labels:{_scriptable:(Q)=>!["generateLabels","filter","sort"].includes(Q)}}};class uN extends q6{constructor(Q){super();this.chart=Q.chart,this.options=Q.options,this.ctx=Q.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Q,J){let q=this.options;if(this.left=0,this.top=0,!q.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=Q,this.height=this.bottom=J;let Y=z1(q.text)?q.text.length:1;this._padding=X5(q.padding);let U=Y*p1(q.font).lineHeight+this._padding.height;if(this.isHorizontal())this.height=U;else this.width=U}isHorizontal(){let Q=this.options.position;return Q==="top"||Q==="bottom"}_drawArgs(Q){let{top:J,left:q,bottom:Y,right:U,options:K}=this,H=K.align,M=0,F,R,T;if(this.isHorizontal())R=q5(H,q,U),T=J+Q,F=U-q;else{if(K.position==="left")R=q+Q,T=q5(H,Y,J),M=b1*-0.5;else R=U-Q,T=q5(H,J,Y),M=b1*0.5;F=Y-J}return{titleX:R,titleY:T,maxWidth:F,rotation:M}}draw(){let Q=this.ctx,J=this.options;if(!J.display)return;let q=p1(J.font),U=q.lineHeight/2+this._padding.top,{titleX:K,titleY:H,maxWidth:M,rotation:F}=this._drawArgs(U);N2(Q,J.text,0,0,q,{color:J.color,maxWidth:M,rotation:F,textAlign:eJ(J.align),textBaseline:"middle",translation:[K,H]})}}function ZD(Q,J){let q=new uN({ctx:Q.ctx,options:J,chart:Q});V4.configure(Q,q,J),V4.addBox(Q,q),Q.titleBlock=q}var L8={id:"title",_element:uN,start(Q,J,q){ZD(Q,q)},stop(Q){let J=Q.titleBlock;V4.removeBox(Q,J),delete Q.titleBlock},beforeUpdate(Q,J,q){let Y=Q.titleBlock;V4.configure(Q,Y,q),Y.options=q},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2000},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};var iZ={average(Q){if(!Q.length)return!1;let J,q,Y=new Set,U=0,K=0;for(J=0,q=Q.length;J<q;++J){let M=Q[J].element;if(M&&M.hasValue()){let F=M.tooltipPosition();Y.add(F.x),U+=F.y,++K}}if(K===0||Y.size===0)return!1;return{x:[...Y].reduce((M,F)=>M+F)/Y.size,y:U/K}},nearest(Q,J){if(!Q.length)return!1;let{x:q,y:Y}=J,U=Number.POSITIVE_INFINITY,K,H,M;for(K=0,H=Q.length;K<H;++K){let F=Q[K].element;if(F&&F.hasValue()){let R=F.getCenterPoint(),T=nJ(J,R);if(T<U)U=T,M=F}}if(M){let F=M.tooltipPosition();q=F.x,Y=F.y}return{x:q,y:Y}}};function T8(Q,J){if(J)if(z1(J))Array.prototype.push.apply(Q,J);else Q.push(J);return Q}function J6(Q){if((typeof Q==="string"||Q instanceof String)&&Q.indexOf(`
255
+ */class cL{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(Q,G,J,Y){let U=G.listeners[Y],B=G.duration;U.forEach((M)=>M({chart:Q,initial:G.initial,numSteps:B,currentStep:Math.min(J-G.start,B)}))}_refresh(){if(this._request)return;this._running=!0,this._request=aU.call(window,()=>{if(this._update(),this._request=null,this._running)this._refresh()})}_update(Q=Date.now()){let G=0;if(this._charts.forEach((J,Y)=>{if(!J.running||!J.items.length)return;let U=J.items,B=U.length-1,M=!1,H;for(;B>=0;--B)if(H=U[B],H._active){if(H._total>J.duration)J.duration=H._total;H.tick(Q),M=!0}else U[B]=U[U.length-1],U.pop();if(M)Y.draw(),this._notify(Y,J,Q,"progress");if(!U.length)J.running=!1,this._notify(Y,J,Q,"complete"),J.initial=!1;G+=U.length}),this._lastDate=Q,G===0)this._running=!1}_getAnims(Q){let G=this._charts,J=G.get(Q);if(!J)J={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},G.set(Q,J);return J}listen(Q,G,J){this._getAnims(Q).listeners[G].push(J)}add(Q,G){if(!G||!G.length)return;this._getAnims(Q).items.push(...G)}has(Q){return this._getAnims(Q).items.length>0}start(Q){let G=this._charts.get(Q);if(!G)return;G.running=!0,G.start=Date.now(),G.duration=G.items.reduce((J,Y)=>Math.max(J,Y._duration),0),this._refresh()}running(Q){if(!this._running)return!1;let G=this._charts.get(Q);if(!G||!G.running||!G.items.length)return!1;return!0}stop(Q){let G=this._charts.get(Q);if(!G||!G.items.length)return;let J=G.items,Y=J.length-1;for(;Y>=0;--Y)J[Y].cancel();G.items=[],this._notify(Q,G,Date.now(),"complete")}remove(Q){return this._charts.delete(Q)}}var q6=new cL,nz="transparent",lC={boolean(Q,G,J){return J>0.5?G:Q},color(Q,G,J){let Y=$K(Q||nz),U=Y.valid&&$K(G||nz);return U&&U.valid?U.mix(Y,J).hexString():G},number(Q,G,J){return Q+(G-Q)*J}};class lL{constructor(Q,G,J,Y){let U=G[J];Y=pQ([Q.to,Y,U,Q.from]);let B=pQ([Q.from,U,Y]);this._active=!0,this._fn=Q.fn||lC[Q.type||typeof B],this._easing=f9[Q.easing]||f9.linear,this._start=Math.floor(Date.now()+(Q.delay||0)),this._duration=this._total=Math.floor(Q.duration),this._loop=!!Q.loop,this._target=G,this._prop=J,this._from=B,this._to=Y,this._promises=void 0}active(){return this._active}update(Q,G,J){if(this._active){this._notify(!1);let Y=this._target[this._prop],U=J-this._start,B=this._duration-U;this._start=J,this._duration=Math.floor(Math.max(B,Q.duration)),this._total+=U,this._loop=!!Q.loop,this._to=pQ([Q.to,G,Y,Q.from]),this._from=pQ([Q.from,Y,G])}}cancel(){if(this._active)this.tick(Date.now()),this._active=!1,this._notify(!1)}tick(Q){let G=Q-this._start,J=this._duration,Y=this._prop,U=this._from,B=this._loop,M=this._to,H;if(this._active=U!==M&&(B||G<J),!this._active){this._target[Y]=M,this._notify(!0);return}if(G<0){this._target[Y]=U;return}H=G/J%2,H=B&&H>1?2-H:H,H=this._easing(Math.min(1,Math.max(0,H))),this._target[Y]=this._fn(U,M,H)}wait(){let Q=this._promises||(this._promises=[]);return new Promise((G,J)=>{Q.push({res:G,rej:J})})}_notify(Q){let G=Q?"res":"rej",J=this._promises||[];for(let Y=0;Y<J.length;Y++)J[Y][G]()}}class bK{constructor(Q,G){this._chart=Q,this._properties=new Map,this.configure(G)}configure(Q){if(!n0(Q))return;let G=Object.keys(j5.animation),J=this._properties;Object.getOwnPropertyNames(Q).forEach((Y)=>{let U=Q[Y];if(!n0(U))return;let B={};for(let M of G)B[M]=U[M];(V5(U.properties)&&U.properties||[Y]).forEach((M)=>{if(M===Y||!J.has(M))J.set(M,B)})})}_animateOptions(Q,G){let J=G.options,Y=sC(Q,J);if(!Y)return[];let U=this._createAnimations(Y,J);if(J.$shared)rC(Q.options.$animations,J).then(()=>{Q.options=J},()=>{});return U}_createAnimations(Q,G){let J=this._properties,Y=[],U=Q.$animations||(Q.$animations={}),B=Object.keys(G),M=Date.now(),H;for(H=B.length-1;H>=0;--H){let F=B[H];if(F.charAt(0)==="$")continue;if(F==="options"){Y.push(...this._animateOptions(Q,G));continue}let z=G[F],L=U[F],V=J.get(F);if(L)if(V&&L.active()){L.update(V,z,M);continue}else L.cancel();if(!V||!V.duration){Q[F]=z;continue}U[F]=L=new lL(V,Q,F,z),Y.push(L)}return Y}update(Q,G){if(this._properties.size===0){Object.assign(Q,G);return}let J=this._createAnimations(Q,G);if(J.length)return q6.add(this._chart,J),!0}}function rC(Q,G){let J=[],Y=Object.keys(G);for(let U=0;U<Y.length;U++){let B=Q[Y[U]];if(B&&B.active())J.push(B.wait())}return Promise.all(J)}function sC(Q,G){if(!G)return;let J=Q.options;if(!J){Q.options=G;return}if(J.$shared)Q.options=J=Object.assign({},J,{$shared:!1,$animations:{}});return J}function oz(Q,G){let J=Q&&Q.options||{},Y=J.reverse,U=J.min===void 0?G:0,B=J.max===void 0?G:0;return{start:Y?B:U,end:Y?U:B}}function nC(Q,G,J){if(J===!1)return!1;let Y=oz(Q,J),U=oz(G,J);return{top:U.end,right:Y.end,bottom:U.start,left:Y.start}}function oC(Q){let G,J,Y,U;if(n0(Q))G=Q.top,J=Q.right,Y=Q.bottom,U=Q.left;else G=J=Y=U=Q;return{top:G,right:J,bottom:Y,left:U,disabled:Q===!1}}function rL(Q,G){let J=[],Y=Q._getSortedDatasetMetas(G),U,B;for(U=0,B=Y.length;U<B;++U)J.push(Y[U].index);return J}function iz(Q,G,J,Y={}){let U=Q.keys,B=Y.mode==="single",M,H,F,z;if(G===null)return;let L=!1;for(M=0,H=U.length;M<H;++M){if(F=+U[M],F===J){if(L=!0,Y.all)continue;break}if(z=Q.values[F],O5(z)&&(B||G===0||y1(G)===y1(z)))G+=z}if(!L&&!Y.all)return 0;return G}function iC(Q,G){let{iScale:J,vScale:Y}=G,U=J.axis==="x"?"x":"y",B=Y.axis==="x"?"x":"y",M=Object.keys(Q),H=Array(M.length),F,z,L;for(F=0,z=M.length;F<z;++F)L=M[F],H[F]={[U]:L,[B]:Q[L]};return H}function WK(Q,G){let J=Q&&Q.options.stacked;return J||J===void 0&&G.stack!==void 0}function aC(Q,G,J){return`${Q.id}.${G.id}.${J.stack||J.type}`}function tC(Q){let{min:G,max:J,minDefined:Y,maxDefined:U}=Q.getUserBounds();return{min:Y?G:Number.NEGATIVE_INFINITY,max:U?J:Number.POSITIVE_INFINITY}}function eC(Q,G,J){let Y=Q[G]||(Q[G]={});return Y[J]||(Y[J]={})}function az(Q,G,J,Y){for(let U of G.getMatchingVisibleMetas(Y).reverse()){let B=Q[U.index];if(J&&B>0||!J&&B<0)return U.index}return null}function tz(Q,G){let{chart:J,_cachedMeta:Y}=Q,U=J._stacks||(J._stacks={}),{iScale:B,vScale:M,index:H}=Y,F=B.axis,z=M.axis,L=aC(B,M,Y),V=G.length,T;for(let P=0;P<V;++P){let I=G[P],{[F]:D,[z]:C}=I,g=I._stacks||(I._stacks={});T=g[z]=eC(U,L,D),T[H]=C,T._top=az(T,M,!0,Y.type),T._bottom=az(T,M,!1,Y.type);let m=T._visualValues||(T._visualValues={});m[H]=C}}function RK(Q,G){let J=Q.scales;return Object.keys(J).filter((Y)=>J[Y].axis===G).shift()}function $I(Q,G){return Q6(Q,{active:!1,dataset:void 0,datasetIndex:G,index:G,mode:"default",type:"dataset"})}function ZI(Q,G,J){return Q6(Q,{active:!1,dataIndex:G,parsed:void 0,raw:void 0,element:J,index:G,mode:"default",type:"data"})}function cQ(Q,G){let J=Q.controller.index,Y=Q.vScale&&Q.vScale.axis;if(!Y)return;G=G||Q._parsed;for(let U of G){let B=U._stacks;if(!B||B[Y]===void 0||B[Y][J]===void 0)return;if(delete B[Y][J],B[Y]._visualValues!==void 0&&B[Y]._visualValues[J]!==void 0)delete B[Y]._visualValues[J]}}var zK=(Q)=>Q==="reset"||Q==="none",ez=(Q,G)=>G?Q:Object.assign({},Q),QI=(Q,G,J)=>Q&&!G.hidden&&G._stacked&&{keys:rL(J,!0),values:null};class W2{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(Q,G){this.chart=Q,this._ctx=Q.ctx,this.index=G,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){let Q=this._cachedMeta;if(this.configure(),this.linkScales(),Q._stacked=WK(Q.vScale,Q),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler"))console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(Q){if(this.index!==Q)cQ(this._cachedMeta);this.index=Q}linkScales(){let Q=this.chart,G=this._cachedMeta,J=this.getDataset(),Y=(L,V,T,P)=>L==="x"?V:L==="r"?P:T,U=G.xAxisID=x0(J.xAxisID,RK(Q,"x")),B=G.yAxisID=x0(J.yAxisID,RK(Q,"y")),M=G.rAxisID=x0(J.rAxisID,RK(Q,"r")),H=G.indexAxis,F=G.iAxisID=Y(H,U,B,M),z=G.vAxisID=Y(H,B,U,M);G.xScale=this.getScaleForId(U),G.yScale=this.getScaleForId(B),G.rScale=this.getScaleForId(M),G.iScale=this.getScaleForId(F),G.vScale=this.getScaleForId(z)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(Q){return this.chart.scales[Q]}_getOtherScale(Q){let G=this._cachedMeta;return Q===G.iScale?G.vScale:G.iScale}reset(){this._update("reset")}_destroy(){let Q=this._cachedMeta;if(this._data)oU(this._data,this);if(Q._stacked)cQ(Q)}_dataCheck(){let Q=this.getDataset(),G=Q.data||(Q.data=[]),J=this._data;if(n0(G)){let Y=this._cachedMeta;this._data=iC(G,Y)}else if(J!==G){if(J){oU(J,this);let Y=this._cachedMeta;cQ(Y),Y._parsed=[]}if(G&&Object.isExtensible(G))Iz(G,this);this._syncList=[],this._data=G}}addElements(){let Q=this._cachedMeta;if(this._dataCheck(),this.datasetElementType)Q.dataset=new this.datasetElementType}buildOrUpdateElements(Q){let G=this._cachedMeta,J=this.getDataset(),Y=!1;this._dataCheck();let U=G._stacked;if(G._stacked=WK(G.vScale,G),G.stack!==J.stack)Y=!0,cQ(G),G.stack=J.stack;if(this._resyncElements(Q),Y||U!==G._stacked)tz(this,G._parsed),G._stacked=WK(G.vScale,G)}configure(){let Q=this.chart.config,G=Q.datasetScopeKeys(this._type),J=Q.getOptionScopes(this.getDataset(),G,!0);this.options=Q.createResolver(J,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(Q,G){let{_cachedMeta:J,_data:Y}=this,{iScale:U,_stacked:B}=J,M=U.axis,H=Q===0&&G===Y.length?!0:J._sorted,F=Q>0&&J._parsed[Q-1],z,L,V;if(this._parsing===!1)J._parsed=Y,J._sorted=!0,V=Y;else{if(V5(Y[Q]))V=this.parseArrayData(J,Y,Q,G);else if(n0(Y[Q]))V=this.parseObjectData(J,Y,Q,G);else V=this.parsePrimitiveData(J,Y,Q,G);let T=()=>L[M]===null||F&&L[M]<F[M];for(z=0;z<G;++z)if(J._parsed[z+Q]=L=V[z],H){if(T())H=!1;F=L}J._sorted=H}if(B)tz(this,V)}parsePrimitiveData(Q,G,J,Y){let{iScale:U,vScale:B}=Q,M=U.axis,H=B.axis,F=U.getLabels(),z=U===B,L=Array(Y),V,T,P;for(V=0,T=Y;V<T;++V)P=V+J,L[V]={[M]:z||U.parse(F[P],P),[H]:B.parse(G[P],P)};return L}parseArrayData(Q,G,J,Y){let{xScale:U,yScale:B}=Q,M=Array(Y),H,F,z,L;for(H=0,F=Y;H<F;++H)z=H+J,L=G[z],M[H]={x:U.parse(L[0],z),y:B.parse(L[1],z)};return M}parseObjectData(Q,G,J,Y){let{xScale:U,yScale:B}=Q,{xAxisKey:M="x",yAxisKey:H="y"}=this._parsing,F=Array(Y),z,L,V,T;for(z=0,L=Y;z<L;++z)V=z+J,T=G[V],F[z]={x:U.parse(F7(T,M),V),y:B.parse(F7(T,H),V)};return F}getParsed(Q){return this._cachedMeta._parsed[Q]}getDataElement(Q){return this._cachedMeta.data[Q]}applyStack(Q,G,J){let Y=this.chart,U=this._cachedMeta,B=G[Q.axis],M={keys:rL(Y,!0),values:G._stacks[Q.axis]._visualValues};return iz(M,B,U.index,{mode:J})}updateRangeFromParsed(Q,G,J,Y){let U=J[G.axis],B=U===null?NaN:U,M=Y&&J._stacks[G.axis];if(Y&&M)Y.values=M,B=iz(Y,U,this._cachedMeta.index);Q.min=Math.min(Q.min,B),Q.max=Math.max(Q.max,B)}getMinMax(Q,G){let J=this._cachedMeta,Y=J._parsed,U=J._sorted&&Q===J.iScale,B=Y.length,M=this._getOtherScale(Q),H=QI(G,J,this.chart),F={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:z,max:L}=tC(M),V,T;function P(){T=Y[V];let I=T[M.axis];return!O5(T[Q.axis])||z>I||L<I}for(V=0;V<B;++V){if(P())continue;if(this.updateRangeFromParsed(F,Q,T,H),U)break}if(U)for(V=B-1;V>=0;--V){if(P())continue;this.updateRangeFromParsed(F,Q,T,H);break}return F}getAllParsedValues(Q){let G=this._cachedMeta._parsed,J=[],Y,U,B;for(Y=0,U=G.length;Y<U;++Y)if(B=G[Y][Q.axis],O5(B))J.push(B);return J}getMaxOverflow(){return!1}getLabelAndValue(Q){let G=this._cachedMeta,J=G.iScale,Y=G.vScale,U=this.getParsed(Q);return{label:J?""+J.getLabelForValue(U[J.axis]):"",value:Y?""+Y.getLabelForValue(U[Y.axis]):""}}_update(Q){let G=this._cachedMeta;this.update(Q||"default"),G._clip=oC(x0(this.options.clip,nC(G.xScale,G.yScale,this.getMaxOverflow())))}update(Q){}draw(){let Q=this._ctx,G=this.chart,J=this._cachedMeta,Y=J.data||[],U=G.chartArea,B=[],M=this._drawStart||0,H=this._drawCount||Y.length-M,F=this.options.drawActiveElementsOnTop,z;if(J.dataset)J.dataset.draw(Q,U,M,H);for(z=M;z<M+H;++z){let L=Y[z];if(L.hidden)continue;if(L.active&&F)B.push(L);else L.draw(Q,U)}for(z=0;z<B.length;++z)B[z].draw(Q,U)}getStyle(Q,G){let J=G?"active":"default";return Q===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(J):this.resolveDataElementOptions(Q||0,J)}getContext(Q,G,J){let Y=this.getDataset(),U;if(Q>=0&&Q<this._cachedMeta.data.length){let B=this._cachedMeta.data[Q];U=B.$context||(B.$context=ZI(this.getContext(),Q,B)),U.parsed=this.getParsed(Q),U.raw=Y.data[Q],U.index=U.dataIndex=Q}else U=this.$context||(this.$context=$I(this.chart.getContext(),this.index)),U.dataset=Y,U.index=U.datasetIndex=this.index;return U.active=!!G,U.mode=J,U}resolveDatasetElementOptions(Q){return this._resolveElementOptions(this.datasetElementType.id,Q)}resolveDataElementOptions(Q,G){return this._resolveElementOptions(this.dataElementType.id,G,Q)}_resolveElementOptions(Q,G="default",J){let Y=G==="active",U=this._cachedDataOpts,B=Q+"-"+G,M=U[B],H=this.enableOptionSharing&&h9(J);if(M)return ez(M,H);let F=this.chart.config,z=F.datasetElementScopeKeys(this._type,Q),L=Y?[`${Q}Hover`,"hover",Q,""]:[Q,""],V=F.getOptionScopes(this.getDataset(),z),T=Object.keys(j5.elements[Q]),P=()=>this.getContext(J,Y,G),I=F.resolveNamedOptions(V,T,P,L);if(I.$shared)I.$shared=H,U[B]=Object.freeze(ez(I,H));return I}_resolveAnimations(Q,G,J){let Y=this.chart,U=this._cachedDataOpts,B=`animation-${G}`,M=U[B];if(M)return M;let H;if(Y.options.animation!==!1){let z=this.chart.config,L=z.datasetAnimationScopeKeys(this._type,G),V=z.getOptionScopes(this.getDataset(),L);H=z.createResolver(V,this.getContext(Q,J,G))}let F=new bK(Y,H&&H.animations);if(H&&H._cacheable)U[B]=Object.freeze(F);return F}getSharedOptions(Q){if(!Q.$shared)return;return this._sharedOptions||(this._sharedOptions=Object.assign({},Q))}includeOptions(Q,G){return!G||zK(Q)||this.chart._animationsDisabled}_getSharedOptions(Q,G){let J=this.resolveDataElementOptions(Q,G),Y=this._sharedOptions,U=this.getSharedOptions(J),B=this.includeOptions(G,U)||U!==Y;return this.updateSharedOptions(U,G,J),{sharedOptions:U,includeOptions:B}}updateElement(Q,G,J,Y){if(zK(Y))Object.assign(Q,J);else this._resolveAnimations(G,Y).update(Q,J)}updateSharedOptions(Q,G,J){if(Q&&!zK(G))this._resolveAnimations(void 0,G).update(Q,J)}_setStyle(Q,G,J,Y){Q.active=Y;let U=this.getStyle(G,Y);this._resolveAnimations(G,J,Y).update(Q,{options:!Y&&this.getSharedOptions(U)||U})}removeHoverStyle(Q,G,J){this._setStyle(Q,J,"active",!1)}setHoverStyle(Q,G,J){this._setStyle(Q,J,"active",!0)}_removeDatasetHoverStyle(){let Q=this._cachedMeta.dataset;if(Q)this._setStyle(Q,void 0,"active",!1)}_setDatasetHoverStyle(){let Q=this._cachedMeta.dataset;if(Q)this._setStyle(Q,void 0,"active",!0)}_resyncElements(Q){let G=this._data,J=this._cachedMeta.data;for(let[M,H,F]of this._syncList)this[M](H,F);this._syncList=[];let Y=J.length,U=G.length,B=Math.min(U,Y);if(B)this.parse(0,B);if(U>Y)this._insertElements(Y,U-Y,Q);else if(U<Y)this._removeElements(U,Y-U)}_insertElements(Q,G,J=!0){let Y=this._cachedMeta,U=Y.data,B=Q+G,M,H=(F)=>{F.length+=G;for(M=F.length-1;M>=B;M--)F[M]=F[M-G]};H(U);for(M=Q;M<B;++M)U[M]=new this.dataElementType;if(this._parsing)H(Y._parsed);if(this.parse(Q,G),J)this.updateElements(U,Q,G,"reset")}updateElements(Q,G,J,Y){}_removeElements(Q,G){let J=this._cachedMeta;if(this._parsing){let Y=J._parsed.splice(Q,G);if(J._stacked)cQ(J,Y)}J.data.splice(Q,G)}_sync(Q){if(this._parsing)this._syncList.push(Q);else{let[G,J,Y]=Q;this[G](J,Y)}this.chart._dataChanges.push([this.index,...Q])}_onDataPush(){let Q=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-Q,Q])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(Q,G){if(G)this._sync(["_removeElements",Q,G]);let J=arguments.length-2;if(J)this._sync(["_insertElements",Q,J])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function qI(Q,G){if(!Q._cache.$bar){let J=Q.getMatchingVisibleMetas(G),Y=[];for(let U=0,B=J.length;U<B;U++)Y=Y.concat(J[U].controller.getAllParsedValues(Q));Q._cache.$bar=iU(Y.sort((U,B)=>U-B))}return Q._cache.$bar}function GI(Q){let G=Q.iScale,J=qI(G,Q.type),Y=G._length,U,B,M,H,F=()=>{if(M===32767||M===-32768)return;if(h9(H))Y=Math.min(Y,Math.abs(M-H)||Y);H=M};for(U=0,B=J.length;U<B;++U)M=G.getPixelForValue(J[U]),F();H=void 0;for(U=0,B=G.ticks.length;U<B;++U)M=G.getPixelForTick(U),F();return Y}function JI(Q,G,J,Y){let U=J.barThickness,B,M;if(t0(U))B=G.min*J.categoryPercentage,M=J.barPercentage;else B=U*Y,M=1;return{chunk:B/Y,ratio:M,start:G.pixels[Q]-B/2}}function XI(Q,G,J,Y){let U=G.pixels,B=U[Q],M=Q>0?U[Q-1]:null,H=Q<U.length-1?U[Q+1]:null,F=J.categoryPercentage;if(M===null)M=B-(H===null?G.end-G.start:H-B);if(H===null)H=B+B-M;let z=B-(B-Math.min(M,H))/2*F;return{chunk:Math.abs(H-M)/2*F/Y,ratio:J.barPercentage,start:z}}function YI(Q,G,J,Y){let U=J.parse(Q[0],Y),B=J.parse(Q[1],Y),M=Math.min(U,B),H=Math.max(U,B),F=M,z=H;if(Math.abs(M)>Math.abs(H))F=H,z=M;G[J.axis]=z,G._custom={barStart:F,barEnd:z,start:U,end:B,min:M,max:H}}function sL(Q,G,J,Y){if(V5(Q))YI(Q,G,J,Y);else G[J.axis]=J.parse(Q,Y);return G}function $L(Q,G,J,Y){let{iScale:U,vScale:B}=Q,M=U.getLabels(),H=U===B,F=[],z,L,V,T;for(z=J,L=J+Y;z<L;++z)T=G[z],V={},V[U.axis]=H||U.parse(M[z],z),F.push(sL(T,V,B,z));return F}function LK(Q){return Q&&Q.barStart!==void 0&&Q.barEnd!==void 0}function UI(Q,G,J){if(Q!==0)return y1(Q);return(G.isHorizontal()?1:-1)*(G.min>=J?1:-1)}function KI(Q){let G,J,Y,U,B;if(Q.horizontal)G=Q.base>Q.x,J="left",Y="right";else G=Q.base<Q.y,J="bottom",Y="top";if(G)U="end",B="start";else U="start",B="end";return{start:J,end:Y,reverse:G,top:U,bottom:B}}function BI(Q,G,J,Y){let U=G.borderSkipped,B={};if(!U){Q.borderSkipped=B;return}if(U===!0){Q.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}let{start:M,end:H,reverse:F,top:z,bottom:L}=KI(Q);if(U==="middle"&&J)if(Q.enableBorderRadius=!0,(J._top||0)===Y)U=z;else if((J._bottom||0)===Y)U=L;else B[ZL(L,M,H,F)]=!0,U=z;B[ZL(U,M,H,F)]=!0,Q.borderSkipped=B}function ZL(Q,G,J,Y){if(Y)Q=NI(Q,G,J),Q=QL(Q,J,G);else Q=QL(Q,G,J);return Q}function NI(Q,G,J){return Q===G?J:Q===J?G:Q}function QL(Q,G,J){return Q==="start"?G:Q==="end"?J:Q}function MI(Q,{inflateAmount:G},J){Q.inflateAmount=G==="auto"?J===1?0.33:0:G}class fK extends W2{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:0.8,barPercentage:0.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(Q,G,J,Y){return $L(Q,G,J,Y)}parseArrayData(Q,G,J,Y){return $L(Q,G,J,Y)}parseObjectData(Q,G,J,Y){let{iScale:U,vScale:B}=Q,{xAxisKey:M="x",yAxisKey:H="y"}=this._parsing,F=U.axis==="x"?M:H,z=B.axis==="x"?M:H,L=[],V,T,P,I;for(V=J,T=J+Y;V<T;++V)I=G[V],P={},P[U.axis]=U.parse(F7(I,F),V),L.push(sL(F7(I,z),P,B,V));return L}updateRangeFromParsed(Q,G,J,Y){super.updateRangeFromParsed(Q,G,J,Y);let U=J._custom;if(U&&G===this._cachedMeta.vScale)Q.min=Math.min(Q.min,U.min),Q.max=Math.max(Q.max,U.max)}getMaxOverflow(){return 0}getLabelAndValue(Q){let G=this._cachedMeta,{iScale:J,vScale:Y}=G,U=this.getParsed(Q),B=U._custom,M=LK(B)?"["+B.start+", "+B.end+"]":""+Y.getLabelForValue(U[Y.axis]);return{label:""+J.getLabelForValue(U[J.axis]),value:M}}initialize(){this.enableOptionSharing=!0,super.initialize();let Q=this._cachedMeta;Q.stack=this.getDataset().stack}update(Q){let G=this._cachedMeta;this.updateElements(G.data,0,G.data.length,Q)}updateElements(Q,G,J,Y){let U=Y==="reset",{index:B,_cachedMeta:{vScale:M}}=this,H=M.getBasePixel(),F=M.isHorizontal(),z=this._getRuler(),{sharedOptions:L,includeOptions:V}=this._getSharedOptions(G,Y);for(let T=G;T<G+J;T++){let P=this.getParsed(T),I=U||t0(P[M.axis])?{base:H,head:H}:this._calculateBarValuePixels(T),D=this._calculateBarIndexPixels(T,z),C=(P._stacks||{})[M.axis],g={horizontal:F,base:I.base,enableBorderRadius:!C||LK(P._custom)||B===C._top||B===C._bottom,x:F?I.head:D.center,y:F?D.center:I.head,height:F?D.size:Math.abs(I.size),width:F?Math.abs(I.size):D.size};if(V)g.options=L||this.resolveDataElementOptions(T,Q[T].active?"active":Y);let m=g.options||Q[T].options;BI(g,m,C,B),MI(g,m,z.ratio),this.updateElement(Q[T],T,g,Y)}}_getStacks(Q,G){let{iScale:J}=this._cachedMeta,Y=J.getMatchingVisibleMetas(this._type).filter((z)=>z.controller.options.grouped),U=J.options.stacked,B=[],M=this._cachedMeta.controller.getParsed(G),H=M&&M[J.axis],F=(z)=>{let L=z._parsed.find((T)=>T[J.axis]===H),V=L&&L[z.vScale.axis];if(t0(V)||isNaN(V))return!0};for(let z of Y){if(G!==void 0&&F(z))continue;if(U===!1||B.indexOf(z.stack)===-1||U===void 0&&z.stack===void 0)B.push(z.stack);if(z.index===Q)break}if(!B.length)B.push(void 0);return B}_getStackCount(Q){return this._getStacks(void 0,Q).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){let Q=this.chart.scales,G=this.chart.options.indexAxis;return Object.keys(Q).filter((J)=>Q[J].axis===G).shift()}_getAxis(){let Q={},G=this.getFirstScaleIdForIndexAxis();for(let J of this.chart.data.datasets)Q[x0(this.chart.options.indexAxis==="x"?J.xAxisID:J.yAxisID,G)]=!0;return Object.keys(Q)}_getStackIndex(Q,G,J){let Y=this._getStacks(Q,J),U=G!==void 0?Y.indexOf(G):-1;return U===-1?Y.length-1:U}_getRuler(){let Q=this.options,G=this._cachedMeta,J=G.iScale,Y=[],U,B;for(U=0,B=G.data.length;U<B;++U)Y.push(J.getPixelForValue(this.getParsed(U)[J.axis],U));let M=Q.barThickness;return{min:M||GI(G),pixels:Y,start:J._startPixel,end:J._endPixel,stackCount:this._getStackCount(),scale:J,grouped:Q.grouped,ratio:M?1:Q.categoryPercentage*Q.barPercentage}}_calculateBarValuePixels(Q){let{_cachedMeta:{vScale:G,_stacked:J,index:Y},options:{base:U,minBarLength:B}}=this,M=U||0,H=this.getParsed(Q),F=H._custom,z=LK(F),L=H[G.axis],V=0,T=J?this.applyStack(G,H,J):L,P,I;if(T!==L)V=T-L,T=L;if(z){if(L=F.barStart,T=F.barEnd-F.barStart,L!==0&&y1(L)!==y1(F.barEnd))V=0;V+=L}let D=!t0(U)&&!z?U:V,C=G.getPixelForValue(D);if(this.chart.getDataVisibility(Q))P=G.getPixelForValue(V+T);else P=C;if(I=P-C,Math.abs(I)<B){if(I=UI(I,G,M)*B,L===M)C-=I/2;let g=G.getPixelForDecimal(0),m=G.getPixelForDecimal(1),o=Math.min(g,m),i=Math.max(g,m);if(C=Math.max(Math.min(C,i),o),P=C+I,J&&!z)H._stacks[G.axis]._visualValues[Y]=G.getValueForPixel(P)-G.getValueForPixel(C)}if(C===G.getPixelForValue(M)){let g=y1(I)*G.getLineWidthForValue(M)/2;C+=g,I-=g}return{size:I,base:C,head:P,center:P+I/2}}_calculateBarIndexPixels(Q,G){let J=G.scale,Y=this.options,U=Y.skipNull,B=x0(Y.maxBarThickness,1/0),M,H,F=this._getAxisCount();if(G.grouped){let z=U?this._getStackCount(Q):G.stackCount,L=Y.barThickness==="flex"?XI(Q,G,Y,z*F):JI(Q,G,Y,z*F),V=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,T=this._getAxis().indexOf(x0(V,this.getFirstScaleIdForIndexAxis())),P=this._getStackIndex(this.index,this._cachedMeta.stack,U?Q:void 0)+T;M=L.start+L.chunk*P+L.chunk/2,H=Math.min(B,L.chunk*L.ratio)}else M=J.getPixelForValue(this.getParsed(Q)[J.axis],Q),H=Math.min(B,G.min*G.ratio);return{base:M-H/2,head:M+H/2,center:M,size:H}}draw(){let Q=this._cachedMeta,G=Q.vScale,J=Q.data,Y=J.length,U=0;for(;U<Y;++U)if(this.getParsed(U)[G.axis]!==null&&!J[U].hidden)J[U].draw(this._ctx)}}class yK extends W2{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(Q){let G=this._cachedMeta,{dataset:J,data:Y=[],_dataset:U}=G,B=this.chart._animationsDisabled,{start:M,count:H}=Az(G,Y,B);if(this._drawStart=M,this._drawCount=H,Dz(G))M=0,H=Y.length;J._chart=this.chart,J._datasetIndex=this.index,J._decimated=!!U._decimated,J.points=Y;let F=this.resolveDatasetElementOptions(Q);if(!this.options.showLine)F.borderWidth=0;F.segment=this.options.segment,this.updateElement(J,void 0,{animated:!B,options:F},Q),this.updateElements(Y,M,H,Q)}updateElements(Q,G,J,Y){let U=Y==="reset",{iScale:B,vScale:M,_stacked:H,_dataset:F}=this._cachedMeta,{sharedOptions:z,includeOptions:L}=this._getSharedOptions(G,Y),V=B.axis,T=M.axis,{spanGaps:P,segment:I}=this.options,D=m9(P)?P:Number.POSITIVE_INFINITY,C=this.chart._animationsDisabled||U||Y==="none",g=G+J,m=Q.length,o=G>0&&this.getParsed(G-1);for(let i=0;i<m;++i){let s=Q[i],Q0=C?s:{};if(i<G||i>=g){Q0.skip=!0;continue}let p=this.getParsed(i),a=t0(p[T]),Y0=Q0[V]=B.getPixelForValue(p[V],i),d=Q0[T]=U||a?M.getBasePixel():M.getPixelForValue(H?this.applyStack(M,p,H):p[T],i);if(Q0.skip=isNaN(Y0)||isNaN(d)||a,Q0.stop=i>0&&Math.abs(p[V]-o[V])>D,I)Q0.parsed=p,Q0.raw=F.data[i];if(L)Q0.options=z||this.resolveDataElementOptions(i,s.active?"active":Y);if(!C)this.updateElement(s,i,Q0,Y);o=p}}getMaxOverflow(){let Q=this._cachedMeta,G=Q.dataset,J=G.options&&G.options.borderWidth||0,Y=Q.data||[];if(!Y.length)return J;let U=Y[0].size(this.resolveDataElementOptions(0)),B=Y[Y.length-1].size(this.resolveDataElementOptions(Y.length-1));return Math.max(J,U,B)/2}draw(){let Q=this._cachedMeta;Q.dataset.updateControlPoints(this.chart.chartArea,Q.iScale.axis),super.draw()}}function R7(){throw Error("This method is not implemented: Check that a complete date adapter is provided.")}class gK{static override(Q){Object.assign(gK.prototype,Q)}options;constructor(Q){this.options=Q||{}}init(){}formats(){return R7()}parse(){return R7()}format(){return R7()}add(){return R7()}diff(){return R7()}startOf(){return R7()}endOf(){return R7()}}var HI={_date:gK};function FI(Q,G,J,Y){let{controller:U,data:B,_sorted:M}=Q,H=U._cachedMeta.iScale,F=Q.dataset?Q.dataset.options?Q.dataset.options.spanGaps:null:null;if(H&&G===H.axis&&G!=="r"&&M&&B.length){let z=H._reversePixels?wz:J4;if(!Y){let L=z(B,G,J);if(F){let{vScale:V}=U._cachedMeta,{_parsed:T}=Q,P=T.slice(0,L.lo+1).reverse().findIndex((D)=>!t0(D[V.axis]));L.lo-=Math.max(0,P);let I=T.slice(L.hi).findIndex((D)=>!t0(D[V.axis]));L.hi+=Math.max(0,I)}return L}else if(U._sharedOptions){let L=B[0],V=typeof L.getRange==="function"&&L.getRange(G);if(V){let T=z(B,G,J-V),P=z(B,G,J+V);return{lo:T.lo,hi:P.hi}}}}return{lo:0,hi:B.length-1}}function Zq(Q,G,J,Y,U){let B=Q.getSortedVisibleDatasetMetas(),M=J[G];for(let H=0,F=B.length;H<F;++H){let{index:z,data:L}=B[H],{lo:V,hi:T}=FI(B[H],G,M,U);for(let P=V;P<=T;++P){let I=L[P];if(!I.skip)Y(I,z,P)}}}function WI(Q){let G=Q.indexOf("x")!==-1,J=Q.indexOf("y")!==-1;return function(Y,U){let B=G?Math.abs(Y.x-U.x):0,M=J?Math.abs(Y.y-U.y):0;return Math.sqrt(Math.pow(B,2)+Math.pow(M,2))}}function VK(Q,G,J,Y,U){let B=[];if(!U&&!Q.isPointInArea(G))return B;return Zq(Q,J,G,function(H,F,z){if(!U&&!R$(H,Q.chartArea,0))return;if(H.inRange(G.x,G.y,Y))B.push({element:H,datasetIndex:F,index:z})},!0),B}function RI(Q,G,J,Y){let U=[];function B(M,H,F){let{startAngle:z,endAngle:L}=M.getProps(["startAngle","endAngle"],Y),{angle:V}=Tz(M,{x:G.x,y:G.y});if(nU(V,z,L))U.push({element:M,datasetIndex:H,index:F})}return Zq(Q,J,G,B),U}function zI(Q,G,J,Y,U,B){let M=[],H=WI(J),F=Number.POSITIVE_INFINITY;function z(L,V,T){let P=L.inRange(G.x,G.y,U);if(Y&&!P)return;let I=L.getCenterPoint(U);if(!(!!B||Q.isPointInArea(I))&&!P)return;let C=H(G,I);if(C<F)M=[{element:L,datasetIndex:V,index:T}],F=C;else if(C===F)M.push({element:L,datasetIndex:V,index:T})}return Zq(Q,J,G,z),M}function _K(Q,G,J,Y,U,B){if(!B&&!Q.isPointInArea(G))return[];return J==="r"&&!Y?RI(Q,G,J,U):zI(Q,G,J,Y,U,B)}function qL(Q,G,J,Y,U){let B=[],M=J==="x"?"inXRange":"inYRange",H=!1;if(Zq(Q,J,G,(F,z,L)=>{if(F[M]&&F[M](G[J],U))B.push({element:F,datasetIndex:z,index:L}),H=H||F.inRange(G.x,G.y,U)}),Y&&!H)return[];return B}var LI={evaluateInteractionItems:Zq,modes:{index(Q,G,J,Y){let U=N4(G,Q),B=J.axis||"x",M=J.includeInvisible||!1,H=J.intersect?VK(Q,U,B,Y,M):_K(Q,U,B,!1,Y,M),F=[];if(!H.length)return[];return Q.getSortedVisibleDatasetMetas().forEach((z)=>{let L=H[0].index,V=z.data[L];if(V&&!V.skip)F.push({element:V,datasetIndex:z.index,index:L})}),F},dataset(Q,G,J,Y){let U=N4(G,Q),B=J.axis||"xy",M=J.includeInvisible||!1,H=J.intersect?VK(Q,U,B,Y,M):_K(Q,U,B,!1,Y,M);if(H.length>0){let F=H[0].datasetIndex,z=Q.getDatasetMeta(F).data;H=[];for(let L=0;L<z.length;++L)H.push({element:z[L],datasetIndex:F,index:L})}return H},point(Q,G,J,Y){let U=N4(G,Q),B=J.axis||"xy",M=J.includeInvisible||!1;return VK(Q,U,B,Y,M)},nearest(Q,G,J,Y){let U=N4(G,Q),B=J.axis||"xy",M=J.includeInvisible||!1;return _K(Q,U,B,J.intersect,Y,M)},x(Q,G,J,Y){let U=N4(G,Q);return qL(Q,U,"x",J.intersect,Y)},y(Q,G,J,Y){let U=N4(G,Q);return qL(Q,U,"y",J.intersect,Y)}}},nL=["left","top","right","bottom"];function lQ(Q,G){return Q.filter((J)=>J.pos===G)}function GL(Q,G){return Q.filter((J)=>nL.indexOf(J.pos)===-1&&J.box.axis===G)}function rQ(Q,G){return Q.sort((J,Y)=>{let U=G?Y:J,B=G?J:Y;return U.weight===B.weight?U.index-B.index:U.weight-B.weight})}function VI(Q){let G=[],J,Y,U,B,M,H;for(J=0,Y=(Q||[]).length;J<Y;++J)U=Q[J],{position:B,options:{stack:M,stackWeight:H=1}}=U,G.push({index:J,box:U,pos:B,horizontal:U.isHorizontal(),weight:U.weight,stack:M&&B+M,stackWeight:H});return G}function _I(Q){let G={};for(let J of Q){let{stack:Y,pos:U,stackWeight:B}=J;if(!Y||!nL.includes(U))continue;let M=G[Y]||(G[Y]={count:0,placed:0,weight:0,size:0});M.count++,M.weight+=B}return G}function TI(Q,G){let J=_I(Q),{vBoxMaxWidth:Y,hBoxMaxHeight:U}=G,B,M,H;for(B=0,M=Q.length;B<M;++B){H=Q[B];let{fullSize:F}=H.box,z=J[H.stack],L=z&&H.stackWeight/z.weight;if(H.horizontal)H.width=L?L*Y:F&&G.availableWidth,H.height=U;else H.width=Y,H.height=L?L*U:F&&G.availableHeight}return J}function EI(Q){let G=VI(Q),J=rQ(G.filter((z)=>z.box.fullSize),!0),Y=rQ(lQ(G,"left"),!0),U=rQ(lQ(G,"right")),B=rQ(lQ(G,"top"),!0),M=rQ(lQ(G,"bottom")),H=GL(G,"x"),F=GL(G,"y");return{fullSize:J,leftAndTop:Y.concat(B),rightAndBottom:U.concat(F).concat(M).concat(H),chartArea:lQ(G,"chartArea"),vertical:Y.concat(U).concat(F),horizontal:B.concat(M).concat(H)}}function JL(Q,G,J,Y){return Math.max(Q[J],G[J])+Math.max(Q[Y],G[Y])}function oL(Q,G){Q.top=Math.max(Q.top,G.top),Q.left=Math.max(Q.left,G.left),Q.bottom=Math.max(Q.bottom,G.bottom),Q.right=Math.max(Q.right,G.right)}function wI(Q,G,J,Y){let{pos:U,box:B}=J,M=Q.maxPadding;if(!n0(U)){if(J.size)Q[U]-=J.size;let V=Y[J.stack]||{size:0,count:1};V.size=Math.max(V.size,J.horizontal?B.height:B.width),J.size=V.size/V.count,Q[U]+=J.size}if(B.getPadding)oL(M,B.getPadding());let H=Math.max(0,G.outerWidth-JL(M,Q,"left","right")),F=Math.max(0,G.outerHeight-JL(M,Q,"top","bottom")),z=H!==Q.w,L=F!==Q.h;return Q.w=H,Q.h=F,J.horizontal?{same:z,other:L}:{same:L,other:z}}function PI(Q){let G=Q.maxPadding;function J(Y){let U=Math.max(G[Y]-Q[Y],0);return Q[Y]+=U,U}Q.y+=J("top"),Q.x+=J("left"),J("right"),J("bottom")}function CI(Q,G){let J=G.maxPadding;function Y(U){let B={left:0,top:0,right:0,bottom:0};return U.forEach((M)=>{B[M]=Math.max(G[M],J[M])}),B}return Q?Y(["left","right"]):Y(["top","bottom"])}function oQ(Q,G,J,Y){let U=[],B,M,H,F,z,L;for(B=0,M=Q.length,z=0;B<M;++B){H=Q[B],F=H.box,F.update(H.width||G.w,H.height||G.h,CI(H.horizontal,G));let{same:V,other:T}=wI(G,J,H,Y);if(z|=V&&U.length,L=L||T,!F.fullSize)U.push(H)}return z&&oQ(U,G,J,Y)||L}function Y2(Q,G,J,Y,U){Q.top=J,Q.left=G,Q.right=G+Y,Q.bottom=J+U,Q.width=Y,Q.height=U}function XL(Q,G,J,Y){let U=J.padding,{x:B,y:M}=G;for(let H of Q){let F=H.box,z=Y[H.stack]||{count:1,placed:0,weight:1},L=H.stackWeight/z.weight||1;if(H.horizontal){let V=G.w*L,T=z.size||F.height;if(h9(z.start))M=z.start;if(F.fullSize)Y2(F,U.left,M,J.outerWidth-U.right-U.left,T);else Y2(F,G.left+z.placed,M,V,T);z.start=M,z.placed+=V,M=F.bottom}else{let V=G.h*L,T=z.size||F.width;if(h9(z.start))B=z.start;if(F.fullSize)Y2(F,B,U.top,T,J.outerHeight-U.bottom-U.top);else Y2(F,B,G.top+z.placed,T,V);z.start=B,z.placed+=V,B=F.right}}G.x=B,G.y=M}var E1={addBox(Q,G){if(!Q.boxes)Q.boxes=[];G.fullSize=G.fullSize||!1,G.position=G.position||"top",G.weight=G.weight||0,G._layers=G._layers||function(){return[{z:0,draw(J){G.draw(J)}}]},Q.boxes.push(G)},removeBox(Q,G){let J=Q.boxes?Q.boxes.indexOf(G):-1;if(J!==-1)Q.boxes.splice(J,1)},configure(Q,G,J){G.fullSize=J.fullSize,G.position=J.position,G.weight=J.weight},update(Q,G,J,Y){if(!Q)return;let U=X8(Q.options.layout.padding),B=Math.max(G-U.width,0),M=Math.max(J-U.height,0),H=EI(Q.boxes),F=H.vertical,z=H.horizontal;X5(Q.boxes,(D)=>{if(typeof D.beforeLayout==="function")D.beforeLayout()});let L=F.reduce((D,C)=>C.box.options&&C.box.options.display===!1?D:D+1,0)||1,V=Object.freeze({outerWidth:G,outerHeight:J,padding:U,availableWidth:B,availableHeight:M,vBoxMaxWidth:B/2/L,hBoxMaxHeight:M/2}),T=Object.assign({},U);oL(T,X8(Y));let P=Object.assign({maxPadding:T,w:B,h:M,x:U.left,y:U.top},U),I=TI(F.concat(z),V);if(oQ(H.fullSize,P,V,I),oQ(F,P,V,I),oQ(z,P,V,I))oQ(F,P,V,I);PI(P),XL(H.leftAndTop,P,V,I),P.x+=P.w,P.y+=P.h,XL(H.rightAndBottom,P,V,I),Q.chartArea={left:P.left,top:P.top,right:P.left+P.w,bottom:P.top+P.h,height:P.h,width:P.w},X5(H.chartArea,(D)=>{let C=D.box;Object.assign(C,Q.chartArea),C.update(P.w,P.h,{left:0,top:0,right:0,bottom:0})})}};class xK{acquireContext(Q,G){}releaseContext(Q){return!1}addEventListener(Q,G,J){}removeEventListener(Q,G,J){}getDevicePixelRatio(){return 1}getMaximumSize(Q,G,J,Y){return G=Math.max(0,G||Q.width),J=J||Q.height,{width:G,height:Math.max(0,Y?Math.floor(G/Y):J)}}isAttached(Q){return!0}updateConfig(Q){}}class iL extends xK{acquireContext(Q){return Q&&Q.getContext&&Q.getContext("2d")||null}updateConfig(Q){Q.options.animation=!1}}var M2="$chartjs",II={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},YL=(Q)=>Q===null||Q==="";function OI(Q,G){let J=Q.style,Y=Q.getAttribute("height"),U=Q.getAttribute("width");if(Q[M2]={initial:{height:Y,width:U,style:{display:J.display,height:J.height,width:J.width}}},J.display=J.display||"block",J.boxSizing=J.boxSizing||"border-box",YL(U)){let B=KK(Q,"width");if(B!==void 0)Q.width=B}if(YL(Y))if(Q.style.height==="")Q.height=Q.width/(G||2);else{let B=KK(Q,"height");if(B!==void 0)Q.height=B}return Q}var aL=pz?{passive:!0}:!1;function jI(Q,G,J){if(Q)Q.addEventListener(G,J,aL)}function AI(Q,G,J){if(Q&&Q.canvas)Q.canvas.removeEventListener(G,J,aL)}function DI(Q,G){let J=II[Q.type]||Q.type,{x:Y,y:U}=N4(Q,G);return{type:J,chart:G,native:Q,x:Y!==void 0?Y:null,y:U!==void 0?U:null}}function F2(Q,G){for(let J of Q)if(J===G||J.contains(G))return!0}function SI(Q,G,J){let Y=Q.canvas,U=new MutationObserver((B)=>{let M=!1;for(let H of B)M=M||F2(H.addedNodes,Y),M=M&&!F2(H.removedNodes,Y);if(M)J()});return U.observe(document,{childList:!0,subtree:!0}),U}function vI(Q,G,J){let Y=Q.canvas,U=new MutationObserver((B)=>{let M=!1;for(let H of B)M=M||F2(H.removedNodes,Y),M=M&&!F2(H.addedNodes,Y);if(M)J()});return U.observe(document,{childList:!0,subtree:!0}),U}var tQ=new Map,UL=0;function tL(){let Q=window.devicePixelRatio;if(Q===UL)return;UL=Q,tQ.forEach((G,J)=>{if(J.currentDevicePixelRatio!==Q)G()})}function kI(Q,G){if(!tQ.size)window.addEventListener("resize",tL);tQ.set(Q,G)}function bI(Q){if(tQ.delete(Q),!tQ.size)window.removeEventListener("resize",tL)}function fI(Q,G,J){let Y=Q.canvas,U=Y&&J2(Y);if(!U)return;let B=tU((H,F)=>{let z=U.clientWidth;if(J(H,F),z<U.clientWidth)J()},window),M=new ResizeObserver((H)=>{let F=H[0],z=F.contentRect.width,L=F.contentRect.height;if(z===0&&L===0)return;B(z,L)});return M.observe(U),kI(Q,B),M}function TK(Q,G,J){if(J)J.disconnect();if(G==="resize")bI(Q)}function yI(Q,G,J){let Y=Q.canvas,U=tU((B)=>{if(Q.ctx!==null)J(DI(B,Q))},Q);return jI(Y,G,U),U}class eL extends xK{acquireContext(Q,G){let J=Q&&Q.getContext&&Q.getContext("2d");if(J&&J.canvas===Q)return OI(Q,G),J;return null}releaseContext(Q){let G=Q.canvas;if(!G[M2])return!1;let J=G[M2].initial;["height","width"].forEach((U)=>{let B=J[U];if(t0(B))G.removeAttribute(U);else G.setAttribute(U,B)});let Y=J.style||{};return Object.keys(Y).forEach((U)=>{G.style[U]=Y[U]}),G.width=G.width,delete G[M2],!0}addEventListener(Q,G,J){this.removeEventListener(Q,G);let Y=Q.$proxies||(Q.$proxies={}),B={attach:SI,detach:vI,resize:fI}[G]||yI;Y[G]=B(Q,G,J)}removeEventListener(Q,G){let J=Q.$proxies||(Q.$proxies={}),Y=J[G];if(!Y)return;({attach:TK,detach:TK,resize:TK}[G]||AI)(Q,G,Y),J[G]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(Q,G,J,Y){return dz(Q,G,J,Y)}isAttached(Q){let G=Q&&J2(Q);return!!(G&&G.isConnected)}}function gI(Q){if(!G2()||typeof OffscreenCanvas<"u"&&Q instanceof OffscreenCanvas)return iL;return eL}class J6{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(Q){let{x:G,y:J}=this.getProps(["x","y"],Q);return{x:G,y:J}}hasValue(){return m9(this.x)&&m9(this.y)}getProps(Q,G){let J=this.$animations;if(!G||!J)return this;let Y={};return Q.forEach((U)=>{Y[U]=J[U]&&J[U].active()?J[U]._to:this[U]}),Y}}function xI(Q,G){let J=Q.options.ticks,Y=hI(Q),U=Math.min(J.maxTicksLimit||Y,Y),B=J.major.enabled?mI(G):[],M=B.length,H=B[0],F=B[M-1],z=[];if(M>U)return dI(G,z,B,M/U),z;let L=uI(B,G,U);if(M>0){let V,T,P=M>1?Math.round((F-H)/(M-1)):null;U2(G,z,L,t0(P)?0:H-P,H);for(V=0,T=M-1;V<T;V++)U2(G,z,L,B[V],B[V+1]);return U2(G,z,L,F,t0(P)?G.length:F+P),z}return U2(G,z,L),z}function hI(Q){let G=Q.options.offset,J=Q._tickSize(),Y=Q._length/J+(G?0:1),U=Q._maxLength/J;return Math.floor(Math.min(Y,U))}function uI(Q,G,J){let Y=pI(Q),U=G.length/J;if(!Y)return Math.max(U,1);let B=Vz(Y);for(let M=0,H=B.length-1;M<H;M++){let F=B[M];if(F>U)return F}return Math.max(U,1)}function mI(Q){let G=[],J,Y;for(J=0,Y=Q.length;J<Y;J++)if(Q[J].major)G.push(J);return G}function dI(Q,G,J,Y){let U=0,B=J[0],M;Y=Math.ceil(Y);for(M=0;M<Q.length;M++)if(M===B)G.push(Q[M]),U++,B=J[U*Y]}function U2(Q,G,J,Y,U){let B=x0(Y,0),M=Math.min(x0(U,Q.length),Q.length),H=0,F,z,L;if(J=Math.ceil(J),U)F=U-Y,J=F/Math.floor(F/J);L=B;while(L<0)H++,L=Math.round(B+H*J);for(z=Math.max(B,0);z<M;z++)if(z===L)G.push(Q[z]),H++,L=Math.round(B+H*J)}function pI(Q){let G=Q.length,J,Y;if(G<2)return!1;for(Y=Q[0],J=1;J<G;++J)if(Q[J]-Q[J-1]!==Y)return!1;return Y}var cI=(Q)=>Q==="left"?"right":Q==="right"?"left":Q,KL=(Q,G,J)=>G==="top"||G==="left"?Q[G]+J:Q[G]-J,BL=(Q,G)=>Math.min(G||Q,Q);function NL(Q,G){let J=[],Y=Q.length/G,U=Q.length,B=0;for(;B<U;B+=Y)J.push(Q[Math.floor(B)]);return J}function lI(Q,G,J){let Y=Q.ticks.length,U=Math.min(G,Y-1),B=Q._startPixel,M=Q._endPixel,H=0.000001,F=Q.getPixelForTick(U),z;if(J){if(Y===1)z=Math.max(F-B,M-F);else if(G===0)z=(Q.getPixelForTick(1)-F)/2;else z=(F-Q.getPixelForTick(U-1))/2;if(F+=U<G?z:-z,F<B-0.000001||F>M+0.000001)return}return F}function rI(Q,G){X5(Q,(J)=>{let Y=J.gc,U=Y.length/2,B;if(U>G){for(B=0;B<U;++B)delete J.data[Y[B]];Y.splice(0,U)}})}function sQ(Q){return Q.drawTicks?Q.tickLength:0}function ML(Q,G){if(!Q.display)return 0;let J=p5(Q.font,G),Y=X8(Q.padding);return(V5(Q.text)?Q.text.length:1)*J.lineHeight+Y.height}function sI(Q,G){return Q6(Q,{scale:G,type:"scale"})}function nI(Q,G,J){return Q6(Q,{tick:J,index:G,type:"tick"})}function oI(Q,G,J){let Y=eJ(Q);if(J&&G!=="right"||!J&&G==="right")Y=cI(Y);return Y}function iI(Q,G,J,Y){let{top:U,left:B,bottom:M,right:H,chart:F}=Q,{chartArea:z,scales:L}=F,V=0,T,P,I,D=M-U,C=H-B;if(Q.isHorizontal()){if(P=J8(Y,B,H),n0(J)){let g=Object.keys(J)[0],m=J[g];I=L[g].getPixelForValue(m)+D-G}else if(J==="center")I=(z.bottom+z.top)/2+D-G;else I=KL(Q,J,G);T=H-B}else{if(n0(J)){let g=Object.keys(J)[0],m=J[g];P=L[g].getPixelForValue(m)-C+G}else if(J==="center")P=(z.left+z.right)/2-C+G;else P=KL(Q,J,G);I=J8(Y,M,U),V=J==="left"?-b8:b8}return{titleX:P,titleY:I,maxWidth:T,rotation:V}}class L7 extends J6{constructor(Q){super();this.id=Q.id,this.type=Q.type,this.options=void 0,this.ctx=Q.ctx,this.chart=Q.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(Q){this.options=Q.setContext(this.getContext()),this.axis=Q.axis,this._userMin=this.parse(Q.min),this._userMax=this.parse(Q.max),this._suggestedMin=this.parse(Q.suggestedMin),this._suggestedMax=this.parse(Q.suggestedMax)}parse(Q,G){return Q}getUserBounds(){let{_userMin:Q,_userMax:G,_suggestedMin:J,_suggestedMax:Y}=this;return Q=g8(Q,Number.POSITIVE_INFINITY),G=g8(G,Number.NEGATIVE_INFINITY),J=g8(J,Number.POSITIVE_INFINITY),Y=g8(Y,Number.NEGATIVE_INFINITY),{min:g8(Q,J),max:g8(G,Y),minDefined:O5(Q),maxDefined:O5(G)}}getMinMax(Q){let{min:G,max:J,minDefined:Y,maxDefined:U}=this.getUserBounds(),B;if(Y&&U)return{min:G,max:J};let M=this.getMatchingVisibleMetas();for(let H=0,F=M.length;H<F;++H){if(B=M[H].controller.getMinMax(this,Q),!Y)G=Math.min(G,B.min);if(!U)J=Math.max(J,B.max)}return G=U&&G>J?J:G,J=Y&&G>J?G:J,{min:g8(G,g8(J,G)),max:g8(J,g8(G,J))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){let Q=this.chart.data;return this.options.labels||(this.isHorizontal()?Q.xLabels:Q.yLabels)||Q.labels||[]}getLabelItems(Q=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(Q))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){W5(this.options.beforeUpdate,[this])}update(Q,G,J){let{beginAtZero:Y,grace:U,ticks:B}=this.options,M=B.sampleSize;if(this.beforeUpdate(),this.maxWidth=Q,this.maxHeight=G,this._margins=J=Object.assign({left:0,right:0,top:0,bottom:0},J),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+J.left+J.right:this.height+J.top+J.bottom,!this._dataLimitsCached)this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=yz(this,U,Y),this._dataLimitsCached=!0;this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();let H=M<this.ticks.length;if(this._convertTicksToLabels(H?NL(this.ticks,M):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),B.display&&(B.autoSkip||B.source==="auto"))this.ticks=xI(this,this.ticks),this._labelSizes=null,this.afterAutoSkip();if(H)this._convertTicksToLabels(this.ticks);this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let Q=this.options.reverse,G,J;if(this.isHorizontal())G=this.left,J=this.right;else G=this.top,J=this.bottom,Q=!Q;this._startPixel=G,this._endPixel=J,this._reversePixels=Q,this._length=J-G,this._alignToPixels=this.options.alignToPixels}afterUpdate(){W5(this.options.afterUpdate,[this])}beforeSetDimensions(){W5(this.options.beforeSetDimensions,[this])}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=0,this.right=this.width;else this.height=this.maxHeight,this.top=0,this.bottom=this.height;this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){W5(this.options.afterSetDimensions,[this])}_callHooks(Q){this.chart.notifyPlugins(Q,this.getContext()),W5(this.options[Q],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){W5(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(Q){let G=this.options.ticks,J,Y,U;for(J=0,Y=Q.length;J<Y;J++)U=Q[J],U.label=W5(G.callback,[U.value,J,Q],this)}afterTickToLabelConversion(){W5(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){W5(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){let Q=this.options,G=Q.ticks,J=BL(this.ticks.length,Q.ticks.maxTicksLimit),Y=G.minRotation||0,U=G.maxRotation,B=Y,M,H,F;if(!this._isVisible()||!G.display||Y>=U||J<=1||!this.isHorizontal()){this.labelRotation=Y;return}let z=this._getLabelSizes(),L=z.widest.width,V=z.highest.height,T=y8(this.chart.width-L,0,this.maxWidth);if(M=Q.offset?this.maxWidth/J:T/(J-1),L+6>M)M=T/(J-(Q.offset?0.5:1)),H=this.maxHeight-sQ(Q.grid)-G.padding-ML(Q.title,this.chart.options.font),F=Math.sqrt(L*L+V*V),B=aJ(Math.min(Math.asin(y8((z.highest.height+6)/M,-1,1)),Math.asin(y8(H/F,-1,1))-Math.asin(y8(V/F,-1,1)))),B=Math.max(Y,Math.min(U,B));this.labelRotation=B}afterCalculateLabelRotation(){W5(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){W5(this.options.beforeFit,[this])}fit(){let Q={width:0,height:0},{chart:G,options:{ticks:J,title:Y,grid:U}}=this,B=this._isVisible(),M=this.isHorizontal();if(B){let H=ML(Y,G.options.font);if(M)Q.width=this.maxWidth,Q.height=sQ(U)+H;else Q.height=this.maxHeight,Q.width=sQ(U)+H;if(J.display&&this.ticks.length){let{first:F,last:z,widest:L,highest:V}=this._getLabelSizes(),T=J.padding*2,P=$6(this.labelRotation),I=Math.cos(P),D=Math.sin(P);if(M){let C=J.mirror?0:D*L.width+I*V.height;Q.height=Math.min(this.maxHeight,Q.height+C+T)}else{let C=J.mirror?0:I*L.width+D*V.height;Q.width=Math.min(this.maxWidth,Q.width+C+T)}this._calculatePadding(F,z,D,I)}}if(this._handleMargins(),M)this.width=this._length=G.width-this._margins.left-this._margins.right,this.height=Q.height;else this.width=Q.width,this.height=this._length=G.height-this._margins.top-this._margins.bottom}_calculatePadding(Q,G,J,Y){let{ticks:{align:U,padding:B},position:M}=this.options,H=this.labelRotation!==0,F=M!=="top"&&this.axis==="x";if(this.isHorizontal()){let z=this.getPixelForTick(0)-this.left,L=this.right-this.getPixelForTick(this.ticks.length-1),V=0,T=0;if(H)if(F)V=Y*Q.width,T=J*G.height;else V=J*Q.height,T=Y*G.width;else if(U==="start")T=G.width;else if(U==="end")V=Q.width;else if(U!=="inner")V=Q.width/2,T=G.width/2;this.paddingLeft=Math.max((V-z+B)*this.width/(this.width-z),0),this.paddingRight=Math.max((T-L+B)*this.width/(this.width-L),0)}else{let z=G.height/2,L=Q.height/2;if(U==="start")z=0,L=Q.height;else if(U==="end")z=G.height,L=0;this.paddingTop=z+B,this.paddingBottom=L+B}}_handleMargins(){if(this._margins)this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom)}afterFit(){W5(this.options.afterFit,[this])}isHorizontal(){let{axis:Q,position:G}=this.options;return G==="top"||G==="bottom"||Q==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(Q){this.beforeTickToLabelConversion(),this.generateTickLabels(Q);let G,J;for(G=0,J=Q.length;G<J;G++)if(t0(Q[G].label))Q.splice(G,1),J--,G--;this.afterTickToLabelConversion()}_getLabelSizes(){let Q=this._labelSizes;if(!Q){let G=this.options.ticks.sampleSize,J=this.ticks;if(G<J.length)J=NL(J,G);this._labelSizes=Q=this._computeLabelSizes(J,J.length,this.options.ticks.maxTicksLimit)}return Q}_computeLabelSizes(Q,G,J){let{ctx:Y,_longestTextCache:U}=this,B=[],M=[],H=Math.floor(G/BL(G,J)),F=0,z=0,L,V,T,P,I,D,C,g,m,o,i;for(L=0;L<G;L+=H){if(P=Q[L].label,I=this._resolveTickFontOptions(L),Y.font=D=I.string,C=U[D]=U[D]||{data:{},gc:[]},g=I.lineHeight,m=o=0,!t0(P)&&!V5(P))m=xQ(Y,C.data,C.gc,m,P),o=g;else if(V5(P)){for(V=0,T=P.length;V<T;++V)if(i=P[V],!t0(i)&&!V5(i))m=xQ(Y,C.data,C.gc,m,i),o+=g}B.push(m),M.push(o),F=Math.max(m,F),z=Math.max(o,z)}rI(U,G);let s=B.indexOf(F),Q0=M.indexOf(z),p=(a)=>({width:B[a]||0,height:M[a]||0});return{first:p(0),last:p(G-1),widest:p(s),highest:p(Q0),widths:B,heights:M}}getLabelForValue(Q){return Q}getPixelForValue(Q,G){return NaN}getValueForPixel(Q){}getPixelForTick(Q){let G=this.ticks;if(Q<0||Q>G.length-1)return null;return this.getPixelForValue(G[Q].value)}getPixelForDecimal(Q){if(this._reversePixels)Q=1-Q;let G=this._startPixel+Q*this._length;return Ez(this._alignToPixels?U4(this.chart,G,0):G)}getDecimalForPixel(Q){let G=(Q-this._startPixel)/this._length;return this._reversePixels?1-G:G}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){let{min:Q,max:G}=this;return Q<0&&G<0?G:Q>0&&G>0?Q:0}getContext(Q){let G=this.ticks||[];if(Q>=0&&Q<G.length){let J=G[Q];return J.$context||(J.$context=nI(this.getContext(),Q,J))}return this.$context||(this.$context=sI(this.chart.getContext(),this))}_tickSize(){let Q=this.options.ticks,G=$6(this.labelRotation),J=Math.abs(Math.cos(G)),Y=Math.abs(Math.sin(G)),U=this._getLabelSizes(),B=Q.autoSkipPadding||0,M=U?U.widest.width+B:0,H=U?U.highest.height+B:0;return this.isHorizontal()?H*J>M*Y?M/J:H/Y:H*Y<M*J?H/J:M/Y}_isVisible(){let Q=this.options.display;if(Q!=="auto")return!!Q;return this.getMatchingVisibleMetas().length>0}_computeGridLineItems(Q){let G=this.axis,J=this.chart,Y=this.options,{grid:U,position:B,border:M}=Y,H=U.offset,F=this.isHorizontal(),L=this.ticks.length+(H?1:0),V=sQ(U),T=[],P=M.setContext(this.getContext()),I=P.display?P.width:0,D=I/2,C=function(l){return U4(J,l,I)},g,m,o,i,s,Q0,p,a,Y0,d,K0,R0;if(B==="top")g=C(this.bottom),Q0=this.bottom-V,a=g-D,d=C(Q.top)+D,R0=Q.bottom;else if(B==="bottom")g=C(this.top),d=Q.top,R0=C(Q.bottom)-D,Q0=g+D,a=this.top+V;else if(B==="left")g=C(this.right),s=this.right-V,p=g-D,Y0=C(Q.left)+D,K0=Q.right;else if(B==="right")g=C(this.left),Y0=Q.left,K0=C(Q.right)-D,s=g+D,p=this.left+V;else if(G==="x"){if(B==="center")g=C((Q.top+Q.bottom)/2+0.5);else if(n0(B)){let l=Object.keys(B)[0],G0=B[l];g=C(this.chart.scales[l].getPixelForValue(G0))}d=Q.top,R0=Q.bottom,Q0=g+D,a=Q0+V}else if(G==="y"){if(B==="center")g=C((Q.left+Q.right)/2);else if(n0(B)){let l=Object.keys(B)[0],G0=B[l];g=C(this.chart.scales[l].getPixelForValue(G0))}s=g-D,p=s-V,Y0=Q.left,K0=Q.right}let V0=x0(Y.ticks.maxTicksLimit,L),C0=Math.max(1,Math.ceil(L/V0));for(m=0;m<L;m+=C0){let l=this.getContext(m),G0=U.setContext(l),B0=M.setContext(l),d0=G0.lineWidth,k0=G0.color,S=B0.dash||[],n=B0.dashOffset,N0=G0.tickWidth,M0=G0.tickColor,b0=G0.tickBorderDash||[],A5=G0.tickBorderDashOffset;if(o=lI(this,m,H),o===void 0)continue;if(i=U4(J,o,d0),F)s=p=Y0=K0=i;else Q0=a=d=R0=i;T.push({tx1:s,ty1:Q0,tx2:p,ty2:a,x1:Y0,y1:d,x2:K0,y2:R0,width:d0,color:k0,borderDash:S,borderDashOffset:n,tickWidth:N0,tickColor:M0,tickBorderDash:b0,tickBorderDashOffset:A5})}return this._ticksLength=L,this._borderValue=g,T}_computeLabelItems(Q){let G=this.axis,J=this.options,{position:Y,ticks:U}=J,B=this.isHorizontal(),M=this.ticks,{align:H,crossAlign:F,padding:z,mirror:L}=U,V=sQ(J.grid),T=V+z,P=L?-z:T,I=-$6(this.labelRotation),D=[],C,g,m,o,i,s,Q0,p,a,Y0,d,K0,R0="middle";if(Y==="top")s=this.bottom-P,Q0=this._getXAxisLabelAlignment();else if(Y==="bottom")s=this.top+P,Q0=this._getXAxisLabelAlignment();else if(Y==="left"){let C0=this._getYAxisLabelAlignment(V);Q0=C0.textAlign,i=C0.x}else if(Y==="right"){let C0=this._getYAxisLabelAlignment(V);Q0=C0.textAlign,i=C0.x}else if(G==="x"){if(Y==="center")s=(Q.top+Q.bottom)/2+T;else if(n0(Y)){let C0=Object.keys(Y)[0],l=Y[C0];s=this.chart.scales[C0].getPixelForValue(l)+T}Q0=this._getXAxisLabelAlignment()}else if(G==="y"){if(Y==="center")i=(Q.left+Q.right)/2-T;else if(n0(Y)){let C0=Object.keys(Y)[0],l=Y[C0];i=this.chart.scales[C0].getPixelForValue(l)}Q0=this._getYAxisLabelAlignment(V).textAlign}if(G==="y"){if(H==="start")R0="top";else if(H==="end")R0="bottom"}let V0=this._getLabelSizes();for(C=0,g=M.length;C<g;++C){m=M[C],o=m.label;let C0=U.setContext(this.getContext(C));p=this.getPixelForTick(C)+U.labelOffset,a=this._resolveTickFontOptions(C),Y0=a.lineHeight,d=V5(o)?o.length:1;let l=d/2,G0=C0.color,B0=C0.textStrokeColor,d0=C0.textStrokeWidth,k0=Q0;if(B){if(i=p,Q0==="inner")if(C===g-1)k0=!this.options.reverse?"right":"left";else if(C===0)k0=!this.options.reverse?"left":"right";else k0="center";if(Y==="top")if(F==="near"||I!==0)K0=-d*Y0+Y0/2;else if(F==="center")K0=-V0.highest.height/2-l*Y0+Y0;else K0=-V0.highest.height+Y0/2;else if(F==="near"||I!==0)K0=Y0/2;else if(F==="center")K0=V0.highest.height/2-l*Y0;else K0=V0.highest.height-d*Y0;if(L)K0*=-1;if(I!==0&&!C0.showLabelBackdrop)i+=Y0/2*Math.sin(I)}else s=p,K0=(1-d)*Y0/2;let S;if(C0.showLabelBackdrop){let n=X8(C0.backdropPadding),N0=V0.heights[C],M0=V0.widths[C],b0=K0-n.top,A5=0-n.left;switch(R0){case"middle":b0-=N0/2;break;case"bottom":b0-=N0;break}switch(Q0){case"center":A5-=M0/2;break;case"right":A5-=M0;break;case"inner":if(C===g-1)A5-=M0;else if(C>0)A5-=M0/2;break}S={left:A5,top:b0,width:M0+n.width,height:N0+n.height,color:C0.backdropColor}}D.push({label:o,font:a,textOffset:K0,options:{rotation:I,color:G0,strokeColor:B0,strokeWidth:d0,textAlign:k0,textBaseline:R0,translation:[i,s],backdrop:S}})}return D}_getXAxisLabelAlignment(){let{position:Q,ticks:G}=this.options;if(-$6(this.labelRotation))return Q==="top"?"left":"right";let Y="center";if(G.align==="start")Y="left";else if(G.align==="end")Y="right";else if(G.align==="inner")Y="inner";return Y}_getYAxisLabelAlignment(Q){let{position:G,ticks:{crossAlign:J,mirror:Y,padding:U}}=this.options,B=this._getLabelSizes(),M=Q+U,H=B.widest.width,F,z;if(G==="left")if(Y)if(z=this.right+U,J==="near")F="left";else if(J==="center")F="center",z+=H/2;else F="right",z+=H;else if(z=this.right-M,J==="near")F="right";else if(J==="center")F="center",z-=H/2;else F="left",z=this.left;else if(G==="right")if(Y)if(z=this.left+U,J==="near")F="right";else if(J==="center")F="center",z-=H/2;else F="left",z-=H;else if(z=this.left+M,J==="near")F="left";else if(J==="center")F="center",z+=H/2;else F="right",z=this.right;else F="right";return{textAlign:F,x:z}}_computeLabelArea(){if(this.options.ticks.mirror)return;let Q=this.chart,G=this.options.position;if(G==="left"||G==="right")return{top:0,left:this.left,bottom:Q.height,right:this.right};if(G==="top"||G==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:Q.width}}drawBackground(){let{ctx:Q,options:{backgroundColor:G},left:J,top:Y,width:U,height:B}=this;if(G)Q.save(),Q.fillStyle=G,Q.fillRect(J,Y,U,B),Q.restore()}getLineWidthForValue(Q){let G=this.options.grid;if(!this._isVisible()||!G.display)return 0;let Y=this.ticks.findIndex((U)=>U.value===Q);if(Y>=0)return G.setContext(this.getContext(Y)).lineWidth;return 0}drawGrid(Q){let G=this.options.grid,J=this.ctx,Y=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(Q)),U,B,M=(H,F,z)=>{if(!z.width||!z.color)return;J.save(),J.lineWidth=z.width,J.strokeStyle=z.color,J.setLineDash(z.borderDash||[]),J.lineDashOffset=z.borderDashOffset,J.beginPath(),J.moveTo(H.x,H.y),J.lineTo(F.x,F.y),J.stroke(),J.restore()};if(G.display)for(U=0,B=Y.length;U<B;++U){let H=Y[U];if(G.drawOnChartArea)M({x:H.x1,y:H.y1},{x:H.x2,y:H.y2},H);if(G.drawTicks)M({x:H.tx1,y:H.ty1},{x:H.tx2,y:H.ty2},{color:H.tickColor,width:H.tickWidth,borderDash:H.tickBorderDash,borderDashOffset:H.tickBorderDashOffset})}}drawBorder(){let{chart:Q,ctx:G,options:{border:J,grid:Y}}=this,U=J.setContext(this.getContext()),B=J.display?U.width:0;if(!B)return;let M=Y.setContext(this.getContext(0)).lineWidth,H=this._borderValue,F,z,L,V;if(this.isHorizontal())F=U4(Q,this.left,B)-B/2,z=U4(Q,this.right,M)+M/2,L=V=H;else L=U4(Q,this.top,B)-B/2,V=U4(Q,this.bottom,M)+M/2,F=z=H;G.save(),G.lineWidth=U.width,G.strokeStyle=U.color,G.beginPath(),G.moveTo(F,L),G.lineTo(z,V),G.stroke(),G.restore()}drawLabels(Q){if(!this.options.ticks.display)return;let J=this.ctx,Y=this._computeLabelArea();if(Y)mQ(J,Y);let U=this.getLabelItems(Q);for(let B of U){let{options:M,font:H,label:F,textOffset:z}=B;K4(J,F,0,z,H,M)}if(Y)dQ(J)}drawTitle(){let{ctx:Q,options:{position:G,title:J,reverse:Y}}=this;if(!J.display)return;let U=p5(J.font),B=X8(J.padding),M=J.align,H=U.lineHeight/2;if(G==="bottom"||G==="center"||n0(G)){if(H+=B.bottom,V5(J.text))H+=U.lineHeight*(J.text.length-1)}else H+=B.top;let{titleX:F,titleY:z,maxWidth:L,rotation:V}=iI(this,H,G,M);K4(Q,J.text,0,0,U,{color:J.color,maxWidth:L,rotation:V,textAlign:oI(M,G,Y),textBaseline:"middle",translation:[F,z]})}draw(Q){if(!this._isVisible())return;this.drawBackground(),this.drawGrid(Q),this.drawBorder(),this.drawTitle(),this.drawLabels(Q)}_layers(){let Q=this.options,G=Q.ticks&&Q.ticks.z||0,J=x0(Q.grid&&Q.grid.z,-1),Y=x0(Q.border&&Q.border.z,0);if(!this._isVisible()||this.draw!==L7.prototype.draw)return[{z:G,draw:(U)=>{this.draw(U)}}];return[{z:J,draw:(U)=>{this.drawBackground(),this.drawGrid(U),this.drawTitle()}},{z:Y,draw:()=>{this.drawBorder()}},{z:G,draw:(U)=>{this.drawLabels(U)}}]}getMatchingVisibleMetas(Q){let G=this.chart.getSortedVisibleDatasetMetas(),J=this.axis+"AxisID",Y=[],U,B;for(U=0,B=G.length;U<B;++U){let M=G[U];if(M[J]===this.id&&(!Q||M.type===Q))Y.push(M)}return Y}_resolveTickFontOptions(Q){let G=this.options.ticks.setContext(this.getContext(Q));return p5(G.font)}_maxDigits(){let Q=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/Q}}class iQ{constructor(Q,G,J){this.type=Q,this.scope=G,this.override=J,this.items=Object.create(null)}isForType(Q){return Object.prototype.isPrototypeOf.call(this.type.prototype,Q.prototype)}register(Q){let G=Object.getPrototypeOf(Q),J;if(eI(G))J=this.register(G);let Y=this.items,U=Q.id,B=this.scope+"."+U;if(!U)throw Error("class does not have id: "+Q);if(U in Y)return B;if(Y[U]=Q,aI(Q,B,J),this.override)j5.override(Q.id,Q.overrides);return B}get(Q){return this.items[Q]}unregister(Q){let G=this.items,J=Q.id,Y=this.scope;if(J in G)delete G[J];if(Y&&J in j5[Y]){if(delete j5[Y][J],this.override)delete Y4[J]}}}function aI(Q,G,J){let Y=y9(Object.create(null),[J?j5.get(J):{},j5.get(G),Q.defaults]);if(j5.set(G,Y),Q.defaultRoutes)tI(G,Q.defaultRoutes);if(Q.descriptors)j5.describe(G,Q.descriptors)}function tI(Q,G){Object.keys(G).forEach((J)=>{let Y=J.split("."),U=Y.pop(),B=[Q].concat(Y).join("."),M=G[J].split("."),H=M.pop(),F=M.join(".");j5.route(B,U,F,H)})}function eI(Q){return"id"in Q&&"defaults"in Q}class $V{constructor(){this.controllers=new iQ(W2,"datasets",!0),this.elements=new iQ(J6,"elements"),this.plugins=new iQ(Object,"plugins"),this.scales=new iQ(L7,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...Q){this._each("register",Q)}remove(...Q){this._each("unregister",Q)}addControllers(...Q){this._each("register",Q,this.controllers)}addElements(...Q){this._each("register",Q,this.elements)}addPlugins(...Q){this._each("register",Q,this.plugins)}addScales(...Q){this._each("register",Q,this.scales)}getController(Q){return this._get(Q,this.controllers,"controller")}getElement(Q){return this._get(Q,this.elements,"element")}getPlugin(Q){return this._get(Q,this.plugins,"plugin")}getScale(Q){return this._get(Q,this.scales,"scale")}removeControllers(...Q){this._each("unregister",Q,this.controllers)}removeElements(...Q){this._each("unregister",Q,this.elements)}removePlugins(...Q){this._each("unregister",Q,this.plugins)}removeScales(...Q){this._each("unregister",Q,this.scales)}_each(Q,G,J){[...G].forEach((Y)=>{let U=J||this._getRegistryForType(Y);if(J||U.isForType(Y)||U===this.plugins&&Y.id)this._exec(Q,U,Y);else X5(Y,(B)=>{let M=J||this._getRegistryForType(B);this._exec(Q,M,B)})})}_exec(Q,G,J){let Y=iJ(Q);W5(J["before"+Y],[],J),G[Q](J),W5(J["after"+Y],[],J)}_getRegistryForType(Q){for(let G=0;G<this._typedRegistries.length;G++){let J=this._typedRegistries[G];if(J.isForType(Q))return J}return this.plugins}_get(Q,G,J){let Y=G.get(Q);if(Y===void 0)throw Error('"'+Q+'" is not a registered '+J+".");return Y}}var V$=new $V;class ZV{constructor(){this._init=void 0}notify(Q,G,J,Y){if(G==="beforeInit")this._init=this._createDescriptors(Q,!0),this._notify(this._init,Q,"install");if(this._init===void 0)return;let U=Y?this._descriptors(Q).filter(Y):this._descriptors(Q),B=this._notify(U,Q,G,J);if(G==="afterDestroy")this._notify(U,Q,"stop"),this._notify(this._init,Q,"uninstall"),this._init=void 0;return B}_notify(Q,G,J,Y){Y=Y||{};for(let U of Q){let B=U.plugin,M=B[J],H=[G,Y,U.options];if(W5(M,H,B)===!1&&Y.cancelable)return!1}return!0}invalidate(){if(!t0(this._cache))this._oldCache=this._cache,this._cache=void 0}_descriptors(Q){if(this._cache)return this._cache;let G=this._cache=this._createDescriptors(Q);return this._notifyStateChanges(Q),G}_createDescriptors(Q,G){let J=Q&&Q.config,Y=x0(J.options&&J.options.plugins,{}),U=$O(J);return Y===!1&&!G?[]:QO(Q,U,Y,G)}_notifyStateChanges(Q){let G=this._oldCache||[],J=this._cache,Y=(U,B)=>U.filter((M)=>!B.some((H)=>M.plugin.id===H.plugin.id));this._notify(Y(G,J),Q,"stop"),this._notify(Y(J,G),Q,"start")}}function $O(Q){let G={},J=[],Y=Object.keys(V$.plugins.items);for(let B=0;B<Y.length;B++)J.push(V$.getPlugin(Y[B]));let U=Q.plugins||[];for(let B=0;B<U.length;B++){let M=U[B];if(J.indexOf(M)===-1)J.push(M),G[M.id]=!0}return{plugins:J,localIds:G}}function ZO(Q,G){if(!G&&Q===!1)return null;if(Q===!0)return{};return Q}function QO(Q,{plugins:G,localIds:J},Y,U){let B=[],M=Q.getContext();for(let H of G){let F=H.id,z=ZO(Y[F],U);if(z===null)continue;B.push({plugin:H,options:qO(Q.config,{plugin:H,local:J[F]},z,M)})}return B}function qO(Q,{plugin:G,local:J},Y,U){let B=Q.pluginScopeKeys(G),M=Q.getOptionScopes(Y,B);if(J&&G.defaults)M.push(G.defaults);return Q.createResolver(M,U,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function IK(Q,G){let J=j5.datasets[Q]||{};return((G.datasets||{})[Q]||{}).indexAxis||G.indexAxis||J.indexAxis||"x"}function GO(Q,G){let J=Q;if(Q==="_index_")J=G;else if(Q==="_value_")J=G==="x"?"y":"x";return J}function JO(Q,G){return Q===G?"_index_":"_value_"}function HL(Q){if(Q==="x"||Q==="y"||Q==="r")return Q}function XO(Q){if(Q==="top"||Q==="bottom")return"x";if(Q==="left"||Q==="right")return"y"}function OK(Q,...G){if(HL(Q))return Q;for(let J of G){let Y=J.axis||XO(J.position)||Q.length>1&&HL(Q[0].toLowerCase());if(Y)return Y}throw Error(`Cannot determine type of '${Q}' axis. Please provide 'axis' or 'position' option.`)}function FL(Q,G,J){if(J[G+"AxisID"]===Q)return{axis:G}}function YO(Q,G){if(G.data&&G.data.datasets){let J=G.data.datasets.filter((Y)=>Y.xAxisID===Q||Y.yAxisID===Q);if(J.length)return FL(Q,"x",J[0])||FL(Q,"y",J[0])}return{}}function UO(Q,G){let J=Y4[Q.type]||{scales:{}},Y=G.scales||{},U=IK(Q.type,G),B=Object.create(null);return Object.keys(Y).forEach((M)=>{let H=Y[M];if(!n0(H))return console.error(`Invalid scale configuration for scale: ${M}`);if(H._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${M}`);let F=OK(M,H,YO(M,Q),j5.scales[H.type]),z=JO(F,U),L=J.scales||{};B[M]=x9(Object.create(null),[{axis:F},H,L[F],L[z]])}),Q.data.datasets.forEach((M)=>{let H=M.type||Q.type,F=M.indexAxis||IK(H,G),L=(Y4[H]||{}).scales||{};Object.keys(L).forEach((V)=>{let T=GO(V,F),P=M[T+"AxisID"]||T;B[P]=B[P]||Object.create(null),x9(B[P],[{axis:T},Y[P],L[V]])})}),Object.keys(B).forEach((M)=>{let H=B[M];x9(H,[j5.scales[H.type],j5.scale])}),B}function QV(Q){let G=Q.options||(Q.options={});G.plugins=x0(G.plugins,{}),G.scales=UO(Q,G)}function qV(Q){return Q=Q||{},Q.datasets=Q.datasets||[],Q.labels=Q.labels||[],Q}function KO(Q){return Q=Q||{},Q.data=qV(Q.data),QV(Q),Q}var WL=new Map,GV=new Set;function K2(Q,G){let J=WL.get(Q);if(!J)J=G(),WL.set(Q,J),GV.add(J);return J}var nQ=(Q,G,J)=>{let Y=F7(G,J);if(Y!==void 0)Q.add(Y)};class JV{constructor(Q){this._config=KO(Q),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(Q){this._config.type=Q}get data(){return this._config.data}set data(Q){this._config.data=qV(Q)}get options(){return this._config.options}set options(Q){this._config.options=Q}get plugins(){return this._config.plugins}update(){let Q=this._config;this.clearCache(),QV(Q)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(Q){return K2(Q,()=>[[`datasets.${Q}`,""]])}datasetAnimationScopeKeys(Q,G){return K2(`${Q}.transition.${G}`,()=>[[`datasets.${Q}.transitions.${G}`,`transitions.${G}`],[`datasets.${Q}`,""]])}datasetElementScopeKeys(Q,G){return K2(`${Q}-${G}`,()=>[[`datasets.${Q}.elements.${G}`,`datasets.${Q}`,`elements.${G}`,""]])}pluginScopeKeys(Q){let G=Q.id,J=this.type;return K2(`${J}-plugin-${G}`,()=>[[`plugins.${G}`,...Q.additionalOptionScopes||[]]])}_cachedScopes(Q,G){let J=this._scopeCache,Y=J.get(Q);if(!Y||G)Y=new Map,J.set(Q,Y);return Y}getOptionScopes(Q,G,J){let{options:Y,type:U}=this,B=this._cachedScopes(Q,J),M=B.get(G);if(M)return M;let H=new Set;G.forEach((z)=>{if(Q)H.add(Q),z.forEach((L)=>nQ(H,Q,L));z.forEach((L)=>nQ(H,Y,L)),z.forEach((L)=>nQ(H,Y4[U]||{},L)),z.forEach((L)=>nQ(H,j5,L)),z.forEach((L)=>nQ(H,Z2,L))});let F=Array.from(H);if(F.length===0)F.push(Object.create(null));if(GV.has(G))B.set(G,F);return F}chartOptionScopes(){let{options:Q,type:G}=this;return[Q,Y4[G]||{},j5.datasets[G]||{},{type:G},j5,Z2]}resolveNamedOptions(Q,G,J,Y=[""]){let U={$shared:!0},{resolver:B,subPrefixes:M}=RL(this._resolverCache,Q,Y),H=B;if(NO(B,G)){U.$shared=!1,J=t$(J)?J():J;let F=this.createResolver(Q,J,M);H=H7(B,J,F)}for(let F of G)U[F]=H[F];return U}createResolver(Q,G,J=[""],Y){let{resolver:U}=RL(this._resolverCache,Q,J);return n0(G)?H7(U,G,void 0,Y):U}}function RL(Q,G,J){let Y=Q.get(G);if(!Y)Y=new Map,Q.set(G,Y);let U=J.join(),B=Y.get(U);if(!B)B={resolver:q2(G,J),subPrefixes:J.filter((H)=>!H.toLowerCase().includes("hover"))},Y.set(U,B);return B}var BO=(Q)=>n0(Q)&&Object.getOwnPropertyNames(Q).some((G)=>t$(Q[G]));function NO(Q,G){let{isScriptable:J,isIndexable:Y}=JK(Q);for(let U of G){let B=J(U),M=Y(U),H=(M||B)&&Q[U];if(B&&(t$(H)||BO(H))||M&&V5(H))return!0}return!1}var MO="4.5.1",HO=["top","bottom","left","right","chartArea"];function zL(Q,G){return Q==="top"||Q==="bottom"||HO.indexOf(Q)===-1&&G==="x"}function LL(Q,G){return function(J,Y){return J[Q]===Y[Q]?J[G]-Y[G]:J[Q]-Y[Q]}}function VL(Q){let G=Q.chart,J=G.options.animation;G.notifyPlugins("afterRender"),W5(J&&J.onComplete,[Q],G)}function FO(Q){let G=Q.chart,J=G.options.animation;W5(J&&J.onProgress,[Q],G)}function XV(Q){if(G2()&&typeof Q==="string")Q=document.getElementById(Q);else if(Q&&Q.length)Q=Q[0];if(Q&&Q.canvas)Q=Q.canvas;return Q}var H2={},_L=(Q)=>{let G=XV(Q);return Object.values(H2).filter((J)=>J.canvas===G).pop()};function WO(Q,G,J){let Y=Object.keys(Q);for(let U of Y){let B=+U;if(B>=G){let M=Q[U];if(delete Q[U],J>0||B>G)Q[B+J]=M}}}function RO(Q,G,J,Y){if(!J||Q.type==="mouseout")return null;if(Y)return G;return Q}class P8{static defaults=j5;static instances=H2;static overrides=Y4;static registry=V$;static version=MO;static getChart=_L;static register(...Q){V$.add(...Q),TL()}static unregister(...Q){V$.remove(...Q),TL()}constructor(Q,G){let J=this.config=new JV(G),Y=XV(Q),U=_L(Y);if(U)throw Error("Canvas is already in use. Chart with ID '"+U.id+"' must be destroyed before the canvas with ID '"+U.canvas.id+"' can be reused.");let B=J.createResolver(J.chartOptionScopes(),this.getContext());this.platform=new(J.platform||gI(Y)),this.platform.updateConfig(J);let M=this.platform.acquireContext(Y,B.aspectRatio),H=M&&M.canvas,F=H&&H.height,z=H&&H.width;if(this.id=Wz(),this.ctx=M,this.canvas=H,this.width=z,this.height=F,this._options=B,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ZV,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=Oz((L)=>this.update(L),B.resizeDelay||0),this._dataChanges=[],H2[this.id]=this,!M||!H){console.error("Failed to create chart: can't acquire context from the given item");return}if(q6.listen(this,"complete",VL),q6.listen(this,"progress",FO),this._initialize(),this.attached)this.update()}get aspectRatio(){let{options:{aspectRatio:Q,maintainAspectRatio:G},width:J,height:Y,_aspectRatio:U}=this;if(!t0(Q))return Q;if(G&&U)return U;return Y?J/Y:null}get data(){return this.config.data}set data(Q){this.config.data=Q}get options(){return this._options}set options(Q){this.config.options=Q}get registry(){return V$}_initialize(){if(this.notifyPlugins("beforeInit"),this.options.responsive)this.resize();else UK(this,this.options.devicePixelRatio);return this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ZK(this.canvas,this.ctx),this}stop(){return q6.stop(this),this}resize(Q,G){if(!q6.running(this))this._resize(Q,G);else this._resizeBeforeDraw={width:Q,height:G}}_resize(Q,G){let J=this.options,Y=this.canvas,U=J.maintainAspectRatio&&this.aspectRatio,B=this.platform.getMaximumSize(Y,Q,G,U),M=J.devicePixelRatio||this.platform.getDevicePixelRatio(),H=this.width?"resize":"attach";if(this.width=B.width,this.height=B.height,this._aspectRatio=this.aspectRatio,!UK(this,M,!0))return;if(this.notifyPlugins("resize",{size:B}),W5(J.onResize,[this,B],this),this.attached){if(this._doResize(H))this.render()}}ensureScalesHaveIDs(){let G=this.options.scales||{};X5(G,(J,Y)=>{J.id=Y})}buildOrUpdateScales(){let Q=this.options,G=Q.scales,J=this.scales,Y=Object.keys(J).reduce((B,M)=>{return B[M]=!1,B},{}),U=[];if(G)U=U.concat(Object.keys(G).map((B)=>{let M=G[B],H=OK(B,M),F=H==="r",z=H==="x";return{options:M,dposition:F?"chartArea":z?"bottom":"left",dtype:F?"radialLinear":z?"category":"linear"}}));X5(U,(B)=>{let M=B.options,H=M.id,F=OK(H,M),z=x0(M.type,B.dtype);if(M.position===void 0||zL(M.position,F)!==zL(B.dposition))M.position=B.dposition;Y[H]=!0;let L=null;if(H in J&&J[H].type===z)L=J[H];else L=new(V$.getScale(z))({id:H,type:z,ctx:this.ctx,chart:this}),J[L.id]=L;L.init(M,Q)}),X5(Y,(B,M)=>{if(!B)delete J[M]}),X5(J,(B)=>{E1.configure(this,B,B.options),E1.addBox(this,B)})}_updateMetasets(){let Q=this._metasets,G=this.data.datasets.length,J=Q.length;if(Q.sort((Y,U)=>Y.index-U.index),J>G){for(let Y=G;Y<J;++Y)this._destroyDatasetMeta(Y);Q.splice(G,J-G)}this._sortedMetasets=Q.slice(0).sort(LL("order","index"))}_removeUnreferencedMetasets(){let{_metasets:Q,data:{datasets:G}}=this;if(Q.length>G.length)delete this._stacks;Q.forEach((J,Y)=>{if(G.filter((U)=>U===J._dataset).length===0)this._destroyDatasetMeta(Y)})}buildOrUpdateControllers(){let Q=[],G=this.data.datasets,J,Y;this._removeUnreferencedMetasets();for(J=0,Y=G.length;J<Y;J++){let U=G[J],B=this.getDatasetMeta(J),M=U.type||this.config.type;if(B.type&&B.type!==M)this._destroyDatasetMeta(J),B=this.getDatasetMeta(J);if(B.type=M,B.indexAxis=U.indexAxis||IK(M,this.options),B.order=U.order||0,B.index=J,B.label=""+U.label,B.visible=this.isDatasetVisible(J),B.controller)B.controller.updateIndex(J),B.controller.linkScales();else{let H=V$.getController(M),{datasetElementType:F,dataElementType:z}=j5.datasets[M];Object.assign(H,{dataElementType:V$.getElement(z),datasetElementType:F&&V$.getElement(F)}),B.controller=new H(this,J),Q.push(B.controller)}}return this._updateMetasets(),Q}_resetElements(){X5(this.data.datasets,(Q,G)=>{this.getDatasetMeta(G).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(Q){let G=this.config;G.update();let J=this._options=G.createResolver(G.chartOptionScopes(),this.getContext()),Y=this._animationsDisabled=!J.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:Q,cancelable:!0})===!1)return;let U=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let B=0;for(let F=0,z=this.data.datasets.length;F<z;F++){let{controller:L}=this.getDatasetMeta(F),V=!Y&&U.indexOf(L)===-1;L.buildOrUpdateElements(V),B=Math.max(+L.getMaxOverflow(),B)}if(B=this._minPadding=J.layout.autoPadding?B:0,this._updateLayout(B),!Y)X5(U,(F)=>{F.reset()});this._updateDatasets(Q),this.notifyPlugins("afterUpdate",{mode:Q}),this._layers.sort(LL("z","_idx"));let{_active:M,_lastEvent:H}=this;if(H)this._eventHandler(H,!0);else if(M.length)this._updateHoverStyles(M,M,!0);this.render()}_updateScales(){X5(this.scales,(Q)=>{E1.removeBox(this,Q)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){let Q=this.options,G=new Set(Object.keys(this._listeners)),J=new Set(Q.events);if(!cU(G,J)||!!this._responsiveListeners!==Q.responsive)this.unbindEvents(),this.bindEvents()}_updateHiddenIndices(){let{_hiddenIndices:Q}=this,G=this._getUniformDataChanges()||[];for(let{method:J,start:Y,count:U}of G){let B=J==="_removeElements"?-U:U;WO(Q,Y,B)}}_getUniformDataChanges(){let Q=this._dataChanges;if(!Q||!Q.length)return;this._dataChanges=[];let G=this.data.datasets.length,J=(U)=>new Set(Q.filter((B)=>B[0]===U).map((B,M)=>M+","+B.splice(1).join(","))),Y=J(0);for(let U=1;U<G;U++)if(!cU(Y,J(U)))return;return Array.from(Y).map((U)=>U.split(",")).map((U)=>({method:U[1],start:+U[2],count:+U[3]}))}_updateLayout(Q){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;E1.update(this,this.width,this.height,Q);let G=this.chartArea,J=G.width<=0||G.height<=0;this._layers=[],X5(this.boxes,(Y)=>{if(J&&Y.position==="chartArea")return;if(Y.configure)Y.configure();this._layers.push(...Y._layers())},this),this._layers.forEach((Y,U)=>{Y._idx=U}),this.notifyPlugins("afterLayout")}_updateDatasets(Q){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:Q,cancelable:!0})===!1)return;for(let G=0,J=this.data.datasets.length;G<J;++G)this.getDatasetMeta(G).controller.configure();for(let G=0,J=this.data.datasets.length;G<J;++G)this._updateDataset(G,t$(Q)?Q({datasetIndex:G}):Q);this.notifyPlugins("afterDatasetsUpdate",{mode:Q})}_updateDataset(Q,G){let J=this.getDatasetMeta(Q),Y={meta:J,index:Q,mode:G,cancelable:!0};if(this.notifyPlugins("beforeDatasetUpdate",Y)===!1)return;J.controller._update(G),Y.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",Y)}render(){if(this.notifyPlugins("beforeRender",{cancelable:!0})===!1)return;if(q6.has(this)){if(this.attached&&!q6.running(this))q6.start(this)}else this.draw(),VL({chart:this})}draw(){let Q;if(this._resizeBeforeDraw){let{width:J,height:Y}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(J,Y)}if(this.clear(),this.width<=0||this.height<=0)return;if(this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;let G=this._layers;for(Q=0;Q<G.length&&G[Q].z<=0;++Q)G[Q].draw(this.chartArea);this._drawDatasets();for(;Q<G.length;++Q)G[Q].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(Q){let G=this._sortedMetasets,J=[],Y,U;for(Y=0,U=G.length;Y<U;++Y){let B=G[Y];if(!Q||B.visible)J.push(B)}return J}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;let Q=this.getSortedVisibleDatasetMetas();for(let G=Q.length-1;G>=0;--G)this._drawDataset(Q[G]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(Q){let G=this.ctx,J={meta:Q,index:Q.index,cancelable:!0},Y=FK(this,Q);if(this.notifyPlugins("beforeDatasetDraw",J)===!1)return;if(Y)mQ(G,Y);if(Q.controller.draw(),Y)dQ(G);J.cancelable=!1,this.notifyPlugins("afterDatasetDraw",J)}isPointInArea(Q){return R$(Q,this.chartArea,this._minPadding)}getElementsAtEventForMode(Q,G,J,Y){let U=LI.modes[G];if(typeof U==="function")return U(this,Q,J,Y);return[]}getDatasetMeta(Q){let G=this.data.datasets[Q],J=this._metasets,Y=J.filter((U)=>U&&U._dataset===G).pop();if(!Y)Y={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:G&&G.order||0,index:Q,_dataset:G,_parsed:[],_sorted:!1},J.push(Y);return Y}getContext(){return this.$context||(this.$context=Q6(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(Q){let G=this.data.datasets[Q];if(!G)return!1;let J=this.getDatasetMeta(Q);return typeof J.hidden==="boolean"?!J.hidden:!G.hidden}setDatasetVisibility(Q,G){let J=this.getDatasetMeta(Q);J.hidden=!G}toggleDataVisibility(Q){this._hiddenIndices[Q]=!this._hiddenIndices[Q]}getDataVisibility(Q){return!this._hiddenIndices[Q]}_updateVisibility(Q,G,J){let Y=J?"show":"hide",U=this.getDatasetMeta(Q),B=U.controller._resolveAnimations(void 0,Y);if(h9(G))U.data[G].hidden=!J,this.update();else this.setDatasetVisibility(Q,J),B.update(U,{visible:J}),this.update((M)=>M.datasetIndex===Q?Y:void 0)}hide(Q,G){this._updateVisibility(Q,G,!1)}show(Q,G){this._updateVisibility(Q,G,!0)}_destroyDatasetMeta(Q){let G=this._metasets[Q];if(G&&G.controller)G.controller._destroy();delete this._metasets[Q]}_stop(){let Q,G;this.stop(),q6.remove(this);for(Q=0,G=this.data.datasets.length;Q<G;++Q)this._destroyDatasetMeta(Q)}destroy(){this.notifyPlugins("beforeDestroy");let{canvas:Q,ctx:G}=this;if(this._stop(),this.config.clearCache(),Q)this.unbindEvents(),ZK(Q,G),this.platform.releaseContext(G),this.canvas=null,this.ctx=null;delete H2[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...Q){return this.canvas.toDataURL(...Q)}bindEvents(){if(this.bindUserEvents(),this.options.responsive)this.bindResponsiveEvents();else this.attached=!0}bindUserEvents(){let Q=this._listeners,G=this.platform,J=(U,B)=>{G.addEventListener(this,U,B),Q[U]=B},Y=(U,B,M)=>{U.offsetX=B,U.offsetY=M,this._eventHandler(U)};X5(this.options.events,(U)=>J(U,Y))}bindResponsiveEvents(){if(!this._responsiveListeners)this._responsiveListeners={};let Q=this._responsiveListeners,G=this.platform,J=(H,F)=>{G.addEventListener(this,H,F),Q[H]=F},Y=(H,F)=>{if(Q[H])G.removeEventListener(this,H,F),delete Q[H]},U=(H,F)=>{if(this.canvas)this.resize(H,F)},B,M=()=>{Y("attach",M),this.attached=!0,this.resize(),J("resize",U),J("detach",B)};if(B=()=>{this.attached=!1,Y("resize",U),this._stop(),this._resize(0,0),J("attach",M)},G.isAttached(this.canvas))M();else B()}unbindEvents(){X5(this._listeners,(Q,G)=>{this.platform.removeEventListener(this,G,Q)}),this._listeners={},X5(this._responsiveListeners,(Q,G)=>{this.platform.removeEventListener(this,G,Q)}),this._responsiveListeners=void 0}updateHoverStyle(Q,G,J){let Y=J?"set":"remove",U,B,M,H;if(G==="dataset")U=this.getDatasetMeta(Q[0].datasetIndex),U.controller["_"+Y+"DatasetHoverStyle"]();for(M=0,H=Q.length;M<H;++M){B=Q[M];let F=B&&this.getDatasetMeta(B.datasetIndex).controller;if(F)F[Y+"HoverStyle"](B.element,B.datasetIndex,B.index)}}getActiveElements(){return this._active||[]}setActiveElements(Q){let G=this._active||[],J=Q.map(({datasetIndex:U,index:B})=>{let M=this.getDatasetMeta(U);if(!M)throw Error("No dataset found at index "+U);return{datasetIndex:U,element:M.data[B],index:B}});if(!hQ(J,G))this._active=J,this._lastEvent=null,this._updateHoverStyles(J,G)}notifyPlugins(Q,G,J){return this._plugins.notify(this,Q,G,J)}isPluginEnabled(Q){return this._plugins._cache.filter((G)=>G.plugin.id===Q).length===1}_updateHoverStyles(Q,G,J){let Y=this.options.hover,U=(H,F)=>H.filter((z)=>!F.some((L)=>z.datasetIndex===L.datasetIndex&&z.index===L.index)),B=U(G,Q),M=J?Q:U(Q,G);if(B.length)this.updateHoverStyle(B,Y.mode,!1);if(M.length&&Y.mode)this.updateHoverStyle(M,Y.mode,!0)}_eventHandler(Q,G){let J={event:Q,replay:G,cancelable:!0,inChartArea:this.isPointInArea(Q)},Y=(B)=>(B.options.events||this.options.events).includes(Q.native.type);if(this.notifyPlugins("beforeEvent",J,Y)===!1)return;let U=this._handleEvent(Q,G,J.inChartArea);if(J.cancelable=!1,this.notifyPlugins("afterEvent",J,Y),U||J.changed)this.render();return this}_handleEvent(Q,G,J){let{_active:Y=[],options:U}=this,B=G,M=this._getActiveElements(Q,Y,J,B),H=Lz(Q),F=RO(Q,this._lastEvent,J,H);if(J){if(this._lastEvent=null,W5(U.onHover,[Q,M,this],this),H)W5(U.onClick,[Q,M,this],this)}let z=!hQ(M,Y);if(z||G)this._active=M,this._updateHoverStyles(M,Y,G);return this._lastEvent=F,z}_getActiveElements(Q,G,J,Y){if(Q.type==="mouseout")return[];if(!J)return G;let U=this.options.hover;return this.getElementsAtEventForMode(Q,U.mode,U,Y)}}function TL(){return X5(P8.instances,(Q)=>Q._plugins.invalidate())}function YV(Q,G,J=G){Q.lineCap=x0(J.borderCapStyle,G.borderCapStyle),Q.setLineDash(x0(J.borderDash,G.borderDash)),Q.lineDashOffset=x0(J.borderDashOffset,G.borderDashOffset),Q.lineJoin=x0(J.borderJoinStyle,G.borderJoinStyle),Q.lineWidth=x0(J.borderWidth,G.borderWidth),Q.strokeStyle=x0(J.borderColor,G.borderColor)}function zO(Q,G,J){Q.lineTo(J.x,J.y)}function LO(Q){if(Q.stepped)return bz;if(Q.tension||Q.cubicInterpolationMode==="monotone")return fz;return zO}function UV(Q,G,J={}){let Y=Q.length,{start:U=0,end:B=Y-1}=J,{start:M,end:H}=G,F=Math.max(U,M),z=Math.min(B,H),L=U<M&&B<M||U>H&&B>H;return{count:Y,start:F,loop:G.loop,ilen:z<F&&!L?Y+z-F:z-F}}function VO(Q,G,J,Y){let{points:U,options:B}=G,{count:M,start:H,loop:F,ilen:z}=UV(U,J,Y),L=LO(B),{move:V=!0,reverse:T}=Y||{},P,I,D;for(P=0;P<=z;++P){if(I=U[(H+(T?z-P:P))%M],I.skip)continue;else if(V)Q.moveTo(I.x,I.y),V=!1;else L(Q,D,I,T,B.stepped);D=I}if(F)I=U[(H+(T?z:0))%M],L(Q,D,I,T,B.stepped);return!!F}function _O(Q,G,J,Y){let U=G.points,{count:B,start:M,ilen:H}=UV(U,J,Y),{move:F=!0,reverse:z}=Y||{},L=0,V=0,T,P,I,D,C,g,m=(i)=>(M+(z?H-i:i))%B,o=()=>{if(D!==C)Q.lineTo(L,C),Q.lineTo(L,D),Q.lineTo(L,g)};if(F)P=U[m(0)],Q.moveTo(P.x,P.y);for(T=0;T<=H;++T){if(P=U[m(T)],P.skip)continue;let{x:i,y:s}=P,Q0=i|0;if(Q0===I){if(s<D)D=s;else if(s>C)C=s;L=(V*L+i)/++V}else o(),Q.lineTo(i,s),I=Q0,V=0,D=C=s;g=s}o()}function jK(Q){let G=Q.options,J=G.borderDash&&G.borderDash.length;return!Q._decimated&&!Q._loop&&!G.tension&&G.cubicInterpolationMode!=="monotone"&&!G.stepped&&!J?_O:VO}function TO(Q){if(Q.stepped)return cz;if(Q.tension||Q.cubicInterpolationMode==="monotone")return lz;return G4}function EO(Q,G,J,Y){let U=G._path;if(!U){if(U=G._path=new Path2D,G.path(U,J,Y))U.closePath()}YV(Q,G.options),Q.stroke(U)}function wO(Q,G,J,Y){let{segments:U,options:B}=G,M=jK(G);for(let H of U){if(YV(Q,B,H.style),Q.beginPath(),M(Q,G,H,{start:J,end:J+Y-1}))Q.closePath();Q.stroke()}}var PO=typeof Path2D==="function";function CO(Q,G,J,Y){if(PO&&!G.options.segment)EO(Q,G,J,Y);else wO(Q,G,J,Y)}class u8 extends J6{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:(Q)=>Q!=="borderDash"&&Q!=="fill"};constructor(Q){super();if(this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,Q)Object.assign(this,Q)}updateControlPoints(Q,G){let J=this.options;if((J.tension||J.cubicInterpolationMode==="monotone")&&!J.stepped&&!this._pointsUpdated){let Y=J.spanGaps?this._loop:this._fullLoop;mz(this._points,J,Q,Y,G),this._pointsUpdated=!0}}set points(Q){this._points=Q,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=sz(this,this.options.segment))}first(){let Q=this.segments,G=this.points;return Q.length&&G[Q[0].start]}last(){let Q=this.segments,G=this.points,J=Q.length;return J&&G[Q[J-1].end]}interpolate(Q,G){let J=this.options,Y=Q[G],U=this.points,B=HK(this,{property:G,start:Y,end:Y});if(!B.length)return;let M=[],H=TO(J),F,z;for(F=0,z=B.length;F<z;++F){let{start:L,end:V}=B[F],T=U[L],P=U[V];if(T===P){M.push(T);continue}let I=Math.abs((Y-T[G])/(P[G]-T[G])),D=H(T,P,I,J.stepped);D[G]=Q[G],M.push(D)}return M.length===1?M[0]:M}pathSegment(Q,G,J){return jK(this)(Q,this,G,J)}path(Q,G,J){let Y=this.segments,U=jK(this),B=this._loop;G=G||0,J=J||this.points.length-G;for(let M of Y)B&=U(Q,this,M,{start:G,end:G+J-1});return!!B}draw(Q,G,J,Y){let U=this.options||{};if((this.points||[]).length&&U.borderWidth)Q.save(),CO(Q,this,J,Y),Q.restore();if(this.animated)this._pointsUpdated=!1,this._path=void 0}}function EL(Q,G,J,Y){let U=Q.options,{[J]:B}=Q.getProps([J],Y);return Math.abs(G-B)<U.radius+U.hitRadius}class g1 extends J6{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Q){super();if(this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,Q)Object.assign(this,Q)}inRange(Q,G,J){let Y=this.options,{x:U,y:B}=this.getProps(["x","y"],J);return Math.pow(Q-U,2)+Math.pow(G-B,2)<Math.pow(Y.hitRadius+Y.radius,2)}inXRange(Q,G){return EL(this,Q,"x",G)}inYRange(Q,G){return EL(this,Q,"y",G)}getCenterPoint(Q){let{x:G,y:J}=this.getProps(["x","y"],Q);return{x:G,y:J}}size(Q){Q=Q||this.options||{};let G=Q.radius||0;G=Math.max(G,G&&Q.hoverRadius||0);let J=G&&Q.borderWidth||0;return(G+J)*2}draw(Q,G){let J=this.options;if(this.skip||J.radius<0.1||!R$(this,G,this.size(J)/2))return;Q.strokeStyle=J.borderColor,Q.lineWidth=J.borderWidth,Q.fillStyle=J.backgroundColor,Q2(Q,J,this.x,this.y)}getRange(){let Q=this.options||{};return Q.radius+Q.hitRadius}}function KV(Q,G){let{x:J,y:Y,base:U,width:B,height:M}=Q.getProps(["x","y","base","width","height"],G),H,F,z,L,V;if(Q.horizontal)V=M/2,H=Math.min(J,U),F=Math.max(J,U),z=Y-V,L=Y+V;else V=B/2,H=J-V,F=J+V,z=Math.min(Y,U),L=Math.max(Y,U);return{left:H,top:z,right:F,bottom:L}}function M4(Q,G,J,Y){return Q?0:y8(G,J,Y)}function IO(Q,G,J){let Y=Q.options.borderWidth,U=Q.borderSkipped,B=GK(Y);return{t:M4(U.top,B.top,0,J),r:M4(U.right,B.right,0,G),b:M4(U.bottom,B.bottom,0,J),l:M4(U.left,B.left,0,G)}}function OO(Q,G,J){let{enableBorderRadius:Y}=Q.getProps(["enableBorderRadius"]),U=Q.options.borderRadius,B=B4(U),M=Math.min(G,J),H=Q.borderSkipped,F=Y||n0(U);return{topLeft:M4(!F||H.top||H.left,B.topLeft,0,M),topRight:M4(!F||H.top||H.right,B.topRight,0,M),bottomLeft:M4(!F||H.bottom||H.left,B.bottomLeft,0,M),bottomRight:M4(!F||H.bottom||H.right,B.bottomRight,0,M)}}function jO(Q){let G=KV(Q),J=G.right-G.left,Y=G.bottom-G.top,U=IO(Q,J/2,Y/2),B=OO(Q,J/2,Y/2);return{outer:{x:G.left,y:G.top,w:J,h:Y,radius:B},inner:{x:G.left+U.l,y:G.top+U.t,w:J-U.l-U.r,h:Y-U.t-U.b,radius:{topLeft:Math.max(0,B.topLeft-Math.max(U.t,U.l)),topRight:Math.max(0,B.topRight-Math.max(U.t,U.r)),bottomLeft:Math.max(0,B.bottomLeft-Math.max(U.b,U.l)),bottomRight:Math.max(0,B.bottomRight-Math.max(U.b,U.r))}}}}function EK(Q,G,J,Y){let U=G===null,B=J===null,H=Q&&!(U&&B)&&KV(Q,Y);return H&&(U||Z6(G,H.left,H.right))&&(B||Z6(J,H.top,H.bottom))}function AO(Q){return Q.topLeft||Q.topRight||Q.bottomLeft||Q.bottomRight}function DO(Q,G){Q.rect(G.x,G.y,G.w,G.h)}function wK(Q,G,J={}){let Y=Q.x!==J.x?-G:0,U=Q.y!==J.y?-G:0,B=(Q.x+Q.w!==J.x+J.w?G:0)-Y,M=(Q.y+Q.h!==J.y+J.h?G:0)-U;return{x:Q.x+Y,y:Q.y+U,w:Q.w+B,h:Q.h+M,radius:Q.radius}}class Qq extends J6{static id="bar";static defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(Q){super();if(this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,Q)Object.assign(this,Q)}draw(Q){let{inflateAmount:G,options:{borderColor:J,backgroundColor:Y}}=this,{inner:U,outer:B}=jO(this),M=AO(B.radius)?d9:DO;if(Q.save(),B.w!==U.w||B.h!==U.h)Q.beginPath(),M(Q,wK(B,G,U)),Q.clip(),M(Q,wK(U,-G,B)),Q.fillStyle=J,Q.fill("evenodd");Q.beginPath(),M(Q,wK(U,G)),Q.fillStyle=Y,Q.fill(),Q.restore()}inRange(Q,G,J){return EK(this,Q,G,J)}inXRange(Q,G){return EK(this,Q,null,G)}inYRange(Q,G){return EK(this,null,Q,G)}getCenterPoint(Q){let{x:G,y:J,base:Y,horizontal:U}=this.getProps(["x","y","base","horizontal"],Q);return{x:U?(G+Y)/2:G,y:U?J:(J+Y)/2}}getRange(Q){return Q==="x"?this.width/2:this.height/2}}function SO(Q,G,J){let{segments:Y,points:U}=Q,B=G.points,M=[];for(let H of Y){let{start:F,end:z}=H;z=R2(F,z,U);let L=AK(J,U[F],U[z],H.loop);if(!G.segments){M.push({source:H,target:L,start:U[F],end:U[z]});continue}let V=HK(G,L);for(let T of V){let P=AK(J,B[T.start],B[T.end],T.loop),I=MK(H,U,P);for(let D of I)M.push({source:D,target:T,start:{[J]:wL(L,P,"start",Math.max)},end:{[J]:wL(L,P,"end",Math.min)}})}}return M}function AK(Q,G,J,Y){if(Y)return;let U=G[Q],B=J[Q];if(Q==="angle")U=k8(U),B=k8(B);return{property:Q,start:U,end:B}}function vO(Q,G){let{x:J=null,y:Y=null}=Q||{},U=G.points,B=[];return G.segments.forEach(({start:M,end:H})=>{H=R2(M,H,U);let F=U[M],z=U[H];if(Y!==null)B.push({x:F.x,y:Y}),B.push({x:z.x,y:Y});else if(J!==null)B.push({x:J,y:F.y}),B.push({x:J,y:z.y})}),B}function R2(Q,G,J){for(;G>Q;G--){let Y=J[G];if(!isNaN(Y.x)&&!isNaN(Y.y))break}return G}function wL(Q,G,J,Y){if(Q&&G)return Y(Q[J],G[J]);return Q?Q[J]:G?G[J]:0}function BV(Q,G){let J=[],Y=!1;if(V5(Q))Y=!0,J=Q;else J=vO(Q,G);return J.length?new u8({points:J,options:{tension:0},_loop:Y,_fullLoop:Y}):null}function PL(Q){return Q&&Q.fill!==!1}function kO(Q,G,J){let U=Q[G].fill,B=[G],M;if(!J)return U;while(U!==!1&&B.indexOf(U)===-1){if(!O5(U))return U;if(M=Q[U],!M)return!1;if(M.visible)return U;B.push(U),U=M.fill}return!1}function bO(Q,G,J){let Y=xO(Q);if(n0(Y))return isNaN(Y.value)?!1:Y;let U=parseFloat(Y);if(O5(U)&&Math.floor(U)===U)return fO(Y[0],G,U,J);return["origin","start","end","stack","shape"].indexOf(Y)>=0&&Y}function fO(Q,G,J,Y){if(Q==="-"||Q==="+")J=G+J;if(J===G||J<0||J>=Y)return!1;return J}function yO(Q,G){let J=null;if(Q==="start")J=G.bottom;else if(Q==="end")J=G.top;else if(n0(Q))J=G.getPixelForValue(Q.value);else if(G.getBasePixel)J=G.getBasePixel();return J}function gO(Q,G,J){let Y;if(Q==="start")Y=J;else if(Q==="end")Y=G.options.reverse?G.min:G.max;else if(n0(Q))Y=Q.value;else Y=G.getBaseValue();return Y}function xO(Q){let G=Q.options,J=G.fill,Y=x0(J&&J.target,J);if(Y===void 0)Y=!!G.backgroundColor;if(Y===!1||Y===null)return!1;if(Y===!0)return"origin";return Y}function hO(Q){let{scale:G,index:J,line:Y}=Q,U=[],B=Y.segments,M=Y.points,H=uO(G,J);H.push(BV({x:null,y:G.bottom},Y));for(let F=0;F<B.length;F++){let z=B[F];for(let L=z.start;L<=z.end;L++)mO(U,M[L],H)}return new u8({points:U,options:{}})}function uO(Q,G){let J=[],Y=Q.getMatchingVisibleMetas("line");for(let U=0;U<Y.length;U++){let B=Y[U];if(B.index===G)break;if(!B.hidden)J.unshift(B.dataset)}return J}function mO(Q,G,J){let Y=[];for(let U=0;U<J.length;U++){let B=J[U],{first:M,last:H,point:F}=dO(B,G,"x");if(!F||M&&H)continue;if(M)Y.unshift(F);else if(Q.push(F),!H)break}Q.push(...Y)}function dO(Q,G,J){let Y=Q.interpolate(G,J);if(!Y)return{};let U=Y[J],B=Q.segments,M=Q.points,H=!1,F=!1;for(let z=0;z<B.length;z++){let L=B[z],V=M[L.start][J],T=M[L.end][J];if(Z6(U,V,T)){H=U===V,F=U===T;break}}return{first:H,last:F,point:Y}}class hK{constructor(Q){this.x=Q.x,this.y=Q.y,this.radius=Q.radius}pathSegment(Q,G,J){let{x:Y,y:U,radius:B}=this;return G=G||{start:0,end:f8},Q.arc(Y,U,B,G.end,G.start,!0),!J.bounds}interpolate(Q){let{x:G,y:J,radius:Y}=this,U=Q.angle;return{x:G+Math.cos(U)*Y,y:J+Math.sin(U)*Y,angle:U}}}function pO(Q){let{chart:G,fill:J,line:Y}=Q;if(O5(J))return cO(G,J);if(J==="stack")return hO(Q);if(J==="shape")return!0;let U=lO(Q);if(U instanceof hK)return U;return BV(U,Y)}function cO(Q,G){let J=Q.getDatasetMeta(G);return J&&Q.isDatasetVisible(G)?J.dataset:null}function lO(Q){if((Q.scale||{}).getPointPositionForValue)return sO(Q);return rO(Q)}function rO(Q){let{scale:G={},fill:J}=Q,Y=yO(J,G);if(O5(Y)){let U=G.isHorizontal();return{x:U?Y:null,y:U?null:Y}}return null}function sO(Q){let{scale:G,fill:J}=Q,Y=G.options,U=G.getLabels().length,B=Y.reverse?G.max:G.min,M=gO(J,G,B),H=[];if(Y.grid.circular){let F=G.getPointPositionForValue(0,B);return new hK({x:F.x,y:F.y,radius:G.getDistanceFromCenterForValue(M)})}for(let F=0;F<U;++F)H.push(G.getPointPositionForValue(F,M));return H}function PK(Q,G,J){let Y=pO(G),{chart:U,index:B,line:M,scale:H,axis:F}=G,z=M.options,L=z.fill,V=z.backgroundColor,{above:T=V,below:P=V}=L||{},I=U.getDatasetMeta(B),D=FK(U,I);if(Y&&M.points.length)mQ(Q,J),nO(Q,{line:M,target:Y,above:T,below:P,area:J,scale:H,axis:F,clip:D}),dQ(Q)}function nO(Q,G){let{line:J,target:Y,above:U,below:B,area:M,scale:H,clip:F}=G,z=J._loop?"angle":G.axis;Q.save();let L=B;if(B!==U){if(z==="x")CL(Q,Y,M.top),CK(Q,{line:J,target:Y,color:U,scale:H,property:z,clip:F}),Q.restore(),Q.save(),CL(Q,Y,M.bottom);else if(z==="y")IL(Q,Y,M.left),CK(Q,{line:J,target:Y,color:B,scale:H,property:z,clip:F}),Q.restore(),Q.save(),IL(Q,Y,M.right),L=U}CK(Q,{line:J,target:Y,color:L,scale:H,property:z,clip:F}),Q.restore()}function CL(Q,G,J){let{segments:Y,points:U}=G,B=!0,M=!1;Q.beginPath();for(let H of Y){let{start:F,end:z}=H,L=U[F],V=U[R2(F,z,U)];if(B)Q.moveTo(L.x,L.y),B=!1;else Q.lineTo(L.x,J),Q.lineTo(L.x,L.y);if(M=!!G.pathSegment(Q,H,{move:M}),M)Q.closePath();else Q.lineTo(V.x,J)}Q.lineTo(G.first().x,J),Q.closePath(),Q.clip()}function IL(Q,G,J){let{segments:Y,points:U}=G,B=!0,M=!1;Q.beginPath();for(let H of Y){let{start:F,end:z}=H,L=U[F],V=U[R2(F,z,U)];if(B)Q.moveTo(L.x,L.y),B=!1;else Q.lineTo(J,L.y),Q.lineTo(L.x,L.y);if(M=!!G.pathSegment(Q,H,{move:M}),M)Q.closePath();else Q.lineTo(J,V.y)}Q.lineTo(J,G.first().y),Q.closePath(),Q.clip()}function CK(Q,G){let{line:J,target:Y,property:U,color:B,scale:M,clip:H}=G,F=SO(J,Y,U);for(let{source:z,target:L,start:V,end:T}of F){let{style:{backgroundColor:P=B}={}}=z,I=Y!==!0;Q.save(),Q.fillStyle=P,oO(Q,M,H,I&&AK(U,V,T)),Q.beginPath();let D=!!J.pathSegment(Q,z),C;if(I){if(D)Q.closePath();else OL(Q,Y,T,U);let g=!!Y.pathSegment(Q,L,{move:D,reverse:!0});if(C=D&&g,!C)OL(Q,Y,V,U)}Q.closePath(),Q.fill(C?"evenodd":"nonzero"),Q.restore()}}function oO(Q,G,J,Y){let U=G.chart.chartArea,{property:B,start:M,end:H}=Y||{};if(B==="x"||B==="y"){let F,z,L,V;if(B==="x")F=M,z=U.top,L=H,V=U.bottom;else F=U.left,z=M,L=U.right,V=H;if(Q.beginPath(),J)F=Math.max(F,J.left),L=Math.min(L,J.right),z=Math.max(z,J.top),V=Math.min(V,J.bottom);Q.rect(F,z,L-F,V-z),Q.clip()}}function OL(Q,G,J,Y){let U=G.interpolate(J,Y);if(U)Q.lineTo(U.x,U.y)}var p9={id:"filler",afterDatasetsUpdate(Q,G,J){let Y=(Q.data.datasets||[]).length,U=[],B,M,H,F;for(M=0;M<Y;++M){if(B=Q.getDatasetMeta(M),H=B.dataset,F=null,H&&H.options&&H instanceof u8)F={visible:Q.isDatasetVisible(M),index:M,fill:bO(H,M,Y),chart:Q,axis:B.controller.options.indexAxis,scale:B.vScale,line:H};B.$filler=F,U.push(F)}for(M=0;M<Y;++M){if(F=U[M],!F||F.fill===!1)continue;F.fill=kO(U,M,J.propagate)}},beforeDraw(Q,G,J){let Y=J.drawTime==="beforeDraw",U=Q.getSortedVisibleDatasetMetas(),B=Q.chartArea;for(let M=U.length-1;M>=0;--M){let H=U[M].$filler;if(!H)continue;if(H.line.updateControlPoints(B,H.axis),Y&&H.fill)PK(Q.ctx,H,B)}},beforeDatasetsDraw(Q,G,J){if(J.drawTime!=="beforeDatasetsDraw")return;let Y=Q.getSortedVisibleDatasetMetas();for(let U=Y.length-1;U>=0;--U){let B=Y[U].$filler;if(PL(B))PK(Q.ctx,B,Q.chartArea)}},beforeDatasetDraw(Q,G,J){let Y=G.meta.$filler;if(!PL(Y)||J.drawTime!=="beforeDatasetDraw")return;PK(Q.ctx,Y,Q.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},jL=(Q,G)=>{let{boxHeight:J=G,boxWidth:Y=G}=Q;if(Q.usePointStyle)J=Math.min(J,G),Y=Q.pointStyleWidth||Math.min(Y,G);return{boxWidth:Y,boxHeight:J,itemHeight:Math.max(G,J)}},iO=(Q,G)=>Q!==null&&G!==null&&Q.datasetIndex===G.datasetIndex&&Q.index===G.index;class DK extends J6{constructor(Q){super();this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=Q.chart,this.options=Q.options,this.ctx=Q.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Q,G,J){this.maxWidth=Q,this.maxHeight=G,this._margins=J,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){if(this.isHorizontal())this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width;else this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height}buildLabels(){let Q=this.options.labels||{},G=W5(Q.generateLabels,[this.chart],this)||[];if(Q.filter)G=G.filter((J)=>Q.filter(J,this.chart.data));if(Q.sort)G=G.sort((J,Y)=>Q.sort(J,Y,this.chart.data));if(this.options.reverse)G.reverse();this.legendItems=G}fit(){let{options:Q,ctx:G}=this;if(!Q.display){this.width=this.height=0;return}let J=Q.labels,Y=p5(J.font),U=Y.size,B=this._computeTitleHeight(),{boxWidth:M,itemHeight:H}=jL(J,U),F,z;if(G.font=Y.string,this.isHorizontal())F=this.maxWidth,z=this._fitRows(B,U,M,H)+10;else z=this.maxHeight,F=this._fitCols(B,Y,M,H)+10;this.width=Math.min(F,Q.maxWidth||this.maxWidth),this.height=Math.min(z,Q.maxHeight||this.maxHeight)}_fitRows(Q,G,J,Y){let{ctx:U,maxWidth:B,options:{labels:{padding:M}}}=this,H=this.legendHitBoxes=[],F=this.lineWidths=[0],z=Y+M,L=Q;U.textAlign="left",U.textBaseline="middle";let V=-1,T=-z;return this.legendItems.forEach((P,I)=>{let D=J+G/2+U.measureText(P.text).width;if(I===0||F[F.length-1]+D+2*M>B)L+=z,F[F.length-(I>0?0:1)]=0,T+=z,V++;H[I]={left:0,top:T,row:V,width:D,height:Y},F[F.length-1]+=D+M}),L}_fitCols(Q,G,J,Y){let{ctx:U,maxHeight:B,options:{labels:{padding:M}}}=this,H=this.legendHitBoxes=[],F=this.columnSizes=[],z=B-Q,L=M,V=0,T=0,P=0,I=0;return this.legendItems.forEach((D,C)=>{let{itemWidth:g,itemHeight:m}=aO(J,G,U,D,Y);if(C>0&&T+m+2*M>z)L+=V+M,F.push({width:V,height:T}),P+=V+M,I++,V=T=0;H[C]={left:P,top:T,col:I,width:g,height:m},V=Math.max(V,g),T+=m+M}),L+=V,F.push({width:V,height:T}),L}adjustHitBoxes(){if(!this.options.display)return;let Q=this._computeTitleHeight(),{legendHitBoxes:G,options:{align:J,labels:{padding:Y},rtl:U}}=this,B=W7(U,this.left,this.width);if(this.isHorizontal()){let M=0,H=J8(J,this.left+Y,this.right-this.lineWidths[M]);for(let F of G){if(M!==F.row)M=F.row,H=J8(J,this.left+Y,this.right-this.lineWidths[M]);F.top+=this.top+Q+Y,F.left=B.leftForLtr(B.x(H),F.width),H+=F.width+Y}}else{let M=0,H=J8(J,this.top+Q+Y,this.bottom-this.columnSizes[M].height);for(let F of G){if(F.col!==M)M=F.col,H=J8(J,this.top+Q+Y,this.bottom-this.columnSizes[M].height);F.top=H,F.left+=this.left+Y,F.left=B.leftForLtr(B.x(F.left),F.width),H+=F.height+Y}}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){let Q=this.ctx;mQ(Q,this),this._draw(),dQ(Q)}}_draw(){let{options:Q,columnSizes:G,lineWidths:J,ctx:Y}=this,{align:U,labels:B}=Q,M=j5.color,H=W7(Q.rtl,this.left,this.width),F=p5(B.font),{padding:z}=B,L=F.size,V=L/2,T;this.drawTitle(),Y.textAlign=H.textAlign("left"),Y.textBaseline="middle",Y.lineWidth=0.5,Y.font=F.string;let{boxWidth:P,boxHeight:I,itemHeight:D}=jL(B,L),C=function(s,Q0,p){if(isNaN(P)||P<=0||isNaN(I)||I<0)return;Y.save();let a=x0(p.lineWidth,1);if(Y.fillStyle=x0(p.fillStyle,M),Y.lineCap=x0(p.lineCap,"butt"),Y.lineDashOffset=x0(p.lineDashOffset,0),Y.lineJoin=x0(p.lineJoin,"miter"),Y.lineWidth=a,Y.strokeStyle=x0(p.strokeStyle,M),Y.setLineDash(x0(p.lineDash,[])),B.usePointStyle){let Y0={radius:I*Math.SQRT2/2,pointStyle:p.pointStyle,rotation:p.rotation,borderWidth:a},d=H.xPlus(s,P/2),K0=Q0+V;QK(Y,Y0,d,K0,B.pointStyleWidth&&P)}else{let Y0=Q0+Math.max((L-I)/2,0),d=H.leftForLtr(s,P),K0=B4(p.borderRadius);if(Y.beginPath(),Object.values(K0).some((R0)=>R0!==0))d9(Y,{x:d,y:Y0,w:P,h:I,radius:K0});else Y.rect(d,Y0,P,I);if(Y.fill(),a!==0)Y.stroke()}Y.restore()},g=function(s,Q0,p){K4(Y,p.text,s,Q0+D/2,F,{strikethrough:p.hidden,textAlign:H.textAlign(p.textAlign)})},m=this.isHorizontal(),o=this._computeTitleHeight();if(m)T={x:J8(U,this.left+z,this.right-J[0]),y:this.top+z+o,line:0};else T={x:this.left+z,y:J8(U,this.top+o+z,this.bottom-G[0].height),line:0};BK(this.ctx,Q.textDirection);let i=D+z;this.legendItems.forEach((s,Q0)=>{Y.strokeStyle=s.fontColor,Y.fillStyle=s.fontColor;let p=Y.measureText(s.text).width,a=H.textAlign(s.textAlign||(s.textAlign=B.textAlign)),Y0=P+V+p,d=T.x,K0=T.y;if(H.setWidth(this.width),m){if(Q0>0&&d+Y0+z>this.right)K0=T.y+=i,T.line++,d=T.x=J8(U,this.left+z,this.right-J[T.line])}else if(Q0>0&&K0+i>this.bottom)d=T.x=d+G[T.line].width+z,T.line++,K0=T.y=J8(U,this.top+o+z,this.bottom-G[T.line].height);let R0=H.x(d);if(C(R0,K0,s),d=jz(a,d+P+V,m?d+Y0:this.right,Q.rtl),g(H.x(d),K0,s),m)T.x+=Y0+z;else if(typeof s.text!=="string"){let V0=F.lineHeight;T.y+=NV(s,V0)+z}else T.y+=i}),NK(this.ctx,Q.textDirection)}drawTitle(){let Q=this.options,G=Q.title,J=p5(G.font),Y=X8(G.padding);if(!G.display)return;let U=W7(Q.rtl,this.left,this.width),B=this.ctx,M=G.position,H=J.size/2,F=Y.top+H,z,L=this.left,V=this.width;if(this.isHorizontal())V=Math.max(...this.lineWidths),z=this.top+F,L=J8(Q.align,L,this.right-V);else{let P=this.columnSizes.reduce((I,D)=>Math.max(I,D.height),0);z=F+J8(Q.align,this.top,this.bottom-P-Q.labels.padding-this._computeTitleHeight())}let T=J8(M,L,L+V);B.textAlign=U.textAlign(eJ(M)),B.textBaseline="middle",B.strokeStyle=G.color,B.fillStyle=G.color,B.font=J.string,K4(B,G.text,T,z,J)}_computeTitleHeight(){let Q=this.options.title,G=p5(Q.font),J=X8(Q.padding);return Q.display?G.lineHeight+J.height:0}_getLegendItemAt(Q,G){let J,Y,U;if(Z6(Q,this.left,this.right)&&Z6(G,this.top,this.bottom)){U=this.legendHitBoxes;for(J=0;J<U.length;++J)if(Y=U[J],Z6(Q,Y.left,Y.left+Y.width)&&Z6(G,Y.top,Y.top+Y.height))return this.legendItems[J]}return null}handleEvent(Q){let G=this.options;if(!$j(Q.type,G))return;let J=this._getLegendItemAt(Q.x,Q.y);if(Q.type==="mousemove"||Q.type==="mouseout"){let Y=this._hoveredItem,U=iO(Y,J);if(Y&&!U)W5(G.onLeave,[Q,Y,this],this);if(this._hoveredItem=J,J&&!U)W5(G.onHover,[Q,J,this],this)}else if(J)W5(G.onClick,[Q,J,this],this)}}function aO(Q,G,J,Y,U){let B=tO(Y,Q,G,J),M=eO(U,Y,G.lineHeight);return{itemWidth:B,itemHeight:M}}function tO(Q,G,J,Y){let U=Q.text;if(U&&typeof U!=="string")U=U.reduce((B,M)=>B.length>M.length?B:M);return G+J.size/2+Y.measureText(U).width}function eO(Q,G,J){let Y=Q;if(typeof G.text!=="string")Y=NV(G,J);return Y}function NV(Q,G){let J=Q.text?Q.text.length:0;return G*J}function $j(Q,G){if((Q==="mousemove"||Q==="mouseout")&&(G.onHover||G.onLeave))return!0;if(G.onClick&&(Q==="click"||Q==="mouseup"))return!0;return!1}var _$={id:"legend",_element:DK,start(Q,G,J){let Y=Q.legend=new DK({ctx:Q.ctx,options:J,chart:Q});E1.configure(Q,Y,J),E1.addBox(Q,Y)},stop(Q){E1.removeBox(Q,Q.legend),delete Q.legend},beforeUpdate(Q,G,J){let Y=Q.legend;E1.configure(Q,Y,J),Y.options=J},afterUpdate(Q){let G=Q.legend;G.buildLabels(),G.adjustHitBoxes()},afterEvent(Q,G){if(!G.replay)Q.legend.handleEvent(G.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1000,onClick(Q,G,J){let Y=G.datasetIndex,U=J.chart;if(U.isDatasetVisible(Y))U.hide(Y),G.hidden=!0;else U.show(Y),G.hidden=!1},onHover:null,onLeave:null,labels:{color:(Q)=>Q.chart.options.color,boxWidth:40,padding:10,generateLabels(Q){let G=Q.data.datasets,{labels:{usePointStyle:J,pointStyle:Y,textAlign:U,color:B,useBorderRadius:M,borderRadius:H}}=Q.legend.options;return Q._getSortedDatasetMetas().map((F)=>{let z=F.controller.getStyle(J?0:void 0),L=X8(z.borderWidth);return{text:G[F.index].label,fillStyle:z.backgroundColor,fontColor:B,hidden:!F.visible,lineCap:z.borderCapStyle,lineDash:z.borderDash,lineDashOffset:z.borderDashOffset,lineJoin:z.borderJoinStyle,lineWidth:(L.width+L.height)/4,strokeStyle:z.borderColor,pointStyle:Y||z.pointStyle,rotation:z.rotation,textAlign:U||z.textAlign,borderRadius:M&&(H||z.borderRadius),datasetIndex:F.index}},this)}},title:{color:(Q)=>Q.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:(Q)=>!Q.startsWith("on"),labels:{_scriptable:(Q)=>!["generateLabels","filter","sort"].includes(Q)}}};class uK extends J6{constructor(Q){super();this.chart=Q.chart,this.options=Q.options,this.ctx=Q.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(Q,G){let J=this.options;if(this.left=0,this.top=0,!J.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=Q,this.height=this.bottom=G;let Y=V5(J.text)?J.text.length:1;this._padding=X8(J.padding);let U=Y*p5(J.font).lineHeight+this._padding.height;if(this.isHorizontal())this.height=U;else this.width=U}isHorizontal(){let Q=this.options.position;return Q==="top"||Q==="bottom"}_drawArgs(Q){let{top:G,left:J,bottom:Y,right:U,options:B}=this,M=B.align,H=0,F,z,L;if(this.isHorizontal())z=J8(M,J,U),L=G+Q,F=U-J;else{if(B.position==="left")z=J+Q,L=J8(M,Y,G),H=b5*-0.5;else z=U-Q,L=J8(M,G,Y),H=b5*0.5;F=Y-G}return{titleX:z,titleY:L,maxWidth:F,rotation:H}}draw(){let Q=this.ctx,G=this.options;if(!G.display)return;let J=p5(G.font),U=J.lineHeight/2+this._padding.top,{titleX:B,titleY:M,maxWidth:H,rotation:F}=this._drawArgs(U);K4(Q,G.text,0,0,J,{color:G.color,maxWidth:H,rotation:F,textAlign:eJ(G.align),textBaseline:"middle",translation:[B,M]})}}function Zj(Q,G){let J=new uK({ctx:Q.ctx,options:G,chart:Q});E1.configure(Q,J,G),E1.addBox(Q,J),Q.titleBlock=J}var T$={id:"title",_element:uK,start(Q,G,J){Zj(Q,J)},stop(Q){let G=Q.titleBlock;E1.removeBox(Q,G),delete Q.titleBlock},beforeUpdate(Q,G,J){let Y=Q.titleBlock;E1.configure(Q,Y,J),Y.options=J},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2000},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};var aQ={average(Q){if(!Q.length)return!1;let G,J,Y=new Set,U=0,B=0;for(G=0,J=Q.length;G<J;++G){let H=Q[G].element;if(H&&H.hasValue()){let F=H.tooltipPosition();Y.add(F.x),U+=F.y,++B}}if(B===0||Y.size===0)return!1;return{x:[...Y].reduce((H,F)=>H+F)/Y.size,y:U/B}},nearest(Q,G){if(!Q.length)return!1;let{x:J,y:Y}=G,U=Number.POSITIVE_INFINITY,B,M,H;for(B=0,M=Q.length;B<M;++B){let F=Q[B].element;if(F&&F.hasValue()){let z=F.getCenterPoint(),L=nJ(G,z);if(L<U)U=L,H=F}}if(H){let F=H.tooltipPosition();J=F.x,Y=F.y}return{x:J,y:Y}}};function L$(Q,G){if(G)if(V5(G))Array.prototype.push.apply(Q,G);else Q.push(G);return Q}function G6(Q){if((typeof Q==="string"||Q instanceof String)&&Q.indexOf(`
256
256
  `)>-1)return Q.split(`
257
- `);return Q}function QD(Q,J){let{element:q,datasetIndex:Y,index:U}=J,K=Q.getDatasetMeta(Y).controller,{label:H,value:M}=K.getLabelAndValue(U);return{chart:Q,label:H,parsed:K.getParsed(U),raw:Q.data.datasets[Y].data[U],formattedValue:M,dataset:K.getDataset(),dataIndex:U,datasetIndex:Y,element:q}}function jT(Q,J){let q=Q.chart.ctx,{body:Y,footer:U,title:K}=Q,{boxWidth:H,boxHeight:M}=J,F=p1(J.bodyFont),R=p1(J.titleFont),T=p1(J.footerFont),z=K.length,L=U.length,P=Y.length,I=X5(J.padding),A=I.height,C=0,g=Y.reduce((a,s)=>a+s.before.length+s.lines.length+s.after.length,0);if(g+=Q.beforeBody.length+Q.afterBody.length,z)A+=z*R.lineHeight+(z-1)*J.titleSpacing+J.titleMarginBottom;if(g){let a=J.displayColors?Math.max(M,F.lineHeight):F.lineHeight;A+=P*a+(g-P)*F.lineHeight+(g-1)*J.bodySpacing}if(L)A+=J.footerMarginTop+L*T.lineHeight+(L-1)*J.footerSpacing;let m=0,o=function(a){C=Math.max(C,q.measureText(a).width+m)};return q.save(),q.font=R.string,X1(Q.title,o),q.font=F.string,X1(Q.beforeBody.concat(Q.afterBody),o),m=J.displayColors?H+2+J.boxPadding:0,X1(Y,(a)=>{X1(a.before,o),X1(a.lines,o),X1(a.after,o)}),m=0,q.font=T.string,X1(Q.footer,o),q.restore(),C+=I.width,{width:C,height:A}}function GD(Q,J){let{y:q,height:Y}=J;if(q<Y/2)return"top";else if(q>Q.height-Y/2)return"bottom";return"center"}function JD(Q,J,q,Y){let{x:U,width:K}=Y,H=q.caretSize+q.caretPadding;if(Q==="left"&&U+K+H>J.width)return!0;if(Q==="right"&&U-K-H<0)return!0}function qD(Q,J,q,Y){let{x:U,width:K}=q,{width:H,chartArea:{left:M,right:F}}=Q,R="center";if(Y==="center")R=U<=(M+F)/2?"left":"right";else if(U<=K/2)R="left";else if(U>=H-K/2)R="right";if(JD(R,Q,J,q))R="center";return R}function AT(Q,J,q){let Y=q.yAlign||J.yAlign||GD(Q,q);return{xAlign:q.xAlign||J.xAlign||qD(Q,J,q,Y),yAlign:Y}}function XD(Q,J){let{x:q,width:Y}=Q;if(J==="right")q-=Y;else if(J==="center")q-=Y/2;return q}function YD(Q,J,q){let{y:Y,height:U}=Q;if(J==="top")Y+=q;else if(J==="bottom")Y-=U+q;else Y-=U/2;return Y}function ST(Q,J,q,Y){let{caretSize:U,caretPadding:K,cornerRadius:H}=Q,{xAlign:M,yAlign:F}=q,R=U+K,{topLeft:T,topRight:z,bottomLeft:L,bottomRight:P}=K2(H),I=XD(J,M),A=YD(J,F,R);if(F==="center"){if(M==="left")I+=R;else if(M==="right")I-=R}else if(M==="left")I-=Math.max(T,L)+U;else if(M==="right")I+=Math.max(z,P)+U;return{x:y5(I,0,Y.width-J.width),y:y5(A,0,Y.height-J.height)}}function Kq(Q,J,q){let Y=X5(q.padding);return J==="center"?Q.x+Q.width/2:J==="right"?Q.x+Q.width-Y.right:Q.x+Y.left}function vT(Q){return T8([],J6(Q))}function UD(Q,J,q){return Q6(Q,{tooltip:J,tooltipItems:q,type:"tooltip"})}function kT(Q,J){let q=J&&J.dataset&&J.dataset.tooltip&&J.dataset.tooltip.callbacks;return q?Q.override(q):Q}var Hz={beforeTitle:R8,title(Q){if(Q.length>0){let J=Q[0],q=J.chart.data.labels,Y=q?q.length:0;if(this&&this.options&&this.options.mode==="dataset")return J.dataset.label||"";else if(J.label)return J.label;else if(Y>0&&J.dataIndex<Y)return q[J.dataIndex]}return""},afterTitle:R8,beforeBody:R8,beforeLabel:R8,label(Q){if(this&&this.options&&this.options.mode==="dataset")return Q.label+": "+Q.formattedValue||Q.formattedValue;let J=Q.dataset.label||"";if(J)J+=": ";let q=Q.formattedValue;if(!t0(q))J+=q;return J},labelColor(Q){let q=Q.chart.getDatasetMeta(Q.datasetIndex).controller.getStyle(Q.dataIndex);return{borderColor:q.borderColor,backgroundColor:q.backgroundColor,borderWidth:q.borderWidth,borderDash:q.borderDash,borderDashOffset:q.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(Q){let q=Q.chart.getDatasetMeta(Q.datasetIndex).controller.getStyle(Q.dataIndex);return{pointStyle:q.pointStyle,rotation:q.rotation}},afterLabel:R8,afterBody:R8,beforeFooter:R8,footer:R8,afterFooter:R8};function h5(Q,J,q,Y){let U=Q[J].call(q,Y);if(typeof U>"u")return Hz[J].call(q,Y);return U}class SN extends q6{static positioners=iZ;constructor(Q){super();this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=Q.chart,this.options=Q.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(Q){this.options=Q,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let Q=this._cachedAnimations;if(Q)return Q;let J=this.chart,q=this.options.setContext(this.getContext()),Y=q.enabled&&J.options.animation&&q.animations,U=new bN(this.chart,Y);if(Y._cacheable)this._cachedAnimations=Object.freeze(U);return U}getContext(){return this.$context||(this.$context=UD(this.chart.getContext(),this,this._tooltipItems))}getTitle(Q,J){let{callbacks:q}=J,Y=h5(q,"beforeTitle",this,Q),U=h5(q,"title",this,Q),K=h5(q,"afterTitle",this,Q),H=[];return H=T8(H,J6(Y)),H=T8(H,J6(U)),H=T8(H,J6(K)),H}getBeforeBody(Q,J){return vT(h5(J.callbacks,"beforeBody",this,Q))}getBody(Q,J){let{callbacks:q}=J,Y=[];return X1(Q,(U)=>{let K={before:[],lines:[],after:[]},H=kT(q,U);T8(K.before,J6(h5(H,"beforeLabel",this,U))),T8(K.lines,h5(H,"label",this,U)),T8(K.after,J6(h5(H,"afterLabel",this,U))),Y.push(K)}),Y}getAfterBody(Q,J){return vT(h5(J.callbacks,"afterBody",this,Q))}getFooter(Q,J){let{callbacks:q}=J,Y=h5(q,"beforeFooter",this,Q),U=h5(q,"footer",this,Q),K=h5(q,"afterFooter",this,Q),H=[];return H=T8(H,J6(Y)),H=T8(H,J6(U)),H=T8(H,J6(K)),H}_createItems(Q){let J=this._active,q=this.chart.data,Y=[],U=[],K=[],H=[],M,F;for(M=0,F=J.length;M<F;++M)H.push(QD(this.chart,J[M]));if(Q.filter)H=H.filter((R,T,z)=>Q.filter(R,T,z,q));if(Q.itemSort)H=H.sort((R,T)=>Q.itemSort(R,T,q));return X1(H,(R)=>{let T=kT(Q.callbacks,R);Y.push(h5(T,"labelColor",this,R)),U.push(h5(T,"labelPointStyle",this,R)),K.push(h5(T,"labelTextColor",this,R))}),this.labelColors=Y,this.labelPointStyles=U,this.labelTextColors=K,this.dataPoints=H,H}update(Q,J){let q=this.options.setContext(this.getContext()),Y=this._active,U,K=[];if(!Y.length){if(this.opacity!==0)U={opacity:0}}else{let H=iZ[q.position].call(this,Y,this._eventPosition);K=this._createItems(q),this.title=this.getTitle(K,q),this.beforeBody=this.getBeforeBody(K,q),this.body=this.getBody(K,q),this.afterBody=this.getAfterBody(K,q),this.footer=this.getFooter(K,q);let M=this._size=jT(this,q),F=Object.assign({},H,M),R=AT(this.chart,q,F),T=ST(q,F,R,this.chart);this.xAlign=R.xAlign,this.yAlign=R.yAlign,U={opacity:1,x:T.x,y:T.y,width:M.width,height:M.height,caretX:H.x,caretY:H.y}}if(this._tooltipItems=K,this.$context=void 0,U)this._resolveAnimations().update(this,U);if(Q&&q.external)q.external.call(this,{chart:this.chart,tooltip:this,replay:J})}drawCaret(Q,J,q,Y){let U=this.getCaretPosition(Q,q,Y);J.lineTo(U.x1,U.y1),J.lineTo(U.x2,U.y2),J.lineTo(U.x3,U.y3)}getCaretPosition(Q,J,q){let{xAlign:Y,yAlign:U}=this,{caretSize:K,cornerRadius:H}=q,{topLeft:M,topRight:F,bottomLeft:R,bottomRight:T}=K2(H),{x:z,y:L}=Q,{width:P,height:I}=J,A,C,g,m,o,a;if(U==="center"){if(o=L+I/2,Y==="left")A=z,C=A-K,m=o+K,a=o-K;else A=z+P,C=A+K,m=o-K,a=o+K;g=A}else{if(Y==="left")C=z+Math.max(M,R)+K;else if(Y==="right")C=z+P-Math.max(F,T)-K;else C=this.caretX;if(U==="top")m=L,o=m-K,A=C-K,g=C+K;else m=L+I,o=m+K,A=C+K,g=C-K;a=m}return{x1:A,x2:C,x3:g,y1:m,y2:o,y3:a}}drawTitle(Q,J,q){let Y=this.title,U=Y.length,K,H,M;if(U){let F=W$(q.rtl,this.x,this.width);Q.x=Kq(this,q.titleAlign,q),J.textAlign=F.textAlign(q.titleAlign),J.textBaseline="middle",K=p1(q.titleFont),H=q.titleSpacing,J.fillStyle=q.titleColor,J.font=K.string;for(M=0;M<U;++M)if(J.fillText(Y[M],F.x(Q.x),Q.y+K.lineHeight/2),Q.y+=K.lineHeight+H,M+1===U)Q.y+=q.titleMarginBottom-H}}_drawColorBox(Q,J,q,Y,U){let K=this.labelColors[q],H=this.labelPointStyles[q],{boxHeight:M,boxWidth:F}=U,R=p1(U.bodyFont),T=Kq(this,"left",U),z=Y.x(T),L=M<R.lineHeight?(R.lineHeight-M)/2:0,P=J.y+L;if(U.usePointStyle){let I={radius:Math.min(F,M)/2,pointStyle:H.pointStyle,rotation:H.rotation,borderWidth:1},A=Y.leftForLtr(z,F)+F/2,C=P+M/2;Q.strokeStyle=U.multiKeyBackground,Q.fillStyle=U.multiKeyBackground,Qq(Q,I,A,C),Q.strokeStyle=K.borderColor,Q.fillStyle=K.backgroundColor,Qq(Q,I,A,C)}else{Q.lineWidth=n0(K.borderWidth)?Math.max(...Object.values(K.borderWidth)):K.borderWidth||1,Q.strokeStyle=K.borderColor,Q.setLineDash(K.borderDash||[]),Q.lineDashOffset=K.borderDashOffset||0;let I=Y.leftForLtr(z,F),A=Y.leftForLtr(Y.xPlus(z,1),F-2),C=K2(K.borderRadius);if(Object.values(C).some((g)=>g!==0))Q.beginPath(),Q.fillStyle=U.multiKeyBackground,d9(Q,{x:I,y:P,w:F,h:M,radius:C}),Q.fill(),Q.stroke(),Q.fillStyle=K.backgroundColor,Q.beginPath(),d9(Q,{x:A,y:P+1,w:F-2,h:M-2,radius:C}),Q.fill();else Q.fillStyle=U.multiKeyBackground,Q.fillRect(I,P,F,M),Q.strokeRect(I,P,F,M),Q.fillStyle=K.backgroundColor,Q.fillRect(A,P+1,F-2,M-2)}Q.fillStyle=this.labelTextColors[q]}drawBody(Q,J,q){let{body:Y}=this,{bodySpacing:U,bodyAlign:K,displayColors:H,boxHeight:M,boxWidth:F,boxPadding:R}=q,T=p1(q.bodyFont),z=T.lineHeight,L=0,P=W$(q.rtl,this.x,this.width),I=function(p){J.fillText(p,P.x(Q.x+L),Q.y+z/2),Q.y+=z+U},A=P.textAlign(K),C,g,m,o,a,s,Q0;J.textAlign=K,J.textBaseline="middle",J.font=T.string,Q.x=Kq(this,A,q),J.fillStyle=q.bodyColor,X1(this.beforeBody,I),L=H&&A!=="right"?K==="center"?F/2+R:F+2+R:0;for(o=0,s=Y.length;o<s;++o){if(C=Y[o],g=this.labelTextColors[o],J.fillStyle=g,X1(C.before,I),m=C.lines,H&&m.length)this._drawColorBox(J,Q,o,P,q),z=Math.max(T.lineHeight,M);for(a=0,Q0=m.length;a<Q0;++a)I(m[a]),z=T.lineHeight;X1(C.after,I)}L=0,z=T.lineHeight,X1(this.afterBody,I),Q.y-=U}drawFooter(Q,J,q){let Y=this.footer,U=Y.length,K,H;if(U){let M=W$(q.rtl,this.x,this.width);Q.x=Kq(this,q.footerAlign,q),Q.y+=q.footerMarginTop,J.textAlign=M.textAlign(q.footerAlign),J.textBaseline="middle",K=p1(q.footerFont),J.fillStyle=q.footerColor,J.font=K.string;for(H=0;H<U;++H)J.fillText(Y[H],M.x(Q.x),Q.y+K.lineHeight/2),Q.y+=K.lineHeight+q.footerSpacing}}drawBackground(Q,J,q,Y){let{xAlign:U,yAlign:K}=this,{x:H,y:M}=Q,{width:F,height:R}=q,{topLeft:T,topRight:z,bottomLeft:L,bottomRight:P}=K2(Y.cornerRadius);if(J.fillStyle=Y.backgroundColor,J.strokeStyle=Y.borderColor,J.lineWidth=Y.borderWidth,J.beginPath(),J.moveTo(H+T,M),K==="top")this.drawCaret(Q,J,q,Y);if(J.lineTo(H+F-z,M),J.quadraticCurveTo(H+F,M,H+F,M+z),K==="center"&&U==="right")this.drawCaret(Q,J,q,Y);if(J.lineTo(H+F,M+R-P),J.quadraticCurveTo(H+F,M+R,H+F-P,M+R),K==="bottom")this.drawCaret(Q,J,q,Y);if(J.lineTo(H+L,M+R),J.quadraticCurveTo(H,M+R,H,M+R-L),K==="center"&&U==="left")this.drawCaret(Q,J,q,Y);if(J.lineTo(H,M+T),J.quadraticCurveTo(H,M,H+T,M),J.closePath(),J.fill(),Y.borderWidth>0)J.stroke()}_updateAnimationTarget(Q){let J=this.chart,q=this.$animations,Y=q&&q.x,U=q&&q.y;if(Y||U){let K=iZ[Q.position].call(this,this._active,this._eventPosition);if(!K)return;let H=this._size=jT(this,Q),M=Object.assign({},K,this._size),F=AT(J,Q,M),R=ST(Q,M,F,J);if(Y._to!==R.x||U._to!==R.y)this.xAlign=F.xAlign,this.yAlign=F.yAlign,this.width=H.width,this.height=H.height,this.caretX=K.x,this.caretY=K.y,this._resolveAnimations().update(this,R)}}_willRender(){return!!this.opacity}draw(Q){let J=this.options.setContext(this.getContext()),q=this.opacity;if(!q)return;this._updateAnimationTarget(J);let Y={width:this.width,height:this.height},U={x:this.x,y:this.y};q=Math.abs(q)<0.001?0:q;let K=X5(J.padding),H=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;if(J.enabled&&H)Q.save(),Q.globalAlpha=q,this.drawBackground(U,Q,Y,J),KN(Q,J.textDirection),U.y+=K.top,this.drawTitle(U,Q,J),this.drawBody(U,Q,J),this.drawFooter(U,Q,J),BN(Q,J.textDirection),Q.restore()}getActiveElements(){return this._active||[]}setActiveElements(Q,J){let q=this._active,Y=Q.map(({datasetIndex:H,index:M})=>{let F=this.chart.getDatasetMeta(H);if(!F)throw Error("Cannot find a dataset at index "+H);return{datasetIndex:H,element:F.data[M],index:M}}),U=!xZ(q,Y),K=this._positionChanged(Y,J);if(U||K)this._active=Y,this._eventPosition=J,this._ignoreReplayEvents=!0,this.update(!0)}handleEvent(Q,J,q=!0){if(J&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let Y=this.options,U=this._active||[],K=this._getActiveElements(Q,U,J,q),H=this._positionChanged(K,Q),M=J||!xZ(K,U)||H;if(M){if(this._active=K,Y.enabled||Y.external)this._eventPosition={x:Q.x,y:Q.y},this.update(!0,J)}return M}_getActiveElements(Q,J,q,Y){let U=this.options;if(Q.type==="mouseout")return[];if(!Y)return J.filter((H)=>this.chart.data.datasets[H.datasetIndex]&&this.chart.getDatasetMeta(H.datasetIndex).controller.getParsed(H.index)!==void 0);let K=this.chart.getElementsAtEventForMode(Q,U.mode,U,q);if(U.reverse)K.reverse();return K}_positionChanged(Q,J){let{caretX:q,caretY:Y,options:U}=this,K=iZ[U.position].call(this,Q,J);return K!==!1&&(q!==K.x||Y!==K.y)}}var V8={id:"tooltip",_element:SN,positioners:iZ,afterInit(Q,J,q){if(q)Q.tooltip=new SN({chart:Q,options:q})},beforeUpdate(Q,J,q){if(Q.tooltip)Q.tooltip.initialize(q)},reset(Q,J,q){if(Q.tooltip)Q.tooltip.initialize(q)},afterDraw(Q){let J=Q.tooltip;if(J&&J._willRender()){let q={tooltip:J};if(Q.notifyPlugins("beforeTooltipDraw",{...q,cancelable:!0})===!1)return;J.draw(Q.ctx),Q.notifyPlugins("afterTooltipDraw",q)}},afterEvent(Q,J){if(Q.tooltip){let q=J.replay;if(Q.tooltip.handleEvent(J.event,q,J.inChartArea))J.changed=!0}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(Q,J)=>J.bodyFont.size,boxWidth:(Q,J)=>J.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Hz},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:(Q)=>Q!=="filter"&&Q!=="itemSort"&&Q!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};var ND=(Q,J,q,Y)=>{if(typeof J==="string")q=Q.push(J)-1,Y.unshift({index:q,label:J});else if(isNaN(J))q=null;return q};function KD(Q,J,q,Y){let U=Q.indexOf(J);if(U===-1)return ND(Q,J,q,Y);let K=Q.lastIndexOf(J);return U!==K?q:U}var BD=(Q,J)=>Q===null?null:y5(Math.round(Q),0,J);function bT(Q){let J=this.getLabels();if(Q>=0&&Q<J.length)return J[Q];return Q}class h4 extends T${static id="category";static defaults={ticks:{callback:bT}};constructor(Q){super(Q);this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(Q){let J=this._addedLabels;if(J.length){let q=this.getLabels();for(let{index:Y,label:U}of J)if(q[Y]===U)q.splice(Y,1);this._addedLabels=[]}super.init(Q)}parse(Q,J){if(t0(Q))return null;let q=this.getLabels();return J=isFinite(J)&&q[J]===Q?J:KD(q,Q,h0(J,Q),this._addedLabels),BD(J,q.length-1)}determineDataLimits(){let{minDefined:Q,maxDefined:J}=this.getUserBounds(),{min:q,max:Y}=this.getMinMax(!0);if(this.options.bounds==="ticks"){if(!Q)q=0;if(!J)Y=this.getLabels().length-1}this.min=q,this.max=Y}buildTicks(){let Q=this.min,J=this.max,q=this.options.offset,Y=[],U=this.getLabels();U=Q===0&&J===U.length-1?U:U.slice(Q,J+1),this._valueRange=Math.max(U.length-(q?0:1),1),this._startValue=this.min-(q?0.5:0);for(let K=Q;K<=J;K++)Y.push({value:K});return Y}getLabelForValue(Q){return bT.call(this,Q)}configure(){if(super.configure(),!this.isHorizontal())this._reversePixels=!this._reversePixels}getPixelForValue(Q){if(typeof Q!=="number")Q=this.parse(Q);return Q===null?NaN:this.getPixelForDecimal((Q-this._startValue)/this._valueRange)}getPixelForTick(Q){let J=this.ticks;if(Q<0||Q>J.length-1)return null;return this.getPixelForValue(J[Q].value)}getValueForPixel(Q){return Math.round(this._startValue+this.getDecimalForPixel(Q)*this._valueRange)}getBasePixel(){return this.bottom}}function HD(Q,J){let q=[],Y=0.00000000000001,{bounds:U,step:K,min:H,max:M,precision:F,count:R,maxTicks:T,maxDigits:z,includeBounds:L}=Q,P=K||1,I=T-1,{min:A,max:C}=J,g=!t0(H),m=!t0(M),o=!t0(R),a=(C-A)/(z+1),s=lU((C-A)/I/P)*P,Q0,p,i,Y0;if(s<0.00000000000001&&!g&&!m)return[{value:A},{value:C}];if(Y0=Math.ceil(C/s)-Math.floor(A/s),Y0>I)s=lU(Y0*s/I/P)*P;if(!t0(F))Q0=Math.pow(10,F),s=Math.ceil(s*Q0)/Q0;if(U==="ticks")p=Math.floor(A/s)*s,i=Math.ceil(C/s)*s;else p=A,i=C;if(g&&m&&K&&_R((M-H)/K,s/1000))Y0=Math.round(Math.min((M-H)/s,T)),s=(M-H)/Y0,p=H,i=M;else if(o)p=g?H:p,i=m?M:i,Y0=R-1,s=(i-p)/Y0;else if(Y0=(i-p)/s,u9(Y0,Math.round(Y0),s/1000))Y0=Math.round(Y0);else Y0=Math.ceil(Y0);let d=Math.max(sU(s),sU(p));Q0=Math.pow(10,t0(F)?d:F),p=Math.round(p*Q0)/Q0,i=Math.round(i*Q0)/Q0;let N0=0;if(g){if(L&&p!==H){if(q.push({value:H}),p<H)N0++;if(u9(Math.round((p+N0*s)*Q0)/Q0,H,fT(H,a,Q)))N0++}else if(p<H)N0++}for(;N0<Y0;++N0){let w0=Math.round((p+N0*s)*Q0)/Q0;if(m&&w0>M)break;q.push({value:w0})}if(m&&L&&i!==M)if(q.length&&u9(q[q.length-1].value,M,fT(M,a,Q)))q[q.length-1].value=M;else q.push({value:M});else if(!m||i===M)q.push({value:i});return q}function fT(Q,J,{horizontal:q,minRotation:Y}){let U=$6(Y),K=(q?Math.sin(U):Math.cos(U))||0.001,H=0.75*J*(""+Q).length;return Math.min(J/K,H)}class eZ extends T${constructor(Q){super(Q);this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(Q,J){if(t0(Q))return null;if((typeof Q==="number"||Q instanceof Number)&&!isFinite(+Q))return null;return+Q}handleTickRangeOptions(){let{beginAtZero:Q}=this.options,{minDefined:J,maxDefined:q}=this.getUserBounds(),{min:Y,max:U}=this,K=(M)=>Y=J?Y:M,H=(M)=>U=q?U:M;if(Q){let M=y4(Y),F=y4(U);if(M<0&&F<0)H(0);else if(M>0&&F>0)K(0)}if(Y===U){let M=U===0?1:Math.abs(U*0.05);if(H(U+M),!Q)K(Y-M)}this.min=Y,this.max=U}getTickLimit(){let Q=this.options.ticks,{maxTicksLimit:J,stepSize:q}=Q,Y;if(q){if(Y=Math.ceil(this.max/q)-Math.floor(this.min/q)+1,Y>1000)console.warn(`scales.${this.id}.ticks.stepSize: ${q} would result generating up to ${Y} ticks. Limiting to 1000.`),Y=1000}else Y=this.computeTickLimit(),J=J||11;if(J)Y=Math.min(J,Y);return Y}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let Q=this.options,J=Q.ticks,q=this.getTickLimit();q=Math.max(2,q);let Y={maxTicks:q,bounds:Q.bounds,min:Q.min,max:Q.max,precision:J.precision,step:J.stepSize,count:J.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:J.minRotation||0,includeBounds:J.includeBounds!==!1},U=this._range||this,K=HD(Y,U);if(Q.bounds==="ticks")rU(K,this,"value");if(Q.reverse)K.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return K}configure(){let Q=this.ticks,J=this.min,q=this.max;if(super.configure(),this.options.offset&&Q.length){let Y=(q-J)/Math.max(Q.length-1,1)/2;J-=Y,q+=Y}this._startValue=J,this._endValue=q,this._valueRange=q-J}getLabelForValue(Q){return $q(Q,this.chart.options.locale,this.options.ticks.format)}}class x4 extends eZ{static id="linear";static defaults={ticks:{callback:uZ.formatters.numeric}};determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!0);this.min=O1(Q)?Q:0,this.max=O1(J)?J:1,this.handleTickRangeOptions()}computeTickLimit(){let Q=this.isHorizontal(),J=Q?this.width:this.height,q=$6(this.options.ticks.minRotation),Y=(Q?Math.sin(q):Math.cos(q))||0.001,U=this._resolveTickFontOptions(0);return Math.ceil(J/Math.min(40,U.lineHeight/Y))}getPixelForValue(Q){return Q===null?NaN:this.getPixelForDecimal((Q-this._startValue)/this._valueRange)}getValueForPixel(Q){return this._startValue+this.getDecimalForPixel(Q)*this._valueRange}}var $Q=(Q)=>Math.floor(e8(Q)),R$=(Q,J)=>Math.pow(10,$Q(Q)+J);function yT(Q){return Q/Math.pow(10,$Q(Q))===1}function gT(Q,J,q){let Y=Math.pow(10,q),U=Math.floor(Q/Y);return Math.ceil(J/Y)-U}function MD(Q,J){let q=J-Q,Y=$Q(q);while(gT(Q,J,Y)>10)Y++;while(gT(Q,J,Y)<10)Y--;return Math.min(Y,$Q(Q))}function FD(Q,{min:J,max:q}){J=g5(Q.min,J);let Y=[],U=$Q(J),K=MD(J,q),H=K<0?Math.pow(10,Math.abs(K)):1,M=Math.pow(10,K),F=U>K?Math.pow(10,U):0,R=Math.round((J-F)*H)/H,T=Math.floor((J-F)/M/10)*M*10,z=Math.floor((R-T)/Math.pow(10,K)),L=g5(Q.min,Math.round((F+T+z*Math.pow(10,K))*H)/H);while(L<q){if(Y.push({value:L,major:yT(L),significand:z}),z>=10)z=z<15?15:20;else z++;if(z>=20)K++,z=2,H=K>=0?1:H;L=Math.round((F+T+z*Math.pow(10,K))*H)/H}let P=g5(Q.max,L);return Y.push({value:P,major:yT(P),significand:z}),Y}class WD extends T${static id="logarithmic";static defaults={ticks:{callback:uZ.formatters.logarithmic,major:{enabled:!0}}};constructor(Q){super(Q);this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(Q,J){let q=eZ.prototype.parse.apply(this,[Q,J]);if(q===0){this._zero=!0;return}return O1(q)&&q>0?q:null}determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!0);if(this.min=O1(Q)?Math.max(0,Q):null,this.max=O1(J)?Math.max(0,J):null,this.options.beginAtZero)this._zero=!0;if(this._zero&&this.min!==this._suggestedMin&&!O1(this._userMin))this.min=Q===R$(this.min,0)?R$(this.min,-1):R$(this.min,0);this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:Q,maxDefined:J}=this.getUserBounds(),q=this.min,Y=this.max,U=(H)=>q=Q?q:H,K=(H)=>Y=J?Y:H;if(q===Y)if(q<=0)U(1),K(10);else U(R$(q,-1)),K(R$(Y,1));if(q<=0)U(R$(Y,-1));if(Y<=0)K(R$(q,1));this.min=q,this.max=Y}buildTicks(){let Q=this.options,J={min:this._userMin,max:this._userMax},q=FD(J,this);if(Q.bounds==="ticks")rU(q,this,"value");if(Q.reverse)q.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return q}getLabelForValue(Q){return Q===void 0?"0":$q(Q,this.chart.options.locale,this.options.ticks.format)}configure(){let Q=this.min;super.configure(),this._startValue=e8(Q),this._valueRange=e8(this.max)-e8(Q)}getPixelForValue(Q){if(Q===void 0||Q===0)Q=this.min;if(Q===null||isNaN(Q))return NaN;return this.getPixelForDecimal(Q===this.min?0:(e8(Q)-this._startValue)/this._valueRange)}getValueForPixel(Q){let J=this.getDecimalForPixel(Q);return Math.pow(10,this._startValue+J*this._valueRange)}}function vN(Q){let J=Q.ticks;if(J.display&&Q.display){let q=X5(J.backdropPadding);return h0(J.font&&J.font.size,D1.font.size)+q.height}return 0}function wD(Q,J,q){return q=z1(q)?q:[q],{w:kR(Q,J.string,q),h:q.length*J.lineHeight}}function hT(Q,J,q,Y,U){if(Q===Y||Q===U)return{start:J-q/2,end:J+q/2};else if(Q<Y||Q>U)return{start:J-q,end:J};return{start:J,end:J+q}}function RD(Q){let J={l:Q.left+Q._padding.left,r:Q.right-Q._padding.right,t:Q.top+Q._padding.top,b:Q.bottom-Q._padding.bottom},q=Object.assign({},J),Y=[],U=[],K=Q._pointLabels.length,H=Q.options.pointLabels,M=H.centerPointLabels?b1/K:0;for(let F=0;F<K;F++){let R=H.setContext(Q.getPointLabelContext(F));U[F]=R.padding;let T=Q.getPointPosition(F,Q.drawingArea+U[F],M),z=p1(R.font),L=wD(Q.ctx,z,Q._pointLabels[F]);Y[F]=L;let P=k5(Q.getIndexAngle(F)+M),I=Math.round(iJ(P)),A=hT(I,T.x,L.w,0,180),C=hT(I,T.y,L.h,90,270);TD(q,J,P,A,C)}Q.setCenterPoint(J.l-q.l,q.r-J.r,J.t-q.t,q.b-J.b),Q._pointLabelItems=LD(Q,Y,U)}function TD(Q,J,q,Y,U){let K=Math.abs(Math.sin(q)),H=Math.abs(Math.cos(q)),M=0,F=0;if(Y.start<J.l)M=(J.l-Y.start)/K,Q.l=Math.min(Q.l,J.l-M);else if(Y.end>J.r)M=(Y.end-J.r)/K,Q.r=Math.max(Q.r,J.r+M);if(U.start<J.t)F=(J.t-U.start)/H,Q.t=Math.min(Q.t,J.t-F);else if(U.end>J.b)F=(U.end-J.b)/H,Q.b=Math.max(Q.b,J.b+F)}function zD(Q,J,q){let Y=Q.drawingArea,{extra:U,additionalAngle:K,padding:H,size:M}=q,F=Q.getPointPosition(J,Y+U+H,K),R=Math.round(iJ(k5(F.angle+b5))),T=PD(F.y,M.h,R),z=VD(R),L=ED(F.x,M.w,z);return{visible:!0,x:F.x,y:T,textAlign:z,left:L,top:T,right:L+M.w,bottom:T+M.h}}function _D(Q,J){if(!J)return!0;let{left:q,top:Y,right:U,bottom:K}=Q;return!(w8({x:q,y:Y},J)||w8({x:q,y:K},J)||w8({x:U,y:Y},J)||w8({x:U,y:K},J))}function LD(Q,J,q){let Y=[],U=Q._pointLabels.length,K=Q.options,{centerPointLabels:H,display:M}=K.pointLabels,F={extra:vN(K)/2,additionalAngle:H?b1/U:0},R;for(let T=0;T<U;T++){F.padding=q[T],F.size=J[T];let z=zD(Q,T,F);if(Y.push(z),M==="auto"){if(z.visible=_D(z,R),z.visible)R=z}}return Y}function VD(Q){if(Q===0||Q===180)return"center";else if(Q<180)return"left";return"right"}function ED(Q,J,q){if(q==="right")Q-=J;else if(q==="center")Q-=J/2;return Q}function PD(Q,J,q){if(q===90||q===270)Q-=J/2;else if(q>270||q<90)Q-=J;return Q}function CD(Q,J,q){let{left:Y,top:U,right:K,bottom:H}=q,{backdropColor:M}=J;if(!t0(M)){let F=K2(J.borderRadius),R=X5(J.backdropPadding);Q.fillStyle=M;let T=Y-R.left,z=U-R.top,L=K-Y+R.width,P=H-U+R.height;if(Object.values(F).some((I)=>I!==0))Q.beginPath(),d9(Q,{x:T,y:z,w:L,h:P,radius:F}),Q.fill();else Q.fillRect(T,z,L,P)}}function ID(Q,J){let{ctx:q,options:{pointLabels:Y}}=Q;for(let U=J-1;U>=0;U--){let K=Q._pointLabelItems[U];if(!K.visible)continue;let H=Y.setContext(Q.getPointLabelContext(U));CD(q,H,K);let M=p1(H.font),{x:F,y:R,textAlign:T}=K;N2(q,Q._pointLabels[U],F,R+M.lineHeight/2,M,{color:H.color,textAlign:T,textBaseline:"middle"})}}function Mz(Q,J,q,Y){let{ctx:U}=Q;if(q)U.arc(Q.xCenter,Q.yCenter,J,0,f5);else{let K=Q.getPointPosition(0,J);U.moveTo(K.x,K.y);for(let H=1;H<Y;H++)K=Q.getPointPosition(H,J),U.lineTo(K.x,K.y)}}function OD(Q,J,q,Y,U){let K=Q.ctx,H=J.circular,{color:M,lineWidth:F}=J;if(!H&&!Y||!M||!F||q<0)return;K.save(),K.strokeStyle=M,K.lineWidth=F,K.setLineDash(U.dash||[]),K.lineDashOffset=U.dashOffset,K.beginPath(),Mz(Q,q,H,Y),K.closePath(),K.stroke(),K.restore()}function DD(Q,J,q){return Q6(Q,{label:q,index:J,type:"pointLabel"})}class jD extends eZ{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:uZ.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(Q){return Q},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(Q){super(Q);this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let Q=this._padding=X5(vN(this.options)/2),J=this.width=this.maxWidth-Q.width,q=this.height=this.maxHeight-Q.height;this.xCenter=Math.floor(this.left+J/2+Q.left),this.yCenter=Math.floor(this.top+q/2+Q.top),this.drawingArea=Math.floor(Math.min(J,q)/2)}determineDataLimits(){let{min:Q,max:J}=this.getMinMax(!1);this.min=O1(Q)&&!isNaN(Q)?Q:0,this.max=O1(J)&&!isNaN(J)?J:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/vN(this.options))}generateTickLabels(Q){eZ.prototype.generateTickLabels.call(this,Q),this._pointLabels=this.getLabels().map((J,q)=>{let Y=W1(this.options.pointLabels.callback,[J,q],this);return Y||Y===0?Y:""}).filter((J,q)=>this.chart.getDataVisibility(q))}fit(){let Q=this.options;if(Q.display&&Q.pointLabels.display)RD(this);else this.setCenterPoint(0,0,0,0)}setCenterPoint(Q,J,q,Y){this.xCenter+=Math.floor((Q-J)/2),this.yCenter+=Math.floor((q-Y)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(Q,J,q,Y))}getIndexAngle(Q){let J=f5/(this._pointLabels.length||1),q=this.options.startAngle||0;return k5(Q*J+$6(q))}getDistanceFromCenterForValue(Q){if(t0(Q))return NaN;let J=this.drawingArea/(this.max-this.min);if(this.options.reverse)return(this.max-Q)*J;return(Q-this.min)*J}getValueForDistanceFromCenter(Q){if(t0(Q))return NaN;let J=Q/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-J:this.min+J}getPointLabelContext(Q){let J=this._pointLabels||[];if(Q>=0&&Q<J.length){let q=J[Q];return DD(this.getContext(),Q,q)}}getPointPosition(Q,J,q=0){let Y=this.getIndexAngle(Q)-b5+q;return{x:Math.cos(Y)*J+this.xCenter,y:Math.sin(Y)*J+this.yCenter,angle:Y}}getPointPositionForValue(Q,J){return this.getPointPosition(Q,this.getDistanceFromCenterForValue(J))}getBasePosition(Q){return this.getPointPositionForValue(Q||0,this.getBaseValue())}getPointLabelPosition(Q){let{left:J,top:q,right:Y,bottom:U}=this._pointLabelItems[Q];return{left:J,top:q,right:Y,bottom:U}}drawBackground(){let{backgroundColor:Q,grid:{circular:J}}=this.options;if(Q){let q=this.ctx;q.save(),q.beginPath(),Mz(this,this.getDistanceFromCenterForValue(this._endValue),J,this._pointLabels.length),q.closePath(),q.fillStyle=Q,q.fill(),q.restore()}}drawGrid(){let Q=this.ctx,J=this.options,{angleLines:q,grid:Y,border:U}=J,K=this._pointLabels.length,H,M,F;if(J.pointLabels.display)ID(this,K);if(Y.display)this.ticks.forEach((R,T)=>{if(T!==0||T===0&&this.min<0){M=this.getDistanceFromCenterForValue(R.value);let z=this.getContext(T),L=Y.setContext(z),P=U.setContext(z);OD(this,L,M,K,P)}});if(q.display){Q.save();for(H=K-1;H>=0;H--){let R=q.setContext(this.getPointLabelContext(H)),{color:T,lineWidth:z}=R;if(!z||!T)continue;Q.lineWidth=z,Q.strokeStyle=T,Q.setLineDash(R.borderDash),Q.lineDashOffset=R.borderDashOffset,M=this.getDistanceFromCenterForValue(J.reverse?this.min:this.max),F=this.getPointPosition(H,M),Q.beginPath(),Q.moveTo(this.xCenter,this.yCenter),Q.lineTo(F.x,F.y),Q.stroke()}Q.restore()}}drawBorder(){}drawLabels(){let Q=this.ctx,J=this.options,q=J.ticks;if(!q.display)return;let Y=this.getIndexAngle(0),U,K;Q.save(),Q.translate(this.xCenter,this.yCenter),Q.rotate(Y),Q.textAlign="center",Q.textBaseline="middle",this.ticks.forEach((H,M)=>{if(M===0&&this.min>=0&&!J.reverse)return;let F=q.setContext(this.getContext(M)),R=p1(F.font);if(U=this.getDistanceFromCenterForValue(this.ticks[M].value),F.showLabelBackdrop){Q.font=R.string,K=Q.measureText(H.label).width,Q.fillStyle=F.backdropColor;let T=X5(F.backdropPadding);Q.fillRect(-K/2-T.left,-U-R.size/2-T.top,K+T.width,R.size+T.height)}N2(Q,H.label,0,-U,R,{color:F.color,strokeColor:F.textStrokeColor,strokeWidth:F.textStrokeWidth})}),Q.restore()}drawTitle(){}}var Rq={millisecond:{common:!0,size:1,steps:1000},second:{common:!0,size:1000,steps:60},minute:{common:!0,size:60000,steps:60},hour:{common:!0,size:3600000,steps:24},day:{common:!0,size:86400000,steps:30},week:{common:!1,size:604800000,steps:4},month:{common:!0,size:2628000000,steps:12},quarter:{common:!1,size:7884000000,steps:4},year:{common:!0,size:31540000000}},x5=Object.keys(Rq);function xT(Q,J){return Q-J}function uT(Q,J){if(t0(J))return null;let q=Q._adapter,{parser:Y,round:U,isoWeekday:K}=Q._parseOpts,H=J;if(typeof Y==="function")H=Y(H);if(!O1(H))H=typeof Y==="string"?q.parse(H,Y):q.parse(H);if(H===null)return null;if(U)H=U==="week"&&(m9(K)||K===!0)?q.startOf(H,"isoWeek",K):q.startOf(H,U);return+H}function mT(Q,J,q,Y){let U=x5.length;for(let K=x5.indexOf(Q);K<U-1;++K){let H=Rq[x5[K]],M=H.steps?H.steps:Number.MAX_SAFE_INTEGER;if(H.common&&Math.ceil((q-J)/(M*H.size))<=Y)return x5[K]}return x5[U-1]}function AD(Q,J,q,Y,U){for(let K=x5.length-1;K>=x5.indexOf(q);K--){let H=x5[K];if(Rq[H].common&&Q._adapter.diff(U,Y,H)>=J-1)return H}return x5[q?x5.indexOf(q):0]}function SD(Q){for(let J=x5.indexOf(Q)+1,q=x5.length;J<q;++J)if(Rq[x5[J]].common)return x5[J]}function dT(Q,J,q){if(!q)Q[J]=!0;else if(q.length){let{lo:Y,hi:U}=tJ(q,J),K=q[Y]>=J?q[Y]:q[U];Q[K]=!0}}function vD(Q,J,q,Y){let U=Q._adapter,K=+U.startOf(J[0].value,Y),H=J[J.length-1].value,M,F;for(M=K;M<=H;M=+U.add(M,1,Y))if(F=q[M],F>=0)J[F].major=!0;return J}function pT(Q,J,q){let Y=[],U={},K=J.length,H,M;for(H=0;H<K;++H)M=J[H],U[M]=H,Y.push({value:M,major:!1});return K===0||!q?Y:vD(Q,Y,U,q)}class kN extends T${static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(Q){super(Q);this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(Q,J={}){let q=Q.time||(Q.time={}),Y=this._adapter=new MI._date(Q.adapters.date);Y.init(J),h9(q.displayFormats,Y.formats()),this._parseOpts={parser:q.parser,round:q.round,isoWeekday:q.isoWeekday},super.init(Q),this._normalized=J.normalized}parse(Q,J){if(Q===void 0)return null;return uT(this,Q)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let Q=this.options,J=this._adapter,q=Q.time.unit||"day",{min:Y,max:U,minDefined:K,maxDefined:H}=this.getUserBounds();function M(F){if(!K&&!isNaN(F.min))Y=Math.min(Y,F.min);if(!H&&!isNaN(F.max))U=Math.max(U,F.max)}if(!K||!H){if(M(this._getLabelBounds()),Q.bounds!=="ticks"||Q.ticks.source!=="labels")M(this.getMinMax(!1))}Y=O1(Y)&&!isNaN(Y)?Y:+J.startOf(Date.now(),q),U=O1(U)&&!isNaN(U)?U:+J.endOf(Date.now(),q)+1,this.min=Math.min(Y,U-1),this.max=Math.max(Y+1,U)}_getLabelBounds(){let Q=this.getLabelTimestamps(),J=Number.POSITIVE_INFINITY,q=Number.NEGATIVE_INFINITY;if(Q.length)J=Q[0],q=Q[Q.length-1];return{min:J,max:q}}buildTicks(){let Q=this.options,J=Q.time,q=Q.ticks,Y=q.source==="labels"?this.getLabelTimestamps():this._generate();if(Q.bounds==="ticks"&&Y.length)this.min=this._userMin||Y[0],this.max=this._userMax||Y[Y.length-1];let U=this.min,K=this.max,H=PR(Y,U,K);if(this._unit=J.unit||(q.autoSkip?mT(J.minUnit,this.min,this.max,this._getLabelCapacity(U)):AD(this,H.length,J.minUnit,this.min,this.max)),this._majorUnit=!q.major.enabled||this._unit==="year"?void 0:SD(this._unit),this.initOffsets(Y),Q.reverse)H.reverse();return pT(this,H,this._majorUnit)}afterAutoSkip(){if(this.options.offsetAfterAutoskip)this.initOffsets(this.ticks.map((Q)=>+Q.value))}initOffsets(Q=[]){let J=0,q=0,Y,U;if(this.options.offset&&Q.length){if(Y=this.getDecimalForValue(Q[0]),Q.length===1)J=1-Y;else J=(this.getDecimalForValue(Q[1])-Y)/2;if(U=this.getDecimalForValue(Q[Q.length-1]),Q.length===1)q=U;else q=(U-this.getDecimalForValue(Q[Q.length-2]))/2}let K=Q.length<3?0.5:0.25;J=y5(J,0,K),q=y5(q,0,K),this._offsets={start:J,end:q,factor:1/(J+1+q)}}_generate(){let Q=this._adapter,J=this.min,q=this.max,Y=this.options,U=Y.time,K=U.unit||mT(U.minUnit,J,q,this._getLabelCapacity(J)),H=h0(Y.ticks.stepSize,1),M=K==="week"?U.isoWeekday:!1,F=m9(M)||M===!0,R={},T=J,z,L;if(F)T=+Q.startOf(T,"isoWeek",M);if(T=+Q.startOf(T,F?"day":K),Q.diff(q,J,K)>1e5*H)throw Error(J+" and "+q+" are too far apart with stepSize of "+H+" "+K);let P=Y.ticks.source==="data"&&this.getDataTimestamps();for(z=T,L=0;z<q;z=+Q.add(z,H,K),L++)dT(R,z,P);if(z===q||Y.bounds==="ticks"||L===1)dT(R,z,P);return Object.keys(R).sort(xT).map((I)=>+I)}getLabelForValue(Q){let J=this._adapter,q=this.options.time;if(q.tooltipFormat)return J.format(Q,q.tooltipFormat);return J.format(Q,q.displayFormats.datetime)}format(Q,J){let Y=this.options.time.displayFormats,U=this._unit,K=J||Y[U];return this._adapter.format(Q,K)}_tickFormatFunction(Q,J,q,Y){let U=this.options,K=U.ticks.callback;if(K)return W1(K,[Q,J,q],this);let H=U.time.displayFormats,M=this._unit,F=this._majorUnit,R=M&&H[M],T=F&&H[F],z=q[J],L=F&&T&&z&&z.major;return this._adapter.format(Q,Y||(L?T:R))}generateTickLabels(Q){let J,q,Y;for(J=0,q=Q.length;J<q;++J)Y=Q[J],Y.label=this._tickFormatFunction(Y.value,J,Q)}getDecimalForValue(Q){return Q===null?NaN:(Q-this.min)/(this.max-this.min)}getPixelForValue(Q){let J=this._offsets,q=this.getDecimalForValue(Q);return this.getPixelForDecimal((J.start+q)*J.factor)}getValueForPixel(Q){let J=this._offsets,q=this.getDecimalForPixel(Q)/J.factor-J.end;return this.min+q*(this.max-this.min)}_getLabelSize(Q){let J=this.options.ticks,q=this.ctx.measureText(Q).width,Y=$6(this.isHorizontal()?J.maxRotation:J.minRotation),U=Math.cos(Y),K=Math.sin(Y),H=this._resolveTickFontOptions(0).size;return{w:q*U+H*K,h:q*K+H*U}}_getLabelCapacity(Q){let J=this.options.time,q=J.displayFormats,Y=q[J.unit]||q.millisecond,U=this._tickFormatFunction(Q,0,pT(this,[Q],this._majorUnit),Y),K=this._getLabelSize(U),H=Math.floor(this.isHorizontal()?this.width/K.w:this.height/K.h)-1;return H>0?H:1}getDataTimestamps(){let Q=this._cache.data||[],J,q;if(Q.length)return Q;let Y=this.getMatchingVisibleMetas();if(this._normalized&&Y.length)return this._cache.data=Y[0].controller.getAllParsedValues(this);for(J=0,q=Y.length;J<q;++J)Q=Q.concat(Y[J].controller.getAllParsedValues(this));return this._cache.data=this.normalize(Q)}getLabelTimestamps(){let Q=this._cache.labels||[],J,q;if(Q.length)return Q;let Y=this.getLabels();for(J=0,q=Y.length;J<q;++J)Q.push(uT(this,Y[J]));return this._cache.labels=this._normalized?Q:this.normalize(Q)}normalize(Q){return aU(Q.sort(xT))}}function Bq(Q,J,q){let Y=0,U=Q.length-1,K,H,M,F;if(q){if(J>=Q[Y].pos&&J<=Q[U].pos)({lo:Y,hi:U}=q2(Q,"pos",J));({pos:K,time:M}=Q[Y]),{pos:H,time:F}=Q[U]}else{if(J>=Q[Y].time&&J<=Q[U].time)({lo:Y,hi:U}=q2(Q,"time",J));({time:K,pos:M}=Q[Y]),{time:H,pos:F}=Q[U]}let R=H-K;return R?M+(F-M)*(J-K)/R:M}class kD extends kN{static id="timeseries";static defaults=kN.defaults;constructor(Q){super(Q);this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let Q=this._getTimestampsForTable(),J=this._table=this.buildLookupTable(Q);this._minPos=Bq(J,this.min),this._tableRange=Bq(J,this.max)-this._minPos,super.initOffsets(Q)}buildLookupTable(Q){let{min:J,max:q}=this,Y=[],U=[],K,H,M,F,R;for(K=0,H=Q.length;K<H;++K)if(F=Q[K],F>=J&&F<=q)Y.push(F);if(Y.length<2)return[{time:J,pos:0},{time:q,pos:1}];for(K=0,H=Y.length;K<H;++K)if(R=Y[K+1],M=Y[K-1],F=Y[K],Math.round((R+M)/2)!==F)U.push({time:F,pos:K/(H-1)});return U}_generate(){let Q=this.min,J=this.max,q=super.getDataTimestamps();if(!q.includes(Q)||!q.length)q.splice(0,0,Q);if(!q.includes(J)||q.length===1)q.push(J);return q.sort((Y,U)=>Y-U)}_getTimestampsForTable(){let Q=this._cache.all||[];if(Q.length)return Q;let J=this.getDataTimestamps(),q=this.getLabelTimestamps();if(J.length&&q.length)Q=this.normalize(J.concat(q));else Q=J.length?J:q;return Q=this._cache.all=Q,Q}getDecimalForValue(Q){return(Bq(this._table,Q)-this._minPos)/this._tableRange}getValueForPixel(Q){let J=this._offsets,q=this.getDecimalForPixel(Q)/J.factor-J.end;return Bq(this._table,q*this._tableRange+this._minPos,!0)}}var qQ=R0(e1(),1);var mN=R0(Fz(),1),q4=R0(e1(),1);var wz="label";function Wz(Q,J){if(typeof Q==="function")Q(J);else if(Q)Q.current=J}function fD(Q,J){let q=Q.options;if(q&&J)Object.assign(q,J)}function Rz(Q,J){Q.labels=J}function Tz(Q,J,q=wz){let Y=[];Q.datasets=J.map((U)=>{let K=Q.datasets.find((H)=>H[q]===U[q]);if(!K||!U.data||Y.includes(K))return{...U};return Y.push(K),Object.assign(K,U),K})}function yD(Q,J=wz){let q={labels:[],datasets:[]};return Rz(q,Q.labels),Tz(q,Q.datasets,J),q}function gD(Q,J){let{height:q=150,width:Y=300,redraw:U=!1,datasetIdKey:K,type:H,data:M,options:F,plugins:R=[],fallbackContent:T,updateMode:z,...L}=Q,P=q4.useRef(null),I=q4.useRef(null),A=()=>{if(!P.current)return;I.current=new P5(P.current,{type:H,data:yD(M,K),options:F&&{...F},plugins:R}),Wz(J,I.current)},C=()=>{if(Wz(J,null),I.current)I.current.destroy(),I.current=null};return q4.useEffect(()=>{if(!U&&I.current&&F)fD(I.current,F)},[U,F]),q4.useEffect(()=>{if(!U&&I.current)Rz(I.current.config.data,M.labels)},[U,M.labels]),q4.useEffect(()=>{if(!U&&I.current&&M.datasets)Tz(I.current.config.data,M.datasets,K)},[U,M.datasets]),q4.useEffect(()=>{if(!I.current)return;if(U)C(),setTimeout(A);else I.current.update(z)},[U,F,M.labels,M.datasets,z]),q4.useEffect(()=>{if(!I.current)return;C(),setTimeout(A)},[H]),q4.useEffect(()=>{return A(),()=>C()},[]),mN.jsx("canvas",{ref:P,role:"img",height:q,width:Y,...L,children:T})}var hD=q4.forwardRef(gD);function zz(Q,J){return P5.register(J),q4.forwardRef((q,Y)=>mN.jsx(hD,{...q,ref:Y,type:Q}))}var E4=zz("line",yN),Tq=zz("bar",fN);var zq=R0(e1(),1),_z="(prefers-color-scheme: dark)";function xD(){if(typeof window>"u")return"light";return window.matchMedia(_z).matches?"dark":"light"}function E8(){let[Q,J]=zq.useState(()=>xD());return zq.useEffect(()=>{let q=window.matchMedia(_z),Y=()=>{J(q.matches?"dark":"light")};return Y(),q.addEventListener("change",Y),()=>q.removeEventListener("change",Y)},[]),Q}var uD=Math.pow(10,8)*24*60*60*1000,Fv=-uD,_q=604800000,Lz=86400000;var GQ=43200,dN=1440;var pN=Symbol.for("constructDateFrom");function F5(Q,J){if(typeof Q==="function")return Q(J);if(Q&&typeof Q==="object"&&pN in Q)return Q[pN](J);if(Q instanceof Date)return new Q.constructor(J);return new Date(J)}function e0(Q,J){return F5(J||Q,Q)}var mD={};function P8(){return mD}function X6(Q,J){let q=P8(),Y=J?.weekStartsOn??J?.locale?.options?.weekStartsOn??q.weekStartsOn??q.locale?.options?.weekStartsOn??0,U=e0(Q,J?.in),K=U.getDay(),H=(K<Y?7:0)+K-Y;return U.setDate(U.getDate()-H),U.setHours(0,0,0,0),U}function _$(Q,J){return X6(Q,{...J,weekStartsOn:1})}function Lq(Q,J){let q=e0(Q,J?.in),Y=q.getFullYear(),U=F5(q,0);U.setFullYear(Y+1,0,4),U.setHours(0,0,0,0);let K=_$(U),H=F5(q,0);H.setFullYear(Y,0,4),H.setHours(0,0,0,0);let M=_$(H);if(q.getTime()>=K.getTime())return Y+1;else if(q.getTime()>=M.getTime())return Y;else return Y-1}function c9(Q){let J=e0(Q),q=new Date(Date.UTC(J.getFullYear(),J.getMonth(),J.getDate(),J.getHours(),J.getMinutes(),J.getSeconds(),J.getMilliseconds()));return q.setUTCFullYear(J.getFullYear()),+Q-+q}function M2(Q,...J){let q=F5.bind(null,Q||J.find((Y)=>typeof Y==="object"));return J.map(q)}function cN(Q,J){let q=e0(Q,J?.in);return q.setHours(0,0,0,0),q}function Vz(Q,J,q){let[Y,U]=M2(q?.in,Q,J),K=cN(Y),H=cN(U),M=+K-c9(K),F=+H-c9(H);return Math.round((M-F)/Lz)}function Ez(Q,J){let q=Lq(Q,J),Y=F5(J?.in||Q,0);return Y.setFullYear(q,0,4),Y.setHours(0,0,0,0),_$(Y)}function l9(Q,J){let q=+e0(Q)-+e0(J);if(q<0)return-1;else if(q>0)return 1;return q}function Pz(Q){return F5(Q,Date.now())}function Cz(Q){return Q instanceof Date||typeof Q==="object"&&Object.prototype.toString.call(Q)==="[object Date]"}function Iz(Q){return!(!Cz(Q)&&typeof Q!=="number"||isNaN(+e0(Q)))}function Oz(Q,J,q){let[Y,U]=M2(q?.in,Q,J),K=Y.getFullYear()-U.getFullYear(),H=Y.getMonth()-U.getMonth();return K*12+H}function Dz(Q){return(J)=>{let Y=(Q?Math[Q]:Math.trunc)(J);return Y===0?0:Y}}function jz(Q,J){return+e0(Q)-+e0(J)}function Az(Q,J){let q=e0(Q,J?.in);return q.setHours(23,59,59,999),q}function Sz(Q,J){let q=e0(Q,J?.in),Y=q.getMonth();return q.setFullYear(q.getFullYear(),Y+1,0),q.setHours(23,59,59,999),q}function vz(Q,J){let q=e0(Q,J?.in);return+Az(q,J)===+Sz(q,J)}function kz(Q,J,q){let[Y,U,K]=M2(q?.in,Q,Q,J),H=l9(U,K),M=Math.abs(Oz(U,K));if(M<1)return 0;if(U.getMonth()===1&&U.getDate()>27)U.setDate(30);U.setMonth(U.getMonth()-H*M);let F=l9(U,K)===-H;if(vz(Y)&&M===1&&l9(Y,K)===1)F=!1;let R=H*(M-+F);return R===0?0:R}function bz(Q,J,q){let Y=jz(Q,J)/1000;return Dz(q?.roundingMethod)(Y)}function fz(Q,J){let q=e0(Q,J?.in);return q.setFullYear(q.getFullYear(),0,1),q.setHours(0,0,0,0),q}var dD={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},yz=(Q,J,q)=>{let Y,U=dD[Q];if(typeof U==="string")Y=U;else if(J===1)Y=U.one;else Y=U.other.replace("{{count}}",J.toString());if(q?.addSuffix)if(q.comparison&&q.comparison>0)return"in "+Y;else return Y+" ago";return Y};function Vq(Q){return(J={})=>{let q=J.width?String(J.width):Q.defaultWidth;return Q.formats[q]||Q.formats[Q.defaultWidth]}}var pD={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},cD={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},lD={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gz={date:Vq({formats:pD,defaultWidth:"full"}),time:Vq({formats:cD,defaultWidth:"full"}),dateTime:Vq({formats:lD,defaultWidth:"full"})};var rD={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},hz=(Q,J,q,Y)=>rD[Q];function r9(Q){return(J,q)=>{let Y=q?.context?String(q.context):"standalone",U;if(Y==="formatting"&&Q.formattingValues){let H=Q.defaultFormattingWidth||Q.defaultWidth,M=q?.width?String(q.width):H;U=Q.formattingValues[M]||Q.formattingValues[H]}else{let H=Q.defaultWidth,M=q?.width?String(q.width):Q.defaultWidth;U=Q.values[M]||Q.values[H]}let K=Q.argumentCallback?Q.argumentCallback(J):J;return U[K]}}var sD={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},nD={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oD={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},aD={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},iD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},tD={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},eD=(Q,J)=>{let q=Number(Q),Y=q%100;if(Y>20||Y<10)switch(Y%10){case 1:return q+"st";case 2:return q+"nd";case 3:return q+"rd"}return q+"th"},xz={ordinalNumber:eD,era:r9({values:sD,defaultWidth:"wide"}),quarter:r9({values:nD,defaultWidth:"wide",argumentCallback:(Q)=>Q-1}),month:r9({values:oD,defaultWidth:"wide"}),day:r9({values:aD,defaultWidth:"wide"}),dayPeriod:r9({values:iD,defaultWidth:"wide",formattingValues:tD,defaultFormattingWidth:"wide"})};function s9(Q){return(J,q={})=>{let Y=q.width,U=Y&&Q.matchPatterns[Y]||Q.matchPatterns[Q.defaultMatchWidth],K=J.match(U);if(!K)return null;let H=K[0],M=Y&&Q.parsePatterns[Y]||Q.parsePatterns[Q.defaultParseWidth],F=Array.isArray(M)?Zj(M,(z)=>z.test(H)):$j(M,(z)=>z.test(H)),R;R=Q.valueCallback?Q.valueCallback(F):F,R=q.valueCallback?q.valueCallback(R):R;let T=J.slice(H.length);return{value:R,rest:T}}}function $j(Q,J){for(let q in Q)if(Object.prototype.hasOwnProperty.call(Q,q)&&J(Q[q]))return q;return}function Zj(Q,J){for(let q=0;q<Q.length;q++)if(J(Q[q]))return q;return}function uz(Q){return(J,q={})=>{let Y=J.match(Q.matchPattern);if(!Y)return null;let U=Y[0],K=J.match(Q.parsePattern);if(!K)return null;let H=Q.valueCallback?Q.valueCallback(K[0]):K[0];H=q.valueCallback?q.valueCallback(H):H;let M=J.slice(U.length);return{value:H,rest:M}}}var Qj=/^(\d+)(th|st|nd|rd)?/i,Gj=/\d+/i,Jj={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},qj={any:[/^b/i,/^(a|c)/i]},Xj={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Yj={any:[/1/i,/2/i,/3/i,/4/i]},Uj={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Nj={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Kj={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Bj={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Hj={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Mj={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},mz={ordinalNumber:uz({matchPattern:Qj,parsePattern:Gj,valueCallback:(Q)=>parseInt(Q,10)}),era:s9({matchPatterns:Jj,defaultMatchWidth:"wide",parsePatterns:qj,defaultParseWidth:"any"}),quarter:s9({matchPatterns:Xj,defaultMatchWidth:"wide",parsePatterns:Yj,defaultParseWidth:"any",valueCallback:(Q)=>Q+1}),month:s9({matchPatterns:Uj,defaultMatchWidth:"wide",parsePatterns:Nj,defaultParseWidth:"any"}),day:s9({matchPatterns:Kj,defaultMatchWidth:"wide",parsePatterns:Bj,defaultParseWidth:"any"}),dayPeriod:s9({matchPatterns:Hj,defaultMatchWidth:"any",parsePatterns:Mj,defaultParseWidth:"any"})};var JQ={code:"en-US",formatDistance:yz,formatLong:gz,formatRelative:hz,localize:xz,match:mz,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dz(Q,J){let q=e0(Q,J?.in);return Vz(q,fz(q))+1}function pz(Q,J){let q=e0(Q,J?.in),Y=+_$(q)-+Ez(q);return Math.round(Y/_q)+1}function Eq(Q,J){let q=e0(Q,J?.in),Y=q.getFullYear(),U=P8(),K=J?.firstWeekContainsDate??J?.locale?.options?.firstWeekContainsDate??U.firstWeekContainsDate??U.locale?.options?.firstWeekContainsDate??1,H=F5(J?.in||Q,0);H.setFullYear(Y+1,0,K),H.setHours(0,0,0,0);let M=X6(H,J),F=F5(J?.in||Q,0);F.setFullYear(Y,0,K),F.setHours(0,0,0,0);let R=X6(F,J);if(+q>=+M)return Y+1;else if(+q>=+R)return Y;else return Y-1}function cz(Q,J){let q=P8(),Y=J?.firstWeekContainsDate??J?.locale?.options?.firstWeekContainsDate??q.firstWeekContainsDate??q.locale?.options?.firstWeekContainsDate??1,U=Eq(Q,J),K=F5(J?.in||Q,0);return K.setFullYear(U,0,Y),K.setHours(0,0,0,0),X6(K,J)}function lz(Q,J){let q=e0(Q,J?.in),Y=+X6(q,J)-+cz(q,J);return Math.round(Y/_q)+1}function Q1(Q,J){let q=Q<0?"-":"",Y=Math.abs(Q).toString().padStart(J,"0");return q+Y}var Y6={y(Q,J){let q=Q.getFullYear(),Y=q>0?q:1-q;return Q1(J==="yy"?Y%100:Y,J.length)},M(Q,J){let q=Q.getMonth();return J==="M"?String(q+1):Q1(q+1,2)},d(Q,J){return Q1(Q.getDate(),J.length)},a(Q,J){let q=Q.getHours()/12>=1?"pm":"am";switch(J){case"a":case"aa":return q.toUpperCase();case"aaa":return q;case"aaaaa":return q[0];case"aaaa":default:return q==="am"?"a.m.":"p.m."}},h(Q,J){return Q1(Q.getHours()%12||12,J.length)},H(Q,J){return Q1(Q.getHours(),J.length)},m(Q,J){return Q1(Q.getMinutes(),J.length)},s(Q,J){return Q1(Q.getSeconds(),J.length)},S(Q,J){let q=J.length,Y=Q.getMilliseconds(),U=Math.trunc(Y*Math.pow(10,q-3));return Q1(U,J.length)}};var n9={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},lN={G:function(Q,J,q){let Y=Q.getFullYear()>0?1:0;switch(J){case"G":case"GG":case"GGG":return q.era(Y,{width:"abbreviated"});case"GGGGG":return q.era(Y,{width:"narrow"});case"GGGG":default:return q.era(Y,{width:"wide"})}},y:function(Q,J,q){if(J==="yo"){let Y=Q.getFullYear(),U=Y>0?Y:1-Y;return q.ordinalNumber(U,{unit:"year"})}return Y6.y(Q,J)},Y:function(Q,J,q,Y){let U=Eq(Q,Y),K=U>0?U:1-U;if(J==="YY"){let H=K%100;return Q1(H,2)}if(J==="Yo")return q.ordinalNumber(K,{unit:"year"});return Q1(K,J.length)},R:function(Q,J){let q=Lq(Q);return Q1(q,J.length)},u:function(Q,J){let q=Q.getFullYear();return Q1(q,J.length)},Q:function(Q,J,q){let Y=Math.ceil((Q.getMonth()+1)/3);switch(J){case"Q":return String(Y);case"QQ":return Q1(Y,2);case"Qo":return q.ordinalNumber(Y,{unit:"quarter"});case"QQQ":return q.quarter(Y,{width:"abbreviated",context:"formatting"});case"QQQQQ":return q.quarter(Y,{width:"narrow",context:"formatting"});case"QQQQ":default:return q.quarter(Y,{width:"wide",context:"formatting"})}},q:function(Q,J,q){let Y=Math.ceil((Q.getMonth()+1)/3);switch(J){case"q":return String(Y);case"qq":return Q1(Y,2);case"qo":return q.ordinalNumber(Y,{unit:"quarter"});case"qqq":return q.quarter(Y,{width:"abbreviated",context:"standalone"});case"qqqqq":return q.quarter(Y,{width:"narrow",context:"standalone"});case"qqqq":default:return q.quarter(Y,{width:"wide",context:"standalone"})}},M:function(Q,J,q){let Y=Q.getMonth();switch(J){case"M":case"MM":return Y6.M(Q,J);case"Mo":return q.ordinalNumber(Y+1,{unit:"month"});case"MMM":return q.month(Y,{width:"abbreviated",context:"formatting"});case"MMMMM":return q.month(Y,{width:"narrow",context:"formatting"});case"MMMM":default:return q.month(Y,{width:"wide",context:"formatting"})}},L:function(Q,J,q){let Y=Q.getMonth();switch(J){case"L":return String(Y+1);case"LL":return Q1(Y+1,2);case"Lo":return q.ordinalNumber(Y+1,{unit:"month"});case"LLL":return q.month(Y,{width:"abbreviated",context:"standalone"});case"LLLLL":return q.month(Y,{width:"narrow",context:"standalone"});case"LLLL":default:return q.month(Y,{width:"wide",context:"standalone"})}},w:function(Q,J,q,Y){let U=lz(Q,Y);if(J==="wo")return q.ordinalNumber(U,{unit:"week"});return Q1(U,J.length)},I:function(Q,J,q){let Y=pz(Q);if(J==="Io")return q.ordinalNumber(Y,{unit:"week"});return Q1(Y,J.length)},d:function(Q,J,q){if(J==="do")return q.ordinalNumber(Q.getDate(),{unit:"date"});return Y6.d(Q,J)},D:function(Q,J,q){let Y=dz(Q);if(J==="Do")return q.ordinalNumber(Y,{unit:"dayOfYear"});return Q1(Y,J.length)},E:function(Q,J,q){let Y=Q.getDay();switch(J){case"E":case"EE":case"EEE":return q.day(Y,{width:"abbreviated",context:"formatting"});case"EEEEE":return q.day(Y,{width:"narrow",context:"formatting"});case"EEEEEE":return q.day(Y,{width:"short",context:"formatting"});case"EEEE":default:return q.day(Y,{width:"wide",context:"formatting"})}},e:function(Q,J,q,Y){let U=Q.getDay(),K=(U-Y.weekStartsOn+8)%7||7;switch(J){case"e":return String(K);case"ee":return Q1(K,2);case"eo":return q.ordinalNumber(K,{unit:"day"});case"eee":return q.day(U,{width:"abbreviated",context:"formatting"});case"eeeee":return q.day(U,{width:"narrow",context:"formatting"});case"eeeeee":return q.day(U,{width:"short",context:"formatting"});case"eeee":default:return q.day(U,{width:"wide",context:"formatting"})}},c:function(Q,J,q,Y){let U=Q.getDay(),K=(U-Y.weekStartsOn+8)%7||7;switch(J){case"c":return String(K);case"cc":return Q1(K,J.length);case"co":return q.ordinalNumber(K,{unit:"day"});case"ccc":return q.day(U,{width:"abbreviated",context:"standalone"});case"ccccc":return q.day(U,{width:"narrow",context:"standalone"});case"cccccc":return q.day(U,{width:"short",context:"standalone"});case"cccc":default:return q.day(U,{width:"wide",context:"standalone"})}},i:function(Q,J,q){let Y=Q.getDay(),U=Y===0?7:Y;switch(J){case"i":return String(U);case"ii":return Q1(U,J.length);case"io":return q.ordinalNumber(U,{unit:"day"});case"iii":return q.day(Y,{width:"abbreviated",context:"formatting"});case"iiiii":return q.day(Y,{width:"narrow",context:"formatting"});case"iiiiii":return q.day(Y,{width:"short",context:"formatting"});case"iiii":default:return q.day(Y,{width:"wide",context:"formatting"})}},a:function(Q,J,q){let U=Q.getHours()/12>=1?"pm":"am";switch(J){case"a":case"aa":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"aaa":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"aaaa":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},b:function(Q,J,q){let Y=Q.getHours(),U;if(Y===12)U=n9.noon;else if(Y===0)U=n9.midnight;else U=Y/12>=1?"pm":"am";switch(J){case"b":case"bb":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"bbb":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"bbbb":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},B:function(Q,J,q){let Y=Q.getHours(),U;if(Y>=17)U=n9.evening;else if(Y>=12)U=n9.afternoon;else if(Y>=4)U=n9.morning;else U=n9.night;switch(J){case"B":case"BB":case"BBB":return q.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"BBBBB":return q.dayPeriod(U,{width:"narrow",context:"formatting"});case"BBBB":default:return q.dayPeriod(U,{width:"wide",context:"formatting"})}},h:function(Q,J,q){if(J==="ho"){let Y=Q.getHours()%12;if(Y===0)Y=12;return q.ordinalNumber(Y,{unit:"hour"})}return Y6.h(Q,J)},H:function(Q,J,q){if(J==="Ho")return q.ordinalNumber(Q.getHours(),{unit:"hour"});return Y6.H(Q,J)},K:function(Q,J,q){let Y=Q.getHours()%12;if(J==="Ko")return q.ordinalNumber(Y,{unit:"hour"});return Q1(Y,J.length)},k:function(Q,J,q){let Y=Q.getHours();if(Y===0)Y=24;if(J==="ko")return q.ordinalNumber(Y,{unit:"hour"});return Q1(Y,J.length)},m:function(Q,J,q){if(J==="mo")return q.ordinalNumber(Q.getMinutes(),{unit:"minute"});return Y6.m(Q,J)},s:function(Q,J,q){if(J==="so")return q.ordinalNumber(Q.getSeconds(),{unit:"second"});return Y6.s(Q,J)},S:function(Q,J){return Y6.S(Q,J)},X:function(Q,J,q){let Y=Q.getTimezoneOffset();if(Y===0)return"Z";switch(J){case"X":return sz(Y);case"XXXX":case"XX":return L$(Y);case"XXXXX":case"XXX":default:return L$(Y,":")}},x:function(Q,J,q){let Y=Q.getTimezoneOffset();switch(J){case"x":return sz(Y);case"xxxx":case"xx":return L$(Y);case"xxxxx":case"xxx":default:return L$(Y,":")}},O:function(Q,J,q){let Y=Q.getTimezoneOffset();switch(J){case"O":case"OO":case"OOO":return"GMT"+rz(Y,":");case"OOOO":default:return"GMT"+L$(Y,":")}},z:function(Q,J,q){let Y=Q.getTimezoneOffset();switch(J){case"z":case"zz":case"zzz":return"GMT"+rz(Y,":");case"zzzz":default:return"GMT"+L$(Y,":")}},t:function(Q,J,q){let Y=Math.trunc(+Q/1000);return Q1(Y,J.length)},T:function(Q,J,q){return Q1(+Q,J.length)}};function rz(Q,J=""){let q=Q>0?"-":"+",Y=Math.abs(Q),U=Math.trunc(Y/60),K=Y%60;if(K===0)return q+String(U);return q+String(U)+J+Q1(K,2)}function sz(Q,J){if(Q%60===0)return(Q>0?"-":"+")+Q1(Math.abs(Q)/60,2);return L$(Q,J)}function L$(Q,J=""){let q=Q>0?"-":"+",Y=Math.abs(Q),U=Q1(Math.trunc(Y/60),2),K=Q1(Y%60,2);return q+U+J+K}var nz=(Q,J)=>{switch(Q){case"P":return J.date({width:"short"});case"PP":return J.date({width:"medium"});case"PPP":return J.date({width:"long"});case"PPPP":default:return J.date({width:"full"})}},oz=(Q,J)=>{switch(Q){case"p":return J.time({width:"short"});case"pp":return J.time({width:"medium"});case"ppp":return J.time({width:"long"});case"pppp":default:return J.time({width:"full"})}},Fj=(Q,J)=>{let q=Q.match(/(P+)(p+)?/)||[],Y=q[1],U=q[2];if(!U)return nz(Q,J);let K;switch(Y){case"P":K=J.dateTime({width:"short"});break;case"PP":K=J.dateTime({width:"medium"});break;case"PPP":K=J.dateTime({width:"long"});break;case"PPPP":default:K=J.dateTime({width:"full"});break}return K.replace("{{date}}",nz(Y,J)).replace("{{time}}",oz(U,J))},az={p:oz,P:Fj};var Wj=/^D+$/,wj=/^Y+$/,Rj=["D","DD","YY","YYYY"];function iz(Q){return Wj.test(Q)}function tz(Q){return wj.test(Q)}function ez(Q,J,q){let Y=Tj(Q,J,q);if(console.warn(Y),Rj.includes(Q))throw RangeError(Y)}function Tj(Q,J,q){let Y=Q[0]==="Y"?"years":"days of the month";return`Use \`${Q.toLowerCase()}\` instead of \`${Q}\` (in \`${J}\`) for formatting ${Y} to the input \`${q}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var zj=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_j=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Lj=/^'([^]*?)'?$/,Vj=/''/g,Ej=/[a-zA-Z]/;function u4(Q,J,q){let Y=P8(),U=q?.locale??Y.locale??JQ,K=q?.firstWeekContainsDate??q?.locale?.options?.firstWeekContainsDate??Y.firstWeekContainsDate??Y.locale?.options?.firstWeekContainsDate??1,H=q?.weekStartsOn??q?.locale?.options?.weekStartsOn??Y.weekStartsOn??Y.locale?.options?.weekStartsOn??0,M=e0(Q,q?.in);if(!Iz(M))throw RangeError("Invalid time value");let F=J.match(_j).map((T)=>{let z=T[0];if(z==="p"||z==="P"){let L=az[z];return L(T,U.formatLong)}return T}).join("").match(zj).map((T)=>{if(T==="''")return{isToken:!1,value:"'"};let z=T[0];if(z==="'")return{isToken:!1,value:Pj(T)};if(lN[z])return{isToken:!0,value:T};if(z.match(Ej))throw RangeError("Format string contains an unescaped latin alphabet character `"+z+"`");return{isToken:!1,value:T}});if(U.localize.preprocessor)F=U.localize.preprocessor(M,F);let R={firstWeekContainsDate:K,weekStartsOn:H,locale:U};return F.map((T)=>{if(!T.isToken)return T.value;let z=T.value;if(!q?.useAdditionalWeekYearTokens&&tz(z)||!q?.useAdditionalDayOfYearTokens&&iz(z))ez(z,J,String(Q));let L=lN[z[0]];return L(M,z,U.localize,R)}).join("")}function Pj(Q){let J=Q.match(Lj);if(!J)return Q;return J[1].replace(Vj,"'")}function $_(Q,J,q){let Y=P8(),U=q?.locale??Y.locale??JQ,K=2520,H=l9(Q,J);if(isNaN(H))throw RangeError("Invalid time value");let M=Object.assign({},q,{addSuffix:q?.addSuffix,comparison:H}),[F,R]=M2(q?.in,...H>0?[J,Q]:[Q,J]),T=bz(R,F),z=(c9(R)-c9(F))/1000,L=Math.round((T-z)/60),P;if(L<2)if(q?.includeSeconds)if(T<5)return U.formatDistance("lessThanXSeconds",5,M);else if(T<10)return U.formatDistance("lessThanXSeconds",10,M);else if(T<20)return U.formatDistance("lessThanXSeconds",20,M);else if(T<40)return U.formatDistance("halfAMinute",0,M);else if(T<60)return U.formatDistance("lessThanXMinutes",1,M);else return U.formatDistance("xMinutes",1,M);else if(L===0)return U.formatDistance("lessThanXMinutes",1,M);else return U.formatDistance("xMinutes",L,M);else if(L<45)return U.formatDistance("xMinutes",L,M);else if(L<90)return U.formatDistance("aboutXHours",1,M);else if(L<dN){let I=Math.round(L/60);return U.formatDistance("aboutXHours",I,M)}else if(L<2520)return U.formatDistance("xDays",1,M);else if(L<GQ){let I=Math.round(L/dN);return U.formatDistance("xDays",I,M)}else if(L<GQ*2)return P=Math.round(L/GQ),U.formatDistance("aboutXMonths",P,M);if(P=kz(R,F),P<12){let I=Math.round(L/GQ);return U.formatDistance("xMonths",I,M)}else{let I=P%12,A=Math.trunc(P/12);if(I<3)return U.formatDistance("aboutXYears",A,M);else if(I<9)return U.formatDistance("overXYears",A,M);else return U.formatDistance("almostXYears",A+1,M)}}function Z_(Q,J){return $_(Q,Pz(Q),J)}var m5=R0(G1(),1),Y5=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],Pq={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function Cq(Q){let{chartTheme:J,showLegend:q,defaultLabel:Y,formatValue:U,footer:K}=Q;return{legend:{display:q,position:"top",align:"start",labels:{color:J.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:J.tooltipBackground,titleColor:J.tooltipTitle,bodyColor:J.tooltipBody,borderColor:J.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(H)=>{let M=H.dataset.label??Y,F=H.parsed.y??0;return`${M}: ${U(F)}`},...K?{footer:K}:{}}}}}function Iq(Q){let{chartTheme:J,formatY:q}=Q,Y={grid:{color:J.grid,drawBorder:!1},ticks:{color:J.tick,font:{size:11}}},U={...Y,ticks:{...Y.ticks,callback:(K)=>q(Number(K))},min:0};return{sharedScaleBase:Y,yScale:U}}function Oq(Q){return{borderColor:Q,backgroundColor:`${Q}20`,fill:!0,tension:0,pointRadius:3,pointHoverRadius:4,borderWidth:2}}function Dq(Q){return{backgroundColor:Q,borderColor:Q,borderWidth:0,borderRadius:3}}function o9(Q,J){return Q.datasets.map((q,Y)=>({label:q.label,data:q.data,...J(Y)}))}function jq(Q,J,q){if(Q.length===0)return{labels:[],datasets:[]};let{initBucket:Y,accumulate:U,bucketToValue:K}=q,H=new Map;for(let F of Q){let R=H.get(F.timestamp)??Y();U(R,F),H.set(F.timestamp,R)}let M=[...H.entries()].sort((F,R)=>F[0]-R[0]);return{labels:M.map(([F])=>u4(new Date(F),"MMM d")),datasets:[{label:J,data:M.map(([,F])=>K(F))}]}}function Aq(Q,J){if(Q.length===0)return{labels:[],datasets:[]};let{topN:q=5,rankWeight:Y,initBucket:U,accumulate:K,bucketToValue:H}=J,M=new Map;for(let g of Q){let m=`${g.model}::${g.provider}`,o=M.get(m);if(o)o.weight+=Y(g);else M.set(m,{model:g.model,provider:g.provider,weight:Y(g)})}let R=[...M.entries()].sort((g,m)=>m[1].weight-g[1].weight).slice(0,q),T=new Set(R.map(([g])=>g)),z=new Map;for(let[,{model:g}]of R)z.set(g,(z.get(g)??0)+1);let L=new Map;for(let[g,{model:m,provider:o}]of R)L.set(g,(z.get(m)??0)>1?`${m} (${o})`:m);let P=[...new Set(Q.map((g)=>g.timestamp))].sort((g,m)=>g-m),I=R.map(([g])=>L.get(g)??g);if(Q.some((g)=>!T.has(`${g.model}::${g.provider}`)))I.push("Other");let C=new Map;for(let g of P)C.set(g,{});for(let g of Q){let m=`${g.model}::${g.provider}`,o=T.has(m)?L.get(m)??g.model:"Other",a=C.get(g.timestamp);if(!a)continue;let s=a[o]??U();K(s,g),a[o]=s}return{labels:P.map((g)=>u4(new Date(g),"MMM d")),datasets:I.map((g)=>({label:g,data:P.map((m)=>{let o=C.get(m)?.[g];return o?H(o):0})}))}}function Ij({byModel:Q,onChange:J}){return m5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:[m5.jsxDEV("button",{type:"button",onClick:()=>J(!1),className:`tab-btn text-xs ${!Q?"active":""}`,children:"All Models"},void 0,!1,void 0,this),m5.jsxDEV("button",{type:"button",onClick:()=>J(!0),className:`tab-btn text-xs ${Q?"active":""}`,children:"By Model"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Sq({title:Q,subtitle:J,empty:q,emptyMessage:Y,controls:U,byModel:K,onByModelChange:H,children:M}){return m5.jsxDEV("div",{className:"surface overflow-hidden",children:[m5.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)] flex items-center justify-between gap-4 flex-wrap",children:[m5.jsxDEV("div",{children:[m5.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),m5.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m5.jsxDEV("div",{className:"flex items-center gap-2 flex-wrap",children:[U,m5.jsxDEV(Ij,{byModel:K,onChange:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),m5.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q?m5.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Y},void 0,!1,void 0,this):m5.jsxDEV("div",{className:"h-[280px]",children:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var a9=R0(G1(),1);P5.register(h4,x4,QQ,u5,g4,L8,V8,_8,p9);var rN=[{value:"yelling",label:"Yelling"},{value:"profanity",label:"Profanity"},{value:"anguish",label:"Anguish (!!!, nooo, dude, ..)"},{value:"negation",label:"Negation (no/nope/wrong)"},{value:"repetition",label:"Repetition (i meant, still doesnt)"},{value:"blame",label:"Blame (you didnt, stop X-ing)"},{value:"frustration",label:"Frustration (neg + rep + blame)"},{value:"total",label:"All signals combined"}];function Q_(Q){if(!Number.isFinite(Q))return"-";if(Q===0)return"0%";if(Math.abs(Q)<1)return`${Q.toFixed(1)}%`;return`${Q.toFixed(0)}%`}function G_(Q,J){if(J==="frustration")return Q.negation+Q.repetition+Q.blame;if(J==="total")return Q.yelling+Q.profanity+Q.anguish+Q.negation+Q.repetition+Q.blame;return Q[J]}function J_(Q,J){if(J<=0)return 0;return Q/J*100}function Oj(Q,J){let q=rN.find((Y)=>Y.value===J)?.label??"Hits";return jq(Q,q,{initBucket:()=>({hits:0,messages:0}),accumulate:(Y,U)=>{Y.hits+=G_(U,J),Y.messages+=U.messages},bucketToValue:(Y)=>J_(Y.hits,Y.messages)})}function Dj(Q,J){return Aq(Q,{rankWeight:(q)=>q.messages,initBucket:()=>({hits:0,messages:0}),accumulate:(q,Y)=>{q.hits+=G_(Y,J),q.messages+=Y.messages},bucketToValue:(q)=>J_(q.hits,q.messages)})}function q_({behaviorSeries:Q}){let[J,q]=qQ.useState(!1),[Y,U]=qQ.useState("total"),K=E8(),H=Pq[K],M=qQ.useMemo(()=>J?Dj(Q,Y):Oj(Q,Y),[Q,J,Y]),F=Cq({chartTheme:H,showLegend:J,defaultLabel:"Hits",formatValue:Q_}),{sharedScaleBase:R,yScale:T}=Iq({chartTheme:H,formatY:Q_}),z=rN.find((I)=>I.value===Y)?.label??"",L=a9.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:rN.map((I)=>a9.jsxDEV("button",{type:"button",onClick:()=>U(I.value),className:`tab-btn text-xs ${Y===I.value?"active":""}`,children:I.label},I.value,!1,void 0,this))},void 0,!1,void 0,this),P;if(J){let I={labels:M.labels,datasets:o9(M,(C)=>Oq(Y5[C%Y5.length]))};P=a9.jsxDEV(E4,{data:I,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:R,y:T}}},void 0,!1,void 0,this)}else{let I={labels:M.labels,datasets:o9(M,(C)=>Dq(Y5[C%Y5.length]))},A={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:{...R,stacked:!0},y:{...T,stacked:!0}},layout:{padding:{top:8}}};P=a9.jsxDEV(Tq,{data:I,options:A},void 0,!1,void 0,this)}return a9.jsxDEV(Sq,{title:"User Tantrums",subtitle:`${z} as % of user messages per day`,empty:M.labels.length===0,emptyMessage:"No behavioral data yet. Sync to scan your sessions.",controls:L,byModel:J,onByModelChange:q,children:P},void 0,!1,void 0,this)}var rq=R0(e1(),1);var bq=R0(e1(),1);var vq=(...Q)=>Q.filter((J,q,Y)=>{return Boolean(J)&&J.trim()!==""&&Y.indexOf(J)===q}).join(" ").trim();var X_=(Q)=>Q.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var Y_=(Q)=>Q.replace(/^([A-Z])|[\s-_]+(\w)/g,(J,q,Y)=>Y?Y.toUpperCase():q.toLowerCase());var sN=(Q)=>{let J=Y_(Q);return J.charAt(0).toUpperCase()+J.slice(1)};var XQ=R0(e1(),1);var kq={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var U_=(Q)=>{for(let J in Q)if(J.startsWith("aria-")||J==="role"||J==="title")return!0;return!1};var i9=R0(e1(),1),jj=i9.createContext({});var N_=()=>i9.useContext(jj);var K_=XQ.forwardRef(({color:Q,size:J,strokeWidth:q,absoluteStrokeWidth:Y,className:U="",children:K,iconNode:H,...M},F)=>{let{size:R=24,strokeWidth:T=2,absoluteStrokeWidth:z=!1,color:L="currentColor",className:P=""}=N_()??{},I=Y??z?Number(q??T)*24/Number(J??R):q??T;return XQ.createElement("svg",{ref:F,...kq,width:J??R??kq.width,height:J??R??kq.height,stroke:Q??L,strokeWidth:I,className:vq("lucide",P,U),...!K&&!U_(M)&&{"aria-hidden":"true"},...M},[...H.map(([A,C])=>XQ.createElement(A,C)),...Array.isArray(K)?K:[K]])});var x0=(Q,J)=>{let q=bq.forwardRef(({className:Y,...U},K)=>bq.createElement(K_,{ref:K,iconNode:J,className:vq(`lucide-${X_(sN(Q))}`,`lucide-${Q}`,Y),...U}));return q.displayName=sN(Q),q};var Aj=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],F2=x0("chart-column",Aj);var Sj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],W2=x0("circle-alert",Sj);var vj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],w2=x0("circle-check",vj);var kj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],R2=x0("circle-x",kj);var bj=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],T2=x0("file-braces",bj);var fj=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],E$=x0("activity",fj);var yj=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],YQ=x0("chevron-down",yj);var gj=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],UQ=x0("chevron-up",gj);var hj=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],NQ=x0("clock",hj);var xj=[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]],KQ=x0("coins",xj);var uj=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],BQ=x0("database",uj);var mj=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],HQ=x0("download",mj);var dj=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],MQ=x0("gauge",dj);var pj=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],FQ=x0("hash",pj);var cj=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],WQ=x0("refresh-cw",cj);var lj=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],wQ=x0("server",lj);var rj=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],P$=x0("star",rj);var sj=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],RQ=x0("upload",sj);var nj=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],TQ=x0("x",nj);var oj=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],C$=x0("zap",oj);var P1=R0(G1(),1),fq={dark:{legendLabel:"#cbd5e1",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#94a3b8"},light:{legendLabel:"#334155",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#475569"}};function U6(Q){return{borderColor:Q,backgroundColor:"transparent",tension:0.4,pointRadius:0,borderWidth:2}}function yq({timestamps:Q,values:J,color:q}){let Y={labels:Q.map((K)=>u4(new Date(K),"MMM d")),datasets:[{data:J,...U6(q)}]};return P1.jsxDEV(E4,{data:Y,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1}},scales:{x:{display:!1},y:{display:!1,min:0}}}},void 0,!1,void 0,this)}function gq(Q){return{legend:{display:!0,position:"top",labels:{color:Q.legendLabel,usePointStyle:!0,padding:16,font:{size:12}}},tooltip:{backgroundColor:Q.tooltipBackground,titleColor:Q.tooltipTitle,bodyColor:Q.tooltipBody,borderColor:Q.tooltipBorder,borderWidth:1,cornerRadius:8}}}function B_(Q){return{x:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}},min:0}}}function H_(Q){return{x:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y:{type:"linear",display:!0,position:"left",grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y1:{type:"linear",display:!0,position:"right",grid:{drawOnChartArea:!1},ticks:{color:Q.tick,font:{size:11}}}}}function hq({title:Q,subtitle:J,children:q}){return P1.jsxDEV("div",{className:"surface overflow-hidden",children:[P1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[P1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),J?P1.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:J},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),P1.jsxDEV("div",{className:"overflow-x-auto",children:q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function aj(Q){if(Q==="right")return"text-right";if(Q==="center")return"text-center";return""}function xq({columns:Q,gridTemplate:J}){return P1.jsxDEV("div",{className:"grid gap-3 px-5 py-3 text-[var(--text-muted)] text-xs uppercase tracking-wider font-semibold",style:{gridTemplateColumns:J},children:[Q.map((q)=>P1.jsxDEV("div",{className:aj(q.align),children:q.label},q.label,!1,void 0,this)),P1.jsxDEV("div",{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function uq({children:Q}){return P1.jsxDEV("div",{className:"max-h-[calc(100vh-300px)] overflow-y-auto",children:Q},void 0,!1,void 0,this)}function mq({model:Q,provider:J}){return P1.jsxDEV("div",{children:[P1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),P1.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function dq({gridTemplate:Q,cells:J,trendCell:q,isExpanded:Y,onToggle:U,expandedContent:K}){return P1.jsxDEV("div",{className:"border-t border-[var(--border-subtle)]",children:[P1.jsxDEV("button",{type:"button",onClick:U,className:"w-full bg-transparent border-none text-left px-5 py-3 cursor-pointer hover:bg-[var(--bg-hover)] transition-colors",children:P1.jsxDEV("div",{className:"grid gap-3 items-center",style:{gridTemplateColumns:Q},children:[J,P1.jsxDEV("div",{className:"h-10",children:q},void 0,!1,void 0,this),P1.jsxDEV("div",{className:"flex justify-center text-[var(--text-muted)]",children:Y?P1.jsxDEV(UQ,{size:16},void 0,!1,void 0,this):P1.jsxDEV(YQ,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Y?P1.jsxDEV("div",{className:"px-5 py-4 bg-[var(--bg-elevated)] border-t border-[var(--border-subtle)]",children:K},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function pq(){return P1.jsxDEV("div",{className:"text-[var(--text-muted)] text-center text-sm",children:"-"},void 0,!1,void 0,this)}function cq({message:Q="No data available"}){return P1.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Q},void 0,!1,void 0,this)}var r0=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,V8,_8);var lq={yelling:"#fbbf24",profanity:"#f87171",anguish:"#a78bfa",frustration:"#22d3ee"},M_="2fr 0.9fr 0.8fr 0.8fr 0.8fr 0.9fr 0.8fr 140px 40px";function W_(Q){return Q.toLocaleString()}function F_(Q){if(Q.totalMessages===0)return 0;return(Q.totalYelling+Q.totalProfanity+Q.totalAnguish+Q.totalNegation+Q.totalRepetition+Q.totalBlame)/Q.totalMessages}function t9(Q,J){if(J===0)return"-";let q=Q/J*100;if(q===0)return"0%";if(q<1)return`${q.toFixed(1)}%`;return`${q.toFixed(0)}%`}function w_({models:Q,behaviorSeries:J}){let[q,Y]=rq.useState(null),U=E8(),K=fq[U],H=rq.useMemo(()=>tj(J),[J]),M=[...Q].sort((F,R)=>{if(R.totalMessages!==F.totalMessages)return R.totalMessages-F.totalMessages;return F_(R)-F_(F)});return r0.jsxDEV(hq,{title:"Behavior by Model",subtitle:"How often each model elicited a tantrum — rates are per user message",children:[r0.jsxDEV(xq,{gridTemplate:M_,columns:[{label:"Model"},{label:"Messages",align:"right"},{label:"CAPS %",align:"right"},{label:"Profanity %",align:"right"},{label:"Anguish %",align:"right"},{label:"Frustration %",align:"right"},{label:"Hits %",align:"right"},{label:"Trend",align:"center"}]},void 0,!1,void 0,this),r0.jsxDEV(uq,{children:[M.map((F,R)=>{let T=`${F.model}::${F.provider}`,z=H.get(T)?.data??[],L=Y5[R%Y5.length],P=q===T,I=F.totalNegation+F.totalRepetition+F.totalBlame,A=F.totalYelling+F.totalProfanity+F.totalAnguish+I;return r0.jsxDEV(dq,{gridTemplate:M_,isExpanded:P,onToggle:()=>Y(P?null:T),cells:[r0.jsxDEV(mq,{model:F.model,provider:F.provider},"name",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:W_(F.totalMessages)},"messages",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(F.totalYelling,F.totalMessages)},"caps",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(F.totalProfanity,F.totalMessages)},"profanity",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(F.totalAnguish,F.totalMessages)},"anguish",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(I,F.totalMessages)},"frustration",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(A,F.totalMessages)},"hits",!1,void 0,this)],trendCell:z.length===0?r0.jsxDEV(pq,{},void 0,!1,void 0,this):r0.jsxDEV(yq,{timestamps:z.map((C)=>C.timestamp),values:z.map((C)=>C.total),color:L},void 0,!1,void 0,this),expandedContent:r0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"220px 1fr"},children:[r0.jsxDEV("div",{className:"space-y-4 text-sm",children:[r0.jsxDEV(I$,{label:"Yelling (CAPS)",total:F.totalYelling,messages:F.totalMessages,valueClass:"text-[var(--accent-amber,#fbbf24)]"},void 0,!1,void 0,this),r0.jsxDEV(I$,{label:"Profanity",total:F.totalProfanity,messages:F.totalMessages,valueClass:"text-[var(--accent-red,#f87171)]"},void 0,!1,void 0,this),r0.jsxDEV(I$,{label:"Anguish (!!!, nooo, dude, ..)",total:F.totalAnguish,messages:F.totalMessages,valueClass:"text-[var(--accent-violet,#a78bfa)]"},void 0,!1,void 0,this),r0.jsxDEV(I$,{label:"Negation (no/nope/wrong)",total:F.totalNegation,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(I$,{label:"Repetition (i meant, still doesnt)",total:F.totalRepetition,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(I$,{label:"Blame (you didnt, stop X-ing)",total:F.totalBlame,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(I$,{label:"Avg chars / msg",total:F.totalChars,messages:F.totalMessages,valueClass:"text-[var(--text-secondary)]",mode:"average"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"h-[200px]",children:z.length===0?r0.jsxDEV(cq,{},void 0,!1,void 0,this):r0.jsxDEV(ij,{data:z,chartTheme:K},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},T,!1,void 0,this)}),M.length===0?r0.jsxDEV("div",{className:"border-t border-[var(--border-subtle)] px-5 py-8 text-center text-[var(--text-muted)] text-sm",children:"No user behavior recorded for this range yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function I$({label:Q,total:J,messages:q,valueClass:Y,mode:U="rate"}){let K=U==="rate"?"% of msgs":"Per msg",H=q>0?U==="rate"?t9(J,q):(J/q).toFixed(0):"-";return r0.jsxDEV("div",{children:[r0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:Q},void 0,!1,void 0,this),r0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:"Total"},void 0,!1,void 0,this),r0.jsxDEV("span",{className:`font-mono ${Y}`,children:W_(J)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:K},void 0,!1,void 0,this),r0.jsxDEV("span",{className:"font-mono",children:H},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function ij({data:Q,chartTheme:J}){let q={labels:Q.map((U)=>u4(new Date(U.timestamp),"MMM d")),datasets:[{label:"CAPS",data:Q.map((U)=>U.yelling),...U6(lq.yelling)},{label:"Profanity",data:Q.map((U)=>U.profanity),...U6(lq.profanity)},{label:"Anguish",data:Q.map((U)=>U.anguish),...U6(lq.anguish)},{label:"Frustration",data:Q.map((U)=>U.frustration),...U6(lq.frustration)}]},Y={responsive:!0,maintainAspectRatio:!1,plugins:gq(J),scales:B_(J)};return r0.jsxDEV(E4,{data:q,options:Y},void 0,!1,void 0,this)}function tj(Q){if(Q.length===0)return new Map;let J=[...new Set(Q.map((U)=>U.timestamp))].sort((U,K)=>U-K),q=new Map;for(let U of Q){let K=`${U.model}::${U.provider}`,H=q.get(K);if(!H)H=new Map,q.set(K,H);let M=H.get(U.timestamp)??{timestamp:U.timestamp,yelling:0,profanity:0,anguish:0,frustration:0,total:0};M.yelling+=U.yelling,M.profanity+=U.profanity,M.anguish+=U.anguish,M.frustration+=U.negation+U.repetition+U.blame,M.total=M.yelling+M.profanity+M.anguish+M.frustration,H.set(U.timestamp,M)}let Y=new Map;for(let[U,K]of q){let H=J.map((M)=>K.get(M)??{timestamp:M,yelling:0,profanity:0,anguish:0,frustration:0,total:0});Y.set(U,{data:H})}return Y}var R_=R0(e1(),1),$7=R0(G1(),1);function e9(Q){return Q.toLocaleString()}function sq(Q,J){if(J<=0)return;return`${(Q/J).toFixed(2)} / msg`}function T_({overall:Q,behaviorSeries:J}){let q=R_.useMemo(()=>{let H=new Map;for(let F of J){let R=`${F.model}::${F.provider}`,T=H.get(R),z=F.yelling+F.profanity+F.anguish+F.negation+F.repetition+F.blame;if(T)T.score+=z;else H.set(R,{model:F.model,provider:F.provider,score:z})}let M=null;for(let F of H.values())if(!M||F.score>M.score)M=F;return M},[J]),Y=Q.totalNegation+Q.totalRepetition+Q.totalBlame,U=Q.totalMessages,K=[{label:"Messages",value:e9(Q.totalMessages),sub:U>0?"in selected range":void 0},{label:"Yelling",value:e9(Q.totalYelling),sub:sq(Q.totalYelling,U)},{label:"Profanity hits",value:e9(Q.totalProfanity),sub:sq(Q.totalProfanity,U)},{label:"Anguish",value:e9(Q.totalAnguish),sub:sq(Q.totalAnguish,U)},{label:"Frustration",value:e9(Y),sub:sq(Y,U)},{label:"Most yelled-at",value:q?.model??"—",sub:q?`${e9(q.score)} hits`:void 0}];return $7.jsxDEV("div",{className:"grid grid-cols-2 sm:grid-cols-6 gap-4",children:K.map((H)=>$7.jsxDEV("div",{className:"surface px-4 py-3",children:[$7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:H.label},void 0,!1,void 0,this),$7.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:H.value,children:H.value},void 0,!1,void 0,this),H.sub&&$7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:H.sub},void 0,!1,void 0,this)]},H.label,!0,void 0,this))},void 0,!1,void 0,this)}var L_=R0(e1(),1);var nN=3600000,nq=24*nN,z_={"1h":{windowLabel:"the last hour",trendLabel:"1h Trend",bucketMs:nN,bucketCount:1,tickFormat:"HH:mm"},"24h":{windowLabel:"the last 24 hours",trendLabel:"24h Trend",bucketMs:nN,bucketCount:24,tickFormat:"HH:mm"},"7d":{windowLabel:"the last 7 days",trendLabel:"7d Trend",bucketMs:nq,bucketCount:7,tickFormat:"MMM d"},"30d":{windowLabel:"the last 30 days",trendLabel:"30d Trend",bucketMs:nq,bucketCount:30,tickFormat:"MMM d"},"90d":{windowLabel:"the last 90 days",trendLabel:"90d Trend",bucketMs:nq,bucketCount:90,tickFormat:"MMM d"},all:{windowLabel:"all time",trendLabel:"Trend",bucketMs:nq,bucketCount:0,tickFormat:"MMM d"}};function oq(Q){return z_[Q]}function __(Q,J){return u4(new Date(Q),z_[J].tickFormat)}var N6=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,V8,_8,p9);var aq=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],ej={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function V_({modelSeries:Q,timeRange:J}){let q=L_.useMemo(()=>$A(Q),[Q]),Y=E8(),U=ej[Y],K=oq(J),H={labels:q.data.map((F)=>__(F.timestamp,J)),datasets:q.series.map((F,R)=>({label:F,data:q.data.map((T)=>T[F]??0),borderColor:aq[R%aq.length],backgroundColor:`${aq[R%aq.length]}20`,fill:!0,tension:0.4,pointRadius:0,pointHoverRadius:4,borderWidth:2}))},M={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{position:"top",align:"start",labels:{color:U.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:U.tooltipBackground,titleColor:U.tooltipTitle,bodyColor:U.tooltipBody,borderColor:U.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(F)=>{let R=F.dataset.label??"",T=F.parsed.y;return`${R}: ${(T??0).toFixed(1)}%`}}}},scales:{x:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11}}},y:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11},callback:(F)=>`${F}%`},min:0,max:100}}};return N6.jsxDEV("div",{className:"surface overflow-hidden",children:[N6.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[N6.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:"Model Preference"},void 0,!1,void 0,this),N6.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:["Share of requests over ",K.windowLabel]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),N6.jsxDEV("div",{className:"p-5 min-h-[320px]",children:q.data.length===0?N6.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:"No data available"},void 0,!1,void 0,this):N6.jsxDEV("div",{className:"h-[280px]",children:N6.jsxDEV(E4,{data:H,options:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function $A(Q,J=5){if(Q.length===0)return{data:[],series:[]};let q=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,P=q.get(L);if(P)P.total+=z.requests;else q.set(L,{model:z.model,provider:z.provider,total:z.requests})}let U=[...q.entries()].map(([z,L])=>({key:z,...L})).sort((z,L)=>L.total-z.total).slice(0,J),K=new Set(U.map((z)=>z.key)),H=new Map;for(let z of U)H.set(z.model,(H.get(z.model)??0)+1);let M=new Map;for(let z of U){let L=(H.get(z.model)??0)>1;M.set(z.key,L?`${z.model} (${z.provider})`:z.model)}let F=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,P=F.get(z.timestamp)??{timestamp:z.timestamp,total:0};P.total+=z.requests;let I=K.has(L)?M.get(L)??z.model:"Other";P[I]=(P[I]??0)+z.requests,F.set(z.timestamp,P)}let R=U.map((z)=>M.get(z.key)??z.model);if([...F.values()].some((z)=>(z.Other??0)>0))R.push("Other");return{data:[...F.values()].sort((z,L)=>(z.timestamp??0)-(L.timestamp??0)).map((z)=>{let L=z.total??0;for(let P of R)z[P]=L>0?(z[P]??0)/L*100:0;return z}),series:R}}var tq=R0(e1(),1);var iq=R0(G1(),1);P5.register(h4,x4,QQ,u5,g4,L8,V8,_8,p9);var ZA={dark:"rgba(248, 250, 252, 0.7)",light:"rgba(15, 23, 42, 0.6)"};function QA(Q){return{id:"costBarLabels",afterDatasetsDraw(J){let{ctx:q}=J;if(!J.data.datasets[0])return;let U=J.getDatasetMeta(0);q.save(),q.font="11px system-ui, sans-serif",q.fillStyle=Q,q.textAlign="center",q.textBaseline="bottom";for(let K of U.data){let H=K.$context.parsed.y;if(!H)continue;let M=`$${Math.round(H)}`,{x:F,y:R}=K.getProps(["x","y"],!0);q.fillText(M,F,R-3)}q.restore()}}}function GA(Q){return jq(Q,"Cost",{initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function JA(Q){return Aq(Q,{rankWeight:(J)=>J.cost,initBucket:()=>({total:0}),accumulate:(J,q)=>{J.total+=q.cost},bucketToValue:(J)=>J.total})}function E_({costSeries:Q}){let[J,q]=tq.useState(!1),Y=E8(),U=Pq[Y],K=tq.useMemo(()=>J?JA(Q):GA(Q),[Q,J]),H=Cq({chartTheme:U,showLegend:J,defaultLabel:"Cost",formatValue:(T)=>`$${Math.round(T)}`,footer:(T)=>{if(!J||T.length<2)return;let z=T.reduce((L,P)=>L+(P.parsed.y??0),0);return`Total: $${Math.round(z)}`}}),{sharedScaleBase:M,yScale:F}=Iq({chartTheme:U,formatY:(T)=>`$${Math.round(T)}`}),R;if(J){let T={labels:K.labels,datasets:o9(K,(L)=>Oq(Y5[L%Y5.length]))};R=iq.jsxDEV(E4,{data:T,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:H,scales:{x:M,y:F}}},void 0,!1,void 0,this)}else{let T={labels:K.labels,datasets:o9(K,(P)=>Dq(Y5[P%Y5.length]))},z=QA(ZA[Y]),L={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{...H,costBarLabels:{}},scales:{x:{...M,stacked:!0},y:{...F,stacked:!0}},layout:{padding:{top:24}}};R=iq.jsxDEV(Tq,{data:T,options:L,plugins:[z]},void 0,!1,void 0,this)}return iq.jsxDEV(Sq,{title:"Daily Cost",subtitle:"API spending over time",empty:K.labels.length===0,emptyMessage:"No cost data available",byModel:J,onByModelChange:q,children:R},void 0,!1,void 0,this)}var Z7=R0(G1(),1);function oN(Q){return`$${Math.round(Q)}`}function P_({costSeries:Q}){let J=Q.reduce((F,R)=>F+R.cost,0),q=new Set(Q.map((F)=>F.timestamp)).size,Y=q>0?J/q:0,U=new Map;for(let F of Q)U.set(F.model,(U.get(F.model)??0)+F.cost);let K="",H=0;for(let[F,R]of U)if(R>H)K=F,H=R;let M=[{label:"Total",value:oN(J)},{label:"Avg / day",value:oN(Y)},{label:"Top model",value:K||"—",sub:K?oN(H):void 0}];return Z7.jsxDEV("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:M.map((F)=>Z7.jsxDEV("div",{className:"surface px-4 py-3",children:[Z7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:F.label},void 0,!1,void 0,this),Z7.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:F.value,children:F.value},void 0,!1,void 0,this),F.sub&&Z7.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:F.sub},void 0,!1,void 0,this)]},F.label,!0,void 0,this))},void 0,!1,void 0,this)}var C5=R0(G1(),1),qA=["overview","requests","errors","models","costs","behavior"],XA=[{label:"1h",value:"1h"},{label:"24h",value:"24h"},{label:"7d",value:"7d"},{label:"30d",value:"30d"},{label:"90d",value:"90d"},{label:"All",value:"all"}];function C_({activeTab:Q,onTabChange:J,onSync:q,syncing:Y,timeRange:U,onTimeRangeChange:K}){return C5.jsxDEV("header",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-6 mb-8 border-b border-[var(--border-subtle)]",children:[C5.jsxDEV("div",{className:"flex items-center gap-3",children:[C5.jsxDEV("div",{className:"w-10 h-10 rounded-[var(--radius-md)] bg-gradient-to-br from-[var(--accent-pink)] to-[var(--accent-cyan)] flex items-center justify-center shadow-lg",children:C5.jsxDEV(E$,{className:"w-5 h-5 text-white"},void 0,!1,void 0,this)},void 0,!1,void 0,this),C5.jsxDEV("div",{children:[C5.jsxDEV("h1",{className:"text-xl font-semibold text-[var(--text-primary)]",children:"AI Usage"},void 0,!1,void 0,this),C5.jsxDEV("p",{className:"text-sm text-[var(--text-muted)]",children:"Statistics & Analytics"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C5.jsxDEV("div",{className:"flex items-center gap-3",children:[C5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:qA.map((H)=>C5.jsxDEV("button",{type:"button",onClick:()=>J(H),className:`tab-btn capitalize ${Q===H?"active":""}`,children:H},H,!1,void 0,this))},void 0,!1,void 0,this),C5.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:XA.map((H)=>C5.jsxDEV("button",{type:"button",onClick:()=>K(H.value),className:`tab-btn ${U===H.value?"active":""}`,title:H.value==="all"?"All time":`Last ${H.label}`,children:H.label},H.value,!1,void 0,this))},void 0,!1,void 0,this),C5.jsxDEV("button",{type:"button",onClick:q,disabled:Y,className:"btn btn-primary",children:[C5.jsxDEV(WQ,{size:16,className:Y?"spin":""},void 0,!1,void 0,this),Y?"Syncing...":"Sync"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var eq=R0(e1(),1);var s0=R0(G1(),1);P5.register(h4,x4,g4,u5,L8,V8,_8);var I_="2fr 0.9fr 0.9fr 1fr 0.8fr 0.8fr 140px 40px";function O_({models:Q,performanceSeries:J,timeRange:q}){let[Y,U]=eq.useState(null),K=oq(q),H=eq.useMemo(()=>UA(J,K.bucketCount,K.bucketMs),[J,K.bucketCount,K.bucketMs]),M=E8(),F=fq[M],R=[...Q].sort((T,z)=>z.totalInputTokens+z.totalOutputTokens-(T.totalInputTokens+T.totalOutputTokens));return s0.jsxDEV(hq,{title:"Model Statistics",children:[s0.jsxDEV(xq,{gridTemplate:I_,columns:[{label:"Model"},{label:"Requests",align:"right"},{label:"Cost",align:"right"},{label:"Tokens",align:"right"},{label:"Tokens/s",align:"right"},{label:"TTFT",align:"right"},{label:K.trendLabel,align:"center"}]},void 0,!1,void 0,this),s0.jsxDEV(uq,{children:R.map((T,z)=>{let L=`${T.model}::${T.provider}`,I=H.get(L)?.data??[],A=Y5[z%Y5.length],C=Y===L,g=T.errorRate*100;return s0.jsxDEV(dq,{gridTemplate:I_,isExpanded:C,onToggle:()=>U(C?null:L),cells:[s0.jsxDEV(mq,{model:T.model,provider:T.provider},"name",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.totalRequests.toLocaleString()},"requests",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:["$",T.totalCost.toFixed(2)]},"cost",!0,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:(T.totalInputTokens+T.totalOutputTokens).toLocaleString()},"tokens",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.avgTokensPerSecond?.toFixed(1)??"-"},"tps",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:T.avgTtft?`${(T.avgTtft/1000).toFixed(2)}s`:"-"},"ttft",!1,void 0,this)],trendCell:I.length===0?s0.jsxDEV(pq,{},void 0,!1,void 0,this):s0.jsxDEV(yq,{timestamps:I.map((m)=>m.timestamp),values:I.map((m)=>m.avgTokensPerSecond??0),color:A},void 0,!1,void 0,this),expandedContent:s0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"200px 1fr"},children:[s0.jsxDEV("div",{className:"space-y-4 text-sm",children:[s0.jsxDEV("div",{children:[s0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Quality"},void 0,!1,void 0,this),s0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Error rate"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:g>5?"text-[var(--accent-red)]":"text-[var(--accent-green)]",children:[g.toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Cache rate"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"text-[var(--accent-cyan)]",children:[(T.cacheRate*100).toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{children:[s0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Latency"},void 0,!1,void 0,this),s0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Avg duration"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"font-mono",children:T.avgDuration?`${(T.avgDuration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Avg TTFT"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"font-mono",children:T.avgTtft?`${(T.avgTtft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"h-[200px]",children:I.length===0?s0.jsxDEV(cq,{},void 0,!1,void 0,this):s0.jsxDEV(YA,{data:I,color:A,chartTheme:F},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},L,!1,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function YA({data:Q,color:J,chartTheme:q}){let Y={labels:Q.map((K)=>u4(new Date(K.timestamp),"MMM d")),datasets:[{label:"TTFT",data:Q.map((K)=>K.avgTtftSeconds??null),...U6("#fbbf24"),yAxisID:"y"},{label:"Tokens/s",data:Q.map((K)=>K.avgTokensPerSecond??null),...U6(J),yAxisID:"y1"}]},U={responsive:!0,maintainAspectRatio:!1,plugins:gq(q),scales:H_(q)};return s0.jsxDEV(E4,{data:Y,options:U},void 0,!1,void 0,this)}function UA(Q,J,q){let Y=Q.reduce((z,L)=>Math.max(z,L.timestamp),0),U=Y>0?Y:Math.floor(Date.now()/q)*q,K=new Set(Q.map((z)=>z.timestamp)),H=J>0?J:Math.max(1,K.size),M=U-(H-1)*q,F=Array.from({length:H},(z,L)=>M+L*q),R=new Map(F.map((z,L)=>[z,L])),T=new Map;for(let z of Q){let L=`${z.model}::${z.provider}`,P=T.get(L);if(!P)P={label:`${z.model} (${z.provider})`,data:F.map((A)=>({timestamp:A,avgTtftSeconds:null,avgTokensPerSecond:null,requests:0}))},T.set(L,P);let I=R.get(z.timestamp);if(I===void 0)continue;P.data[I]={timestamp:z.timestamp,avgTtftSeconds:z.avgTtft!==null?z.avgTtft/1000:null,avgTokensPerSecond:z.avgTokensPerSecond,requests:z.requests}}return T}var zQ=R0(e1(),1);var X0=R0(G1(),1);function D_({id:Q,onClose:J}){let[q,Y]=zQ.useState(null),[U,K]=zQ.useState(!0);if(zQ.useEffect(()=>{ow(Q).then(Y).catch(console.error).finally(()=>K(!1))},[Q]),!q&&U)return X0.jsxDEV("div",{className:"fixed inset-0 bg-[var(--bg-overlay)] flex justify-center items-center z-[100]",children:X0.jsxDEV("div",{className:"surface px-8 py-6",children:X0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-secondary)]",children:[X0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),X0.jsxDEV("span",{children:"Loading..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!q)return null;return X0.jsxDEV("div",{role:"presentation",className:"fixed inset-0 bg-[var(--bg-overlay)] backdrop-blur-sm flex justify-end z-[100] animate-fade-in",onClick:J,children:X0.jsxDEV("div",{role:"dialog","aria-modal":"true",className:"w-[600px] max-w-full bg-[var(--bg-page)] h-full overflow-y-auto border-l border-[var(--border-subtle)] animate-slide-up",onClick:(H)=>H.stopPropagation(),children:[X0.jsxDEV("div",{className:"sticky top-0 bg-[var(--bg-page)]/95 backdrop-blur border-b border-[var(--border-subtle)] px-6 py-4 flex justify-between items-center z-10",children:[X0.jsxDEV("div",{className:"flex items-center gap-3",children:[X0.jsxDEV("div",{className:"w-8 h-8 rounded-[var(--radius-sm)] bg-gradient-to-br from-[var(--accent-pink)]/20 to-[var(--accent-cyan)]/20 flex items-center justify-center",children:X0.jsxDEV(T2,{size:16,className:"text-[var(--accent-cyan)]"},void 0,!1,void 0,this)},void 0,!1,void 0,this),X0.jsxDEV("h2",{className:"text-lg font-semibold text-[var(--text-primary)]",children:"Request Details"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("button",{type:"button",onClick:J,className:"p-2 rounded-[var(--radius-sm)] text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:bg-[var(--bg-hover)] transition-colors",children:X0.jsxDEV(TQ,{size:20},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"p-6 space-y-6",children:[X0.jsxDEV("div",{className:"surface p-5",children:X0.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[X0.jsxDEV("div",{children:[X0.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)]",children:q.model},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"text-sm text-[var(--text-muted)]",children:q.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),q.errorMessage?X0.jsxDEV("span",{className:"badge badge-error",children:"Error"},void 0,!1,void 0,this):X0.jsxDEV("span",{className:"badge badge-success",children:"Success"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(KQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Cost"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:["$",q.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(P$,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Premium Reqs"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:(q.usage.premiumRequests??0).toLocaleString()},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(FQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Tokens"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1",children:[q.usage.input.toLocaleString()," in · ",q.usage.output.toLocaleString()," out"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(NQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Duration"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.duration?`${(q.duration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(C$,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"TTFT"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:q.ttft?`${(q.ttft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),q.duration&&q.usage.output>0&&X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center justify-between",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)]",children:[X0.jsxDEV(MQ,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Throughput"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("span",{className:"text-2xl font-bold gradient-text",children:(q.usage.output*1000/q.duration).toFixed(1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1 text-right",children:"tokens/second"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{children:[X0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Output"},void 0,!1,void 0,this),X0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-sm font-mono text-[var(--text-secondary)] overflow-x-auto",children:JSON.stringify(q.output,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{children:[X0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Raw Metadata"},void 0,!1,void 0,this),X0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-xs font-mono text-[var(--text-muted)] overflow-x-auto",children:JSON.stringify(q,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var B1=R0(G1(),1);function _Q({requests:Q,onSelect:J,title:q}){return B1.jsxDEV("div",{className:"surface overflow-hidden flex flex-col h-full",children:[B1.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:B1.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:q},void 0,!1,void 0,this)},void 0,!1,void 0,this),B1.jsxDEV("div",{className:"overflow-auto flex-1",children:B1.jsxDEV("table",{className:"w-full",children:[B1.jsxDEV("thead",{className:"bg-[var(--bg-elevated)] sticky top-0 z-10",children:B1.jsxDEV("tr",{children:[B1.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Model"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Time"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Tokens"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Cost"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Duration"},void 0,!1,void 0,this),B1.jsxDEV("th",{className:"text-center py-3 px-4 table-header",children:"Status"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),B1.jsxDEV("tbody",{children:[Q.map((Y)=>B1.jsxDEV("tr",{onClick:()=>J(Y),className:"table-row cursor-pointer border-b border-[var(--border-subtle)] last:border-b-0",children:[B1.jsxDEV("td",{className:"py-3 px-4",children:[B1.jsxDEV("div",{className:"font-medium text-[var(--text-primary)] text-sm",children:Y.model},void 0,!1,void 0,this),B1.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:Y.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-sm text-[var(--text-secondary)]",children:Z_(Y.timestamp,{addSuffix:!0})},void 0,!1,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:["$",Y.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.duration?`${(Y.duration/1000).toFixed(1)}s`:"-"},void 0,!1,void 0,this),B1.jsxDEV("td",{className:"py-3 px-4 text-center",children:Y.errorMessage?B1.jsxDEV(R2,{size:16,className:"text-[var(--accent-red)] mx-auto"},void 0,!1,void 0,this):B1.jsxDEV(w2,{size:16,className:"text-[var(--accent-green)] mx-auto"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},`${Y.sessionFile}-${Y.entryId}`,!0,void 0,this)),Q.length===0&&B1.jsxDEV("tr",{children:B1.jsxDEV("td",{colSpan:6,className:"py-12 text-center text-[var(--text-muted)] text-sm",children:"No requests found"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var K6=R0(G1(),1),NA=new Intl.NumberFormat(void 0,{notation:"compact",maximumFractionDigits:1});function j_(Q){return NA.format(Q)}function aN(Q){return Q.toLocaleString()}var LQ=(Q)=>Q.totalInputTokens+Q.totalOutputTokens,KA=[{key:"requests",title:"Total Requests",icon:wQ,color:"var(--accent-violet)",getValue:(Q)=>Q.totalRequests.toLocaleString(),getDetail:(Q)=>`${Q.successfulRequests.toLocaleString()} success · ${Q.failedRequests.toLocaleString()} errors`},{key:"cost",title:"Total Cost",icon:E$,color:"var(--accent-pink)",getValue:(Q)=>`$${Q.totalCost.toFixed(2)}`,getDetail:(Q)=>Q.totalRequests>0?`$${(Q.totalCost/Q.totalRequests).toFixed(4)} avg/req`:"-"},{key:"premiumRequests",title:"Premium Reqs",icon:P$,color:"var(--accent-amber)",getValue:(Q)=>aN(Q.totalPremiumRequests),getDetail:(Q)=>Q.totalRequests>0?`${(Q.totalPremiumRequests/Q.totalRequests*100).toFixed(1)}% of requests`:"-"},{key:"cache",title:"Cache Rate",icon:BQ,color:"var(--accent-cyan)",getValue:(Q)=>`${(Q.cacheRate*100).toFixed(1)}%`,getDetail:(Q)=>`${j_(Q.totalCacheReadTokens)} cached tokens`},{key:"inputTokens",title:"Input Tokens",icon:HQ,color:"var(--accent-violet)",getValue:(Q)=>aN(Q.totalInputTokens),getDetail:(Q)=>LQ(Q)>0?`${(Q.totalInputTokens/LQ(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"outputTokens",title:"Output Tokens",icon:RQ,color:"var(--accent-pink)",getValue:(Q)=>aN(Q.totalOutputTokens),getDetail:(Q)=>LQ(Q)>0?`${(Q.totalOutputTokens/LQ(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"errors",title:"Error Rate",icon:W2,color:"var(--accent-red)",getValue:(Q)=>`${(Q.errorRate*100).toFixed(1)}%`,getDetail:(Q)=>`${Q.failedRequests.toLocaleString()} failed requests`},{key:"tokens",title:"Tokens/Sec",icon:F2,color:"var(--accent-green)",getValue:(Q)=>Q.avgTokensPerSecond?.toFixed(1)??"-",getDetail:(Q)=>`${j_(LQ(Q))} total prompt+completion`},{key:"ttft",title:"TTFT",icon:C$,color:"var(--accent-amber)",getValue:(Q)=>Q.avgTtft?`${(Q.avgTtft/1000).toFixed(2)}s`:"-",getDetail:()=>"Time to first token"}];function A_({stats:Q}){return K6.jsxDEV("div",{className:"grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-9 gap-4 mb-8",children:KA.map((J)=>{let q=J.icon;return K6.jsxDEV("div",{className:"stat-card group",children:[K6.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[K6.jsxDEV("span",{className:"text-sm font-medium text-[var(--text-secondary)]",children:J.title},void 0,!1,void 0,this),K6.jsxDEV("div",{className:"p-2 rounded-[var(--radius-sm)] transition-colors",style:{backgroundColor:`${J.color}15`},children:K6.jsxDEV(q,{size:18,style:{color:J.color},className:"transition-transform group-hover:scale-110"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),K6.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)] mb-1",children:J.getValue(Q)},void 0,!1,void 0,this),K6.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] truncate",children:J.getDetail(Q)},void 0,!1,void 0,this)]},J.key,!0,void 0,this)})},void 0,!1,void 0,this)}var m0=R0(G1(),1);function iN(){let[Q,J]=U5.useState(null),[q,Y]=U5.useState(null),[U,K]=U5.useState(null),[H,M]=U5.useState(null),[F,R]=U5.useState([]),[T,z]=U5.useState([]),[L,P]=U5.useState(null),[I,A]=U5.useState(!1),[C,g]=U5.useState("overview"),[m,o]=U5.useState("24h"),a=U5.useCallback(async()=>{try{let[p,i]=await Promise.all([sw(50),nw(50)]);R(p),z(i)}catch(p){console.error(p)}},[]),s=U5.useCallback(async()=>{try{if(C==="models"){Y(await lw(m));return}if(C==="costs"){K(await rw(m));return}if(C==="behavior"){M(await iw(m));return}if(C==="overview")J(await cw(m))}catch(p){console.error(p)}},[C,m]),Q0=async()=>{A(!0);try{await aw(),await Promise.all([s(),a()])}finally{A(!1)}};return U5.useEffect(()=>{a();let p=setInterval(a,30000);return()=>clearInterval(p)},[a]),U5.useEffect(()=>{s();let p=setInterval(s,30000);return()=>clearInterval(p)},[s]),m0.jsxDEV("div",{className:"min-h-screen",children:m0.jsxDEV("div",{className:"max-w-[1600px] mx-auto px-6 py-6",children:[m0.jsxDEV(C_,{activeTab:C,onTabChange:g,onSync:Q0,syncing:I,timeRange:m,onTimeRangeChange:o},void 0,!1,void 0,this),C==="overview"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:[Q?m0.jsxDEV(A_,{stats:Q.overall},void 0,!1,void 0,this):m0.jsxDEV($3,{label:"Loading overview..."},void 0,!1,void 0,this),m0.jsxDEV("div",{className:"grid lg:grid-cols-2 gap-6",children:[m0.jsxDEV(_Q,{title:"Recent Requests",requests:F.slice(0,10),onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this),m0.jsxDEV(_Q,{title:"Recent Errors",requests:T.slice(0,10),onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C==="requests"&&m0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:m0.jsxDEV(_Q,{title:"All Recent Requests",requests:F,onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="errors"&&m0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:m0.jsxDEV(_Q,{title:"Failed Requests",requests:T,onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="models"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:q?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(V_,{modelSeries:q.modelSeries,timeRange:m},void 0,!1,void 0,this),m0.jsxDEV(O_,{models:q.byModel,performanceSeries:q.modelPerformanceSeries,timeRange:m},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($3,{label:"Loading models..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="costs"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:U?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(P_,{costSeries:U.costSeries},void 0,!1,void 0,this),m0.jsxDEV(E_,{costSeries:U.costSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($3,{label:"Loading costs..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="behavior"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:H?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(T_,{overall:H.overall,behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this),m0.jsxDEV(q_,{behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this),m0.jsxDEV(w_,{models:H.byModel,behaviorSeries:H.behaviorSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($3,{label:"Loading behavior..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),L!==null&&m0.jsxDEV(D_,{id:L,onClose:()=>P(null)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function $3({label:Q}){return m0.jsxDEV("div",{className:"min-h-[180px] flex items-center justify-center",children:m0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-muted)]",children:[m0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),m0.jsxDEV("span",{className:"text-sm",children:Q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var v_=R0(G1(),1),BA=S_.createRoot(document.getElementById("root"));BA.render(v_.jsxDEV(iN,{},void 0,!1,void 0,this));
257
+ `);return Q}function Qj(Q,G){let{element:J,datasetIndex:Y,index:U}=G,B=Q.getDatasetMeta(Y).controller,{label:M,value:H}=B.getLabelAndValue(U);return{chart:Q,label:M,parsed:B.getParsed(U),raw:Q.data.datasets[Y].data[U],formattedValue:H,dataset:B.getDataset(),dataIndex:U,datasetIndex:Y,element:J}}function AL(Q,G){let J=Q.chart.ctx,{body:Y,footer:U,title:B}=Q,{boxWidth:M,boxHeight:H}=G,F=p5(G.bodyFont),z=p5(G.titleFont),L=p5(G.footerFont),V=B.length,T=U.length,P=Y.length,I=X8(G.padding),D=I.height,C=0,g=Y.reduce((i,s)=>i+s.before.length+s.lines.length+s.after.length,0);if(g+=Q.beforeBody.length+Q.afterBody.length,V)D+=V*z.lineHeight+(V-1)*G.titleSpacing+G.titleMarginBottom;if(g){let i=G.displayColors?Math.max(H,F.lineHeight):F.lineHeight;D+=P*i+(g-P)*F.lineHeight+(g-1)*G.bodySpacing}if(T)D+=G.footerMarginTop+T*L.lineHeight+(T-1)*G.footerSpacing;let m=0,o=function(i){C=Math.max(C,J.measureText(i).width+m)};return J.save(),J.font=z.string,X5(Q.title,o),J.font=F.string,X5(Q.beforeBody.concat(Q.afterBody),o),m=G.displayColors?M+2+G.boxPadding:0,X5(Y,(i)=>{X5(i.before,o),X5(i.lines,o),X5(i.after,o)}),m=0,J.font=L.string,X5(Q.footer,o),J.restore(),C+=I.width,{width:C,height:D}}function qj(Q,G){let{y:J,height:Y}=G;if(J<Y/2)return"top";else if(J>Q.height-Y/2)return"bottom";return"center"}function Gj(Q,G,J,Y){let{x:U,width:B}=Y,M=J.caretSize+J.caretPadding;if(Q==="left"&&U+B+M>G.width)return!0;if(Q==="right"&&U-B-M<0)return!0}function Jj(Q,G,J,Y){let{x:U,width:B}=J,{width:M,chartArea:{left:H,right:F}}=Q,z="center";if(Y==="center")z=U<=(H+F)/2?"left":"right";else if(U<=B/2)z="left";else if(U>=M-B/2)z="right";if(Gj(z,Q,G,J))z="center";return z}function DL(Q,G,J){let Y=J.yAlign||G.yAlign||qj(Q,J);return{xAlign:J.xAlign||G.xAlign||Jj(Q,G,J,Y),yAlign:Y}}function Xj(Q,G){let{x:J,width:Y}=Q;if(G==="right")J-=Y;else if(G==="center")J-=Y/2;return J}function Yj(Q,G,J){let{y:Y,height:U}=Q;if(G==="top")Y+=J;else if(G==="bottom")Y-=U+J;else Y-=U/2;return Y}function SL(Q,G,J,Y){let{caretSize:U,caretPadding:B,cornerRadius:M}=Q,{xAlign:H,yAlign:F}=J,z=U+B,{topLeft:L,topRight:V,bottomLeft:T,bottomRight:P}=B4(M),I=Xj(G,H),D=Yj(G,F,z);if(F==="center"){if(H==="left")I+=z;else if(H==="right")I-=z}else if(H==="left")I-=Math.max(L,T)+U;else if(H==="right")I+=Math.max(V,P)+U;return{x:y8(I,0,Y.width-G.width),y:y8(D,0,Y.height-G.height)}}function B2(Q,G,J){let Y=X8(J.padding);return G==="center"?Q.x+Q.width/2:G==="right"?Q.x+Q.width-Y.right:Q.x+Y.left}function vL(Q){return L$([],G6(Q))}function Uj(Q,G,J){return Q6(Q,{tooltip:G,tooltipItems:J,type:"tooltip"})}function kL(Q,G){let J=G&&G.dataset&&G.dataset.tooltip&&G.dataset.tooltip.callbacks;return J?Q.override(J):Q}var MV={beforeTitle:z$,title(Q){if(Q.length>0){let G=Q[0],J=G.chart.data.labels,Y=J?J.length:0;if(this&&this.options&&this.options.mode==="dataset")return G.dataset.label||"";else if(G.label)return G.label;else if(Y>0&&G.dataIndex<Y)return J[G.dataIndex]}return""},afterTitle:z$,beforeBody:z$,beforeLabel:z$,label(Q){if(this&&this.options&&this.options.mode==="dataset")return Q.label+": "+Q.formattedValue||Q.formattedValue;let G=Q.dataset.label||"";if(G)G+=": ";let J=Q.formattedValue;if(!t0(J))G+=J;return G},labelColor(Q){let J=Q.chart.getDatasetMeta(Q.datasetIndex).controller.getStyle(Q.dataIndex);return{borderColor:J.borderColor,backgroundColor:J.backgroundColor,borderWidth:J.borderWidth,borderDash:J.borderDash,borderDashOffset:J.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(Q){let J=Q.chart.getDatasetMeta(Q.datasetIndex).controller.getStyle(Q.dataIndex);return{pointStyle:J.pointStyle,rotation:J.rotation}},afterLabel:z$,afterBody:z$,beforeFooter:z$,footer:z$,afterFooter:z$};function x8(Q,G,J,Y){let U=Q[G].call(J,Y);if(typeof U>"u")return MV[G].call(J,Y);return U}class SK extends J6{static positioners=aQ;constructor(Q){super();this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=Q.chart,this.options=Q.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(Q){this.options=Q,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){let Q=this._cachedAnimations;if(Q)return Q;let G=this.chart,J=this.options.setContext(this.getContext()),Y=J.enabled&&G.options.animation&&J.animations,U=new bK(this.chart,Y);if(Y._cacheable)this._cachedAnimations=Object.freeze(U);return U}getContext(){return this.$context||(this.$context=Uj(this.chart.getContext(),this,this._tooltipItems))}getTitle(Q,G){let{callbacks:J}=G,Y=x8(J,"beforeTitle",this,Q),U=x8(J,"title",this,Q),B=x8(J,"afterTitle",this,Q),M=[];return M=L$(M,G6(Y)),M=L$(M,G6(U)),M=L$(M,G6(B)),M}getBeforeBody(Q,G){return vL(x8(G.callbacks,"beforeBody",this,Q))}getBody(Q,G){let{callbacks:J}=G,Y=[];return X5(Q,(U)=>{let B={before:[],lines:[],after:[]},M=kL(J,U);L$(B.before,G6(x8(M,"beforeLabel",this,U))),L$(B.lines,x8(M,"label",this,U)),L$(B.after,G6(x8(M,"afterLabel",this,U))),Y.push(B)}),Y}getAfterBody(Q,G){return vL(x8(G.callbacks,"afterBody",this,Q))}getFooter(Q,G){let{callbacks:J}=G,Y=x8(J,"beforeFooter",this,Q),U=x8(J,"footer",this,Q),B=x8(J,"afterFooter",this,Q),M=[];return M=L$(M,G6(Y)),M=L$(M,G6(U)),M=L$(M,G6(B)),M}_createItems(Q){let G=this._active,J=this.chart.data,Y=[],U=[],B=[],M=[],H,F;for(H=0,F=G.length;H<F;++H)M.push(Qj(this.chart,G[H]));if(Q.filter)M=M.filter((z,L,V)=>Q.filter(z,L,V,J));if(Q.itemSort)M=M.sort((z,L)=>Q.itemSort(z,L,J));return X5(M,(z)=>{let L=kL(Q.callbacks,z);Y.push(x8(L,"labelColor",this,z)),U.push(x8(L,"labelPointStyle",this,z)),B.push(x8(L,"labelTextColor",this,z))}),this.labelColors=Y,this.labelPointStyles=U,this.labelTextColors=B,this.dataPoints=M,M}update(Q,G){let J=this.options.setContext(this.getContext()),Y=this._active,U,B=[];if(!Y.length){if(this.opacity!==0)U={opacity:0}}else{let M=aQ[J.position].call(this,Y,this._eventPosition);B=this._createItems(J),this.title=this.getTitle(B,J),this.beforeBody=this.getBeforeBody(B,J),this.body=this.getBody(B,J),this.afterBody=this.getAfterBody(B,J),this.footer=this.getFooter(B,J);let H=this._size=AL(this,J),F=Object.assign({},M,H),z=DL(this.chart,J,F),L=SL(J,F,z,this.chart);this.xAlign=z.xAlign,this.yAlign=z.yAlign,U={opacity:1,x:L.x,y:L.y,width:H.width,height:H.height,caretX:M.x,caretY:M.y}}if(this._tooltipItems=B,this.$context=void 0,U)this._resolveAnimations().update(this,U);if(Q&&J.external)J.external.call(this,{chart:this.chart,tooltip:this,replay:G})}drawCaret(Q,G,J,Y){let U=this.getCaretPosition(Q,J,Y);G.lineTo(U.x1,U.y1),G.lineTo(U.x2,U.y2),G.lineTo(U.x3,U.y3)}getCaretPosition(Q,G,J){let{xAlign:Y,yAlign:U}=this,{caretSize:B,cornerRadius:M}=J,{topLeft:H,topRight:F,bottomLeft:z,bottomRight:L}=B4(M),{x:V,y:T}=Q,{width:P,height:I}=G,D,C,g,m,o,i;if(U==="center"){if(o=T+I/2,Y==="left")D=V,C=D-B,m=o+B,i=o-B;else D=V+P,C=D+B,m=o-B,i=o+B;g=D}else{if(Y==="left")C=V+Math.max(H,z)+B;else if(Y==="right")C=V+P-Math.max(F,L)-B;else C=this.caretX;if(U==="top")m=T,o=m-B,D=C-B,g=C+B;else m=T+I,o=m+B,D=C+B,g=C-B;i=m}return{x1:D,x2:C,x3:g,y1:m,y2:o,y3:i}}drawTitle(Q,G,J){let Y=this.title,U=Y.length,B,M,H;if(U){let F=W7(J.rtl,this.x,this.width);Q.x=B2(this,J.titleAlign,J),G.textAlign=F.textAlign(J.titleAlign),G.textBaseline="middle",B=p5(J.titleFont),M=J.titleSpacing,G.fillStyle=J.titleColor,G.font=B.string;for(H=0;H<U;++H)if(G.fillText(Y[H],F.x(Q.x),Q.y+B.lineHeight/2),Q.y+=B.lineHeight+M,H+1===U)Q.y+=J.titleMarginBottom-M}}_drawColorBox(Q,G,J,Y,U){let B=this.labelColors[J],M=this.labelPointStyles[J],{boxHeight:H,boxWidth:F}=U,z=p5(U.bodyFont),L=B2(this,"left",U),V=Y.x(L),T=H<z.lineHeight?(z.lineHeight-H)/2:0,P=G.y+T;if(U.usePointStyle){let I={radius:Math.min(F,H)/2,pointStyle:M.pointStyle,rotation:M.rotation,borderWidth:1},D=Y.leftForLtr(V,F)+F/2,C=P+H/2;Q.strokeStyle=U.multiKeyBackground,Q.fillStyle=U.multiKeyBackground,Q2(Q,I,D,C),Q.strokeStyle=B.borderColor,Q.fillStyle=B.backgroundColor,Q2(Q,I,D,C)}else{Q.lineWidth=n0(B.borderWidth)?Math.max(...Object.values(B.borderWidth)):B.borderWidth||1,Q.strokeStyle=B.borderColor,Q.setLineDash(B.borderDash||[]),Q.lineDashOffset=B.borderDashOffset||0;let I=Y.leftForLtr(V,F),D=Y.leftForLtr(Y.xPlus(V,1),F-2),C=B4(B.borderRadius);if(Object.values(C).some((g)=>g!==0))Q.beginPath(),Q.fillStyle=U.multiKeyBackground,d9(Q,{x:I,y:P,w:F,h:H,radius:C}),Q.fill(),Q.stroke(),Q.fillStyle=B.backgroundColor,Q.beginPath(),d9(Q,{x:D,y:P+1,w:F-2,h:H-2,radius:C}),Q.fill();else Q.fillStyle=U.multiKeyBackground,Q.fillRect(I,P,F,H),Q.strokeRect(I,P,F,H),Q.fillStyle=B.backgroundColor,Q.fillRect(D,P+1,F-2,H-2)}Q.fillStyle=this.labelTextColors[J]}drawBody(Q,G,J){let{body:Y}=this,{bodySpacing:U,bodyAlign:B,displayColors:M,boxHeight:H,boxWidth:F,boxPadding:z}=J,L=p5(J.bodyFont),V=L.lineHeight,T=0,P=W7(J.rtl,this.x,this.width),I=function(p){G.fillText(p,P.x(Q.x+T),Q.y+V/2),Q.y+=V+U},D=P.textAlign(B),C,g,m,o,i,s,Q0;G.textAlign=B,G.textBaseline="middle",G.font=L.string,Q.x=B2(this,D,J),G.fillStyle=J.bodyColor,X5(this.beforeBody,I),T=M&&D!=="right"?B==="center"?F/2+z:F+2+z:0;for(o=0,s=Y.length;o<s;++o){if(C=Y[o],g=this.labelTextColors[o],G.fillStyle=g,X5(C.before,I),m=C.lines,M&&m.length)this._drawColorBox(G,Q,o,P,J),V=Math.max(L.lineHeight,H);for(i=0,Q0=m.length;i<Q0;++i)I(m[i]),V=L.lineHeight;X5(C.after,I)}T=0,V=L.lineHeight,X5(this.afterBody,I),Q.y-=U}drawFooter(Q,G,J){let Y=this.footer,U=Y.length,B,M;if(U){let H=W7(J.rtl,this.x,this.width);Q.x=B2(this,J.footerAlign,J),Q.y+=J.footerMarginTop,G.textAlign=H.textAlign(J.footerAlign),G.textBaseline="middle",B=p5(J.footerFont),G.fillStyle=J.footerColor,G.font=B.string;for(M=0;M<U;++M)G.fillText(Y[M],H.x(Q.x),Q.y+B.lineHeight/2),Q.y+=B.lineHeight+J.footerSpacing}}drawBackground(Q,G,J,Y){let{xAlign:U,yAlign:B}=this,{x:M,y:H}=Q,{width:F,height:z}=J,{topLeft:L,topRight:V,bottomLeft:T,bottomRight:P}=B4(Y.cornerRadius);if(G.fillStyle=Y.backgroundColor,G.strokeStyle=Y.borderColor,G.lineWidth=Y.borderWidth,G.beginPath(),G.moveTo(M+L,H),B==="top")this.drawCaret(Q,G,J,Y);if(G.lineTo(M+F-V,H),G.quadraticCurveTo(M+F,H,M+F,H+V),B==="center"&&U==="right")this.drawCaret(Q,G,J,Y);if(G.lineTo(M+F,H+z-P),G.quadraticCurveTo(M+F,H+z,M+F-P,H+z),B==="bottom")this.drawCaret(Q,G,J,Y);if(G.lineTo(M+T,H+z),G.quadraticCurveTo(M,H+z,M,H+z-T),B==="center"&&U==="left")this.drawCaret(Q,G,J,Y);if(G.lineTo(M,H+L),G.quadraticCurveTo(M,H,M+L,H),G.closePath(),G.fill(),Y.borderWidth>0)G.stroke()}_updateAnimationTarget(Q){let G=this.chart,J=this.$animations,Y=J&&J.x,U=J&&J.y;if(Y||U){let B=aQ[Q.position].call(this,this._active,this._eventPosition);if(!B)return;let M=this._size=AL(this,Q),H=Object.assign({},B,this._size),F=DL(G,Q,H),z=SL(Q,H,F,G);if(Y._to!==z.x||U._to!==z.y)this.xAlign=F.xAlign,this.yAlign=F.yAlign,this.width=M.width,this.height=M.height,this.caretX=B.x,this.caretY=B.y,this._resolveAnimations().update(this,z)}}_willRender(){return!!this.opacity}draw(Q){let G=this.options.setContext(this.getContext()),J=this.opacity;if(!J)return;this._updateAnimationTarget(G);let Y={width:this.width,height:this.height},U={x:this.x,y:this.y};J=Math.abs(J)<0.001?0:J;let B=X8(G.padding),M=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;if(G.enabled&&M)Q.save(),Q.globalAlpha=J,this.drawBackground(U,Q,Y,G),BK(Q,G.textDirection),U.y+=B.top,this.drawTitle(U,Q,G),this.drawBody(U,Q,G),this.drawFooter(U,Q,G),NK(Q,G.textDirection),Q.restore()}getActiveElements(){return this._active||[]}setActiveElements(Q,G){let J=this._active,Y=Q.map(({datasetIndex:M,index:H})=>{let F=this.chart.getDatasetMeta(M);if(!F)throw Error("Cannot find a dataset at index "+M);return{datasetIndex:M,element:F.data[H],index:H}}),U=!hQ(J,Y),B=this._positionChanged(Y,G);if(U||B)this._active=Y,this._eventPosition=G,this._ignoreReplayEvents=!0,this.update(!0)}handleEvent(Q,G,J=!0){if(G&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;let Y=this.options,U=this._active||[],B=this._getActiveElements(Q,U,G,J),M=this._positionChanged(B,Q),H=G||!hQ(B,U)||M;if(H){if(this._active=B,Y.enabled||Y.external)this._eventPosition={x:Q.x,y:Q.y},this.update(!0,G)}return H}_getActiveElements(Q,G,J,Y){let U=this.options;if(Q.type==="mouseout")return[];if(!Y)return G.filter((M)=>this.chart.data.datasets[M.datasetIndex]&&this.chart.getDatasetMeta(M.datasetIndex).controller.getParsed(M.index)!==void 0);let B=this.chart.getElementsAtEventForMode(Q,U.mode,U,J);if(U.reverse)B.reverse();return B}_positionChanged(Q,G){let{caretX:J,caretY:Y,options:U}=this,B=aQ[U.position].call(this,Q,G);return B!==!1&&(J!==B.x||Y!==B.y)}}var E$={id:"tooltip",_element:SK,positioners:aQ,afterInit(Q,G,J){if(J)Q.tooltip=new SK({chart:Q,options:J})},beforeUpdate(Q,G,J){if(Q.tooltip)Q.tooltip.initialize(J)},reset(Q,G,J){if(Q.tooltip)Q.tooltip.initialize(J)},afterDraw(Q){let G=Q.tooltip;if(G&&G._willRender()){let J={tooltip:G};if(Q.notifyPlugins("beforeTooltipDraw",{...J,cancelable:!0})===!1)return;G.draw(Q.ctx),Q.notifyPlugins("afterTooltipDraw",J)}},afterEvent(Q,G){if(Q.tooltip){let J=G.replay;if(Q.tooltip.handleEvent(G.event,J,G.inChartArea))G.changed=!0}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(Q,G)=>G.bodyFont.size,boxWidth:(Q,G)=>G.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:MV},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:(Q)=>Q!=="filter"&&Q!=="itemSort"&&Q!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};var Kj=(Q,G,J,Y)=>{if(typeof G==="string")J=Q.push(G)-1,Y.unshift({index:J,label:G});else if(isNaN(G))J=null;return J};function Bj(Q,G,J,Y){let U=Q.indexOf(G);if(U===-1)return Kj(Q,G,J,Y);let B=Q.lastIndexOf(G);return U!==B?J:U}var Nj=(Q,G)=>Q===null?null:y8(Math.round(Q),0,G);function bL(Q){let G=this.getLabels();if(Q>=0&&Q<G.length)return G[Q];return Q}class x1 extends L7{static id="category";static defaults={ticks:{callback:bL}};constructor(Q){super(Q);this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(Q){let G=this._addedLabels;if(G.length){let J=this.getLabels();for(let{index:Y,label:U}of G)if(J[Y]===U)J.splice(Y,1);this._addedLabels=[]}super.init(Q)}parse(Q,G){if(t0(Q))return null;let J=this.getLabels();return G=isFinite(G)&&J[G]===Q?G:Bj(J,Q,x0(G,Q),this._addedLabels),Nj(G,J.length-1)}determineDataLimits(){let{minDefined:Q,maxDefined:G}=this.getUserBounds(),{min:J,max:Y}=this.getMinMax(!0);if(this.options.bounds==="ticks"){if(!Q)J=0;if(!G)Y=this.getLabels().length-1}this.min=J,this.max=Y}buildTicks(){let Q=this.min,G=this.max,J=this.options.offset,Y=[],U=this.getLabels();U=Q===0&&G===U.length-1?U:U.slice(Q,G+1),this._valueRange=Math.max(U.length-(J?0:1),1),this._startValue=this.min-(J?0.5:0);for(let B=Q;B<=G;B++)Y.push({value:B});return Y}getLabelForValue(Q){return bL.call(this,Q)}configure(){if(super.configure(),!this.isHorizontal())this._reversePixels=!this._reversePixels}getPixelForValue(Q){if(typeof Q!=="number")Q=this.parse(Q);return Q===null?NaN:this.getPixelForDecimal((Q-this._startValue)/this._valueRange)}getPixelForTick(Q){let G=this.ticks;if(Q<0||Q>G.length-1)return null;return this.getPixelForValue(G[Q].value)}getValueForPixel(Q){return Math.round(this._startValue+this.getDecimalForPixel(Q)*this._valueRange)}getBasePixel(){return this.bottom}}function Mj(Q,G){let J=[],Y=0.00000000000001,{bounds:U,step:B,min:M,max:H,precision:F,count:z,maxTicks:L,maxDigits:V,includeBounds:T}=Q,P=B||1,I=L-1,{min:D,max:C}=G,g=!t0(M),m=!t0(H),o=!t0(z),i=(C-D)/(V+1),s=lU((C-D)/I/P)*P,Q0,p,a,Y0;if(s<0.00000000000001&&!g&&!m)return[{value:D},{value:C}];if(Y0=Math.ceil(C/s)-Math.floor(D/s),Y0>I)s=lU(Y0*s/I/P)*P;if(!t0(F))Q0=Math.pow(10,F),s=Math.ceil(s*Q0)/Q0;if(U==="ticks")p=Math.floor(D/s)*s,a=Math.ceil(C/s)*s;else p=D,a=C;if(g&&m&&B&&_z((H-M)/B,s/1000))Y0=Math.round(Math.min((H-M)/s,L)),s=(H-M)/Y0,p=M,a=H;else if(o)p=g?M:p,a=m?H:a,Y0=z-1,s=(a-p)/Y0;else if(Y0=(a-p)/s,u9(Y0,Math.round(Y0),s/1000))Y0=Math.round(Y0);else Y0=Math.ceil(Y0);let d=Math.max(sU(s),sU(p));Q0=Math.pow(10,t0(F)?d:F),p=Math.round(p*Q0)/Q0,a=Math.round(a*Q0)/Q0;let K0=0;if(g){if(T&&p!==M){if(J.push({value:M}),p<M)K0++;if(u9(Math.round((p+K0*s)*Q0)/Q0,M,fL(M,i,Q)))K0++}else if(p<M)K0++}for(;K0<Y0;++K0){let R0=Math.round((p+K0*s)*Q0)/Q0;if(m&&R0>H)break;J.push({value:R0})}if(m&&T&&a!==H)if(J.length&&u9(J[J.length-1].value,H,fL(H,i,Q)))J[J.length-1].value=H;else J.push({value:H});else if(!m||a===H)J.push({value:a});return J}function fL(Q,G,{horizontal:J,minRotation:Y}){let U=$6(Y),B=(J?Math.sin(U):Math.cos(U))||0.001,M=0.75*G*(""+Q).length;return Math.min(G/B,M)}class eQ extends L7{constructor(Q){super(Q);this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(Q,G){if(t0(Q))return null;if((typeof Q==="number"||Q instanceof Number)&&!isFinite(+Q))return null;return+Q}handleTickRangeOptions(){let{beginAtZero:Q}=this.options,{minDefined:G,maxDefined:J}=this.getUserBounds(),{min:Y,max:U}=this,B=(H)=>Y=G?Y:H,M=(H)=>U=J?U:H;if(Q){let H=y1(Y),F=y1(U);if(H<0&&F<0)M(0);else if(H>0&&F>0)B(0)}if(Y===U){let H=U===0?1:Math.abs(U*0.05);if(M(U+H),!Q)B(Y-H)}this.min=Y,this.max=U}getTickLimit(){let Q=this.options.ticks,{maxTicksLimit:G,stepSize:J}=Q,Y;if(J){if(Y=Math.ceil(this.max/J)-Math.floor(this.min/J)+1,Y>1000)console.warn(`scales.${this.id}.ticks.stepSize: ${J} would result generating up to ${Y} ticks. Limiting to 1000.`),Y=1000}else Y=this.computeTickLimit(),G=G||11;if(G)Y=Math.min(G,Y);return Y}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){let Q=this.options,G=Q.ticks,J=this.getTickLimit();J=Math.max(2,J);let Y={maxTicks:J,bounds:Q.bounds,min:Q.min,max:Q.max,precision:G.precision,step:G.stepSize,count:G.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:G.minRotation||0,includeBounds:G.includeBounds!==!1},U=this._range||this,B=Mj(Y,U);if(Q.bounds==="ticks")rU(B,this,"value");if(Q.reverse)B.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return B}configure(){let Q=this.ticks,G=this.min,J=this.max;if(super.configure(),this.options.offset&&Q.length){let Y=(J-G)/Math.max(Q.length-1,1)/2;G-=Y,J+=Y}this._startValue=G,this._endValue=J,this._valueRange=J-G}getLabelForValue(Q){return $2(Q,this.chart.options.locale,this.options.ticks.format)}}class h1 extends eQ{static id="linear";static defaults={ticks:{callback:uQ.formatters.numeric}};determineDataLimits(){let{min:Q,max:G}=this.getMinMax(!0);this.min=O5(Q)?Q:0,this.max=O5(G)?G:1,this.handleTickRangeOptions()}computeTickLimit(){let Q=this.isHorizontal(),G=Q?this.width:this.height,J=$6(this.options.ticks.minRotation),Y=(Q?Math.sin(J):Math.cos(J))||0.001,U=this._resolveTickFontOptions(0);return Math.ceil(G/Math.min(40,U.lineHeight/Y))}getPixelForValue(Q){return Q===null?NaN:this.getPixelForDecimal((Q-this._startValue)/this._valueRange)}getValueForPixel(Q){return this._startValue+this.getDecimalForPixel(Q)*this._valueRange}}var $q=(Q)=>Math.floor(e$(Q)),z7=(Q,G)=>Math.pow(10,$q(Q)+G);function yL(Q){return Q/Math.pow(10,$q(Q))===1}function gL(Q,G,J){let Y=Math.pow(10,J),U=Math.floor(Q/Y);return Math.ceil(G/Y)-U}function Hj(Q,G){let J=G-Q,Y=$q(J);while(gL(Q,G,Y)>10)Y++;while(gL(Q,G,Y)<10)Y--;return Math.min(Y,$q(Q))}function Fj(Q,{min:G,max:J}){G=g8(Q.min,G);let Y=[],U=$q(G),B=Hj(G,J),M=B<0?Math.pow(10,Math.abs(B)):1,H=Math.pow(10,B),F=U>B?Math.pow(10,U):0,z=Math.round((G-F)*M)/M,L=Math.floor((G-F)/H/10)*H*10,V=Math.floor((z-L)/Math.pow(10,B)),T=g8(Q.min,Math.round((F+L+V*Math.pow(10,B))*M)/M);while(T<J){if(Y.push({value:T,major:yL(T),significand:V}),V>=10)V=V<15?15:20;else V++;if(V>=20)B++,V=2,M=B>=0?1:M;T=Math.round((F+L+V*Math.pow(10,B))*M)/M}let P=g8(Q.max,T);return Y.push({value:P,major:yL(P),significand:V}),Y}class Wj extends L7{static id="logarithmic";static defaults={ticks:{callback:uQ.formatters.logarithmic,major:{enabled:!0}}};constructor(Q){super(Q);this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(Q,G){let J=eQ.prototype.parse.apply(this,[Q,G]);if(J===0){this._zero=!0;return}return O5(J)&&J>0?J:null}determineDataLimits(){let{min:Q,max:G}=this.getMinMax(!0);if(this.min=O5(Q)?Math.max(0,Q):null,this.max=O5(G)?Math.max(0,G):null,this.options.beginAtZero)this._zero=!0;if(this._zero&&this.min!==this._suggestedMin&&!O5(this._userMin))this.min=Q===z7(this.min,0)?z7(this.min,-1):z7(this.min,0);this.handleTickRangeOptions()}handleTickRangeOptions(){let{minDefined:Q,maxDefined:G}=this.getUserBounds(),J=this.min,Y=this.max,U=(M)=>J=Q?J:M,B=(M)=>Y=G?Y:M;if(J===Y)if(J<=0)U(1),B(10);else U(z7(J,-1)),B(z7(Y,1));if(J<=0)U(z7(Y,-1));if(Y<=0)B(z7(J,1));this.min=J,this.max=Y}buildTicks(){let Q=this.options,G={min:this._userMin,max:this._userMax},J=Fj(G,this);if(Q.bounds==="ticks")rU(J,this,"value");if(Q.reverse)J.reverse(),this.start=this.max,this.end=this.min;else this.start=this.min,this.end=this.max;return J}getLabelForValue(Q){return Q===void 0?"0":$2(Q,this.chart.options.locale,this.options.ticks.format)}configure(){let Q=this.min;super.configure(),this._startValue=e$(Q),this._valueRange=e$(this.max)-e$(Q)}getPixelForValue(Q){if(Q===void 0||Q===0)Q=this.min;if(Q===null||isNaN(Q))return NaN;return this.getPixelForDecimal(Q===this.min?0:(e$(Q)-this._startValue)/this._valueRange)}getValueForPixel(Q){let G=this.getDecimalForPixel(Q);return Math.pow(10,this._startValue+G*this._valueRange)}}function vK(Q){let G=Q.ticks;if(G.display&&Q.display){let J=X8(G.backdropPadding);return x0(G.font&&G.font.size,j5.font.size)+J.height}return 0}function Rj(Q,G,J){return J=V5(J)?J:[J],{w:kz(Q,G.string,J),h:J.length*G.lineHeight}}function xL(Q,G,J,Y,U){if(Q===Y||Q===U)return{start:G-J/2,end:G+J/2};else if(Q<Y||Q>U)return{start:G-J,end:G};return{start:G,end:G+J}}function zj(Q){let G={l:Q.left+Q._padding.left,r:Q.right-Q._padding.right,t:Q.top+Q._padding.top,b:Q.bottom-Q._padding.bottom},J=Object.assign({},G),Y=[],U=[],B=Q._pointLabels.length,M=Q.options.pointLabels,H=M.centerPointLabels?b5/B:0;for(let F=0;F<B;F++){let z=M.setContext(Q.getPointLabelContext(F));U[F]=z.padding;let L=Q.getPointPosition(F,Q.drawingArea+U[F],H),V=p5(z.font),T=Rj(Q.ctx,V,Q._pointLabels[F]);Y[F]=T;let P=k8(Q.getIndexAngle(F)+H),I=Math.round(aJ(P)),D=xL(I,L.x,T.w,0,180),C=xL(I,L.y,T.h,90,270);Lj(J,G,P,D,C)}Q.setCenterPoint(G.l-J.l,J.r-G.r,G.t-J.t,J.b-G.b),Q._pointLabelItems=Tj(Q,Y,U)}function Lj(Q,G,J,Y,U){let B=Math.abs(Math.sin(J)),M=Math.abs(Math.cos(J)),H=0,F=0;if(Y.start<G.l)H=(G.l-Y.start)/B,Q.l=Math.min(Q.l,G.l-H);else if(Y.end>G.r)H=(Y.end-G.r)/B,Q.r=Math.max(Q.r,G.r+H);if(U.start<G.t)F=(G.t-U.start)/M,Q.t=Math.min(Q.t,G.t-F);else if(U.end>G.b)F=(U.end-G.b)/M,Q.b=Math.max(Q.b,G.b+F)}function Vj(Q,G,J){let Y=Q.drawingArea,{extra:U,additionalAngle:B,padding:M,size:H}=J,F=Q.getPointPosition(G,Y+U+M,B),z=Math.round(aJ(k8(F.angle+b8))),L=Pj(F.y,H.h,z),V=Ej(z),T=wj(F.x,H.w,V);return{visible:!0,x:F.x,y:L,textAlign:V,left:T,top:L,right:T+H.w,bottom:L+H.h}}function _j(Q,G){if(!G)return!0;let{left:J,top:Y,right:U,bottom:B}=Q;return!(R$({x:J,y:Y},G)||R$({x:J,y:B},G)||R$({x:U,y:Y},G)||R$({x:U,y:B},G))}function Tj(Q,G,J){let Y=[],U=Q._pointLabels.length,B=Q.options,{centerPointLabels:M,display:H}=B.pointLabels,F={extra:vK(B)/2,additionalAngle:M?b5/U:0},z;for(let L=0;L<U;L++){F.padding=J[L],F.size=G[L];let V=Vj(Q,L,F);if(Y.push(V),H==="auto"){if(V.visible=_j(V,z),V.visible)z=V}}return Y}function Ej(Q){if(Q===0||Q===180)return"center";else if(Q<180)return"left";return"right"}function wj(Q,G,J){if(J==="right")Q-=G;else if(J==="center")Q-=G/2;return Q}function Pj(Q,G,J){if(J===90||J===270)Q-=G/2;else if(J>270||J<90)Q-=G;return Q}function Cj(Q,G,J){let{left:Y,top:U,right:B,bottom:M}=J,{backdropColor:H}=G;if(!t0(H)){let F=B4(G.borderRadius),z=X8(G.backdropPadding);Q.fillStyle=H;let L=Y-z.left,V=U-z.top,T=B-Y+z.width,P=M-U+z.height;if(Object.values(F).some((I)=>I!==0))Q.beginPath(),d9(Q,{x:L,y:V,w:T,h:P,radius:F}),Q.fill();else Q.fillRect(L,V,T,P)}}function Ij(Q,G){let{ctx:J,options:{pointLabels:Y}}=Q;for(let U=G-1;U>=0;U--){let B=Q._pointLabelItems[U];if(!B.visible)continue;let M=Y.setContext(Q.getPointLabelContext(U));Cj(J,M,B);let H=p5(M.font),{x:F,y:z,textAlign:L}=B;K4(J,Q._pointLabels[U],F,z+H.lineHeight/2,H,{color:M.color,textAlign:L,textBaseline:"middle"})}}function HV(Q,G,J,Y){let{ctx:U}=Q;if(J)U.arc(Q.xCenter,Q.yCenter,G,0,f8);else{let B=Q.getPointPosition(0,G);U.moveTo(B.x,B.y);for(let M=1;M<Y;M++)B=Q.getPointPosition(M,G),U.lineTo(B.x,B.y)}}function Oj(Q,G,J,Y,U){let B=Q.ctx,M=G.circular,{color:H,lineWidth:F}=G;if(!M&&!Y||!H||!F||J<0)return;B.save(),B.strokeStyle=H,B.lineWidth=F,B.setLineDash(U.dash||[]),B.lineDashOffset=U.dashOffset,B.beginPath(),HV(Q,J,M,Y),B.closePath(),B.stroke(),B.restore()}function jj(Q,G,J){return Q6(Q,{label:J,index:G,type:"pointLabel"})}class Aj extends eQ{static id="radialLinear";static defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:uQ.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(Q){return Q},padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(Q){super(Q);this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){let Q=this._padding=X8(vK(this.options)/2),G=this.width=this.maxWidth-Q.width,J=this.height=this.maxHeight-Q.height;this.xCenter=Math.floor(this.left+G/2+Q.left),this.yCenter=Math.floor(this.top+J/2+Q.top),this.drawingArea=Math.floor(Math.min(G,J)/2)}determineDataLimits(){let{min:Q,max:G}=this.getMinMax(!1);this.min=O5(Q)&&!isNaN(Q)?Q:0,this.max=O5(G)&&!isNaN(G)?G:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/vK(this.options))}generateTickLabels(Q){eQ.prototype.generateTickLabels.call(this,Q),this._pointLabels=this.getLabels().map((G,J)=>{let Y=W5(this.options.pointLabels.callback,[G,J],this);return Y||Y===0?Y:""}).filter((G,J)=>this.chart.getDataVisibility(J))}fit(){let Q=this.options;if(Q.display&&Q.pointLabels.display)zj(this);else this.setCenterPoint(0,0,0,0)}setCenterPoint(Q,G,J,Y){this.xCenter+=Math.floor((Q-G)/2),this.yCenter+=Math.floor((J-Y)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(Q,G,J,Y))}getIndexAngle(Q){let G=f8/(this._pointLabels.length||1),J=this.options.startAngle||0;return k8(Q*G+$6(J))}getDistanceFromCenterForValue(Q){if(t0(Q))return NaN;let G=this.drawingArea/(this.max-this.min);if(this.options.reverse)return(this.max-Q)*G;return(Q-this.min)*G}getValueForDistanceFromCenter(Q){if(t0(Q))return NaN;let G=Q/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-G:this.min+G}getPointLabelContext(Q){let G=this._pointLabels||[];if(Q>=0&&Q<G.length){let J=G[Q];return jj(this.getContext(),Q,J)}}getPointPosition(Q,G,J=0){let Y=this.getIndexAngle(Q)-b8+J;return{x:Math.cos(Y)*G+this.xCenter,y:Math.sin(Y)*G+this.yCenter,angle:Y}}getPointPositionForValue(Q,G){return this.getPointPosition(Q,this.getDistanceFromCenterForValue(G))}getBasePosition(Q){return this.getPointPositionForValue(Q||0,this.getBaseValue())}getPointLabelPosition(Q){let{left:G,top:J,right:Y,bottom:U}=this._pointLabelItems[Q];return{left:G,top:J,right:Y,bottom:U}}drawBackground(){let{backgroundColor:Q,grid:{circular:G}}=this.options;if(Q){let J=this.ctx;J.save(),J.beginPath(),HV(this,this.getDistanceFromCenterForValue(this._endValue),G,this._pointLabels.length),J.closePath(),J.fillStyle=Q,J.fill(),J.restore()}}drawGrid(){let Q=this.ctx,G=this.options,{angleLines:J,grid:Y,border:U}=G,B=this._pointLabels.length,M,H,F;if(G.pointLabels.display)Ij(this,B);if(Y.display)this.ticks.forEach((z,L)=>{if(L!==0||L===0&&this.min<0){H=this.getDistanceFromCenterForValue(z.value);let V=this.getContext(L),T=Y.setContext(V),P=U.setContext(V);Oj(this,T,H,B,P)}});if(J.display){Q.save();for(M=B-1;M>=0;M--){let z=J.setContext(this.getPointLabelContext(M)),{color:L,lineWidth:V}=z;if(!V||!L)continue;Q.lineWidth=V,Q.strokeStyle=L,Q.setLineDash(z.borderDash),Q.lineDashOffset=z.borderDashOffset,H=this.getDistanceFromCenterForValue(G.reverse?this.min:this.max),F=this.getPointPosition(M,H),Q.beginPath(),Q.moveTo(this.xCenter,this.yCenter),Q.lineTo(F.x,F.y),Q.stroke()}Q.restore()}}drawBorder(){}drawLabels(){let Q=this.ctx,G=this.options,J=G.ticks;if(!J.display)return;let Y=this.getIndexAngle(0),U,B;Q.save(),Q.translate(this.xCenter,this.yCenter),Q.rotate(Y),Q.textAlign="center",Q.textBaseline="middle",this.ticks.forEach((M,H)=>{if(H===0&&this.min>=0&&!G.reverse)return;let F=J.setContext(this.getContext(H)),z=p5(F.font);if(U=this.getDistanceFromCenterForValue(this.ticks[H].value),F.showLabelBackdrop){Q.font=z.string,B=Q.measureText(M.label).width,Q.fillStyle=F.backdropColor;let L=X8(F.backdropPadding);Q.fillRect(-B/2-L.left,-U-z.size/2-L.top,B+L.width,z.size+L.height)}K4(Q,M.label,0,-U,z,{color:F.color,strokeColor:F.textStrokeColor,strokeWidth:F.textStrokeWidth})}),Q.restore()}drawTitle(){}}var z2={millisecond:{common:!0,size:1,steps:1000},second:{common:!0,size:1000,steps:60},minute:{common:!0,size:60000,steps:60},hour:{common:!0,size:3600000,steps:24},day:{common:!0,size:86400000,steps:30},week:{common:!1,size:604800000,steps:4},month:{common:!0,size:2628000000,steps:12},quarter:{common:!1,size:7884000000,steps:4},year:{common:!0,size:31540000000}},h8=Object.keys(z2);function hL(Q,G){return Q-G}function uL(Q,G){if(t0(G))return null;let J=Q._adapter,{parser:Y,round:U,isoWeekday:B}=Q._parseOpts,M=G;if(typeof Y==="function")M=Y(M);if(!O5(M))M=typeof Y==="string"?J.parse(M,Y):J.parse(M);if(M===null)return null;if(U)M=U==="week"&&(m9(B)||B===!0)?J.startOf(M,"isoWeek",B):J.startOf(M,U);return+M}function mL(Q,G,J,Y){let U=h8.length;for(let B=h8.indexOf(Q);B<U-1;++B){let M=z2[h8[B]],H=M.steps?M.steps:Number.MAX_SAFE_INTEGER;if(M.common&&Math.ceil((J-G)/(H*M.size))<=Y)return h8[B]}return h8[U-1]}function Dj(Q,G,J,Y,U){for(let B=h8.length-1;B>=h8.indexOf(J);B--){let M=h8[B];if(z2[M].common&&Q._adapter.diff(U,Y,M)>=G-1)return M}return h8[J?h8.indexOf(J):0]}function Sj(Q){for(let G=h8.indexOf(Q)+1,J=h8.length;G<J;++G)if(z2[h8[G]].common)return h8[G]}function dL(Q,G,J){if(!J)Q[G]=!0;else if(J.length){let{lo:Y,hi:U}=tJ(J,G),B=J[Y]>=G?J[Y]:J[U];Q[B]=!0}}function vj(Q,G,J,Y){let U=Q._adapter,B=+U.startOf(G[0].value,Y),M=G[G.length-1].value,H,F;for(H=B;H<=M;H=+U.add(H,1,Y))if(F=J[H],F>=0)G[F].major=!0;return G}function pL(Q,G,J){let Y=[],U={},B=G.length,M,H;for(M=0;M<B;++M)H=G[M],U[H]=M,Y.push({value:H,major:!1});return B===0||!J?Y:vj(Q,Y,U,J)}class kK extends L7{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(Q){super(Q);this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(Q,G={}){let J=Q.time||(Q.time={}),Y=this._adapter=new HI._date(Q.adapters.date);Y.init(G),x9(J.displayFormats,Y.formats()),this._parseOpts={parser:J.parser,round:J.round,isoWeekday:J.isoWeekday},super.init(Q),this._normalized=G.normalized}parse(Q,G){if(Q===void 0)return null;return uL(this,Q)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){let Q=this.options,G=this._adapter,J=Q.time.unit||"day",{min:Y,max:U,minDefined:B,maxDefined:M}=this.getUserBounds();function H(F){if(!B&&!isNaN(F.min))Y=Math.min(Y,F.min);if(!M&&!isNaN(F.max))U=Math.max(U,F.max)}if(!B||!M){if(H(this._getLabelBounds()),Q.bounds!=="ticks"||Q.ticks.source!=="labels")H(this.getMinMax(!1))}Y=O5(Y)&&!isNaN(Y)?Y:+G.startOf(Date.now(),J),U=O5(U)&&!isNaN(U)?U:+G.endOf(Date.now(),J)+1,this.min=Math.min(Y,U-1),this.max=Math.max(Y+1,U)}_getLabelBounds(){let Q=this.getLabelTimestamps(),G=Number.POSITIVE_INFINITY,J=Number.NEGATIVE_INFINITY;if(Q.length)G=Q[0],J=Q[Q.length-1];return{min:G,max:J}}buildTicks(){let Q=this.options,G=Q.time,J=Q.ticks,Y=J.source==="labels"?this.getLabelTimestamps():this._generate();if(Q.bounds==="ticks"&&Y.length)this.min=this._userMin||Y[0],this.max=this._userMax||Y[Y.length-1];let U=this.min,B=this.max,M=Pz(Y,U,B);if(this._unit=G.unit||(J.autoSkip?mL(G.minUnit,this.min,this.max,this._getLabelCapacity(U)):Dj(this,M.length,G.minUnit,this.min,this.max)),this._majorUnit=!J.major.enabled||this._unit==="year"?void 0:Sj(this._unit),this.initOffsets(Y),Q.reverse)M.reverse();return pL(this,M,this._majorUnit)}afterAutoSkip(){if(this.options.offsetAfterAutoskip)this.initOffsets(this.ticks.map((Q)=>+Q.value))}initOffsets(Q=[]){let G=0,J=0,Y,U;if(this.options.offset&&Q.length){if(Y=this.getDecimalForValue(Q[0]),Q.length===1)G=1-Y;else G=(this.getDecimalForValue(Q[1])-Y)/2;if(U=this.getDecimalForValue(Q[Q.length-1]),Q.length===1)J=U;else J=(U-this.getDecimalForValue(Q[Q.length-2]))/2}let B=Q.length<3?0.5:0.25;G=y8(G,0,B),J=y8(J,0,B),this._offsets={start:G,end:J,factor:1/(G+1+J)}}_generate(){let Q=this._adapter,G=this.min,J=this.max,Y=this.options,U=Y.time,B=U.unit||mL(U.minUnit,G,J,this._getLabelCapacity(G)),M=x0(Y.ticks.stepSize,1),H=B==="week"?U.isoWeekday:!1,F=m9(H)||H===!0,z={},L=G,V,T;if(F)L=+Q.startOf(L,"isoWeek",H);if(L=+Q.startOf(L,F?"day":B),Q.diff(J,G,B)>1e5*M)throw Error(G+" and "+J+" are too far apart with stepSize of "+M+" "+B);let P=Y.ticks.source==="data"&&this.getDataTimestamps();for(V=L,T=0;V<J;V=+Q.add(V,M,B),T++)dL(z,V,P);if(V===J||Y.bounds==="ticks"||T===1)dL(z,V,P);return Object.keys(z).sort(hL).map((I)=>+I)}getLabelForValue(Q){let G=this._adapter,J=this.options.time;if(J.tooltipFormat)return G.format(Q,J.tooltipFormat);return G.format(Q,J.displayFormats.datetime)}format(Q,G){let Y=this.options.time.displayFormats,U=this._unit,B=G||Y[U];return this._adapter.format(Q,B)}_tickFormatFunction(Q,G,J,Y){let U=this.options,B=U.ticks.callback;if(B)return W5(B,[Q,G,J],this);let M=U.time.displayFormats,H=this._unit,F=this._majorUnit,z=H&&M[H],L=F&&M[F],V=J[G],T=F&&L&&V&&V.major;return this._adapter.format(Q,Y||(T?L:z))}generateTickLabels(Q){let G,J,Y;for(G=0,J=Q.length;G<J;++G)Y=Q[G],Y.label=this._tickFormatFunction(Y.value,G,Q)}getDecimalForValue(Q){return Q===null?NaN:(Q-this.min)/(this.max-this.min)}getPixelForValue(Q){let G=this._offsets,J=this.getDecimalForValue(Q);return this.getPixelForDecimal((G.start+J)*G.factor)}getValueForPixel(Q){let G=this._offsets,J=this.getDecimalForPixel(Q)/G.factor-G.end;return this.min+J*(this.max-this.min)}_getLabelSize(Q){let G=this.options.ticks,J=this.ctx.measureText(Q).width,Y=$6(this.isHorizontal()?G.maxRotation:G.minRotation),U=Math.cos(Y),B=Math.sin(Y),M=this._resolveTickFontOptions(0).size;return{w:J*U+M*B,h:J*B+M*U}}_getLabelCapacity(Q){let G=this.options.time,J=G.displayFormats,Y=J[G.unit]||J.millisecond,U=this._tickFormatFunction(Q,0,pL(this,[Q],this._majorUnit),Y),B=this._getLabelSize(U),M=Math.floor(this.isHorizontal()?this.width/B.w:this.height/B.h)-1;return M>0?M:1}getDataTimestamps(){let Q=this._cache.data||[],G,J;if(Q.length)return Q;let Y=this.getMatchingVisibleMetas();if(this._normalized&&Y.length)return this._cache.data=Y[0].controller.getAllParsedValues(this);for(G=0,J=Y.length;G<J;++G)Q=Q.concat(Y[G].controller.getAllParsedValues(this));return this._cache.data=this.normalize(Q)}getLabelTimestamps(){let Q=this._cache.labels||[],G,J;if(Q.length)return Q;let Y=this.getLabels();for(G=0,J=Y.length;G<J;++G)Q.push(uL(this,Y[G]));return this._cache.labels=this._normalized?Q:this.normalize(Q)}normalize(Q){return iU(Q.sort(hL))}}function N2(Q,G,J){let Y=0,U=Q.length-1,B,M,H,F;if(J){if(G>=Q[Y].pos&&G<=Q[U].pos)({lo:Y,hi:U}=J4(Q,"pos",G));({pos:B,time:H}=Q[Y]),{pos:M,time:F}=Q[U]}else{if(G>=Q[Y].time&&G<=Q[U].time)({lo:Y,hi:U}=J4(Q,"time",G));({time:B,pos:H}=Q[Y]),{time:M,pos:F}=Q[U]}let z=M-B;return z?H+(F-H)*(G-B)/z:H}class kj extends kK{static id="timeseries";static defaults=kK.defaults;constructor(Q){super(Q);this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){let Q=this._getTimestampsForTable(),G=this._table=this.buildLookupTable(Q);this._minPos=N2(G,this.min),this._tableRange=N2(G,this.max)-this._minPos,super.initOffsets(Q)}buildLookupTable(Q){let{min:G,max:J}=this,Y=[],U=[],B,M,H,F,z;for(B=0,M=Q.length;B<M;++B)if(F=Q[B],F>=G&&F<=J)Y.push(F);if(Y.length<2)return[{time:G,pos:0},{time:J,pos:1}];for(B=0,M=Y.length;B<M;++B)if(z=Y[B+1],H=Y[B-1],F=Y[B],Math.round((z+H)/2)!==F)U.push({time:F,pos:B/(M-1)});return U}_generate(){let Q=this.min,G=this.max,J=super.getDataTimestamps();if(!J.includes(Q)||!J.length)J.splice(0,0,Q);if(!J.includes(G)||J.length===1)J.push(G);return J.sort((Y,U)=>Y-U)}_getTimestampsForTable(){let Q=this._cache.all||[];if(Q.length)return Q;let G=this.getDataTimestamps(),J=this.getLabelTimestamps();if(G.length&&J.length)Q=this.normalize(G.concat(J));else Q=G.length?G:J;return Q=this._cache.all=Q,Q}getDecimalForValue(Q){return(N2(this._table,Q)-this._minPos)/this._tableRange}getValueForPixel(Q){let G=this._offsets,J=this.getDecimalForPixel(Q)/G.factor-G.end;return N2(this._table,J*this._tableRange+this._minPos,!0)}}var Jq=z0(e5(),1);var mK=z0(FV(),1),J1=z0(e5(),1);var RV="label";function WV(Q,G){if(typeof Q==="function")Q(G);else if(Q)Q.current=G}function fj(Q,G){let J=Q.options;if(J&&G)Object.assign(J,G)}function zV(Q,G){Q.labels=G}function LV(Q,G,J=RV){let Y=[];Q.datasets=G.map((U)=>{let B=Q.datasets.find((M)=>M[J]===U[J]);if(!B||!U.data||Y.includes(B))return{...U};return Y.push(B),Object.assign(B,U),B})}function yj(Q,G=RV){let J={labels:[],datasets:[]};return zV(J,Q.labels),LV(J,Q.datasets,G),J}function gj(Q,G){let{height:J=150,width:Y=300,redraw:U=!1,datasetIdKey:B,type:M,data:H,options:F,plugins:z=[],fallbackContent:L,updateMode:V,...T}=Q,P=J1.useRef(null),I=J1.useRef(null),D=()=>{if(!P.current)return;I.current=new P8(P.current,{type:M,data:yj(H,B),options:F&&{...F},plugins:z}),WV(G,I.current)},C=()=>{if(WV(G,null),I.current)I.current.destroy(),I.current=null};return J1.useEffect(()=>{if(!U&&I.current&&F)fj(I.current,F)},[U,F]),J1.useEffect(()=>{if(!U&&I.current)zV(I.current.config.data,H.labels)},[U,H.labels]),J1.useEffect(()=>{if(!U&&I.current&&H.datasets)LV(I.current.config.data,H.datasets,B)},[U,H.datasets]),J1.useEffect(()=>{if(!I.current)return;if(U)C(),setTimeout(D);else I.current.update(V)},[U,F,H.labels,H.datasets,V]),J1.useEffect(()=>{if(!I.current)return;C(),setTimeout(D)},[M]),J1.useEffect(()=>{return D(),()=>C()},[]),mK.jsx("canvas",{ref:P,role:"img",height:J,width:Y,...T,children:L})}var xj=J1.forwardRef(gj);function VV(Q,G){return P8.register(G),J1.forwardRef((J,Y)=>mK.jsx(xj,{...J,ref:Y,type:Q}))}var w1=VV("line",yK),L2=VV("bar",fK);var V2=z0(e5(),1),_V="(prefers-color-scheme: dark)";function hj(){if(typeof window>"u")return"light";return window.matchMedia(_V).matches?"dark":"light"}function w$(){let[Q,G]=V2.useState(()=>hj());return V2.useEffect(()=>{let J=window.matchMedia(_V),Y=()=>{G(J.matches?"dark":"light")};return Y(),J.addEventListener("change",Y),()=>J.removeEventListener("change",Y)},[]),Q}var uj=Math.pow(10,8)*24*60*60*1000,Fv=-uj,_2=604800000,TV=86400000;var qq=43200,dK=1440;var pK=Symbol.for("constructDateFrom");function F8(Q,G){if(typeof Q==="function")return Q(G);if(Q&&typeof Q==="object"&&pK in Q)return Q[pK](G);if(Q instanceof Date)return new Q.constructor(G);return new Date(G)}function e0(Q,G){return F8(G||Q,Q)}var mj={};function P$(){return mj}function X6(Q,G){let J=P$(),Y=G?.weekStartsOn??G?.locale?.options?.weekStartsOn??J.weekStartsOn??J.locale?.options?.weekStartsOn??0,U=e0(Q,G?.in),B=U.getDay(),M=(B<Y?7:0)+B-Y;return U.setDate(U.getDate()-M),U.setHours(0,0,0,0),U}function _7(Q,G){return X6(Q,{...G,weekStartsOn:1})}function T2(Q,G){let J=e0(Q,G?.in),Y=J.getFullYear(),U=F8(J,0);U.setFullYear(Y+1,0,4),U.setHours(0,0,0,0);let B=_7(U),M=F8(J,0);M.setFullYear(Y,0,4),M.setHours(0,0,0,0);let H=_7(M);if(J.getTime()>=B.getTime())return Y+1;else if(J.getTime()>=H.getTime())return Y;else return Y-1}function c9(Q){let G=e0(Q),J=new Date(Date.UTC(G.getFullYear(),G.getMonth(),G.getDate(),G.getHours(),G.getMinutes(),G.getSeconds(),G.getMilliseconds()));return J.setUTCFullYear(G.getFullYear()),+Q-+J}function H4(Q,...G){let J=F8.bind(null,Q||G.find((Y)=>typeof Y==="object"));return G.map(J)}function cK(Q,G){let J=e0(Q,G?.in);return J.setHours(0,0,0,0),J}function EV(Q,G,J){let[Y,U]=H4(J?.in,Q,G),B=cK(Y),M=cK(U),H=+B-c9(B),F=+M-c9(M);return Math.round((H-F)/TV)}function wV(Q,G){let J=T2(Q,G),Y=F8(G?.in||Q,0);return Y.setFullYear(J,0,4),Y.setHours(0,0,0,0),_7(Y)}function l9(Q,G){let J=+e0(Q)-+e0(G);if(J<0)return-1;else if(J>0)return 1;return J}function PV(Q){return F8(Q,Date.now())}function CV(Q){return Q instanceof Date||typeof Q==="object"&&Object.prototype.toString.call(Q)==="[object Date]"}function IV(Q){return!(!CV(Q)&&typeof Q!=="number"||isNaN(+e0(Q)))}function OV(Q,G,J){let[Y,U]=H4(J?.in,Q,G),B=Y.getFullYear()-U.getFullYear(),M=Y.getMonth()-U.getMonth();return B*12+M}function jV(Q){return(G)=>{let Y=(Q?Math[Q]:Math.trunc)(G);return Y===0?0:Y}}function AV(Q,G){return+e0(Q)-+e0(G)}function DV(Q,G){let J=e0(Q,G?.in);return J.setHours(23,59,59,999),J}function SV(Q,G){let J=e0(Q,G?.in),Y=J.getMonth();return J.setFullYear(J.getFullYear(),Y+1,0),J.setHours(23,59,59,999),J}function vV(Q,G){let J=e0(Q,G?.in);return+DV(J,G)===+SV(J,G)}function kV(Q,G,J){let[Y,U,B]=H4(J?.in,Q,Q,G),M=l9(U,B),H=Math.abs(OV(U,B));if(H<1)return 0;if(U.getMonth()===1&&U.getDate()>27)U.setDate(30);U.setMonth(U.getMonth()-M*H);let F=l9(U,B)===-M;if(vV(Y)&&H===1&&l9(Y,B)===1)F=!1;let z=M*(H-+F);return z===0?0:z}function bV(Q,G,J){let Y=AV(Q,G)/1000;return jV(J?.roundingMethod)(Y)}function fV(Q,G){let J=e0(Q,G?.in);return J.setFullYear(J.getFullYear(),0,1),J.setHours(0,0,0,0),J}var dj={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},yV=(Q,G,J)=>{let Y,U=dj[Q];if(typeof U==="string")Y=U;else if(G===1)Y=U.one;else Y=U.other.replace("{{count}}",G.toString());if(J?.addSuffix)if(J.comparison&&J.comparison>0)return"in "+Y;else return Y+" ago";return Y};function E2(Q){return(G={})=>{let J=G.width?String(G.width):Q.defaultWidth;return Q.formats[J]||Q.formats[Q.defaultWidth]}}var pj={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},cj={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},lj={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},gV={date:E2({formats:pj,defaultWidth:"full"}),time:E2({formats:cj,defaultWidth:"full"}),dateTime:E2({formats:lj,defaultWidth:"full"})};var rj={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xV=(Q,G,J,Y)=>rj[Q];function r9(Q){return(G,J)=>{let Y=J?.context?String(J.context):"standalone",U;if(Y==="formatting"&&Q.formattingValues){let M=Q.defaultFormattingWidth||Q.defaultWidth,H=J?.width?String(J.width):M;U=Q.formattingValues[H]||Q.formattingValues[M]}else{let M=Q.defaultWidth,H=J?.width?String(J.width):Q.defaultWidth;U=Q.values[H]||Q.values[M]}let B=Q.argumentCallback?Q.argumentCallback(G):G;return U[B]}}var sj={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},nj={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},oj={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ij={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},aj={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},tj={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ej=(Q,G)=>{let J=Number(Q),Y=J%100;if(Y>20||Y<10)switch(Y%10){case 1:return J+"st";case 2:return J+"nd";case 3:return J+"rd"}return J+"th"},hV={ordinalNumber:ej,era:r9({values:sj,defaultWidth:"wide"}),quarter:r9({values:nj,defaultWidth:"wide",argumentCallback:(Q)=>Q-1}),month:r9({values:oj,defaultWidth:"wide"}),day:r9({values:ij,defaultWidth:"wide"}),dayPeriod:r9({values:aj,defaultWidth:"wide",formattingValues:tj,defaultFormattingWidth:"wide"})};function s9(Q){return(G,J={})=>{let Y=J.width,U=Y&&Q.matchPatterns[Y]||Q.matchPatterns[Q.defaultMatchWidth],B=G.match(U);if(!B)return null;let M=B[0],H=Y&&Q.parsePatterns[Y]||Q.parsePatterns[Q.defaultParseWidth],F=Array.isArray(H)?ZA(H,(V)=>V.test(M)):$A(H,(V)=>V.test(M)),z;z=Q.valueCallback?Q.valueCallback(F):F,z=J.valueCallback?J.valueCallback(z):z;let L=G.slice(M.length);return{value:z,rest:L}}}function $A(Q,G){for(let J in Q)if(Object.prototype.hasOwnProperty.call(Q,J)&&G(Q[J]))return J;return}function ZA(Q,G){for(let J=0;J<Q.length;J++)if(G(Q[J]))return J;return}function uV(Q){return(G,J={})=>{let Y=G.match(Q.matchPattern);if(!Y)return null;let U=Y[0],B=G.match(Q.parsePattern);if(!B)return null;let M=Q.valueCallback?Q.valueCallback(B[0]):B[0];M=J.valueCallback?J.valueCallback(M):M;let H=G.slice(U.length);return{value:M,rest:H}}}var QA=/^(\d+)(th|st|nd|rd)?/i,qA=/\d+/i,GA={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},JA={any:[/^b/i,/^(a|c)/i]},XA={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},YA={any:[/1/i,/2/i,/3/i,/4/i]},UA={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},KA={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},BA={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},NA={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},MA={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},HA={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},mV={ordinalNumber:uV({matchPattern:QA,parsePattern:qA,valueCallback:(Q)=>parseInt(Q,10)}),era:s9({matchPatterns:GA,defaultMatchWidth:"wide",parsePatterns:JA,defaultParseWidth:"any"}),quarter:s9({matchPatterns:XA,defaultMatchWidth:"wide",parsePatterns:YA,defaultParseWidth:"any",valueCallback:(Q)=>Q+1}),month:s9({matchPatterns:UA,defaultMatchWidth:"wide",parsePatterns:KA,defaultParseWidth:"any"}),day:s9({matchPatterns:BA,defaultMatchWidth:"wide",parsePatterns:NA,defaultParseWidth:"any"}),dayPeriod:s9({matchPatterns:MA,defaultMatchWidth:"any",parsePatterns:HA,defaultParseWidth:"any"})};var Gq={code:"en-US",formatDistance:yV,formatLong:gV,formatRelative:xV,localize:hV,match:mV,options:{weekStartsOn:0,firstWeekContainsDate:1}};function dV(Q,G){let J=e0(Q,G?.in);return EV(J,fV(J))+1}function pV(Q,G){let J=e0(Q,G?.in),Y=+_7(J)-+wV(J);return Math.round(Y/_2)+1}function w2(Q,G){let J=e0(Q,G?.in),Y=J.getFullYear(),U=P$(),B=G?.firstWeekContainsDate??G?.locale?.options?.firstWeekContainsDate??U.firstWeekContainsDate??U.locale?.options?.firstWeekContainsDate??1,M=F8(G?.in||Q,0);M.setFullYear(Y+1,0,B),M.setHours(0,0,0,0);let H=X6(M,G),F=F8(G?.in||Q,0);F.setFullYear(Y,0,B),F.setHours(0,0,0,0);let z=X6(F,G);if(+J>=+H)return Y+1;else if(+J>=+z)return Y;else return Y-1}function cV(Q,G){let J=P$(),Y=G?.firstWeekContainsDate??G?.locale?.options?.firstWeekContainsDate??J.firstWeekContainsDate??J.locale?.options?.firstWeekContainsDate??1,U=w2(Q,G),B=F8(G?.in||Q,0);return B.setFullYear(U,0,Y),B.setHours(0,0,0,0),X6(B,G)}function lV(Q,G){let J=e0(Q,G?.in),Y=+X6(J,G)-+cV(J,G);return Math.round(Y/_2)+1}function Q5(Q,G){let J=Q<0?"-":"",Y=Math.abs(Q).toString().padStart(G,"0");return J+Y}var Y6={y(Q,G){let J=Q.getFullYear(),Y=J>0?J:1-J;return Q5(G==="yy"?Y%100:Y,G.length)},M(Q,G){let J=Q.getMonth();return G==="M"?String(J+1):Q5(J+1,2)},d(Q,G){return Q5(Q.getDate(),G.length)},a(Q,G){let J=Q.getHours()/12>=1?"pm":"am";switch(G){case"a":case"aa":return J.toUpperCase();case"aaa":return J;case"aaaaa":return J[0];case"aaaa":default:return J==="am"?"a.m.":"p.m."}},h(Q,G){return Q5(Q.getHours()%12||12,G.length)},H(Q,G){return Q5(Q.getHours(),G.length)},m(Q,G){return Q5(Q.getMinutes(),G.length)},s(Q,G){return Q5(Q.getSeconds(),G.length)},S(Q,G){let J=G.length,Y=Q.getMilliseconds(),U=Math.trunc(Y*Math.pow(10,J-3));return Q5(U,G.length)}};var n9={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},lK={G:function(Q,G,J){let Y=Q.getFullYear()>0?1:0;switch(G){case"G":case"GG":case"GGG":return J.era(Y,{width:"abbreviated"});case"GGGGG":return J.era(Y,{width:"narrow"});case"GGGG":default:return J.era(Y,{width:"wide"})}},y:function(Q,G,J){if(G==="yo"){let Y=Q.getFullYear(),U=Y>0?Y:1-Y;return J.ordinalNumber(U,{unit:"year"})}return Y6.y(Q,G)},Y:function(Q,G,J,Y){let U=w2(Q,Y),B=U>0?U:1-U;if(G==="YY"){let M=B%100;return Q5(M,2)}if(G==="Yo")return J.ordinalNumber(B,{unit:"year"});return Q5(B,G.length)},R:function(Q,G){let J=T2(Q);return Q5(J,G.length)},u:function(Q,G){let J=Q.getFullYear();return Q5(J,G.length)},Q:function(Q,G,J){let Y=Math.ceil((Q.getMonth()+1)/3);switch(G){case"Q":return String(Y);case"QQ":return Q5(Y,2);case"Qo":return J.ordinalNumber(Y,{unit:"quarter"});case"QQQ":return J.quarter(Y,{width:"abbreviated",context:"formatting"});case"QQQQQ":return J.quarter(Y,{width:"narrow",context:"formatting"});case"QQQQ":default:return J.quarter(Y,{width:"wide",context:"formatting"})}},q:function(Q,G,J){let Y=Math.ceil((Q.getMonth()+1)/3);switch(G){case"q":return String(Y);case"qq":return Q5(Y,2);case"qo":return J.ordinalNumber(Y,{unit:"quarter"});case"qqq":return J.quarter(Y,{width:"abbreviated",context:"standalone"});case"qqqqq":return J.quarter(Y,{width:"narrow",context:"standalone"});case"qqqq":default:return J.quarter(Y,{width:"wide",context:"standalone"})}},M:function(Q,G,J){let Y=Q.getMonth();switch(G){case"M":case"MM":return Y6.M(Q,G);case"Mo":return J.ordinalNumber(Y+1,{unit:"month"});case"MMM":return J.month(Y,{width:"abbreviated",context:"formatting"});case"MMMMM":return J.month(Y,{width:"narrow",context:"formatting"});case"MMMM":default:return J.month(Y,{width:"wide",context:"formatting"})}},L:function(Q,G,J){let Y=Q.getMonth();switch(G){case"L":return String(Y+1);case"LL":return Q5(Y+1,2);case"Lo":return J.ordinalNumber(Y+1,{unit:"month"});case"LLL":return J.month(Y,{width:"abbreviated",context:"standalone"});case"LLLLL":return J.month(Y,{width:"narrow",context:"standalone"});case"LLLL":default:return J.month(Y,{width:"wide",context:"standalone"})}},w:function(Q,G,J,Y){let U=lV(Q,Y);if(G==="wo")return J.ordinalNumber(U,{unit:"week"});return Q5(U,G.length)},I:function(Q,G,J){let Y=pV(Q);if(G==="Io")return J.ordinalNumber(Y,{unit:"week"});return Q5(Y,G.length)},d:function(Q,G,J){if(G==="do")return J.ordinalNumber(Q.getDate(),{unit:"date"});return Y6.d(Q,G)},D:function(Q,G,J){let Y=dV(Q);if(G==="Do")return J.ordinalNumber(Y,{unit:"dayOfYear"});return Q5(Y,G.length)},E:function(Q,G,J){let Y=Q.getDay();switch(G){case"E":case"EE":case"EEE":return J.day(Y,{width:"abbreviated",context:"formatting"});case"EEEEE":return J.day(Y,{width:"narrow",context:"formatting"});case"EEEEEE":return J.day(Y,{width:"short",context:"formatting"});case"EEEE":default:return J.day(Y,{width:"wide",context:"formatting"})}},e:function(Q,G,J,Y){let U=Q.getDay(),B=(U-Y.weekStartsOn+8)%7||7;switch(G){case"e":return String(B);case"ee":return Q5(B,2);case"eo":return J.ordinalNumber(B,{unit:"day"});case"eee":return J.day(U,{width:"abbreviated",context:"formatting"});case"eeeee":return J.day(U,{width:"narrow",context:"formatting"});case"eeeeee":return J.day(U,{width:"short",context:"formatting"});case"eeee":default:return J.day(U,{width:"wide",context:"formatting"})}},c:function(Q,G,J,Y){let U=Q.getDay(),B=(U-Y.weekStartsOn+8)%7||7;switch(G){case"c":return String(B);case"cc":return Q5(B,G.length);case"co":return J.ordinalNumber(B,{unit:"day"});case"ccc":return J.day(U,{width:"abbreviated",context:"standalone"});case"ccccc":return J.day(U,{width:"narrow",context:"standalone"});case"cccccc":return J.day(U,{width:"short",context:"standalone"});case"cccc":default:return J.day(U,{width:"wide",context:"standalone"})}},i:function(Q,G,J){let Y=Q.getDay(),U=Y===0?7:Y;switch(G){case"i":return String(U);case"ii":return Q5(U,G.length);case"io":return J.ordinalNumber(U,{unit:"day"});case"iii":return J.day(Y,{width:"abbreviated",context:"formatting"});case"iiiii":return J.day(Y,{width:"narrow",context:"formatting"});case"iiiiii":return J.day(Y,{width:"short",context:"formatting"});case"iiii":default:return J.day(Y,{width:"wide",context:"formatting"})}},a:function(Q,G,J){let U=Q.getHours()/12>=1?"pm":"am";switch(G){case"a":case"aa":return J.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"aaa":return J.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return J.dayPeriod(U,{width:"narrow",context:"formatting"});case"aaaa":default:return J.dayPeriod(U,{width:"wide",context:"formatting"})}},b:function(Q,G,J){let Y=Q.getHours(),U;if(Y===12)U=n9.noon;else if(Y===0)U=n9.midnight;else U=Y/12>=1?"pm":"am";switch(G){case"b":case"bb":return J.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"bbb":return J.dayPeriod(U,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return J.dayPeriod(U,{width:"narrow",context:"formatting"});case"bbbb":default:return J.dayPeriod(U,{width:"wide",context:"formatting"})}},B:function(Q,G,J){let Y=Q.getHours(),U;if(Y>=17)U=n9.evening;else if(Y>=12)U=n9.afternoon;else if(Y>=4)U=n9.morning;else U=n9.night;switch(G){case"B":case"BB":case"BBB":return J.dayPeriod(U,{width:"abbreviated",context:"formatting"});case"BBBBB":return J.dayPeriod(U,{width:"narrow",context:"formatting"});case"BBBB":default:return J.dayPeriod(U,{width:"wide",context:"formatting"})}},h:function(Q,G,J){if(G==="ho"){let Y=Q.getHours()%12;if(Y===0)Y=12;return J.ordinalNumber(Y,{unit:"hour"})}return Y6.h(Q,G)},H:function(Q,G,J){if(G==="Ho")return J.ordinalNumber(Q.getHours(),{unit:"hour"});return Y6.H(Q,G)},K:function(Q,G,J){let Y=Q.getHours()%12;if(G==="Ko")return J.ordinalNumber(Y,{unit:"hour"});return Q5(Y,G.length)},k:function(Q,G,J){let Y=Q.getHours();if(Y===0)Y=24;if(G==="ko")return J.ordinalNumber(Y,{unit:"hour"});return Q5(Y,G.length)},m:function(Q,G,J){if(G==="mo")return J.ordinalNumber(Q.getMinutes(),{unit:"minute"});return Y6.m(Q,G)},s:function(Q,G,J){if(G==="so")return J.ordinalNumber(Q.getSeconds(),{unit:"second"});return Y6.s(Q,G)},S:function(Q,G){return Y6.S(Q,G)},X:function(Q,G,J){let Y=Q.getTimezoneOffset();if(Y===0)return"Z";switch(G){case"X":return sV(Y);case"XXXX":case"XX":return T7(Y);case"XXXXX":case"XXX":default:return T7(Y,":")}},x:function(Q,G,J){let Y=Q.getTimezoneOffset();switch(G){case"x":return sV(Y);case"xxxx":case"xx":return T7(Y);case"xxxxx":case"xxx":default:return T7(Y,":")}},O:function(Q,G,J){let Y=Q.getTimezoneOffset();switch(G){case"O":case"OO":case"OOO":return"GMT"+rV(Y,":");case"OOOO":default:return"GMT"+T7(Y,":")}},z:function(Q,G,J){let Y=Q.getTimezoneOffset();switch(G){case"z":case"zz":case"zzz":return"GMT"+rV(Y,":");case"zzzz":default:return"GMT"+T7(Y,":")}},t:function(Q,G,J){let Y=Math.trunc(+Q/1000);return Q5(Y,G.length)},T:function(Q,G,J){return Q5(+Q,G.length)}};function rV(Q,G=""){let J=Q>0?"-":"+",Y=Math.abs(Q),U=Math.trunc(Y/60),B=Y%60;if(B===0)return J+String(U);return J+String(U)+G+Q5(B,2)}function sV(Q,G){if(Q%60===0)return(Q>0?"-":"+")+Q5(Math.abs(Q)/60,2);return T7(Q,G)}function T7(Q,G=""){let J=Q>0?"-":"+",Y=Math.abs(Q),U=Q5(Math.trunc(Y/60),2),B=Q5(Y%60,2);return J+U+G+B}var nV=(Q,G)=>{switch(Q){case"P":return G.date({width:"short"});case"PP":return G.date({width:"medium"});case"PPP":return G.date({width:"long"});case"PPPP":default:return G.date({width:"full"})}},oV=(Q,G)=>{switch(Q){case"p":return G.time({width:"short"});case"pp":return G.time({width:"medium"});case"ppp":return G.time({width:"long"});case"pppp":default:return G.time({width:"full"})}},FA=(Q,G)=>{let J=Q.match(/(P+)(p+)?/)||[],Y=J[1],U=J[2];if(!U)return nV(Q,G);let B;switch(Y){case"P":B=G.dateTime({width:"short"});break;case"PP":B=G.dateTime({width:"medium"});break;case"PPP":B=G.dateTime({width:"long"});break;case"PPPP":default:B=G.dateTime({width:"full"});break}return B.replace("{{date}}",nV(Y,G)).replace("{{time}}",oV(U,G))},iV={p:oV,P:FA};var WA=/^D+$/,RA=/^Y+$/,zA=["D","DD","YY","YYYY"];function aV(Q){return WA.test(Q)}function tV(Q){return RA.test(Q)}function eV(Q,G,J){let Y=LA(Q,G,J);if(console.warn(Y),zA.includes(Q))throw RangeError(Y)}function LA(Q,G,J){let Y=Q[0]==="Y"?"years":"days of the month";return`Use \`${Q.toLowerCase()}\` instead of \`${Q}\` (in \`${G}\`) for formatting ${Y} to the input \`${J}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var VA=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_A=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,TA=/^'([^]*?)'?$/,EA=/''/g,wA=/[a-zA-Z]/;function u1(Q,G,J){let Y=P$(),U=J?.locale??Y.locale??Gq,B=J?.firstWeekContainsDate??J?.locale?.options?.firstWeekContainsDate??Y.firstWeekContainsDate??Y.locale?.options?.firstWeekContainsDate??1,M=J?.weekStartsOn??J?.locale?.options?.weekStartsOn??Y.weekStartsOn??Y.locale?.options?.weekStartsOn??0,H=e0(Q,J?.in);if(!IV(H))throw RangeError("Invalid time value");let F=G.match(_A).map((L)=>{let V=L[0];if(V==="p"||V==="P"){let T=iV[V];return T(L,U.formatLong)}return L}).join("").match(VA).map((L)=>{if(L==="''")return{isToken:!1,value:"'"};let V=L[0];if(V==="'")return{isToken:!1,value:PA(L)};if(lK[V])return{isToken:!0,value:L};if(V.match(wA))throw RangeError("Format string contains an unescaped latin alphabet character `"+V+"`");return{isToken:!1,value:L}});if(U.localize.preprocessor)F=U.localize.preprocessor(H,F);let z={firstWeekContainsDate:B,weekStartsOn:M,locale:U};return F.map((L)=>{if(!L.isToken)return L.value;let V=L.value;if(!J?.useAdditionalWeekYearTokens&&tV(V)||!J?.useAdditionalDayOfYearTokens&&aV(V))eV(V,G,String(Q));let T=lK[V[0]];return T(H,V,U.localize,z)}).join("")}function PA(Q){let G=Q.match(TA);if(!G)return Q;return G[1].replace(EA,"'")}function $_(Q,G,J){let Y=P$(),U=J?.locale??Y.locale??Gq,B=2520,M=l9(Q,G);if(isNaN(M))throw RangeError("Invalid time value");let H=Object.assign({},J,{addSuffix:J?.addSuffix,comparison:M}),[F,z]=H4(J?.in,...M>0?[G,Q]:[Q,G]),L=bV(z,F),V=(c9(z)-c9(F))/1000,T=Math.round((L-V)/60),P;if(T<2)if(J?.includeSeconds)if(L<5)return U.formatDistance("lessThanXSeconds",5,H);else if(L<10)return U.formatDistance("lessThanXSeconds",10,H);else if(L<20)return U.formatDistance("lessThanXSeconds",20,H);else if(L<40)return U.formatDistance("halfAMinute",0,H);else if(L<60)return U.formatDistance("lessThanXMinutes",1,H);else return U.formatDistance("xMinutes",1,H);else if(T===0)return U.formatDistance("lessThanXMinutes",1,H);else return U.formatDistance("xMinutes",T,H);else if(T<45)return U.formatDistance("xMinutes",T,H);else if(T<90)return U.formatDistance("aboutXHours",1,H);else if(T<dK){let I=Math.round(T/60);return U.formatDistance("aboutXHours",I,H)}else if(T<2520)return U.formatDistance("xDays",1,H);else if(T<qq){let I=Math.round(T/dK);return U.formatDistance("xDays",I,H)}else if(T<qq*2)return P=Math.round(T/qq),U.formatDistance("aboutXMonths",P,H);if(P=kV(z,F),P<12){let I=Math.round(T/qq);return U.formatDistance("xMonths",I,H)}else{let I=P%12,D=Math.trunc(P/12);if(I<3)return U.formatDistance("aboutXYears",D,H);else if(I<9)return U.formatDistance("overXYears",D,H);else return U.formatDistance("almostXYears",D+1,H)}}function Z_(Q,G){return $_(Q,PV(Q),G)}var m8=z0(q5(),1),Y8=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],P2={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function C2(Q){let{chartTheme:G,showLegend:J,defaultLabel:Y,formatValue:U,footer:B}=Q;return{legend:{display:J,position:"top",align:"start",labels:{color:G.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:G.tooltipBackground,titleColor:G.tooltipTitle,bodyColor:G.tooltipBody,borderColor:G.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(M)=>{let H=M.dataset.label??Y,F=M.parsed.y??0;return`${H}: ${U(F)}`},...B?{footer:B}:{}}}}}function I2(Q){let{chartTheme:G,formatY:J}=Q,Y={grid:{color:G.grid,drawBorder:!1},ticks:{color:G.tick,font:{size:11}}},U={...Y,ticks:{...Y.ticks,callback:(B)=>J(Number(B))},min:0};return{sharedScaleBase:Y,yScale:U}}function O2(Q){return{borderColor:Q,backgroundColor:`${Q}20`,fill:!0,tension:0,pointRadius:3,pointHoverRadius:4,borderWidth:2}}function j2(Q){return{backgroundColor:Q,borderColor:Q,borderWidth:0,borderRadius:3}}function o9(Q,G){return Q.datasets.map((J,Y)=>({label:J.label,data:J.data,...G(Y)}))}function A2(Q,G,J){if(Q.length===0)return{labels:[],datasets:[]};let{initBucket:Y,accumulate:U,bucketToValue:B}=J,M=new Map;for(let F of Q){let z=M.get(F.timestamp)??Y();U(z,F),M.set(F.timestamp,z)}let H=[...M.entries()].sort((F,z)=>F[0]-z[0]);return{labels:H.map(([F])=>u1(new Date(F),"MMM d")),datasets:[{label:G,data:H.map(([,F])=>B(F))}]}}function D2(Q,G){if(Q.length===0)return{labels:[],datasets:[]};let{topN:J=5,rankWeight:Y,initBucket:U,accumulate:B,bucketToValue:M}=G,H=new Map;for(let g of Q){let m=`${g.model}::${g.provider}`,o=H.get(m);if(o)o.weight+=Y(g);else H.set(m,{model:g.model,provider:g.provider,weight:Y(g)})}let z=[...H.entries()].sort((g,m)=>m[1].weight-g[1].weight).slice(0,J),L=new Set(z.map(([g])=>g)),V=new Map;for(let[,{model:g}]of z)V.set(g,(V.get(g)??0)+1);let T=new Map;for(let[g,{model:m,provider:o}]of z)T.set(g,(V.get(m)??0)>1?`${m} (${o})`:m);let P=[...new Set(Q.map((g)=>g.timestamp))].sort((g,m)=>g-m),I=z.map(([g])=>T.get(g)??g);if(Q.some((g)=>!L.has(`${g.model}::${g.provider}`)))I.push("Other");let C=new Map;for(let g of P)C.set(g,{});for(let g of Q){let m=`${g.model}::${g.provider}`,o=L.has(m)?T.get(m)??g.model:"Other",i=C.get(g.timestamp);if(!i)continue;let s=i[o]??U();B(s,g),i[o]=s}return{labels:P.map((g)=>u1(new Date(g),"MMM d")),datasets:I.map((g)=>({label:g,data:P.map((m)=>{let o=C.get(m)?.[g];return o?M(o):0})}))}}function IA({byModel:Q,onChange:G}){return m8.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:[m8.jsxDEV("button",{type:"button",onClick:()=>G(!1),className:`tab-btn text-xs ${!Q?"active":""}`,children:"All Models"},void 0,!1,void 0,this),m8.jsxDEV("button",{type:"button",onClick:()=>G(!0),className:`tab-btn text-xs ${Q?"active":""}`,children:"By Model"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function S2({title:Q,subtitle:G,empty:J,emptyMessage:Y,controls:U,byModel:B,onByModelChange:M,children:H}){return m8.jsxDEV("div",{className:"surface overflow-hidden",children:[m8.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)] flex items-center justify-between gap-4 flex-wrap",children:[m8.jsxDEV("div",{children:[m8.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),m8.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:G},void 0,!1,void 0,this)]},void 0,!0,void 0,this),m8.jsxDEV("div",{className:"flex items-center gap-2 flex-wrap",children:[U,m8.jsxDEV(IA,{byModel:B,onChange:M},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),m8.jsxDEV("div",{className:"p-5 min-h-[320px]",children:J?m8.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Y},void 0,!1,void 0,this):m8.jsxDEV("div",{className:"h-[280px]",children:H},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var i9=z0(q5(),1);P8.register(x1,h1,Qq,u8,g1,T$,E$,_$,p9);var rK=[{value:"yelling",label:"Yelling"},{value:"profanity",label:"Profanity"},{value:"anguish",label:"Anguish (!!!, nooo, dude, ..)"},{value:"negation",label:"Negation (no/nope/wrong)"},{value:"repetition",label:"Repetition (i meant, still doesnt)"},{value:"blame",label:"Blame (you didnt, stop X-ing)"},{value:"frustration",label:"Frustration (neg + rep + blame)"},{value:"total",label:"All signals combined"}];function Q_(Q){if(!Number.isFinite(Q))return"-";if(Q===0)return"0%";if(Math.abs(Q)<1)return`${Q.toFixed(1)}%`;return`${Q.toFixed(0)}%`}function q_(Q,G){if(G==="frustration")return Q.negation+Q.repetition+Q.blame;if(G==="total")return Q.yelling+Q.profanity+Q.anguish+Q.negation+Q.repetition+Q.blame;return Q[G]}function G_(Q,G){if(G<=0)return 0;return Q/G*100}function OA(Q,G){let J=rK.find((Y)=>Y.value===G)?.label??"Hits";return A2(Q,J,{initBucket:()=>({hits:0,messages:0}),accumulate:(Y,U)=>{Y.hits+=q_(U,G),Y.messages+=U.messages},bucketToValue:(Y)=>G_(Y.hits,Y.messages)})}function jA(Q,G){return D2(Q,{rankWeight:(J)=>J.messages,initBucket:()=>({hits:0,messages:0}),accumulate:(J,Y)=>{J.hits+=q_(Y,G),J.messages+=Y.messages},bucketToValue:(J)=>G_(J.hits,J.messages)})}function J_({behaviorSeries:Q}){let[G,J]=Jq.useState(!1),[Y,U]=Jq.useState("total"),B=w$(),M=P2[B],H=Jq.useMemo(()=>G?jA(Q,Y):OA(Q,Y),[Q,G,Y]),F=C2({chartTheme:M,showLegend:G,defaultLabel:"Hits",formatValue:Q_}),{sharedScaleBase:z,yScale:L}=I2({chartTheme:M,formatY:Q_}),V=rK.find((I)=>I.value===Y)?.label??"",T=i9.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-sm)] p-0.5 border border-[var(--border-subtle)]",children:rK.map((I)=>i9.jsxDEV("button",{type:"button",onClick:()=>U(I.value),className:`tab-btn text-xs ${Y===I.value?"active":""}`,children:I.label},I.value,!1,void 0,this))},void 0,!1,void 0,this),P;if(G){let I={labels:H.labels,datasets:o9(H,(C)=>O2(Y8[C%Y8.length]))};P=i9.jsxDEV(w1,{data:I,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:z,y:L}}},void 0,!1,void 0,this)}else{let I={labels:H.labels,datasets:o9(H,(C)=>j2(Y8[C%Y8.length]))},D={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:F,scales:{x:{...z,stacked:!0},y:{...L,stacked:!0}},layout:{padding:{top:8}}};P=i9.jsxDEV(L2,{data:I,options:D},void 0,!1,void 0,this)}return i9.jsxDEV(S2,{title:"User Tantrums",subtitle:`${V} as % of user messages per day`,empty:H.labels.length===0,emptyMessage:"No behavioral data yet. Sync to scan your sessions.",controls:T,byModel:G,onByModelChange:J,children:P},void 0,!1,void 0,this)}var r2=z0(e5(),1);var b2=z0(e5(),1);var v2=(...Q)=>Q.filter((G,J,Y)=>{return Boolean(G)&&G.trim()!==""&&Y.indexOf(G)===J}).join(" ").trim();var X_=(Q)=>Q.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var Y_=(Q)=>Q.replace(/^([A-Z])|[\s-_]+(\w)/g,(G,J,Y)=>Y?Y.toUpperCase():J.toLowerCase());var sK=(Q)=>{let G=Y_(Q);return G.charAt(0).toUpperCase()+G.slice(1)};var Xq=z0(e5(),1);var k2={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};var U_=(Q)=>{for(let G in Q)if(G.startsWith("aria-")||G==="role"||G==="title")return!0;return!1};var a9=z0(e5(),1),AA=a9.createContext({});var K_=()=>a9.useContext(AA);var B_=Xq.forwardRef(({color:Q,size:G,strokeWidth:J,absoluteStrokeWidth:Y,className:U="",children:B,iconNode:M,...H},F)=>{let{size:z=24,strokeWidth:L=2,absoluteStrokeWidth:V=!1,color:T="currentColor",className:P=""}=K_()??{},I=Y??V?Number(J??L)*24/Number(G??z):J??L;return Xq.createElement("svg",{ref:F,...k2,width:G??z??k2.width,height:G??z??k2.height,stroke:Q??T,strokeWidth:I,className:v2("lucide",P,U),...!B&&!U_(H)&&{"aria-hidden":"true"},...H},[...M.map(([D,C])=>Xq.createElement(D,C)),...Array.isArray(B)?B:[B]])});var h0=(Q,G)=>{let J=b2.forwardRef(({className:Y,...U},B)=>b2.createElement(B_,{ref:B,iconNode:G,className:v2(`lucide-${X_(sK(Q))}`,`lucide-${Q}`,Y),...U}));return J.displayName=sK(Q),J};var DA=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],F4=h0("chart-column",DA);var SA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],W4=h0("circle-alert",SA);var vA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],R4=h0("circle-check",vA);var kA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],z4=h0("circle-x",kA);var bA=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],L4=h0("file-braces",bA);var fA=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],w7=h0("activity",fA);var yA=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Yq=h0("chevron-down",yA);var gA=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Uq=h0("chevron-up",gA);var xA=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],Kq=h0("clock",xA);var hA=[["path",{d:"M13.744 17.736a6 6 0 1 1-7.48-7.48",key:"bq4yh3"}],["path",{d:"M15 6h1v4",key:"11y1tn"}],["path",{d:"m6.134 14.768.866-.5 2 3.464",key:"17snzx"}],["circle",{cx:"16",cy:"8",r:"6",key:"14bfc9"}]],Bq=h0("coins",hA);var uA=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Nq=h0("database",uA);var mA=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Mq=h0("download",mA);var dA=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],Hq=h0("gauge",dA);var pA=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],Fq=h0("hash",pA);var cA=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Wq=h0("refresh-cw",cA);var lA=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],Rq=h0("server",lA);var rA=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],P7=h0("star",rA);var sA=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],zq=h0("upload",sA);var nA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Lq=h0("x",nA);var oA=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],C7=h0("zap",oA);var P5=z0(q5(),1),f2={dark:{legendLabel:"#cbd5e1",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#94a3b8"},light:{legendLabel:"#334155",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#475569"}};function U6(Q){return{borderColor:Q,backgroundColor:"transparent",tension:0.4,pointRadius:0,borderWidth:2}}function y2({timestamps:Q,values:G,color:J}){let Y={labels:Q.map((B)=>u1(new Date(B),"MMM d")),datasets:[{data:G,...U6(J)}]};return P5.jsxDEV(w1,{data:Y,options:{responsive:!0,maintainAspectRatio:!1,plugins:{legend:{display:!1},tooltip:{enabled:!1}},scales:{x:{display:!1},y:{display:!1,min:0}}}},void 0,!1,void 0,this)}function g2(Q){return{legend:{display:!0,position:"top",labels:{color:Q.legendLabel,usePointStyle:!0,padding:16,font:{size:12}}},tooltip:{backgroundColor:Q.tooltipBackground,titleColor:Q.tooltipTitle,bodyColor:Q.tooltipBody,borderColor:Q.tooltipBorder,borderWidth:1,cornerRadius:8}}}function N_(Q){return{x:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}},min:0}}}function M_(Q){return{x:{grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y:{type:"linear",display:!0,position:"left",grid:{color:Q.grid},ticks:{color:Q.tick,font:{size:11}}},y1:{type:"linear",display:!0,position:"right",grid:{drawOnChartArea:!1},ticks:{color:Q.tick,font:{size:11}}}}}function x2({title:Q,subtitle:G,children:J}){return P5.jsxDEV("div",{className:"surface overflow-hidden",children:[P5.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[P5.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),G?P5.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:G},void 0,!1,void 0,this):null]},void 0,!0,void 0,this),P5.jsxDEV("div",{className:"overflow-x-auto",children:J},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function iA(Q){if(Q==="right")return"text-right";if(Q==="center")return"text-center";return""}function h2({columns:Q,gridTemplate:G}){return P5.jsxDEV("div",{className:"grid gap-3 px-5 py-3 text-[var(--text-muted)] text-xs uppercase tracking-wider font-semibold",style:{gridTemplateColumns:G},children:[Q.map((J)=>P5.jsxDEV("div",{className:iA(J.align),children:J.label},J.label,!1,void 0,this)),P5.jsxDEV("div",{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function u2({children:Q}){return P5.jsxDEV("div",{className:"max-h-[calc(100vh-300px)] overflow-y-auto",children:Q},void 0,!1,void 0,this)}function m2({model:Q,provider:G}){return P5.jsxDEV("div",{children:[P5.jsxDEV("div",{className:"font-medium text-[var(--text-primary)]",children:Q},void 0,!1,void 0,this),P5.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:G},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function d2({gridTemplate:Q,cells:G,trendCell:J,isExpanded:Y,onToggle:U,expandedContent:B}){return P5.jsxDEV("div",{className:"border-t border-[var(--border-subtle)]",children:[P5.jsxDEV("button",{type:"button",onClick:U,className:"w-full bg-transparent border-none text-left px-5 py-3 cursor-pointer hover:bg-[var(--bg-hover)] transition-colors",children:P5.jsxDEV("div",{className:"grid gap-3 items-center",style:{gridTemplateColumns:Q},children:[G,P5.jsxDEV("div",{className:"h-10",children:J},void 0,!1,void 0,this),P5.jsxDEV("div",{className:"flex justify-center text-[var(--text-muted)]",children:Y?P5.jsxDEV(Uq,{size:16},void 0,!1,void 0,this):P5.jsxDEV(Yq,{size:16},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),Y?P5.jsxDEV("div",{className:"px-5 py-4 bg-[var(--bg-elevated)] border-t border-[var(--border-subtle)]",children:B},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}function p2(){return P5.jsxDEV("div",{className:"text-[var(--text-muted)] text-center text-sm",children:"-"},void 0,!1,void 0,this)}function c2({message:Q="No data available"}){return P5.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:Q},void 0,!1,void 0,this)}var r0=z0(q5(),1);P8.register(x1,h1,g1,u8,T$,E$,_$);var l2={yelling:"#fbbf24",profanity:"#f87171",anguish:"#a78bfa",frustration:"#22d3ee"},H_="2fr 0.9fr 0.8fr 0.8fr 0.8fr 0.9fr 0.8fr 140px 40px";function W_(Q){return Q.toLocaleString()}function F_(Q){if(Q.totalMessages===0)return 0;return(Q.totalYelling+Q.totalProfanity+Q.totalAnguish+Q.totalNegation+Q.totalRepetition+Q.totalBlame)/Q.totalMessages}function t9(Q,G){if(G===0)return"-";let J=Q/G*100;if(J===0)return"0%";if(J<1)return`${J.toFixed(1)}%`;return`${J.toFixed(0)}%`}function R_({models:Q,behaviorSeries:G}){let[J,Y]=r2.useState(null),U=w$(),B=f2[U],M=r2.useMemo(()=>tA(G),[G]),H=[...Q].sort((F,z)=>{if(z.totalMessages!==F.totalMessages)return z.totalMessages-F.totalMessages;return F_(z)-F_(F)});return r0.jsxDEV(x2,{title:"Behavior by Model",subtitle:"How often each model elicited a tantrum — rates are per user message",children:[r0.jsxDEV(h2,{gridTemplate:H_,columns:[{label:"Model"},{label:"Messages",align:"right"},{label:"CAPS %",align:"right"},{label:"Profanity %",align:"right"},{label:"Anguish %",align:"right"},{label:"Frustration %",align:"right"},{label:"Hits %",align:"right"},{label:"Trend",align:"center"}]},void 0,!1,void 0,this),r0.jsxDEV(u2,{children:[H.map((F,z)=>{let L=`${F.model}::${F.provider}`,V=M.get(L)?.data??[],T=Y8[z%Y8.length],P=J===L,I=F.totalNegation+F.totalRepetition+F.totalBlame,D=F.totalYelling+F.totalProfanity+F.totalAnguish+I;return r0.jsxDEV(d2,{gridTemplate:H_,isExpanded:P,onToggle:()=>Y(P?null:L),cells:[r0.jsxDEV(m2,{model:F.model,provider:F.provider},"name",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:W_(F.totalMessages)},"messages",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(F.totalYelling,F.totalMessages)},"caps",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(F.totalProfanity,F.totalMessages)},"profanity",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(F.totalAnguish,F.totalMessages)},"anguish",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(I,F.totalMessages)},"frustration",!1,void 0,this),r0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:t9(D,F.totalMessages)},"hits",!1,void 0,this)],trendCell:V.length===0?r0.jsxDEV(p2,{},void 0,!1,void 0,this):r0.jsxDEV(y2,{timestamps:V.map((C)=>C.timestamp),values:V.map((C)=>C.total),color:T},void 0,!1,void 0,this),expandedContent:r0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"220px 1fr"},children:[r0.jsxDEV("div",{className:"space-y-4 text-sm",children:[r0.jsxDEV(I7,{label:"Yelling (CAPS)",total:F.totalYelling,messages:F.totalMessages,valueClass:"text-[var(--accent-amber,#fbbf24)]"},void 0,!1,void 0,this),r0.jsxDEV(I7,{label:"Profanity",total:F.totalProfanity,messages:F.totalMessages,valueClass:"text-[var(--accent-red,#f87171)]"},void 0,!1,void 0,this),r0.jsxDEV(I7,{label:"Anguish (!!!, nooo, dude, ..)",total:F.totalAnguish,messages:F.totalMessages,valueClass:"text-[var(--accent-violet,#a78bfa)]"},void 0,!1,void 0,this),r0.jsxDEV(I7,{label:"Negation (no/nope/wrong)",total:F.totalNegation,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(I7,{label:"Repetition (i meant, still doesnt)",total:F.totalRepetition,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(I7,{label:"Blame (you didnt, stop X-ing)",total:F.totalBlame,messages:F.totalMessages,valueClass:"text-[var(--accent-cyan,#22d3ee)]"},void 0,!1,void 0,this),r0.jsxDEV(I7,{label:"Avg chars / msg",total:F.totalChars,messages:F.totalMessages,valueClass:"text-[var(--text-secondary)]",mode:"average"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"h-[200px]",children:V.length===0?r0.jsxDEV(c2,{},void 0,!1,void 0,this):r0.jsxDEV(aA,{data:V,chartTheme:B},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},L,!1,void 0,this)}),H.length===0?r0.jsxDEV("div",{className:"border-t border-[var(--border-subtle)] px-5 py-8 text-center text-[var(--text-muted)] text-sm",children:"No user behavior recorded for this range yet."},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function I7({label:Q,total:G,messages:J,valueClass:Y,mode:U="rate"}){let B=U==="rate"?"% of msgs":"Per msg",M=J>0?U==="rate"?t9(G,J):(G/J).toFixed(0):"-";return r0.jsxDEV("div",{children:[r0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:Q},void 0,!1,void 0,this),r0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:"Total"},void 0,!1,void 0,this),r0.jsxDEV("span",{className:`font-mono ${Y}`,children:W_(G)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),r0.jsxDEV("div",{className:"flex items-center justify-between",children:[r0.jsxDEV("span",{children:B},void 0,!1,void 0,this),r0.jsxDEV("span",{className:"font-mono",children:M},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function aA({data:Q,chartTheme:G}){let J={labels:Q.map((U)=>u1(new Date(U.timestamp),"MMM d")),datasets:[{label:"CAPS",data:Q.map((U)=>U.yelling),...U6(l2.yelling)},{label:"Profanity",data:Q.map((U)=>U.profanity),...U6(l2.profanity)},{label:"Anguish",data:Q.map((U)=>U.anguish),...U6(l2.anguish)},{label:"Frustration",data:Q.map((U)=>U.frustration),...U6(l2.frustration)}]},Y={responsive:!0,maintainAspectRatio:!1,plugins:g2(G),scales:N_(G)};return r0.jsxDEV(w1,{data:J,options:Y},void 0,!1,void 0,this)}function tA(Q){if(Q.length===0)return new Map;let G=[...new Set(Q.map((U)=>U.timestamp))].sort((U,B)=>U-B),J=new Map;for(let U of Q){let B=`${U.model}::${U.provider}`,M=J.get(B);if(!M)M=new Map,J.set(B,M);let H=M.get(U.timestamp)??{timestamp:U.timestamp,yelling:0,profanity:0,anguish:0,frustration:0,total:0};H.yelling+=U.yelling,H.profanity+=U.profanity,H.anguish+=U.anguish,H.frustration+=U.negation+U.repetition+U.blame,H.total=H.yelling+H.profanity+H.anguish+H.frustration,M.set(U.timestamp,H)}let Y=new Map;for(let[U,B]of J){let M=G.map((H)=>B.get(H)??{timestamp:H,yelling:0,profanity:0,anguish:0,frustration:0,total:0});Y.set(U,{data:M})}return Y}var z_=z0(e5(),1),$Z=z0(q5(),1);function e9(Q){return Q.toLocaleString()}function s2(Q,G){if(G<=0)return;return`${(Q/G).toFixed(2)} / msg`}function L_({overall:Q,behaviorSeries:G}){let J=z_.useMemo(()=>{let M=new Map;for(let F of G){let z=`${F.model}::${F.provider}`,L=M.get(z),V=F.yelling+F.profanity+F.anguish+F.negation+F.repetition+F.blame;if(L)L.score+=V;else M.set(z,{model:F.model,provider:F.provider,score:V})}let H=null;for(let F of M.values())if(!H||F.score>H.score)H=F;return H},[G]),Y=Q.totalNegation+Q.totalRepetition+Q.totalBlame,U=Q.totalMessages,B=[{label:"Messages",value:e9(Q.totalMessages),sub:U>0?"in selected range":void 0},{label:"Yelling",value:e9(Q.totalYelling),sub:s2(Q.totalYelling,U)},{label:"Profanity hits",value:e9(Q.totalProfanity),sub:s2(Q.totalProfanity,U)},{label:"Anguish",value:e9(Q.totalAnguish),sub:s2(Q.totalAnguish,U)},{label:"Frustration",value:e9(Y),sub:s2(Y,U)},{label:"Most yelled-at",value:J?.model??"—",sub:J?`${e9(J.score)} hits`:void 0}];return $Z.jsxDEV("div",{className:"grid grid-cols-2 sm:grid-cols-6 gap-4",children:B.map((M)=>$Z.jsxDEV("div",{className:"surface px-4 py-3",children:[$Z.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:M.label},void 0,!1,void 0,this),$Z.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:M.value,children:M.value},void 0,!1,void 0,this),M.sub&&$Z.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:M.sub},void 0,!1,void 0,this)]},M.label,!0,void 0,this))},void 0,!1,void 0,this)}var T_=z0(e5(),1);var nK=3600000,n2=24*nK,V_={"1h":{windowLabel:"the last hour",trendLabel:"1h Trend",bucketMs:nK,bucketCount:1,tickFormat:"HH:mm"},"24h":{windowLabel:"the last 24 hours",trendLabel:"24h Trend",bucketMs:nK,bucketCount:24,tickFormat:"HH:mm"},"7d":{windowLabel:"the last 7 days",trendLabel:"7d Trend",bucketMs:n2,bucketCount:7,tickFormat:"MMM d"},"30d":{windowLabel:"the last 30 days",trendLabel:"30d Trend",bucketMs:n2,bucketCount:30,tickFormat:"MMM d"},"90d":{windowLabel:"the last 90 days",trendLabel:"90d Trend",bucketMs:n2,bucketCount:90,tickFormat:"MMM d"},all:{windowLabel:"all time",trendLabel:"Trend",bucketMs:n2,bucketCount:0,tickFormat:"MMM d"}};function o2(Q){return V_[Q]}function __(Q,G){return u1(new Date(Q),V_[G].tickFormat)}var K6=z0(q5(),1);P8.register(x1,h1,g1,u8,T$,E$,_$,p9);var i2=["#a78bfa","#22d3ee","#ec4899","#4ade80","#fbbf24","#f87171","#60a5fa"],eA={dark:{legendLabel:"#94a3b8",tooltipBackground:"#16161e",tooltipTitle:"#f8fafc",tooltipBody:"#94a3b8",tooltipBorder:"rgba(255, 255, 255, 0.1)",grid:"rgba(255, 255, 255, 0.06)",tick:"#64748b"},light:{legendLabel:"#475569",tooltipBackground:"#ffffff",tooltipTitle:"#0f172a",tooltipBody:"#334155",tooltipBorder:"rgba(15, 23, 42, 0.18)",grid:"rgba(15, 23, 42, 0.08)",tick:"#64748b"}};function E_({modelSeries:Q,timeRange:G}){let J=T_.useMemo(()=>$D(Q),[Q]),Y=w$(),U=eA[Y],B=o2(G),M={labels:J.data.map((F)=>__(F.timestamp,G)),datasets:J.series.map((F,z)=>({label:F,data:J.data.map((L)=>L[F]??0),borderColor:i2[z%i2.length],backgroundColor:`${i2[z%i2.length]}20`,fill:!0,tension:0.4,pointRadius:0,pointHoverRadius:4,borderWidth:2}))},H={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{legend:{position:"top",align:"start",labels:{color:U.legendLabel,usePointStyle:!0,padding:16,font:{size:12},boxWidth:8}},tooltip:{backgroundColor:U.tooltipBackground,titleColor:U.tooltipTitle,bodyColor:U.tooltipBody,borderColor:U.tooltipBorder,borderWidth:1,padding:12,cornerRadius:8,callbacks:{label:(F)=>{let z=F.dataset.label??"",L=F.parsed.y;return`${z}: ${(L??0).toFixed(1)}%`}}}},scales:{x:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11}}},y:{grid:{color:U.grid,drawBorder:!1},ticks:{color:U.tick,font:{size:11},callback:(F)=>`${F}%`},min:0,max:100}}};return K6.jsxDEV("div",{className:"surface overflow-hidden",children:[K6.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:[K6.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:"Model Preference"},void 0,!1,void 0,this),K6.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-1",children:["Share of requests over ",B.windowLabel]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),K6.jsxDEV("div",{className:"p-5 min-h-[320px]",children:J.data.length===0?K6.jsxDEV("div",{className:"h-full flex items-center justify-center text-[var(--text-muted)] text-sm",children:"No data available"},void 0,!1,void 0,this):K6.jsxDEV("div",{className:"h-[280px]",children:K6.jsxDEV(w1,{data:M,options:H},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function $D(Q,G=5){if(Q.length===0)return{data:[],series:[]};let J=new Map;for(let V of Q){let T=`${V.model}::${V.provider}`,P=J.get(T);if(P)P.total+=V.requests;else J.set(T,{model:V.model,provider:V.provider,total:V.requests})}let U=[...J.entries()].map(([V,T])=>({key:V,...T})).sort((V,T)=>T.total-V.total).slice(0,G),B=new Set(U.map((V)=>V.key)),M=new Map;for(let V of U)M.set(V.model,(M.get(V.model)??0)+1);let H=new Map;for(let V of U){let T=(M.get(V.model)??0)>1;H.set(V.key,T?`${V.model} (${V.provider})`:V.model)}let F=new Map;for(let V of Q){let T=`${V.model}::${V.provider}`,P=F.get(V.timestamp)??{timestamp:V.timestamp,total:0};P.total+=V.requests;let I=B.has(T)?H.get(T)??V.model:"Other";P[I]=(P[I]??0)+V.requests,F.set(V.timestamp,P)}let z=U.map((V)=>H.get(V.key)??V.model);if([...F.values()].some((V)=>(V.Other??0)>0))z.push("Other");return{data:[...F.values()].sort((V,T)=>(V.timestamp??0)-(T.timestamp??0)).map((V)=>{let T=V.total??0;for(let P of z)V[P]=T>0?(V[P]??0)/T*100:0;return V}),series:z}}var t2=z0(e5(),1);var a2=z0(q5(),1);P8.register(x1,h1,Qq,u8,g1,T$,E$,_$,p9);var ZD={dark:"rgba(248, 250, 252, 0.7)",light:"rgba(15, 23, 42, 0.6)"};function QD(Q){return{id:"costBarLabels",afterDatasetsDraw(G){let{ctx:J}=G;if(!G.data.datasets[0])return;let U=G.getDatasetMeta(0);J.save(),J.font="11px system-ui, sans-serif",J.fillStyle=Q,J.textAlign="center",J.textBaseline="bottom";for(let B of U.data){let M=B.$context.parsed.y;if(!M)continue;let H=`$${Math.round(M)}`,{x:F,y:z}=B.getProps(["x","y"],!0);J.fillText(H,F,z-3)}J.restore()}}}function qD(Q){return A2(Q,"Cost",{initBucket:()=>({total:0}),accumulate:(G,J)=>{G.total+=J.cost},bucketToValue:(G)=>G.total})}function GD(Q){return D2(Q,{rankWeight:(G)=>G.cost,initBucket:()=>({total:0}),accumulate:(G,J)=>{G.total+=J.cost},bucketToValue:(G)=>G.total})}function w_({costSeries:Q}){let[G,J]=t2.useState(!1),Y=w$(),U=P2[Y],B=t2.useMemo(()=>G?GD(Q):qD(Q),[Q,G]),M=C2({chartTheme:U,showLegend:G,defaultLabel:"Cost",formatValue:(L)=>`$${Math.round(L)}`,footer:(L)=>{if(!G||L.length<2)return;let V=L.reduce((T,P)=>T+(P.parsed.y??0),0);return`Total: $${Math.round(V)}`}}),{sharedScaleBase:H,yScale:F}=I2({chartTheme:U,formatY:(L)=>`$${Math.round(L)}`}),z;if(G){let L={labels:B.labels,datasets:o9(B,(T)=>O2(Y8[T%Y8.length]))};z=a2.jsxDEV(w1,{data:L,options:{responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:M,scales:{x:H,y:F}}},void 0,!1,void 0,this)}else{let L={labels:B.labels,datasets:o9(B,(P)=>j2(Y8[P%Y8.length]))},V=QD(ZD[Y]),T={responsive:!0,maintainAspectRatio:!1,interaction:{mode:"index",intersect:!1},plugins:{...M,costBarLabels:{}},scales:{x:{...H,stacked:!0},y:{...F,stacked:!0}},layout:{padding:{top:24}}};z=a2.jsxDEV(L2,{data:L,options:T,plugins:[V]},void 0,!1,void 0,this)}return a2.jsxDEV(S2,{title:"Daily Cost",subtitle:"API spending over time",empty:B.labels.length===0,emptyMessage:"No cost data available",byModel:G,onByModelChange:J,children:z},void 0,!1,void 0,this)}var ZZ=z0(q5(),1);function oK(Q){return`$${Math.round(Q)}`}function P_({costSeries:Q}){let G=Q.reduce((F,z)=>F+z.cost,0),J=new Set(Q.map((F)=>F.timestamp)).size,Y=J>0?G/J:0,U=new Map;for(let F of Q)U.set(F.model,(U.get(F.model)??0)+F.cost);let B="",M=0;for(let[F,z]of U)if(z>M)B=F,M=z;let H=[{label:"Total",value:oK(G)},{label:"Avg / day",value:oK(Y)},{label:"Top model",value:B||"—",sub:B?oK(M):void 0}];return ZZ.jsxDEV("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:H.map((F)=>ZZ.jsxDEV("div",{className:"surface px-4 py-3",children:[ZZ.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mb-1",children:F.label},void 0,!1,void 0,this),ZZ.jsxDEV("p",{className:"text-lg font-semibold text-[var(--text-primary)] truncate",title:F.value,children:F.value},void 0,!1,void 0,this),F.sub&&ZZ.jsxDEV("p",{className:"text-xs text-[var(--text-muted)] mt-0.5",children:F.sub},void 0,!1,void 0,this)]},F.label,!0,void 0,this))},void 0,!1,void 0,this)}var C8=z0(q5(),1),JD=["overview","requests","errors","models","costs","behavior"],XD=[{label:"1h",value:"1h"},{label:"24h",value:"24h"},{label:"7d",value:"7d"},{label:"30d",value:"30d"},{label:"90d",value:"90d"},{label:"All",value:"all"}];function C_({activeTab:Q,onTabChange:G,onSync:J,syncing:Y,timeRange:U,onTimeRangeChange:B}){return C8.jsxDEV("header",{className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4 pb-6 mb-8 border-b border-[var(--border-subtle)]",children:[C8.jsxDEV("div",{className:"flex items-center gap-3",children:[C8.jsxDEV("div",{className:"w-10 h-10 rounded-[var(--radius-md)] bg-gradient-to-br from-[var(--accent-pink)] to-[var(--accent-cyan)] flex items-center justify-center shadow-lg",children:C8.jsxDEV(w7,{className:"w-5 h-5 text-white"},void 0,!1,void 0,this)},void 0,!1,void 0,this),C8.jsxDEV("div",{children:[C8.jsxDEV("h1",{className:"text-xl font-semibold text-[var(--text-primary)]",children:"AI Usage"},void 0,!1,void 0,this),C8.jsxDEV("p",{className:"text-sm text-[var(--text-muted)]",children:"Statistics & Analytics"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C8.jsxDEV("div",{className:"flex items-center gap-3",children:[C8.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:JD.map((M)=>C8.jsxDEV("button",{type:"button",onClick:()=>G(M),className:`tab-btn capitalize ${Q===M?"active":""}`,children:M},M,!1,void 0,this))},void 0,!1,void 0,this),C8.jsxDEV("div",{className:"flex bg-[var(--bg-surface)] rounded-[var(--radius-md)] p-1 border border-[var(--border-subtle)]",children:XD.map((M)=>C8.jsxDEV("button",{type:"button",onClick:()=>B(M.value),className:`tab-btn ${U===M.value?"active":""}`,title:M.value==="all"?"All time":`Last ${M.label}`,children:M.label},M.value,!1,void 0,this))},void 0,!1,void 0,this),C8.jsxDEV("button",{type:"button",onClick:J,disabled:Y,className:"btn btn-primary",children:[C8.jsxDEV(Wq,{size:16,className:Y?"spin":""},void 0,!1,void 0,this),Y?"Syncing...":"Sync"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}var e2=z0(e5(),1);var s0=z0(q5(),1);P8.register(x1,h1,g1,u8,T$,E$,_$);var I_="2fr 0.9fr 0.9fr 1fr 0.8fr 0.8fr 140px 40px";function O_({models:Q,performanceSeries:G,timeRange:J}){let[Y,U]=e2.useState(null),B=o2(J),M=e2.useMemo(()=>UD(G,B.bucketCount,B.bucketMs),[G,B.bucketCount,B.bucketMs]),H=w$(),F=f2[H],z=[...Q].sort((L,V)=>V.totalInputTokens+V.totalOutputTokens-(L.totalInputTokens+L.totalOutputTokens));return s0.jsxDEV(x2,{title:"Model Statistics",children:[s0.jsxDEV(h2,{gridTemplate:I_,columns:[{label:"Model"},{label:"Requests",align:"right"},{label:"Cost",align:"right"},{label:"Tokens",align:"right"},{label:"Tokens/s",align:"right"},{label:"TTFT",align:"right"},{label:B.trendLabel,align:"center"}]},void 0,!1,void 0,this),s0.jsxDEV(u2,{children:z.map((L,V)=>{let T=`${L.model}::${L.provider}`,I=M.get(T)?.data??[],D=Y8[V%Y8.length],C=Y===T,g=L.errorRate*100;return s0.jsxDEV(d2,{gridTemplate:I_,isExpanded:C,onToggle:()=>U(C?null:T),cells:[s0.jsxDEV(m2,{model:L.model,provider:L.provider},"name",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:L.totalRequests.toLocaleString()},"requests",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:["$",L.totalCost.toFixed(2)]},"cost",!0,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:(L.totalInputTokens+L.totalOutputTokens).toLocaleString()},"tokens",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:L.avgTokensPerSecond?.toFixed(1)??"-"},"tps",!1,void 0,this),s0.jsxDEV("div",{className:"text-right text-[var(--text-secondary)] font-mono text-sm",children:L.avgTtft?`${(L.avgTtft/1000).toFixed(2)}s`:"-"},"ttft",!1,void 0,this)],trendCell:I.length===0?s0.jsxDEV(p2,{},void 0,!1,void 0,this):s0.jsxDEV(y2,{timestamps:I.map((m)=>m.timestamp),values:I.map((m)=>m.avgTokensPerSecond??0),color:D},void 0,!1,void 0,this),expandedContent:s0.jsxDEV("div",{className:"grid gap-4",style:{gridTemplateColumns:"200px 1fr"},children:[s0.jsxDEV("div",{className:"space-y-4 text-sm",children:[s0.jsxDEV("div",{children:[s0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Quality"},void 0,!1,void 0,this),s0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Error rate"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:g>5?"text-[var(--accent-red)]":"text-[var(--accent-green)]",children:[g.toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Cache rate"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"text-[var(--accent-cyan)]",children:[(L.cacheRate*100).toFixed(1),"%"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{children:[s0.jsxDEV("div",{className:"text-[var(--text-primary)] font-medium mb-2",children:"Latency"},void 0,!1,void 0,this),s0.jsxDEV("div",{className:"space-y-1 text-[var(--text-secondary)]",children:[s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Avg duration"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"font-mono",children:L.avgDuration?`${(L.avgDuration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"flex items-center justify-between",children:[s0.jsxDEV("span",{children:"Avg TTFT"},void 0,!1,void 0,this),s0.jsxDEV("span",{className:"font-mono",children:L.avgTtft?`${(L.avgTtft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),s0.jsxDEV("div",{className:"h-[200px]",children:I.length===0?s0.jsxDEV(c2,{},void 0,!1,void 0,this):s0.jsxDEV(YD,{data:I,color:D,chartTheme:F},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},T,!1,void 0,this)})},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function YD({data:Q,color:G,chartTheme:J}){let Y={labels:Q.map((B)=>u1(new Date(B.timestamp),"MMM d")),datasets:[{label:"TTFT",data:Q.map((B)=>B.avgTtftSeconds??null),...U6("#fbbf24"),yAxisID:"y"},{label:"Tokens/s",data:Q.map((B)=>B.avgTokensPerSecond??null),...U6(G),yAxisID:"y1"}]},U={responsive:!0,maintainAspectRatio:!1,plugins:g2(J),scales:M_(J)};return s0.jsxDEV(w1,{data:Y,options:U},void 0,!1,void 0,this)}function UD(Q,G,J){let Y=Q.reduce((V,T)=>Math.max(V,T.timestamp),0),U=Y>0?Y:Math.floor(Date.now()/J)*J,B=new Set(Q.map((V)=>V.timestamp)),M=G>0?G:Math.max(1,B.size),H=U-(M-1)*J,F=Array.from({length:M},(V,T)=>H+T*J),z=new Map(F.map((V,T)=>[V,T])),L=new Map;for(let V of Q){let T=`${V.model}::${V.provider}`,P=L.get(T);if(!P)P={label:`${V.model} (${V.provider})`,data:F.map((D)=>({timestamp:D,avgTtftSeconds:null,avgTokensPerSecond:null,requests:0}))},L.set(T,P);let I=z.get(V.timestamp);if(I===void 0)continue;P.data[I]={timestamp:V.timestamp,avgTtftSeconds:V.avgTtft!==null?V.avgTtft/1000:null,avgTokensPerSecond:V.avgTokensPerSecond,requests:V.requests}}return L}var Vq=z0(e5(),1);var X0=z0(q5(),1);function j_({id:Q,onClose:G}){let[J,Y]=Vq.useState(null),[U,B]=Vq.useState(!0);if(Vq.useEffect(()=>{oR(Q).then(Y).catch(console.error).finally(()=>B(!1))},[Q]),!J&&U)return X0.jsxDEV("div",{className:"fixed inset-0 bg-[var(--bg-overlay)] flex justify-center items-center z-[100]",children:X0.jsxDEV("div",{className:"surface px-8 py-6",children:X0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-secondary)]",children:[X0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),X0.jsxDEV("span",{children:"Loading..."},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(!J)return null;return X0.jsxDEV("div",{role:"presentation",className:"fixed inset-0 bg-[var(--bg-overlay)] backdrop-blur-sm flex justify-end z-[100] animate-fade-in",onClick:G,children:X0.jsxDEV("div",{role:"dialog","aria-modal":"true",className:"w-[600px] max-w-full bg-[var(--bg-page)] h-full overflow-y-auto border-l border-[var(--border-subtle)] animate-slide-up",onClick:(M)=>M.stopPropagation(),children:[X0.jsxDEV("div",{className:"sticky top-0 bg-[var(--bg-page)]/95 backdrop-blur border-b border-[var(--border-subtle)] px-6 py-4 flex justify-between items-center z-10",children:[X0.jsxDEV("div",{className:"flex items-center gap-3",children:[X0.jsxDEV("div",{className:"w-8 h-8 rounded-[var(--radius-sm)] bg-gradient-to-br from-[var(--accent-pink)]/20 to-[var(--accent-cyan)]/20 flex items-center justify-center",children:X0.jsxDEV(L4,{size:16,className:"text-[var(--accent-cyan)]"},void 0,!1,void 0,this)},void 0,!1,void 0,this),X0.jsxDEV("h2",{className:"text-lg font-semibold text-[var(--text-primary)]",children:"Request Details"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("button",{type:"button",onClick:G,className:"p-2 rounded-[var(--radius-sm)] text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:bg-[var(--bg-hover)] transition-colors",children:X0.jsxDEV(Lq,{size:20},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"p-6 space-y-6",children:[X0.jsxDEV("div",{className:"surface p-5",children:X0.jsxDEV("div",{className:"flex items-center justify-between mb-4",children:[X0.jsxDEV("div",{children:[X0.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)]",children:J.model},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"text-sm text-[var(--text-muted)]",children:J.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),J.errorMessage?X0.jsxDEV("span",{className:"badge badge-error",children:"Error"},void 0,!1,void 0,this):X0.jsxDEV("span",{className:"badge badge-success",children:"Success"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"grid grid-cols-2 gap-4",children:[X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(Bq,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Cost"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:["$",J.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(P7,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Premium Reqs"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:(J.usage.premiumRequests??0).toLocaleString()},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(Fq,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Tokens"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:J.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),X0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1",children:[J.usage.input.toLocaleString()," in · ",J.usage.output.toLocaleString()," out"]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(Kq,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Duration"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:J.duration?`${(J.duration/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)] mb-2",children:[X0.jsxDEV(C7,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"TTFT"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xl font-semibold text-[var(--text-primary)]",children:J.ttft?`${(J.ttft/1000).toFixed(2)}s`:"-"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),J.duration&&J.usage.output>0&&X0.jsxDEV("div",{className:"surface p-4",children:[X0.jsxDEV("div",{className:"flex items-center justify-between",children:[X0.jsxDEV("div",{className:"flex items-center gap-2 text-[var(--text-muted)]",children:[X0.jsxDEV(Hq,{size:14},void 0,!1,void 0,this),X0.jsxDEV("span",{className:"text-xs uppercase tracking-wide",children:"Throughput"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("span",{className:"text-2xl font-bold gradient-text",children:(J.usage.output*1000/J.duration).toFixed(1)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] mt-1 text-right",children:"tokens/second"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{children:[X0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Output"},void 0,!1,void 0,this),X0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-sm font-mono text-[var(--text-secondary)] overflow-x-auto",children:JSON.stringify(J.output,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),X0.jsxDEV("div",{children:[X0.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)] mb-3",children:"Raw Metadata"},void 0,!1,void 0,this),X0.jsxDEV("pre",{className:"surface bg-[var(--bg-elevated)] p-4 rounded-[var(--radius-md)] text-xs font-mono text-[var(--text-muted)] overflow-x-auto",children:JSON.stringify(J,null,2)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var N5=z0(q5(),1);function _q({requests:Q,onSelect:G,title:J}){return N5.jsxDEV("div",{className:"surface overflow-hidden flex flex-col h-full",children:[N5.jsxDEV("div",{className:"px-5 py-4 border-b border-[var(--border-subtle)]",children:N5.jsxDEV("h3",{className:"text-sm font-semibold text-[var(--text-primary)]",children:J},void 0,!1,void 0,this)},void 0,!1,void 0,this),N5.jsxDEV("div",{className:"overflow-auto flex-1",children:N5.jsxDEV("table",{className:"w-full",children:[N5.jsxDEV("thead",{className:"bg-[var(--bg-elevated)] sticky top-0 z-10",children:N5.jsxDEV("tr",{children:[N5.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Model"},void 0,!1,void 0,this),N5.jsxDEV("th",{className:"text-left py-3 px-4 table-header",children:"Time"},void 0,!1,void 0,this),N5.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Tokens"},void 0,!1,void 0,this),N5.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Cost"},void 0,!1,void 0,this),N5.jsxDEV("th",{className:"text-right py-3 px-4 table-header",children:"Duration"},void 0,!1,void 0,this),N5.jsxDEV("th",{className:"text-center py-3 px-4 table-header",children:"Status"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),N5.jsxDEV("tbody",{children:[Q.map((Y)=>N5.jsxDEV("tr",{onClick:()=>G(Y),className:"table-row cursor-pointer border-b border-[var(--border-subtle)] last:border-b-0",children:[N5.jsxDEV("td",{className:"py-3 px-4",children:[N5.jsxDEV("div",{className:"font-medium text-[var(--text-primary)] text-sm",children:Y.model},void 0,!1,void 0,this),N5.jsxDEV("div",{className:"text-xs text-[var(--text-muted)]",children:Y.provider},void 0,!1,void 0,this)]},void 0,!0,void 0,this),N5.jsxDEV("td",{className:"py-3 px-4 text-sm text-[var(--text-secondary)]",children:Z_(Y.timestamp,{addSuffix:!0})},void 0,!1,void 0,this),N5.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.usage.totalTokens.toLocaleString()},void 0,!1,void 0,this),N5.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:["$",Y.usage.cost.total.toFixed(4)]},void 0,!0,void 0,this),N5.jsxDEV("td",{className:"py-3 px-4 text-right text-sm text-[var(--text-secondary)] font-mono",children:Y.duration?`${(Y.duration/1000).toFixed(1)}s`:"-"},void 0,!1,void 0,this),N5.jsxDEV("td",{className:"py-3 px-4 text-center",children:Y.errorMessage?N5.jsxDEV(z4,{size:16,className:"text-[var(--accent-red)] mx-auto"},void 0,!1,void 0,this):N5.jsxDEV(R4,{size:16,className:"text-[var(--accent-green)] mx-auto"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},`${Y.sessionFile}-${Y.entryId}`,!0,void 0,this)),Q.length===0&&N5.jsxDEV("tr",{children:N5.jsxDEV("td",{colSpan:6,className:"py-12 text-center text-[var(--text-muted)] text-sm",children:"No requests found"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var B6=z0(q5(),1),KD=new Intl.NumberFormat(void 0,{notation:"compact",maximumFractionDigits:1});function A_(Q){return KD.format(Q)}function iK(Q){return Q.toLocaleString()}var Tq=(Q)=>Q.totalInputTokens+Q.totalOutputTokens,BD=[{key:"requests",title:"Total Requests",icon:Rq,color:"var(--accent-violet)",getValue:(Q)=>Q.totalRequests.toLocaleString(),getDetail:(Q)=>`${Q.successfulRequests.toLocaleString()} success · ${Q.failedRequests.toLocaleString()} errors`},{key:"cost",title:"Total Cost",icon:w7,color:"var(--accent-pink)",getValue:(Q)=>`$${Q.totalCost.toFixed(2)}`,getDetail:(Q)=>Q.totalRequests>0?`$${(Q.totalCost/Q.totalRequests).toFixed(4)} avg/req`:"-"},{key:"premiumRequests",title:"Premium Reqs",icon:P7,color:"var(--accent-amber)",getValue:(Q)=>iK(Q.totalPremiumRequests),getDetail:(Q)=>Q.totalRequests>0?`${(Q.totalPremiumRequests/Q.totalRequests*100).toFixed(1)}% of requests`:"-"},{key:"cache",title:"Cache Rate",icon:Nq,color:"var(--accent-cyan)",getValue:(Q)=>`${(Q.cacheRate*100).toFixed(1)}%`,getDetail:(Q)=>`${A_(Q.totalCacheReadTokens)} cached tokens`},{key:"inputTokens",title:"Input Tokens",icon:Mq,color:"var(--accent-violet)",getValue:(Q)=>iK(Q.totalInputTokens),getDetail:(Q)=>Tq(Q)>0?`${(Q.totalInputTokens/Tq(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"outputTokens",title:"Output Tokens",icon:zq,color:"var(--accent-pink)",getValue:(Q)=>iK(Q.totalOutputTokens),getDetail:(Q)=>Tq(Q)>0?`${(Q.totalOutputTokens/Tq(Q)*100).toFixed(1)}% of prompt+completion`:"-"},{key:"errors",title:"Error Rate",icon:W4,color:"var(--accent-red)",getValue:(Q)=>`${(Q.errorRate*100).toFixed(1)}%`,getDetail:(Q)=>`${Q.failedRequests.toLocaleString()} failed requests`},{key:"tokens",title:"Tokens/Sec",icon:F4,color:"var(--accent-green)",getValue:(Q)=>Q.avgTokensPerSecond?.toFixed(1)??"-",getDetail:(Q)=>`${A_(Tq(Q))} total prompt+completion`},{key:"ttft",title:"TTFT",icon:C7,color:"var(--accent-amber)",getValue:(Q)=>Q.avgTtft?`${(Q.avgTtft/1000).toFixed(2)}s`:"-",getDetail:()=>"Time to first token"}];function D_({stats:Q}){return B6.jsxDEV("div",{className:"grid grid-cols-2 lg:grid-cols-3 xl:grid-cols-9 gap-4 mb-8",children:BD.map((G)=>{let J=G.icon;return B6.jsxDEV("div",{className:"stat-card group",children:[B6.jsxDEV("div",{className:"flex items-center justify-between mb-3",children:[B6.jsxDEV("span",{className:"text-sm font-medium text-[var(--text-secondary)]",children:G.title},void 0,!1,void 0,this),B6.jsxDEV("div",{className:"p-2 rounded-[var(--radius-sm)] transition-colors",style:{backgroundColor:`${G.color}15`},children:B6.jsxDEV(J,{size:18,style:{color:G.color},className:"transition-transform group-hover:scale-110"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B6.jsxDEV("div",{className:"text-2xl font-bold text-[var(--text-primary)] mb-1",children:G.getValue(Q)},void 0,!1,void 0,this),B6.jsxDEV("div",{className:"text-xs text-[var(--text-muted)] truncate",children:G.getDetail(Q)},void 0,!1,void 0,this)]},G.key,!0,void 0,this)})},void 0,!1,void 0,this)}var m0=z0(q5(),1);function aK(){let[Q,G]=U8.useState(null),[J,Y]=U8.useState(null),[U,B]=U8.useState(null),[M,H]=U8.useState(null),[F,z]=U8.useState([]),[L,V]=U8.useState([]),[T,P]=U8.useState(null),[I,D]=U8.useState(!1),[C,g]=U8.useState("overview"),[m,o]=U8.useState("24h"),i=U8.useCallback(async()=>{try{let[p,a]=await Promise.all([sR(50),nR(50)]);z(p),V(a)}catch(p){console.error(p)}},[]),s=U8.useCallback(async()=>{try{if(C==="models"){Y(await lR(m));return}if(C==="costs"){B(await rR(m));return}if(C==="behavior"){H(await aR(m));return}if(C==="overview")G(await cR(m))}catch(p){console.error(p)}},[C,m]),Q0=async()=>{D(!0);try{await iR(),await Promise.all([s(),i()])}finally{D(!1)}};return U8.useEffect(()=>{i();let p=setInterval(i,30000);return()=>clearInterval(p)},[i]),U8.useEffect(()=>{s();let p=setInterval(s,30000);return()=>clearInterval(p)},[s]),m0.jsxDEV("div",{className:"min-h-screen",children:m0.jsxDEV("div",{className:"max-w-[1600px] mx-auto px-6 py-6",children:[m0.jsxDEV(C_,{activeTab:C,onTabChange:g,onSync:Q0,syncing:I,timeRange:m,onTimeRangeChange:o},void 0,!1,void 0,this),C==="overview"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:[Q?m0.jsxDEV(D_,{stats:Q.overall},void 0,!1,void 0,this):m0.jsxDEV($X,{label:"Loading overview..."},void 0,!1,void 0,this),m0.jsxDEV("div",{className:"grid lg:grid-cols-2 gap-6",children:[m0.jsxDEV(_q,{title:"Recent Requests",requests:F.slice(0,10),onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this),m0.jsxDEV(_q,{title:"Recent Errors",requests:L.slice(0,10),onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),C==="requests"&&m0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:m0.jsxDEV(_q,{title:"All Recent Requests",requests:F,onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="errors"&&m0.jsxDEV("div",{className:"h-[calc(100vh-140px)] animate-fade-in",children:m0.jsxDEV(_q,{title:"Failed Requests",requests:L,onSelect:(p)=>p.id&&P(p.id)},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="models"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:J?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(E_,{modelSeries:J.modelSeries,timeRange:m},void 0,!1,void 0,this),m0.jsxDEV(O_,{models:J.byModel,performanceSeries:J.modelPerformanceSeries,timeRange:m},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($X,{label:"Loading models..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="costs"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:U?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(P_,{costSeries:U.costSeries},void 0,!1,void 0,this),m0.jsxDEV(w_,{costSeries:U.costSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($X,{label:"Loading costs..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),C==="behavior"&&m0.jsxDEV("div",{className:"space-y-6 animate-fade-in",children:M?m0.jsxDEV(m0.Fragment,{children:[m0.jsxDEV(L_,{overall:M.overall,behaviorSeries:M.behaviorSeries},void 0,!1,void 0,this),m0.jsxDEV(J_,{behaviorSeries:M.behaviorSeries},void 0,!1,void 0,this),m0.jsxDEV(R_,{models:M.byModel,behaviorSeries:M.behaviorSeries},void 0,!1,void 0,this)]},void 0,!0,void 0,this):m0.jsxDEV($X,{label:"Loading behavior..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),T!==null&&m0.jsxDEV(j_,{id:T,onClose:()=>P(null)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}function $X({label:Q}){return m0.jsxDEV("div",{className:"min-h-[180px] flex items-center justify-center",children:m0.jsxDEV("div",{className:"flex items-center gap-3 text-[var(--text-muted)]",children:[m0.jsxDEV("div",{className:"w-5 h-5 border-2 border-[var(--border-default)] border-t-[var(--accent-cyan)] rounded-full spin"},void 0,!1,void 0,this),m0.jsxDEV("span",{className:"text-sm",children:Q},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)}var v_=z0(q5(),1),ND=S_.createRoot(document.getElementById("root"));ND.render(v_.jsxDEV(aK,{},void 0,!1,void 0,this));