mirador
Version:
An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.
22 lines (19 loc) • 2.43 MB
JavaScript
(function(Q,Xw){typeof exports=="object"&&typeof module<"u"?Xw(exports):typeof define=="function"&&define.amd?define(["exports"],Xw):(Q=typeof globalThis<"u"?globalThis:Q||self,Xw(Q.Mirador={}))})(this,(function(Q){"use strict";function Xw(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(r,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var k1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vde(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var j1={exports:{}},Zw={};var Xq;function Wde(){if(Xq)return Zw;Xq=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,o,a){var l=null;if(a!==void 0&&(l=""+a),o.key!==void 0&&(l=""+o.key),"key"in o){a={};for(var c in o)c!=="key"&&(a[c]=o[c])}else a=o;return o=a.ref,{$$typeof:e,type:r,key:l,ref:o!==void 0?o:null,props:a}}return Zw.Fragment=t,Zw.jsx=n,Zw.jsxs=n,Zw}var Kw={},z1={exports:{}},Pn={};var Zq;function qde(){if(Zq)return Pn;Zq=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),y=Symbol.iterator;function w(K){return K===null||typeof K!="object"?null:(K=y&&K[y]||K["@@iterator"],typeof K=="function"?K:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,O={};function A(K,ie,fe){this.props=K,this.context=ie,this.refs=O,this.updater=fe||E}A.prototype.isReactComponent={},A.prototype.setState=function(K,ie){if(typeof K!="object"&&typeof K!="function"&&K!=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,K,ie,"setState")},A.prototype.forceUpdate=function(K){this.updater.enqueueForceUpdate(this,K,"forceUpdate")};function D(){}D.prototype=A.prototype;function M(K,ie,fe){this.props=K,this.context=ie,this.refs=O,this.updater=fe||E}var L=M.prototype=new D;L.constructor=M,C(L,A.prototype),L.isPureReactComponent=!0;var N=Array.isArray;function z(){}var F={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function W(K,ie,fe){var Te=fe.ref;return{$$typeof:e,type:K,key:ie,ref:Te!==void 0?Te:null,props:fe}}function q(K,ie){return W(K.type,ie,K.props)}function Z(K){return typeof K=="object"&&K!==null&&K.$$typeof===e}function U(K){var ie={"=":"=0",":":"=2"};return"$"+K.replace(/[=:]/g,function(fe){return ie[fe]})}var J=/\/+/g;function oe(K,ie){return typeof K=="object"&&K!==null&&K.key!=null?U(""+K.key):ie.toString(36)}function de(K){switch(K.status){case"fulfilled":return K.value;case"rejected":throw K.reason;default:switch(typeof K.status=="string"?K.then(z,z):(K.status="pending",K.then(function(ie){K.status==="pending"&&(K.status="fulfilled",K.value=ie)},function(ie){K.status==="pending"&&(K.status="rejected",K.reason=ie)})),K.status){case"fulfilled":return K.value;case"rejected":throw K.reason}}throw K}function X(K,ie,fe,Te,ve){var _e=typeof K;(_e==="undefined"||_e==="boolean")&&(K=null);var Be=!1;if(K===null)Be=!0;else switch(_e){case"bigint":case"string":case"number":Be=!0;break;case"object":switch(K.$$typeof){case e:case t:Be=!0;break;case m:return Be=K._init,X(Be(K._payload),ie,fe,Te,ve)}}if(Be)return ve=ve(K),Be=Te===""?"."+oe(K,0):Te,N(ve)?(fe="",Be!=null&&(fe=Be.replace(J,"$&/")+"/"),X(ve,ie,fe,"",function(ot){return ot})):ve!=null&&(Z(ve)&&(ve=q(ve,fe+(ve.key==null||K&&K.key===ve.key?"":(""+ve.key).replace(J,"$&/")+"/")+Be)),ie.push(ve)),1;Be=0;var Ve=Te===""?".":Te+":";if(N(K))for(var Ge=0;Ge<K.length;Ge++)Te=K[Ge],_e=Ve+oe(Te,Ge),Be+=X(Te,ie,fe,_e,ve);else if(Ge=w(K),typeof Ge=="function")for(K=Ge.call(K),Ge=0;!(Te=K.next()).done;)Te=Te.value,_e=Ve+oe(Te,Ge++),Be+=X(Te,ie,fe,_e,ve);else if(_e==="object"){if(typeof K.then=="function")return X(de(K),ie,fe,Te,ve);throw ie=String(K),Error("Objects are not valid as a React child (found: "+(ie==="[object Object]"?"object with keys {"+Object.keys(K).join(", ")+"}":ie)+"). If you meant to render a collection of children, use an array instead.")}return Be}function ne(K,ie,fe){if(K==null)return K;var Te=[],ve=0;return X(K,Te,"","",function(_e){return ie.call(fe,_e,ve++)}),Te}function ue(K){if(K._status===-1){var ie=K._result;ie=ie(),ie.then(function(fe){(K._status===0||K._status===-1)&&(K._status=1,K._result=fe)},function(fe){(K._status===0||K._status===-1)&&(K._status=2,K._result=fe)}),K._status===-1&&(K._status=0,K._result=ie)}if(K._status===1)return K._result.default;throw K._result}var ge=typeof reportError=="function"?reportError:function(K){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ie=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof K=="object"&&K!==null&&typeof K.message=="string"?String(K.message):String(K),error:K});if(!window.dispatchEvent(ie))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",K);return}console.error(K)},Re={map:ne,forEach:function(K,ie,fe){ne(K,function(){ie.apply(this,arguments)},fe)},count:function(K){var ie=0;return ne(K,function(){ie++}),ie},toArray:function(K){return ne(K,function(ie){return ie})||[]},only:function(K){if(!Z(K))throw Error("React.Children.only expected to receive a single React element child.");return K}};return Pn.Activity=v,Pn.Children=Re,Pn.Component=A,Pn.Fragment=n,Pn.Profiler=o,Pn.PureComponent=M,Pn.StrictMode=r,Pn.Suspense=f,Pn.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,Pn.__COMPILER_RUNTIME={__proto__:null,c:function(K){return F.H.useMemoCache(K)}},Pn.cache=function(K){return function(){return K.apply(null,arguments)}},Pn.cacheSignal=function(){return null},Pn.cloneElement=function(K,ie,fe){if(K==null)throw Error("The argument must be a React element, but you passed "+K+".");var Te=C({},K.props),ve=K.key;if(ie!=null)for(_e in ie.key!==void 0&&(ve=""+ie.key),ie)!V.call(ie,_e)||_e==="key"||_e==="__self"||_e==="__source"||_e==="ref"&&ie.ref===void 0||(Te[_e]=ie[_e]);var _e=arguments.length-2;if(_e===1)Te.children=fe;else if(1<_e){for(var Be=Array(_e),Ve=0;Ve<_e;Ve++)Be[Ve]=arguments[Ve+2];Te.children=Be}return W(K.type,ve,Te)},Pn.createContext=function(K){return K={$$typeof:l,_currentValue:K,_currentValue2:K,_threadCount:0,Provider:null,Consumer:null},K.Provider=K,K.Consumer={$$typeof:a,_context:K},K},Pn.createElement=function(K,ie,fe){var Te,ve={},_e=null;if(ie!=null)for(Te in ie.key!==void 0&&(_e=""+ie.key),ie)V.call(ie,Te)&&Te!=="key"&&Te!=="__self"&&Te!=="__source"&&(ve[Te]=ie[Te]);var Be=arguments.length-2;if(Be===1)ve.children=fe;else if(1<Be){for(var Ve=Array(Be),Ge=0;Ge<Be;Ge++)Ve[Ge]=arguments[Ge+2];ve.children=Ve}if(K&&K.defaultProps)for(Te in Be=K.defaultProps,Be)ve[Te]===void 0&&(ve[Te]=Be[Te]);return W(K,_e,ve)},Pn.createRef=function(){return{current:null}},Pn.forwardRef=function(K){return{$$typeof:c,render:K}},Pn.isValidElement=Z,Pn.lazy=function(K){return{$$typeof:m,_payload:{_status:-1,_result:K},_init:ue}},Pn.memo=function(K,ie){return{$$typeof:h,type:K,compare:ie===void 0?null:ie}},Pn.startTransition=function(K){var ie=F.T,fe={};F.T=fe;try{var Te=K(),ve=F.S;ve!==null&&ve(fe,Te),typeof Te=="object"&&Te!==null&&typeof Te.then=="function"&&Te.then(z,ge)}catch(_e){ge(_e)}finally{ie!==null&&fe.types!==null&&(ie.types=fe.types),F.T=ie}},Pn.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},Pn.use=function(K){return F.H.use(K)},Pn.useActionState=function(K,ie,fe){return F.H.useActionState(K,ie,fe)},Pn.useCallback=function(K,ie){return F.H.useCallback(K,ie)},Pn.useContext=function(K){return F.H.useContext(K)},Pn.useDebugValue=function(){},Pn.useDeferredValue=function(K,ie){return F.H.useDeferredValue(K,ie)},Pn.useEffect=function(K,ie){return F.H.useEffect(K,ie)},Pn.useEffectEvent=function(K){return F.H.useEffectEvent(K)},Pn.useId=function(){return F.H.useId()},Pn.useImperativeHandle=function(K,ie,fe){return F.H.useImperativeHandle(K,ie,fe)},Pn.useInsertionEffect=function(K,ie){return F.H.useInsertionEffect(K,ie)},Pn.useLayoutEffect=function(K,ie){return F.H.useLayoutEffect(K,ie)},Pn.useMemo=function(K,ie){return F.H.useMemo(K,ie)},Pn.useOptimistic=function(K,ie){return F.H.useOptimistic(K,ie)},Pn.useReducer=function(K,ie,fe){return F.H.useReducer(K,ie,fe)},Pn.useRef=function(K){return F.H.useRef(K)},Pn.useState=function(K){return F.H.useState(K)},Pn.useSyncExternalStore=function(K,ie,fe){return F.H.useSyncExternalStore(K,ie,fe)},Pn.useTransition=function(){return F.H.useTransition()},Pn.version="19.2.5",Pn}var Qw={exports:{}};Qw.exports;var Kq;function $de(){return Kq||(Kq=1,(function(e,t){var n={};n.NODE_ENV!=="production"&&(function(){function r(re,he){Object.defineProperty(l.prototype,re,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",he[0],he[1])}})}function o(re){return re===null||typeof re!="object"?null:(re=ye&&re[ye]||re["@@iterator"],typeof re=="function"?re:null)}function a(re,he){re=(re=re.constructor)&&(re.displayName||re.name)||"ReactClass";var qe=re+"."+he;$e[qe]||(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.",he,re),$e[qe]=!0)}function l(re,he,qe){this.props=re,this.context=he,this.refs=B,this.updater=qe||Ne}function c(){}function f(re,he,qe){this.props=re,this.context=he,this.refs=B,this.updater=qe||Ne}function h(){}function m(re){return""+re}function v(re){try{m(re);var he=!1}catch{he=!0}if(he){he=console;var qe=he.error,it=typeof Symbol=="function"&&Symbol.toStringTag&&re[Symbol.toStringTag]||re.constructor.name||"Object";return qe.call(he,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",it),m(re)}}function y(re){if(re==null)return null;if(typeof re=="function")return re.$$typeof===We?null:re.displayName||re.name||null;if(typeof re=="string")return re;switch(re){case ie:return"Fragment";case Te:return"Profiler";case fe:return"StrictMode";case Ve:return"Suspense";case Ge:return"SuspenseList";case ke:return"Activity"}if(typeof re=="object")switch(typeof re.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),re.$$typeof){case K:return"Portal";case _e:return re.displayName||"Context";case ve:return(re._context.displayName||"Context")+".Consumer";case Be:var he=re.render;return re=re.displayName,re||(re=he.displayName||he.name||"",re=re!==""?"ForwardRef("+re+")":"ForwardRef"),re;case ot:return he=re.displayName||null,he!==null?he:y(re.type)||"Memo";case Qe:he=re._payload,re=re._init;try{return y(re(he))}catch{}}return null}function w(re){if(re===ie)return"<>";if(typeof re=="object"&&re!==null&&re.$$typeof===Qe)return"<...>";try{var he=y(re);return he?"<"+he+">":"<...>"}catch{return"<...>"}}function E(){var re=be.A;return re===null?null:re.getOwner()}function C(){return Error("react-stack-top-frame")}function O(re){if(He.call(re,"key")){var he=Object.getOwnPropertyDescriptor(re,"key").get;if(he&&he.isReactWarning)return!1}return re.key!==void 0}function A(re,he){function qe(){St||(St=!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)",he))}qe.isReactWarning=!0,Object.defineProperty(re,"key",{get:qe,configurable:!0})}function D(){var re=y(this.type);return Je[re]||(Je[re]=!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.")),re=this.props.ref,re!==void 0?re:null}function M(re,he,qe,it,nt,jt){var xt=qe.ref;return re={$$typeof:Re,type:re,key:he,props:qe,_owner:it},(xt!==void 0?xt:null)!==null?Object.defineProperty(re,"ref",{enumerable:!1,get:D}):Object.defineProperty(re,"ref",{enumerable:!1,value:null}),re._store={},Object.defineProperty(re._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(re,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(re,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:nt}),Object.defineProperty(re,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:jt}),Object.freeze&&(Object.freeze(re.props),Object.freeze(re)),re}function L(re,he){return he=M(re.type,he,re.props,re._owner,re._debugStack,re._debugTask),re._store&&(he._store.validated=re._store.validated),he}function N(re){z(re)?re._store&&(re._store.validated=1):typeof re=="object"&&re!==null&&re.$$typeof===Qe&&(re._payload.status==="fulfilled"?z(re._payload.value)&&re._payload.value._store&&(re._payload.value._store.validated=1):re._store&&(re._store.validated=1))}function z(re){return typeof re=="object"&&re!==null&&re.$$typeof===Re}function F(re){var he={"=":"=0",":":"=2"};return"$"+re.replace(/[=:]/g,function(qe){return he[qe]})}function V(re,he){return typeof re=="object"&&re!==null&&re.key!=null?(v(re.key),F(""+re.key)):he.toString(36)}function W(re){switch(re.status){case"fulfilled":return re.value;case"rejected":throw re.reason;default:switch(typeof re.status=="string"?re.then(h,h):(re.status="pending",re.then(function(he){re.status==="pending"&&(re.status="fulfilled",re.value=he)},function(he){re.status==="pending"&&(re.status="rejected",re.reason=he)})),re.status){case"fulfilled":return re.value;case"rejected":throw re.reason}}throw re}function q(re,he,qe,it,nt){var jt=typeof re;(jt==="undefined"||jt==="boolean")&&(re=null);var xt=!1;if(re===null)xt=!0;else switch(jt){case"bigint":case"string":case"number":xt=!0;break;case"object":switch(re.$$typeof){case Re:case K:xt=!0;break;case Qe:return xt=re._init,q(xt(re._payload),he,qe,it,nt)}}if(xt){xt=re,nt=nt(xt);var zt=it===""?"."+V(xt,0):it;return pe(nt)?(qe="",zt!=null&&(qe=zt.replace($,"$&/")+"/"),q(nt,he,qe,"",function(ln){return ln})):nt!=null&&(z(nt)&&(nt.key!=null&&(xt&&xt.key===nt.key||v(nt.key)),qe=L(nt,qe+(nt.key==null||xt&&xt.key===nt.key?"":(""+nt.key).replace($,"$&/")+"/")+zt),it!==""&&xt!=null&&z(xt)&&xt.key==null&&xt._store&&!xt._store.validated&&(qe._store.validated=2),nt=qe),he.push(nt)),1}if(xt=0,zt=it===""?".":it+":",pe(re))for(var yt=0;yt<re.length;yt++)it=re[yt],jt=zt+V(it,yt),xt+=q(it,he,qe,jt,nt);else if(yt=o(re),typeof yt=="function")for(yt===re.entries&&(G||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),G=!0),re=yt.call(re),yt=0;!(it=re.next()).done;)it=it.value,jt=zt+V(it,yt++),xt+=q(it,he,qe,jt,nt);else if(jt==="object"){if(typeof re.then=="function")return q(W(re),he,qe,it,nt);throw he=String(re),Error("Objects are not valid as a React child (found: "+(he==="[object Object]"?"object with keys {"+Object.keys(re).join(", ")+"}":he)+"). If you meant to render a collection of children, use an array instead.")}return xt}function Z(re,he,qe){if(re==null)return re;var it=[],nt=0;return q(re,it,"","",function(jt){return he.call(qe,jt,nt++)}),it}function U(re){if(re._status===-1){var he=re._ioInfo;he!=null&&(he.start=he.end=performance.now()),he=re._result;var qe=he();if(qe.then(function(nt){if(re._status===0||re._status===-1){re._status=1,re._result=nt;var jt=re._ioInfo;jt!=null&&(jt.end=performance.now()),qe.status===void 0&&(qe.status="fulfilled",qe.value=nt)}},function(nt){if(re._status===0||re._status===-1){re._status=2,re._result=nt;var jt=re._ioInfo;jt!=null&&(jt.end=performance.now()),qe.status===void 0&&(qe.status="rejected",qe.reason=nt)}}),he=re._ioInfo,he!=null){he.value=qe;var it=qe.displayName;typeof it=="string"&&(he.name=it)}re._status===-1&&(re._status=0,re._result=qe)}if(re._status===1)return he=re._result,he===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,he),"default"in he||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,he),he.default;throw re._result}function J(){var re=be.H;return re===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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),re}function oe(){be.asyncTransitions--}function de(re){if(Me===null)try{var he=("require"+Math.random()).slice(0,7);Me=(e&&e[he]).call(e,"timers").setImmediate}catch{Me=function(it){ce===!1&&(ce=!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 nt=new MessageChannel;nt.port1.onmessage=it,nt.port2.postMessage(void 0)}}return Me(re)}function X(re){return 1<re.length&&typeof AggregateError=="function"?new AggregateError(re):re[0]}function ne(re,he){he!==ze-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. "),ze=he}function ue(re,he,qe){var it=be.actQueue;if(it!==null)if(it.length!==0)try{ge(it),de(function(){return ue(re,he,qe)});return}catch(nt){be.thrownErrors.push(nt)}else be.actQueue=null;0<be.thrownErrors.length?(it=X(be.thrownErrors),be.thrownErrors.length=0,qe(it)):he(re)}function ge(re){if(!Ut){Ut=!0;var he=0;try{for(;he<re.length;he++){var qe=re[he];do{be.didUsePromise=!1;var it=qe(!1);if(it!==null){if(be.didUsePromise){re[he]=qe,re.splice(0,he);return}qe=it}else break}while(!0)}re.length=0}catch(nt){re.splice(0,he+1),be.thrownErrors.push(nt)}finally{Ut=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Re=Symbol.for("react.transitional.element"),K=Symbol.for("react.portal"),ie=Symbol.for("react.fragment"),fe=Symbol.for("react.strict_mode"),Te=Symbol.for("react.profiler"),ve=Symbol.for("react.consumer"),_e=Symbol.for("react.context"),Be=Symbol.for("react.forward_ref"),Ve=Symbol.for("react.suspense"),Ge=Symbol.for("react.suspense_list"),ot=Symbol.for("react.memo"),Qe=Symbol.for("react.lazy"),ke=Symbol.for("react.activity"),ye=Symbol.iterator,$e={},Ne={isMounted:function(){return!1},enqueueForceUpdate:function(re){a(re,"forceUpdate")},enqueueReplaceState:function(re){a(re,"replaceState")},enqueueSetState:function(re){a(re,"setState")}},Ye=Object.assign,B={};Object.freeze(B),l.prototype.isReactComponent={},l.prototype.setState=function(re,he){if(typeof re!="object"&&typeof re!="function"&&re!=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,re,he,"setState")},l.prototype.forceUpdate=function(re){this.updater.enqueueForceUpdate(this,re,"forceUpdate")};var te={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(mn in te)te.hasOwnProperty(mn)&&r(mn,te[mn]);c.prototype=l.prototype,te=f.prototype=new c,te.constructor=f,Ye(te,l.prototype),te.isPureReactComponent=!0;var pe=Array.isArray,We=Symbol.for("react.client.reference"),be={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},He=Object.prototype.hasOwnProperty,je=console.createTask?console.createTask:function(){return null};te={react_stack_bottom_frame:function(re){return re()}};var St,rt,Je={},st=te.react_stack_bottom_frame.bind(te,C)(),Et=je(w(C)),G=!1,$=/\/+/g,ae=typeof reportError=="function"?reportError:function(re){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var he=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof re=="object"&&re!==null&&typeof re.message=="string"?String(re.message):String(re),error:re});if(!window.dispatchEvent(he))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",re);return}console.error(re)},ce=!1,Me=null,ze=0,wt=!1,Ut=!1,Nt=typeof queueMicrotask=="function"?function(re){queueMicrotask(function(){return queueMicrotask(re)})}:de;te=Object.freeze({__proto__:null,c:function(re){return J().useMemoCache(re)}});var mn={map:Z,forEach:function(re,he,qe){Z(re,function(){he.apply(this,arguments)},qe)},count:function(re){var he=0;return Z(re,function(){he++}),he},toArray:function(re){return Z(re,function(he){return he})||[]},only:function(re){if(!z(re))throw Error("React.Children.only expected to receive a single React element child.");return re}};t.Activity=ke,t.Children=mn,t.Component=l,t.Fragment=ie,t.Profiler=Te,t.PureComponent=f,t.StrictMode=fe,t.Suspense=Ve,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=be,t.__COMPILER_RUNTIME=te,t.act=function(re){var he=be.actQueue,qe=ze;ze++;var it=be.actQueue=he!==null?he:[],nt=!1;try{var jt=re()}catch(yt){be.thrownErrors.push(yt)}if(0<be.thrownErrors.length)throw ne(he,qe),re=X(be.thrownErrors),be.thrownErrors.length=0,re;if(jt!==null&&typeof jt=="object"&&typeof jt.then=="function"){var xt=jt;return Nt(function(){nt||wt||(wt=!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(yt,ln){nt=!0,xt.then(function(Rt){if(ne(he,qe),qe===0){try{ge(it),de(function(){return ue(Rt,yt,ln)})}catch(bn){be.thrownErrors.push(bn)}if(0<be.thrownErrors.length){var Ft=X(be.thrownErrors);be.thrownErrors.length=0,ln(Ft)}}else yt(Rt)},function(Rt){ne(he,qe),0<be.thrownErrors.length&&(Rt=X(be.thrownErrors),be.thrownErrors.length=0),ln(Rt)})}}}var zt=jt;if(ne(he,qe),qe===0&&(ge(it),it.length!==0&&Nt(function(){nt||wt||(wt=!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(() => ...)"))}),be.actQueue=null),0<be.thrownErrors.length)throw re=X(be.thrownErrors),be.thrownErrors.length=0,re;return{then:function(yt,ln){nt=!0,qe===0?(be.actQueue=it,de(function(){return ue(zt,yt,ln)})):yt(zt)}}},t.cache=function(re){return function(){return re.apply(null,arguments)}},t.cacheSignal=function(){return null},t.captureOwnerStack=function(){var re=be.getCurrentStack;return re===null?null:re()},t.cloneElement=function(re,he,qe){if(re==null)throw Error("The argument must be a React element, but you passed "+re+".");var it=Ye({},re.props),nt=re.key,jt=re._owner;if(he!=null){var xt;e:{if(He.call(he,"ref")&&(xt=Object.getOwnPropertyDescriptor(he,"ref").get)&&xt.isReactWarning){xt=!1;break e}xt=he.ref!==void 0}xt&&(jt=E()),O(he)&&(v(he.key),nt=""+he.key);for(zt in he)!He.call(he,zt)||zt==="key"||zt==="__self"||zt==="__source"||zt==="ref"&&he.ref===void 0||(it[zt]=he[zt])}var zt=arguments.length-2;if(zt===1)it.children=qe;else if(1<zt){xt=Array(zt);for(var yt=0;yt<zt;yt++)xt[yt]=arguments[yt+2];it.children=xt}for(it=M(re.type,nt,it,jt,re._debugStack,re._debugTask),nt=2;nt<arguments.length;nt++)N(arguments[nt]);return it},t.createContext=function(re){return re={$$typeof:_e,_currentValue:re,_currentValue2:re,_threadCount:0,Provider:null,Consumer:null},re.Provider=re,re.Consumer={$$typeof:ve,_context:re},re._currentRenderer=null,re._currentRenderer2=null,re},t.createElement=function(re,he,qe){for(var it=2;it<arguments.length;it++)N(arguments[it]);it={};var nt=null;if(he!=null)for(yt in rt||!("__self"in he)||"key"in he||(rt=!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")),O(he)&&(v(he.key),nt=""+he.key),he)He.call(he,yt)&&yt!=="key"&&yt!=="__self"&&yt!=="__source"&&(it[yt]=he[yt]);var jt=arguments.length-2;if(jt===1)it.children=qe;else if(1<jt){for(var xt=Array(jt),zt=0;zt<jt;zt++)xt[zt]=arguments[zt+2];Object.freeze&&Object.freeze(xt),it.children=xt}if(re&&re.defaultProps)for(yt in jt=re.defaultProps,jt)it[yt]===void 0&&(it[yt]=jt[yt]);nt&&A(it,typeof re=="function"?re.displayName||re.name||"Unknown":re);var yt=1e4>be.recentlyCreatedOwnerStacks++;return M(re,nt,it,E(),yt?Error("react-stack-top-frame"):st,yt?je(w(re)):Et)},t.createRef=function(){var re={current:null};return Object.seal(re),re},t.forwardRef=function(re){re!=null&&re.$$typeof===ot?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof re!="function"?console.error("forwardRef requires a render function but was given %s.",re===null?"null":typeof re):re.length!==0&&re.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",re.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),re!=null&&re.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var he={$$typeof:Be,render:re},qe;return Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return qe},set:function(it){qe=it,re.name||re.displayName||(Object.defineProperty(re,"name",{value:it}),re.displayName=it)}}),he},t.isValidElement=z,t.lazy=function(re){re={_status:-1,_result:re};var he={$$typeof:Qe,_payload:re,_init:U},qe={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return re._ioInfo=qe,he._debugInfo=[{awaited:qe}],he},t.memo=function(re,he){re==null&&console.error("memo: The first argument must be a component. Instead received: %s",re===null?"null":typeof re),he={$$typeof:ot,type:re,compare:he===void 0?null:he};var qe;return Object.defineProperty(he,"displayName",{enumerable:!1,configurable:!0,get:function(){return qe},set:function(it){qe=it,re.name||re.displayName||(Object.defineProperty(re,"name",{value:it}),re.displayName=it)}}),he},t.startTransition=function(re){var he=be.T,qe={};qe._updatedFibers=new Set,be.T=qe;try{var it=re(),nt=be.S;nt!==null&&nt(qe,it),typeof it=="object"&&it!==null&&typeof it.then=="function"&&(be.asyncTransitions++,it.then(oe,oe),it.then(h,ae))}catch(jt){ae(jt)}finally{he===null&&qe._updatedFibers&&(re=qe._updatedFibers.size,qe._updatedFibers.clear(),10<re&&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.")),he!==null&&qe.types!==null&&(he.types!==null&&he.types!==qe.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."),he.types=qe.types),be.T=he}},t.unstable_useCacheRefresh=function(){return J().useCacheRefresh()},t.use=function(re){return J().use(re)},t.useActionState=function(re,he,qe){return J().useActionState(re,he,qe)},t.useCallback=function(re,he){return J().useCallback(re,he)},t.useContext=function(re){var he=J();return re.$$typeof===ve&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),he.useContext(re)},t.useDebugValue=function(re,he){return J().useDebugValue(re,he)},t.useDeferredValue=function(re,he){return J().useDeferredValue(re,he)},t.useEffect=function(re,he){return re==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useEffect(re,he)},t.useEffectEvent=function(re){return J().useEffectEvent(re)},t.useId=function(){return J().useId()},t.useImperativeHandle=function(re,he,qe){return J().useImperativeHandle(re,he,qe)},t.useInsertionEffect=function(re,he){return re==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useInsertionEffect(re,he)},t.useLayoutEffect=function(re,he){return re==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),J().useLayoutEffect(re,he)},t.useMemo=function(re,he){return J().useMemo(re,he)},t.useOptimistic=function(re,he){return J().useOptimistic(re,he)},t.useReducer=function(re,he,qe){return J().useReducer(re,he,qe)},t.useRef=function(re){return J().useRef(re)},t.useState=function(re){return J().useState(re)},t.useSyncExternalStore=function(re,he,qe){return J().useSyncExternalStore(re,he,qe)},t.useTransition=function(){return J().useTransition()},t.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Qw,Qw.exports)),Qw.exports}var Qq;function Ql(){if(Qq)return z1.exports;Qq=1;var e={};return e.NODE_ENV==="production"?z1.exports=qde():z1.exports=$de(),z1.exports}var Jq;function Gde(){if(Jq)return Kw;Jq=1;var e={};return e.NODE_ENV!=="production"&&(function(){function t(ie){if(ie==null)return null;if(typeof ie=="function")return ie.$$typeof===U?null:ie.displayName||ie.name||null;if(typeof ie=="string")return ie;switch(ie){case A:return"Fragment";case M:return"Profiler";case D:return"StrictMode";case F:return"Suspense";case V:return"SuspenseList";case Z:return"Activity"}if(typeof ie=="object")switch(typeof ie.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),ie.$$typeof){case O:return"Portal";case N:return ie.displayName||"Context";case L:return(ie._context.displayName||"Context")+".Consumer";case z:var fe=ie.render;return ie=ie.displayName,ie||(ie=fe.displayName||fe.name||"",ie=ie!==""?"ForwardRef("+ie+")":"ForwardRef"),ie;case W:return fe=ie.displayName||null,fe!==null?fe:t(ie.type)||"Memo";case q:fe=ie._payload,ie=ie._init;try{return t(ie(fe))}catch{}}return null}function n(ie){return""+ie}function r(ie){try{n(ie);var fe=!1}catch{fe=!0}if(fe){fe=console;var Te=fe.error,ve=typeof Symbol=="function"&&Symbol.toStringTag&&ie[Symbol.toStringTag]||ie.constructor.name||"Object";return Te.call(fe,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",ve),n(ie)}}function o(ie){if(ie===A)return"<>";if(typeof ie=="object"&&ie!==null&&ie.$$typeof===q)return"<...>";try{var fe=t(ie);return fe?"<"+fe+">":"<...>"}catch{return"<...>"}}function a(){var ie=J.A;return ie===null?null:ie.getOwner()}function l(){return Error("react-stack-top-frame")}function c(ie){if(oe.call(ie,"key")){var fe=Object.getOwnPropertyDescriptor(ie,"key").get;if(fe&&fe.isReactWarning)return!1}return ie.key!==void 0}function f(ie,fe){function Te(){ne||(ne=!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)",fe))}Te.isReactWarning=!0,Object.defineProperty(ie,"key",{get:Te,configurable:!0})}function h(){var ie=t(this.type);return ue[ie]||(ue[ie]=!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.")),ie=this.props.ref,ie!==void 0?ie:null}function m(ie,fe,Te,ve,_e,Be){var Ve=Te.ref;return ie={$$typeof:C,type:ie,key:fe,props:Te,_owner:ve},(Ve!==void 0?Ve:null)!==null?Object.defineProperty(ie,"ref",{enumerable:!1,get:h}):Object.defineProperty(ie,"ref",{enumerable:!1,value:null}),ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(ie,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(ie,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_e}),Object.defineProperty(ie,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Be}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie}function v(ie,fe,Te,ve,_e,Be){var Ve=fe.children;if(Ve!==void 0)if(ve)if(de(Ve)){for(ve=0;ve<Ve.length;ve++)y(Ve[ve]);Object.freeze&&Object.freeze(Ve)}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 y(Ve);if(oe.call(fe,"key")){Ve=t(ie);var Ge=Object.keys(fe).filter(function(Qe){return Qe!=="key"});ve=0<Ge.length?"{key: someKey, "+Ge.join(": ..., ")+": ...}":"{key: someKey}",K[Ve+ve]||(Ge=0<Ge.length?"{"+Ge.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,ve,Ve,Ge,Ve),K[Ve+ve]=!0)}if(Ve=null,Te!==void 0&&(r(Te),Ve=""+Te),c(fe)&&(r(fe.key),Ve=""+fe.key),"key"in fe){Te={};for(var ot in fe)ot!=="key"&&(Te[ot]=fe[ot])}else Te=fe;return Ve&&f(Te,typeof ie=="function"?ie.displayName||ie.name||"Unknown":ie),m(ie,Ve,Te,a(),_e,Be)}function y(ie){w(ie)?ie._store&&(ie._store.validated=1):typeof ie=="object"&&ie!==null&&ie.$$typeof===q&&(ie._payload.status==="fulfilled"?w(ie._payload.value)&&ie._payload.value._store&&(ie._payload.value._store.validated=1):ie._store&&(ie._store.validated=1))}function w(ie){return typeof ie=="object"&&ie!==null&&ie.$$typeof===C}var E=Ql(),C=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),D=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),N=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),Z=Symbol.for("react.activity"),U=Symbol.for("react.client.reference"),J=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,oe=Object.prototype.hasOwnProperty,de=Array.isArray,X=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(ie){return ie()}};var ne,ue={},ge=E.react_stack_bottom_frame.bind(E,l)(),Re=X(o(l)),K={};Kw.Fragment=A,Kw.jsx=function(ie,fe,Te){var ve=1e4>J.recentlyCreatedOwnerStacks++;return v(ie,fe,Te,!1,ve?Error("react-stack-top-frame"):ge,ve?X(o(ie)):Re)},Kw.jsxs=function(ie,fe,Te){var ve=1e4>J.recentlyCreatedOwnerStacks++;return v(ie,fe,Te,!0,ve?Error("react-stack-top-frame"):ge,ve?X(o(ie)):Re)}})(),Kw}var e6;function Yde(){if(e6)return j1.exports;e6=1;var e={};return e.NODE_ENV==="production"?j1.exports=Wde():j1.exports=Gde(),j1.exports}var _=Yde(),B1={exports:{}},Jw={},U1={exports:{}},kP={};var t6;function Xde(){return t6||(t6=1,(function(e){function t(X,ne){var ue=X.length;X.push(ne);e:for(;0<ue;){var ge=ue-1>>>1,Re=X[ge];if(0<o(Re,ne))X[ge]=ne,X[ue]=Re,ue=ge;else break e}}function n(X){return X.length===0?null:X[0]}function r(X){if(X.length===0)return null;var ne=X[0],ue=X.pop();if(ue!==ne){X[0]=ue;e:for(var ge=0,Re=X.length,K=Re>>>1;ge<K;){var ie=2*(ge+1)-1,fe=X[ie],Te=ie+1,ve=X[Te];if(0>o(fe,ue))Te<Re&&0>o(ve,fe)?(X[ge]=ve,X[Te]=ue,ge=Te):(X[ge]=fe,X[ie]=ue,ge=ie);else if(Te<Re&&0>o(ve,ue))X[ge]=ve,X[Te]=ue,ge=Te;else break e}}return ne}function o(X,ne){var ue=X.sortIndex-ne.sortIndex;return ue!==0?ue:X.id-ne.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var f=[],h=[],m=1,v=null,y=3,w=!1,E=!1,C=!1,O=!1,A=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function L(X){for(var ne=n(h);ne!==null;){if(ne.callback===null)r(h);else if(ne.startTime<=X)r(h),ne.sortIndex=ne.expirationTime,t(f,ne);else break;ne=n(h)}}function N(X){if(C=!1,L(X),!E)if(n(f)!==null)E=!0,z||(z=!0,U());else{var ne=n(h);ne!==null&&de(N,ne.startTime-X)}}var z=!1,F=-1,V=5,W=-1;function q(){return O?!0:!(e.unstable_now()-W<V)}function Z(){if(O=!1,z){var X=e.unstable_now();W=X;var ne=!0;try{e:{E=!1,C&&(C=!1,D(F),F=-1),w=!0;var ue=y;try{t:{for(L(X),v=n(f);v!==null&&!(v.expirationTime>X&&q());){var ge=v.callback;if(typeof ge=="function"){v.callback=null,y=v.priorityLevel;var Re=ge(v.expirationTime<=X);if(X=e.unstable_now(),typeof Re=="function"){v.callback=Re,L(X),ne=!0;break t}v===n(f)&&r(f),L(X)}else r(f);v=n(f)}if(v!==null)ne=!0;else{var K=n(h);K!==null&&de(N,K.startTime-X),ne=!1}}break e}finally{v=null,y=ue,w=!1}ne=void 0}}finally{ne?U():z=!1}}}var U;if(typeof M=="function")U=function(){M(Z)};else if(typeof MessageChannel<"u"){var J=new MessageChannel,oe=J.port2;J.port1.onmessage=Z,U=function(){oe.postMessage(null)}}else U=function(){A(Z,0)};function de(X,ne){F=A(function(){X(e.unstable_now())},ne)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(X){X.callback=null},e.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<X?Math.floor(1e3/X):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_next=function(X){switch(y){case 1:case 2:case 3:var ne=3;break;default:ne=y}var ue=y;y=ne;try{return X()}finally{y=ue}},e.unstable_requestPaint=function(){O=!0},e.unstable_runWithPriority=function(X,ne){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var ue=y;y=X;try{return ne()}finally{y=ue}},e.unstable_scheduleCallback=function(X,ne,ue){var ge=e.unstable_now();switch(typeof ue=="object"&&ue!==null?(ue=ue.delay,ue=typeof ue=="number"&&0<ue?ge+ue:ge):ue=ge,X){case 1:var Re=-1;break;case 2:Re=250;break;case 5:Re=1073741823;break;case 4:Re=1e4;break;default:Re=5e3}return Re=ue+Re,X={id:m++,callback:ne,priorityLevel:X,startTime:ue,expirationTime:Re,sortIndex:-1},ue>ge?(X.sortIndex=ue,t(h,X),n(f)===null&&X===n(h)&&(C?(D(F),F=-1):C=!0,de(N,ue-ge))):(X.sortIndex=Re,t(f,X),E||w||(E=!0,z||(z=!0,U()))),X},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(X){var ne=y;return function(){var ue=y;y=ne;try{return X.apply(this,arguments)}finally{y=ue}}}})(kP)),kP}var jP={},n6;function Zde(){return n6||(n6=1,(function(e){var t={};t.NODE_ENV!=="production"&&(function(){function n(){if(z=!1,q){var ne=e.unstable_now();J=ne;var ue=!0;try{e:{L=!1,N&&(N=!1,V(Z),Z=-1),M=!0;var ge=D;try{t:{for(c(ne),A=o(E);A!==null&&!(A.expirationTime>ne&&h());){var Re=A.callback;if(typeof Re=="function"){A.callback=null,D=A.priorityLevel;var K=Re(A.expirationTime<=ne);if(ne=e.unstable_now(),typeof K=="function"){A.callback=K,c(ne),ue=!0;break t}A===o(E)&&a(E),c(ne)}else a(E);A=o(E)}if(A!==null)ue=!0;else{var ie=o(C);ie!==null&&m(f,ie.startTime-ne),ue=!1}}break e}finally{A=null,D=ge,M=!1}ue=void 0}}finally{ue?oe():q=!1}}}function r(ne,ue){var ge=ne.length;ne.push(ue);e:for(;0<ge;){var Re=ge-1>>>1,K=ne[Re];if(0<l(K,ue))ne[Re]=ue,ne[ge]=K,ge=Re;else break e}}function o(ne){return ne.length===0?null:ne[0]}function a(ne){if(ne.length===0)return null;var ue=ne[0],ge=ne.pop();if(ge!==ue){ne[0]=ge;e:for(var Re=0,K=ne.length,ie=K>>>1;Re<ie;){var fe=2*(Re+1)-1,Te=ne[fe],ve=fe+1,_e=ne[ve];if(0>l(Te,ge))ve<K&&0>l(_e,Te)?(ne[Re]=_e,ne[ve]=ge,Re=ve):(ne[Re]=Te,ne[fe]=ge,Re=fe);else if(ve<K&&0>l(_e,ge))ne[Re]=_e,ne[ve]=ge,Re=ve;else break e}}return ue}function l(ne,ue){var ge=ne.sortIndex-ue.sortIndex;return ge!==0?ge:ne.id-ue.id}function c(ne){for(var ue=o(C);ue!==null;){if(ue.callback===null)a(C);else if(ue.startTime<=ne)a(C),ue.sortIndex=ue.expirationTime,r(E,ue);else break;ue=o(C)}}function f(ne){if(N=!1,c(ne),!L)if(o(E)!==null)L=!0,q||(q=!0,oe());else{var ue=o(C);ue!==null&&m(f,ue.startTime-ne)}}function h(){return z?!0:!(e.unstable_now()-J<U)}function m(ne,ue){Z=F(function(){ne(e.unstable_now())},ue)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var v=performance;e.unstable_now=function(){return v.now()}}else{var y=Date,w=y.now();e.unstable_now=function(){return y.now()-w}}var E=[],C=[],O=1,A=null,D=3,M=!1,L=!1,N=!1,z=!1,F=typeof setTimeout=="function"?setTimeout:null,V=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null,q=!1,Z=-1,U=5,J=-1;if(typeof W=="function")var oe=function(){W(n)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,X=de.port2;de.port1.onmessage=n,oe=function(){X.postMessage(null)}}else oe=function(){F(n,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(ne){ne.callback=null},e.unstable_forceFrameRate=function(ne){0>ne||125<ne?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):U=0<ne?Math.floor(1e3/ne):5},e.unstable_getCurrentPriorityLevel=function(){return D},e.unstable_next=function(ne){switch(D){case 1:case 2:case 3:var ue=3;break;default:ue=D}var ge=D;D=ue;try{return ne()}finally{D=ge}},e.unstable_requestPaint=function(){z=!0},e.unstable_runWithPriority=function(ne,ue){switch(ne){case 1:case 2:case 3:case 4:case 5:break;default:ne=3}var ge=D;D=ne;try{return ue()}finally{D=ge}},e.unstable_scheduleCallback=function(ne,ue,ge){var Re=e.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?Re+ge:Re):ge=Re,ne){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=ge+K,ne={id:O++,callback:ue,priorityLevel:ne,startTime:ge,expirationTime:K,sortIndex:-1},ge>Re?(ne.sortIndex=ge,r(C,ne),o(E)===null&&ne===o(C)&&(N?(V(Z),Z=-1):N=!0,m(f,ge-Re))):(ne.sortIndex=K,r(E,ne),L||M||(L=!0,q||(q=!0,oe()))),ne},e.unstable_shouldYield=h,e.unstable_wrapCallback=function(ne){var ue=D;return function(){var ge=D;D=ue;try{return ne.apply(this,arguments)}finally{D=ge}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(jP)),jP}var r6;function o6(){if(r6)return U1.exports;r6=1;var e={};return e.NODE_ENV==="production"?U1.exports=Xde():U1.exports=Zde(),U1.exports}var H1={exports:{}},Pa={};var i6;function Kde(){if(i6)return Pa;i6=1;var e=Ql();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)h+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function a(f,h,m){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:v==null?null:""+v,children:f,containerInfo:h,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Pa.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Pa.createPortal=function(f,h){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return a(f,h,null,m)},Pa.flushSync=function(f){var h=l.T,m=r.p;try{if(l.T=null,r.p=2,f)return f()}finally{l.T=h,r.p=m,r.d.f()}},Pa.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(f,h))},Pa.prefetchDNS=function(f){typeof f=="string"&&r.d.D(f)},Pa.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var m=h.as,v=c(m,h.crossOrigin),y=typeof h.integrity=="string"?h.integrity:void 0,w=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;m==="style"?r.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:v,integrity:y,fetchPriority:w}):m==="script"&&r.d.X(f,{crossOrigin:v,integrity:y,fetchPriority:w,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Pa.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var m=c(h.as,h.crossOrigin);r.d.M(f,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(f)},Pa.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var m=h.as,v=c(m,h.crossOrigin);r.d.L(f,m,{crossOrigin:v,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Pa.preloadModule=function(f,h){if(typeof f=="string")if(h){var m=c(h.as,h.crossOrigin);r.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(f)},Pa.requestFormReset=function(f){r.d.r(f)},Pa.unstable_batchedUpdates=function(f,h){return f(h)},Pa.useFormState=function(f,h,m){return l.H.useFormState(f,h,m)},Pa.useFormStatus=function(){return l.H.useHostTransitionStatus()},Pa.version="19.2.5",Pa}var Na={},a6;function Qde(){if(a6)return Na;a6=1;var e={};return e.NODE_ENV!=="production"&&(function(){function t(){}function n(y){return""+y}function r(y,w,E){var C=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{n(C);var O=!1}catch{O=!0}return O&&(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&&C[Symbol.toStringTag]||C.constructor.name||"Object"),n(C)),{$$typeof:m,key:C==null?null:""+C,children:y,containerInfo:w,implementation:E}}function o(y,w){if(y==="font")return"";if(typeof w=="string")return w==="use-credentials"?w:""}function a(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":'something with type "'+typeof y+'"'}function l(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":typeof y=="string"?JSON.stringify(y):typeof y=="number"?"`"+y+"`":'something with type "'+typeof y+'"'}function c(){var y=v.H;return y===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:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=Ql(),h={d:{f:t,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:t,C:t,L:t,m:t,X:t,S:t,M:t}