most-box 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/cli.js +2 -2
- package/out/404/index.html +15 -0
- package/out/404.html +15 -0
- package/out/__next.__PAGE__.txt +9 -0
- package/out/__next._full.txt +18 -0
- package/out/__next._head.txt +5 -0
- package/out/__next._index.txt +6 -0
- package/out/__next._tree.txt +2 -0
- package/out/_next/static/0h4f4QFk_KC9FlSRfQACk/_buildManifest.js +11 -0
- package/out/_next/static/0h4f4QFk_KC9FlSRfQACk/_clientMiddlewareManifest.js +1 -0
- package/out/_next/static/0h4f4QFk_KC9FlSRfQACk/_ssgManifest.js +1 -0
- package/out/_next/static/chunks/00l-yd3t8dvwz.js +5 -0
- package/out/_next/static/chunks/03k8t3tgym~8~.js +1 -0
- package/out/_next/static/chunks/03~yq9q893hmn.js +1 -0
- package/out/_next/static/chunks/09vfh8lfuacc0.css +1 -0
- package/out/_next/static/chunks/0bogtdbh.dcu1.js +1 -0
- package/out/_next/static/chunks/0dbhjjzl8qfwv.js +1 -0
- package/out/_next/static/chunks/0f73psqhr8dre.css +1 -0
- package/out/_next/static/chunks/0fbi7z4_.4j1j.js +1 -0
- package/out/_next/static/chunks/0ht900cau6_ur.js +31 -0
- package/out/_next/static/chunks/0ohm.ia-4ec60.js +1 -0
- package/out/_next/static/chunks/0u5ydb-f0.vxl.js +1 -0
- package/out/_next/static/chunks/14t2m1on-s5v~.js +1 -0
- package/out/_next/static/chunks/turbopack-076ce9exut_h3.js +1 -0
- package/out/_not-found/__next._full.txt +16 -0
- package/out/_not-found/__next._head.txt +5 -0
- package/out/_not-found/__next._index.txt +6 -0
- package/out/_not-found/__next._not-found/__PAGE__.txt +5 -0
- package/out/_not-found/__next._not-found.txt +5 -0
- package/out/_not-found/__next._tree.txt +2 -0
- package/out/_not-found/index.html +15 -0
- package/out/_not-found/index.txt +16 -0
- package/out/app.css +1535 -0
- package/out/bundle.js +107 -0
- package/out/bundle.js.map +7 -0
- package/out/chat/__next._full.txt +19 -0
- package/out/chat/__next._head.txt +5 -0
- package/out/chat/__next._index.txt +6 -0
- package/out/chat/__next._tree.txt +3 -0
- package/out/chat/__next.chat/__PAGE__.txt +9 -0
- package/out/chat/__next.chat.txt +5 -0
- package/out/chat/index.html +15 -0
- package/out/chat/index.txt +19 -0
- package/out/chat-page.js +112 -0
- package/out/chat.css +378 -0
- package/out/favicon.ico +0 -0
- package/out/index.html +15 -0
- package/out/index.js +148 -0
- package/out/index.txt +18 -0
- package/package.json +11 -6
- package/public/app.css +20 -4
- package/public/bundle.js +1 -1
- package/public/bundle.js.map +7 -0
- package/public/chat-page.js +112 -0
- package/public/chat.css +378 -0
- package/public/index.js +148 -0
- package/server.js +188 -6
- package/src/config.js +12 -1
- package/src/core/cid.js +7 -3
- package/src/index.js +475 -7
- package/src/utils/api.js +6 -0
- package/build.mjs +0 -40
- package/public/app.jsx +0 -1543
- package/public/bundle.css +0 -1
- package/public/error-boundary.jsx +0 -50
- package/public/index.html +0 -16
- package/public/index.jsx +0 -20
package/out/chat-page.js
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
var gm=Object.create;var rs=Object.defineProperty;var Lm=Object.getOwnPropertyDescriptor;var xm=Object.getOwnPropertyNames;var ym=Object.getPrototypeOf,Cm=Object.prototype.hasOwnProperty;var xu=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(a,t)=>(typeof require<"u"?require:a)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ba=(e,a)=>()=>(a||e((a={exports:{}}).exports,a),a.exports);var Sm=(e,a,t,l)=>{if(a&&typeof a=="object"||typeof a=="function")for(let u of xm(a))!Cm.call(e,u)&&u!==t&&rs(e,u,{get:()=>a[u],enumerable:!(l=Lm(a,u))||l.enumerable});return e};var $a=(e,a,t)=>(t=e!=null?gm(ym(e)):{},Sm(a||!e||!e.__esModule?rs(t,"default",{value:e,enumerable:!0}):t,e));var xs=ba(Q=>{"use strict";var mr=Symbol.for("react.transitional.element"),vm=Symbol.for("react.portal"),bm=Symbol.for("react.fragment"),Im=Symbol.for("react.strict_mode"),wm=Symbol.for("react.profiler"),Am=Symbol.for("react.consumer"),Tm=Symbol.for("react.context"),_m=Symbol.for("react.forward_ref"),Mm=Symbol.for("react.suspense"),Rm=Symbol.for("react.memo"),cs=Symbol.for("react.lazy"),Dm=Symbol.for("react.activity"),is=Symbol.iterator;function Em(e){return e===null||typeof e!="object"?null:(e=is&&e[is]||e["@@iterator"],typeof e=="function"?e:null)}var ps={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},hs=Object.assign,ms={};function bl(e,a,t){this.props=e,this.context=a,this.refs=ms,this.updater=t||ps}bl.prototype.isReactComponent={};bl.prototype.setState=function(e,a){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,a,"setState")};bl.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gs(){}gs.prototype=bl.prototype;function gr(e,a,t){this.props=e,this.context=a,this.refs=ms,this.updater=t||ps}var Lr=gr.prototype=new gs;Lr.constructor=gr;hs(Lr,bl.prototype);Lr.isPureReactComponent=!0;var fs=Array.isArray;function hr(){}var Ce={H:null,A:null,T:null,S:null},Ls=Object.prototype.hasOwnProperty;function xr(e,a,t){var l=t.ref;return{$$typeof:mr,type:e,key:a,ref:l!==void 0?l:null,props:t}}function Bm(e,a){return xr(e.type,a,e.props)}function yr(e){return typeof e=="object"&&e!==null&&e.$$typeof===mr}function km(e){var a={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return a[t]})}var ss=/\/+/g;function pr(e,a){return typeof e=="object"&&e!==null&&e.key!=null?km(""+e.key):a.toString(36)}function Om(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(hr,hr):(e.status="pending",e.then(function(a){e.status==="pending"&&(e.status="fulfilled",e.value=a)},function(a){e.status==="pending"&&(e.status="rejected",e.reason=a)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function vl(e,a,t,l,u){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var r=!1;if(e===null)r=!0;else switch(o){case"bigint":case"string":case"number":r=!0;break;case"object":switch(e.$$typeof){case mr:case vm:r=!0;break;case cs:return r=e._init,vl(r(e._payload),a,t,l,u)}}if(r)return u=u(e),r=l===""?"."+pr(e,0):l,fs(u)?(t="",r!=null&&(t=r.replace(ss,"$&/")+"/"),vl(u,a,t,"",function(d){return d})):u!=null&&(yr(u)&&(u=Bm(u,t+(u.key==null||e&&e.key===u.key?"":(""+u.key).replace(ss,"$&/")+"/")+r)),a.push(u)),1;r=0;var f=l===""?".":l+":";if(fs(e))for(var g=0;g<e.length;g++)l=e[g],o=f+pr(l,g),r+=vl(l,a,t,o,u);else if(g=Em(e),typeof g=="function")for(e=g.call(e),g=0;!(l=e.next()).done;)l=l.value,o=f+pr(l,g++),r+=vl(l,a,t,o,u);else if(o==="object"){if(typeof e.then=="function")return vl(Om(e),a,t,l,u);throw a=String(e),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return r}function Eo(e,a,t){if(e==null)return e;var l=[],u=0;return vl(e,l,"","",function(o){return a.call(t,o,u++)}),l}function Um(e){if(e._status===-1){var a=e._result;a=a(),a.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=a)}if(e._status===1)return e._result.default;throw e._result}var ds=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},qm={map:Eo,forEach:function(e,a,t){Eo(e,function(){a.apply(this,arguments)},t)},count:function(e){var a=0;return Eo(e,function(){a++}),a},toArray:function(e){return Eo(e,function(a){return a})||[]},only:function(e){if(!yr(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Activity=Dm;Q.Children=qm;Q.Component=bl;Q.Fragment=bm;Q.Profiler=wm;Q.PureComponent=gr;Q.StrictMode=Im;Q.Suspense=Mm;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ce;Q.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ce.H.useMemoCache(e)}};Q.cache=function(e){return function(){return e.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(e,a,t){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var l=hs({},e.props),u=e.key;if(a!=null)for(o in a.key!==void 0&&(u=""+a.key),a)!Ls.call(a,o)||o==="key"||o==="__self"||o==="__source"||o==="ref"&&a.ref===void 0||(l[o]=a[o]);var o=arguments.length-2;if(o===1)l.children=t;else if(1<o){for(var r=Array(o),f=0;f<o;f++)r[f]=arguments[f+2];l.children=r}return xr(e.type,u,l)};Q.createContext=function(e){return e={$$typeof:Tm,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Am,_context:e},e};Q.createElement=function(e,a,t){var l,u={},o=null;if(a!=null)for(l in a.key!==void 0&&(o=""+a.key),a)Ls.call(a,l)&&l!=="key"&&l!=="__self"&&l!=="__source"&&(u[l]=a[l]);var r=arguments.length-2;if(r===1)u.children=t;else if(1<r){for(var f=Array(r),g=0;g<r;g++)f[g]=arguments[g+2];u.children=f}if(e&&e.defaultProps)for(l in r=e.defaultProps,r)u[l]===void 0&&(u[l]=r[l]);return xr(e,o,u)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(e){return{$$typeof:_m,render:e}};Q.isValidElement=yr;Q.lazy=function(e){return{$$typeof:cs,_payload:{_status:-1,_result:e},_init:Um}};Q.memo=function(e,a){return{$$typeof:Rm,type:e,compare:a===void 0?null:a}};Q.startTransition=function(e){var a=Ce.T,t={};Ce.T=t;try{var l=e(),u=Ce.S;u!==null&&u(t,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(hr,ds)}catch(o){ds(o)}finally{a!==null&&t.types!==null&&(a.types=t.types),Ce.T=a}};Q.unstable_useCacheRefresh=function(){return Ce.H.useCacheRefresh()};Q.use=function(e){return Ce.H.use(e)};Q.useActionState=function(e,a,t){return Ce.H.useActionState(e,a,t)};Q.useCallback=function(e,a){return Ce.H.useCallback(e,a)};Q.useContext=function(e){return Ce.H.useContext(e)};Q.useDebugValue=function(){};Q.useDeferredValue=function(e,a){return Ce.H.useDeferredValue(e,a)};Q.useEffect=function(e,a){return Ce.H.useEffect(e,a)};Q.useEffectEvent=function(e){return Ce.H.useEffectEvent(e)};Q.useId=function(){return Ce.H.useId()};Q.useImperativeHandle=function(e,a,t){return Ce.H.useImperativeHandle(e,a,t)};Q.useInsertionEffect=function(e,a){return Ce.H.useInsertionEffect(e,a)};Q.useLayoutEffect=function(e,a){return Ce.H.useLayoutEffect(e,a)};Q.useMemo=function(e,a){return Ce.H.useMemo(e,a)};Q.useOptimistic=function(e,a){return Ce.H.useOptimistic(e,a)};Q.useReducer=function(e,a,t){return Ce.H.useReducer(e,a,t)};Q.useRef=function(e){return Ce.H.useRef(e)};Q.useState=function(e){return Ce.H.useState(e)};Q.useSyncExternalStore=function(e,a,t){return Ce.H.useSyncExternalStore(e,a,t)};Q.useTransition=function(){return Ce.H.useTransition()};Q.version="19.2.4"});var $t=ba((qx,ys)=>{"use strict";ys.exports=xs()});var Ms=ba(Ie=>{"use strict";function br(e,a){var t=e.length;e.push(a);e:for(;0<t;){var l=t-1>>>1,u=e[l];if(0<Bo(u,a))e[l]=a,e[t]=u,t=l;else break e}}function Ga(e){return e.length===0?null:e[0]}function Oo(e){if(e.length===0)return null;var a=e[0],t=e.pop();if(t!==a){e[0]=t;e:for(var l=0,u=e.length,o=u>>>1;l<o;){var r=2*(l+1)-1,f=e[r],g=r+1,d=e[g];if(0>Bo(f,t))g<u&&0>Bo(d,f)?(e[l]=d,e[g]=t,l=g):(e[l]=f,e[r]=t,l=r);else if(g<u&&0>Bo(d,t))e[l]=d,e[g]=t,l=g;else break e}}return a}function Bo(e,a){var t=e.sortIndex-a.sortIndex;return t!==0?t:e.id-a.id}Ie.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Cs=performance,Ie.unstable_now=function(){return Cs.now()}):(Cr=Date,Ss=Cr.now(),Ie.unstable_now=function(){return Cr.now()-Ss});var Cs,Cr,Ss,et=[],It=[],zm=1,Ia=null,Qe=3,Ir=!1,yu=!1,Cu=!1,wr=!1,Is=typeof setTimeout=="function"?setTimeout:null,ws=typeof clearTimeout=="function"?clearTimeout:null,vs=typeof setImmediate<"u"?setImmediate:null;function ko(e){for(var a=Ga(It);a!==null;){if(a.callback===null)Oo(It);else if(a.startTime<=e)Oo(It),a.sortIndex=a.expirationTime,br(et,a);else break;a=Ga(It)}}function Ar(e){if(Cu=!1,ko(e),!yu)if(Ga(et)!==null)yu=!0,wl||(wl=!0,Il());else{var a=Ga(It);a!==null&&Tr(Ar,a.startTime-e)}}var wl=!1,Su=-1,As=5,Ts=-1;function _s(){return wr?!0:!(Ie.unstable_now()-Ts<As)}function Sr(){if(wr=!1,wl){var e=Ie.unstable_now();Ts=e;var a=!0;try{e:{yu=!1,Cu&&(Cu=!1,ws(Su),Su=-1),Ir=!0;var t=Qe;try{a:{for(ko(e),Ia=Ga(et);Ia!==null&&!(Ia.expirationTime>e&&_s());){var l=Ia.callback;if(typeof l=="function"){Ia.callback=null,Qe=Ia.priorityLevel;var u=l(Ia.expirationTime<=e);if(e=Ie.unstable_now(),typeof u=="function"){Ia.callback=u,ko(e),a=!0;break a}Ia===Ga(et)&&Oo(et),ko(e)}else Oo(et);Ia=Ga(et)}if(Ia!==null)a=!0;else{var o=Ga(It);o!==null&&Tr(Ar,o.startTime-e),a=!1}}break e}finally{Ia=null,Qe=t,Ir=!1}a=void 0}}finally{a?Il():wl=!1}}}var Il;typeof vs=="function"?Il=function(){vs(Sr)}:typeof MessageChannel<"u"?(vr=new MessageChannel,bs=vr.port2,vr.port1.onmessage=Sr,Il=function(){bs.postMessage(null)}):Il=function(){Is(Sr,0)};var vr,bs;function Tr(e,a){Su=Is(function(){e(Ie.unstable_now())},a)}Ie.unstable_IdlePriority=5;Ie.unstable_ImmediatePriority=1;Ie.unstable_LowPriority=4;Ie.unstable_NormalPriority=3;Ie.unstable_Profiling=null;Ie.unstable_UserBlockingPriority=2;Ie.unstable_cancelCallback=function(e){e.callback=null};Ie.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):As=0<e?Math.floor(1e3/e):5};Ie.unstable_getCurrentPriorityLevel=function(){return Qe};Ie.unstable_next=function(e){switch(Qe){case 1:case 2:case 3:var a=3;break;default:a=Qe}var t=Qe;Qe=a;try{return e()}finally{Qe=t}};Ie.unstable_requestPaint=function(){wr=!0};Ie.unstable_runWithPriority=function(e,a){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=Qe;Qe=e;try{return a()}finally{Qe=t}};Ie.unstable_scheduleCallback=function(e,a,t){var l=Ie.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?l+t:l):t=l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return u=t+u,e={id:zm++,callback:a,priorityLevel:e,startTime:t,expirationTime:u,sortIndex:-1},t>l?(e.sortIndex=t,br(It,e),Ga(et)===null&&e===Ga(It)&&(Cu?(ws(Su),Su=-1):Cu=!0,Tr(Ar,t-l))):(e.sortIndex=u,br(et,e),yu||Ir||(yu=!0,wl||(wl=!0,Il()))),e};Ie.unstable_shouldYield=_s;Ie.unstable_wrapCallback=function(e){var a=Qe;return function(){var t=Qe;Qe=a;try{return e.apply(this,arguments)}finally{Qe=t}}}});var Ds=ba((Hx,Rs)=>{"use strict";Rs.exports=Ms()});var Bs=ba(We=>{"use strict";var Hm=$t();function Es(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)a+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function wt(){}var Je={d:{f:wt,r:function(){throw Error(Es(522))},D:wt,C:wt,L:wt,m:wt,X:wt,S:wt,M:wt},p:0,findDOMNode:null},Nm=Symbol.for("react.portal");function Fm(e,a,t){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Nm,key:l==null?null:""+l,children:e,containerInfo:a,implementation:t}}var vu=Hm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Uo(e,a){if(e==="font")return"";if(typeof a=="string")return a==="use-credentials"?a:""}We.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Je;We.createPortal=function(e,a){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)throw Error(Es(299));return Fm(e,a,null,t)};We.flushSync=function(e){var a=vu.T,t=Je.p;try{if(vu.T=null,Je.p=2,e)return e()}finally{vu.T=a,Je.p=t,Je.d.f()}};We.preconnect=function(e,a){typeof e=="string"&&(a?(a=a.crossOrigin,a=typeof a=="string"?a==="use-credentials"?a:"":void 0):a=null,Je.d.C(e,a))};We.prefetchDNS=function(e){typeof e=="string"&&Je.d.D(e)};We.preinit=function(e,a){if(typeof e=="string"&&a&&typeof a.as=="string"){var t=a.as,l=Uo(t,a.crossOrigin),u=typeof a.integrity=="string"?a.integrity:void 0,o=typeof a.fetchPriority=="string"?a.fetchPriority:void 0;t==="style"?Je.d.S(e,typeof a.precedence=="string"?a.precedence:void 0,{crossOrigin:l,integrity:u,fetchPriority:o}):t==="script"&&Je.d.X(e,{crossOrigin:l,integrity:u,fetchPriority:o,nonce:typeof a.nonce=="string"?a.nonce:void 0})}};We.preinitModule=function(e,a){if(typeof e=="string")if(typeof a=="object"&&a!==null){if(a.as==null||a.as==="script"){var t=Uo(a.as,a.crossOrigin);Je.d.M(e,{crossOrigin:t,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0})}}else a==null&&Je.d.M(e)};We.preload=function(e,a){if(typeof e=="string"&&typeof a=="object"&&a!==null&&typeof a.as=="string"){var t=a.as,l=Uo(t,a.crossOrigin);Je.d.L(e,t,{crossOrigin:l,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,type:typeof a.type=="string"?a.type:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0,referrerPolicy:typeof a.referrerPolicy=="string"?a.referrerPolicy:void 0,imageSrcSet:typeof a.imageSrcSet=="string"?a.imageSrcSet:void 0,imageSizes:typeof a.imageSizes=="string"?a.imageSizes:void 0,media:typeof a.media=="string"?a.media:void 0})}};We.preloadModule=function(e,a){if(typeof e=="string")if(a){var t=Uo(a.as,a.crossOrigin);Je.d.m(e,{as:typeof a.as=="string"&&a.as!=="script"?a.as:void 0,crossOrigin:t,integrity:typeof a.integrity=="string"?a.integrity:void 0})}else Je.d.m(e)};We.requestFormReset=function(e){Je.d.r(e)};We.unstable_batchedUpdates=function(e,a){return e(a)};We.useFormState=function(e,a,t){return vu.H.useFormState(e,a,t)};We.useFormStatus=function(){return vu.H.useHostTransitionStatus()};We.version="19.2.4"});var Us=ba((Fx,Os)=>{"use strict";function ks(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ks)}catch(e){console.error(e)}}ks(),Os.exports=Bs()});var Zh=ba(ir=>{"use strict";var Ue=Ds(),ic=$t(),Pm=Us();function U(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)a+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function fc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function io(e){var a=e,t=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(t=a.return),e=a.return;while(e)}return a.tag===3?t:null}function sc(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function dc(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function qs(e){if(io(e)!==e)throw Error(U(188))}function Gm(e){var a=e.alternate;if(!a){if(a=io(e),a===null)throw Error(U(188));return a!==e?null:e}for(var t=e,l=a;;){var u=t.return;if(u===null)break;var o=u.alternate;if(o===null){if(l=u.return,l!==null){t=l;continue}break}if(u.child===o.child){for(o=u.child;o;){if(o===t)return qs(u),e;if(o===l)return qs(u),a;o=o.sibling}throw Error(U(188))}if(t.return!==l.return)t=u,l=o;else{for(var r=!1,f=u.child;f;){if(f===t){r=!0,t=u,l=o;break}if(f===l){r=!0,l=u,t=o;break}f=f.sibling}if(!r){for(f=o.child;f;){if(f===t){r=!0,t=o,l=u;break}if(f===l){r=!0,l=o,t=u;break}f=f.sibling}if(!r)throw Error(U(189))}}if(t.alternate!==l)throw Error(U(190))}if(t.tag!==3)throw Error(U(188));return t.stateNode.current===t?e:a}function cc(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=cc(e),a!==null)return a;e=e.sibling}return null}var be=Object.assign,Vm=Symbol.for("react.element"),qo=Symbol.for("react.transitional.element"),Ru=Symbol.for("react.portal"),Dl=Symbol.for("react.fragment"),pc=Symbol.for("react.strict_mode"),ri=Symbol.for("react.profiler"),hc=Symbol.for("react.consumer"),it=Symbol.for("react.context"),tf=Symbol.for("react.forward_ref"),ii=Symbol.for("react.suspense"),fi=Symbol.for("react.suspense_list"),lf=Symbol.for("react.memo"),At=Symbol.for("react.lazy"),si=Symbol.for("react.activity"),jm=Symbol.for("react.memo_cache_sentinel"),zs=Symbol.iterator;function bu(e){return e===null||typeof e!="object"?null:(e=zs&&e[zs]||e["@@iterator"],typeof e=="function"?e:null)}var Xm=Symbol.for("react.client.reference");function di(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Xm?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dl:return"Fragment";case ri:return"Profiler";case pc:return"StrictMode";case ii:return"Suspense";case fi:return"SuspenseList";case si:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Ru:return"Portal";case it:return e.displayName||"Context";case hc:return(e._context.displayName||"Context")+".Consumer";case tf:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lf:return a=e.displayName||null,a!==null?a:di(e.type)||"Memo";case At:a=e._payload,e=e._init;try{return di(e(a))}catch{}}return null}var Du=Array.isArray,X=ic.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe=Pm.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ol={pending:!1,data:null,method:null,action:null},ci=[],El=-1;function Za(e){return{current:e}}function Ne(e){0>El||(e.current=ci[El],ci[El]=null,El--)}function xe(e,a){El++,ci[El]=e.current,e.current=a}var Ya=Za(null),Zu=Za(null),qt=Za(null),Ln=Za(null);function xn(e,a){switch(xe(qt,a),xe(Zu,e),xe(Ya,null),a.nodeType){case 9:case 11:e=(e=a.documentElement)&&(e=e.namespaceURI)?jd(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=jd(a),e=kh(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Ne(Ya),xe(Ya,e)}function Kl(){Ne(Ya),Ne(Zu),Ne(qt)}function pi(e){e.memoizedState!==null&&xe(Ln,e);var a=Ya.current,t=kh(a,e.type);a!==t&&(xe(Zu,e),xe(Ya,t))}function yn(e){Zu.current===e&&(Ne(Ya),Ne(Zu)),Ln.current===e&&(Ne(Ln),oo._currentValue=ol)}var _r,Hs;function al(e){if(_r===void 0)try{throw Error()}catch(t){var a=t.stack.trim().match(/\n( *(at )?)/);_r=a&&a[1]||"",Hs=-1<t.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+_r+e+Hs}var Mr=!1;function Rr(e,a){if(!e||Mr)return"";Mr=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(a){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(y){var h=y}Reflect.construct(e,[],x)}else{try{x.call()}catch(y){h=y}e.call(x.prototype)}}else{try{throw Error()}catch(y){h=y}(x=e())&&typeof x.catch=="function"&&x.catch(function(){})}}catch(y){if(y&&h&&typeof y.stack=="string")return[y.stack,h.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=l.DetermineComponentFrameRoot(),r=o[0],f=o[1];if(r&&f){var g=r.split(`
|
|
4
|
+
`),d=f.split(`
|
|
5
|
+
`);for(u=l=0;l<g.length&&!g[l].includes("DetermineComponentFrameRoot");)l++;for(;u<d.length&&!d[u].includes("DetermineComponentFrameRoot");)u++;if(l===g.length||u===d.length)for(l=g.length-1,u=d.length-1;1<=l&&0<=u&&g[l]!==d[u];)u--;for(;1<=l&&0<=u;l--,u--)if(g[l]!==d[u]){if(l!==1||u!==1)do if(l--,u--,0>u||g[l]!==d[u]){var L=`
|
|
6
|
+
`+g[l].replace(" at new "," at ");return e.displayName&&L.includes("<anonymous>")&&(L=L.replace("<anonymous>",e.displayName)),L}while(1<=l&&0<=u);break}}}finally{Mr=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?al(t):""}function Ym(e,a){switch(e.tag){case 26:case 27:case 5:return al(e.type);case 16:return al("Lazy");case 13:return e.child!==a&&a!==null?al("Suspense Fallback"):al("Suspense");case 19:return al("SuspenseList");case 0:case 15:return Rr(e.type,!1);case 11:return Rr(e.type.render,!1);case 1:return Rr(e.type,!0);case 31:return al("Activity");default:return""}}function Ns(e){try{var a="",t=null;do a+=Ym(e,t),t=e,e=e.return;while(e);return a}catch(l){return`
|
|
7
|
+
Error generating stack: `+l.message+`
|
|
8
|
+
`+l.stack}}var hi=Object.prototype.hasOwnProperty,uf=Ue.unstable_scheduleCallback,Dr=Ue.unstable_cancelCallback,Zm=Ue.unstable_shouldYield,Qm=Ue.unstable_requestPaint,ma=Ue.unstable_now,Km=Ue.unstable_getCurrentPriorityLevel,mc=Ue.unstable_ImmediatePriority,gc=Ue.unstable_UserBlockingPriority,Cn=Ue.unstable_NormalPriority,Jm=Ue.unstable_LowPriority,Lc=Ue.unstable_IdlePriority,Wm=Ue.log,$m=Ue.unstable_setDisableYieldValue,fo=null,ga=null;function Et(e){if(typeof Wm=="function"&&$m(e),ga&&typeof ga.setStrictMode=="function")try{ga.setStrictMode(fo,e)}catch{}}var La=Math.clz32?Math.clz32:tg,eg=Math.log,ag=Math.LN2;function tg(e){return e>>>=0,e===0?32:31-(eg(e)/ag|0)|0}var zo=256,Ho=262144,No=4194304;function tl(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xn(e,a,t){var l=e.pendingLanes;if(l===0)return 0;var u=0,o=e.suspendedLanes,r=e.pingedLanes;e=e.warmLanes;var f=l&134217727;return f!==0?(l=f&~o,l!==0?u=tl(l):(r&=f,r!==0?u=tl(r):t||(t=f&~e,t!==0&&(u=tl(t))))):(f=l&~o,f!==0?u=tl(f):r!==0?u=tl(r):t||(t=l&~e,t!==0&&(u=tl(t)))),u===0?0:a!==0&&a!==u&&(a&o)===0&&(o=u&-u,t=a&-a,o>=t||o===32&&(t&4194048)!==0)?a:u}function so(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function lg(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+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 a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function xc(){var e=No;return No<<=1,(No&62914560)===0&&(No=4194304),e}function Er(e){for(var a=[],t=0;31>t;t++)a.push(e);return a}function co(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ug(e,a,t,l,u,o){var r=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var f=e.entanglements,g=e.expirationTimes,d=e.hiddenUpdates;for(t=r&~t;0<t;){var L=31-La(t),x=1<<L;f[L]=0,g[L]=-1;var h=d[L];if(h!==null)for(d[L]=null,L=0;L<h.length;L++){var y=h[L];y!==null&&(y.lane&=-536870913)}t&=~x}l!==0&&yc(e,l,0),o!==0&&u===0&&e.tag!==0&&(e.suspendedLanes|=o&~(r&~a))}function yc(e,a,t){e.pendingLanes|=a,e.suspendedLanes&=~a;var l=31-La(a);e.entangledLanes|=a,e.entanglements[l]=e.entanglements[l]|1073741824|t&261930}function Cc(e,a){var t=e.entangledLanes|=a;for(e=e.entanglements;t;){var l=31-La(t),u=1<<l;u&a|e[l]&a&&(e[l]|=a),t&=~u}}function Sc(e,a){var t=a&-a;return t=(t&42)!==0?1:of(t),(t&(e.suspendedLanes|a))!==0?0:t}function of(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function nf(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function vc(){var e=fe.p;return e!==0?e:(e=window.event,e===void 0?32:jh(e.type))}function Fs(e,a){var t=fe.p;try{return fe.p=e,a()}finally{fe.p=t}}var Kt=Math.random().toString(36).slice(2),Ve="__reactFiber$"+Kt,na="__reactProps$"+Kt,ru="__reactContainer$"+Kt,mi="__reactEvents$"+Kt,og="__reactListeners$"+Kt,ng="__reactHandles$"+Kt,Ps="__reactResources$"+Kt,po="__reactMarker$"+Kt;function rf(e){delete e[Ve],delete e[na],delete e[mi],delete e[og],delete e[ng]}function Bl(e){var a=e[Ve];if(a)return a;for(var t=e.parentNode;t;){if(a=t[ru]||t[Ve]){if(t=a.alternate,a.child!==null||t!==null&&t.child!==null)for(e=Kd(e);e!==null;){if(t=e[Ve])return t;e=Kd(e)}return a}e=t,t=e.parentNode}return null}function iu(e){if(e=e[Ve]||e[ru]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function Eu(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(U(33))}function Gl(e){var a=e[Ps];return a||(a=e[Ps]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function He(e){e[po]=!0}var bc=new Set,Ic={};function ml(e,a){Jl(e,a),Jl(e+"Capture",a)}function Jl(e,a){for(Ic[e]=a,e=0;e<a.length;e++)bc.add(a[e])}var rg=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]*$"),Gs={},Vs={};function ig(e){return hi.call(Vs,e)?!0:hi.call(Gs,e)?!1:rg.test(e)?Vs[e]=!0:(Gs[e]=!0,!1)}function an(e,a,t){if(ig(a))if(t===null)e.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var l=a.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+t)}}function Fo(e,a,t){if(t===null)e.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+t)}}function at(e,a,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttributeNS(a,t,""+l)}}function Aa(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function wc(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function fg(e,a,t){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var u=l.get,o=l.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return u.call(this)},set:function(r){t=""+r,o.call(this,r)}}),Object.defineProperty(e,a,{enumerable:l.enumerable}),{getValue:function(){return t},setValue:function(r){t=""+r},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function gi(e){if(!e._valueTracker){var a=wc(e)?"checked":"value";e._valueTracker=fg(e,a,""+e[a])}}function Ac(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var t=a.getValue(),l="";return e&&(l=wc(e)?e.checked?"true":"false":e.value),e=l,e!==t?(a.setValue(e),!0):!1}function Sn(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var sg=/[\n"\\]/g;function Ma(e){return e.replace(sg,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Li(e,a,t,l,u,o,r,f){e.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.type=r:e.removeAttribute("type"),a!=null?r==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+Aa(a)):e.value!==""+Aa(a)&&(e.value=""+Aa(a)):r!=="submit"&&r!=="reset"||e.removeAttribute("value"),a!=null?xi(e,r,Aa(a)):t!=null?xi(e,r,Aa(t)):l!=null&&e.removeAttribute("value"),u==null&&o!=null&&(e.defaultChecked=!!o),u!=null&&(e.checked=u&&typeof u!="function"&&typeof u!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.name=""+Aa(f):e.removeAttribute("name")}function Tc(e,a,t,l,u,o,r,f){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.type=o),a!=null||t!=null){if(!(o!=="submit"&&o!=="reset"||a!=null)){gi(e);return}t=t!=null?""+Aa(t):"",a=a!=null?""+Aa(a):t,f||a===e.value||(e.value=a),e.defaultValue=a}l=l??u,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=f?e.checked:!!l,e.defaultChecked=!!l,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.name=r),gi(e)}function xi(e,a,t){a==="number"&&Sn(e.ownerDocument)===e||e.defaultValue===""+t||(e.defaultValue=""+t)}function Vl(e,a,t,l){if(e=e.options,a){a={};for(var u=0;u<t.length;u++)a["$"+t[u]]=!0;for(t=0;t<e.length;t++)u=a.hasOwnProperty("$"+e[t].value),e[t].selected!==u&&(e[t].selected=u),u&&l&&(e[t].defaultSelected=!0)}else{for(t=""+Aa(t),a=null,u=0;u<e.length;u++){if(e[u].value===t){e[u].selected=!0,l&&(e[u].defaultSelected=!0);return}a!==null||e[u].disabled||(a=e[u])}a!==null&&(a.selected=!0)}}function _c(e,a,t){if(a!=null&&(a=""+Aa(a),a!==e.value&&(e.value=a),t==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=t!=null?""+Aa(t):""}function Mc(e,a,t,l){if(a==null){if(l!=null){if(t!=null)throw Error(U(92));if(Du(l)){if(1<l.length)throw Error(U(93));l=l[0]}t=l}t==null&&(t=""),a=t}t=Aa(a),e.defaultValue=t,l=e.textContent,l===t&&l!==""&&l!==null&&(e.value=l),gi(e)}function Wl(e,a){if(a){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=a;return}}e.textContent=a}var dg=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function js(e,a,t){var l=a.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?l?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":l?e.setProperty(a,t):typeof t!="number"||t===0||dg.has(a)?a==="float"?e.cssFloat=t:e[a]=(""+t).trim():e[a]=t+"px"}function Rc(e,a,t){if(a!=null&&typeof a!="object")throw Error(U(62));if(e=e.style,t!=null){for(var l in t)!t.hasOwnProperty(l)||a!=null&&a.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var u in a)l=a[u],a.hasOwnProperty(u)&&t[u]!==l&&js(e,u,l)}else for(var o in a)a.hasOwnProperty(o)&&js(e,o,a[o])}function ff(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var cg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),pg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function tn(e){return pg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function ft(){}var yi=null;function sf(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var kl=null,jl=null;function Xs(e){var a=iu(e);if(a&&(e=a.stateNode)){var t=e[na]||null;e:switch(e=a.stateNode,a.type){case"input":if(Li(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),a=t.name,t.type==="radio"&&a!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+Ma(""+a)+'"][type="radio"]'),a=0;a<t.length;a++){var l=t[a];if(l!==e&&l.form===e.form){var u=l[na]||null;if(!u)throw Error(U(90));Li(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(a=0;a<t.length;a++)l=t[a],l.form===e.form&&Ac(l)}break e;case"textarea":_c(e,t.value,t.defaultValue);break e;case"select":a=t.value,a!=null&&Vl(e,!!t.multiple,a,!1)}}}var Br=!1;function Dc(e,a,t){if(Br)return e(a,t);Br=!0;try{var l=e(a);return l}finally{if(Br=!1,(kl!==null||jl!==null)&&(ur(),kl&&(a=kl,e=jl,jl=kl=null,Xs(a),e)))for(a=0;a<e.length;a++)Xs(e[a])}}function Qu(e,a){var t=e.stateNode;if(t===null)return null;var l=t[na]||null;if(l===null)return null;t=l[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(U(231,a,typeof t));return t}var ht=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ci=!1;if(ht)try{Al={},Object.defineProperty(Al,"passive",{get:function(){Ci=!0}}),window.addEventListener("test",Al,Al),window.removeEventListener("test",Al,Al)}catch{Ci=!1}var Al,Bt=null,df=null,ln=null;function Ec(){if(ln)return ln;var e,a=df,t=a.length,l,u="value"in Bt?Bt.value:Bt.textContent,o=u.length;for(e=0;e<t&&a[e]===u[e];e++);var r=t-e;for(l=1;l<=r&&a[t-l]===u[o-l];l++);return ln=u.slice(e,1<l?1-l:void 0)}function un(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function Po(){return!0}function Ys(){return!1}function ra(e){function a(t,l,u,o,r){this._reactName=t,this._targetInst=u,this.type=l,this.nativeEvent=o,this.target=r,this.currentTarget=null;for(var f in e)e.hasOwnProperty(f)&&(t=e[f],this[f]=t?t(o):o[f]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Po:Ys,this.isPropagationStopped=Ys,this}return be(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=Po)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=Po)},persist:function(){},isPersistent:Po}),a}var gl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yn=ra(gl),ho=be({},gl,{view:0,detail:0}),hg=ra(ho),kr,Or,Iu,Zn=be({},ho,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cf,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Iu&&(Iu&&e.type==="mousemove"?(kr=e.screenX-Iu.screenX,Or=e.screenY-Iu.screenY):Or=kr=0,Iu=e),kr)},movementY:function(e){return"movementY"in e?e.movementY:Or}}),Zs=ra(Zn),mg=be({},Zn,{dataTransfer:0}),gg=ra(mg),Lg=be({},ho,{relatedTarget:0}),Ur=ra(Lg),xg=be({},gl,{animationName:0,elapsedTime:0,pseudoElement:0}),yg=ra(xg),Cg=be({},gl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Sg=ra(Cg),vg=be({},gl,{data:0}),Qs=ra(vg),bg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ig={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"},wg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ag(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=wg[e])?!!a[e]:!1}function cf(){return Ag}var Tg=be({},ho,{key:function(e){if(e.key){var a=bg[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=un(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ig[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cf,charCode:function(e){return e.type==="keypress"?un(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?un(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_g=ra(Tg),Mg=be({},Zn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ks=ra(Mg),Rg=be({},ho,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cf}),Dg=ra(Rg),Eg=be({},gl,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bg=ra(Eg),kg=be({},Zn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Og=ra(kg),Ug=be({},gl,{newState:0,oldState:0}),qg=ra(Ug),zg=[9,13,27,32],pf=ht&&"CompositionEvent"in window,Ou=null;ht&&"documentMode"in document&&(Ou=document.documentMode);var Hg=ht&&"TextEvent"in window&&!Ou,Bc=ht&&(!pf||Ou&&8<Ou&&11>=Ou),Js=" ",Ws=!1;function kc(e,a){switch(e){case"keyup":return zg.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Oc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ol=!1;function Ng(e,a){switch(e){case"compositionend":return Oc(a);case"keypress":return a.which!==32?null:(Ws=!0,Js);case"textInput":return e=a.data,e===Js&&Ws?null:e;default:return null}}function Fg(e,a){if(Ol)return e==="compositionend"||!pf&&kc(e,a)?(e=Ec(),ln=df=Bt=null,Ol=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Bc&&a.locale!=="ko"?null:a.data;default:return null}}var Pg={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $s(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!Pg[e.type]:a==="textarea"}function Uc(e,a,t,l){kl?jl?jl.push(l):jl=[l]:kl=l,a=Hn(a,"onChange"),0<a.length&&(t=new Yn("onChange","change",null,t,l),e.push({event:t,listeners:a}))}var Uu=null,Ku=null;function Gg(e){Dh(e,0)}function Qn(e){var a=Eu(e);if(Ac(a))return e}function ed(e,a){if(e==="change")return a}var qc=!1;ht&&(ht?(Vo="oninput"in document,Vo||(qr=document.createElement("div"),qr.setAttribute("oninput","return;"),Vo=typeof qr.oninput=="function"),Go=Vo):Go=!1,qc=Go&&(!document.documentMode||9<document.documentMode));var Go,Vo,qr;function ad(){Uu&&(Uu.detachEvent("onpropertychange",zc),Ku=Uu=null)}function zc(e){if(e.propertyName==="value"&&Qn(Ku)){var a=[];Uc(a,Ku,e,sf(e)),Dc(Gg,a)}}function Vg(e,a,t){e==="focusin"?(ad(),Uu=a,Ku=t,Uu.attachEvent("onpropertychange",zc)):e==="focusout"&&ad()}function jg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Qn(Ku)}function Xg(e,a){if(e==="click")return Qn(a)}function Yg(e,a){if(e==="input"||e==="change")return Qn(a)}function Zg(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var ya=typeof Object.is=="function"?Object.is:Zg;function Ju(e,a){if(ya(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var t=Object.keys(e),l=Object.keys(a);if(t.length!==l.length)return!1;for(l=0;l<t.length;l++){var u=t[l];if(!hi.call(a,u)||!ya(e[u],a[u]))return!1}return!0}function td(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ld(e,a){var t=td(e);e=0;for(var l;t;){if(t.nodeType===3){if(l=e+t.textContent.length,e<=a&&l>=a)return{node:t,offset:a-e};e=l}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=td(t)}}function Hc(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?Hc(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function Nc(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=Sn(e.document);a instanceof e.HTMLIFrameElement;){try{var t=typeof a.contentWindow.location.href=="string"}catch{t=!1}if(t)e=a.contentWindow;else break;a=Sn(e.document)}return a}function hf(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var Qg=ht&&"documentMode"in document&&11>=document.documentMode,Ul=null,Si=null,qu=null,vi=!1;function ud(e,a,t){var l=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;vi||Ul==null||Ul!==Sn(l)||(l=Ul,"selectionStart"in l&&hf(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),qu&&Ju(qu,l)||(qu=l,l=Hn(Si,"onSelect"),0<l.length&&(a=new Yn("onSelect","select",null,a,t),e.push({event:a,listeners:l}),a.target=Ul)))}function el(e,a){var t={};return t[e.toLowerCase()]=a.toLowerCase(),t["Webkit"+e]="webkit"+a,t["Moz"+e]="moz"+a,t}var ql={animationend:el("Animation","AnimationEnd"),animationiteration:el("Animation","AnimationIteration"),animationstart:el("Animation","AnimationStart"),transitionrun:el("Transition","TransitionRun"),transitionstart:el("Transition","TransitionStart"),transitioncancel:el("Transition","TransitionCancel"),transitionend:el("Transition","TransitionEnd")},zr={},Fc={};ht&&(Fc=document.createElement("div").style,"AnimationEvent"in window||(delete ql.animationend.animation,delete ql.animationiteration.animation,delete ql.animationstart.animation),"TransitionEvent"in window||delete ql.transitionend.transition);function Ll(e){if(zr[e])return zr[e];if(!ql[e])return e;var a=ql[e],t;for(t in a)if(a.hasOwnProperty(t)&&t in Fc)return zr[e]=a[t];return e}var Pc=Ll("animationend"),Gc=Ll("animationiteration"),Vc=Ll("animationstart"),Kg=Ll("transitionrun"),Jg=Ll("transitionstart"),Wg=Ll("transitioncancel"),jc=Ll("transitionend"),Xc=new Map,bi="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(" ");bi.push("scrollEnd");function za(e,a){Xc.set(e,a),ml(a,[e])}var vn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=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(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},wa=[],zl=0,mf=0;function Kn(){for(var e=zl,a=mf=zl=0;a<e;){var t=wa[a];wa[a++]=null;var l=wa[a];wa[a++]=null;var u=wa[a];wa[a++]=null;var o=wa[a];if(wa[a++]=null,l!==null&&u!==null){var r=l.pending;r===null?u.next=u:(u.next=r.next,r.next=u),l.pending=u}o!==0&&Yc(t,u,o)}}function Jn(e,a,t,l){wa[zl++]=e,wa[zl++]=a,wa[zl++]=t,wa[zl++]=l,mf|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function gf(e,a,t,l){return Jn(e,a,t,l),bn(e)}function xl(e,a){return Jn(e,null,null,a),bn(e)}function Yc(e,a,t){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t);for(var u=!1,o=e.return;o!==null;)o.childLanes|=t,l=o.alternate,l!==null&&(l.childLanes|=t),o.tag===22&&(e=o.stateNode,e===null||e._visibility&1||(u=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,u&&a!==null&&(u=31-La(t),e=o.hiddenUpdates,l=e[u],l===null?e[u]=[a]:l.push(a),a.lane=t|536870912),o):null}function bn(e){if(50<Xu)throw Xu=0,Vi=null,Error(U(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Hl={};function $g(e,a,t,l){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function pa(e,a,t,l){return new $g(e,a,t,l)}function Lf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function dt(e,a){var t=e.alternate;return t===null?(t=pa(e.tag,a,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=a,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&65011712,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,a=e.dependencies,t.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function Zc(e,a){e.flags&=65011714;var t=e.alternate;return t===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,a=t.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function on(e,a,t,l,u,o){var r=0;if(l=e,typeof e=="function")Lf(e)&&(r=1);else if(typeof e=="string")r=tx(e,t,Ya.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case si:return e=pa(31,t,a,u),e.elementType=si,e.lanes=o,e;case Dl:return nl(t.children,u,o,a);case pc:r=8,u|=24;break;case ri:return e=pa(12,t,a,u|2),e.elementType=ri,e.lanes=o,e;case ii:return e=pa(13,t,a,u),e.elementType=ii,e.lanes=o,e;case fi:return e=pa(19,t,a,u),e.elementType=fi,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case it:r=10;break e;case hc:r=9;break e;case tf:r=11;break e;case lf:r=14;break e;case At:r=16,l=null;break e}r=29,t=Error(U(130,e===null?"null":typeof e,"")),l=null}return a=pa(r,t,a,u),a.elementType=e,a.type=l,a.lanes=o,a}function nl(e,a,t,l){return e=pa(7,e,l,a),e.lanes=t,e}function Hr(e,a,t){return e=pa(6,e,null,a),e.lanes=t,e}function Qc(e){var a=pa(18,null,null,0);return a.stateNode=e,a}function Nr(e,a,t){return a=pa(4,e.children!==null?e.children:[],e.key,a),a.lanes=t,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var od=new WeakMap;function Ra(e,a){if(typeof e=="object"&&e!==null){var t=od.get(e);return t!==void 0?t:(a={value:e,source:a,stack:Ns(a)},od.set(e,a),a)}return{value:e,source:a,stack:Ns(a)}}var Nl=[],Fl=0,In=null,Wu=0,Ta=[],_a=0,Xt=null,Va=1,ja="";function nt(e,a){Nl[Fl++]=Wu,Nl[Fl++]=In,In=e,Wu=a}function Kc(e,a,t){Ta[_a++]=Va,Ta[_a++]=ja,Ta[_a++]=Xt,Xt=e;var l=Va;e=ja;var u=32-La(l)-1;l&=~(1<<u),t+=1;var o=32-La(a)+u;if(30<o){var r=u-u%5;o=(l&(1<<r)-1).toString(32),l>>=r,u-=r,Va=1<<32-La(a)+u|t<<u|l,ja=o+e}else Va=1<<o|t<<u|l,ja=e}function xf(e){e.return!==null&&(nt(e,1),Kc(e,1,0))}function yf(e){for(;e===In;)In=Nl[--Fl],Nl[Fl]=null,Wu=Nl[--Fl],Nl[Fl]=null;for(;e===Xt;)Xt=Ta[--_a],Ta[_a]=null,ja=Ta[--_a],Ta[_a]=null,Va=Ta[--_a],Ta[_a]=null}function Jc(e,a){Ta[_a++]=Va,Ta[_a++]=ja,Ta[_a++]=Xt,Va=a.id,ja=a.overflow,Xt=e}var je=null,ve=null,le=!1,zt=null,Da=!1,Ii=Error(U(519));function Yt(e){var a=Error(U(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $u(Ra(a,e)),Ii}function nd(e){var a=e.stateNode,t=e.type,l=e.memoizedProps;switch(a[Ve]=e,a[na]=l,t){case"dialog":W("cancel",a),W("close",a);break;case"iframe":case"object":case"embed":W("load",a);break;case"video":case"audio":for(t=0;t<lo.length;t++)W(lo[t],a);break;case"source":W("error",a);break;case"img":case"image":case"link":W("error",a),W("load",a);break;case"details":W("toggle",a);break;case"input":W("invalid",a),Tc(a,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":W("invalid",a);break;case"textarea":W("invalid",a),Mc(a,l.value,l.defaultValue,l.children)}t=l.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||a.textContent===""+t||l.suppressHydrationWarning===!0||Bh(a.textContent,t)?(l.popover!=null&&(W("beforetoggle",a),W("toggle",a)),l.onScroll!=null&&W("scroll",a),l.onScrollEnd!=null&&W("scrollend",a),l.onClick!=null&&(a.onclick=ft),a=!0):a=!1,a||Yt(e,!0)}function rd(e){for(je=e.return;je;)switch(je.tag){case 5:case 31:case 13:Da=!1;return;case 27:case 3:Da=!0;return;default:je=je.return}}function Tl(e){if(e!==je)return!1;if(!le)return rd(e),le=!0,!1;var a=e.tag,t;if((t=a!==3&&a!==27)&&((t=a===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||Qi(e.type,e.memoizedProps)),t=!t),t&&ve&&Yt(e),rd(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));ve=Qd(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));ve=Qd(e)}else a===27?(a=ve,Jt(e.type)?(e=$i,$i=null,ve=e):ve=a):ve=je?Ba(e.stateNode.nextSibling):null;return!0}function sl(){ve=je=null,le=!1}function Fr(){var e=zt;return e!==null&&(ua===null?ua=e:ua.push.apply(ua,e),zt=null),e}function $u(e){zt===null?zt=[e]:zt.push(e)}var wi=Za(null),yl=null,st=null;function _t(e,a,t){xe(wi,a._currentValue),a._currentValue=t}function ct(e){e._currentValue=wi.current,Ne(wi)}function Ai(e,a,t){for(;e!==null;){var l=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,l!==null&&(l.childLanes|=a)):l!==null&&(l.childLanes&a)!==a&&(l.childLanes|=a),e===t)break;e=e.return}}function Ti(e,a,t,l){var u=e.child;for(u!==null&&(u.return=e);u!==null;){var o=u.dependencies;if(o!==null){var r=u.child;o=o.firstContext;e:for(;o!==null;){var f=o;o=u;for(var g=0;g<a.length;g++)if(f.context===a[g]){o.lanes|=t,f=o.alternate,f!==null&&(f.lanes|=t),Ai(o.return,t,e),l||(r=null);break e}o=f.next}}else if(u.tag===18){if(r=u.return,r===null)throw Error(U(341));r.lanes|=t,o=r.alternate,o!==null&&(o.lanes|=t),Ai(r,t,e),r=null}else r=u.child;if(r!==null)r.return=u;else for(r=u;r!==null;){if(r===e){r=null;break}if(u=r.sibling,u!==null){u.return=r.return,r=u;break}r=r.return}u=r}}function fu(e,a,t,l){e=null;for(var u=a,o=!1;u!==null;){if(!o){if((u.flags&524288)!==0)o=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var r=u.alternate;if(r===null)throw Error(U(387));if(r=r.memoizedProps,r!==null){var f=u.type;ya(u.pendingProps.value,r.value)||(e!==null?e.push(f):e=[f])}}else if(u===Ln.current){if(r=u.alternate,r===null)throw Error(U(387));r.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(e!==null?e.push(oo):e=[oo])}u=u.return}e!==null&&Ti(a,e,t,l),a.flags|=262144}function wn(e){for(e=e.firstContext;e!==null;){if(!ya(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function dl(e){yl=e,st=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Xe(e){return Wc(yl,e)}function jo(e,a){return yl===null&&dl(e),Wc(e,a)}function Wc(e,a){var t=a._currentValue;if(a={context:a,memoizedValue:t,next:null},st===null){if(e===null)throw Error(U(308));st=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else st=st.next=a;return t}var eL=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(t,l){e.push(l)}};this.abort=function(){a.aborted=!0,e.forEach(function(t){return t()})}},aL=Ue.unstable_scheduleCallback,tL=Ue.unstable_NormalPriority,Be={$$typeof:it,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cf(){return{controller:new eL,data:new Map,refCount:0}}function mo(e){e.refCount--,e.refCount===0&&aL(tL,function(){e.controller.abort()})}var zu=null,_i=0,$l=0,Xl=null;function lL(e,a){if(zu===null){var t=zu=[];_i=0,$l=jf(),Xl={status:"pending",value:void 0,then:function(l){t.push(l)}}}return _i++,a.then(id,id),a}function id(){if(--_i===0&&zu!==null){Xl!==null&&(Xl.status="fulfilled");var e=zu;zu=null,$l=0,Xl=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function uL(e,a){var t=[],l={status:"pending",value:null,reason:null,then:function(u){t.push(u)}};return e.then(function(){l.status="fulfilled",l.value=a;for(var u=0;u<t.length;u++)(0,t[u])(a)},function(u){for(l.status="rejected",l.reason=u,u=0;u<t.length;u++)(0,t[u])(void 0)}),l}var fd=X.S;X.S=function(e,a){ch=ma(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&lL(e,a),fd!==null&&fd(e,a)};var rl=Za(null);function Sf(){var e=rl.current;return e!==null?e:ge.pooledCache}function nn(e,a){a===null?xe(rl,rl.current):xe(rl,a.pool)}function $c(){var e=Sf();return e===null?null:{parent:Be._currentValue,pool:e}}var su=Error(U(460)),vf=Error(U(474)),Wn=Error(U(542)),An={then:function(){}};function sd(e){return e=e.status,e==="fulfilled"||e==="rejected"}function ep(e,a,t){switch(t=e[t],t===void 0?e.push(a):t!==a&&(a.then(ft,ft),a=t),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,cd(e),e;default:if(typeof a.status=="string")a.then(ft,ft);else{if(e=ge,e!==null&&100<e.shellSuspendCounter)throw Error(U(482));e=a,e.status="pending",e.then(function(l){if(a.status==="pending"){var u=a;u.status="fulfilled",u.value=l}},function(l){if(a.status==="pending"){var u=a;u.status="rejected",u.reason=l}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,cd(e),e}throw il=a,su}}function ll(e){try{var a=e._init;return a(e._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(il=t,su):t}}var il=null;function dd(){if(il===null)throw Error(U(459));var e=il;return il=null,e}function cd(e){if(e===su||e===Wn)throw Error(U(483))}var Yl=null,eo=0;function Xo(e){var a=eo;return eo+=1,Yl===null&&(Yl=[]),ep(Yl,e,a)}function wu(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function Yo(e,a){throw a.$$typeof===Vm?Error(U(525)):(e=Object.prototype.toString.call(a),Error(U(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function ap(e){function a(s,c){if(e){var m=s.deletions;m===null?(s.deletions=[c],s.flags|=16):m.push(c)}}function t(s,c){if(!e)return null;for(;c!==null;)a(s,c),c=c.sibling;return null}function l(s){for(var c=new Map;s!==null;)s.key!==null?c.set(s.key,s):c.set(s.index,s),s=s.sibling;return c}function u(s,c){return s=dt(s,c),s.index=0,s.sibling=null,s}function o(s,c,m){return s.index=m,e?(m=s.alternate,m!==null?(m=m.index,m<c?(s.flags|=67108866,c):m):(s.flags|=67108866,c)):(s.flags|=1048576,c)}function r(s){return e&&s.alternate===null&&(s.flags|=67108866),s}function f(s,c,m,C){return c===null||c.tag!==6?(c=Hr(m,s.mode,C),c.return=s,c):(c=u(c,m),c.return=s,c)}function g(s,c,m,C){var S=m.type;return S===Dl?L(s,c,m.props.children,C,m.key):c!==null&&(c.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===At&&ll(S)===c.type)?(c=u(c,m.props),wu(c,m),c.return=s,c):(c=on(m.type,m.key,m.props,null,s.mode,C),wu(c,m),c.return=s,c)}function d(s,c,m,C){return c===null||c.tag!==4||c.stateNode.containerInfo!==m.containerInfo||c.stateNode.implementation!==m.implementation?(c=Nr(m,s.mode,C),c.return=s,c):(c=u(c,m.children||[]),c.return=s,c)}function L(s,c,m,C,S){return c===null||c.tag!==7?(c=nl(m,s.mode,C,S),c.return=s,c):(c=u(c,m),c.return=s,c)}function x(s,c,m){if(typeof c=="string"&&c!==""||typeof c=="number"||typeof c=="bigint")return c=Hr(""+c,s.mode,m),c.return=s,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case qo:return m=on(c.type,c.key,c.props,null,s.mode,m),wu(m,c),m.return=s,m;case Ru:return c=Nr(c,s.mode,m),c.return=s,c;case At:return c=ll(c),x(s,c,m)}if(Du(c)||bu(c))return c=nl(c,s.mode,m,null),c.return=s,c;if(typeof c.then=="function")return x(s,Xo(c),m);if(c.$$typeof===it)return x(s,jo(s,c),m);Yo(s,c)}return null}function h(s,c,m,C){var S=c!==null?c.key:null;if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return S!==null?null:f(s,c,""+m,C);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case qo:return m.key===S?g(s,c,m,C):null;case Ru:return m.key===S?d(s,c,m,C):null;case At:return m=ll(m),h(s,c,m,C)}if(Du(m)||bu(m))return S!==null?null:L(s,c,m,C,null);if(typeof m.then=="function")return h(s,c,Xo(m),C);if(m.$$typeof===it)return h(s,c,jo(s,m),C);Yo(s,m)}return null}function y(s,c,m,C,S){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return s=s.get(m)||null,f(c,s,""+C,S);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case qo:return s=s.get(C.key===null?m:C.key)||null,g(c,s,C,S);case Ru:return s=s.get(C.key===null?m:C.key)||null,d(c,s,C,S);case At:return C=ll(C),y(s,c,m,C,S)}if(Du(C)||bu(C))return s=s.get(m)||null,L(c,s,C,S,null);if(typeof C.then=="function")return y(s,c,m,Xo(C),S);if(C.$$typeof===it)return y(s,c,m,jo(c,C),S);Yo(c,C)}return null}function I(s,c,m,C){for(var S=null,T=null,_=c,b=c=0,w=null;_!==null&&b<m.length;b++){_.index>b?(w=_,_=null):w=_.sibling;var B=h(s,_,m[b],C);if(B===null){_===null&&(_=w);break}e&&_&&B.alternate===null&&a(s,_),c=o(B,c,b),T===null?S=B:T.sibling=B,T=B,_=w}if(b===m.length)return t(s,_),le&&nt(s,b),S;if(_===null){for(;b<m.length;b++)_=x(s,m[b],C),_!==null&&(c=o(_,c,b),T===null?S=_:T.sibling=_,T=_);return le&&nt(s,b),S}for(_=l(_);b<m.length;b++)w=y(_,s,b,m[b],C),w!==null&&(e&&w.alternate!==null&&_.delete(w.key===null?b:w.key),c=o(w,c,b),T===null?S=w:T.sibling=w,T=w);return e&&_.forEach(function(z){return a(s,z)}),le&&nt(s,b),S}function A(s,c,m,C){if(m==null)throw Error(U(151));for(var S=null,T=null,_=c,b=c=0,w=null,B=m.next();_!==null&&!B.done;b++,B=m.next()){_.index>b?(w=_,_=null):w=_.sibling;var z=h(s,_,B.value,C);if(z===null){_===null&&(_=w);break}e&&_&&z.alternate===null&&a(s,_),c=o(z,c,b),T===null?S=z:T.sibling=z,T=z,_=w}if(B.done)return t(s,_),le&&nt(s,b),S;if(_===null){for(;!B.done;b++,B=m.next())B=x(s,B.value,C),B!==null&&(c=o(B,c,b),T===null?S=B:T.sibling=B,T=B);return le&&nt(s,b),S}for(_=l(_);!B.done;b++,B=m.next())B=y(_,s,b,B.value,C),B!==null&&(e&&B.alternate!==null&&_.delete(B.key===null?b:B.key),c=o(B,c,b),T===null?S=B:T.sibling=B,T=B);return e&&_.forEach(function(G){return a(s,G)}),le&&nt(s,b),S}function E(s,c,m,C){if(typeof m=="object"&&m!==null&&m.type===Dl&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case qo:e:{for(var S=m.key;c!==null;){if(c.key===S){if(S=m.type,S===Dl){if(c.tag===7){t(s,c.sibling),C=u(c,m.props.children),C.return=s,s=C;break e}}else if(c.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===At&&ll(S)===c.type){t(s,c.sibling),C=u(c,m.props),wu(C,m),C.return=s,s=C;break e}t(s,c);break}else a(s,c);c=c.sibling}m.type===Dl?(C=nl(m.props.children,s.mode,C,m.key),C.return=s,s=C):(C=on(m.type,m.key,m.props,null,s.mode,C),wu(C,m),C.return=s,s=C)}return r(s);case Ru:e:{for(S=m.key;c!==null;){if(c.key===S)if(c.tag===4&&c.stateNode.containerInfo===m.containerInfo&&c.stateNode.implementation===m.implementation){t(s,c.sibling),C=u(c,m.children||[]),C.return=s,s=C;break e}else{t(s,c);break}else a(s,c);c=c.sibling}C=Nr(m,s.mode,C),C.return=s,s=C}return r(s);case At:return m=ll(m),E(s,c,m,C)}if(Du(m))return I(s,c,m,C);if(bu(m)){if(S=bu(m),typeof S!="function")throw Error(U(150));return m=S.call(m),A(s,c,m,C)}if(typeof m.then=="function")return E(s,c,Xo(m),C);if(m.$$typeof===it)return E(s,c,jo(s,m),C);Yo(s,m)}return typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint"?(m=""+m,c!==null&&c.tag===6?(t(s,c.sibling),C=u(c,m),C.return=s,s=C):(t(s,c),C=Hr(m,s.mode,C),C.return=s,s=C),r(s)):t(s,c)}return function(s,c,m,C){try{eo=0;var S=E(s,c,m,C);return Yl=null,S}catch(_){if(_===su||_===Wn)throw _;var T=pa(29,_,null,s.mode);return T.lanes=C,T.return=s,T}}}var cl=ap(!0),tp=ap(!1),Tt=!1;function bf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Mi(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ht(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Nt(e,a,t){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(ie&2)!==0){var u=l.pending;return u===null?a.next=a:(a.next=u.next,u.next=a),l.pending=a,a=bn(e),Yc(e,null,t),a}return Jn(e,l,a,t),bn(e)}function Hu(e,a,t){if(a=a.updateQueue,a!==null&&(a=a.shared,(t&4194048)!==0)){var l=a.lanes;l&=e.pendingLanes,t|=l,a.lanes=t,Cc(e,t)}}function Pr(e,a){var t=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,t===l)){var u=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var r={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};o===null?u=o=r:o=o.next=r,t=t.next}while(t!==null);o===null?u=o=a:o=o.next=a}else u=o=a;t={baseState:l.baseState,firstBaseUpdate:u,lastBaseUpdate:o,shared:l.shared,callbacks:l.callbacks},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=a:e.next=a,t.lastBaseUpdate=a}var Ri=!1;function Nu(){if(Ri){var e=Xl;if(e!==null)throw e}}function Fu(e,a,t,l){Ri=!1;var u=e.updateQueue;Tt=!1;var o=u.firstBaseUpdate,r=u.lastBaseUpdate,f=u.shared.pending;if(f!==null){u.shared.pending=null;var g=f,d=g.next;g.next=null,r===null?o=d:r.next=d,r=g;var L=e.alternate;L!==null&&(L=L.updateQueue,f=L.lastBaseUpdate,f!==r&&(f===null?L.firstBaseUpdate=d:f.next=d,L.lastBaseUpdate=g))}if(o!==null){var x=u.baseState;r=0,L=d=g=null,f=o;do{var h=f.lane&-536870913,y=h!==f.lane;if(y?(ae&h)===h:(l&h)===h){h!==0&&h===$l&&(Ri=!0),L!==null&&(L=L.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});e:{var I=e,A=f;h=a;var E=t;switch(A.tag){case 1:if(I=A.payload,typeof I=="function"){x=I.call(E,x,h);break e}x=I;break e;case 3:I.flags=I.flags&-65537|128;case 0:if(I=A.payload,h=typeof I=="function"?I.call(E,x,h):I,h==null)break e;x=be({},x,h);break e;case 2:Tt=!0}}h=f.callback,h!==null&&(e.flags|=64,y&&(e.flags|=8192),y=u.callbacks,y===null?u.callbacks=[h]:y.push(h))}else y={lane:h,tag:f.tag,payload:f.payload,callback:f.callback,next:null},L===null?(d=L=y,g=x):L=L.next=y,r|=h;if(f=f.next,f===null){if(f=u.shared.pending,f===null)break;y=f,f=y.next,y.next=null,u.lastBaseUpdate=y,u.shared.pending=null}}while(!0);L===null&&(g=x),u.baseState=g,u.firstBaseUpdate=d,u.lastBaseUpdate=L,o===null&&(u.shared.lanes=0),Qt|=r,e.lanes=r,e.memoizedState=x}}function lp(e,a){if(typeof e!="function")throw Error(U(191,e));e.call(a)}function up(e,a){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)lp(t[e],a)}var eu=Za(null),Tn=Za(0);function pd(e,a){e=xt,xe(Tn,e),xe(eu,a),xt=e|a.baseLanes}function Di(){xe(Tn,xt),xe(eu,eu.current)}function If(){xt=Tn.current,Ne(eu),Ne(Tn)}var Ca=Za(null),Ea=null;function Mt(e){var a=e.alternate;xe(Me,Me.current&1),xe(Ca,e),Ea===null&&(a===null||eu.current!==null||a.memoizedState!==null)&&(Ea=e)}function Ei(e){xe(Me,Me.current),xe(Ca,e),Ea===null&&(Ea=e)}function op(e){e.tag===22?(xe(Me,Me.current),xe(Ca,e),Ea===null&&(Ea=e)):Rt(e)}function Rt(){xe(Me,Me.current),xe(Ca,Ca.current)}function ca(e){Ne(Ca),Ea===e&&(Ea=null),Ne(Me)}var Me=Za(0);function _n(e){for(var a=e;a!==null;){if(a.tag===13){var t=a.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||Ji(t)||Wi(t)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var mt=0,K=null,he=null,De=null,Mn=!1,Zl=!1,pl=!1,Rn=0,ao=0,Ql=null,oL=0;function Te(){throw Error(U(321))}function wf(e,a){if(a===null)return!1;for(var t=0;t<a.length&&t<e.length;t++)if(!ya(e[t],a[t]))return!1;return!0}function Af(e,a,t,l,u,o){return mt=o,K=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,X.H=e===null||e.memoizedState===null?Up:qf,pl=!1,o=t(l,u),pl=!1,Zl&&(o=rp(a,t,l,u)),np(e),o}function np(e){X.H=to;var a=he!==null&&he.next!==null;if(mt=0,De=he=K=null,Mn=!1,ao=0,Ql=null,a)throw Error(U(300));e===null||ke||(e=e.dependencies,e!==null&&wn(e)&&(ke=!0))}function rp(e,a,t,l){K=e;var u=0;do{if(Zl&&(Ql=null),ao=0,Zl=!1,25<=u)throw Error(U(301));if(u+=1,De=he=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}X.H=qp,o=a(t,l)}while(Zl);return o}function nL(){var e=X.H,a=e.useState()[0];return a=typeof a.then=="function"?go(a):a,e=e.useState()[0],(he!==null?he.memoizedState:null)!==e&&(K.flags|=1024),a}function Tf(){var e=Rn!==0;return Rn=0,e}function _f(e,a,t){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~t}function Mf(e){if(Mn){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Mn=!1}mt=0,De=he=K=null,Zl=!1,ao=Rn=0,Ql=null}function $e(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return De===null?K.memoizedState=De=e:De=De.next=e,De}function Re(){if(he===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=he.next;var a=De===null?K.memoizedState:De.next;if(a!==null)De=a,he=e;else{if(e===null)throw K.alternate===null?Error(U(467)):Error(U(310));he=e,e={memoizedState:he.memoizedState,baseState:he.baseState,baseQueue:he.baseQueue,queue:he.queue,next:null},De===null?K.memoizedState=De=e:De=De.next=e}return De}function $n(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function go(e){var a=ao;return ao+=1,Ql===null&&(Ql=[]),e=ep(Ql,e,a),a=K,(De===null?a.memoizedState:De.next)===null&&(a=a.alternate,X.H=a===null||a.memoizedState===null?Up:qf),e}function er(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return go(e);if(e.$$typeof===it)return Xe(e)}throw Error(U(438,String(e)))}function Rf(e){var a=null,t=K.updateQueue;if(t!==null&&(a=t.memoCache),a==null){var l=K.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(a={data:l.data.map(function(u){return u.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),t===null&&(t=$n(),K.updateQueue=t),t.memoCache=a,t=a.data[a.index],t===void 0)for(t=a.data[a.index]=Array(e),l=0;l<e;l++)t[l]=jm;return a.index++,t}function gt(e,a){return typeof a=="function"?a(e):a}function rn(e){var a=Re();return Df(a,he,e)}function Df(e,a,t){var l=e.queue;if(l===null)throw Error(U(311));l.lastRenderedReducer=t;var u=e.baseQueue,o=l.pending;if(o!==null){if(u!==null){var r=u.next;u.next=o.next,o.next=r}a.baseQueue=u=o,l.pending=null}if(o=e.baseState,u===null)e.memoizedState=o;else{a=u.next;var f=r=null,g=null,d=a,L=!1;do{var x=d.lane&-536870913;if(x!==d.lane?(ae&x)===x:(mt&x)===x){var h=d.revertLane;if(h===0)g!==null&&(g=g.next={lane:0,revertLane:0,gesture:null,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),x===$l&&(L=!0);else if((mt&h)===h){d=d.next,h===$l&&(L=!0);continue}else x={lane:0,revertLane:d.revertLane,gesture:null,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},g===null?(f=g=x,r=o):g=g.next=x,K.lanes|=h,Qt|=h;x=d.action,pl&&t(o,x),o=d.hasEagerState?d.eagerState:t(o,x)}else h={lane:x,revertLane:d.revertLane,gesture:d.gesture,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},g===null?(f=g=h,r=o):g=g.next=h,K.lanes|=x,Qt|=x;d=d.next}while(d!==null&&d!==a);if(g===null?r=o:g.next=f,!ya(o,e.memoizedState)&&(ke=!0,L&&(t=Xl,t!==null)))throw t;e.memoizedState=o,e.baseState=r,e.baseQueue=g,l.lastRenderedState=o}return u===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Gr(e){var a=Re(),t=a.queue;if(t===null)throw Error(U(311));t.lastRenderedReducer=e;var l=t.dispatch,u=t.pending,o=a.memoizedState;if(u!==null){t.pending=null;var r=u=u.next;do o=e(o,r.action),r=r.next;while(r!==u);ya(o,a.memoizedState)||(ke=!0),a.memoizedState=o,a.baseQueue===null&&(a.baseState=o),t.lastRenderedState=o}return[o,l]}function ip(e,a,t){var l=K,u=Re(),o=le;if(o){if(t===void 0)throw Error(U(407));t=t()}else t=a();var r=!ya((he||u).memoizedState,t);if(r&&(u.memoizedState=t,ke=!0),u=u.queue,Ef(dp.bind(null,l,u,e),[e]),u.getSnapshot!==a||r||De!==null&&De.memoizedState.tag&1){if(l.flags|=2048,au(9,{destroy:void 0},sp.bind(null,l,u,t,a),null),ge===null)throw Error(U(349));o||(mt&127)!==0||fp(l,a,t)}return t}function fp(e,a,t){e.flags|=16384,e={getSnapshot:a,value:t},a=K.updateQueue,a===null?(a=$n(),K.updateQueue=a,a.stores=[e]):(t=a.stores,t===null?a.stores=[e]:t.push(e))}function sp(e,a,t,l){a.value=t,a.getSnapshot=l,cp(a)&&pp(e)}function dp(e,a,t){return t(function(){cp(a)&&pp(e)})}function cp(e){var a=e.getSnapshot;e=e.value;try{var t=a();return!ya(e,t)}catch{return!0}}function pp(e){var a=xl(e,2);a!==null&&oa(a,e,2)}function Bi(e){var a=$e();if(typeof e=="function"){var t=e;if(e=t(),pl){Et(!0);try{t()}finally{Et(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gt,lastRenderedState:e},a}function hp(e,a,t,l){return e.baseState=t,Df(e,he,typeof l=="function"?l:gt)}function rL(e,a,t,l,u){if(tr(e))throw Error(U(485));if(e=a.action,e!==null){var o={payload:u,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(r){o.listeners.push(r)}};X.T!==null?t(!0):o.isTransition=!1,l(o),t=a.pending,t===null?(o.next=a.pending=o,mp(a,o)):(o.next=t.next,a.pending=t.next=o)}}function mp(e,a){var t=a.action,l=a.payload,u=e.state;if(a.isTransition){var o=X.T,r={};X.T=r;try{var f=t(u,l),g=X.S;g!==null&&g(r,f),hd(e,a,f)}catch(d){ki(e,a,d)}finally{o!==null&&r.types!==null&&(o.types=r.types),X.T=o}}else try{o=t(u,l),hd(e,a,o)}catch(d){ki(e,a,d)}}function hd(e,a,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(l){md(e,a,l)},function(l){return ki(e,a,l)}):md(e,a,t)}function md(e,a,t){a.status="fulfilled",a.value=t,gp(a),e.state=t,a=e.pending,a!==null&&(t=a.next,t===a?e.pending=null:(t=t.next,a.next=t,mp(e,t)))}function ki(e,a,t){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do a.status="rejected",a.reason=t,gp(a),a=a.next;while(a!==l)}e.action=null}function gp(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function Lp(e,a){return a}function gd(e,a){if(le){var t=ge.formState;if(t!==null){e:{var l=K;if(le){if(ve){a:{for(var u=ve,o=Da;u.nodeType!==8;){if(!o){u=null;break a}if(u=Ba(u.nextSibling),u===null){u=null;break a}}o=u.data,u=o==="F!"||o==="F"?u:null}if(u){ve=Ba(u.nextSibling),l=u.data==="F!";break e}}Yt(l)}l=!1}l&&(a=t[0])}}return t=$e(),t.memoizedState=t.baseState=a,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lp,lastRenderedState:a},t.queue=l,t=Bp.bind(null,K,l),l.dispatch=t,l=Bi(!1),o=Uf.bind(null,K,!1,l.queue),l=$e(),u={state:a,dispatch:null,action:e,pending:null},l.queue=u,t=rL.bind(null,K,u,o,t),u.dispatch=t,l.memoizedState=e,[a,t,!1]}function Ld(e){var a=Re();return xp(a,he,e)}function xp(e,a,t){if(a=Df(e,a,Lp)[0],e=rn(gt)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var l=go(a)}catch(r){throw r===su?Wn:r}else l=a;a=Re();var u=a.queue,o=u.dispatch;return t!==a.memoizedState&&(K.flags|=2048,au(9,{destroy:void 0},iL.bind(null,u,t),null)),[l,o,e]}function iL(e,a){e.action=a}function xd(e){var a=Re(),t=he;if(t!==null)return xp(a,t,e);Re(),a=a.memoizedState,t=Re();var l=t.queue.dispatch;return t.memoizedState=e,[a,l,!1]}function au(e,a,t,l){return e={tag:e,create:t,deps:l,inst:a,next:null},a=K.updateQueue,a===null&&(a=$n(),K.updateQueue=a),t=a.lastEffect,t===null?a.lastEffect=e.next=e:(l=t.next,t.next=e,e.next=l,a.lastEffect=e),e}function yp(){return Re().memoizedState}function fn(e,a,t,l){var u=$e();K.flags|=e,u.memoizedState=au(1|a,{destroy:void 0},t,l===void 0?null:l)}function ar(e,a,t,l){var u=Re();l=l===void 0?null:l;var o=u.memoizedState.inst;he!==null&&l!==null&&wf(l,he.memoizedState.deps)?u.memoizedState=au(a,o,t,l):(K.flags|=e,u.memoizedState=au(1|a,o,t,l))}function yd(e,a){fn(8390656,8,e,a)}function Ef(e,a){ar(2048,8,e,a)}function fL(e){K.flags|=4;var a=K.updateQueue;if(a===null)a=$n(),K.updateQueue=a,a.events=[e];else{var t=a.events;t===null?a.events=[e]:t.push(e)}}function Cp(e){var a=Re().memoizedState;return fL({ref:a,nextImpl:e}),function(){if((ie&2)!==0)throw Error(U(440));return a.impl.apply(void 0,arguments)}}function Sp(e,a){return ar(4,2,e,a)}function vp(e,a){return ar(4,4,e,a)}function bp(e,a){if(typeof a=="function"){e=e();var t=a(e);return function(){typeof t=="function"?t():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function Ip(e,a,t){t=t!=null?t.concat([e]):null,ar(4,4,bp.bind(null,a,e),t)}function Bf(){}function wp(e,a){var t=Re();a=a===void 0?null:a;var l=t.memoizedState;return a!==null&&wf(a,l[1])?l[0]:(t.memoizedState=[e,a],e)}function Ap(e,a){var t=Re();a=a===void 0?null:a;var l=t.memoizedState;if(a!==null&&wf(a,l[1]))return l[0];if(l=e(),pl){Et(!0);try{e()}finally{Et(!1)}}return t.memoizedState=[l,a],l}function kf(e,a,t){return t===void 0||(mt&1073741824)!==0&&(ae&261930)===0?e.memoizedState=a:(e.memoizedState=t,e=hh(),K.lanes|=e,Qt|=e,t)}function Tp(e,a,t,l){return ya(t,a)?t:eu.current!==null?(e=kf(e,t,l),ya(e,a)||(ke=!0),e):(mt&42)===0||(mt&1073741824)!==0&&(ae&261930)===0?(ke=!0,e.memoizedState=t):(e=hh(),K.lanes|=e,Qt|=e,a)}function _p(e,a,t,l,u){var o=fe.p;fe.p=o!==0&&8>o?o:8;var r=X.T,f={};X.T=f,Uf(e,!1,a,t);try{var g=u(),d=X.S;if(d!==null&&d(f,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var L=uL(g,l);Pu(e,a,L,xa(e))}else Pu(e,a,l,xa(e))}catch(x){Pu(e,a,{then:function(){},status:"rejected",reason:x},xa())}finally{fe.p=o,r!==null&&f.types!==null&&(r.types=f.types),X.T=r}}function sL(){}function Oi(e,a,t,l){if(e.tag!==5)throw Error(U(476));var u=Mp(e).queue;_p(e,u,a,ol,t===null?sL:function(){return Rp(e),t(l)})}function Mp(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:ol,baseState:ol,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gt,lastRenderedState:ol},next:null};var t={};return a.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gt,lastRenderedState:t},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Rp(e){var a=Mp(e);a.next===null&&(a=e.alternate.memoizedState),Pu(e,a.next.queue,{},xa())}function Of(){return Xe(oo)}function Dp(){return Re().memoizedState}function Ep(){return Re().memoizedState}function dL(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var t=xa();e=Ht(t);var l=Nt(a,e,t);l!==null&&(oa(l,a,t),Hu(l,a,t)),a={cache:Cf()},e.payload=a;return}a=a.return}}function cL(e,a,t){var l=xa();t={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},tr(e)?kp(a,t):(t=gf(e,a,t,l),t!==null&&(oa(t,e,l),Op(t,a,l)))}function Bp(e,a,t){var l=xa();Pu(e,a,t,l)}function Pu(e,a,t,l){var u={lane:l,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(tr(e))kp(a,u);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=a.lastRenderedReducer,o!==null))try{var r=a.lastRenderedState,f=o(r,t);if(u.hasEagerState=!0,u.eagerState=f,ya(f,r))return Jn(e,a,u,0),ge===null&&Kn(),!1}catch{}if(t=gf(e,a,u,l),t!==null)return oa(t,e,l),Op(t,a,l),!0}return!1}function Uf(e,a,t,l){if(l={lane:2,revertLane:jf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},tr(e)){if(a)throw Error(U(479))}else a=gf(e,t,l,2),a!==null&&oa(a,e,2)}function tr(e){var a=e.alternate;return e===K||a!==null&&a===K}function kp(e,a){Zl=Mn=!0;var t=e.pending;t===null?a.next=a:(a.next=t.next,t.next=a),e.pending=a}function Op(e,a,t){if((t&4194048)!==0){var l=a.lanes;l&=e.pendingLanes,t|=l,a.lanes=t,Cc(e,t)}}var to={readContext:Xe,use:er,useCallback:Te,useContext:Te,useEffect:Te,useImperativeHandle:Te,useLayoutEffect:Te,useInsertionEffect:Te,useMemo:Te,useReducer:Te,useRef:Te,useState:Te,useDebugValue:Te,useDeferredValue:Te,useTransition:Te,useSyncExternalStore:Te,useId:Te,useHostTransitionStatus:Te,useFormState:Te,useActionState:Te,useOptimistic:Te,useMemoCache:Te,useCacheRefresh:Te};to.useEffectEvent=Te;var Up={readContext:Xe,use:er,useCallback:function(e,a){return $e().memoizedState=[e,a===void 0?null:a],e},useContext:Xe,useEffect:yd,useImperativeHandle:function(e,a,t){t=t!=null?t.concat([e]):null,fn(4194308,4,bp.bind(null,a,e),t)},useLayoutEffect:function(e,a){return fn(4194308,4,e,a)},useInsertionEffect:function(e,a){fn(4,2,e,a)},useMemo:function(e,a){var t=$e();a=a===void 0?null:a;var l=e();if(pl){Et(!0);try{e()}finally{Et(!1)}}return t.memoizedState=[l,a],l},useReducer:function(e,a,t){var l=$e();if(t!==void 0){var u=t(a);if(pl){Et(!0);try{t(a)}finally{Et(!1)}}}else u=a;return l.memoizedState=l.baseState=u,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:u},l.queue=e,e=e.dispatch=cL.bind(null,K,e),[l.memoizedState,e]},useRef:function(e){var a=$e();return e={current:e},a.memoizedState=e},useState:function(e){e=Bi(e);var a=e.queue,t=Bp.bind(null,K,a);return a.dispatch=t,[e.memoizedState,t]},useDebugValue:Bf,useDeferredValue:function(e,a){var t=$e();return kf(t,e,a)},useTransition:function(){var e=Bi(!1);return e=_p.bind(null,K,e.queue,!0,!1),$e().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,t){var l=K,u=$e();if(le){if(t===void 0)throw Error(U(407));t=t()}else{if(t=a(),ge===null)throw Error(U(349));(ae&127)!==0||fp(l,a,t)}u.memoizedState=t;var o={value:t,getSnapshot:a};return u.queue=o,yd(dp.bind(null,l,o,e),[e]),l.flags|=2048,au(9,{destroy:void 0},sp.bind(null,l,o,t,a),null),t},useId:function(){var e=$e(),a=ge.identifierPrefix;if(le){var t=ja,l=Va;t=(l&~(1<<32-La(l)-1)).toString(32)+t,a="_"+a+"R_"+t,t=Rn++,0<t&&(a+="H"+t.toString(32)),a+="_"}else t=oL++,a="_"+a+"r_"+t.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:Of,useFormState:gd,useActionState:gd,useOptimistic:function(e){var a=$e();a.memoizedState=a.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=t,a=Uf.bind(null,K,!0,t),t.dispatch=a,[e,a]},useMemoCache:Rf,useCacheRefresh:function(){return $e().memoizedState=dL.bind(null,K)},useEffectEvent:function(e){var a=$e(),t={impl:e};return a.memoizedState=t,function(){if((ie&2)!==0)throw Error(U(440));return t.impl.apply(void 0,arguments)}}},qf={readContext:Xe,use:er,useCallback:wp,useContext:Xe,useEffect:Ef,useImperativeHandle:Ip,useInsertionEffect:Sp,useLayoutEffect:vp,useMemo:Ap,useReducer:rn,useRef:yp,useState:function(){return rn(gt)},useDebugValue:Bf,useDeferredValue:function(e,a){var t=Re();return Tp(t,he.memoizedState,e,a)},useTransition:function(){var e=rn(gt)[0],a=Re().memoizedState;return[typeof e=="boolean"?e:go(e),a]},useSyncExternalStore:ip,useId:Dp,useHostTransitionStatus:Of,useFormState:Ld,useActionState:Ld,useOptimistic:function(e,a){var t=Re();return hp(t,he,e,a)},useMemoCache:Rf,useCacheRefresh:Ep};qf.useEffectEvent=Cp;var qp={readContext:Xe,use:er,useCallback:wp,useContext:Xe,useEffect:Ef,useImperativeHandle:Ip,useInsertionEffect:Sp,useLayoutEffect:vp,useMemo:Ap,useReducer:Gr,useRef:yp,useState:function(){return Gr(gt)},useDebugValue:Bf,useDeferredValue:function(e,a){var t=Re();return he===null?kf(t,e,a):Tp(t,he.memoizedState,e,a)},useTransition:function(){var e=Gr(gt)[0],a=Re().memoizedState;return[typeof e=="boolean"?e:go(e),a]},useSyncExternalStore:ip,useId:Dp,useHostTransitionStatus:Of,useFormState:xd,useActionState:xd,useOptimistic:function(e,a){var t=Re();return he!==null?hp(t,he,e,a):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:Rf,useCacheRefresh:Ep};qp.useEffectEvent=Cp;function Vr(e,a,t,l){a=e.memoizedState,t=t(l,a),t=t==null?a:be({},a,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var Ui={enqueueSetState:function(e,a,t){e=e._reactInternals;var l=xa(),u=Ht(l);u.payload=a,t!=null&&(u.callback=t),a=Nt(e,u,l),a!==null&&(oa(a,e,l),Hu(a,e,l))},enqueueReplaceState:function(e,a,t){e=e._reactInternals;var l=xa(),u=Ht(l);u.tag=1,u.payload=a,t!=null&&(u.callback=t),a=Nt(e,u,l),a!==null&&(oa(a,e,l),Hu(a,e,l))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var t=xa(),l=Ht(t);l.tag=2,a!=null&&(l.callback=a),a=Nt(e,l,t),a!==null&&(oa(a,e,t),Hu(a,e,t))}};function Cd(e,a,t,l,u,o,r){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,o,r):a.prototype&&a.prototype.isPureReactComponent?!Ju(t,l)||!Ju(u,o):!0}function Sd(e,a,t,l){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(t,l),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(t,l),a.state!==e&&Ui.enqueueReplaceState(a,a.state,null)}function hl(e,a){var t=a;if("ref"in a){t={};for(var l in a)l!=="ref"&&(t[l]=a[l])}if(e=e.defaultProps){t===a&&(t=be({},t));for(var u in e)t[u]===void 0&&(t[u]=e[u])}return t}function zp(e){vn(e)}function Hp(e){console.error(e)}function Np(e){vn(e)}function Dn(e,a){try{var t=e.onUncaughtError;t(a.value,{componentStack:a.stack})}catch(l){setTimeout(function(){throw l})}}function vd(e,a,t){try{var l=e.onCaughtError;l(t.value,{componentStack:t.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function qi(e,a,t){return t=Ht(t),t.tag=3,t.payload={element:null},t.callback=function(){Dn(e,a)},t}function Fp(e){return e=Ht(e),e.tag=3,e}function Pp(e,a,t,l){var u=t.type.getDerivedStateFromError;if(typeof u=="function"){var o=l.value;e.payload=function(){return u(o)},e.callback=function(){vd(a,t,l)}}var r=t.stateNode;r!==null&&typeof r.componentDidCatch=="function"&&(e.callback=function(){vd(a,t,l),typeof u!="function"&&(Ft===null?Ft=new Set([this]):Ft.add(this));var f=l.stack;this.componentDidCatch(l.value,{componentStack:f!==null?f:""})})}function pL(e,a,t,l,u){if(t.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(a=t.alternate,a!==null&&fu(a,t,u,!0),t=Ca.current,t!==null){switch(t.tag){case 31:case 13:return Ea===null?Un():t.alternate===null&&_e===0&&(_e=3),t.flags&=-257,t.flags|=65536,t.lanes=u,l===An?t.flags|=16384:(a=t.updateQueue,a===null?t.updateQueue=new Set([l]):a.add(l),ai(e,l,u)),!1;case 22:return t.flags|=65536,l===An?t.flags|=16384:(a=t.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([l])},t.updateQueue=a):(t=a.retryQueue,t===null?a.retryQueue=new Set([l]):t.add(l)),ai(e,l,u)),!1}throw Error(U(435,t.tag))}return ai(e,l,u),Un(),!1}if(le)return a=Ca.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=u,l!==Ii&&(e=Error(U(422),{cause:l}),$u(Ra(e,t)))):(l!==Ii&&(a=Error(U(423),{cause:l}),$u(Ra(a,t))),e=e.current.alternate,e.flags|=65536,u&=-u,e.lanes|=u,l=Ra(l,t),u=qi(e.stateNode,l,u),Pr(e,u),_e!==4&&(_e=2)),!1;var o=Error(U(520),{cause:l});if(o=Ra(o,t),ju===null?ju=[o]:ju.push(o),_e!==4&&(_e=2),a===null)return!0;l=Ra(l,t),t=a;do{switch(t.tag){case 3:return t.flags|=65536,e=u&-u,t.lanes|=e,e=qi(t.stateNode,l,e),Pr(t,e),!1;case 1:if(a=t.type,o=t.stateNode,(t.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&(Ft===null||!Ft.has(o))))return t.flags|=65536,u&=-u,t.lanes|=u,u=Fp(u),Pp(u,e,t,l),Pr(t,u),!1}t=t.return}while(t!==null);return!1}var zf=Error(U(461)),ke=!1;function Ge(e,a,t,l){a.child=e===null?tp(a,null,t,l):cl(a,e.child,t,l)}function bd(e,a,t,l,u){t=t.render;var o=a.ref;if("ref"in l){var r={};for(var f in l)f!=="ref"&&(r[f]=l[f])}else r=l;return dl(a),l=Af(e,a,t,r,o,u),f=Tf(),e!==null&&!ke?(_f(e,a,u),Lt(e,a,u)):(le&&f&&xf(a),a.flags|=1,Ge(e,a,l,u),a.child)}function Id(e,a,t,l,u){if(e===null){var o=t.type;return typeof o=="function"&&!Lf(o)&&o.defaultProps===void 0&&t.compare===null?(a.tag=15,a.type=o,Gp(e,a,o,l,u)):(e=on(t.type,null,l,a,a.mode,u),e.ref=a.ref,e.return=a,a.child=e)}if(o=e.child,!Hf(e,u)){var r=o.memoizedProps;if(t=t.compare,t=t!==null?t:Ju,t(r,l)&&e.ref===a.ref)return Lt(e,a,u)}return a.flags|=1,e=dt(o,l),e.ref=a.ref,e.return=a,a.child=e}function Gp(e,a,t,l,u){if(e!==null){var o=e.memoizedProps;if(Ju(o,l)&&e.ref===a.ref)if(ke=!1,a.pendingProps=l=o,Hf(e,u))(e.flags&131072)!==0&&(ke=!0);else return a.lanes=e.lanes,Lt(e,a,u)}return zi(e,a,t,l,u)}function Vp(e,a,t,l){var u=l.children,o=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((a.flags&128)!==0){if(o=o!==null?o.baseLanes|t:t,e!==null){for(l=a.child=e.child,u=0;l!==null;)u=u|l.lanes|l.childLanes,l=l.sibling;l=u&~o}else l=0,a.child=null;return wd(e,a,o,t,l)}if((t&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&nn(a,o!==null?o.cachePool:null),o!==null?pd(a,o):Di(),op(a);else return l=a.lanes=536870912,wd(e,a,o!==null?o.baseLanes|t:t,t,l)}else o!==null?(nn(a,o.cachePool),pd(a,o),Rt(a),a.memoizedState=null):(e!==null&&nn(a,null),Di(),Rt(a));return Ge(e,a,u,t),a.child}function Bu(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function wd(e,a,t,l,u){var o=Sf();return o=o===null?null:{parent:Be._currentValue,pool:o},a.memoizedState={baseLanes:t,cachePool:o},e!==null&&nn(a,null),Di(),op(a),e!==null&&fu(e,a,l,!0),a.childLanes=u,null}function sn(e,a){return a=En({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function Ad(e,a,t){return cl(a,e.child,null,t),e=sn(a,a.pendingProps),e.flags|=2,ca(a),a.memoizedState=null,e}function hL(e,a,t){var l=a.pendingProps,u=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(le){if(l.mode==="hidden")return e=sn(a,l),a.lanes=536870912,Bu(null,e);if(Ei(a),(e=ve)?(e=Uh(e,Da),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:Xt!==null?{id:Va,overflow:ja}:null,retryLane:536870912,hydrationErrors:null},t=Qc(e),t.return=a,a.child=t,je=a,ve=null)):e=null,e===null)throw Yt(a);return a.lanes=536870912,null}return sn(a,l)}var o=e.memoizedState;if(o!==null){var r=o.dehydrated;if(Ei(a),u)if(a.flags&256)a.flags&=-257,a=Ad(e,a,t);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(U(558));else if(ke||fu(e,a,t,!1),u=(t&e.childLanes)!==0,ke||u){if(l=ge,l!==null&&(r=Sc(l,t),r!==0&&r!==o.retryLane))throw o.retryLane=r,xl(e,r),oa(l,e,r),zf;Un(),a=Ad(e,a,t)}else e=o.treeContext,ve=Ba(r.nextSibling),je=a,le=!0,zt=null,Da=!1,e!==null&&Jc(a,e),a=sn(a,l),a.flags|=4096;return a}return e=dt(e.child,{mode:l.mode,children:l.children}),e.ref=a.ref,a.child=e,e.return=a,e}function dn(e,a){var t=a.ref;if(t===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(U(284));(e===null||e.ref!==t)&&(a.flags|=4194816)}}function zi(e,a,t,l,u){return dl(a),t=Af(e,a,t,l,void 0,u),l=Tf(),e!==null&&!ke?(_f(e,a,u),Lt(e,a,u)):(le&&l&&xf(a),a.flags|=1,Ge(e,a,t,u),a.child)}function Td(e,a,t,l,u,o){return dl(a),a.updateQueue=null,t=rp(a,l,t,u),np(e),l=Tf(),e!==null&&!ke?(_f(e,a,o),Lt(e,a,o)):(le&&l&&xf(a),a.flags|=1,Ge(e,a,t,o),a.child)}function _d(e,a,t,l,u){if(dl(a),a.stateNode===null){var o=Hl,r=t.contextType;typeof r=="object"&&r!==null&&(o=Xe(r)),o=new t(l,o),a.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=Ui,a.stateNode=o,o._reactInternals=a,o=a.stateNode,o.props=l,o.state=a.memoizedState,o.refs={},bf(a),r=t.contextType,o.context=typeof r=="object"&&r!==null?Xe(r):Hl,o.state=a.memoizedState,r=t.getDerivedStateFromProps,typeof r=="function"&&(Vr(a,t,r,l),o.state=a.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(r=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),r!==o.state&&Ui.enqueueReplaceState(o,o.state,null),Fu(a,l,o,u),Nu(),o.state=a.memoizedState),typeof o.componentDidMount=="function"&&(a.flags|=4194308),l=!0}else if(e===null){o=a.stateNode;var f=a.memoizedProps,g=hl(t,f);o.props=g;var d=o.context,L=t.contextType;r=Hl,typeof L=="object"&&L!==null&&(r=Xe(L));var x=t.getDerivedStateFromProps;L=typeof x=="function"||typeof o.getSnapshotBeforeUpdate=="function",f=a.pendingProps!==f,L||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(f||d!==r)&&Sd(a,o,l,r),Tt=!1;var h=a.memoizedState;o.state=h,Fu(a,l,o,u),Nu(),d=a.memoizedState,f||h!==d||Tt?(typeof x=="function"&&(Vr(a,t,x,l),d=a.memoizedState),(g=Tt||Cd(a,t,g,l,h,d,r))?(L||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(a.flags|=4194308)):(typeof o.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=l,a.memoizedState=d),o.props=l,o.state=d,o.context=r,l=g):(typeof o.componentDidMount=="function"&&(a.flags|=4194308),l=!1)}else{o=a.stateNode,Mi(e,a),r=a.memoizedProps,L=hl(t,r),o.props=L,x=a.pendingProps,h=o.context,d=t.contextType,g=Hl,typeof d=="object"&&d!==null&&(g=Xe(d)),f=t.getDerivedStateFromProps,(d=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(r!==x||h!==g)&&Sd(a,o,l,g),Tt=!1,h=a.memoizedState,o.state=h,Fu(a,l,o,u),Nu();var y=a.memoizedState;r!==x||h!==y||Tt||e!==null&&e.dependencies!==null&&wn(e.dependencies)?(typeof f=="function"&&(Vr(a,t,f,l),y=a.memoizedState),(L=Tt||Cd(a,t,L,l,h,y,g)||e!==null&&e.dependencies!==null&&wn(e.dependencies))?(d||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(l,y,g),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(l,y,g)),typeof o.componentDidUpdate=="function"&&(a.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof o.componentDidUpdate!="function"||r===e.memoizedProps&&h===e.memoizedState||(a.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&h===e.memoizedState||(a.flags|=1024),a.memoizedProps=l,a.memoizedState=y),o.props=l,o.state=y,o.context=g,l=L):(typeof o.componentDidUpdate!="function"||r===e.memoizedProps&&h===e.memoizedState||(a.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||r===e.memoizedProps&&h===e.memoizedState||(a.flags|=1024),l=!1)}return o=l,dn(e,a),l=(a.flags&128)!==0,o||l?(o=a.stateNode,t=l&&typeof t.getDerivedStateFromError!="function"?null:o.render(),a.flags|=1,e!==null&&l?(a.child=cl(a,e.child,null,u),a.child=cl(a,null,t,u)):Ge(e,a,t,u),a.memoizedState=o.state,e=a.child):e=Lt(e,a,u),e}function Md(e,a,t,l){return sl(),a.flags|=256,Ge(e,a,t,l),a.child}var jr={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xr(e){return{baseLanes:e,cachePool:$c()}}function Yr(e,a,t){return e=e!==null?e.childLanes&~t:0,a&&(e|=ha),e}function jp(e,a,t){var l=a.pendingProps,u=!1,o=(a.flags&128)!==0,r;if((r=o)||(r=e!==null&&e.memoizedState===null?!1:(Me.current&2)!==0),r&&(u=!0,a.flags&=-129),r=(a.flags&32)!==0,a.flags&=-33,e===null){if(le){if(u?Mt(a):Rt(a),(e=ve)?(e=Uh(e,Da),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:Xt!==null?{id:Va,overflow:ja}:null,retryLane:536870912,hydrationErrors:null},t=Qc(e),t.return=a,a.child=t,je=a,ve=null)):e=null,e===null)throw Yt(a);return Wi(e)?a.lanes=32:a.lanes=536870912,null}var f=l.children;return l=l.fallback,u?(Rt(a),u=a.mode,f=En({mode:"hidden",children:f},u),l=nl(l,u,t,null),f.return=a,l.return=a,f.sibling=l,a.child=f,l=a.child,l.memoizedState=Xr(t),l.childLanes=Yr(e,r,t),a.memoizedState=jr,Bu(null,l)):(Mt(a),Hi(a,f))}var g=e.memoizedState;if(g!==null&&(f=g.dehydrated,f!==null)){if(o)a.flags&256?(Mt(a),a.flags&=-257,a=Zr(e,a,t)):a.memoizedState!==null?(Rt(a),a.child=e.child,a.flags|=128,a=null):(Rt(a),f=l.fallback,u=a.mode,l=En({mode:"visible",children:l.children},u),f=nl(f,u,t,null),f.flags|=2,l.return=a,f.return=a,l.sibling=f,a.child=l,cl(a,e.child,null,t),l=a.child,l.memoizedState=Xr(t),l.childLanes=Yr(e,r,t),a.memoizedState=jr,a=Bu(null,l));else if(Mt(a),Wi(f)){if(r=f.nextSibling&&f.nextSibling.dataset,r)var d=r.dgst;r=d,l=Error(U(419)),l.stack="",l.digest=r,$u({value:l,source:null,stack:null}),a=Zr(e,a,t)}else if(ke||fu(e,a,t,!1),r=(t&e.childLanes)!==0,ke||r){if(r=ge,r!==null&&(l=Sc(r,t),l!==0&&l!==g.retryLane))throw g.retryLane=l,xl(e,l),oa(r,e,l),zf;Ji(f)||Un(),a=Zr(e,a,t)}else Ji(f)?(a.flags|=192,a.child=e.child,a=null):(e=g.treeContext,ve=Ba(f.nextSibling),je=a,le=!0,zt=null,Da=!1,e!==null&&Jc(a,e),a=Hi(a,l.children),a.flags|=4096);return a}return u?(Rt(a),f=l.fallback,u=a.mode,g=e.child,d=g.sibling,l=dt(g,{mode:"hidden",children:l.children}),l.subtreeFlags=g.subtreeFlags&65011712,d!==null?f=dt(d,f):(f=nl(f,u,t,null),f.flags|=2),f.return=a,l.return=a,l.sibling=f,a.child=l,Bu(null,l),l=a.child,f=e.child.memoizedState,f===null?f=Xr(t):(u=f.cachePool,u!==null?(g=Be._currentValue,u=u.parent!==g?{parent:g,pool:g}:u):u=$c(),f={baseLanes:f.baseLanes|t,cachePool:u}),l.memoizedState=f,l.childLanes=Yr(e,r,t),a.memoizedState=jr,Bu(e.child,l)):(Mt(a),t=e.child,e=t.sibling,t=dt(t,{mode:"visible",children:l.children}),t.return=a,t.sibling=null,e!==null&&(r=a.deletions,r===null?(a.deletions=[e],a.flags|=16):r.push(e)),a.child=t,a.memoizedState=null,t)}function Hi(e,a){return a=En({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function En(e,a){return e=pa(22,e,null,a),e.lanes=0,e}function Zr(e,a,t){return cl(a,e.child,null,t),e=Hi(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function Rd(e,a,t){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a),Ai(e.return,a,t)}function Qr(e,a,t,l,u,o){var r=e.memoizedState;r===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:l,tail:t,tailMode:u,treeForkCount:o}:(r.isBackwards=a,r.rendering=null,r.renderingStartTime=0,r.last=l,r.tail=t,r.tailMode=u,r.treeForkCount=o)}function Xp(e,a,t){var l=a.pendingProps,u=l.revealOrder,o=l.tail;l=l.children;var r=Me.current,f=(r&2)!==0;if(f?(r=r&1|2,a.flags|=128):r&=1,xe(Me,r),Ge(e,a,l,t),l=le?Wu:0,!f&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Rd(e,t,a);else if(e.tag===19)Rd(e,t,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(u){case"forwards":for(t=a.child,u=null;t!==null;)e=t.alternate,e!==null&&_n(e)===null&&(u=t),t=t.sibling;t=u,t===null?(u=a.child,a.child=null):(u=t.sibling,t.sibling=null),Qr(a,!1,u,t,o,l);break;case"backwards":case"unstable_legacy-backwards":for(t=null,u=a.child,a.child=null;u!==null;){if(e=u.alternate,e!==null&&_n(e)===null){a.child=u;break}e=u.sibling,u.sibling=t,t=u,u=e}Qr(a,!0,t,null,o,l);break;case"together":Qr(a,!1,null,null,void 0,l);break;default:a.memoizedState=null}return a.child}function Lt(e,a,t){if(e!==null&&(a.dependencies=e.dependencies),Qt|=a.lanes,(t&a.childLanes)===0)if(e!==null){if(fu(e,a,t,!1),(t&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(U(153));if(a.child!==null){for(e=a.child,t=dt(e,e.pendingProps),a.child=t,t.return=a;e.sibling!==null;)e=e.sibling,t=t.sibling=dt(e,e.pendingProps),t.return=a;t.sibling=null}return a.child}function Hf(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&wn(e)))}function mL(e,a,t){switch(a.tag){case 3:xn(a,a.stateNode.containerInfo),_t(a,Be,e.memoizedState.cache),sl();break;case 27:case 5:pi(a);break;case 4:xn(a,a.stateNode.containerInfo);break;case 10:_t(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,Ei(a),null;break;case 13:var l=a.memoizedState;if(l!==null)return l.dehydrated!==null?(Mt(a),a.flags|=128,null):(t&a.child.childLanes)!==0?jp(e,a,t):(Mt(a),e=Lt(e,a,t),e!==null?e.sibling:null);Mt(a);break;case 19:var u=(e.flags&128)!==0;if(l=(t&a.childLanes)!==0,l||(fu(e,a,t,!1),l=(t&a.childLanes)!==0),u){if(l)return Xp(e,a,t);a.flags|=128}if(u=a.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),xe(Me,Me.current),l)break;return null;case 22:return a.lanes=0,Vp(e,a,t,a.pendingProps);case 24:_t(a,Be,e.memoizedState.cache)}return Lt(e,a,t)}function Yp(e,a,t){if(e!==null)if(e.memoizedProps!==a.pendingProps)ke=!0;else{if(!Hf(e,t)&&(a.flags&128)===0)return ke=!1,mL(e,a,t);ke=(e.flags&131072)!==0}else ke=!1,le&&(a.flags&1048576)!==0&&Kc(a,Wu,a.index);switch(a.lanes=0,a.tag){case 16:e:{var l=a.pendingProps;if(e=ll(a.elementType),a.type=e,typeof e=="function")Lf(e)?(l=hl(e,l),a.tag=1,a=_d(null,a,e,l,t)):(a.tag=0,a=zi(null,a,e,l,t));else{if(e!=null){var u=e.$$typeof;if(u===tf){a.tag=11,a=bd(null,a,e,l,t);break e}else if(u===lf){a.tag=14,a=Id(null,a,e,l,t);break e}}throw a=di(e)||e,Error(U(306,a,""))}}return a;case 0:return zi(e,a,a.type,a.pendingProps,t);case 1:return l=a.type,u=hl(l,a.pendingProps),_d(e,a,l,u,t);case 3:e:{if(xn(a,a.stateNode.containerInfo),e===null)throw Error(U(387));l=a.pendingProps;var o=a.memoizedState;u=o.element,Mi(e,a),Fu(a,l,null,t);var r=a.memoizedState;if(l=r.cache,_t(a,Be,l),l!==o.cache&&Ti(a,[Be],t,!0),Nu(),l=r.element,o.isDehydrated)if(o={element:l,isDehydrated:!1,cache:r.cache},a.updateQueue.baseState=o,a.memoizedState=o,a.flags&256){a=Md(e,a,l,t);break e}else if(l!==u){u=Ra(Error(U(424)),a),$u(u),a=Md(e,a,l,t);break e}else for(e=a.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ve=Ba(e.firstChild),je=a,le=!0,zt=null,Da=!0,t=tp(a,null,l,t),a.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(sl(),l===u){a=Lt(e,a,t);break e}Ge(e,a,l,t)}a=a.child}return a;case 26:return dn(e,a),e===null?(t=Wd(a.type,null,a.pendingProps,null))?a.memoizedState=t:le||(t=a.type,e=a.pendingProps,l=Nn(qt.current).createElement(t),l[Ve]=a,l[na]=e,Ye(l,t,e),He(l),a.stateNode=l):a.memoizedState=Wd(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return pi(a),e===null&&le&&(l=a.stateNode=qh(a.type,a.pendingProps,qt.current),je=a,Da=!0,u=ve,Jt(a.type)?($i=u,ve=Ba(l.firstChild)):ve=u),Ge(e,a,a.pendingProps.children,t),dn(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&le&&((u=l=ve)&&(l=GL(l,a.type,a.pendingProps,Da),l!==null?(a.stateNode=l,je=a,ve=Ba(l.firstChild),Da=!1,u=!0):u=!1),u||Yt(a)),pi(a),u=a.type,o=a.pendingProps,r=e!==null?e.memoizedProps:null,l=o.children,Qi(u,o)?l=null:r!==null&&Qi(u,r)&&(a.flags|=32),a.memoizedState!==null&&(u=Af(e,a,nL,null,null,t),oo._currentValue=u),dn(e,a),Ge(e,a,l,t),a.child;case 6:return e===null&&le&&((e=t=ve)&&(t=VL(t,a.pendingProps,Da),t!==null?(a.stateNode=t,je=a,ve=null,e=!0):e=!1),e||Yt(a)),null;case 13:return jp(e,a,t);case 4:return xn(a,a.stateNode.containerInfo),l=a.pendingProps,e===null?a.child=cl(a,null,l,t):Ge(e,a,l,t),a.child;case 11:return bd(e,a,a.type,a.pendingProps,t);case 7:return Ge(e,a,a.pendingProps,t),a.child;case 8:return Ge(e,a,a.pendingProps.children,t),a.child;case 12:return Ge(e,a,a.pendingProps.children,t),a.child;case 10:return l=a.pendingProps,_t(a,a.type,l.value),Ge(e,a,l.children,t),a.child;case 9:return u=a.type._context,l=a.pendingProps.children,dl(a),u=Xe(u),l=l(u),a.flags|=1,Ge(e,a,l,t),a.child;case 14:return Id(e,a,a.type,a.pendingProps,t);case 15:return Gp(e,a,a.type,a.pendingProps,t);case 19:return Xp(e,a,t);case 31:return hL(e,a,t);case 22:return Vp(e,a,t,a.pendingProps);case 24:return dl(a),l=Xe(Be),e===null?(u=Sf(),u===null&&(u=ge,o=Cf(),u.pooledCache=o,o.refCount++,o!==null&&(u.pooledCacheLanes|=t),u=o),a.memoizedState={parent:l,cache:u},bf(a),_t(a,Be,u)):((e.lanes&t)!==0&&(Mi(e,a),Fu(a,null,null,t),Nu()),u=e.memoizedState,o=a.memoizedState,u.parent!==l?(u={parent:l,cache:l},a.memoizedState=u,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=u),_t(a,Be,l)):(l=o.cache,_t(a,Be,l),l!==u.cache&&Ti(a,[Be],t,!0))),Ge(e,a,a.pendingProps.children,t),a.child;case 29:throw a.pendingProps}throw Error(U(156,a.tag))}function tt(e){e.flags|=4}function Kr(e,a,t,l,u){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(u&335544128)===u)if(e.stateNode.complete)e.flags|=8192;else if(Lh())e.flags|=8192;else throw il=An,vf}else e.flags&=-16777217}function Dd(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Nh(a))if(Lh())e.flags|=8192;else throw il=An,vf}function Zo(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?xc():536870912,e.lanes|=a,tu|=a)}function Au(e,a){if(!le)switch(e.tailMode){case"hidden":a=e.tail;for(var t=null;a!==null;)a.alternate!==null&&(t=a),a=a.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Se(e){var a=e.alternate!==null&&e.alternate.child===e.child,t=0,l=0;if(a)for(var u=e.child;u!==null;)t|=u.lanes|u.childLanes,l|=u.subtreeFlags&65011712,l|=u.flags&65011712,u.return=e,u=u.sibling;else for(u=e.child;u!==null;)t|=u.lanes|u.childLanes,l|=u.subtreeFlags,l|=u.flags,u.return=e,u=u.sibling;return e.subtreeFlags|=l,e.childLanes=t,a}function gL(e,a,t){var l=a.pendingProps;switch(yf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(a),null;case 1:return Se(a),null;case 3:return t=a.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),a.memoizedState.cache!==l&&(a.flags|=2048),ct(Be),Kl(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(Tl(a)?tt(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,Fr())),Se(a),null;case 26:var u=a.type,o=a.memoizedState;return e===null?(tt(a),o!==null?(Se(a),Dd(a,o)):(Se(a),Kr(a,u,null,l,t))):o?o!==e.memoizedState?(tt(a),Se(a),Dd(a,o)):(Se(a),a.flags&=-16777217):(e=e.memoizedProps,e!==l&&tt(a),Se(a),Kr(a,u,e,l,t)),null;case 27:if(yn(a),t=qt.current,u=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&tt(a);else{if(!l){if(a.stateNode===null)throw Error(U(166));return Se(a),null}e=Ya.current,Tl(a)?nd(a,e):(e=qh(u,l,t),a.stateNode=e,tt(a))}return Se(a),null;case 5:if(yn(a),u=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==l&&tt(a);else{if(!l){if(a.stateNode===null)throw Error(U(166));return Se(a),null}if(o=Ya.current,Tl(a))nd(a,o);else{var r=Nn(qt.current);switch(o){case 1:o=r.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:o=r.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":o=r.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":o=r.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":o=r.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof l.is=="string"?r.createElement("select",{is:l.is}):r.createElement("select"),l.multiple?o.multiple=!0:l.size&&(o.size=l.size);break;default:o=typeof l.is=="string"?r.createElement(u,{is:l.is}):r.createElement(u)}}o[Ve]=a,o[na]=l;e:for(r=a.child;r!==null;){if(r.tag===5||r.tag===6)o.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===a)break e;for(;r.sibling===null;){if(r.return===null||r.return===a)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}a.stateNode=o;e:switch(Ye(o,u,l),u){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&tt(a)}}return Se(a),Kr(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,t),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==l&&tt(a);else{if(typeof l!="string"&&a.stateNode===null)throw Error(U(166));if(e=qt.current,Tl(a)){if(e=a.stateNode,t=a.memoizedProps,l=null,u=je,u!==null)switch(u.tag){case 27:case 5:l=u.memoizedProps}e[Ve]=a,e=!!(e.nodeValue===t||l!==null&&l.suppressHydrationWarning===!0||Bh(e.nodeValue,t)),e||Yt(a,!0)}else e=Nn(e).createTextNode(l),e[Ve]=a,a.stateNode=e}return Se(a),null;case 31:if(t=a.memoizedState,e===null||e.memoizedState!==null){if(l=Tl(a),t!==null){if(e===null){if(!l)throw Error(U(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(557));e[Ve]=a}else sl(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Se(a),e=!1}else t=Fr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return a.flags&256?(ca(a),a):(ca(a),null);if((a.flags&128)!==0)throw Error(U(558))}return Se(a),null;case 13:if(l=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(u=Tl(a),l!==null&&l.dehydrated!==null){if(e===null){if(!u)throw Error(U(318));if(u=a.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(U(317));u[Ve]=a}else sl(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Se(a),u=!1}else u=Fr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=u),u=!0;if(!u)return a.flags&256?(ca(a),a):(ca(a),null)}return ca(a),(a.flags&128)!==0?(a.lanes=t,a):(t=l!==null,e=e!==null&&e.memoizedState!==null,t&&(l=a.child,u=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(u=l.alternate.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==u&&(l.flags|=2048)),t!==e&&t&&(a.child.flags|=8192),Zo(a,a.updateQueue),Se(a),null);case 4:return Kl(),e===null&&Xf(a.stateNode.containerInfo),Se(a),null;case 10:return ct(a.type),Se(a),null;case 19:if(Ne(Me),l=a.memoizedState,l===null)return Se(a),null;if(u=(a.flags&128)!==0,o=l.rendering,o===null)if(u)Au(l,!1);else{if(_e!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(o=_n(e),o!==null){for(a.flags|=128,Au(l,!1),e=o.updateQueue,a.updateQueue=e,Zo(a,e),a.subtreeFlags=0,e=t,t=a.child;t!==null;)Zc(t,e),t=t.sibling;return xe(Me,Me.current&1|2),le&&nt(a,l.treeForkCount),a.child}e=e.sibling}l.tail!==null&&ma()>kn&&(a.flags|=128,u=!0,Au(l,!1),a.lanes=4194304)}else{if(!u)if(e=_n(o),e!==null){if(a.flags|=128,u=!0,e=e.updateQueue,a.updateQueue=e,Zo(a,e),Au(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!le)return Se(a),null}else 2*ma()-l.renderingStartTime>kn&&t!==536870912&&(a.flags|=128,u=!0,Au(l,!1),a.lanes=4194304);l.isBackwards?(o.sibling=a.child,a.child=o):(e=l.last,e!==null?e.sibling=o:a.child=o,l.last=o)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=ma(),e.sibling=null,t=Me.current,xe(Me,u?t&1|2:t&1),le&&nt(a,l.treeForkCount),e):(Se(a),null);case 22:case 23:return ca(a),If(),l=a.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(a.flags|=8192):l&&(a.flags|=8192),l?(t&536870912)!==0&&(a.flags&128)===0&&(Se(a),a.subtreeFlags&6&&(a.flags|=8192)):Se(a),t=a.updateQueue,t!==null&&Zo(a,t.retryQueue),t=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),l=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(l=a.memoizedState.cachePool.pool),l!==t&&(a.flags|=2048),e!==null&&Ne(rl),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),a.memoizedState.cache!==t&&(a.flags|=2048),ct(Be),Se(a),null;case 25:return null;case 30:return null}throw Error(U(156,a.tag))}function LL(e,a){switch(yf(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return ct(Be),Kl(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return yn(a),null;case 31:if(a.memoizedState!==null){if(ca(a),a.alternate===null)throw Error(U(340));sl()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(ca(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(U(340));sl()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Ne(Me),null;case 4:return Kl(),null;case 10:return ct(a.type),null;case 22:case 23:return ca(a),If(),e!==null&&Ne(rl),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return ct(Be),null;case 25:return null;default:return null}}function Zp(e,a){switch(yf(a),a.tag){case 3:ct(Be),Kl();break;case 26:case 27:case 5:yn(a);break;case 4:Kl();break;case 31:a.memoizedState!==null&&ca(a);break;case 13:ca(a);break;case 19:Ne(Me);break;case 10:ct(a.type);break;case 22:case 23:ca(a),If(),e!==null&&Ne(rl);break;case 24:ct(Be)}}function Lo(e,a){try{var t=a.updateQueue,l=t!==null?t.lastEffect:null;if(l!==null){var u=l.next;t=u;do{if((t.tag&e)===e){l=void 0;var o=t.create,r=t.inst;l=o(),r.destroy=l}t=t.next}while(t!==u)}}catch(f){ce(a,a.return,f)}}function Zt(e,a,t){try{var l=a.updateQueue,u=l!==null?l.lastEffect:null;if(u!==null){var o=u.next;l=o;do{if((l.tag&e)===e){var r=l.inst,f=r.destroy;if(f!==void 0){r.destroy=void 0,u=a;var g=t,d=f;try{d()}catch(L){ce(u,g,L)}}}l=l.next}while(l!==o)}}catch(L){ce(a,a.return,L)}}function Qp(e){var a=e.updateQueue;if(a!==null){var t=e.stateNode;try{up(a,t)}catch(l){ce(e,e.return,l)}}}function Kp(e,a,t){t.props=hl(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(l){ce(e,a,l)}}function Gu(e,a){try{var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof t=="function"?e.refCleanup=t(l):t.current=l}}catch(u){ce(e,a,u)}}function Xa(e,a){var t=e.ref,l=e.refCleanup;if(t!==null)if(typeof l=="function")try{l()}catch(u){ce(e,a,u)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(u){ce(e,a,u)}else t.current=null}function Jp(e){var a=e.type,t=e.memoizedProps,l=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":t.autoFocus&&l.focus();break e;case"img":t.src?l.src=t.src:t.srcSet&&(l.srcset=t.srcSet)}}catch(u){ce(e,e.return,u)}}function Jr(e,a,t){try{var l=e.stateNode;qL(l,e.type,t,a),l[na]=a}catch(u){ce(e,e.return,u)}}function Wp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Jt(e.type)||e.tag===4}function Wr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Wp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Jt(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ni(e,a,t){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(e,a):(a=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,a.appendChild(e),t=t._reactRootContainer,t!=null||a.onclick!==null||(a.onclick=ft));else if(l!==4&&(l===27&&Jt(e.type)&&(t=e.stateNode,a=null),e=e.child,e!==null))for(Ni(e,a,t),e=e.sibling;e!==null;)Ni(e,a,t),e=e.sibling}function Bn(e,a,t){var l=e.tag;if(l===5||l===6)e=e.stateNode,a?t.insertBefore(e,a):t.appendChild(e);else if(l!==4&&(l===27&&Jt(e.type)&&(t=e.stateNode),e=e.child,e!==null))for(Bn(e,a,t),e=e.sibling;e!==null;)Bn(e,a,t),e=e.sibling}function $p(e){var a=e.stateNode,t=e.memoizedProps;try{for(var l=e.type,u=a.attributes;u.length;)a.removeAttributeNode(u[0]);Ye(a,l,t),a[Ve]=e,a[na]=t}catch(o){ce(e,e.return,o)}}var rt=!1,Ee=!1,$r=!1,Ed=typeof WeakSet=="function"?WeakSet:Set,ze=null;function xL(e,a){if(e=e.containerInfo,Yi=Vn,e=Nc(e),hf(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var l=t.getSelection&&t.getSelection();if(l&&l.rangeCount!==0){t=l.anchorNode;var u=l.anchorOffset,o=l.focusNode;l=l.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var r=0,f=-1,g=-1,d=0,L=0,x=e,h=null;a:for(;;){for(var y;x!==t||u!==0&&x.nodeType!==3||(f=r+u),x!==o||l!==0&&x.nodeType!==3||(g=r+l),x.nodeType===3&&(r+=x.nodeValue.length),(y=x.firstChild)!==null;)h=x,x=y;for(;;){if(x===e)break a;if(h===t&&++d===u&&(f=r),h===o&&++L===l&&(g=r),(y=x.nextSibling)!==null)break;x=h,h=x.parentNode}x=y}t=f===-1||g===-1?null:{start:f,end:g}}else t=null}t=t||{start:0,end:0}}else t=null;for(Zi={focusedElem:e,selectionRange:t},Vn=!1,ze=a;ze!==null;)if(a=ze,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,ze=e;else for(;ze!==null;){switch(a=ze,o=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(t=0;t<e.length;t++)u=e[t],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&o!==null){e=void 0,t=a,u=o.memoizedProps,o=o.memoizedState,l=t.stateNode;try{var I=hl(t.type,u);e=l.getSnapshotBeforeUpdate(I,o),l.__reactInternalSnapshotBeforeUpdate=e}catch(A){ce(t,t.return,A)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,t=e.nodeType,t===9)Ki(e);else if(t===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Ki(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(U(163))}if(e=a.sibling,e!==null){e.return=a.return,ze=e;break}ze=a.return}}function eh(e,a,t){var l=t.flags;switch(t.tag){case 0:case 11:case 15:ut(e,t),l&4&&Lo(5,t);break;case 1:if(ut(e,t),l&4)if(e=t.stateNode,a===null)try{e.componentDidMount()}catch(r){ce(t,t.return,r)}else{var u=hl(t.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(u,a,e.__reactInternalSnapshotBeforeUpdate)}catch(r){ce(t,t.return,r)}}l&64&&Qp(t),l&512&&Gu(t,t.return);break;case 3:if(ut(e,t),l&64&&(e=t.updateQueue,e!==null)){if(a=null,t.child!==null)switch(t.child.tag){case 27:case 5:a=t.child.stateNode;break;case 1:a=t.child.stateNode}try{up(e,a)}catch(r){ce(t,t.return,r)}}break;case 27:a===null&&l&4&&$p(t);case 26:case 5:ut(e,t),a===null&&l&4&&Jp(t),l&512&&Gu(t,t.return);break;case 12:ut(e,t);break;case 31:ut(e,t),l&4&&lh(e,t);break;case 13:ut(e,t),l&4&&uh(e,t),l&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=TL.bind(null,t),jL(e,t))));break;case 22:if(l=t.memoizedState!==null||rt,!l){a=a!==null&&a.memoizedState!==null||Ee,u=rt;var o=Ee;rt=l,(Ee=a)&&!o?ot(e,t,(t.subtreeFlags&8772)!==0):ut(e,t),rt=u,Ee=o}break;case 30:break;default:ut(e,t)}}function ah(e){var a=e.alternate;a!==null&&(e.alternate=null,ah(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&rf(a)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var we=null,la=!1;function lt(e,a,t){for(t=t.child;t!==null;)th(e,a,t),t=t.sibling}function th(e,a,t){if(ga&&typeof ga.onCommitFiberUnmount=="function")try{ga.onCommitFiberUnmount(fo,t)}catch{}switch(t.tag){case 26:Ee||Xa(t,a),lt(e,a,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:Ee||Xa(t,a);var l=we,u=la;Jt(t.type)&&(we=t.stateNode,la=!1),lt(e,a,t),Yu(t.stateNode),we=l,la=u;break;case 5:Ee||Xa(t,a);case 6:if(l=we,u=la,we=null,lt(e,a,t),we=l,la=u,we!==null)if(la)try{(we.nodeType===9?we.body:we.nodeName==="HTML"?we.ownerDocument.body:we).removeChild(t.stateNode)}catch(o){ce(t,a,o)}else try{we.removeChild(t.stateNode)}catch(o){ce(t,a,o)}break;case 18:we!==null&&(la?(e=we,Yd(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),nu(e)):Yd(we,t.stateNode));break;case 4:l=we,u=la,we=t.stateNode.containerInfo,la=!0,lt(e,a,t),we=l,la=u;break;case 0:case 11:case 14:case 15:Zt(2,t,a),Ee||Zt(4,t,a),lt(e,a,t);break;case 1:Ee||(Xa(t,a),l=t.stateNode,typeof l.componentWillUnmount=="function"&&Kp(t,a,l)),lt(e,a,t);break;case 21:lt(e,a,t);break;case 22:Ee=(l=Ee)||t.memoizedState!==null,lt(e,a,t),Ee=l;break;default:lt(e,a,t)}}function lh(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{nu(e)}catch(t){ce(a,a.return,t)}}}function uh(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{nu(e)}catch(t){ce(a,a.return,t)}}function yL(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new Ed),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new Ed),a;default:throw Error(U(435,e.tag))}}function Qo(e,a){var t=yL(e);a.forEach(function(l){if(!t.has(l)){t.add(l);var u=_L.bind(null,e,l);l.then(u,u)}})}function aa(e,a){var t=a.deletions;if(t!==null)for(var l=0;l<t.length;l++){var u=t[l],o=e,r=a,f=r;e:for(;f!==null;){switch(f.tag){case 27:if(Jt(f.type)){we=f.stateNode,la=!1;break e}break;case 5:we=f.stateNode,la=!1;break e;case 3:case 4:we=f.stateNode.containerInfo,la=!0;break e}f=f.return}if(we===null)throw Error(U(160));th(o,r,u),we=null,la=!1,o=u.alternate,o!==null&&(o.return=null),u.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)oh(a,e),a=a.sibling}var qa=null;function oh(e,a){var t=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:aa(a,e),ta(e),l&4&&(Zt(3,e,e.return),Lo(3,e),Zt(5,e,e.return));break;case 1:aa(a,e),ta(e),l&512&&(Ee||t===null||Xa(t,t.return)),l&64&&rt&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=t===null?l:t.concat(l))));break;case 26:var u=qa;if(aa(a,e),ta(e),l&512&&(Ee||t===null||Xa(t,t.return)),l&4){var o=t!==null?t.memoizedState:null;if(l=e.memoizedState,t===null)if(l===null)if(e.stateNode===null){e:{l=e.type,t=e.memoizedProps,u=u.ownerDocument||u;a:switch(l){case"title":o=u.getElementsByTagName("title")[0],(!o||o[po]||o[Ve]||o.namespaceURI==="http://www.w3.org/2000/svg"||o.hasAttribute("itemprop"))&&(o=u.createElement(l),u.head.insertBefore(o,u.querySelector("head > title"))),Ye(o,l,t),o[Ve]=e,He(o),l=o;break e;case"link":var r=ec("link","href",u).get(l+(t.href||""));if(r){for(var f=0;f<r.length;f++)if(o=r[f],o.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&o.getAttribute("rel")===(t.rel==null?null:t.rel)&&o.getAttribute("title")===(t.title==null?null:t.title)&&o.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){r.splice(f,1);break a}}o=u.createElement(l),Ye(o,l,t),u.head.appendChild(o);break;case"meta":if(r=ec("meta","content",u).get(l+(t.content||""))){for(f=0;f<r.length;f++)if(o=r[f],o.getAttribute("content")===(t.content==null?null:""+t.content)&&o.getAttribute("name")===(t.name==null?null:t.name)&&o.getAttribute("property")===(t.property==null?null:t.property)&&o.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&o.getAttribute("charset")===(t.charSet==null?null:t.charSet)){r.splice(f,1);break a}}o=u.createElement(l),Ye(o,l,t),u.head.appendChild(o);break;default:throw Error(U(468,l))}o[Ve]=e,He(o),l=o}e.stateNode=l}else ac(u,e.type,e.stateNode);else e.stateNode=$d(u,l,e.memoizedProps);else o!==l?(o===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):o.count--,l===null?ac(u,e.type,e.stateNode):$d(u,l,e.memoizedProps)):l===null&&e.stateNode!==null&&Jr(e,e.memoizedProps,t.memoizedProps)}break;case 27:aa(a,e),ta(e),l&512&&(Ee||t===null||Xa(t,t.return)),t!==null&&l&4&&Jr(e,e.memoizedProps,t.memoizedProps);break;case 5:if(aa(a,e),ta(e),l&512&&(Ee||t===null||Xa(t,t.return)),e.flags&32){u=e.stateNode;try{Wl(u,"")}catch(I){ce(e,e.return,I)}}l&4&&e.stateNode!=null&&(u=e.memoizedProps,Jr(e,u,t!==null?t.memoizedProps:u)),l&1024&&($r=!0);break;case 6:if(aa(a,e),ta(e),l&4){if(e.stateNode===null)throw Error(U(162));l=e.memoizedProps,t=e.stateNode;try{t.nodeValue=l}catch(I){ce(e,e.return,I)}}break;case 3:if(hn=null,u=qa,qa=Fn(a.containerInfo),aa(a,e),qa=u,ta(e),l&4&&t!==null&&t.memoizedState.isDehydrated)try{nu(a.containerInfo)}catch(I){ce(e,e.return,I)}$r&&($r=!1,nh(e));break;case 4:l=qa,qa=Fn(e.stateNode.containerInfo),aa(a,e),ta(e),qa=l;break;case 12:aa(a,e),ta(e);break;case 31:aa(a,e),ta(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Qo(e,l)));break;case 13:aa(a,e),ta(e),e.child.flags&8192&&e.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(lr=ma()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Qo(e,l)));break;case 22:u=e.memoizedState!==null;var g=t!==null&&t.memoizedState!==null,d=rt,L=Ee;if(rt=d||u,Ee=L||g,aa(a,e),Ee=L,rt=d,ta(e),l&8192)e:for(a=e.stateNode,a._visibility=u?a._visibility&-2:a._visibility|1,u&&(t===null||g||rt||Ee||ul(e)),t=null,a=e;;){if(a.tag===5||a.tag===26){if(t===null){g=t=a;try{if(o=g.stateNode,u)r=o.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{f=g.stateNode;var x=g.memoizedProps.style,h=x!=null&&x.hasOwnProperty("display")?x.display:null;f.style.display=h==null||typeof h=="boolean"?"":(""+h).trim()}}catch(I){ce(g,g.return,I)}}}else if(a.tag===6){if(t===null){g=a;try{g.stateNode.nodeValue=u?"":g.memoizedProps}catch(I){ce(g,g.return,I)}}}else if(a.tag===18){if(t===null){g=a;try{var y=g.stateNode;u?Zd(y,!0):Zd(g.stateNode,!1)}catch(I){ce(g,g.return,I)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;t===a&&(t=null),a=a.return}t===a&&(t=null),a.sibling.return=a.return,a=a.sibling}l&4&&(l=e.updateQueue,l!==null&&(t=l.retryQueue,t!==null&&(l.retryQueue=null,Qo(e,t))));break;case 19:aa(a,e),ta(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,Qo(e,l)));break;case 30:break;case 21:break;default:aa(a,e),ta(e)}}function ta(e){var a=e.flags;if(a&2){try{for(var t,l=e.return;l!==null;){if(Wp(l)){t=l;break}l=l.return}if(t==null)throw Error(U(160));switch(t.tag){case 27:var u=t.stateNode,o=Wr(e);Bn(e,o,u);break;case 5:var r=t.stateNode;t.flags&32&&(Wl(r,""),t.flags&=-33);var f=Wr(e);Bn(e,f,r);break;case 3:case 4:var g=t.stateNode.containerInfo,d=Wr(e);Ni(e,d,g);break;default:throw Error(U(161))}}catch(L){ce(e,e.return,L)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function nh(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;nh(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function ut(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)eh(e,a.alternate,a),a=a.sibling}function ul(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:Zt(4,a,a.return),ul(a);break;case 1:Xa(a,a.return);var t=a.stateNode;typeof t.componentWillUnmount=="function"&&Kp(a,a.return,t),ul(a);break;case 27:Yu(a.stateNode);case 26:case 5:Xa(a,a.return),ul(a);break;case 22:a.memoizedState===null&&ul(a);break;case 30:ul(a);break;default:ul(a)}e=e.sibling}}function ot(e,a,t){for(t=t&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var l=a.alternate,u=e,o=a,r=o.flags;switch(o.tag){case 0:case 11:case 15:ot(u,o,t),Lo(4,o);break;case 1:if(ot(u,o,t),l=o,u=l.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(d){ce(l,l.return,d)}if(l=o,u=l.updateQueue,u!==null){var f=l.stateNode;try{var g=u.shared.hiddenCallbacks;if(g!==null)for(u.shared.hiddenCallbacks=null,u=0;u<g.length;u++)lp(g[u],f)}catch(d){ce(l,l.return,d)}}t&&r&64&&Qp(o),Gu(o,o.return);break;case 27:$p(o);case 26:case 5:ot(u,o,t),t&&l===null&&r&4&&Jp(o),Gu(o,o.return);break;case 12:ot(u,o,t);break;case 31:ot(u,o,t),t&&r&4&&lh(u,o);break;case 13:ot(u,o,t),t&&r&4&&uh(u,o);break;case 22:o.memoizedState===null&&ot(u,o,t),Gu(o,o.return);break;case 30:break;default:ot(u,o,t)}a=a.sibling}}function Nf(e,a){var t=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==t&&(e!=null&&e.refCount++,t!=null&&mo(t))}function Ff(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&mo(e))}function Ua(e,a,t,l){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)rh(e,a,t,l),a=a.sibling}function rh(e,a,t,l){var u=a.flags;switch(a.tag){case 0:case 11:case 15:Ua(e,a,t,l),u&2048&&Lo(9,a);break;case 1:Ua(e,a,t,l);break;case 3:Ua(e,a,t,l),u&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&mo(e)));break;case 12:if(u&2048){Ua(e,a,t,l),e=a.stateNode;try{var o=a.memoizedProps,r=o.id,f=o.onPostCommit;typeof f=="function"&&f(r,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(g){ce(a,a.return,g)}}else Ua(e,a,t,l);break;case 31:Ua(e,a,t,l);break;case 13:Ua(e,a,t,l);break;case 23:break;case 22:o=a.stateNode,r=a.alternate,a.memoizedState!==null?o._visibility&2?Ua(e,a,t,l):Vu(e,a):o._visibility&2?Ua(e,a,t,l):(o._visibility|=2,Ml(e,a,t,l,(a.subtreeFlags&10256)!==0||!1)),u&2048&&Nf(r,a);break;case 24:Ua(e,a,t,l),u&2048&&Ff(a.alternate,a);break;default:Ua(e,a,t,l)}}function Ml(e,a,t,l,u){for(u=u&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var o=e,r=a,f=t,g=l,d=r.flags;switch(r.tag){case 0:case 11:case 15:Ml(o,r,f,g,u),Lo(8,r);break;case 23:break;case 22:var L=r.stateNode;r.memoizedState!==null?L._visibility&2?Ml(o,r,f,g,u):Vu(o,r):(L._visibility|=2,Ml(o,r,f,g,u)),u&&d&2048&&Nf(r.alternate,r);break;case 24:Ml(o,r,f,g,u),u&&d&2048&&Ff(r.alternate,r);break;default:Ml(o,r,f,g,u)}a=a.sibling}}function Vu(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var t=e,l=a,u=l.flags;switch(l.tag){case 22:Vu(t,l),u&2048&&Nf(l.alternate,l);break;case 24:Vu(t,l),u&2048&&Ff(l.alternate,l);break;default:Vu(t,l)}a=a.sibling}}var ku=8192;function _l(e,a,t){if(e.subtreeFlags&ku)for(e=e.child;e!==null;)ih(e,a,t),e=e.sibling}function ih(e,a,t){switch(e.tag){case 26:_l(e,a,t),e.flags&ku&&e.memoizedState!==null&&lx(t,qa,e.memoizedState,e.memoizedProps);break;case 5:_l(e,a,t);break;case 3:case 4:var l=qa;qa=Fn(e.stateNode.containerInfo),_l(e,a,t),qa=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=ku,ku=16777216,_l(e,a,t),ku=l):_l(e,a,t));break;default:_l(e,a,t)}}function fh(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function Tu(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var t=0;t<a.length;t++){var l=a[t];ze=l,dh(l,e)}fh(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)sh(e),e=e.sibling}function sh(e){switch(e.tag){case 0:case 11:case 15:Tu(e),e.flags&2048&&Zt(9,e,e.return);break;case 3:Tu(e);break;case 12:Tu(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,cn(e)):Tu(e);break;default:Tu(e)}}function cn(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var t=0;t<a.length;t++){var l=a[t];ze=l,dh(l,e)}fh(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:Zt(8,a,a.return),cn(a);break;case 22:t=a.stateNode,t._visibility&2&&(t._visibility&=-3,cn(a));break;default:cn(a)}e=e.sibling}}function dh(e,a){for(;ze!==null;){var t=ze;switch(t.tag){case 0:case 11:case 15:Zt(8,t,a);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var l=t.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:mo(t.memoizedState.cache)}if(l=t.child,l!==null)l.return=t,ze=l;else e:for(t=e;ze!==null;){l=ze;var u=l.sibling,o=l.return;if(ah(l),l===t){ze=null;break e}if(u!==null){u.return=o,ze=u;break e}ze=o}}}var CL={getCacheForType:function(e){var a=Xe(Be),t=a.data.get(e);return t===void 0&&(t=e(),a.data.set(e,t)),t},cacheSignal:function(){return Xe(Be).controller.signal}},SL=typeof WeakMap=="function"?WeakMap:Map,ie=0,ge=null,$=null,ae=0,de=0,da=null,kt=!1,du=!1,Pf=!1,xt=0,_e=0,Qt=0,fl=0,Gf=0,ha=0,tu=0,ju=null,ua=null,Fi=!1,lr=0,ch=0,kn=1/0,On=null,Ft=null,Oe=0,Pt=null,lu=null,pt=0,Pi=0,Gi=null,ph=null,Xu=0,Vi=null;function xa(){return(ie&2)!==0&&ae!==0?ae&-ae:X.T!==null?jf():vc()}function hh(){if(ha===0)if((ae&536870912)===0||le){var e=Ho;Ho<<=1,(Ho&3932160)===0&&(Ho=262144),ha=e}else ha=536870912;return e=Ca.current,e!==null&&(e.flags|=32),ha}function oa(e,a,t){(e===ge&&(de===2||de===9)||e.cancelPendingCommit!==null)&&(uu(e,0),Ot(e,ae,ha,!1)),co(e,t),((ie&2)===0||e!==ge)&&(e===ge&&((ie&2)===0&&(fl|=t),_e===4&&Ot(e,ae,ha,!1)),Qa(e))}function mh(e,a,t){if((ie&6)!==0)throw Error(U(327));var l=!t&&(a&127)===0&&(a&e.expiredLanes)===0||so(e,a),u=l?IL(e,a):ei(e,a,!0),o=l;do{if(u===0){du&&!l&&Ot(e,a,0,!1);break}else{if(t=e.current.alternate,o&&!vL(t)){u=ei(e,a,!1),o=!1;continue}if(u===2){if(o=a,e.errorRecoveryDisabledLanes&o)var r=0;else r=e.pendingLanes&-536870913,r=r!==0?r:r&536870912?536870912:0;if(r!==0){a=r;e:{var f=e;u=ju;var g=f.current.memoizedState.isDehydrated;if(g&&(uu(f,r).flags|=256),r=ei(f,r,!1),r!==2){if(Pf&&!g){f.errorRecoveryDisabledLanes|=o,fl|=o,u=4;break e}o=ua,ua=u,o!==null&&(ua===null?ua=o:ua.push.apply(ua,o))}u=r}if(o=!1,u!==2)continue}}if(u===1){uu(e,0),Ot(e,a,0,!0);break}e:{switch(l=e,o=u,o){case 0:case 1:throw Error(U(345));case 4:if((a&4194048)!==a)break;case 6:Ot(l,a,ha,!kt);break e;case 2:ua=null;break;case 3:case 5:break;default:throw Error(U(329))}if((a&62914560)===a&&(u=lr+300-ma(),10<u)){if(Ot(l,a,ha,!kt),Xn(l,0,!0)!==0)break e;pt=a,l.timeoutHandle=Oh(Bd.bind(null,l,t,ua,On,Fi,a,ha,fl,tu,kt,o,"Throttled",-0,0),u);break e}Bd(l,t,ua,On,Fi,a,ha,fl,tu,kt,o,null,-0,0)}}break}while(!0);Qa(e)}function Bd(e,a,t,l,u,o,r,f,g,d,L,x,h,y){if(e.timeoutHandle=-1,x=a.subtreeFlags,x&8192||(x&16785408)===16785408){x={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ft},ih(a,o,x);var I=(o&62914560)===o?lr-ma():(o&4194048)===o?ch-ma():0;if(I=ux(x,I),I!==null){pt=o,e.cancelPendingCommit=I(Od.bind(null,e,a,o,t,l,u,r,f,g,L,x,null,h,y)),Ot(e,o,r,!d);return}}Od(e,a,o,t,l,u,r,f,g)}function vL(e){for(var a=e;;){var t=a.tag;if((t===0||t===11||t===15)&&a.flags&16384&&(t=a.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var l=0;l<t.length;l++){var u=t[l],o=u.getSnapshot;u=u.value;try{if(!ya(o(),u))return!1}catch{return!1}}if(t=a.child,a.subtreeFlags&16384&&t!==null)t.return=a,a=t;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function Ot(e,a,t,l){a&=~Gf,a&=~fl,e.suspendedLanes|=a,e.pingedLanes&=~a,l&&(e.warmLanes|=a),l=e.expirationTimes;for(var u=a;0<u;){var o=31-La(u),r=1<<o;l[o]=-1,u&=~r}t!==0&&yc(e,t,a)}function ur(){return(ie&6)===0?(xo(0,!1),!1):!0}function Vf(){if($!==null){if(de===0)var e=$.return;else e=$,st=yl=null,Mf(e),Yl=null,eo=0,e=$;for(;e!==null;)Zp(e.alternate,e),e=e.return;$=null}}function uu(e,a){var t=e.timeoutHandle;t!==-1&&(e.timeoutHandle=-1,NL(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),pt=0,Vf(),ge=e,$=t=dt(e.current,null),ae=a,de=0,da=null,kt=!1,du=so(e,a),Pf=!1,tu=ha=Gf=fl=Qt=_e=0,ua=ju=null,Fi=!1,(a&8)!==0&&(a|=a&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=a;0<l;){var u=31-La(l),o=1<<u;a|=e[u],l&=~o}return xt=a,Kn(),t}function gh(e,a){K=null,X.H=to,a===su||a===Wn?(a=dd(),de=3):a===vf?(a=dd(),de=4):de=a===zf?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,da=a,$===null&&(_e=1,Dn(e,Ra(a,e.current)))}function Lh(){var e=Ca.current;return e===null?!0:(ae&4194048)===ae?Ea===null:(ae&62914560)===ae||(ae&536870912)!==0?e===Ea:!1}function xh(){var e=X.H;return X.H=to,e===null?to:e}function yh(){var e=X.A;return X.A=CL,e}function Un(){_e=4,kt||(ae&4194048)!==ae&&Ca.current!==null||(du=!0),(Qt&134217727)===0&&(fl&134217727)===0||ge===null||Ot(ge,ae,ha,!1)}function ei(e,a,t){var l=ie;ie|=2;var u=xh(),o=yh();(ge!==e||ae!==a)&&(On=null,uu(e,a)),a=!1;var r=_e;e:do try{if(de!==0&&$!==null){var f=$,g=da;switch(de){case 8:Vf(),r=6;break e;case 3:case 2:case 9:case 6:Ca.current===null&&(a=!0);var d=de;if(de=0,da=null,Pl(e,f,g,d),t&&du){r=0;break e}break;default:d=de,de=0,da=null,Pl(e,f,g,d)}}bL(),r=_e;break}catch(L){gh(e,L)}while(!0);return a&&e.shellSuspendCounter++,st=yl=null,ie=l,X.H=u,X.A=o,$===null&&(ge=null,ae=0,Kn()),r}function bL(){for(;$!==null;)Ch($)}function IL(e,a){var t=ie;ie|=2;var l=xh(),u=yh();ge!==e||ae!==a?(On=null,kn=ma()+500,uu(e,a)):du=so(e,a);e:do try{if(de!==0&&$!==null){a=$;var o=da;a:switch(de){case 1:de=0,da=null,Pl(e,a,o,1);break;case 2:case 9:if(sd(o)){de=0,da=null,kd(a);break}a=function(){de!==2&&de!==9||ge!==e||(de=7),Qa(e)},o.then(a,a);break e;case 3:de=7;break e;case 4:de=5;break e;case 7:sd(o)?(de=0,da=null,kd(a)):(de=0,da=null,Pl(e,a,o,7));break;case 5:var r=null;switch($.tag){case 26:r=$.memoizedState;case 5:case 27:var f=$;if(r?Nh(r):f.stateNode.complete){de=0,da=null;var g=f.sibling;if(g!==null)$=g;else{var d=f.return;d!==null?($=d,or(d)):$=null}break a}}de=0,da=null,Pl(e,a,o,5);break;case 6:de=0,da=null,Pl(e,a,o,6);break;case 8:Vf(),_e=6;break e;default:throw Error(U(462))}}wL();break}catch(L){gh(e,L)}while(!0);return st=yl=null,X.H=l,X.A=u,ie=t,$!==null?0:(ge=null,ae=0,Kn(),_e)}function wL(){for(;$!==null&&!Zm();)Ch($)}function Ch(e){var a=Yp(e.alternate,e,xt);e.memoizedProps=e.pendingProps,a===null?or(e):$=a}function kd(e){var a=e,t=a.alternate;switch(a.tag){case 15:case 0:a=Td(t,a,a.pendingProps,a.type,void 0,ae);break;case 11:a=Td(t,a,a.pendingProps,a.type.render,a.ref,ae);break;case 5:Mf(a);default:Zp(t,a),a=$=Zc(a,xt),a=Yp(t,a,xt)}e.memoizedProps=e.pendingProps,a===null?or(e):$=a}function Pl(e,a,t,l){st=yl=null,Mf(a),Yl=null,eo=0;var u=a.return;try{if(pL(e,u,a,t,ae)){_e=1,Dn(e,Ra(t,e.current)),$=null;return}}catch(o){if(u!==null)throw $=u,o;_e=1,Dn(e,Ra(t,e.current)),$=null;return}a.flags&32768?(le||l===1?e=!0:du||(ae&536870912)!==0?e=!1:(kt=e=!0,(l===2||l===9||l===3||l===6)&&(l=Ca.current,l!==null&&l.tag===13&&(l.flags|=16384))),Sh(a,e)):or(a)}function or(e){var a=e;do{if((a.flags&32768)!==0){Sh(a,kt);return}e=a.return;var t=gL(a.alternate,a,xt);if(t!==null){$=t;return}if(a=a.sibling,a!==null){$=a;return}$=a=e}while(a!==null);_e===0&&(_e=5)}function Sh(e,a){do{var t=LL(e.alternate,e);if(t!==null){t.flags&=32767,$=t;return}if(t=e.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!a&&(e=e.sibling,e!==null)){$=e;return}$=e=t}while(e!==null);_e=6,$=null}function Od(e,a,t,l,u,o,r,f,g){e.cancelPendingCommit=null;do nr();while(Oe!==0);if((ie&6)!==0)throw Error(U(327));if(a!==null){if(a===e.current)throw Error(U(177));if(o=a.lanes|a.childLanes,o|=mf,ug(e,t,o,r,f,g),e===ge&&($=ge=null,ae=0),lu=a,Pt=e,pt=t,Pi=o,Gi=u,ph=l,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ML(Cn,function(){return Ah(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||l){l=X.T,X.T=null,u=fe.p,fe.p=2,r=ie,ie|=4;try{xL(e,a,t)}finally{ie=r,fe.p=u,X.T=l}}Oe=1,vh(),bh(),Ih()}}function vh(){if(Oe===1){Oe=0;var e=Pt,a=lu,t=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||t){t=X.T,X.T=null;var l=fe.p;fe.p=2;var u=ie;ie|=4;try{oh(a,e);var o=Zi,r=Nc(e.containerInfo),f=o.focusedElem,g=o.selectionRange;if(r!==f&&f&&f.ownerDocument&&Hc(f.ownerDocument.documentElement,f)){if(g!==null&&hf(f)){var d=g.start,L=g.end;if(L===void 0&&(L=d),"selectionStart"in f)f.selectionStart=d,f.selectionEnd=Math.min(L,f.value.length);else{var x=f.ownerDocument||document,h=x&&x.defaultView||window;if(h.getSelection){var y=h.getSelection(),I=f.textContent.length,A=Math.min(g.start,I),E=g.end===void 0?A:Math.min(g.end,I);!y.extend&&A>E&&(r=E,E=A,A=r);var s=ld(f,A),c=ld(f,E);if(s&&c&&(y.rangeCount!==1||y.anchorNode!==s.node||y.anchorOffset!==s.offset||y.focusNode!==c.node||y.focusOffset!==c.offset)){var m=x.createRange();m.setStart(s.node,s.offset),y.removeAllRanges(),A>E?(y.addRange(m),y.extend(c.node,c.offset)):(m.setEnd(c.node,c.offset),y.addRange(m))}}}}for(x=[],y=f;y=y.parentNode;)y.nodeType===1&&x.push({element:y,left:y.scrollLeft,top:y.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<x.length;f++){var C=x[f];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}Vn=!!Yi,Zi=Yi=null}finally{ie=u,fe.p=l,X.T=t}}e.current=a,Oe=2}}function bh(){if(Oe===2){Oe=0;var e=Pt,a=lu,t=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||t){t=X.T,X.T=null;var l=fe.p;fe.p=2;var u=ie;ie|=4;try{eh(e,a.alternate,a)}finally{ie=u,fe.p=l,X.T=t}}Oe=3}}function Ih(){if(Oe===4||Oe===3){Oe=0,Qm();var e=Pt,a=lu,t=pt,l=ph;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?Oe=5:(Oe=0,lu=Pt=null,wh(e,e.pendingLanes));var u=e.pendingLanes;if(u===0&&(Ft=null),nf(t),a=a.stateNode,ga&&typeof ga.onCommitFiberRoot=="function")try{ga.onCommitFiberRoot(fo,a,void 0,(a.current.flags&128)===128)}catch{}if(l!==null){a=X.T,u=fe.p,fe.p=2,X.T=null;try{for(var o=e.onRecoverableError,r=0;r<l.length;r++){var f=l[r];o(f.value,{componentStack:f.stack})}}finally{X.T=a,fe.p=u}}(pt&3)!==0&&nr(),Qa(e),u=e.pendingLanes,(t&261930)!==0&&(u&42)!==0?e===Vi?Xu++:(Xu=0,Vi=e):Xu=0,xo(0,!1)}}function wh(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,mo(a)))}function nr(){return vh(),bh(),Ih(),Ah()}function Ah(){if(Oe!==5)return!1;var e=Pt,a=Pi;Pi=0;var t=nf(pt),l=X.T,u=fe.p;try{fe.p=32>t?32:t,X.T=null,t=Gi,Gi=null;var o=Pt,r=pt;if(Oe=0,lu=Pt=null,pt=0,(ie&6)!==0)throw Error(U(331));var f=ie;if(ie|=4,sh(o.current),rh(o,o.current,r,t),ie=f,xo(0,!1),ga&&typeof ga.onPostCommitFiberRoot=="function")try{ga.onPostCommitFiberRoot(fo,o)}catch{}return!0}finally{fe.p=u,X.T=l,wh(e,a)}}function Ud(e,a,t){a=Ra(t,a),a=qi(e.stateNode,a,2),e=Nt(e,a,2),e!==null&&(co(e,2),Qa(e))}function ce(e,a,t){if(e.tag===3)Ud(e,e,t);else for(;a!==null;){if(a.tag===3){Ud(a,e,t);break}else if(a.tag===1){var l=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ft===null||!Ft.has(l))){e=Ra(t,e),t=Fp(2),l=Nt(a,t,2),l!==null&&(Pp(t,l,a,e),co(l,2),Qa(l));break}}a=a.return}}function ai(e,a,t){var l=e.pingCache;if(l===null){l=e.pingCache=new SL;var u=new Set;l.set(a,u)}else u=l.get(a),u===void 0&&(u=new Set,l.set(a,u));u.has(t)||(Pf=!0,u.add(t),e=AL.bind(null,e,a,t),a.then(e,e))}function AL(e,a,t){var l=e.pingCache;l!==null&&l.delete(a),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,ge===e&&(ae&t)===t&&(_e===4||_e===3&&(ae&62914560)===ae&&300>ma()-lr?(ie&2)===0&&uu(e,0):Gf|=t,tu===ae&&(tu=0)),Qa(e)}function Th(e,a){a===0&&(a=xc()),e=xl(e,a),e!==null&&(co(e,a),Qa(e))}function TL(e){var a=e.memoizedState,t=0;a!==null&&(t=a.retryLane),Th(e,t)}function _L(e,a){var t=0;switch(e.tag){case 31:case 13:var l=e.stateNode,u=e.memoizedState;u!==null&&(t=u.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(U(314))}l!==null&&l.delete(a),Th(e,t)}function ML(e,a){return uf(e,a)}var qn=null,Rl=null,ji=!1,zn=!1,ti=!1,Ut=0;function Qa(e){e!==Rl&&e.next===null&&(Rl===null?qn=Rl=e:Rl=Rl.next=e),zn=!0,ji||(ji=!0,DL())}function xo(e,a){if(!ti&&zn){ti=!0;do for(var t=!1,l=qn;l!==null;){if(!a)if(e!==0){var u=l.pendingLanes;if(u===0)var o=0;else{var r=l.suspendedLanes,f=l.pingedLanes;o=(1<<31-La(42|e)+1)-1,o&=u&~(r&~f),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(t=!0,qd(l,o))}else o=ae,o=Xn(l,l===ge?o:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(o&3)===0||so(l,o)||(t=!0,qd(l,o));l=l.next}while(t);ti=!1}}function RL(){_h()}function _h(){zn=ji=!1;var e=0;Ut!==0&&HL()&&(e=Ut);for(var a=ma(),t=null,l=qn;l!==null;){var u=l.next,o=Mh(l,a);o===0?(l.next=null,t===null?qn=u:t.next=u,u===null&&(Rl=t)):(t=l,(e!==0||(o&3)!==0)&&(zn=!0)),l=u}Oe!==0&&Oe!==5||xo(e,!1),Ut!==0&&(Ut=0)}function Mh(e,a){for(var t=e.suspendedLanes,l=e.pingedLanes,u=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var r=31-La(o),f=1<<r,g=u[r];g===-1?((f&t)===0||(f&l)!==0)&&(u[r]=lg(f,a)):g<=a&&(e.expiredLanes|=f),o&=~f}if(a=ge,t=ae,t=Xn(e,e===a?t:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,t===0||e===a&&(de===2||de===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Dr(l),e.callbackNode=null,e.callbackPriority=0;if((t&3)===0||so(e,t)){if(a=t&-t,a===e.callbackPriority)return a;switch(l!==null&&Dr(l),nf(t)){case 2:case 8:t=gc;break;case 32:t=Cn;break;case 268435456:t=Lc;break;default:t=Cn}return l=Rh.bind(null,e),t=uf(t,l),e.callbackPriority=a,e.callbackNode=t,a}return l!==null&&l!==null&&Dr(l),e.callbackPriority=2,e.callbackNode=null,2}function Rh(e,a){if(Oe!==0&&Oe!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(nr()&&e.callbackNode!==t)return null;var l=ae;return l=Xn(e,e===ge?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(mh(e,l,a),Mh(e,ma()),e.callbackNode!=null&&e.callbackNode===t?Rh.bind(null,e):null)}function qd(e,a){if(nr())return null;mh(e,a,!0)}function DL(){FL(function(){(ie&6)!==0?uf(mc,RL):_h()})}function jf(){if(Ut===0){var e=$l;e===0&&(e=zo,zo<<=1,(zo&261888)===0&&(zo=256)),Ut=e}return Ut}function zd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:tn(""+e)}function Hd(e,a){var t=a.ownerDocument.createElement("input");return t.name=a.name,t.value=a.value,e.id&&t.setAttribute("form",e.id),a.parentNode.insertBefore(t,a),e=new FormData(e),t.parentNode.removeChild(t),e}function EL(e,a,t,l,u){if(a==="submit"&&t&&t.stateNode===u){var o=zd((u[na]||null).action),r=l.submitter;r&&(a=(a=r[na]||null)?zd(a.formAction):r.getAttribute("formAction"),a!==null&&(o=a,r=null));var f=new Yn("action","action",null,l,u);e.push({event:f,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ut!==0){var g=r?Hd(u,r):new FormData(u);Oi(t,{pending:!0,data:g,method:u.method,action:o},null,g)}}else typeof o=="function"&&(f.preventDefault(),g=r?Hd(u,r):new FormData(u),Oi(t,{pending:!0,data:g,method:u.method,action:o},o,g))},currentTarget:u}]})}}for(Ko=0;Ko<bi.length;Ko++)Jo=bi[Ko],Nd=Jo.toLowerCase(),Fd=Jo[0].toUpperCase()+Jo.slice(1),za(Nd,"on"+Fd);var Jo,Nd,Fd,Ko;za(Pc,"onAnimationEnd");za(Gc,"onAnimationIteration");za(Vc,"onAnimationStart");za("dblclick","onDoubleClick");za("focusin","onFocus");za("focusout","onBlur");za(Kg,"onTransitionRun");za(Jg,"onTransitionStart");za(Wg,"onTransitionCancel");za(jc,"onTransitionEnd");Jl("onMouseEnter",["mouseout","mouseover"]);Jl("onMouseLeave",["mouseout","mouseover"]);Jl("onPointerEnter",["pointerout","pointerover"]);Jl("onPointerLeave",["pointerout","pointerover"]);ml("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ml("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ml("onBeforeInput",["compositionend","keypress","textInput","paste"]);ml("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ml("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ml("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lo="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(" "),BL=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lo));function Dh(e,a){a=(a&4)!==0;for(var t=0;t<e.length;t++){var l=e[t],u=l.event;l=l.listeners;e:{var o=void 0;if(a)for(var r=l.length-1;0<=r;r--){var f=l[r],g=f.instance,d=f.currentTarget;if(f=f.listener,g!==o&&u.isPropagationStopped())break e;o=f,u.currentTarget=d;try{o(u)}catch(L){vn(L)}u.currentTarget=null,o=g}else for(r=0;r<l.length;r++){if(f=l[r],g=f.instance,d=f.currentTarget,f=f.listener,g!==o&&u.isPropagationStopped())break e;o=f,u.currentTarget=d;try{o(u)}catch(L){vn(L)}u.currentTarget=null,o=g}}}}function W(e,a){var t=a[mi];t===void 0&&(t=a[mi]=new Set);var l=e+"__bubble";t.has(l)||(Eh(a,e,2,!1),t.add(l))}function li(e,a,t){var l=0;a&&(l|=4),Eh(t,e,l,a)}var Wo="_reactListening"+Math.random().toString(36).slice(2);function Xf(e){if(!e[Wo]){e[Wo]=!0,bc.forEach(function(t){t!=="selectionchange"&&(BL.has(t)||li(t,!1,e),li(t,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[Wo]||(a[Wo]=!0,li("selectionchange",!1,a))}}function Eh(e,a,t,l){switch(jh(a)){case 2:var u=rx;break;case 8:u=ix;break;default:u=Kf}t=u.bind(null,a,t,e),u=void 0,!Ci||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(u=!0),l?u!==void 0?e.addEventListener(a,t,{capture:!0,passive:u}):e.addEventListener(a,t,!0):u!==void 0?e.addEventListener(a,t,{passive:u}):e.addEventListener(a,t,!1)}function ui(e,a,t,l,u){var o=l;if((a&1)===0&&(a&2)===0&&l!==null)e:for(;;){if(l===null)return;var r=l.tag;if(r===3||r===4){var f=l.stateNode.containerInfo;if(f===u)break;if(r===4)for(r=l.return;r!==null;){var g=r.tag;if((g===3||g===4)&&r.stateNode.containerInfo===u)return;r=r.return}for(;f!==null;){if(r=Bl(f),r===null)return;if(g=r.tag,g===5||g===6||g===26||g===27){l=o=r;continue e}f=f.parentNode}}l=l.return}Dc(function(){var d=o,L=sf(t),x=[];e:{var h=Xc.get(e);if(h!==void 0){var y=Yn,I=e;switch(e){case"keypress":if(un(t)===0)break e;case"keydown":case"keyup":y=_g;break;case"focusin":I="focus",y=Ur;break;case"focusout":I="blur",y=Ur;break;case"beforeblur":case"afterblur":y=Ur;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":y=Zs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":y=gg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":y=Dg;break;case Pc:case Gc:case Vc:y=yg;break;case jc:y=Bg;break;case"scroll":case"scrollend":y=hg;break;case"wheel":y=Og;break;case"copy":case"cut":case"paste":y=Sg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":y=Ks;break;case"toggle":case"beforetoggle":y=qg}var A=(a&4)!==0,E=!A&&(e==="scroll"||e==="scrollend"),s=A?h!==null?h+"Capture":null:h;A=[];for(var c=d,m;c!==null;){var C=c;if(m=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||m===null||s===null||(C=Qu(c,s),C!=null&&A.push(uo(c,C,m))),E)break;c=c.return}0<A.length&&(h=new y(h,I,null,t,L),x.push({event:h,listeners:A}))}}if((a&7)===0){e:{if(h=e==="mouseover"||e==="pointerover",y=e==="mouseout"||e==="pointerout",h&&t!==yi&&(I=t.relatedTarget||t.fromElement)&&(Bl(I)||I[ru]))break e;if((y||h)&&(h=L.window===L?L:(h=L.ownerDocument)?h.defaultView||h.parentWindow:window,y?(I=t.relatedTarget||t.toElement,y=d,I=I?Bl(I):null,I!==null&&(E=io(I),A=I.tag,I!==E||A!==5&&A!==27&&A!==6)&&(I=null)):(y=null,I=d),y!==I)){if(A=Zs,C="onMouseLeave",s="onMouseEnter",c="mouse",(e==="pointerout"||e==="pointerover")&&(A=Ks,C="onPointerLeave",s="onPointerEnter",c="pointer"),E=y==null?h:Eu(y),m=I==null?h:Eu(I),h=new A(C,c+"leave",y,t,L),h.target=E,h.relatedTarget=m,C=null,Bl(L)===d&&(A=new A(s,c+"enter",I,t,L),A.target=m,A.relatedTarget=E,C=A),E=C,y&&I)a:{for(A=kL,s=y,c=I,m=0,C=s;C;C=A(C))m++;C=0;for(var S=c;S;S=A(S))C++;for(;0<m-C;)s=A(s),m--;for(;0<C-m;)c=A(c),C--;for(;m--;){if(s===c||c!==null&&s===c.alternate){A=s;break a}s=A(s),c=A(c)}A=null}else A=null;y!==null&&Pd(x,h,y,A,!1),I!==null&&E!==null&&Pd(x,E,I,A,!0)}}e:{if(h=d?Eu(d):window,y=h.nodeName&&h.nodeName.toLowerCase(),y==="select"||y==="input"&&h.type==="file")var T=ed;else if($s(h))if(qc)T=Yg;else{T=jg;var _=Vg}else y=h.nodeName,!y||y.toLowerCase()!=="input"||h.type!=="checkbox"&&h.type!=="radio"?d&&ff(d.elementType)&&(T=ed):T=Xg;if(T&&(T=T(e,d))){Uc(x,T,t,L);break e}_&&_(e,h,d),e==="focusout"&&d&&h.type==="number"&&d.memoizedProps.value!=null&&xi(h,"number",h.value)}switch(_=d?Eu(d):window,e){case"focusin":($s(_)||_.contentEditable==="true")&&(Ul=_,Si=d,qu=null);break;case"focusout":qu=Si=Ul=null;break;case"mousedown":vi=!0;break;case"contextmenu":case"mouseup":case"dragend":vi=!1,ud(x,t,L);break;case"selectionchange":if(Qg)break;case"keydown":case"keyup":ud(x,t,L)}var b;if(pf)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else Ol?kc(e,t)&&(w="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(w="onCompositionStart");w&&(Bc&&t.locale!=="ko"&&(Ol||w!=="onCompositionStart"?w==="onCompositionEnd"&&Ol&&(b=Ec()):(Bt=L,df="value"in Bt?Bt.value:Bt.textContent,Ol=!0)),_=Hn(d,w),0<_.length&&(w=new Qs(w,e,null,t,L),x.push({event:w,listeners:_}),b?w.data=b:(b=Oc(t),b!==null&&(w.data=b)))),(b=Hg?Ng(e,t):Fg(e,t))&&(w=Hn(d,"onBeforeInput"),0<w.length&&(_=new Qs("onBeforeInput","beforeinput",null,t,L),x.push({event:_,listeners:w}),_.data=b)),EL(x,e,d,t,L)}Dh(x,a)})}function uo(e,a,t){return{instance:e,listener:a,currentTarget:t}}function Hn(e,a){for(var t=a+"Capture",l=[];e!==null;){var u=e,o=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||o===null||(u=Qu(e,t),u!=null&&l.unshift(uo(e,u,o)),u=Qu(e,a),u!=null&&l.push(uo(e,u,o))),e.tag===3)return l;e=e.return}return[]}function kL(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Pd(e,a,t,l,u){for(var o=a._reactName,r=[];t!==null&&t!==l;){var f=t,g=f.alternate,d=f.stateNode;if(f=f.tag,g!==null&&g===l)break;f!==5&&f!==26&&f!==27||d===null||(g=d,u?(d=Qu(t,o),d!=null&&r.unshift(uo(t,d,g))):u||(d=Qu(t,o),d!=null&&r.push(uo(t,d,g)))),t=t.return}r.length!==0&&e.push({event:a,listeners:r})}var OL=/\r\n?/g,UL=/\u0000|\uFFFD/g;function Gd(e){return(typeof e=="string"?e:""+e).replace(OL,`
|
|
9
|
+
`).replace(UL,"")}function Bh(e,a){return a=Gd(a),Gd(e)===a}function pe(e,a,t,l,u,o){switch(t){case"children":typeof l=="string"?a==="body"||a==="textarea"&&l===""||Wl(e,l):(typeof l=="number"||typeof l=="bigint")&&a!=="body"&&Wl(e,""+l);break;case"className":Fo(e,"class",l);break;case"tabIndex":Fo(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Fo(e,t,l);break;case"style":Rc(e,l,o);break;case"data":if(a!=="object"){Fo(e,"data",l);break}case"src":case"href":if(l===""&&(a!=="a"||t!=="href")){e.removeAttribute(t);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=tn(""+l),e.setAttribute(t,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(t,"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 o=="function"&&(t==="formAction"?(a!=="input"&&pe(e,a,"name",u.name,u,null),pe(e,a,"formEncType",u.formEncType,u,null),pe(e,a,"formMethod",u.formMethod,u,null),pe(e,a,"formTarget",u.formTarget,u,null)):(pe(e,a,"encType",u.encType,u,null),pe(e,a,"method",u.method,u,null),pe(e,a,"target",u.target,u,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(t);break}l=tn(""+l),e.setAttribute(t,l);break;case"onClick":l!=null&&(e.onclick=ft);break;case"onScroll":l!=null&&W("scroll",e);break;case"onScrollEnd":l!=null&&W("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(U(61));if(t=l.__html,t!=null){if(u.children!=null)throw Error(U(60));e.innerHTML=t}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}t=tn(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,""+l):e.removeAttribute(t);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":l===!0?e.setAttribute(t,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(t,l):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(t,l):e.removeAttribute(t);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(t):e.setAttribute(t,l);break;case"popover":W("beforetoggle",e),W("toggle",e),an(e,"popover",l);break;case"xlinkActuate":at(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":at(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":at(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":at(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":at(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":at(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":at(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":at(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":at(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":an(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=cg.get(t)||t,an(e,t,l))}}function Xi(e,a,t,l,u,o){switch(t){case"style":Rc(e,l,o);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(U(61));if(t=l.__html,t!=null){if(u.children!=null)throw Error(U(60));e.innerHTML=t}}break;case"children":typeof l=="string"?Wl(e,l):(typeof l=="number"||typeof l=="bigint")&&Wl(e,""+l);break;case"onScroll":l!=null&&W("scroll",e);break;case"onScrollEnd":l!=null&&W("scrollend",e);break;case"onClick":l!=null&&(e.onclick=ft);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ic.hasOwnProperty(t))e:{if(t[0]==="o"&&t[1]==="n"&&(u=t.endsWith("Capture"),a=t.slice(2,u?t.length-7:void 0),o=e[na]||null,o=o!=null?o[t]:null,typeof o=="function"&&e.removeEventListener(a,o,u),typeof l=="function")){typeof o!="function"&&o!==null&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(a,l,u);break e}t in e?e[t]=l:l===!0?e.setAttribute(t,""):an(e,t,l)}}}function Ye(e,a,t){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":W("error",e),W("load",e);var l=!1,u=!1,o;for(o in t)if(t.hasOwnProperty(o)){var r=t[o];if(r!=null)switch(o){case"src":l=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(U(137,a));default:pe(e,a,o,r,t,null)}}u&&pe(e,a,"srcSet",t.srcSet,t,null),l&&pe(e,a,"src",t.src,t,null);return;case"input":W("invalid",e);var f=o=r=u=null,g=null,d=null;for(l in t)if(t.hasOwnProperty(l)){var L=t[l];if(L!=null)switch(l){case"name":u=L;break;case"type":r=L;break;case"checked":g=L;break;case"defaultChecked":d=L;break;case"value":o=L;break;case"defaultValue":f=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(U(137,a));break;default:pe(e,a,l,L,t,null)}}Tc(e,o,f,g,d,r,u,!1);return;case"select":W("invalid",e),l=r=o=null;for(u in t)if(t.hasOwnProperty(u)&&(f=t[u],f!=null))switch(u){case"value":o=f;break;case"defaultValue":r=f;break;case"multiple":l=f;default:pe(e,a,u,f,t,null)}a=o,t=r,e.multiple=!!l,a!=null?Vl(e,!!l,a,!1):t!=null&&Vl(e,!!l,t,!0);return;case"textarea":W("invalid",e),o=u=l=null;for(r in t)if(t.hasOwnProperty(r)&&(f=t[r],f!=null))switch(r){case"value":l=f;break;case"defaultValue":u=f;break;case"children":o=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(U(91));break;default:pe(e,a,r,f,t,null)}Mc(e,l,u,o);return;case"option":for(g in t)t.hasOwnProperty(g)&&(l=t[g],l!=null)&&(g==="selected"?e.selected=l&&typeof l!="function"&&typeof l!="symbol":pe(e,a,g,l,t,null));return;case"dialog":W("beforetoggle",e),W("toggle",e),W("cancel",e),W("close",e);break;case"iframe":case"object":W("load",e);break;case"video":case"audio":for(l=0;l<lo.length;l++)W(lo[l],e);break;case"image":W("error",e),W("load",e);break;case"details":W("toggle",e);break;case"embed":case"source":case"link":W("error",e),W("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(d in t)if(t.hasOwnProperty(d)&&(l=t[d],l!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(U(137,a));default:pe(e,a,d,l,t,null)}return;default:if(ff(a)){for(L in t)t.hasOwnProperty(L)&&(l=t[L],l!==void 0&&Xi(e,a,L,l,t,void 0));return}}for(f in t)t.hasOwnProperty(f)&&(l=t[f],l!=null&&pe(e,a,f,l,t,null))}function qL(e,a,t,l){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,o=null,r=null,f=null,g=null,d=null,L=null;for(y in t){var x=t[y];if(t.hasOwnProperty(y)&&x!=null)switch(y){case"checked":break;case"value":break;case"defaultValue":g=x;default:l.hasOwnProperty(y)||pe(e,a,y,null,l,x)}}for(var h in l){var y=l[h];if(x=t[h],l.hasOwnProperty(h)&&(y!=null||x!=null))switch(h){case"type":o=y;break;case"name":u=y;break;case"checked":d=y;break;case"defaultChecked":L=y;break;case"value":r=y;break;case"defaultValue":f=y;break;case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(U(137,a));break;default:y!==x&&pe(e,a,h,y,l,x)}}Li(e,r,f,g,d,L,o,u);return;case"select":y=r=f=h=null;for(o in t)if(g=t[o],t.hasOwnProperty(o)&&g!=null)switch(o){case"value":break;case"multiple":y=g;default:l.hasOwnProperty(o)||pe(e,a,o,null,l,g)}for(u in l)if(o=l[u],g=t[u],l.hasOwnProperty(u)&&(o!=null||g!=null))switch(u){case"value":h=o;break;case"defaultValue":f=o;break;case"multiple":r=o;default:o!==g&&pe(e,a,u,o,l,g)}a=f,t=r,l=y,h!=null?Vl(e,!!t,h,!1):!!l!=!!t&&(a!=null?Vl(e,!!t,a,!0):Vl(e,!!t,t?[]:"",!1));return;case"textarea":y=h=null;for(f in t)if(u=t[f],t.hasOwnProperty(f)&&u!=null&&!l.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:pe(e,a,f,null,l,u)}for(r in l)if(u=l[r],o=t[r],l.hasOwnProperty(r)&&(u!=null||o!=null))switch(r){case"value":h=u;break;case"defaultValue":y=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(U(91));break;default:u!==o&&pe(e,a,r,u,l,o)}_c(e,h,y);return;case"option":for(var I in t)h=t[I],t.hasOwnProperty(I)&&h!=null&&!l.hasOwnProperty(I)&&(I==="selected"?e.selected=!1:pe(e,a,I,null,l,h));for(g in l)h=l[g],y=t[g],l.hasOwnProperty(g)&&h!==y&&(h!=null||y!=null)&&(g==="selected"?e.selected=h&&typeof h!="function"&&typeof h!="symbol":pe(e,a,g,h,l,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 A in t)h=t[A],t.hasOwnProperty(A)&&h!=null&&!l.hasOwnProperty(A)&&pe(e,a,A,null,l,h);for(d in l)if(h=l[d],y=t[d],l.hasOwnProperty(d)&&h!==y&&(h!=null||y!=null))switch(d){case"children":case"dangerouslySetInnerHTML":if(h!=null)throw Error(U(137,a));break;default:pe(e,a,d,h,l,y)}return;default:if(ff(a)){for(var E in t)h=t[E],t.hasOwnProperty(E)&&h!==void 0&&!l.hasOwnProperty(E)&&Xi(e,a,E,void 0,l,h);for(L in l)h=l[L],y=t[L],!l.hasOwnProperty(L)||h===y||h===void 0&&y===void 0||Xi(e,a,L,h,l,y);return}}for(var s in t)h=t[s],t.hasOwnProperty(s)&&h!=null&&!l.hasOwnProperty(s)&&pe(e,a,s,null,l,h);for(x in l)h=l[x],y=t[x],!l.hasOwnProperty(x)||h===y||h==null&&y==null||pe(e,a,x,h,l,y)}function Vd(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function zL(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,t=performance.getEntriesByType("resource"),l=0;l<t.length;l++){var u=t[l],o=u.transferSize,r=u.initiatorType,f=u.duration;if(o&&f&&Vd(r)){for(r=0,f=u.responseEnd,l+=1;l<t.length;l++){var g=t[l],d=g.startTime;if(d>f)break;var L=g.transferSize,x=g.initiatorType;L&&Vd(x)&&(g=g.responseEnd,r+=L*(g<f?1:(f-d)/(g-d)))}if(--l,a+=8*(o+r)/(u.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Yi=null,Zi=null;function Nn(e){return e.nodeType===9?e:e.ownerDocument}function jd(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function kh(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function Qi(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var oi=null;function HL(){var e=window.event;return e&&e.type==="popstate"?e===oi?!1:(oi=e,!0):(oi=null,!1)}var Oh=typeof setTimeout=="function"?setTimeout:void 0,NL=typeof clearTimeout=="function"?clearTimeout:void 0,Xd=typeof Promise=="function"?Promise:void 0,FL=typeof queueMicrotask=="function"?queueMicrotask:typeof Xd<"u"?function(e){return Xd.resolve(null).then(e).catch(PL)}:Oh;function PL(e){setTimeout(function(){throw e})}function Jt(e){return e==="head"}function Yd(e,a){var t=a,l=0;do{var u=t.nextSibling;if(e.removeChild(t),u&&u.nodeType===8)if(t=u.data,t==="/$"||t==="/&"){if(l===0){e.removeChild(u),nu(a);return}l--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")l++;else if(t==="html")Yu(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,Yu(t);for(var o=t.firstChild;o;){var r=o.nextSibling,f=o.nodeName;o[po]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&o.rel.toLowerCase()==="stylesheet"||t.removeChild(o),o=r}}else t==="body"&&Yu(e.ownerDocument.body);t=u}while(t);nu(a)}function Zd(e,a){var t=e;e=0;do{var l=t.nextSibling;if(t.nodeType===1?a?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(a?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(e===0)break;e--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||e++;t=l}while(t)}function Ki(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var t=a;switch(a=a.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":Ki(t),rf(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function GL(e,a,t,l){for(;e.nodeType===1;){var u=t;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[po])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==u.rel||e.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||e.getAttribute("title")!==(u.title==null?null:u.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(u.src==null?null:u.src)||e.getAttribute("type")!==(u.type==null?null:u.type)||e.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var o=u.name==null?null:""+u.name;if(u.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=Ba(e.nextSibling),e===null)break}return null}function VL(e,a,t){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ba(e.nextSibling),e===null))return null;return e}function Uh(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ba(e.nextSibling),e===null))return null;return e}function Ji(e){return e.data==="$?"||e.data==="$~"}function Wi(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function jL(e,a){var t=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||t.readyState!=="loading")a();else{var l=function(){a(),t.removeEventListener("DOMContentLoaded",l)};t.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function Ba(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var $i=null;function Qd(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(a===0)return Ba(e.nextSibling);a--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||a++}e=e.nextSibling}return null}function Kd(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(a===0)return e;a--}else t!=="/$"&&t!=="/&"||a++}e=e.previousSibling}return null}function qh(e,a,t){switch(a=Nn(t),e){case"html":if(e=a.documentElement,!e)throw Error(U(452));return e;case"head":if(e=a.head,!e)throw Error(U(453));return e;case"body":if(e=a.body,!e)throw Error(U(454));return e;default:throw Error(U(451))}}function Yu(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);rf(e)}var ka=new Map,Jd=new Set;function Fn(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var yt=fe.d;fe.d={f:XL,r:YL,D:ZL,C:QL,L:KL,m:JL,X:$L,S:WL,M:ex};function XL(){var e=yt.f(),a=ur();return e||a}function YL(e){var a=iu(e);a!==null&&a.tag===5&&a.type==="form"?Rp(a):yt.r(e)}var cu=typeof document>"u"?null:document;function zh(e,a,t){var l=cu;if(l&&typeof a=="string"&&a){var u=Ma(a);u='link[rel="'+e+'"][href="'+u+'"]',typeof t=="string"&&(u+='[crossorigin="'+t+'"]'),Jd.has(u)||(Jd.add(u),e={rel:e,crossOrigin:t,href:a},l.querySelector(u)===null&&(a=l.createElement("link"),Ye(a,"link",e),He(a),l.head.appendChild(a)))}}function ZL(e){yt.D(e),zh("dns-prefetch",e,null)}function QL(e,a){yt.C(e,a),zh("preconnect",e,a)}function KL(e,a,t){yt.L(e,a,t);var l=cu;if(l&&e&&a){var u='link[rel="preload"][as="'+Ma(a)+'"]';a==="image"&&t&&t.imageSrcSet?(u+='[imagesrcset="'+Ma(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(u+='[imagesizes="'+Ma(t.imageSizes)+'"]')):u+='[href="'+Ma(e)+'"]';var o=u;switch(a){case"style":o=ou(e);break;case"script":o=pu(e)}ka.has(o)||(e=be({rel:"preload",href:a==="image"&&t&&t.imageSrcSet?void 0:e,as:a},t),ka.set(o,e),l.querySelector(u)!==null||a==="style"&&l.querySelector(yo(o))||a==="script"&&l.querySelector(Co(o))||(a=l.createElement("link"),Ye(a,"link",e),He(a),l.head.appendChild(a)))}}function JL(e,a){yt.m(e,a);var t=cu;if(t&&e){var l=a&&typeof a.as=="string"?a.as:"script",u='link[rel="modulepreload"][as="'+Ma(l)+'"][href="'+Ma(e)+'"]',o=u;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=pu(e)}if(!ka.has(o)&&(e=be({rel:"modulepreload",href:e},a),ka.set(o,e),t.querySelector(u)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(Co(o)))return}l=t.createElement("link"),Ye(l,"link",e),He(l),t.head.appendChild(l)}}}function WL(e,a,t){yt.S(e,a,t);var l=cu;if(l&&e){var u=Gl(l).hoistableStyles,o=ou(e);a=a||"default";var r=u.get(o);if(!r){var f={loading:0,preload:null};if(r=l.querySelector(yo(o)))f.loading=5;else{e=be({rel:"stylesheet",href:e,"data-precedence":a},t),(t=ka.get(o))&&Yf(e,t);var g=r=l.createElement("link");He(g),Ye(g,"link",e),g._p=new Promise(function(d,L){g.onload=d,g.onerror=L}),g.addEventListener("load",function(){f.loading|=1}),g.addEventListener("error",function(){f.loading|=2}),f.loading|=4,pn(r,a,l)}r={type:"stylesheet",instance:r,count:1,state:f},u.set(o,r)}}}function $L(e,a){yt.X(e,a);var t=cu;if(t&&e){var l=Gl(t).hoistableScripts,u=pu(e),o=l.get(u);o||(o=t.querySelector(Co(u)),o||(e=be({src:e,async:!0},a),(a=ka.get(u))&&Zf(e,a),o=t.createElement("script"),He(o),Ye(o,"link",e),t.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function ex(e,a){yt.M(e,a);var t=cu;if(t&&e){var l=Gl(t).hoistableScripts,u=pu(e),o=l.get(u);o||(o=t.querySelector(Co(u)),o||(e=be({src:e,async:!0,type:"module"},a),(a=ka.get(u))&&Zf(e,a),o=t.createElement("script"),He(o),Ye(o,"link",e),t.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},l.set(u,o))}}function Wd(e,a,t,l){var u=(u=qt.current)?Fn(u):null;if(!u)throw Error(U(446));switch(e){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(a=ou(t.href),t=Gl(u).hoistableStyles,l=t.get(a),l||(l={type:"style",instance:null,count:0,state:null},t.set(a,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){e=ou(t.href);var o=Gl(u).hoistableStyles,r=o.get(e);if(r||(u=u.ownerDocument||u,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(e,r),(o=u.querySelector(yo(e)))&&!o._p&&(r.instance=o,r.state.loading=5),ka.has(e)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},ka.set(e,t),o||ax(u,e,t,r.state))),a&&l===null)throw Error(U(528,""));return r}if(a&&l!==null)throw Error(U(529,""));return null;case"script":return a=t.async,t=t.src,typeof t=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=pu(t),t=Gl(u).hoistableScripts,l=t.get(a),l||(l={type:"script",instance:null,count:0,state:null},t.set(a,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(U(444,e))}}function ou(e){return'href="'+Ma(e)+'"'}function yo(e){return'link[rel="stylesheet"]['+e+"]"}function Hh(e){return be({},e,{"data-precedence":e.precedence,precedence:null})}function ax(e,a,t,l){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?l.loading=1:(a=e.createElement("link"),l.preload=a,a.addEventListener("load",function(){return l.loading|=1}),a.addEventListener("error",function(){return l.loading|=2}),Ye(a,"link",t),He(a),e.head.appendChild(a))}function pu(e){return'[src="'+Ma(e)+'"]'}function Co(e){return"script[async]"+e}function $d(e,a,t){if(a.count++,a.instance===null)switch(a.type){case"style":var l=e.querySelector('style[data-href~="'+Ma(t.href)+'"]');if(l)return a.instance=l,He(l),l;var u=be({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),He(l),Ye(l,"style",u),pn(l,t.precedence,e),a.instance=l;case"stylesheet":u=ou(t.href);var o=e.querySelector(yo(u));if(o)return a.state.loading|=4,a.instance=o,He(o),o;l=Hh(t),(u=ka.get(u))&&Yf(l,u),o=(e.ownerDocument||e).createElement("link"),He(o);var r=o;return r._p=new Promise(function(f,g){r.onload=f,r.onerror=g}),Ye(o,"link",l),a.state.loading|=4,pn(o,t.precedence,e),a.instance=o;case"script":return o=pu(t.src),(u=e.querySelector(Co(o)))?(a.instance=u,He(u),u):(l=t,(u=ka.get(o))&&(l=be({},t),Zf(l,u)),e=e.ownerDocument||e,u=e.createElement("script"),He(u),Ye(u,"link",l),e.head.appendChild(u),a.instance=u);case"void":return null;default:throw Error(U(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(l=a.instance,a.state.loading|=4,pn(l,t.precedence,e));return a.instance}function pn(e,a,t){for(var l=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=l.length?l[l.length-1]:null,o=u,r=0;r<l.length;r++){var f=l[r];if(f.dataset.precedence===a)o=f;else if(o!==u)break}o?o.parentNode.insertBefore(e,o.nextSibling):(a=t.nodeType===9?t.head:t,a.insertBefore(e,a.firstChild))}function Yf(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function Zf(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var hn=null;function ec(e,a,t){if(hn===null){var l=new Map,u=hn=new Map;u.set(t,l)}else u=hn,l=u.get(t),l||(l=new Map,u.set(t,l));if(l.has(e))return l;for(l.set(e,null),t=t.getElementsByTagName(e),u=0;u<t.length;u++){var o=t[u];if(!(o[po]||o[Ve]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var r=o.getAttribute(a)||"";r=e+r;var f=l.get(r);f?f.push(o):l.set(r,[o])}}return l}function ac(e,a,t){e=e.ownerDocument||e,e.head.insertBefore(t,a==="title"?e.querySelector("head > title"):null)}function tx(e,a,t){if(t===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(e=a.disabled,typeof a.precedence=="string"&&e==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function Nh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function lx(e,a,t,l){if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var u=ou(l.href),o=a.querySelector(yo(u));if(o){a=o._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=Pn.bind(e),a.then(e,e)),t.state.loading|=4,t.instance=o,He(o);return}o=a.ownerDocument||a,l=Hh(l),(u=ka.get(u))&&Yf(l,u),o=o.createElement("link"),He(o);var r=o;r._p=new Promise(function(f,g){r.onload=f,r.onerror=g}),Ye(o,"link",l),t.instance=o}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,a),(a=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=Pn.bind(e),a.addEventListener("load",t),a.addEventListener("error",t))}}var ni=0;function ux(e,a){return e.stylesheets&&e.count===0&&mn(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var l=setTimeout(function(){if(e.stylesheets&&mn(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},6e4+a);0<e.imgBytes&&ni===0&&(ni=62500*zL());var u=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&mn(e,e.stylesheets),e.unsuspend)){var o=e.unsuspend;e.unsuspend=null,o()}},(e.imgBytes>ni?50:800)+a);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(u)}}:null}function Pn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)mn(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Gn=null;function mn(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Gn=new Map,a.forEach(ox,e),Gn=null,Pn.call(e))}function ox(e,a){if(!(a.state.loading&4)){var t=Gn.get(e);if(t)var l=t.get(null);else{t=new Map,Gn.set(e,t);for(var u=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<u.length;o++){var r=u[o];(r.nodeName==="LINK"||r.getAttribute("media")!=="not all")&&(t.set(r.dataset.precedence,r),l=r)}l&&t.set(null,l)}u=a.instance,r=u.getAttribute("data-precedence"),o=t.get(r)||l,o===l&&t.set(null,u),t.set(r,u),this.count++,l=Pn.bind(this),u.addEventListener("load",l),u.addEventListener("error",l),o?o.parentNode.insertBefore(u,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(u,e.firstChild)),a.state.loading|=4}}var oo={$$typeof:it,Provider:null,Consumer:null,_currentValue:ol,_currentValue2:ol,_threadCount:0};function nx(e,a,t,l,u,o,r,f,g){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Er(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Er(0),this.hiddenUpdates=Er(null),this.identifierPrefix=l,this.onUncaughtError=u,this.onCaughtError=o,this.onRecoverableError=r,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=g,this.incompleteTransitions=new Map}function Fh(e,a,t,l,u,o,r,f,g,d,L,x){return e=new nx(e,a,t,r,g,d,L,x,f),a=1,o===!0&&(a|=24),o=pa(3,null,null,a),e.current=o,o.stateNode=e,a=Cf(),a.refCount++,e.pooledCache=a,a.refCount++,o.memoizedState={element:l,isDehydrated:t,cache:a},bf(o),e}function Ph(e){return e?(e=Hl,e):Hl}function Gh(e,a,t,l,u,o){u=Ph(u),l.context===null?l.context=u:l.pendingContext=u,l=Ht(a),l.payload={element:t},o=o===void 0?null:o,o!==null&&(l.callback=o),t=Nt(e,l,a),t!==null&&(oa(t,e,a),Hu(t,e,a))}function tc(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<a?t:a}}function Qf(e,a){tc(e,a),(e=e.alternate)&&tc(e,a)}function Vh(e){if(e.tag===13||e.tag===31){var a=xl(e,67108864);a!==null&&oa(a,e,67108864),Qf(e,67108864)}}function lc(e){if(e.tag===13||e.tag===31){var a=xa();a=of(a);var t=xl(e,a);t!==null&&oa(t,e,a),Qf(e,a)}}var Vn=!0;function rx(e,a,t,l){var u=X.T;X.T=null;var o=fe.p;try{fe.p=2,Kf(e,a,t,l)}finally{fe.p=o,X.T=u}}function ix(e,a,t,l){var u=X.T;X.T=null;var o=fe.p;try{fe.p=8,Kf(e,a,t,l)}finally{fe.p=o,X.T=u}}function Kf(e,a,t,l){if(Vn){var u=ef(l);if(u===null)ui(e,a,l,jn,t),uc(e,l);else if(sx(u,e,a,t,l))l.stopPropagation();else if(uc(e,l),a&4&&-1<fx.indexOf(e)){for(;u!==null;){var o=iu(u);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var r=tl(o.pendingLanes);if(r!==0){var f=o;for(f.pendingLanes|=2,f.entangledLanes|=2;r;){var g=1<<31-La(r);f.entanglements[1]|=g,r&=~g}Qa(o),(ie&6)===0&&(kn=ma()+500,xo(0,!1))}}break;case 31:case 13:f=xl(o,2),f!==null&&oa(f,o,2),ur(),Qf(o,2)}if(o=ef(l),o===null&&ui(e,a,l,jn,t),o===u)break;u=o}u!==null&&l.stopPropagation()}else ui(e,a,l,null,t)}}function ef(e){return e=sf(e),Jf(e)}var jn=null;function Jf(e){if(jn=null,e=Bl(e),e!==null){var a=io(e);if(a===null)e=null;else{var t=a.tag;if(t===13){if(e=sc(a),e!==null)return e;e=null}else if(t===31){if(e=dc(a),e!==null)return e;e=null}else if(t===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return jn=e,null}function jh(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Km()){case mc:return 2;case gc:return 8;case Cn:case Jm:return 32;case Lc:return 268435456;default:return 32}default:return 32}}var af=!1,Gt=null,Vt=null,jt=null,no=new Map,ro=new Map,Dt=[],fx="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function uc(e,a){switch(e){case"focusin":case"focusout":Gt=null;break;case"dragenter":case"dragleave":Vt=null;break;case"mouseover":case"mouseout":jt=null;break;case"pointerover":case"pointerout":no.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":ro.delete(a.pointerId)}}function _u(e,a,t,l,u,o){return e===null||e.nativeEvent!==o?(e={blockedOn:a,domEventName:t,eventSystemFlags:l,nativeEvent:o,targetContainers:[u]},a!==null&&(a=iu(a),a!==null&&Vh(a)),e):(e.eventSystemFlags|=l,a=e.targetContainers,u!==null&&a.indexOf(u)===-1&&a.push(u),e)}function sx(e,a,t,l,u){switch(a){case"focusin":return Gt=_u(Gt,e,a,t,l,u),!0;case"dragenter":return Vt=_u(Vt,e,a,t,l,u),!0;case"mouseover":return jt=_u(jt,e,a,t,l,u),!0;case"pointerover":var o=u.pointerId;return no.set(o,_u(no.get(o)||null,e,a,t,l,u)),!0;case"gotpointercapture":return o=u.pointerId,ro.set(o,_u(ro.get(o)||null,e,a,t,l,u)),!0}return!1}function Xh(e){var a=Bl(e.target);if(a!==null){var t=io(a);if(t!==null){if(a=t.tag,a===13){if(a=sc(t),a!==null){e.blockedOn=a,Fs(e.priority,function(){lc(t)});return}}else if(a===31){if(a=dc(t),a!==null){e.blockedOn=a,Fs(e.priority,function(){lc(t)});return}}else if(a===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gn(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var t=ef(e.nativeEvent);if(t===null){t=e.nativeEvent;var l=new t.constructor(t.type,t);yi=l,t.target.dispatchEvent(l),yi=null}else return a=iu(t),a!==null&&Vh(a),e.blockedOn=t,!1;a.shift()}return!0}function oc(e,a,t){gn(e)&&t.delete(a)}function dx(){af=!1,Gt!==null&&gn(Gt)&&(Gt=null),Vt!==null&&gn(Vt)&&(Vt=null),jt!==null&&gn(jt)&&(jt=null),no.forEach(oc),ro.forEach(oc)}function $o(e,a){e.blockedOn===a&&(e.blockedOn=null,af||(af=!0,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,dx)))}var en=null;function nc(e){en!==e&&(en=e,Ue.unstable_scheduleCallback(Ue.unstable_NormalPriority,function(){en===e&&(en=null);for(var a=0;a<e.length;a+=3){var t=e[a],l=e[a+1],u=e[a+2];if(typeof l!="function"){if(Jf(l||t)===null)continue;break}var o=iu(t);o!==null&&(e.splice(a,3),a-=3,Oi(o,{pending:!0,data:u,method:t.method,action:l},l,u))}}))}function nu(e){function a(g){return $o(g,e)}Gt!==null&&$o(Gt,e),Vt!==null&&$o(Vt,e),jt!==null&&$o(jt,e),no.forEach(a),ro.forEach(a);for(var t=0;t<Dt.length;t++){var l=Dt[t];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Dt.length&&(t=Dt[0],t.blockedOn===null);)Xh(t),t.blockedOn===null&&Dt.shift();if(t=(e.ownerDocument||e).$$reactFormReplay,t!=null)for(l=0;l<t.length;l+=3){var u=t[l],o=t[l+1],r=u[na]||null;if(typeof o=="function")r||nc(t);else if(r){var f=null;if(o&&o.hasAttribute("formAction")){if(u=o,r=o[na]||null)f=r.formAction;else if(Jf(u)!==null)continue}else f=r.action;typeof f=="function"?t[l+1]=f:(t.splice(l,3),l-=3),nc(t)}}}function Yh(){function e(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(r){return u=r})},focusReset:"manual",scroll:"manual"})}function a(){u!==null&&(u(),u=null),l||setTimeout(t,20)}function t(){if(!l&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,u=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(t,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),u!==null&&(u(),u=null)}}}function Wf(e){this._internalRoot=e}rr.prototype.render=Wf.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(U(409));var t=a.current,l=xa();Gh(t,l,e,a,null,null)};rr.prototype.unmount=Wf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;Gh(e.current,2,null,e,null,null),ur(),a[ru]=null}};function rr(e){this._internalRoot=e}rr.prototype.unstable_scheduleHydration=function(e){if(e){var a=vc();e={blockedOn:null,target:e,priority:a};for(var t=0;t<Dt.length&&a!==0&&a<Dt[t].priority;t++);Dt.splice(t,0,e),t===0&&Xh(e)}};var rc=ic.version;if(rc!=="19.2.4")throw Error(U(527,rc,"19.2.4"));fe.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(U(188)):(e=Object.keys(e).join(","),Error(U(268,e)));return e=Gm(a),e=e!==null?cc(e):null,e=e===null?null:e.stateNode,e};var cx={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:X,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Mu=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Mu.isDisabled&&Mu.supportsFiber))try{fo=Mu.inject(cx),ga=Mu}catch{}var Mu;ir.createRoot=function(e,a){if(!fc(e))throw Error(U(299));var t=!1,l="",u=zp,o=Hp,r=Np;return a!=null&&(a.unstable_strictMode===!0&&(t=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(u=a.onUncaughtError),a.onCaughtError!==void 0&&(o=a.onCaughtError),a.onRecoverableError!==void 0&&(r=a.onRecoverableError)),a=Fh(e,1,!1,null,null,t,l,null,u,o,r,Yh),e[ru]=a.current,Xf(e),new Wf(a)};ir.hydrateRoot=function(e,a,t){if(!fc(e))throw Error(U(299));var l=!1,u="",o=zp,r=Hp,f=Np,g=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(u=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.formState!==void 0&&(g=t.formState)),a=Fh(e,1,!0,a,t??null,l,u,g,o,r,f,Yh),a.context=Ph(null),t=a.current,l=xa(),l=of(l),u=Ht(l),u.callback=null,Nt(t,u,l),t=l,a.current.lanes=t,co(a,t),Qa(a),e[ru]=a.current,Xf(e),new rr(a)};ir.version="19.2.4"});var Jh=ba((Gx,Kh)=>{"use strict";function Qh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Qh)}catch(e){console.error(e)}}Qh(),Kh.exports=Zh()});var $h=ba((Wh,$f)=>{(function(e){if(typeof Wh=="object"&&typeof $f<"u")$f.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var a;a=typeof window>"u"?typeof global>"u"?typeof self>"u"?this:self:global:window,a.SimplePeer=e()}})(function(){var e=Math.floor,a=Math.abs,t=Math.pow;return(function(){function l(u,o,r){function f(L,x){if(!o[L]){if(!u[L]){var h=typeof xu=="function"&&xu;if(!x&&h)return h(L,!0);if(g)return g(L,!0);var y=new Error("Cannot find module '"+L+"'");throw y.code="MODULE_NOT_FOUND",y}var I=o[L]={exports:{}};u[L][0].call(I.exports,function(A){var E=u[L][1][A];return f(E||A)},I,I.exports,l,u,o,r)}return o[L].exports}for(var g=typeof xu=="function"&&xu,d=0;d<r.length;d++)f(r[d]);return f}return l})()({1:[function(l,u,o){"use strict";function r(c){var m=c.length;if(0<m%4)throw new Error("Invalid string. Length must be a multiple of 4");var C=c.indexOf("=");C===-1&&(C=m);var S=C===m?0:4-C%4;return[C,S]}function f(c,m,C){return 3*(m+C)/4-C}function g(c){var m,C,S=r(c),T=S[0],_=S[1],b=new I(f(c,T,_)),w=0,B=0<_?T-4:T;for(C=0;C<B;C+=4)m=y[c.charCodeAt(C)]<<18|y[c.charCodeAt(C+1)]<<12|y[c.charCodeAt(C+2)]<<6|y[c.charCodeAt(C+3)],b[w++]=255&m>>16,b[w++]=255&m>>8,b[w++]=255&m;return _===2&&(m=y[c.charCodeAt(C)]<<2|y[c.charCodeAt(C+1)]>>4,b[w++]=255&m),_===1&&(m=y[c.charCodeAt(C)]<<10|y[c.charCodeAt(C+1)]<<4|y[c.charCodeAt(C+2)]>>2,b[w++]=255&m>>8,b[w++]=255&m),b}function d(c){return h[63&c>>18]+h[63&c>>12]+h[63&c>>6]+h[63&c]}function L(c,m,C){for(var S,T=[],_=m;_<C;_+=3)S=(16711680&c[_]<<16)+(65280&c[_+1]<<8)+(255&c[_+2]),T.push(d(S));return T.join("")}function x(c){for(var m,C=c.length,S=C%3,T=[],_=16383,b=0,w=C-S;b<w;b+=_)T.push(L(c,b,b+_>w?w:b+_));return S===1?(m=c[C-1],T.push(h[m>>2]+h[63&m<<4]+"==")):S===2&&(m=(c[C-2]<<8)+c[C-1],T.push(h[m>>10]+h[63&m>>4]+h[63&m<<2]+"=")),T.join("")}o.byteLength=function(c){var m=r(c),C=m[0],S=m[1];return 3*(C+S)/4-S},o.toByteArray=g,o.fromByteArray=x;for(var h=[],y=[],I=typeof Uint8Array>"u"?Array:Uint8Array,A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",E=0,s=A.length;E<s;++E)h[E]=A[E],y[A.charCodeAt(E)]=E;y[45]=62,y[95]=63},{}],2:[function(){},{}],3:[function(l,u,o){(function(){(function(){"use strict";var r=String.fromCharCode,f=Math.min;function g(n){if(2147483647<n)throw new RangeError('The value "'+n+'" is invalid for option "size"');var i=new Uint8Array(n);return i.__proto__=d.prototype,i}function d(n,i,p){if(typeof n=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(n)}return L(n,i,p)}function L(n,i,p){if(typeof n=="string")return I(n,i);if(ArrayBuffer.isView(n))return A(n);if(n==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(M(n,ArrayBuffer)||n&&M(n.buffer,ArrayBuffer))return E(n,i,p);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var v=n.valueOf&&n.valueOf();if(v!=null&&v!==n)return d.from(v,i,p);var D=s(n);if(D)return D;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return d.from(n[Symbol.toPrimitive]("string"),i,p);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}function x(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(0>n)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function h(n,i,p){return x(n),0>=n||i===void 0?g(n):typeof p=="string"?g(n).fill(i,p):g(n).fill(i)}function y(n){return x(n),g(0>n?0:0|c(n))}function I(n,i){if((typeof i!="string"||i==="")&&(i="utf8"),!d.isEncoding(i))throw new TypeError("Unknown encoding: "+i);var p=0|m(n,i),v=g(p),D=v.write(n,i);return D!==p&&(v=v.slice(0,D)),v}function A(n){for(var i=0>n.length?0:0|c(n.length),p=g(i),v=0;v<i;v+=1)p[v]=255&n[v];return p}function E(n,i,p){if(0>i||n.byteLength<i)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<i+(p||0))throw new RangeError('"length" is outside of buffer bounds');var v;return v=i===void 0&&p===void 0?new Uint8Array(n):p===void 0?new Uint8Array(n,i):new Uint8Array(n,i,p),v.__proto__=d.prototype,v}function s(n){if(d.isBuffer(n)){var i=0|c(n.length),p=g(i);return p.length===0||n.copy(p,0,0,i),p}return n.length===void 0?n.type==="Buffer"&&Array.isArray(n.data)?A(n.data):void 0:typeof n.length!="number"||k(n.length)?g(0):A(n)}function c(n){if(n>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|n}function m(n,i){if(d.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||M(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);var p=n.length,v=2<arguments.length&&arguments[2]===!0;if(!v&&p===0)return 0;for(var D=!1;;)switch(i){case"ascii":case"latin1":case"binary":return p;case"utf8":case"utf-8":return Ke(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*p;case"hex":return p>>>1;case"base64":return qe(n).length;default:if(D)return v?-1:Ke(n).length;i=(""+i).toLowerCase(),D=!0}}function C(n,i,p){var v=!1;if((i===void 0||0>i)&&(i=0),i>this.length||((p===void 0||p>this.length)&&(p=this.length),0>=p)||(p>>>=0,i>>>=0,p<=i))return"";for(n||(n="utf8");;)switch(n){case"hex":return va(this,i,p);case"utf8":case"utf-8":return Ae(this,i,p);case"ascii":return j(this,i,p);case"latin1":case"binary":return ea(this,i,p);case"base64":return ee(this,i,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ia(this,i,p);default:if(v)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),v=!0}}function S(n,i,p){var v=n[i];n[i]=n[p],n[p]=v}function T(n,i,p,v,D){if(n.length===0)return-1;if(typeof p=="string"?(v=p,p=0):2147483647<p?p=2147483647:-2147483648>p&&(p=-2147483648),p=+p,k(p)&&(p=D?0:n.length-1),0>p&&(p=n.length+p),p>=n.length){if(D)return-1;p=n.length-1}else if(0>p)if(D)p=0;else return-1;if(typeof i=="string"&&(i=d.from(i,v)),d.isBuffer(i))return i.length===0?-1:_(n,i,p,v,D);if(typeof i=="number")return i&=255,typeof Uint8Array.prototype.indexOf=="function"?D?Uint8Array.prototype.indexOf.call(n,i,p):Uint8Array.prototype.lastIndexOf.call(n,i,p):_(n,[i],p,v,D);throw new TypeError("val must be string, number or Buffer")}function _(n,i,p,v,D){function O(Fa,Pa){return N===1?Fa[Pa]:Fa.readUInt16BE(Pa*N)}var N=1,J=n.length,ye=i.length;if(v!==void 0&&(v=(v+"").toLowerCase(),v==="ucs2"||v==="ucs-2"||v==="utf16le"||v==="utf-16le")){if(2>n.length||2>i.length)return-1;N=2,J/=2,ye/=2,p/=2}var ne;if(D){var te=-1;for(ne=p;ne<J;ne++)if(O(n,ne)!==O(i,te===-1?0:ne-te))te!==-1&&(ne-=ne-te),te=-1;else if(te===-1&&(te=ne),ne-te+1===ye)return te*N}else for(p+ye>J&&(p=J-ye),ne=p;0<=ne;ne--){for(var oe=!0,Wa=0;Wa<ye;Wa++)if(O(n,ne+Wa)!==O(i,Wa)){oe=!1;break}if(oe)return ne}return-1}function b(n,i,p,v){p=+p||0;var D=n.length-p;v?(v=+v,v>D&&(v=D)):v=D;var O=i.length;v>O/2&&(v=O/2);for(var N,J=0;J<v;++J){if(N=parseInt(i.substr(2*J,2),16),k(N))return J;n[p+J]=N}return J}function w(n,i,p,v){return ue(Ke(i,n.length-p),n,p,v)}function B(n,i,p,v){return ue(St(i),n,p,v)}function z(n,i,p,v){return B(n,i,p,v)}function G(n,i,p,v){return ue(qe(i),n,p,v)}function F(n,i,p,v){return ue(Ja(i,n.length-p),n,p,v)}function ee(n,i,p){return i===0&&p===n.length?H.fromByteArray(n):H.fromByteArray(n.slice(i,p))}function Ae(n,i,p){p=f(n.length,p);for(var v=[],D=i;D<p;){var O=n[D],N=null,J=239<O?4:223<O?3:191<O?2:1;if(D+J<=p){var ye,ne,te,oe;J===1?128>O&&(N=O):J===2?(ye=n[D+1],(192&ye)==128&&(oe=(31&O)<<6|63&ye,127<oe&&(N=oe))):J===3?(ye=n[D+1],ne=n[D+2],(192&ye)==128&&(192&ne)==128&&(oe=(15&O)<<12|(63&ye)<<6|63&ne,2047<oe&&(55296>oe||57343<oe)&&(N=oe))):J===4&&(ye=n[D+1],ne=n[D+2],te=n[D+3],(192&ye)==128&&(192&ne)==128&&(192&te)==128&&(oe=(15&O)<<18|(63&ye)<<12|(63&ne)<<6|63&te,65535<oe&&1114112>oe&&(N=oe)))}N===null?(N=65533,J=1):65535<N&&(N-=65536,v.push(55296|1023&N>>>10),N=56320|1023&N),v.push(N),D+=J}return Fe(v)}function Fe(n){var i=n.length;if(i<=4096)return r.apply(String,n);for(var p="",v=0;v<i;)p+=r.apply(String,n.slice(v,v+=4096));return p}function j(n,i,p){var v="";p=f(n.length,p);for(var D=i;D<p;++D)v+=r(127&n[D]);return v}function ea(n,i,p){var v="";p=f(n.length,p);for(var D=i;D<p;++D)v+=r(n[D]);return v}function va(n,i,p){var v=n.length;(!i||0>i)&&(i=0),(!p||0>p||p>v)&&(p=v);for(var D="",O=i;O<p;++O)D+=Na(n[O]);return D}function ia(n,i,p){for(var v=n.slice(i,p),D="",O=0;O<v.length;O+=2)D+=r(v[O]+256*v[O+1]);return D}function se(n,i,p){if(n%1!=0||0>n)throw new RangeError("offset is not uint");if(n+i>p)throw new RangeError("Trying to access beyond buffer length")}function me(n,i,p,v,D,O){if(!d.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>D||i<O)throw new RangeError('"value" argument is out of bounds');if(p+v>n.length)throw new RangeError("Index out of range")}function fa(n,i,p,v){if(p+v>n.length)throw new RangeError("Index out of range");if(0>p)throw new RangeError("Index out of range")}function Pe(n,i,p,v,D){return i=+i,p>>>=0,D||fa(n,i,p,4,34028234663852886e22,-34028234663852886e22),P.write(n,i,p,v,23,4),p+4}function Oa(n,i,p,v,D){return i=+i,p>>>=0,D||fa(n,i,p,8,17976931348623157e292,-17976931348623157e292),P.write(n,i,p,v,52,8),p+8}function Ka(n){if(n=n.split("=")[0],n=n.trim().replace(Z,""),2>n.length)return"";for(;n.length%4!=0;)n+="=";return n}function Na(n){return 16>n?"0"+n.toString(16):n.toString(16)}function Ke(n,i){i=i||1/0;for(var p,v=n.length,D=null,O=[],N=0;N<v;++N){if(p=n.charCodeAt(N),55295<p&&57344>p){if(!D){if(56319<p){-1<(i-=3)&&O.push(239,191,189);continue}else if(N+1===v){-1<(i-=3)&&O.push(239,191,189);continue}D=p;continue}if(56320>p){-1<(i-=3)&&O.push(239,191,189),D=p;continue}p=(D-55296<<10|p-56320)+65536}else D&&-1<(i-=3)&&O.push(239,191,189);if(D=null,128>p){if(0>(i-=1))break;O.push(p)}else if(2048>p){if(0>(i-=2))break;O.push(192|p>>6,128|63&p)}else if(65536>p){if(0>(i-=3))break;O.push(224|p>>12,128|63&p>>6,128|63&p)}else if(1114112>p){if(0>(i-=4))break;O.push(240|p>>18,128|63&p>>12,128|63&p>>6,128|63&p)}else throw new Error("Invalid code point")}return O}function St(n){for(var i=[],p=0;p<n.length;++p)i.push(255&n.charCodeAt(p));return i}function Ja(n,i){for(var p,v,D,O=[],N=0;N<n.length&&!(0>(i-=2));++N)p=n.charCodeAt(N),v=p>>8,D=p%256,O.push(D),O.push(v);return O}function qe(n){return H.toByteArray(Ka(n))}function ue(n,i,p,v){for(var D=0;D<v&&!(D+p>=i.length||D>=n.length);++D)i[D+p]=n[D];return D}function M(n,i){return n instanceof i||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===i.name}function k(n){return n!==n}var H=l("base64-js"),P=l("ieee754");o.Buffer=d,o.SlowBuffer=function(n){return+n!=n&&(n=0),d.alloc(+n)},o.INSPECT_MAX_BYTES=50,o.kMaxLength=2147483647,d.TYPED_ARRAY_SUPPORT=(function(){try{var n=new Uint8Array(1);return n.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},n.foo()===42}catch{return!1}})(),d.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){return d.isBuffer(this)?this.buffer:void 0}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){return d.isBuffer(this)?this.byteOffset:void 0}}),typeof Symbol<"u"&&Symbol.species!=null&&d[Symbol.species]===d&&Object.defineProperty(d,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),d.poolSize=8192,d.from=function(n,i,p){return L(n,i,p)},d.prototype.__proto__=Uint8Array.prototype,d.__proto__=Uint8Array,d.alloc=function(n,i,p){return h(n,i,p)},d.allocUnsafe=function(n){return y(n)},d.allocUnsafeSlow=function(n){return y(n)},d.isBuffer=function(n){return n!=null&&n._isBuffer===!0&&n!==d.prototype},d.compare=function(n,i){if(M(n,Uint8Array)&&(n=d.from(n,n.offset,n.byteLength)),M(i,Uint8Array)&&(i=d.from(i,i.offset,i.byteLength)),!d.isBuffer(n)||!d.isBuffer(i))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(n===i)return 0;for(var p=n.length,v=i.length,D=0,O=f(p,v);D<O;++D)if(n[D]!==i[D]){p=n[D],v=i[D];break}return p<v?-1:v<p?1:0},d.isEncoding=function(n){switch((n+"").toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(n,i){if(!Array.isArray(n))throw new TypeError('"list" argument must be an Array of Buffers');if(n.length===0)return d.alloc(0);var p;if(i===void 0)for(i=0,p=0;p<n.length;++p)i+=n[p].length;var v=d.allocUnsafe(i),D=0;for(p=0;p<n.length;++p){var O=n[p];if(M(O,Uint8Array)&&(O=d.from(O)),!d.isBuffer(O))throw new TypeError('"list" argument must be an Array of Buffers');O.copy(v,D),D+=O.length}return v},d.byteLength=m,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var n=this.length;if(n%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<n;i+=2)S(this,i,i+1);return this},d.prototype.swap32=function(){var n=this.length;if(n%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<n;i+=4)S(this,i,i+3),S(this,i+1,i+2);return this},d.prototype.swap64=function(){var n=this.length;if(n%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<n;i+=8)S(this,i,i+7),S(this,i+1,i+6),S(this,i+2,i+5),S(this,i+3,i+4);return this},d.prototype.toString=function(){var n=this.length;return n===0?"":arguments.length===0?Ae(this,0,n):C.apply(this,arguments)},d.prototype.toLocaleString=d.prototype.toString,d.prototype.equals=function(n){if(!d.isBuffer(n))throw new TypeError("Argument must be a Buffer");return this===n||d.compare(this,n)===0},d.prototype.inspect=function(){var n="",i=o.INSPECT_MAX_BYTES;return n=this.toString("hex",0,i).replace(/(.{2})/g,"$1 ").trim(),this.length>i&&(n+=" ... "),"<Buffer "+n+">"},d.prototype.compare=function(n,i,p,v,D){if(M(n,Uint8Array)&&(n=d.from(n,n.offset,n.byteLength)),!d.isBuffer(n))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof n);if(i===void 0&&(i=0),p===void 0&&(p=n?n.length:0),v===void 0&&(v=0),D===void 0&&(D=this.length),0>i||p>n.length||0>v||D>this.length)throw new RangeError("out of range index");if(v>=D&&i>=p)return 0;if(v>=D)return-1;if(i>=p)return 1;if(i>>>=0,p>>>=0,v>>>=0,D>>>=0,this===n)return 0;for(var O=D-v,N=p-i,J=f(O,N),ye=this.slice(v,D),ne=n.slice(i,p),te=0;te<J;++te)if(ye[te]!==ne[te]){O=ye[te],N=ne[te];break}return O<N?-1:N<O?1:0},d.prototype.includes=function(n,i,p){return this.indexOf(n,i,p)!==-1},d.prototype.indexOf=function(n,i,p){return T(this,n,i,p,!0)},d.prototype.lastIndexOf=function(n,i,p){return T(this,n,i,p,!1)},d.prototype.write=function(n,i,p,v){if(i===void 0)v="utf8",p=this.length,i=0;else if(p===void 0&&typeof i=="string")v=i,p=this.length,i=0;else if(isFinite(i))i>>>=0,isFinite(p)?(p>>>=0,v===void 0&&(v="utf8")):(v=p,p=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var D=this.length-i;if((p===void 0||p>D)&&(p=D),0<n.length&&(0>p||0>i)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");v||(v="utf8");for(var O=!1;;)switch(v){case"hex":return b(this,n,i,p);case"utf8":case"utf-8":return w(this,n,i,p);case"ascii":return B(this,n,i,p);case"latin1":case"binary":return z(this,n,i,p);case"base64":return G(this,n,i,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,n,i,p);default:if(O)throw new TypeError("Unknown encoding: "+v);v=(""+v).toLowerCase(),O=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},d.prototype.slice=function(n,i){var p=this.length;n=~~n,i=i===void 0?p:~~i,0>n?(n+=p,0>n&&(n=0)):n>p&&(n=p),0>i?(i+=p,0>i&&(i=0)):i>p&&(i=p),i<n&&(i=n);var v=this.subarray(n,i);return v.__proto__=d.prototype,v},d.prototype.readUIntLE=function(n,i,p){n>>>=0,i>>>=0,p||se(n,i,this.length);for(var v=this[n],D=1,O=0;++O<i&&(D*=256);)v+=this[n+O]*D;return v},d.prototype.readUIntBE=function(n,i,p){n>>>=0,i>>>=0,p||se(n,i,this.length);for(var v=this[n+--i],D=1;0<i&&(D*=256);)v+=this[n+--i]*D;return v},d.prototype.readUInt8=function(n,i){return n>>>=0,i||se(n,1,this.length),this[n]},d.prototype.readUInt16LE=function(n,i){return n>>>=0,i||se(n,2,this.length),this[n]|this[n+1]<<8},d.prototype.readUInt16BE=function(n,i){return n>>>=0,i||se(n,2,this.length),this[n]<<8|this[n+1]},d.prototype.readUInt32LE=function(n,i){return n>>>=0,i||se(n,4,this.length),(this[n]|this[n+1]<<8|this[n+2]<<16)+16777216*this[n+3]},d.prototype.readUInt32BE=function(n,i){return n>>>=0,i||se(n,4,this.length),16777216*this[n]+(this[n+1]<<16|this[n+2]<<8|this[n+3])},d.prototype.readIntLE=function(n,i,p){n>>>=0,i>>>=0,p||se(n,i,this.length);for(var v=this[n],D=1,O=0;++O<i&&(D*=256);)v+=this[n+O]*D;return D*=128,v>=D&&(v-=t(2,8*i)),v},d.prototype.readIntBE=function(n,i,p){n>>>=0,i>>>=0,p||se(n,i,this.length);for(var v=i,D=1,O=this[n+--v];0<v&&(D*=256);)O+=this[n+--v]*D;return D*=128,O>=D&&(O-=t(2,8*i)),O},d.prototype.readInt8=function(n,i){return n>>>=0,i||se(n,1,this.length),128&this[n]?-1*(255-this[n]+1):this[n]},d.prototype.readInt16LE=function(n,i){n>>>=0,i||se(n,2,this.length);var p=this[n]|this[n+1]<<8;return 32768&p?4294901760|p:p},d.prototype.readInt16BE=function(n,i){n>>>=0,i||se(n,2,this.length);var p=this[n+1]|this[n]<<8;return 32768&p?4294901760|p:p},d.prototype.readInt32LE=function(n,i){return n>>>=0,i||se(n,4,this.length),this[n]|this[n+1]<<8|this[n+2]<<16|this[n+3]<<24},d.prototype.readInt32BE=function(n,i){return n>>>=0,i||se(n,4,this.length),this[n]<<24|this[n+1]<<16|this[n+2]<<8|this[n+3]},d.prototype.readFloatLE=function(n,i){return n>>>=0,i||se(n,4,this.length),P.read(this,n,!0,23,4)},d.prototype.readFloatBE=function(n,i){return n>>>=0,i||se(n,4,this.length),P.read(this,n,!1,23,4)},d.prototype.readDoubleLE=function(n,i){return n>>>=0,i||se(n,8,this.length),P.read(this,n,!0,52,8)},d.prototype.readDoubleBE=function(n,i){return n>>>=0,i||se(n,8,this.length),P.read(this,n,!1,52,8)},d.prototype.writeUIntLE=function(n,i,p,v){if(n=+n,i>>>=0,p>>>=0,!v){var D=t(2,8*p)-1;me(this,n,i,p,D,0)}var O=1,N=0;for(this[i]=255&n;++N<p&&(O*=256);)this[i+N]=255&n/O;return i+p},d.prototype.writeUIntBE=function(n,i,p,v){if(n=+n,i>>>=0,p>>>=0,!v){var D=t(2,8*p)-1;me(this,n,i,p,D,0)}var O=p-1,N=1;for(this[i+O]=255&n;0<=--O&&(N*=256);)this[i+O]=255&n/N;return i+p},d.prototype.writeUInt8=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,1,255,0),this[i]=255&n,i+1},d.prototype.writeUInt16LE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,2,65535,0),this[i]=255&n,this[i+1]=n>>>8,i+2},d.prototype.writeUInt16BE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,2,65535,0),this[i]=n>>>8,this[i+1]=255&n,i+2},d.prototype.writeUInt32LE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,4,4294967295,0),this[i+3]=n>>>24,this[i+2]=n>>>16,this[i+1]=n>>>8,this[i]=255&n,i+4},d.prototype.writeUInt32BE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,4,4294967295,0),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=255&n,i+4},d.prototype.writeIntLE=function(n,i,p,v){if(n=+n,i>>>=0,!v){var D=t(2,8*p-1);me(this,n,i,p,D-1,-D)}var O=0,N=1,J=0;for(this[i]=255&n;++O<p&&(N*=256);)0>n&&J===0&&this[i+O-1]!==0&&(J=1),this[i+O]=255&(n/N>>0)-J;return i+p},d.prototype.writeIntBE=function(n,i,p,v){if(n=+n,i>>>=0,!v){var D=t(2,8*p-1);me(this,n,i,p,D-1,-D)}var O=p-1,N=1,J=0;for(this[i+O]=255&n;0<=--O&&(N*=256);)0>n&&J===0&&this[i+O+1]!==0&&(J=1),this[i+O]=255&(n/N>>0)-J;return i+p},d.prototype.writeInt8=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,1,127,-128),0>n&&(n=255+n+1),this[i]=255&n,i+1},d.prototype.writeInt16LE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,2,32767,-32768),this[i]=255&n,this[i+1]=n>>>8,i+2},d.prototype.writeInt16BE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,2,32767,-32768),this[i]=n>>>8,this[i+1]=255&n,i+2},d.prototype.writeInt32LE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,4,2147483647,-2147483648),this[i]=255&n,this[i+1]=n>>>8,this[i+2]=n>>>16,this[i+3]=n>>>24,i+4},d.prototype.writeInt32BE=function(n,i,p){return n=+n,i>>>=0,p||me(this,n,i,4,2147483647,-2147483648),0>n&&(n=4294967295+n+1),this[i]=n>>>24,this[i+1]=n>>>16,this[i+2]=n>>>8,this[i+3]=255&n,i+4},d.prototype.writeFloatLE=function(n,i,p){return Pe(this,n,i,!0,p)},d.prototype.writeFloatBE=function(n,i,p){return Pe(this,n,i,!1,p)},d.prototype.writeDoubleLE=function(n,i,p){return Oa(this,n,i,!0,p)},d.prototype.writeDoubleBE=function(n,i,p){return Oa(this,n,i,!1,p)},d.prototype.copy=function(n,i,p,v){if(!d.isBuffer(n))throw new TypeError("argument should be a Buffer");if(p||(p=0),v||v===0||(v=this.length),i>=n.length&&(i=n.length),i||(i=0),0<v&&v<p&&(v=p),v===p||n.length===0||this.length===0)return 0;if(0>i)throw new RangeError("targetStart out of bounds");if(0>p||p>=this.length)throw new RangeError("Index out of range");if(0>v)throw new RangeError("sourceEnd out of bounds");v>this.length&&(v=this.length),n.length-i<v-p&&(v=n.length-i+p);var D=v-p;if(this===n&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(i,p,v);else if(this===n&&p<i&&i<v)for(var O=D-1;0<=O;--O)n[O+i]=this[O+p];else Uint8Array.prototype.set.call(n,this.subarray(p,v),i);return D},d.prototype.fill=function(n,i,p,v){if(typeof n=="string"){if(typeof i=="string"?(v=i,i=0,p=this.length):typeof p=="string"&&(v=p,p=this.length),v!==void 0&&typeof v!="string")throw new TypeError("encoding must be a string");if(typeof v=="string"&&!d.isEncoding(v))throw new TypeError("Unknown encoding: "+v);if(n.length===1){var D=n.charCodeAt(0);(v==="utf8"&&128>D||v==="latin1")&&(n=D)}}else typeof n=="number"&&(n&=255);if(0>i||this.length<i||this.length<p)throw new RangeError("Out of range index");if(p<=i)return this;i>>>=0,p=p===void 0?this.length:p>>>0,n||(n=0);var O;if(typeof n=="number")for(O=i;O<p;++O)this[O]=n;else{var N=d.isBuffer(n)?n:d.from(n,v),J=N.length;if(J===0)throw new TypeError('The value "'+n+'" is invalid for argument "value"');for(O=0;O<p-i;++O)this[O+i]=N[O%J]}return this};var Z=/[^+/0-9A-Za-z-_]/g}).call(this)}).call(this,l("buffer").Buffer)},{"base64-js":1,buffer:3,ieee754:9}],4:[function(l,u,o){(function(r){(function(){function f(){let d;try{d=o.storage.getItem("debug")}catch{}return!d&&typeof r<"u"&&"env"in r&&(d=r.env.DEBUG),d}o.formatArgs=function(d){if(d[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+d[0]+(this.useColors?"%c ":" ")+"+"+u.exports.humanize(this.diff),!this.useColors)return;let L="color: "+this.color;d.splice(1,0,L,"color: inherit");let x=0,h=0;d[0].replace(/%[a-zA-Z%]/g,y=>{y==="%%"||(x++,y==="%c"&&(h=x))}),d.splice(h,0,L)},o.save=function(d){try{d?o.storage.setItem("debug",d):o.storage.removeItem("debug")}catch{}},o.load=f,o.useColors=function(){return!!(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},o.storage=(function(){try{return localStorage}catch{}})(),o.destroy=(()=>{let d=!1;return()=>{d||(d=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),o.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],o.log=console.debug||console.log||(()=>{}),u.exports=l("./common")(o);let{formatters:g}=u.exports;g.j=function(d){try{return JSON.stringify(d)}catch(L){return"[UnexpectedJSONParseError]: "+L.message}}}).call(this)}).call(this,l("_process"))},{"./common":5,_process:12}],5:[function(l,u){u.exports=function(o){function r(d){function L(...y){if(!L.enabled)return;let I=L,A=+new Date,E=A-(x||A);I.diff=E,I.prev=x,I.curr=A,x=A,y[0]=r.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let s=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,(m,C)=>{if(m==="%%")return"%";s++;let S=r.formatters[C];if(typeof S=="function"){let T=y[s];m=S.call(I,T),y.splice(s,1),s--}return m}),r.formatArgs.call(I,y),(I.log||r.log).apply(I,y)}let x,h=null;return L.namespace=d,L.useColors=r.useColors(),L.color=r.selectColor(d),L.extend=f,L.destroy=r.destroy,Object.defineProperty(L,"enabled",{enumerable:!0,configurable:!1,get:()=>h===null?r.enabled(d):h,set:y=>{h=y}}),typeof r.init=="function"&&r.init(L),L}function f(d,L){let x=r(this.namespace+(typeof L>"u"?":":L)+d);return x.log=this.log,x}function g(d){return d.toString().substring(2,d.toString().length-2).replace(/\.\*\?$/,"*")}return r.debug=r,r.default=r,r.coerce=function(d){return d instanceof Error?d.stack||d.message:d},r.disable=function(){let d=[...r.names.map(g),...r.skips.map(g).map(L=>"-"+L)].join(",");return r.enable(""),d},r.enable=function(d){r.save(d),r.names=[],r.skips=[];let L,x=(typeof d=="string"?d:"").split(/[\s,]+/),h=x.length;for(L=0;L<h;L++)x[L]&&(d=x[L].replace(/\*/g,".*?"),d[0]==="-"?r.skips.push(new RegExp("^"+d.substr(1)+"$")):r.names.push(new RegExp("^"+d+"$")))},r.enabled=function(d){if(d[d.length-1]==="*")return!0;let L,x;for(L=0,x=r.skips.length;L<x;L++)if(r.skips[L].test(d))return!1;for(L=0,x=r.names.length;L<x;L++)if(r.names[L].test(d))return!0;return!1},r.humanize=l("ms"),r.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(o).forEach(d=>{r[d]=o[d]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=function(d){let L=0;for(let x=0;x<d.length;x++)L=(L<<5)-L+d.charCodeAt(x),L|=0;return r.colors[a(L)%r.colors.length]},r.enable(r.load()),r}},{ms:11}],6:[function(l,u){"use strict";function o(r,f){for(let g in f)Object.defineProperty(r,g,{value:f[g],enumerable:!0,configurable:!0});return r}u.exports=function(r,f,g){if(!r||typeof r=="string")throw new TypeError("Please pass an Error to err-code");g||(g={}),typeof f=="object"&&(g=f,f=""),f&&(g.code=f);try{return o(r,g)}catch{g.message=r.message,g.stack=r.stack;let L=function(){};return L.prototype=Object.create(Object.getPrototypeOf(r)),o(new L,g)}}},{}],7:[function(l,u){"use strict";function o(b){console&&console.warn&&console.warn(b)}function r(){r.init.call(this)}function f(b){if(typeof b!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof b)}function g(b){return b._maxListeners===void 0?r.defaultMaxListeners:b._maxListeners}function d(b,w,B,z){var G,F,ee;if(f(B),F=b._events,F===void 0?(F=b._events=Object.create(null),b._eventsCount=0):(F.newListener!==void 0&&(b.emit("newListener",w,B.listener?B.listener:B),F=b._events),ee=F[w]),ee===void 0)ee=F[w]=B,++b._eventsCount;else if(typeof ee=="function"?ee=F[w]=z?[B,ee]:[ee,B]:z?ee.unshift(B):ee.push(B),G=g(b),0<G&&ee.length>G&&!ee.warned){ee.warned=!0;var Ae=new Error("Possible EventEmitter memory leak detected. "+ee.length+" "+(w+" listeners added. Use emitter.setMaxListeners() to increase limit"));Ae.name="MaxListenersExceededWarning",Ae.emitter=b,Ae.type=w,Ae.count=ee.length,o(Ae)}return b}function L(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function x(b,w,B){var z={fired:!1,wrapFn:void 0,target:b,type:w,listener:B},G=L.bind(z);return G.listener=B,z.wrapFn=G,G}function h(b,w,B){var z=b._events;if(z===void 0)return[];var G=z[w];return G===void 0?[]:typeof G=="function"?B?[G.listener||G]:[G]:B?E(G):I(G,G.length)}function y(b){var w=this._events;if(w!==void 0){var B=w[b];if(typeof B=="function")return 1;if(B!==void 0)return B.length}return 0}function I(b,w){for(var B=Array(w),z=0;z<w;++z)B[z]=b[z];return B}function A(b,w){for(;w+1<b.length;w++)b[w]=b[w+1];b.pop()}function E(b){for(var w=Array(b.length),B=0;B<w.length;++B)w[B]=b[B].listener||b[B];return w}function s(b,w,B){typeof b.on=="function"&&c(b,"error",w,B)}function c(b,w,B,z){if(typeof b.on=="function")z.once?b.once(w,B):b.on(w,B);else if(typeof b.addEventListener=="function")b.addEventListener(w,function G(F){z.once&&b.removeEventListener(w,G),B(F)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof b)}var m,C=typeof Reflect=="object"?Reflect:null,S=C&&typeof C.apply=="function"?C.apply:function(b,w,B){return Function.prototype.apply.call(b,w,B)};m=C&&typeof C.ownKeys=="function"?C.ownKeys:Object.getOwnPropertySymbols?function(b){return Object.getOwnPropertyNames(b).concat(Object.getOwnPropertySymbols(b))}:function(b){return Object.getOwnPropertyNames(b)};var T=Number.isNaN||function(b){return b!==b};u.exports=r,u.exports.once=function(b,w){return new Promise(function(B,z){function G(ee){b.removeListener(w,F),z(ee)}function F(){typeof b.removeListener=="function"&&b.removeListener("error",G),B([].slice.call(arguments))}c(b,w,F,{once:!0}),w!=="error"&&s(b,G,{once:!0})})},r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var _=10;Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return _},set:function(b){if(typeof b!="number"||0>b||T(b))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+b+".");_=b}}),r.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(b){if(typeof b!="number"||0>b||T(b))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+b+".");return this._maxListeners=b,this},r.prototype.getMaxListeners=function(){return g(this)},r.prototype.emit=function(b){for(var w=[],B=1;B<arguments.length;B++)w.push(arguments[B]);var z=b==="error",G=this._events;if(G!==void 0)z=z&&G.error===void 0;else if(!z)return!1;if(z){var F;if(0<w.length&&(F=w[0]),F instanceof Error)throw F;var ee=new Error("Unhandled error."+(F?" ("+F.message+")":""));throw ee.context=F,ee}var Ae=G[b];if(Ae===void 0)return!1;if(typeof Ae=="function")S(Ae,this,w);else for(var Fe=Ae.length,j=I(Ae,Fe),B=0;B<Fe;++B)S(j[B],this,w);return!0},r.prototype.addListener=function(b,w){return d(this,b,w,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(b,w){return d(this,b,w,!0)},r.prototype.once=function(b,w){return f(w),this.on(b,x(this,b,w)),this},r.prototype.prependOnceListener=function(b,w){return f(w),this.prependListener(b,x(this,b,w)),this},r.prototype.removeListener=function(b,w){var B,z,G,F,ee;if(f(w),z=this._events,z===void 0)return this;if(B=z[b],B===void 0)return this;if(B===w||B.listener===w)--this._eventsCount==0?this._events=Object.create(null):(delete z[b],z.removeListener&&this.emit("removeListener",b,B.listener||w));else if(typeof B!="function"){for(G=-1,F=B.length-1;0<=F;F--)if(B[F]===w||B[F].listener===w){ee=B[F].listener,G=F;break}if(0>G)return this;G===0?B.shift():A(B,G),B.length===1&&(z[b]=B[0]),z.removeListener!==void 0&&this.emit("removeListener",b,ee||w)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(b){var w,B,z;if(B=this._events,B===void 0)return this;if(B.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):B[b]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete B[b]),this;if(arguments.length===0){var G,F=Object.keys(B);for(z=0;z<F.length;++z)G=F[z],G!=="removeListener"&&this.removeAllListeners(G);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(w=B[b],typeof w=="function")this.removeListener(b,w);else if(w!==void 0)for(z=w.length-1;0<=z;z--)this.removeListener(b,w[z]);return this},r.prototype.listeners=function(b){return h(this,b,!0)},r.prototype.rawListeners=function(b){return h(this,b,!1)},r.listenerCount=function(b,w){return typeof b.listenerCount=="function"?b.listenerCount(w):y.call(b,w)},r.prototype.listenerCount=y,r.prototype.eventNames=function(){return 0<this._eventsCount?m(this._events):[]}},{}],8:[function(l,u){u.exports=function(){if(typeof globalThis>"u")return null;var o={RTCPeerConnection:globalThis.RTCPeerConnection||globalThis.mozRTCPeerConnection||globalThis.webkitRTCPeerConnection,RTCSessionDescription:globalThis.RTCSessionDescription||globalThis.mozRTCSessionDescription||globalThis.webkitRTCSessionDescription,RTCIceCandidate:globalThis.RTCIceCandidate||globalThis.mozRTCIceCandidate||globalThis.webkitRTCIceCandidate};return o.RTCPeerConnection?o:null}},{}],9:[function(l,u,o){o.read=function(r,f,g,d,L){var x,h,y=8*L-d-1,I=(1<<y)-1,A=I>>1,E=-7,s=g?L-1:0,c=g?-1:1,m=r[f+s];for(s+=c,x=m&(1<<-E)-1,m>>=-E,E+=y;0<E;x=256*x+r[f+s],s+=c,E-=8);for(h=x&(1<<-E)-1,x>>=-E,E+=d;0<E;h=256*h+r[f+s],s+=c,E-=8);if(x===0)x=1-A;else{if(x===I)return h?NaN:(m?-1:1)*(1/0);h+=t(2,d),x-=A}return(m?-1:1)*h*t(2,x-d)},o.write=function(r,f,g,d,L,x){var h,y,I,A=Math.LN2,E=Math.log,s=8*x-L-1,c=(1<<s)-1,m=c>>1,C=L===23?t(2,-24)-t(2,-77):0,S=d?0:x-1,T=d?1:-1,_=0>f||f===0&&0>1/f?1:0;for(f=a(f),isNaN(f)||f===1/0?(y=isNaN(f)?1:0,h=c):(h=e(E(f)/A),1>f*(I=t(2,-h))&&(h--,I*=2),f+=1<=h+m?C/I:C*t(2,1-m),2<=f*I&&(h++,I/=2),h+m>=c?(y=0,h=c):1<=h+m?(y=(f*I-1)*t(2,L),h+=m):(y=f*t(2,m-1)*t(2,L),h=0));8<=L;r[g+S]=255&y,S+=T,y/=256,L-=8);for(h=h<<L|y,s+=L;0<s;r[g+S]=255&h,S+=T,h/=256,s-=8);r[g+S-T]|=128*_}},{}],10:[function(l,u){u.exports=typeof Object.create=="function"?function(o,r){r&&(o.super_=r,o.prototype=Object.create(r.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}))}:function(o,r){if(r){o.super_=r;var f=function(){};f.prototype=r.prototype,o.prototype=new f,o.prototype.constructor=o}}},{}],11:[function(l,u){var o=Math.round;function r(x){if(x+="",!(100<x.length)){var h=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(x);if(h){var y=parseFloat(h[1]),I=(h[2]||"ms").toLowerCase();return I==="years"||I==="year"||I==="yrs"||I==="yr"||I==="y"?315576e5*y:I==="weeks"||I==="week"||I==="w"?6048e5*y:I==="days"||I==="day"||I==="d"?864e5*y:I==="hours"||I==="hour"||I==="hrs"||I==="hr"||I==="h"?36e5*y:I==="minutes"||I==="minute"||I==="mins"||I==="min"||I==="m"?6e4*y:I==="seconds"||I==="second"||I==="secs"||I==="sec"||I==="s"?1e3*y:I==="milliseconds"||I==="millisecond"||I==="msecs"||I==="msec"||I==="ms"?y:void 0}}}function f(x){var h=a(x);return 864e5<=h?o(x/864e5)+"d":36e5<=h?o(x/36e5)+"h":6e4<=h?o(x/6e4)+"m":1e3<=h?o(x/1e3)+"s":x+"ms"}function g(x){var h=a(x);return 864e5<=h?d(x,h,864e5,"day"):36e5<=h?d(x,h,36e5,"hour"):6e4<=h?d(x,h,6e4,"minute"):1e3<=h?d(x,h,1e3,"second"):x+" ms"}function d(x,h,y,I){return o(x/y)+" "+I+(h>=1.5*y?"s":"")}var L=24*(60*6e4);u.exports=function(x,h){h=h||{};var y=typeof x;if(y=="string"&&0<x.length)return r(x);if(y==="number"&&isFinite(x))return h.long?g(x):f(x);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(x))}},{}],12:[function(l,u){function o(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function f(C){if(y===setTimeout)return setTimeout(C,0);if((y===o||!y)&&setTimeout)return y=setTimeout,setTimeout(C,0);try{return y(C,0)}catch{try{return y.call(null,C,0)}catch{return y.call(this,C,0)}}}function g(C){if(I===clearTimeout)return clearTimeout(C);if((I===r||!I)&&clearTimeout)return I=clearTimeout,clearTimeout(C);try{return I(C)}catch{try{return I.call(null,C)}catch{return I.call(this,C)}}}function d(){c&&E&&(c=!1,E.length?s=E.concat(s):m=-1,s.length&&L())}function L(){if(!c){var C=f(d);c=!0;for(var S=s.length;S;){for(E=s,s=[];++m<S;)E&&E[m].run();m=-1,S=s.length}E=null,c=!1,g(C)}}function x(C,S){this.fun=C,this.array=S}function h(){}var y,I,A=u.exports={};(function(){try{y=typeof setTimeout=="function"?setTimeout:o}catch{y=o}try{I=typeof clearTimeout=="function"?clearTimeout:r}catch{I=r}})();var E,s=[],c=!1,m=-1;A.nextTick=function(C){var S=Array(arguments.length-1);if(1<arguments.length)for(var T=1;T<arguments.length;T++)S[T-1]=arguments[T];s.push(new x(C,S)),s.length!==1||c||f(L)},x.prototype.run=function(){this.fun.apply(null,this.array)},A.title="browser",A.browser=!0,A.env={},A.argv=[],A.version="",A.versions={},A.on=h,A.addListener=h,A.once=h,A.off=h,A.removeListener=h,A.removeAllListeners=h,A.emit=h,A.prependListener=h,A.prependOnceListener=h,A.listeners=function(){return[]},A.binding=function(){throw new Error("process.binding is not supported")},A.cwd=function(){return"/"},A.chdir=function(){throw new Error("process.chdir is not supported")},A.umask=function(){return 0}},{}],13:[function(l,u){(function(o){(function(){let r;u.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window>"u"?o:window):f=>(r||(r=Promise.resolve())).then(f).catch(g=>setTimeout(()=>{throw g},0))}).call(this)}).call(this,typeof global>"u"?typeof self>"u"?typeof window>"u"?{}:window:self:global)},{}],14:[function(l,u){(function(o,r){(function(){"use strict";var f=l("safe-buffer").Buffer,g=r.crypto||r.msCrypto;u.exports=g&&g.getRandomValues?function(d,L){if(d>4294967295)throw new RangeError("requested too many random bytes");var x=f.allocUnsafe(d);if(0<d)if(65536<d)for(var h=0;h<d;h+=65536)g.getRandomValues(x.slice(h,h+65536));else g.getRandomValues(x);return typeof L=="function"?o.nextTick(function(){L(null,x)}):x}:function(){throw new Error(`Secure random number generation is not supported by this browser.
|
|
10
|
+
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this)}).call(this,l("_process"),typeof global>"u"?typeof self>"u"?typeof window>"u"?{}:window:self:global)},{_process:12,"safe-buffer":30}],15:[function(l,u){"use strict";function o(h,y){h.prototype=Object.create(y.prototype),h.prototype.constructor=h,h.__proto__=y}function r(h,y,I){function A(s,c,m){return typeof y=="string"?y:y(s,c,m)}I||(I=Error);var E=(function(s){function c(m,C,S){return s.call(this,A(m,C,S))||this}return o(c,s),c})(I);E.prototype.name=I.name,E.prototype.code=h,x[h]=E}function f(h,y){if(Array.isArray(h)){var I=h.length;return h=h.map(function(A){return A+""}),2<I?"one of ".concat(y," ").concat(h.slice(0,I-1).join(", "),", or ")+h[I-1]:I===2?"one of ".concat(y," ").concat(h[0]," or ").concat(h[1]):"of ".concat(y," ").concat(h[0])}return"of ".concat(y," ").concat(h+"")}function g(h,y,I){return h.substr(!I||0>I?0:+I,y.length)===y}function d(h,y,I){return(I===void 0||I>h.length)&&(I=h.length),h.substring(I-y.length,I)===y}function L(h,y,I){return typeof I!="number"&&(I=0),!(I+y.length>h.length)&&h.indexOf(y,I)!==-1}var x={};r("ERR_INVALID_OPT_VALUE",function(h,y){return'The value "'+y+'" is invalid for option "'+h+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(h,y,I){var A;typeof y=="string"&&g(y,"not ")?(A="must not be",y=y.replace(/^not /,"")):A="must be";var E;if(d(h," argument"))E="The ".concat(h," ").concat(A," ").concat(f(y,"type"));else{var s=L(h,".")?"property":"argument";E='The "'.concat(h,'" ').concat(s," ").concat(A," ").concat(f(y,"type"))}return E+=". Received type ".concat(typeof I),E},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(h){return"The "+h+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(h){return"Cannot call "+h+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(h){return"Unknown encoding: "+h},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),u.exports.codes=x},{}],16:[function(l,u){(function(o){(function(){"use strict";function r(A){return this instanceof r?(L.call(this,A),x.call(this,A),this.allowHalfOpen=!0,void(A&&(A.readable===!1&&(this.readable=!1),A.writable===!1&&(this.writable=!1),A.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f))))):new r(A)}function f(){this._writableState.ended||o.nextTick(g,this)}function g(A){A.end()}var d=Object.keys||function(A){var E=[];for(var s in A)E.push(s);return E};u.exports=r;var L=l("./_stream_readable"),x=l("./_stream_writable");l("inherits")(r,L);for(var h,y=d(x.prototype),I=0;I<y.length;I++)h=y[I],r.prototype[h]||(r.prototype[h]=x.prototype[h]);Object.defineProperty(r.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(r.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(r.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(r.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(A){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=A,this._writableState.destroyed=A)}})}).call(this)}).call(this,l("_process"))},{"./_stream_readable":18,"./_stream_writable":20,_process:12,inherits:10}],17:[function(l,u){"use strict";function o(f){return this instanceof o?void r.call(this,f):new o(f)}u.exports=o;var r=l("./_stream_transform");l("inherits")(o,r),o.prototype._transform=function(f,g,d){d(null,f)}},{"./_stream_transform":19,inherits:10}],18:[function(l,u){(function(o,r){(function(){"use strict";function f(n){return se.from(n)}function g(n){return se.isBuffer(n)||n instanceof me}function d(n,i,p){return typeof n.prependListener=="function"?n.prependListener(i,p):void(n._events&&n._events[i]?Array.isArray(n._events[i])?n._events[i].unshift(p):n._events[i]=[p,n._events[i]]:n.on(i,p))}function L(n,i,p){Fe=Fe||l("./_stream_duplex"),n=n||{},typeof p!="boolean"&&(p=i instanceof Fe),this.objectMode=!!n.objectMode,p&&(this.objectMode=this.objectMode||!!n.readableObjectMode),this.highWaterMark=Ja(this,n,"readableHighWaterMark",p),this.buffer=new Na,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=n.emitClose!==!1,this.autoDestroy=!!n.autoDestroy,this.destroyed=!1,this.defaultEncoding=n.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,n.encoding&&(!Pe&&(Pe=l("string_decoder/").StringDecoder),this.decoder=new Pe(n.encoding),this.encoding=n.encoding)}function x(n){if(Fe=Fe||l("./_stream_duplex"),!(this instanceof x))return new x(n);var i=this instanceof Fe;this._readableState=new L(n,this,i),this.readable=!0,n&&(typeof n.read=="function"&&(this._read=n.read),typeof n.destroy=="function"&&(this._destroy=n.destroy)),ia.call(this)}function h(n,i,p,v,D){j("readableAddChunk",i);var O=n._readableState;if(i===null)O.reading=!1,s(n,O);else{var N;if(D||(N=I(O,i)),N)P(n,N);else if(!(O.objectMode||i&&0<i.length))v||(O.reading=!1,C(n,O));else if(typeof i=="string"||O.objectMode||Object.getPrototypeOf(i)===se.prototype||(i=f(i)),v)O.endEmitted?P(n,new H):y(n,O,i,!0);else if(O.ended)P(n,new M);else{if(O.destroyed)return!1;O.reading=!1,O.decoder&&!p?(i=O.decoder.write(i),O.objectMode||i.length!==0?y(n,O,i,!1):C(n,O)):y(n,O,i,!1)}}return!O.ended&&(O.length<O.highWaterMark||O.length===0)}function y(n,i,p,v){i.flowing&&i.length===0&&!i.sync?(i.awaitDrain=0,n.emit("data",p)):(i.length+=i.objectMode?1:p.length,v?i.buffer.unshift(p):i.buffer.push(p),i.needReadable&&c(n)),C(n,i)}function I(n,i){var p;return g(i)||typeof i=="string"||i===void 0||n.objectMode||(p=new ue("chunk",["string","Buffer","Uint8Array"],i)),p}function A(n){return 1073741824<=n?n=1073741824:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n}function E(n,i){return 0>=n||i.length===0&&i.ended?0:i.objectMode?1:n===n?(n>i.highWaterMark&&(i.highWaterMark=A(n)),n<=i.length?n:i.ended?i.length:(i.needReadable=!0,0)):i.flowing&&i.length?i.buffer.head.data.length:i.length}function s(n,i){if(j("onEofChunk"),!i.ended){if(i.decoder){var p=i.decoder.end();p&&p.length&&(i.buffer.push(p),i.length+=i.objectMode?1:p.length)}i.ended=!0,i.sync?c(n):(i.needReadable=!1,!i.emittedReadable&&(i.emittedReadable=!0,m(n)))}}function c(n){var i=n._readableState;j("emitReadable",i.needReadable,i.emittedReadable),i.needReadable=!1,i.emittedReadable||(j("emitReadable",i.flowing),i.emittedReadable=!0,o.nextTick(m,n))}function m(n){var i=n._readableState;j("emitReadable_",i.destroyed,i.length,i.ended),!i.destroyed&&(i.length||i.ended)&&(n.emit("readable"),i.emittedReadable=!1),i.needReadable=!i.flowing&&!i.ended&&i.length<=i.highWaterMark,z(n)}function C(n,i){i.readingMore||(i.readingMore=!0,o.nextTick(S,n,i))}function S(n,i){for(;!i.reading&&!i.ended&&(i.length<i.highWaterMark||i.flowing&&i.length===0);){var p=i.length;if(j("maybeReadMore read 0"),n.read(0),p===i.length)break}i.readingMore=!1}function T(n){return function(){var i=n._readableState;j("pipeOnDrain",i.awaitDrain),i.awaitDrain&&i.awaitDrain--,i.awaitDrain===0&&va(n,"data")&&(i.flowing=!0,z(n))}}function _(n){var i=n._readableState;i.readableListening=0<n.listenerCount("readable"),i.resumeScheduled&&!i.paused?i.flowing=!0:0<n.listenerCount("data")&&n.resume()}function b(n){j("readable nexttick read 0"),n.read(0)}function w(n,i){i.resumeScheduled||(i.resumeScheduled=!0,o.nextTick(B,n,i))}function B(n,i){j("resume",i.reading),i.reading||n.read(0),i.resumeScheduled=!1,n.emit("resume"),z(n),i.flowing&&!i.reading&&n.read(0)}function z(n){var i=n._readableState;for(j("flow",i.flowing);i.flowing&&n.read()!==null;);}function G(n,i){if(i.length===0)return null;var p;return i.objectMode?p=i.buffer.shift():!n||n>=i.length?(p=i.decoder?i.buffer.join(""):i.buffer.length===1?i.buffer.first():i.buffer.concat(i.length),i.buffer.clear()):p=i.buffer.consume(n,i.decoder),p}function F(n){var i=n._readableState;j("endReadable",i.endEmitted),i.endEmitted||(i.ended=!0,o.nextTick(ee,i,n))}function ee(n,i){if(j("endReadableNT",n.endEmitted,n.length),!n.endEmitted&&n.length===0&&(n.endEmitted=!0,i.readable=!1,i.emit("end"),n.autoDestroy)){var p=i._writableState;(!p||p.autoDestroy&&p.finished)&&i.destroy()}}function Ae(n,i){for(var p=0,v=n.length;p<v;p++)if(n[p]===i)return p;return-1}u.exports=x;var Fe;x.ReadableState=L;var j,ea=l("events").EventEmitter,va=function(n,i){return n.listeners(i).length},ia=l("./internal/streams/stream"),se=l("buffer").Buffer,me=r.Uint8Array||function(){},fa=l("util");j=fa&&fa.debuglog?fa.debuglog("stream"):function(){};var Pe,Oa,Ka,Na=l("./internal/streams/buffer_list"),Ke=l("./internal/streams/destroy"),St=l("./internal/streams/state"),Ja=St.getHighWaterMark,qe=l("../errors").codes,ue=qe.ERR_INVALID_ARG_TYPE,M=qe.ERR_STREAM_PUSH_AFTER_EOF,k=qe.ERR_METHOD_NOT_IMPLEMENTED,H=qe.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;l("inherits")(x,ia);var P=Ke.errorOrDestroy,Z=["error","close","destroy","pause","resume"];Object.defineProperty(x.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(n){this._readableState&&(this._readableState.destroyed=n)}}),x.prototype.destroy=Ke.destroy,x.prototype._undestroy=Ke.undestroy,x.prototype._destroy=function(n,i){i(n)},x.prototype.push=function(n,i){var p,v=this._readableState;return v.objectMode?p=!0:typeof n=="string"&&(i=i||v.defaultEncoding,i!==v.encoding&&(n=se.from(n,i),i=""),p=!0),h(this,n,i,!1,p)},x.prototype.unshift=function(n){return h(this,n,null,!0,!1)},x.prototype.isPaused=function(){return this._readableState.flowing===!1},x.prototype.setEncoding=function(n){Pe||(Pe=l("string_decoder/").StringDecoder);var i=new Pe(n);this._readableState.decoder=i,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,v="";p!==null;)v+=i.write(p.data),p=p.next;return this._readableState.buffer.clear(),v!==""&&this._readableState.buffer.push(v),this._readableState.length=v.length,this},x.prototype.read=function(n){j("read",n),n=parseInt(n,10);var i=this._readableState,p=n;if(n!==0&&(i.emittedReadable=!1),n===0&&i.needReadable&&((i.highWaterMark===0?0<i.length:i.length>=i.highWaterMark)||i.ended))return j("read: emitReadable",i.length,i.ended),i.length===0&&i.ended?F(this):c(this),null;if(n=E(n,i),n===0&&i.ended)return i.length===0&&F(this),null;var v=i.needReadable;j("need readable",v),(i.length===0||i.length-n<i.highWaterMark)&&(v=!0,j("length less than watermark",v)),i.ended||i.reading?(v=!1,j("reading or ended",v)):v&&(j("do read"),i.reading=!0,i.sync=!0,i.length===0&&(i.needReadable=!0),this._read(i.highWaterMark),i.sync=!1,!i.reading&&(n=E(p,i)));var D;return D=0<n?G(n,i):null,D===null?(i.needReadable=i.length<=i.highWaterMark,n=0):(i.length-=n,i.awaitDrain=0),i.length===0&&(!i.ended&&(i.needReadable=!0),p!==n&&i.ended&&F(this)),D!==null&&this.emit("data",D),D},x.prototype._read=function(){P(this,new k("_read()"))},x.prototype.pipe=function(n,i){function p(vt,bt){j("onunpipe"),vt===te&&bt&&bt.hasUnpiped===!1&&(bt.hasUnpiped=!0,D())}function v(){j("onend"),n.end()}function D(){j("cleanup"),n.removeListener("close",J),n.removeListener("finish",ye),n.removeListener("drain",Pa),n.removeListener("error",N),n.removeListener("unpipe",p),te.removeListener("end",v),te.removeListener("end",ne),te.removeListener("data",O),Do=!0,oe.awaitDrain&&(!n._writableState||n._writableState.needDrain)&&Pa()}function O(vt){j("ondata");var bt=n.write(vt);j("dest.write",bt),bt===!1&&((oe.pipesCount===1&&oe.pipes===n||1<oe.pipesCount&&Ae(oe.pipes,n)!==-1)&&!Do&&(j("false write response, pause",oe.awaitDrain),oe.awaitDrain++),te.pause())}function N(vt){j("onerror",vt),ne(),n.removeListener("error",N),va(n,"error")===0&&P(n,vt)}function J(){n.removeListener("finish",ye),ne()}function ye(){j("onfinish"),n.removeListener("close",J),ne()}function ne(){j("unpipe"),te.unpipe(n)}var te=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=n;break;case 1:oe.pipes=[oe.pipes,n];break;default:oe.pipes.push(n)}oe.pipesCount+=1,j("pipe count=%d opts=%j",oe.pipesCount,i);var Wa=(!i||i.end!==!1)&&n!==o.stdout&&n!==o.stderr,Fa=Wa?v:ne;oe.endEmitted?o.nextTick(Fa):te.once("end",Fa),n.on("unpipe",p);var Pa=T(te);n.on("drain",Pa);var Do=!1;return te.on("data",O),d(n,"error",N),n.once("close",J),n.once("finish",ye),n.emit("pipe",te),oe.flowing||(j("pipe resume"),te.resume()),n},x.prototype.unpipe=function(n){var i=this._readableState,p={hasUnpiped:!1};if(i.pipesCount===0)return this;if(i.pipesCount===1)return n&&n!==i.pipes?this:(n||(n=i.pipes),i.pipes=null,i.pipesCount=0,i.flowing=!1,n&&n.emit("unpipe",this,p),this);if(!n){var v=i.pipes,D=i.pipesCount;i.pipes=null,i.pipesCount=0,i.flowing=!1;for(var O=0;O<D;O++)v[O].emit("unpipe",this,{hasUnpiped:!1});return this}var N=Ae(i.pipes,n);return N===-1?this:(i.pipes.splice(N,1),i.pipesCount-=1,i.pipesCount===1&&(i.pipes=i.pipes[0]),n.emit("unpipe",this,p),this)},x.prototype.on=function(n,i){var p=ia.prototype.on.call(this,n,i),v=this._readableState;return n==="data"?(v.readableListening=0<this.listenerCount("readable"),v.flowing!==!1&&this.resume()):n=="readable"&&!v.endEmitted&&!v.readableListening&&(v.readableListening=v.needReadable=!0,v.flowing=!1,v.emittedReadable=!1,j("on readable",v.length,v.reading),v.length?c(this):!v.reading&&o.nextTick(b,this)),p},x.prototype.addListener=x.prototype.on,x.prototype.removeListener=function(n,i){var p=ia.prototype.removeListener.call(this,n,i);return n==="readable"&&o.nextTick(_,this),p},x.prototype.removeAllListeners=function(n){var i=ia.prototype.removeAllListeners.apply(this,arguments);return(n==="readable"||n===void 0)&&o.nextTick(_,this),i},x.prototype.resume=function(){var n=this._readableState;return n.flowing||(j("resume"),n.flowing=!n.readableListening,w(this,n)),n.paused=!1,this},x.prototype.pause=function(){return j("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(j("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},x.prototype.wrap=function(n){var i=this,p=this._readableState,v=!1;for(var D in n.on("end",function(){if(j("wrapped end"),p.decoder&&!p.ended){var N=p.decoder.end();N&&N.length&&i.push(N)}i.push(null)}),n.on("data",function(N){if(j("wrapped data"),p.decoder&&(N=p.decoder.write(N)),!(p.objectMode&&N==null)&&(p.objectMode||N&&N.length)){var J=i.push(N);J||(v=!0,n.pause())}}),n)this[D]===void 0&&typeof n[D]=="function"&&(this[D]=(function(N){return function(){return n[N].apply(n,arguments)}})(D));for(var O=0;O<Z.length;O++)n.on(Z[O],this.emit.bind(this,Z[O]));return this._read=function(N){j("wrapped _read",N),v&&(v=!1,n.resume())},this},typeof Symbol=="function"&&(x.prototype[Symbol.asyncIterator]=function(){return Oa===void 0&&(Oa=l("./internal/streams/async_iterator")),Oa(this)}),Object.defineProperty(x.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(x.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(x.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(n){this._readableState&&(this._readableState.flowing=n)}}),x._fromList=G,Object.defineProperty(x.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(x.from=function(n,i){return Ka===void 0&&(Ka=l("./internal/streams/from")),Ka(x,n,i)})}).call(this)}).call(this,l("_process"),typeof global>"u"?typeof self>"u"?typeof window>"u"?{}:window:self:global)},{"../errors":15,"./_stream_duplex":16,"./internal/streams/async_iterator":21,"./internal/streams/buffer_list":22,"./internal/streams/destroy":23,"./internal/streams/from":25,"./internal/streams/state":27,"./internal/streams/stream":28,_process:12,buffer:3,events:7,inherits:10,"string_decoder/":31,util:2}],19:[function(l,u){"use strict";function o(A,E){var s=this._transformState;s.transforming=!1;var c=s.writecb;if(c===null)return this.emit("error",new x);s.writechunk=null,s.writecb=null,E!=null&&this.push(E),c(A);var m=this._readableState;m.reading=!1,(m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}function r(A){return this instanceof r?(I.call(this,A),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,A&&(typeof A.transform=="function"&&(this._transform=A.transform),typeof A.flush=="function"&&(this._flush=A.flush)),void this.on("prefinish",f)):new r(A)}function f(){var A=this;typeof this._flush!="function"||this._readableState.destroyed?g(this,null,null):this._flush(function(E,s){g(A,E,s)})}function g(A,E,s){if(E)return A.emit("error",E);if(s!=null&&A.push(s),A._writableState.length)throw new y;if(A._transformState.transforming)throw new h;return A.push(null)}u.exports=r;var d=l("../errors").codes,L=d.ERR_METHOD_NOT_IMPLEMENTED,x=d.ERR_MULTIPLE_CALLBACK,h=d.ERR_TRANSFORM_ALREADY_TRANSFORMING,y=d.ERR_TRANSFORM_WITH_LENGTH_0,I=l("./_stream_duplex");l("inherits")(r,I),r.prototype.push=function(A,E){return this._transformState.needTransform=!1,I.prototype.push.call(this,A,E)},r.prototype._transform=function(A,E,s){s(new L("_transform()"))},r.prototype._write=function(A,E,s){var c=this._transformState;if(c.writecb=s,c.writechunk=A,c.writeencoding=E,!c.transforming){var m=this._readableState;(c.needTransform||m.needReadable||m.length<m.highWaterMark)&&this._read(m.highWaterMark)}},r.prototype._read=function(){var A=this._transformState;A.writechunk===null||A.transforming?A.needTransform=!0:(A.transforming=!0,this._transform(A.writechunk,A.writeencoding,A.afterTransform))},r.prototype._destroy=function(A,E){I.prototype._destroy.call(this,A,function(s){E(s)})}},{"../errors":15,"./_stream_duplex":16,inherits:10}],20:[function(l,u){(function(o,r){(function(){"use strict";function f(M){var k=this;this.next=null,this.entry=null,this.finish=function(){F(k,M)}}function g(M){return j.from(M)}function d(M){return j.isBuffer(M)||M instanceof ea}function L(){}function x(M,k,H){ee=ee||l("./_stream_duplex"),M=M||{},typeof H!="boolean"&&(H=k instanceof ee),this.objectMode=!!M.objectMode,H&&(this.objectMode=this.objectMode||!!M.writableObjectMode),this.highWaterMark=se(this,M,"writableHighWaterMark",H),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var P=M.decodeStrings===!1;this.decodeStrings=!P,this.defaultEncoding=M.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Z){C(k,Z)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=M.emitClose!==!1,this.autoDestroy=!!M.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new f(this)}function h(M){ee=ee||l("./_stream_duplex");var k=this instanceof ee;return k||ue.call(h,this)?(this._writableState=new x(M,this,k),this.writable=!0,M&&(typeof M.write=="function"&&(this._write=M.write),typeof M.writev=="function"&&(this._writev=M.writev),typeof M.destroy=="function"&&(this._destroy=M.destroy),typeof M.final=="function"&&(this._final=M.final)),void Fe.call(this)):new h(M)}function y(M,k){var H=new St;qe(M,H),o.nextTick(k,H)}function I(M,k,H,P){var Z;return H===null?Z=new Ke:typeof H!="string"&&!k.objectMode&&(Z=new fa("chunk",["string","Buffer"],H)),!Z||(qe(M,Z),o.nextTick(P,Z),!1)}function A(M,k,H){return M.objectMode||M.decodeStrings===!1||typeof k!="string"||(k=j.from(k,H)),k}function E(M,k,H,P,Z,n){if(!H){var i=A(k,P,Z);P!==i&&(H=!0,Z="buffer",P=i)}var p=k.objectMode?1:P.length;k.length+=p;var v=k.length<k.highWaterMark;if(v||(k.needDrain=!0),k.writing||k.corked){var D=k.lastBufferedRequest;k.lastBufferedRequest={chunk:P,encoding:Z,isBuf:H,callback:n,next:null},D?D.next=k.lastBufferedRequest:k.bufferedRequest=k.lastBufferedRequest,k.bufferedRequestCount+=1}else s(M,k,!1,p,P,Z,n);return v}function s(M,k,H,P,Z,n,i){k.writelen=P,k.writecb=i,k.writing=!0,k.sync=!0,k.destroyed?k.onwrite(new Na("write")):H?M._writev(Z,k.onwrite):M._write(Z,n,k.onwrite),k.sync=!1}function c(M,k,H,P,Z){--k.pendingcb,H?(o.nextTick(Z,P),o.nextTick(z,M,k),M._writableState.errorEmitted=!0,qe(M,P)):(Z(P),M._writableState.errorEmitted=!0,qe(M,P),z(M,k))}function m(M){M.writing=!1,M.writecb=null,M.length-=M.writelen,M.writelen=0}function C(M,k){var H=M._writableState,P=H.sync,Z=H.writecb;if(typeof Z!="function")throw new Oa;if(m(H),k)c(M,H,P,k,Z);else{var n=b(H)||M.destroyed;n||H.corked||H.bufferProcessing||!H.bufferedRequest||_(M,H),P?o.nextTick(S,M,H,n,Z):S(M,H,n,Z)}}function S(M,k,H,P){H||T(M,k),k.pendingcb--,P(),z(M,k)}function T(M,k){k.length===0&&k.needDrain&&(k.needDrain=!1,M.emit("drain"))}function _(M,k){k.bufferProcessing=!0;var H=k.bufferedRequest;if(M._writev&&H&&H.next){var P=k.bufferedRequestCount,Z=Array(P),n=k.corkedRequestsFree;n.entry=H;for(var i=0,p=!0;H;)Z[i]=H,H.isBuf||(p=!1),H=H.next,i+=1;Z.allBuffers=p,s(M,k,!0,k.length,Z,"",n.finish),k.pendingcb++,k.lastBufferedRequest=null,n.next?(k.corkedRequestsFree=n.next,n.next=null):k.corkedRequestsFree=new f(k),k.bufferedRequestCount=0}else{for(;H;){var v=H.chunk,D=H.encoding,O=H.callback,N=k.objectMode?1:v.length;if(s(M,k,!1,N,v,D,O),H=H.next,k.bufferedRequestCount--,k.writing)break}H===null&&(k.lastBufferedRequest=null)}k.bufferedRequest=H,k.bufferProcessing=!1}function b(M){return M.ending&&M.length===0&&M.bufferedRequest===null&&!M.finished&&!M.writing}function w(M,k){M._final(function(H){k.pendingcb--,H&&qe(M,H),k.prefinished=!0,M.emit("prefinish"),z(M,k)})}function B(M,k){k.prefinished||k.finalCalled||(typeof M._final!="function"||k.destroyed?(k.prefinished=!0,M.emit("prefinish")):(k.pendingcb++,k.finalCalled=!0,o.nextTick(w,M,k)))}function z(M,k){var H=b(k);if(H&&(B(M,k),k.pendingcb===0&&(k.finished=!0,M.emit("finish"),k.autoDestroy))){var P=M._readableState;(!P||P.autoDestroy&&P.endEmitted)&&M.destroy()}return H}function G(M,k,H){k.ending=!0,z(M,k),H&&(k.finished?o.nextTick(H):M.once("finish",H)),k.ended=!0,M.writable=!1}function F(M,k,H){var P=M.entry;for(M.entry=null;P;){var Z=P.callback;k.pendingcb--,Z(H),P=P.next}k.corkedRequestsFree.next=M}u.exports=h;var ee;h.WritableState=x;var Ae={deprecate:l("util-deprecate")},Fe=l("./internal/streams/stream"),j=l("buffer").Buffer,ea=r.Uint8Array||function(){},va=l("./internal/streams/destroy"),ia=l("./internal/streams/state"),se=ia.getHighWaterMark,me=l("../errors").codes,fa=me.ERR_INVALID_ARG_TYPE,Pe=me.ERR_METHOD_NOT_IMPLEMENTED,Oa=me.ERR_MULTIPLE_CALLBACK,Ka=me.ERR_STREAM_CANNOT_PIPE,Na=me.ERR_STREAM_DESTROYED,Ke=me.ERR_STREAM_NULL_VALUES,St=me.ERR_STREAM_WRITE_AFTER_END,Ja=me.ERR_UNKNOWN_ENCODING,qe=va.errorOrDestroy;l("inherits")(h,Fe),x.prototype.getBuffer=function(){for(var M=this.bufferedRequest,k=[];M;)k.push(M),M=M.next;return k},(function(){try{Object.defineProperty(x.prototype,"buffer",{get:Ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var ue;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(ue=Function.prototype[Symbol.hasInstance],Object.defineProperty(h,Symbol.hasInstance,{value:function(M){return!!ue.call(this,M)||this===h&&M&&M._writableState instanceof x}})):ue=function(M){return M instanceof this},h.prototype.pipe=function(){qe(this,new Ka)},h.prototype.write=function(M,k,H){var P=this._writableState,Z=!1,n=!P.objectMode&&d(M);return n&&!j.isBuffer(M)&&(M=g(M)),typeof k=="function"&&(H=k,k=null),n?k="buffer":!k&&(k=P.defaultEncoding),typeof H!="function"&&(H=L),P.ending?y(this,H):(n||I(this,P,M,H))&&(P.pendingcb++,Z=E(this,P,n,M,k,H)),Z},h.prototype.cork=function(){this._writableState.corked++},h.prototype.uncork=function(){var M=this._writableState;M.corked&&(M.corked--,!M.writing&&!M.corked&&!M.bufferProcessing&&M.bufferedRequest&&_(this,M))},h.prototype.setDefaultEncoding=function(M){if(typeof M=="string"&&(M=M.toLowerCase()),!(-1<["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((M+"").toLowerCase())))throw new Ja(M);return this._writableState.defaultEncoding=M,this},Object.defineProperty(h.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),h.prototype._write=function(M,k,H){H(new Pe("_write()"))},h.prototype._writev=null,h.prototype.end=function(M,k,H){var P=this._writableState;return typeof M=="function"?(H=M,M=null,k=null):typeof k=="function"&&(H=k,k=null),M!=null&&this.write(M,k),P.corked&&(P.corked=1,this.uncork()),P.ending||G(this,P,H),this},Object.defineProperty(h.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(h.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(M){this._writableState&&(this._writableState.destroyed=M)}}),h.prototype.destroy=va.destroy,h.prototype._undestroy=va.undestroy,h.prototype._destroy=function(M,k){k(M)}}).call(this)}).call(this,l("_process"),typeof global>"u"?typeof self>"u"?typeof window>"u"?{}:window:self:global)},{"../errors":15,"./_stream_duplex":16,"./internal/streams/destroy":23,"./internal/streams/state":27,"./internal/streams/stream":28,_process:12,buffer:3,inherits:10,"util-deprecate":32}],21:[function(l,u){(function(o){(function(){"use strict";function r(T,_,b){return _ in T?Object.defineProperty(T,_,{value:b,enumerable:!0,configurable:!0,writable:!0}):T[_]=b,T}function f(T,_){return{value:T,done:_}}function g(T){var _=T[y];if(_!==null){var b=T[m].read();b!==null&&(T[s]=null,T[y]=null,T[I]=null,_(f(b,!1)))}}function d(T){o.nextTick(g,T)}function L(T,_){return function(b,w){T.then(function(){return _[E]?void b(f(void 0,!0)):void _[c](b,w)},w)}}var x,h=l("./end-of-stream"),y=Symbol("lastResolve"),I=Symbol("lastReject"),A=Symbol("error"),E=Symbol("ended"),s=Symbol("lastPromise"),c=Symbol("handlePromise"),m=Symbol("stream"),C=Object.getPrototypeOf(function(){}),S=Object.setPrototypeOf((x={get stream(){return this[m]},next:function(){var T=this,_=this[A];if(_!==null)return Promise.reject(_);if(this[E])return Promise.resolve(f(void 0,!0));if(this[m].destroyed)return new Promise(function(z,G){o.nextTick(function(){T[A]?G(T[A]):z(f(void 0,!0))})});var b,w=this[s];if(w)b=new Promise(L(w,this));else{var B=this[m].read();if(B!==null)return Promise.resolve(f(B,!1));b=new Promise(this[c])}return this[s]=b,b}},r(x,Symbol.asyncIterator,function(){return this}),r(x,"return",function(){var T=this;return new Promise(function(_,b){T[m].destroy(null,function(w){return w?void b(w):void _(f(void 0,!0))})})}),x),C);u.exports=function(T){var _,b=Object.create(S,(_={},r(_,m,{value:T,writable:!0}),r(_,y,{value:null,writable:!0}),r(_,I,{value:null,writable:!0}),r(_,A,{value:null,writable:!0}),r(_,E,{value:T._readableState.endEmitted,writable:!0}),r(_,c,{value:function(w,B){var z=b[m].read();z?(b[s]=null,b[y]=null,b[I]=null,w(f(z,!1))):(b[y]=w,b[I]=B)},writable:!0}),_));return b[s]=null,h(T,function(w){if(w&&w.code!=="ERR_STREAM_PREMATURE_CLOSE"){var B=b[I];return B!==null&&(b[s]=null,b[y]=null,b[I]=null,B(w)),void(b[A]=w)}var z=b[y];z!==null&&(b[s]=null,b[y]=null,b[I]=null,z(f(void 0,!0))),b[E]=!0}),T.on("readable",d.bind(null,b)),b}}).call(this)}).call(this,l("_process"))},{"./end-of-stream":24,_process:12}],22:[function(l,u){"use strict";function o(s,c){var m=Object.keys(s);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(s);c&&(C=C.filter(function(S){return Object.getOwnPropertyDescriptor(s,S).enumerable})),m.push.apply(m,C)}return m}function r(s){for(var c,m=1;m<arguments.length;m++)c=arguments[m]==null?{}:arguments[m],m%2?o(Object(c),!0).forEach(function(C){f(s,C,c[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(c)):o(Object(c)).forEach(function(C){Object.defineProperty(s,C,Object.getOwnPropertyDescriptor(c,C))});return s}function f(s,c,m){return c in s?Object.defineProperty(s,c,{value:m,enumerable:!0,configurable:!0,writable:!0}):s[c]=m,s}function g(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}function d(s,c){for(var m,C=0;C<c.length;C++)m=c[C],m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(s,m.key,m)}function L(s,c,m){return c&&d(s.prototype,c),m&&d(s,m),s}function x(s,c,m){y.prototype.copy.call(s,c,m)}var h=l("buffer"),y=h.Buffer,I=l("util"),A=I.inspect,E=A&&A.custom||"inspect";u.exports=(function(){function s(){g(this,s),this.head=null,this.tail=null,this.length=0}return L(s,[{key:"push",value:function(c){var m={data:c,next:null};0<this.length?this.tail.next=m:this.head=m,this.tail=m,++this.length}},{key:"unshift",value:function(c){var m={data:c,next:this.head};this.length===0&&(this.tail=m),this.head=m,++this.length}},{key:"shift",value:function(){if(this.length!==0){var c=this.head.data;return this.head=this.length===1?this.tail=null:this.head.next,--this.length,c}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(c){if(this.length===0)return"";for(var m=this.head,C=""+m.data;m=m.next;)C+=c+m.data;return C}},{key:"concat",value:function(c){if(this.length===0)return y.alloc(0);for(var m=y.allocUnsafe(c>>>0),C=this.head,S=0;C;)x(C.data,m,S),S+=C.data.length,C=C.next;return m}},{key:"consume",value:function(c,m){var C;return c<this.head.data.length?(C=this.head.data.slice(0,c),this.head.data=this.head.data.slice(c)):c===this.head.data.length?C=this.shift():C=m?this._getString(c):this._getBuffer(c),C}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(c){var m=this.head,C=1,S=m.data;for(c-=S.length;m=m.next;){var T=m.data,_=c>T.length?T.length:c;if(S+=_===T.length?T:T.slice(0,c),c-=_,c===0){_===T.length?(++C,this.head=m.next?m.next:this.tail=null):(this.head=m,m.data=T.slice(_));break}++C}return this.length-=C,S}},{key:"_getBuffer",value:function(c){var m=y.allocUnsafe(c),C=this.head,S=1;for(C.data.copy(m),c-=C.data.length;C=C.next;){var T=C.data,_=c>T.length?T.length:c;if(T.copy(m,m.length-c,0,_),c-=_,c===0){_===T.length?(++S,this.head=C.next?C.next:this.tail=null):(this.head=C,C.data=T.slice(_));break}++S}return this.length-=S,m}},{key:E,value:function(c,m){return A(this,r({},m,{depth:0,customInspect:!1}))}}]),s})()},{buffer:3,util:2}],23:[function(l,u){(function(o){(function(){"use strict";function r(d,L){g(d,L),f(d)}function f(d){d._writableState&&!d._writableState.emitClose||d._readableState&&!d._readableState.emitClose||d.emit("close")}function g(d,L){d.emit("error",L)}u.exports={destroy:function(d,L){var x=this,h=this._readableState&&this._readableState.destroyed,y=this._writableState&&this._writableState.destroyed;return h||y?(L?L(d):d&&(this._writableState?!this._writableState.errorEmitted&&(this._writableState.errorEmitted=!0,o.nextTick(g,this,d)):o.nextTick(g,this,d)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(d||null,function(I){!L&&I?x._writableState?x._writableState.errorEmitted?o.nextTick(f,x):(x._writableState.errorEmitted=!0,o.nextTick(r,x,I)):o.nextTick(r,x,I):L?(o.nextTick(f,x),L(I)):o.nextTick(f,x)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(d,L){var x=d._readableState,h=d._writableState;x&&x.autoDestroy||h&&h.autoDestroy?d.destroy(L):d.emit("error",L)}}}).call(this)}).call(this,l("_process"))},{_process:12}],24:[function(l,u){"use strict";function o(L){var x=!1;return function(){if(!x){x=!0;for(var h=arguments.length,y=Array(h),I=0;I<h;I++)y[I]=arguments[I];L.apply(this,y)}}}function r(){}function f(L){return L.setHeader&&typeof L.abort=="function"}function g(L,x,h){if(typeof x=="function")return g(L,null,x);x||(x={}),h=o(h||r);var y=x.readable||x.readable!==!1&&L.readable,I=x.writable||x.writable!==!1&&L.writable,A=function(){L.writable||s()},E=L._writableState&&L._writableState.finished,s=function(){I=!1,E=!0,y||h.call(L)},c=L._readableState&&L._readableState.endEmitted,m=function(){y=!1,c=!0,I||h.call(L)},C=function(_){h.call(L,_)},S=function(){var _;return y&&!c?(L._readableState&&L._readableState.ended||(_=new d),h.call(L,_)):I&&!E?(L._writableState&&L._writableState.ended||(_=new d),h.call(L,_)):void 0},T=function(){L.req.on("finish",s)};return f(L)?(L.on("complete",s),L.on("abort",S),L.req?T():L.on("request",T)):I&&!L._writableState&&(L.on("end",A),L.on("close",A)),L.on("end",m),L.on("finish",s),x.error!==!1&&L.on("error",C),L.on("close",S),function(){L.removeListener("complete",s),L.removeListener("abort",S),L.removeListener("request",T),L.req&&L.req.removeListener("finish",s),L.removeListener("end",A),L.removeListener("close",A),L.removeListener("finish",s),L.removeListener("end",m),L.removeListener("error",C),L.removeListener("close",S)}}var d=l("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;u.exports=g},{"../../../errors":15}],25:[function(l,u){u.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],26:[function(l,u){"use strict";function o(E){var s=!1;return function(){s||(s=!0,E.apply(void 0,arguments))}}function r(E){if(E)throw E}function f(E){return E.setHeader&&typeof E.abort=="function"}function g(E,s,c,m){m=o(m);var C=!1;E.on("close",function(){C=!0}),h===void 0&&(h=l("./end-of-stream")),h(E,{readable:s,writable:c},function(T){return T?m(T):(C=!0,void m())});var S=!1;return function(T){if(!C)return S?void 0:(S=!0,f(E)?E.abort():typeof E.destroy=="function"?E.destroy():void m(T||new A("pipe")))}}function d(E){E()}function L(E,s){return E.pipe(s)}function x(E){return E.length&&typeof E[E.length-1]=="function"?E.pop():r}var h,y=l("../../../errors").codes,I=y.ERR_MISSING_ARGS,A=y.ERR_STREAM_DESTROYED;u.exports=function(){for(var E=arguments.length,s=Array(E),c=0;c<E;c++)s[c]=arguments[c];var m=x(s);if(Array.isArray(s[0])&&(s=s[0]),2>s.length)throw new I("streams");var C,S=s.map(function(T,_){var b=_<s.length-1;return g(T,b,0<_,function(w){C||(C=w),w&&S.forEach(d),b||(S.forEach(d),m(C))})});return s.reduce(L)}},{"../../../errors":15,"./end-of-stream":24}],27:[function(l,u){"use strict";function o(f,g,d){return f.highWaterMark==null?g?f[d]:null:f.highWaterMark}var r=l("../../../errors").codes.ERR_INVALID_OPT_VALUE;u.exports={getHighWaterMark:function(f,g,d,L){var x=o(g,L,d);if(x!=null){if(!(isFinite(x)&&e(x)===x)||0>x){var h=L?d:"highWaterMark";throw new r(h,x)}return e(x)}return f.objectMode?16:16384}}},{"../../../errors":15}],28:[function(l,u){u.exports=l("events").EventEmitter},{events:7}],29:[function(l,u,o){o=u.exports=l("./lib/_stream_readable.js"),o.Stream=o,o.Readable=o,o.Writable=l("./lib/_stream_writable.js"),o.Duplex=l("./lib/_stream_duplex.js"),o.Transform=l("./lib/_stream_transform.js"),o.PassThrough=l("./lib/_stream_passthrough.js"),o.finished=l("./lib/internal/streams/end-of-stream.js"),o.pipeline=l("./lib/internal/streams/pipeline.js")},{"./lib/_stream_duplex.js":16,"./lib/_stream_passthrough.js":17,"./lib/_stream_readable.js":18,"./lib/_stream_transform.js":19,"./lib/_stream_writable.js":20,"./lib/internal/streams/end-of-stream.js":24,"./lib/internal/streams/pipeline.js":26}],30:[function(l,u,o){function r(L,x){for(var h in L)x[h]=L[h]}function f(L,x,h){return d(L,x,h)}var g=l("buffer"),d=g.Buffer;d.from&&d.alloc&&d.allocUnsafe&&d.allocUnsafeSlow?u.exports=g:(r(g,o),o.Buffer=f),f.prototype=Object.create(d.prototype),r(d,f),f.from=function(L,x,h){if(typeof L=="number")throw new TypeError("Argument must not be a number");return d(L,x,h)},f.alloc=function(L,x,h){if(typeof L!="number")throw new TypeError("Argument must be a number");var y=d(L);return x===void 0?y.fill(0):typeof h=="string"?y.fill(x,h):y.fill(x),y},f.allocUnsafe=function(L){if(typeof L!="number")throw new TypeError("Argument must be a number");return d(L)},f.allocUnsafeSlow=function(L){if(typeof L!="number")throw new TypeError("Argument must be a number");return g.SlowBuffer(L)}},{buffer:3}],31:[function(l,u,o){"use strict";function r(S){if(!S)return"utf8";for(var T;;)switch(S){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return S;default:if(T)return;S=(""+S).toLowerCase(),T=!0}}function f(S){var T=r(S);if(typeof T!="string"&&(m.isEncoding===C||!C(S)))throw new Error("Unknown encoding: "+S);return T||S}function g(S){this.encoding=f(S);var T;switch(this.encoding){case"utf16le":this.text=y,this.end=I,T=4;break;case"utf8":this.fillLast=h,T=4;break;case"base64":this.text=A,this.end=E,T=3;break;default:return this.write=s,void(this.end=c)}this.lastNeed=0,this.lastTotal=0,this.lastChar=m.allocUnsafe(T)}function d(S){return 127>=S?0:S>>5==6?2:S>>4==14?3:S>>3==30?4:S>>6==2?-1:-2}function L(S,T,_){var b=T.length-1;if(b<_)return 0;var w=d(T[b]);return 0<=w?(0<w&&(S.lastNeed=w-1),w):--b<_||w===-2?0:(w=d(T[b]),0<=w?(0<w&&(S.lastNeed=w-2),w):--b<_||w===-2?0:(w=d(T[b]),0<=w?(0<w&&(w===2?w=0:S.lastNeed=w-3),w):0))}function x(S,T){if((192&T[0])!=128)return S.lastNeed=0,"\uFFFD";if(1<S.lastNeed&&1<T.length){if((192&T[1])!=128)return S.lastNeed=1,"\uFFFD";if(2<S.lastNeed&&2<T.length&&(192&T[2])!=128)return S.lastNeed=2,"\uFFFD"}}function h(S){var T=this.lastTotal-this.lastNeed,_=x(this,S,T);return _===void 0?this.lastNeed<=S.length?(S.copy(this.lastChar,T,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(S.copy(this.lastChar,T,0,S.length),void(this.lastNeed-=S.length)):_}function y(S,T){if((S.length-T)%2==0){var _=S.toString("utf16le",T);if(_){var b=_.charCodeAt(_.length-1);if(55296<=b&&56319>=b)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=S[S.length-2],this.lastChar[1]=S[S.length-1],_.slice(0,-1)}return _}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=S[S.length-1],S.toString("utf16le",T,S.length-1)}function I(S){var T=S&&S.length?this.write(S):"";if(this.lastNeed){var _=this.lastTotal-this.lastNeed;return T+this.lastChar.toString("utf16le",0,_)}return T}function A(S,T){var _=(S.length-T)%3;return _==0?S.toString("base64",T):(this.lastNeed=3-_,this.lastTotal=3,_==1?this.lastChar[0]=S[S.length-1]:(this.lastChar[0]=S[S.length-2],this.lastChar[1]=S[S.length-1]),S.toString("base64",T,S.length-_))}function E(S){var T=S&&S.length?this.write(S):"";return this.lastNeed?T+this.lastChar.toString("base64",0,3-this.lastNeed):T}function s(S){return S.toString(this.encoding)}function c(S){return S&&S.length?this.write(S):""}var m=l("safe-buffer").Buffer,C=m.isEncoding||function(S){switch(S=""+S,S&&S.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};o.StringDecoder=g,g.prototype.write=function(S){if(S.length===0)return"";var T,_;if(this.lastNeed){if(T=this.fillLast(S),T===void 0)return"";_=this.lastNeed,this.lastNeed=0}else _=0;return _<S.length?T?T+this.text(S,_):this.text(S,_):T||""},g.prototype.end=function(S){var T=S&&S.length?this.write(S):"";return this.lastNeed?T+"\uFFFD":T},g.prototype.text=function(S,T){var _=L(this,S,T);if(!this.lastNeed)return S.toString("utf8",T);this.lastTotal=_;var b=S.length-(_-this.lastNeed);return S.copy(this.lastChar,0,b),S.toString("utf8",T,b)},g.prototype.fillLast=function(S){return this.lastNeed<=S.length?(S.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(S.copy(this.lastChar,this.lastTotal-this.lastNeed,0,S.length),void(this.lastNeed-=S.length))}},{"safe-buffer":30}],32:[function(l,u){(function(o){(function(){function r(f){try{if(!o.localStorage)return!1}catch{return!1}var g=o.localStorage[f];return g!=null&&(g+"").toLowerCase()==="true"}u.exports=function(f,g){function d(){if(!L){if(r("throwDeprecation"))throw new Error(g);r("traceDeprecation")?console.trace(g):console.warn(g),L=!0}return f.apply(this,arguments)}if(r("noDeprecation"))return f;var L=!1;return d}}).call(this)}).call(this,typeof global>"u"?typeof self>"u"?typeof window>"u"?{}:window:self:global)},{}],"/":[function(l,u){function o(E){return E.replace(/a=ice-options:trickle\s\n/g,"")}function r(E){console.warn(E)}let f=l("debug")("simple-peer"),g=l("get-browser-rtc"),d=l("randombytes"),L=l("readable-stream"),x=l("queue-microtask"),h=l("err-code"),{Buffer:y}=l("buffer"),I=65536;class A extends L.Duplex{constructor(s){if(s=Object.assign({allowHalfOpen:!1},s),super(s),this._id=d(4).toString("hex").slice(0,7),this._debug("new peer %o",s),this.channelName=s.initiator?s.channelName||d(20).toString("hex"):null,this.initiator=s.initiator||!1,this.channelConfig=s.channelConfig||A.channelConfig,this.channelNegotiated=this.channelConfig.negotiated,this.config=Object.assign({},A.config,s.config),this.offerOptions=s.offerOptions||{},this.answerOptions=s.answerOptions||{},this.sdpTransform=s.sdpTransform||(c=>c),this.streams=s.streams||(s.stream?[s.stream]:[]),this.trickle=s.trickle===void 0||s.trickle,this.allowHalfTrickle=s.allowHalfTrickle!==void 0&&s.allowHalfTrickle,this.iceCompleteTimeout=s.iceCompleteTimeout||5e3,this.destroyed=!1,this.destroying=!1,this._connected=!1,this.remoteAddress=void 0,this.remoteFamily=void 0,this.remotePort=void 0,this.localAddress=void 0,this.localFamily=void 0,this.localPort=void 0,this._wrtc=s.wrtc&&typeof s.wrtc=="object"?s.wrtc:g(),!this._wrtc)throw h(typeof window>"u"?new Error("No WebRTC support: Specify `opts.wrtc` option in this environment"):new Error("No WebRTC support: Not a supported browser"),"ERR_WEBRTC_SUPPORT");this._pcReady=!1,this._channelReady=!1,this._iceComplete=!1,this._iceCompleteTimer=null,this._channel=null,this._pendingCandidates=[],this._isNegotiating=!1,this._firstNegotiation=!0,this._batchedNegotiation=!1,this._queuedNegotiation=!1,this._sendersAwaitingStable=[],this._senderMap=new Map,this._closingInterval=null,this._remoteTracks=[],this._remoteStreams=[],this._chunk=null,this._cb=null,this._interval=null;try{this._pc=new this._wrtc.RTCPeerConnection(this.config)}catch(c){return void this.destroy(h(c,"ERR_PC_CONSTRUCTOR"))}this._isReactNativeWebrtc=typeof this._pc._peerConnectionId=="number",this._pc.oniceconnectionstatechange=()=>{this._onIceStateChange()},this._pc.onicegatheringstatechange=()=>{this._onIceStateChange()},this._pc.onconnectionstatechange=()=>{this._onConnectionStateChange()},this._pc.onsignalingstatechange=()=>{this._onSignalingStateChange()},this._pc.onicecandidate=c=>{this._onIceCandidate(c)},typeof this._pc.peerIdentity=="object"&&this._pc.peerIdentity.catch(c=>{this.destroy(h(c,"ERR_PC_PEER_IDENTITY"))}),this.initiator||this.channelNegotiated?this._setupData({channel:this._pc.createDataChannel(this.channelName,this.channelConfig)}):this._pc.ondatachannel=c=>{this._setupData(c)},this.streams&&this.streams.forEach(c=>{this.addStream(c)}),this._pc.ontrack=c=>{this._onTrack(c)},this._debug("initial negotiation"),this._needsNegotiation(),this._onFinishBound=()=>{this._onFinish()},this.once("finish",this._onFinishBound)}get bufferSize(){return this._channel&&this._channel.bufferedAmount||0}get connected(){return this._connected&&this._channel.readyState==="open"}address(){return{port:this.localPort,family:this.localFamily,address:this.localAddress}}signal(s){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot signal after peer is destroyed"),"ERR_DESTROYED");if(typeof s=="string")try{s=JSON.parse(s)}catch{s={}}this._debug("signal()"),s.renegotiate&&this.initiator&&(this._debug("got request to renegotiate"),this._needsNegotiation()),s.transceiverRequest&&this.initiator&&(this._debug("got request for transceiver"),this.addTransceiver(s.transceiverRequest.kind,s.transceiverRequest.init)),s.candidate&&(this._pc.remoteDescription&&this._pc.remoteDescription.type?this._addIceCandidate(s.candidate):this._pendingCandidates.push(s.candidate)),s.sdp&&this._pc.setRemoteDescription(new this._wrtc.RTCSessionDescription(s)).then(()=>{this.destroyed||(this._pendingCandidates.forEach(c=>{this._addIceCandidate(c)}),this._pendingCandidates=[],this._pc.remoteDescription.type==="offer"&&this._createAnswer())}).catch(c=>{this.destroy(h(c,"ERR_SET_REMOTE_DESCRIPTION"))}),s.sdp||s.candidate||s.renegotiate||s.transceiverRequest||this.destroy(h(new Error("signal() called with invalid signal data"),"ERR_SIGNALING"))}}_addIceCandidate(s){let c=new this._wrtc.RTCIceCandidate(s);this._pc.addIceCandidate(c).catch(m=>{!c.address||c.address.endsWith(".local")?r("Ignoring unsupported ICE candidate."):this.destroy(h(m,"ERR_ADD_ICE_CANDIDATE"))})}send(s){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot send after peer is destroyed"),"ERR_DESTROYED");this._channel.send(s)}}addTransceiver(s,c){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot addTransceiver after peer is destroyed"),"ERR_DESTROYED");if(this._debug("addTransceiver()"),this.initiator)try{this._pc.addTransceiver(s,c),this._needsNegotiation()}catch(m){this.destroy(h(m,"ERR_ADD_TRANSCEIVER"))}else this.emit("signal",{type:"transceiverRequest",transceiverRequest:{kind:s,init:c}})}}addStream(s){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot addStream after peer is destroyed"),"ERR_DESTROYED");this._debug("addStream()"),s.getTracks().forEach(c=>{this.addTrack(c,s)})}}addTrack(s,c){if(this.destroying)return;if(this.destroyed)throw h(new Error("cannot addTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("addTrack()");let m=this._senderMap.get(s)||new Map,C=m.get(c);if(!C)C=this._pc.addTrack(s,c),m.set(c,C),this._senderMap.set(s,m),this._needsNegotiation();else throw C.removed?h(new Error("Track has been removed. You should enable/disable tracks that you want to re-add."),"ERR_SENDER_REMOVED"):h(new Error("Track has already been added to that stream."),"ERR_SENDER_ALREADY_ADDED")}replaceTrack(s,c,m){if(this.destroying)return;if(this.destroyed)throw h(new Error("cannot replaceTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("replaceTrack()");let C=this._senderMap.get(s),S=C?C.get(m):null;if(!S)throw h(new Error("Cannot replace track that was never added."),"ERR_TRACK_NOT_ADDED");c&&this._senderMap.set(c,C),S.replaceTrack==null?this.destroy(h(new Error("replaceTrack is not supported in this browser"),"ERR_UNSUPPORTED_REPLACETRACK")):S.replaceTrack(c)}removeTrack(s,c){if(this.destroying)return;if(this.destroyed)throw h(new Error("cannot removeTrack after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSender()");let m=this._senderMap.get(s),C=m?m.get(c):null;if(!C)throw h(new Error("Cannot remove track that was never added."),"ERR_TRACK_NOT_ADDED");try{C.removed=!0,this._pc.removeTrack(C)}catch(S){S.name==="NS_ERROR_UNEXPECTED"?this._sendersAwaitingStable.push(C):this.destroy(h(S,"ERR_REMOVE_TRACK"))}this._needsNegotiation()}removeStream(s){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot removeStream after peer is destroyed"),"ERR_DESTROYED");this._debug("removeSenders()"),s.getTracks().forEach(c=>{this.removeTrack(c,s)})}}_needsNegotiation(){this._debug("_needsNegotiation"),this._batchedNegotiation||(this._batchedNegotiation=!0,x(()=>{this._batchedNegotiation=!1,this.initiator||!this._firstNegotiation?(this._debug("starting batched negotiation"),this.negotiate()):this._debug("non-initiator initial negotiation request discarded"),this._firstNegotiation=!1}))}negotiate(){if(!this.destroying){if(this.destroyed)throw h(new Error("cannot negotiate after peer is destroyed"),"ERR_DESTROYED");this.initiator?this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("start negotiation"),setTimeout(()=>{this._createOffer()},0)):this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("requesting negotiation from initiator"),this.emit("signal",{type:"renegotiate",renegotiate:!0})),this._isNegotiating=!0}}destroy(s){this._destroy(s,()=>{})}_destroy(s,c){this.destroyed||this.destroying||(this.destroying=!0,this._debug("destroying (error: %s)",s&&(s.message||s)),x(()=>{if(this.destroyed=!0,this.destroying=!1,this._debug("destroy (error: %s)",s&&(s.message||s)),this.readable=this.writable=!1,this._readableState.ended||this.push(null),this._writableState.finished||this.end(),this._connected=!1,this._pcReady=!1,this._channelReady=!1,this._remoteTracks=null,this._remoteStreams=null,this._senderMap=null,clearInterval(this._closingInterval),this._closingInterval=null,clearInterval(this._interval),this._interval=null,this._chunk=null,this._cb=null,this._onFinishBound&&this.removeListener("finish",this._onFinishBound),this._onFinishBound=null,this._channel){try{this._channel.close()}catch{}this._channel.onmessage=null,this._channel.onopen=null,this._channel.onclose=null,this._channel.onerror=null}if(this._pc){try{this._pc.close()}catch{}this._pc.oniceconnectionstatechange=null,this._pc.onicegatheringstatechange=null,this._pc.onsignalingstatechange=null,this._pc.onicecandidate=null,this._pc.ontrack=null,this._pc.ondatachannel=null}this._pc=null,this._channel=null,s&&this.emit("error",s),this.emit("close"),c()}))}_setupData(s){if(!s.channel)return this.destroy(h(new Error("Data channel event is missing `channel` property"),"ERR_DATA_CHANNEL"));this._channel=s.channel,this._channel.binaryType="arraybuffer",typeof this._channel.bufferedAmountLowThreshold=="number"&&(this._channel.bufferedAmountLowThreshold=I),this.channelName=this._channel.label,this._channel.onmessage=m=>{this._onChannelMessage(m)},this._channel.onbufferedamountlow=()=>{this._onChannelBufferedAmountLow()},this._channel.onopen=()=>{this._onChannelOpen()},this._channel.onclose=()=>{this._onChannelClose()},this._channel.onerror=m=>{let C=m.error instanceof Error?m.error:new Error(`Datachannel error: ${m.message} ${m.filename}:${m.lineno}:${m.colno}`);this.destroy(h(C,"ERR_DATA_CHANNEL"))};let c=!1;this._closingInterval=setInterval(()=>{this._channel&&this._channel.readyState==="closing"?(c&&this._onChannelClose(),c=!0):c=!1},5e3)}_read(){}_write(s,c,m){if(this.destroyed)return m(h(new Error("cannot write after peer is destroyed"),"ERR_DATA_CHANNEL"));if(this._connected){try{this.send(s)}catch(C){return this.destroy(h(C,"ERR_DATA_CHANNEL"))}this._channel.bufferedAmount>I?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=m):m(null)}else this._debug("write before connect"),this._chunk=s,this._cb=m}_onFinish(){if(!this.destroyed){let s=()=>{setTimeout(()=>this.destroy(),1e3)};this._connected?s():this.once("connect",s)}}_startIceCompleteTimeout(){this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout(()=>{this._iceComplete||(this._iceComplete=!0,this._debug("iceComplete timeout completed"),this.emit("iceTimeout"),this.emit("_iceComplete"))},this.iceCompleteTimeout))}_createOffer(){this.destroyed||this._pc.createOffer(this.offerOptions).then(s=>{if(this.destroyed)return;this.trickle||this.allowHalfTrickle||(s.sdp=o(s.sdp)),s.sdp=this.sdpTransform(s.sdp);let c=()=>{if(!this.destroyed){let m=this._pc.localDescription||s;this._debug("signal"),this.emit("signal",{type:m.type,sdp:m.sdp})}};this._pc.setLocalDescription(s).then(()=>{this._debug("createOffer success"),this.destroyed||(this.trickle||this._iceComplete?c():this.once("_iceComplete",c))}).catch(m=>{this.destroy(h(m,"ERR_SET_LOCAL_DESCRIPTION"))})}).catch(s=>{this.destroy(h(s,"ERR_CREATE_OFFER"))})}_requestMissingTransceivers(){this._pc.getTransceivers&&this._pc.getTransceivers().forEach(s=>{s.mid||!s.sender.track||s.requested||(s.requested=!0,this.addTransceiver(s.sender.track.kind))})}_createAnswer(){this.destroyed||this._pc.createAnswer(this.answerOptions).then(s=>{if(this.destroyed)return;this.trickle||this.allowHalfTrickle||(s.sdp=o(s.sdp)),s.sdp=this.sdpTransform(s.sdp);let c=()=>{if(!this.destroyed){let m=this._pc.localDescription||s;this._debug("signal"),this.emit("signal",{type:m.type,sdp:m.sdp}),this.initiator||this._requestMissingTransceivers()}};this._pc.setLocalDescription(s).then(()=>{this.destroyed||(this.trickle||this._iceComplete?c():this.once("_iceComplete",c))}).catch(m=>{this.destroy(h(m,"ERR_SET_LOCAL_DESCRIPTION"))})}).catch(s=>{this.destroy(h(s,"ERR_CREATE_ANSWER"))})}_onConnectionStateChange(){this.destroyed||this._pc.connectionState==="failed"&&this.destroy(h(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}_onIceStateChange(){if(this.destroyed)return;let s=this._pc.iceConnectionState,c=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",s,c),this.emit("iceStateChange",s,c),(s==="connected"||s==="completed")&&(this._pcReady=!0,this._maybeReady()),s==="failed"&&this.destroy(h(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),s==="closed"&&this.destroy(h(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}getStats(s){let c=m=>(Object.prototype.toString.call(m.values)==="[object Array]"&&m.values.forEach(C=>{Object.assign(m,C)}),m);this._pc.getStats.length===0||this._isReactNativeWebrtc?this._pc.getStats().then(m=>{let C=[];m.forEach(S=>{C.push(c(S))}),s(null,C)},m=>s(m)):0<this._pc.getStats.length?this._pc.getStats(m=>{if(this.destroyed)return;let C=[];m.result().forEach(S=>{let T={};S.names().forEach(_=>{T[_]=S.stat(_)}),T.id=S.id,T.type=S.type,T.timestamp=S.timestamp,C.push(c(T))}),s(null,C)},m=>s(m)):s(null,[])}_maybeReady(){if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),this._connected||this._connecting||!this._pcReady||!this._channelReady)return;this._connecting=!0;let s=()=>{this.destroyed||this.getStats((c,m)=>{if(this.destroyed)return;c&&(m=[]);let C={},S={},T={},_=!1;m.forEach(w=>{(w.type==="remotecandidate"||w.type==="remote-candidate")&&(C[w.id]=w),(w.type==="localcandidate"||w.type==="local-candidate")&&(S[w.id]=w),(w.type==="candidatepair"||w.type==="candidate-pair")&&(T[w.id]=w)});let b=w=>{_=!0;let B=S[w.localCandidateId];B&&(B.ip||B.address)?(this.localAddress=B.ip||B.address,this.localPort=+B.port):B&&B.ipAddress?(this.localAddress=B.ipAddress,this.localPort=+B.portNumber):typeof w.googLocalAddress=="string"&&(B=w.googLocalAddress.split(":"),this.localAddress=B[0],this.localPort=+B[1]),this.localAddress&&(this.localFamily=this.localAddress.includes(":")?"IPv6":"IPv4");let z=C[w.remoteCandidateId];z&&(z.ip||z.address)?(this.remoteAddress=z.ip||z.address,this.remotePort=+z.port):z&&z.ipAddress?(this.remoteAddress=z.ipAddress,this.remotePort=+z.portNumber):typeof w.googRemoteAddress=="string"&&(z=w.googRemoteAddress.split(":"),this.remoteAddress=z[0],this.remotePort=+z[1]),this.remoteAddress&&(this.remoteFamily=this.remoteAddress.includes(":")?"IPv6":"IPv4"),this._debug("connect local: %s:%s remote: %s:%s",this.localAddress,this.localPort,this.remoteAddress,this.remotePort)};if(m.forEach(w=>{w.type==="transport"&&w.selectedCandidatePairId&&b(T[w.selectedCandidatePairId]),(w.type==="googCandidatePair"&&w.googActiveConnection==="true"||(w.type==="candidatepair"||w.type==="candidate-pair")&&w.selected)&&b(w)}),!_&&(!Object.keys(T).length||Object.keys(S).length))return void setTimeout(s,100);if(this._connecting=!1,this._connected=!0,this._chunk){try{this.send(this._chunk)}catch(B){return this.destroy(h(B,"ERR_DATA_CHANNEL"))}this._chunk=null,this._debug('sent chunk from "write before connect"');let w=this._cb;this._cb=null,w(null)}typeof this._channel.bufferedAmountLowThreshold!="number"&&(this._interval=setInterval(()=>this._onInterval(),150),this._interval.unref&&this._interval.unref()),this._debug("connect"),this.emit("connect")})};s()}_onInterval(){this._cb&&this._channel&&!(this._channel.bufferedAmount>I)&&this._onChannelBufferedAmountLow()}_onSignalingStateChange(){this.destroyed||(this._pc.signalingState==="stable"&&(this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach(s=>{this._pc.removeTrack(s),this._queuedNegotiation=!0}),this._sendersAwaitingStable=[],this._queuedNegotiation?(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()):(this._debug("negotiated"),this.emit("negotiated"))),this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState))}_onIceCandidate(s){this.destroyed||(s.candidate&&this.trickle?this.emit("signal",{type:"candidate",candidate:{candidate:s.candidate.candidate,sdpMLineIndex:s.candidate.sdpMLineIndex,sdpMid:s.candidate.sdpMid}}):!s.candidate&&!this._iceComplete&&(this._iceComplete=!0,this.emit("_iceComplete")),s.candidate&&this._startIceCompleteTimeout())}_onChannelMessage(s){if(this.destroyed)return;let c=s.data;c instanceof ArrayBuffer&&(c=y.from(c)),this.push(c)}_onChannelBufferedAmountLow(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);let s=this._cb;this._cb=null,s(null)}}_onChannelOpen(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}_onChannelClose(){this.destroyed||(this._debug("on channel close"),this.destroy())}_onTrack(s){this.destroyed||s.streams.forEach(c=>{this._debug("on track"),this.emit("track",s.track,c),this._remoteTracks.push({track:s.track,stream:c}),this._remoteStreams.some(m=>m.id===c.id)||(this._remoteStreams.push(c),x(()=>{this._debug("on stream"),this.emit("stream",c)}))})}_debug(){let s=[].slice.call(arguments);s[0]="["+this._id+"] "+s[0],f.apply(null,s)}}A.WEBRTC_SUPPORT=!!g(),A.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},A.channelConfig={},u.exports=A},{buffer:3,debug:4,"err-code":6,"get-browser-rtc":8,"queue-microtask":13,randombytes:14,"readable-stream":29}]},{},[])("/")})});var nm=ba(cr=>{"use strict";var Rx=Symbol.for("react.transitional.element"),Dx=Symbol.for("react.fragment");function om(e,a,t){var l=null;if(t!==void 0&&(l=""+t),a.key!==void 0&&(l=""+a.key),"key"in a){t={};for(var u in a)u!=="key"&&(t[u]=a[u])}else t=a;return a=t.ref,{$$typeof:Rx,type:e,key:l,ref:a!==void 0?a:null,props:t}}cr.Fragment=Dx;cr.jsx=om;cr.jsxs=om});var as=ba((o0,rm)=>{"use strict";rm.exports=nm()});var im=ba((n0,Ex)=>{Ex.exports={}});var Y=$a($t(),1),fm=$a(Jh(),1),sm=$a($h(),1);var dr=$a($t());var fr=(...e)=>e.filter((a,t,l)=>!!a&&a.trim()!==""&&l.indexOf(a)===t).join(" ").trim();var em=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();var am=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,t,l)=>l?l.toUpperCase():t.toLowerCase());var es=e=>{let a=am(e);return a.charAt(0).toUpperCase()+a.slice(1)};var So=$a($t());var sr={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 tm=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};var hu=$a($t());var px=(0,hu.createContext)({});var lm=()=>(0,hu.useContext)(px);var um=(0,So.forwardRef)(({color:e,size:a,strokeWidth:t,absoluteStrokeWidth:l,className:u="",children:o,iconNode:r,...f},g)=>{let{size:d=24,strokeWidth:L=2,absoluteStrokeWidth:x=!1,color:h="currentColor",className:y=""}=lm()??{},I=l??x?Number(t??L)*24/Number(a??d):t??L;return(0,So.createElement)("svg",{ref:g,...sr,width:a??d??sr.width,height:a??d??sr.height,stroke:e??h,strokeWidth:I,className:fr("lucide",y,u),...!o&&!tm(f)&&{"aria-hidden":"true"},...f},[...r.map(([A,E])=>(0,So.createElement)(A,E)),...Array.isArray(o)?o:[o]])});var re=(e,a)=>{let t=(0,dr.forwardRef)(({className:l,...u},o)=>(0,dr.createElement)(um,{ref:o,iconNode:a,className:fr(`lucide-${em(es(e))}`,`lucide-${e}`,l),...u}));return t.displayName=es(e),t};var hx=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Ct=re("arrow-left",hx);var mx=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],vo=re("check",mx);var gx=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],bo=re("copy",gx);var Lx=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Wt=re("message-square",Lx);var xx=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]],Io=re("mic-off",xx);var yx=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],wo=re("mic",yx);var Cx=[["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826",key:"cv7jms"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042",key:"z8ni2w"}]],Ao=re("monitor-off",Cx);var Sx=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],To=re("monitor",Sx);var vx=[["path",{d:"M10.1 13.9a14 14 0 0 0 3.732 2.668 1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2 18 18 0 0 1-12.728-5.272",key:"1wngk7"}],["path",{d:"M22 2 2 22",key:"y4kqgn"}],["path",{d:"M4.76 13.582A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 .244.473",key:"10hv5p"}]],mu=re("phone-off",vx);var bx=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Ha=re("phone",bx);var Ix=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],_o=re("plus",Ix);var wx=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],gu=re("send",wx);var Ax=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Mo=re("users",Ax);var Tx=[["path",{d:"M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196",key:"w8jjjt"}],["path",{d:"M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2",key:"1xawa7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Ro=re("video-off",Tx);var _x=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Cl=re("video",_x);var Mx=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Lu=re("x",Mx);var R=$a(as(),1),Bx={iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:"stun:stun1.l.google.com:19302"}]};function kx(e){let a=Math.floor(e/60),t=e%60;return`${a.toString().padStart(2,"0")}:${t.toString().padStart(2,"0")}`}var Sa={async fetch(e,a={}){let t=await fetch(e,a);if(!t.ok){let l=await t.json().catch(()=>({error:t.statusText}));throw new Error(l.error||"Request failed")}return t.json()},getChannels:()=>Sa.fetch("/api/channels"),createChannel:(e,a)=>Sa.fetch("/api/channels",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e,type:a})}),leaveChannel:e=>Sa.fetch(`/api/channels/${encodeURIComponent(e)}`,{method:"DELETE"}),getChannelMessages:(e,a=100,t=0)=>Sa.fetch(`/api/channels/${encodeURIComponent(e)}/messages?limit=${a}&offset=${t}`),sendChannelMessage:(e,a)=>Sa.fetch(`/api/channels/${encodeURIComponent(e)}/messages`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content:a})}),getChannelPeers:e=>Sa.fetch(`/api/channels/${encodeURIComponent(e)}/peers`)};function dm(){let[e,a]=(0,Y.useState)("call"),[t,l]=(0,Y.useState)(""),[u,o]=(0,Y.useState)("idle"),[r,f]=(0,Y.useState)(null),[g,d]=(0,Y.useState)(null),[L,x]=(0,Y.useState)(0),[h,y]=(0,Y.useState)(!1),[I,A]=(0,Y.useState)(!1),[E,s]=(0,Y.useState)(!1),[c,m]=(0,Y.useState)(!1),[C,S]=(0,Y.useState)([]),[T,_]=(0,Y.useState)(""),[b,w]=(0,Y.useState)(""),[B,z]=(0,Y.useState)("video"),[G,F]=(0,Y.useState)(""),[ee,Ae]=(0,Y.useState)(!1),[Fe,j]=(0,Y.useState)([]),[ea,va]=(0,Y.useState)(null),[ia,se]=(0,Y.useState)([]),[me,fa]=(0,Y.useState)([]),[Pe,Oa]=(0,Y.useState)(""),[Ka,Na]=(0,Y.useState)(!1),[Ke,St]=(0,Y.useState)(""),[Ja,qe]=(0,Y.useState)("personal"),ue=(0,Y.useRef)(null),M=(0,Y.useRef)(null),k=(0,Y.useRef)(null),H=(0,Y.useRef)(null),P=(0,Y.useRef)(null),Z=(0,Y.useRef)(null),n=(0,Y.useRef)(null),i=(0,Y.useRef)(null),p=(0,Y.useRef)(null),v=(0,Y.useRef)(null);(0,Y.useEffect)(()=>{p.current=g},[g]),(0,Y.useEffect)(()=>{v.current?.scrollIntoView({behavior:"smooth"})},[ia]),(0,Y.useEffect)(()=>{n.current?.scrollIntoView({behavior:"smooth"})},[C]),(0,Y.useEffect)(()=>{let q=location.protocol==="https:"?"wss:":"ws:",V=new WebSocket(`${q}//${location.host}/ws`);return V.onopen=()=>{console.log("[Call] WS connected")},V.onmessage=Le=>{try{let{event:Ze,data:sa}=JSON.parse(Le.data);O(Ze,sa)}catch{}},V.onclose=()=>{console.log("[Call] WS disconnected")},ue.current=V,()=>{V.close()}},[]),(0,Y.useEffect)(()=>{let q=new URLSearchParams(window.location.search),V=q.get("peerId"),Le=q.get("type");V&&w(V),(Le==="audio"||Le==="video")&&z(Le)},[]),(0,Y.useEffect)(()=>{fetch("/api/peer-id").then(q=>q.json()).then(q=>{l(q.peerId),ue.current&&ue.current.readyState===1&&ue.current.send(JSON.stringify({event:"register",data:{peerId:q.peerId}}))}).catch(()=>F("Failed to get peer ID"))},[]),(0,Y.useEffect)(()=>(u==="connected"?(x(0),Z.current=setInterval(()=>{x(q=>q+1)},1e3)):Z.current&&(clearInterval(Z.current),Z.current=null),()=>{Z.current&&clearInterval(Z.current)}),[u]),(0,Y.useEffect)(()=>{H.current&&k.current&&(H.current.srcObject=k.current)},[u,I]),(0,Y.useEffect)(()=>{D()},[]);function D(){Sa.getChannels().then(j).catch(()=>{})}function O(q,V){switch(q){case"call:incoming":f(V),o("incoming");break;case"call:accepted":o("connecting");break;case"call:rejected":o("ended"),F("\u5BF9\u65B9\u62D2\u7EDD\u4E86\u901A\u8BDD"),setTimeout(()=>{o("idle"),F("")},3e3);break;case"call:ended":o("ended"),F(V.reason==="remote_hangup"?"\u5BF9\u65B9\u5DF2\u6302\u65AD":"\u5BF9\u65B9\u5DF2\u65AD\u5F00"),Fa(),setTimeout(()=>{o("idle"),F("")},3e3);break;case"call:started":V.error?(F(N(V.error)),o("idle")):ne(V.callId);break;case"signal":if(M.current&&V.signalData)try{M.current.signal(V.signalData)}catch{}break;case"call:chat":S(Le=>[...Le,{id:Date.now(),from:V.from,text:V.message,ts:new Date,self:!1}]);break;case"channel:message":ea&&V.channel===ea.name&&se(Le=>Le.some(sa=>sa.timestamp===V.message.timestamp&&sa.content===V.message.content&&sa.author===V.message.author)?Le:[...Le,V.message]);break;case"channel:peer:online":case"channel:peer:offline":ea&&Sa.getChannelPeers(ea.name).then(fa).catch(()=>{});break;case"channel:joined":case"channel:left":D();break}}function N(q){return{not_registered:"\u672A\u6CE8\u518C\uFF0C\u8BF7\u5237\u65B0\u9875\u9762",cannot_call_self:"\u4E0D\u80FD\u547C\u53EB\u81EA\u5DF1",peer_not_found:"\u5BF9\u65B9\u4E0D\u5728\u7EBF"}[q]||"\u672A\u77E5\u9519\u8BEF"}async function J(q=!0){let V={audio:!0,video:q?{width:{ideal:1280},height:{ideal:720},facingMode:"user"}:!1};try{return await navigator.mediaDevices.getUserMedia(V)}catch{if(q)return await navigator.mediaDevices.getUserMedia({audio:!0,video:!1});throw new Error("\u65E0\u6CD5\u83B7\u53D6\u5A92\u4F53\u6743\u9650")}}function ye(q,V){let Le=new sm.default({initiator:q,stream:V,trickle:!0,config:Bx});return Le.on("signal",Ze=>{if(ue.current&&ue.current.readyState===1){let sa=p.current?.callId;sa&&ue.current.send(JSON.stringify({event:"signal",data:{callId:sa,signalData:Ze}}))}}),Le.on("stream",Ze=>{P.current&&(P.current.srcObject=Ze)}),Le.on("connect",()=>{o("connected")}),Le.on("data",Ze=>{try{let sa=JSON.parse(Ze.toString());sa.type==="chat"&&S(mm=>[...mm,{id:Date.now(),from:"peer",text:sa.text,ts:new Date,self:!1}])}catch{}}),Le.on("close",()=>{o("ended"),F("\u8FDE\u63A5\u5DF2\u65AD\u5F00"),Fa(),setTimeout(()=>{o("idle"),F("")},3e3)}),Le.on("error",Ze=>{console.error("[Peer Error]",Ze),o("ended"),F("\u8FDE\u63A5\u51FA\u9519: "+Ze.message),Fa(),setTimeout(()=>{o("idle"),F("")},3e3)}),M.current=Le,Le}async function ne(q){try{o("connecting"),d({callId:q,peerId:b,type:B}),S([]);let V=await J(B==="video");k.current=V,A(B!=="video"),ye(!0,V)}catch(V){F(V.message),o("idle")}}async function te(){if(!b.trim()){F("\u8BF7\u8F93\u5165\u5BF9\u65B9 Peer ID");return}if(!t){F("\u672A\u83B7\u53D6\u5230\u672C\u673A Peer ID");return}F(""),ue.current&&ue.current.readyState===1&&ue.current.send(JSON.stringify({event:"call:start",data:{targetPeerId:b.trim(),type:B}}))}async function oe(){if(r)try{o("connecting"),d({callId:r.callId,peerId:r.callerId,type:r.type}),S([]);let q=await J(r.type==="video");k.current=q,A(r.type!=="video"),ye(!1,q),ue.current&&ue.current.readyState===1&&ue.current.send(JSON.stringify({event:"call:accept",data:{callId:r.callId}})),f(null)}catch(q){F(q.message),o("idle"),f(null)}}function Wa(){r&&(ue.current&&ue.current.readyState===1&&ue.current.send(JSON.stringify({event:"call:reject",data:{callId:r.callId}})),f(null),o("idle"))}function Fa(){if(M.current){try{M.current.destroy()}catch{}M.current=null}k.current&&(k.current.getTracks().forEach(q=>q.stop()),k.current=null),i.current&&(i.current.getTracks().forEach(q=>q.stop()),i.current=null),d(null),y(!1),A(!1),s(!1)}function Pa(){p.current&&ue.current&&ue.current.readyState===1&&ue.current.send(JSON.stringify({event:"call:hangup",data:{callId:p.current.callId}})),Fa(),o("idle")}function Do(){if(k.current){let q=k.current.getAudioTracks()[0];q&&(q.enabled=!q.enabled,y(!q.enabled))}}function vt(){if(k.current){let q=k.current.getVideoTracks()[0];q&&(q.enabled=!q.enabled,A(!q.enabled))}}async function bt(){if(E)ts();else try{let q=await navigator.mediaDevices.getDisplayMedia({video:!0});i.current=q;let V=q.getVideoTracks()[0],Ze=M.current._pc.getSenders().find(sa=>sa.track?.kind==="video");Ze&&Ze.replaceTrack(V),V.onended=()=>{ts()},s(!0)}catch{}}function ts(){i.current&&(i.current.getTracks().forEach(V=>V.stop()),i.current=null);let q=k.current?.getVideoTracks()[0];if(q){let Le=M.current._pc.getSenders().find(Ze=>Ze.track?.kind==="video");Le&&Le.replaceTrack(q)}s(!1)}function ls(){if(!T.trim()||!p.current)return;let q={id:Date.now(),from:"self",text:T.trim(),ts:new Date,self:!0};if(S(V=>[...V,q]),M.current&&M.current.connected)try{M.current.send(JSON.stringify({type:"chat",text:T.trim()}))}catch{}ue.current&&ue.current.readyState===1&&ue.current.send(JSON.stringify({event:"call:chat",data:{callId:p.current.callId,message:T.trim()}})),_("")}function us(){window.location.href="/"}async function cm(q){va(q);try{let V=await Sa.getChannelMessages(q.name);se(V);let Le=await Sa.getChannelPeers(q.name);fa(Le)}catch{F("\u52A0\u8F7D\u9891\u9053\u5931\u8D25"),setTimeout(()=>F(""),3e3)}}async function pm(q){try{await Sa.leaveChannel(q),ea?.name===q&&(va(null),se([]),fa([])),D()}catch(V){F(V.message),setTimeout(()=>F(""),3e3)}}async function os(){if(Ke.trim())try{await Sa.createChannel(Ke.trim(),Ja),St(""),qe("personal"),Na(!1),D()}catch(q){F(q.message),setTimeout(()=>F(""),3e3)}}async function ns(){if(!Pe.trim()||!ea)return;let q=Pe.trim();Oa("");try{await Sa.sendChannelMessage(ea.name,q)}catch(V){F(V.message),setTimeout(()=>F(""),3e3)}}function hm(){va(null),se([]),fa([])}function Sl(){return(0,R.jsxs)("div",{className:"chat-tab-nav",children:[(0,R.jsxs)("button",{className:`chat-tab-btn ${e==="call"?"active":""}`,onClick:()=>a("call"),children:[(0,R.jsx)(Ha,{size:16}),(0,R.jsx)("span",{children:"\u901A\u8BDD"})]}),(0,R.jsxs)("button",{className:`chat-tab-btn ${e==="channels"?"active":""}`,onClick:()=>{a("channels"),D()},children:[(0,R.jsx)(Wt,{size:16}),(0,R.jsx)("span",{children:"\u9891\u9053"})]})]})}if(e==="call"){if(u==="idle"||u==="ended")return(0,R.jsxs)("div",{className:"chat-page",children:[(0,R.jsxs)("header",{className:"chat-header",children:[(0,R.jsx)("button",{className:"chat-back-btn",onClick:us,"aria-label":"\u8FD4\u56DE",children:(0,R.jsx)(Ct,{size:20})}),(0,R.jsx)("h1",{children:"P2P \u901A\u8BDD"}),(0,R.jsx)("div",{className:"chat-spacer"}),(0,R.jsxs)("div",{className:"chat-peer-id-badge",children:["ID: ",t||"\u52A0\u8F7D\u4E2D..."]})]}),Sl(),(0,R.jsxs)("div",{className:"chat-dial-container",children:[(0,R.jsx)("div",{className:"chat-dial-icon",children:(0,R.jsx)(Ha,{size:48})}),(0,R.jsx)("p",{className:"chat-dial-description",children:"\u8F93\u5165\u5BF9\u65B9 Peer ID \u53D1\u8D77\u8BED\u97F3\u6216\u89C6\u9891\u901A\u8BDD"}),(0,R.jsxs)("div",{className:"chat-dial-input-group",children:[(0,R.jsx)("input",{type:"text",className:"chat-dial-input",placeholder:"\u8F93\u5165\u5BF9\u65B9 Peer ID",value:b,onChange:q=>w(q.target.value),onKeyDown:q=>q.key==="Enter"&&te()}),(0,R.jsxs)("div",{className:"chat-type-selector",children:[(0,R.jsxs)("button",{className:`chat-type-btn ${B==="audio"?"active":""}`,onClick:()=>z("audio"),children:[(0,R.jsx)(Ha,{size:18}),(0,R.jsx)("span",{children:"\u8BED\u97F3"})]}),(0,R.jsxs)("button",{className:`chat-type-btn ${B==="video"?"active":""}`,onClick:()=>z("video"),children:[(0,R.jsx)(Cl,{size:18}),(0,R.jsx)("span",{children:"\u89C6\u9891"})]})]}),(0,R.jsxs)("button",{className:"chat-start-btn",onClick:te,children:[B==="audio"?(0,R.jsx)(Ha,{size:20}):(0,R.jsx)(Cl,{size:20}),(0,R.jsx)("span",{children:"\u53D1\u8D77\u901A\u8BDD"})]})]}),G&&(0,R.jsx)("div",{className:"chat-error",children:G}),(0,R.jsx)("div",{className:"chat-copy-id",children:(0,R.jsxs)("button",{className:"chat-copy-btn",onClick:()=>{navigator.clipboard.writeText(t),Ae(!0),setTimeout(()=>Ae(!1),2e3)},children:[ee?(0,R.jsx)(vo,{size:14}):(0,R.jsx)(bo,{size:14}),ee?"\u5DF2\u590D\u5236":"\u590D\u5236\u6211\u7684 ID"]})})]})]});if(u==="incoming"&&r)return(0,R.jsxs)("div",{className:"chat-page",children:[(0,R.jsxs)("header",{className:"chat-header",children:[(0,R.jsx)("button",{className:"chat-back-btn",onClick:Wa,"aria-label":"\u8FD4\u56DE",children:(0,R.jsx)(Ct,{size:20})}),(0,R.jsx)("h1",{children:"\u6765\u7535"}),(0,R.jsx)("div",{className:"chat-spacer"})]}),Sl(),(0,R.jsxs)("div",{className:"chat-incoming-container",children:[(0,R.jsx)("div",{className:"chat-incoming-avatar",children:(0,R.jsx)(Ha,{size:48})}),(0,R.jsx)("h2",{className:"chat-incoming-caller",children:r.callerName||r.callerId}),(0,R.jsx)("p",{className:"chat-incoming-type",children:r.type==="video"?"\u89C6\u9891\u901A\u8BDD":"\u8BED\u97F3\u901A\u8BDD"}),(0,R.jsxs)("div",{className:"chat-incoming-actions",children:[(0,R.jsxs)("button",{className:"chat-accept-btn",onClick:oe,children:[(0,R.jsx)(Ha,{size:24}),(0,R.jsx)("span",{children:"\u63A5\u542C"})]}),(0,R.jsxs)("button",{className:"chat-reject-btn",onClick:Wa,children:[(0,R.jsx)(mu,{size:24}),(0,R.jsx)("span",{children:"\u62D2\u7EDD"})]})]})]})]});if(u==="connecting")return(0,R.jsxs)("div",{className:"chat-page",children:[(0,R.jsxs)("header",{className:"chat-header",children:[(0,R.jsx)("button",{className:"chat-back-btn",onClick:Pa,"aria-label":"\u53D6\u6D88",children:(0,R.jsx)(Ct,{size:20})}),(0,R.jsx)("h1",{children:"\u8FDE\u63A5\u4E2D..."}),(0,R.jsx)("div",{className:"chat-spacer"})]}),Sl(),(0,R.jsxs)("div",{className:"chat-connecting-container",children:[(0,R.jsx)("div",{className:"chat-connecting-spinner"}),(0,R.jsx)("p",{children:"\u6B63\u5728\u5EFA\u7ACB P2P \u8FDE\u63A5..."}),(0,R.jsxs)("p",{className:"chat-connecting-peer",children:["\u5BF9\u65B9: ",g?.peerId]}),(0,R.jsx)("button",{className:"chat-cancel-btn",onClick:Pa,children:"\u53D6\u6D88"})]})]});if(u==="connected"&&g)return(0,R.jsxs)("div",{className:`chat-page ${c?"with-chat":""}`,children:[Sl(),(0,R.jsxs)("div",{className:"chat-active-layout",children:[(0,R.jsxs)("div",{className:"chat-video-area",children:[(0,R.jsx)("video",{ref:P,className:"chat-remote-video",autoPlay:!0,playsInline:!0}),g.type==="video"&&(0,R.jsx)("video",{ref:H,className:"chat-local-video",autoPlay:!0,playsInline:!0,muted:!0}),g.type==="audio"&&(0,R.jsxs)("div",{className:"chat-audio-display",children:[(0,R.jsx)("div",{className:"chat-audio-avatar",children:(0,R.jsx)(Ha,{size:64})}),(0,R.jsx)("p",{className:"chat-audio-name",children:g.peerId})]}),(0,R.jsx)("div",{className:"chat-duration-badge",children:kx(L)})]}),(0,R.jsxs)("div",{className:"chat-controls",children:[(0,R.jsx)("button",{className:`chat-control-btn ${h?"active":""}`,onClick:Do,title:h?"\u53D6\u6D88\u9759\u97F3":"\u9759\u97F3",children:h?(0,R.jsx)(Io,{size:20}):(0,R.jsx)(wo,{size:20})}),g.type==="video"&&(0,R.jsx)("button",{className:`chat-control-btn ${I?"active":""}`,onClick:vt,title:I?"\u5F00\u542F\u6444\u50CF\u5934":"\u5173\u95ED\u6444\u50CF\u5934",children:I?(0,R.jsx)(Ro,{size:20}):(0,R.jsx)(Cl,{size:20})}),(0,R.jsx)("button",{className:`chat-control-btn ${E?"active":""}`,onClick:bt,title:E?"\u505C\u6B62\u5171\u4EAB":"\u5171\u4EAB\u5C4F\u5E55",children:E?(0,R.jsx)(Ao,{size:20}):(0,R.jsx)(To,{size:20})}),(0,R.jsx)("button",{className:`chat-control-btn ${c?"active":""}`,onClick:()=>m(!c),title:"\u6587\u5B57\u804A\u5929",children:(0,R.jsx)(Wt,{size:20})}),(0,R.jsx)("button",{className:"chat-control-btn hangup",onClick:Pa,title:"\u6302\u65AD",children:(0,R.jsx)(mu,{size:24})})]}),c&&(0,R.jsxs)("div",{className:"chat-chat-panel",children:[(0,R.jsxs)("div",{className:"chat-chat-header",children:[(0,R.jsx)("h3",{children:"\u6587\u5B57\u804A\u5929"}),(0,R.jsx)("button",{className:"chat-chat-close",onClick:()=>m(!1),children:(0,R.jsx)(Lu,{size:18})})]}),(0,R.jsxs)("div",{className:"chat-chat-messages",children:[C.length===0&&(0,R.jsx)("p",{className:"chat-chat-empty",children:"\u6682\u65E0\u6D88\u606F"}),C.map(q=>(0,R.jsxs)("div",{className:`chat-chat-msg ${q.self?"self":""}`,children:[!q.self&&(0,R.jsx)("span",{className:"chat-chat-msg-from",children:q.from}),(0,R.jsx)("div",{className:"chat-chat-msg-bubble",children:q.text})]},q.id)),(0,R.jsx)("div",{ref:n})]}),(0,R.jsxs)("div",{className:"chat-chat-input-area",children:[(0,R.jsx)("input",{type:"text",className:"chat-chat-input",placeholder:"\u8F93\u5165\u6D88\u606F...",value:T,onChange:q=>_(q.target.value),onKeyDown:q=>q.key==="Enter"&&ls()}),(0,R.jsx)("button",{className:"chat-chat-send",onClick:ls,children:(0,R.jsx)(gu,{size:18})})]})]})]})]})}return e==="channels"?ea?(0,R.jsxs)("div",{className:"chat-page",children:[(0,R.jsxs)("header",{className:"chat-header",children:[(0,R.jsx)("button",{className:"chat-back-btn",onClick:hm,"aria-label":"\u8FD4\u56DE\u9891\u9053\u5217\u8868",children:(0,R.jsx)(Ct,{size:20})}),(0,R.jsx)("h1",{children:ea.name}),(0,R.jsx)("div",{className:"chat-spacer"}),(0,R.jsxs)("div",{className:"chat-peer-id-badge",children:[(0,R.jsx)(Mo,{size:12})," ",me.length," \u5728\u7EBF"]})]}),Sl(),(0,R.jsxs)("div",{className:"chat-channel-view",children:[(0,R.jsxs)("div",{className:"chat-channel-messages",children:[ia.length===0?(0,R.jsx)("div",{className:"chat-channel-empty",children:"\u6682\u65E0\u6D88\u606F\uFF0C\u5F00\u59CB\u804A\u5929\u5427\uFF01"}):ia.map((q,V)=>(0,R.jsxs)("div",{className:`chat-channel-msg ${q.author===t?"self":"other"}`,children:[q.author!==t&&(0,R.jsx)("span",{className:"chat-channel-msg-author",children:q.authorName}),(0,R.jsx)("div",{className:"chat-channel-msg-bubble",children:q.content}),(0,R.jsx)("span",{className:"chat-channel-msg-time",children:new Date(q.timestamp).toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"})})]},V)),(0,R.jsx)("div",{ref:v})]}),(0,R.jsxs)("div",{className:"chat-channel-input-area",children:[(0,R.jsx)("input",{type:"text",className:"chat-channel-input",placeholder:"\u8F93\u5165\u6D88\u606F...",value:Pe,onChange:q=>Oa(q.target.value),onKeyDown:q=>{q.key==="Enter"&&Pe.trim()&&ns()}}),(0,R.jsx)("button",{className:"chat-channel-send-btn",onClick:ns,disabled:!Pe.trim(),children:(0,R.jsx)(gu,{size:18})})]})]})]}):(0,R.jsxs)("div",{className:"chat-page",children:[(0,R.jsxs)("header",{className:"chat-header",children:[(0,R.jsx)("button",{className:"chat-back-btn",onClick:us,"aria-label":"\u8FD4\u56DE",children:(0,R.jsx)(Ct,{size:20})}),(0,R.jsx)("h1",{children:"\u9891\u9053"}),(0,R.jsx)("div",{className:"chat-spacer"}),(0,R.jsxs)("button",{className:"chat-create-channel-btn",onClick:()=>Na(!0),children:[(0,R.jsx)(_o,{size:18}),(0,R.jsx)("span",{children:"\u521B\u5EFA"})]})]}),Sl(),(0,R.jsx)("div",{className:"chat-channels-list",children:Fe.length===0?(0,R.jsxs)("div",{className:"chat-channels-empty",children:[(0,R.jsx)(Wt,{size:48}),(0,R.jsx)("p",{children:"\u6682\u65E0\u9891\u9053\uFF0C\u521B\u5EFA\u4E00\u4E2A\u5F00\u59CB\u804A\u5929\u5427"})]}):Fe.map(q=>(0,R.jsxs)("div",{className:"chat-channel-item",onClick:()=>cm(q),children:[(0,R.jsx)("div",{className:"chat-channel-item-icon",children:(0,R.jsx)(Wt,{size:20})}),(0,R.jsxs)("div",{className:"chat-channel-item-info",children:[(0,R.jsx)("div",{className:"chat-channel-item-name",children:q.name}),(0,R.jsxs)("div",{className:"chat-channel-item-meta",children:[(0,R.jsx)("span",{children:q.type==="personal"?"\u4E2A\u4EBA":"\u7FA4\u7EC4"}),(0,R.jsx)("span",{children:"\xB7"}),(0,R.jsxs)("span",{children:[q.peerCount," \u5728\u7EBF"]})]})]}),(0,R.jsx)("button",{className:"chat-channel-item-leave",onClick:V=>{V.stopPropagation(),pm(q.name)},title:"\u79BB\u5F00\u9891\u9053",children:(0,R.jsx)(Lu,{size:14})})]},q.name))}),Ka&&(0,R.jsx)("div",{className:"chat-create-channel-overlay",onClick:()=>Na(!1),children:(0,R.jsxs)("div",{className:"chat-create-channel-modal",onClick:q=>q.stopPropagation(),children:[(0,R.jsx)("h3",{children:"\u521B\u5EFA\u9891\u9053"}),(0,R.jsx)("p",{children:"\u521B\u5EFA\u4E00\u4E2A\u9891\u9053\uFF0C\u670B\u53CB\u52A0\u5165\u540E\u53EF\u4EE5\u804A\u5929"}),(0,R.jsx)("input",{type:"text",className:"chat-create-channel-input",placeholder:"\u9891\u9053\u540D\uFF0C\u5982 alice \u6216 team-project",value:Ke,onChange:q=>St(q.target.value),onKeyDown:q=>{q.key==="Enter"&&Ke.trim()&&os()},autoFocus:!0}),(0,R.jsxs)("div",{className:"chat-channel-type-selector",children:[(0,R.jsx)("button",{className:`chat-channel-type-btn ${Ja==="personal"?"active":""}`,onClick:()=>qe("personal"),children:"\u4E2A\u4EBA"}),(0,R.jsx)("button",{className:`chat-channel-type-btn ${Ja==="group"?"active":""}`,onClick:()=>qe("group"),children:"\u7FA4\u7EC4"})]}),(0,R.jsx)("div",{className:"chat-create-channel-hint",children:"3-20\u4F4D\uFF0C\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u4E0B\u5212\u7EBF\u3001\u8FDE\u5B57\u7B26"}),(0,R.jsxs)("div",{className:"chat-create-channel-actions",children:[(0,R.jsx)("button",{className:"chat-create-channel-cancel",onClick:()=>Na(!1),children:"\u53D6\u6D88"}),(0,R.jsx)("button",{className:"chat-create-channel-submit",onClick:os,disabled:!Ke.trim(),children:"\u521B\u5EFA"})]})]})}),G&&(0,R.jsx)("div",{className:"chat-error toast",children:G})]}):null}var f0=dm;if(typeof document<"u"){let e=document.getElementById("root");e&&!e.hasChildNodes()&&(Promise.resolve().then(()=>$a(im(),1)),(0,fm.createRoot)(e).render((0,R.jsx)(dm,{})))}export{f0 as default};
|
|
11
|
+
/*! Bundled license information:
|
|
12
|
+
|
|
13
|
+
react/cjs/react.production.js:
|
|
14
|
+
(**
|
|
15
|
+
* @license React
|
|
16
|
+
* react.production.js
|
|
17
|
+
*
|
|
18
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
19
|
+
*
|
|
20
|
+
* This source code is licensed under the MIT license found in the
|
|
21
|
+
* LICENSE file in the root directory of this source tree.
|
|
22
|
+
*)
|
|
23
|
+
|
|
24
|
+
scheduler/cjs/scheduler.production.js:
|
|
25
|
+
(**
|
|
26
|
+
* @license React
|
|
27
|
+
* scheduler.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*)
|
|
34
|
+
|
|
35
|
+
react-dom/cjs/react-dom.production.js:
|
|
36
|
+
(**
|
|
37
|
+
* @license React
|
|
38
|
+
* react-dom.production.js
|
|
39
|
+
*
|
|
40
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*)
|
|
45
|
+
|
|
46
|
+
react-dom/cjs/react-dom-client.production.js:
|
|
47
|
+
(**
|
|
48
|
+
* @license React
|
|
49
|
+
* react-dom-client.production.js
|
|
50
|
+
*
|
|
51
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
52
|
+
*
|
|
53
|
+
* This source code is licensed under the MIT license found in the
|
|
54
|
+
* LICENSE file in the root directory of this source tree.
|
|
55
|
+
*)
|
|
56
|
+
|
|
57
|
+
simple-peer/simplepeer.min.js:
|
|
58
|
+
(*!
|
|
59
|
+
* The buffer module from node.js, for the browser.
|
|
60
|
+
*
|
|
61
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
62
|
+
* @license MIT
|
|
63
|
+
*)
|
|
64
|
+
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
65
|
+
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
66
|
+
(*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
67
|
+
(*! simple-peer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
68
|
+
|
|
69
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
70
|
+
(**
|
|
71
|
+
* @license React
|
|
72
|
+
* react-jsx-runtime.production.js
|
|
73
|
+
*
|
|
74
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
75
|
+
*
|
|
76
|
+
* This source code is licensed under the MIT license found in the
|
|
77
|
+
* LICENSE file in the root directory of this source tree.
|
|
78
|
+
*)
|
|
79
|
+
|
|
80
|
+
lucide-react/dist/esm/shared/src/utils/mergeClasses.js:
|
|
81
|
+
lucide-react/dist/esm/shared/src/utils/toKebabCase.js:
|
|
82
|
+
lucide-react/dist/esm/shared/src/utils/toCamelCase.js:
|
|
83
|
+
lucide-react/dist/esm/shared/src/utils/toPascalCase.js:
|
|
84
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
85
|
+
lucide-react/dist/esm/shared/src/utils/hasA11yProp.js:
|
|
86
|
+
lucide-react/dist/esm/context.js:
|
|
87
|
+
lucide-react/dist/esm/Icon.js:
|
|
88
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
89
|
+
lucide-react/dist/esm/icons/arrow-left.js:
|
|
90
|
+
lucide-react/dist/esm/icons/check.js:
|
|
91
|
+
lucide-react/dist/esm/icons/copy.js:
|
|
92
|
+
lucide-react/dist/esm/icons/message-square.js:
|
|
93
|
+
lucide-react/dist/esm/icons/mic-off.js:
|
|
94
|
+
lucide-react/dist/esm/icons/mic.js:
|
|
95
|
+
lucide-react/dist/esm/icons/monitor-off.js:
|
|
96
|
+
lucide-react/dist/esm/icons/monitor.js:
|
|
97
|
+
lucide-react/dist/esm/icons/phone-off.js:
|
|
98
|
+
lucide-react/dist/esm/icons/phone.js:
|
|
99
|
+
lucide-react/dist/esm/icons/plus.js:
|
|
100
|
+
lucide-react/dist/esm/icons/send.js:
|
|
101
|
+
lucide-react/dist/esm/icons/users.js:
|
|
102
|
+
lucide-react/dist/esm/icons/video-off.js:
|
|
103
|
+
lucide-react/dist/esm/icons/video.js:
|
|
104
|
+
lucide-react/dist/esm/icons/x.js:
|
|
105
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
106
|
+
(**
|
|
107
|
+
* @license lucide-react v1.7.0 - ISC
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the ISC license.
|
|
110
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
+
*)
|
|
112
|
+
*/
|