(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))l(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const u of i.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&l(u)}).observe(document,{childList:!0,subtree:!0});function a(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function l(n){if(n.ep)return;n.ep=!0;const i=a(n);fetch(n.href,i)}})();var or={exports:{}},Si={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Mm=Symbol.for("react.transitional.element"),Am=Symbol.for("react.fragment");function rr(e,t,a){var l=null;if(a!==void 0&&(l=""+a),t.key!==void 0&&(l=""+t.key),"key"in t){a={};for(var n in t)n!=="key"&&(a[n]=t[n])}else a=t;return t=a.ref,{$$typeof:Mm,type:e,key:l,ref:t!==void 0?t:null,props:a}}Si.Fragment=Am;Si.jsx=rr;Si.jsxs=rr;or.exports=Si;var y=or.exports,fr={exports:{}},O={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Tc=Symbol.for("react.transitional.element"),Gm=Symbol.for("react.portal"),Nm=Symbol.for("react.fragment"),Om=Symbol.for("react.strict_mode"),qm=Symbol.for("react.profiler"),Um=Symbol.for("react.consumer"),Dm=Symbol.for("react.context"),jm=Symbol.for("react.forward_ref"),Cm=Symbol.for("react.suspense"),Rm=Symbol.for("react.memo"),dr=Symbol.for("react.lazy"),Hm=Symbol.for("react.activity"),xs=Symbol.iterator;function Bm(e){return e===null||typeof e!="object"?null:(e=xs&&e[xs]||e["@@iterator"],typeof e=="function"?e:null)}var mr={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pr=Object.assign,yr={};function al(e,t,a){this.props=e,this.context=t,this.refs=yr,this.updater=a||mr}al.prototype.isReactComponent={};al.prototype.setState=function(e,t){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,t,"setState")};al.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function gr(){}gr.prototype=al.prototype;function xc(e,t,a){this.props=e,this.context=t,this.refs=yr,this.updater=a||mr}var Ec=xc.prototype=new gr;Ec.constructor=xc;pr(Ec,al.prototype);Ec.isPureReactComponent=!0;var Es=Array.isArray;function zu(){}var W={H:null,A:null,T:null,S:null},vr=Object.prototype.hasOwnProperty;function _c(e,t,a){var l=a.ref;return{$$typeof:Tc,type:e,key:t,ref:l!==void 0?l:null,props:a}}function Ym(e,t){return _c(e.type,t,e.props)}function zc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Tc}function wm(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return t[a]})}var _s=/\/+/g;function Qi(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wm(""+e.key):t.toString(36)}function Qm(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(zu,zu):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Ea(e,t,a,l,n){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(i){case"bigint":case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case Tc:case Gm:u=!0;break;case dr:return u=e._init,Ea(u(e._payload),t,a,l,n)}}if(u)return n=n(e),u=l===""?"."+Qi(e,0):l,Es(n)?(a="",u!=null&&(a=u.replace(_s,"$&/")+"/"),Ea(n,t,a,"",function(f){return f})):n!=null&&(zc(n)&&(n=Ym(n,a+(n.key==null||e&&e.key===n.key?"":(""+n.key).replace(_s,"$&/")+"/")+u)),t.push(n)),1;u=0;var c=l===""?".":l+":";if(Es(e))for(var s=0;s<e.length;s++)l=e[s],i=c+Qi(l,s),u+=Ea(l,t,a,i,n);else if(s=Bm(e),typeof s=="function")for(e=s.call(e),s=0;!(l=e.next()).done;)l=l.value,i=c+Qi(l,s++),u+=Ea(l,t,a,i,n);else if(i==="object"){if(typeof e.then=="function")return Ea(Qm(e),t,a,l,n);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return u}function mn(e,t,a){if(e==null)return e;var l=[],n=0;return Ea(e,l,"","",function(i){return t.call(a,i,n++)}),l}function Lm(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var zs=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Xm={map:mn,forEach:function(e,t,a){mn(e,function(){t.apply(this,arguments)},a)},count:function(e){var t=0;return mn(e,function(){t++}),t},toArray:function(e){return mn(e,function(t){return t})||[]},only:function(e){if(!zc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};O.Activity=Hm;O.Children=Xm;O.Component=al;O.Fragment=Nm;O.Profiler=qm;O.PureComponent=xc;O.StrictMode=Om;O.Suspense=Cm;O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W;O.__COMPILER_RUNTIME={__proto__:null,c:function(e){return W.H.useMemoCache(e)}};O.cache=function(e){return function(){return e.apply(null,arguments)}};O.cacheSignal=function(){return null};O.cloneElement=function(e,t,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var l=pr({},e.props),n=e.key;if(t!=null)for(i in t.key!==void 0&&(n=""+t.key),t)!vr.call(t,i)||i==="key"||i==="__self"||i==="__source"||i==="ref"&&t.ref===void 0||(l[i]=t[i]);var i=arguments.length-2;if(i===1)l.children=a;else if(1<i){for(var u=Array(i),c=0;c<i;c++)u[c]=arguments[c+2];l.children=u}return _c(e.type,n,l)};O.createContext=function(e){return e={$$typeof:Dm,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Um,_context:e},e};O.createElement=function(e,t,a){var l,n={},i=null;if(t!=null)for(l in t.key!==void 0&&(i=""+t.key),t)vr.call(t,l)&&l!=="key"&&l!=="__self"&&l!=="__source"&&(n[l]=t[l]);var u=arguments.length-2;if(u===1)n.children=a;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];n.children=c}if(e&&e.defaultProps)for(l in u=e.defaultProps,u)n[l]===void 0&&(n[l]=u[l]);return _c(e,i,n)};O.createRef=function(){return{current:null}};O.forwardRef=function(e){return{$$typeof:jm,render:e}};O.isValidElement=zc;O.lazy=function(e){return{$$typeof:dr,_payload:{_status:-1,_result:e},_init:Lm}};O.memo=function(e,t){return{$$typeof:Rm,type:e,compare:t===void 0?null:t}};O.startTransition=function(e){var t=W.T,a={};W.T=a;try{var l=e(),n=W.S;n!==null&&n(a,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(zu,zs)}catch(i){zs(i)}finally{t!==null&&a.types!==null&&(t.types=a.types),W.T=t}};O.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()};O.use=function(e){return W.H.use(e)};O.useActionState=function(e,t,a){return W.H.useActionState(e,t,a)};O.useCallback=function(e,t){return W.H.useCallback(e,t)};O.useContext=function(e){return W.H.useContext(e)};O.useDebugValue=function(){};O.useDeferredValue=function(e,t){return W.H.useDeferredValue(e,t)};O.useEffect=function(e,t){return W.H.useEffect(e,t)};O.useEffectEvent=function(e){return W.H.useEffectEvent(e)};O.useId=function(){return W.H.useId()};O.useImperativeHandle=function(e,t,a){return W.H.useImperativeHandle(e,t,a)};O.useInsertionEffect=function(e,t){return W.H.useInsertionEffect(e,t)};O.useLayoutEffect=function(e,t){return W.H.useLayoutEffect(e,t)};O.useMemo=function(e,t){return W.H.useMemo(e,t)};O.useOptimistic=function(e,t){return W.H.useOptimistic(e,t)};O.useReducer=function(e,t,a){return W.H.useReducer(e,t,a)};O.useRef=function(e){return W.H.useRef(e)};O.useState=function(e){return W.H.useState(e)};O.useSyncExternalStore=function(e,t,a){return W.H.useSyncExternalStore(e,t,a)};O.useTransition=function(){return W.H.useTransition()};O.version="19.2.5";fr.exports=O;var P=fr.exports,hr={exports:{}},Ti={},br={exports:{}},Sr={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */(function(e){function t(E,j){var U=E.length;E.push(j);e:for(;0<U;){var ae=U-1>>>1,de=E[ae];if(0<n(de,j))E[ae]=j,E[U]=de,U=ae;else break e}}function a(E){return E.length===0?null:E[0]}function l(E){if(E.length===0)return null;var j=E[0],U=E.pop();if(U!==j){E[0]=U;e:for(var ae=0,de=E.length,rn=de>>>1;ae<rn;){var fn=2*(ae+1)-1,wi=E[fn],ea=fn+1,dn=E[ea];if(0>n(wi,U))ea<de&&0>n(dn,wi)?(E[ae]=dn,E[ea]=U,ae=ea):(E[ae]=wi,E[fn]=U,ae=fn);else if(ea<de&&0>n(dn,U))E[ae]=dn,E[ea]=U,ae=ea;else break e}}return j}function n(E,j){var U=E.sortIndex-j.sortIndex;return U!==0?U:E.id-j.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,c=u.now();e.unstable_now=function(){return u.now()-c}}var s=[],f=[],g=1,v=null,d=3,p=!1,S=!1,x=!1,D=!1,r=typeof setTimeout=="function"?setTimeout:null,o=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;function h(E){for(var j=a(f);j!==null;){if(j.callback===null)l(f);else if(j.startTime<=E)l(f),j.sortIndex=j.expirationTime,t(s,j);else break;j=a(f)}}function _(E){if(x=!1,h(E),!S)if(a(s)!==null)S=!0,z||(z=!0,_e());else{var j=a(f);j!==null&&Yi(_,j.startTime-E)}}var z=!1,T=-1,M=5,A=-1;function N(){return D?!0:!(e.unstable_now()-A<M)}function ie(){if(D=!1,z){var E=e.unstable_now();A=E;var j=!0;try{e:{S=!1,x&&(x=!1,o(T),T=-1),p=!0;var U=d;try{t:{for(h(E),v=a(s);v!==null&&!(v.expirationTime>E&&N());){var ae=v.callback;if(typeof ae=="function"){v.callback=null,d=v.priorityLevel;var de=ae(v.expirationTime<=E);if(E=e.unstable_now(),typeof de=="function"){v.callback=de,h(E),j=!0;break t}v===a(s)&&l(s),h(E)}else l(s);v=a(s)}if(v!==null)j=!0;else{var rn=a(f);rn!==null&&Yi(_,rn.startTime-E),j=!1}}break e}finally{v=null,d=U,p=!1}j=void 0}}finally{j?_e():z=!1}}}var _e;if(typeof m=="function")_e=function(){m(ie)};else if(typeof MessageChannel<"u"){var Mt=new MessageChannel,rl=Mt.port2;Mt.port1.onmessage=ie,_e=function(){rl.postMessage(null)}}else _e=function(){r(ie,0)};function Yi(E,j){T=r(function(){E(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(E){E.callback=null},e.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"):M=0<E?Math.floor(1e3/E):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_next=function(E){switch(d){case 1:case 2:case 3:var j=3;break;default:j=d}var U=d;d=j;try{return E()}finally{d=U}},e.unstable_requestPaint=function(){D=!0},e.unstable_runWithPriority=function(E,j){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var U=d;d=E;try{return j()}finally{d=U}},e.unstable_scheduleCallback=function(E,j,U){var ae=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?ae+U:ae):U=ae,E){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return de=U+de,E={id:g++,callback:j,priorityLevel:E,startTime:U,expirationTime:de,sortIndex:-1},U>ae?(E.sortIndex=U,t(f,E),a(s)===null&&E===a(f)&&(x?(o(T),T=-1):x=!0,Yi(_,U-ae))):(E.sortIndex=de,t(s,E),S||p||(S=!0,z||(z=!0,_e()))),E},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(E){var j=d;return function(){var U=d;d=j;try{return E.apply(this,arguments)}finally{d=U}}}})(Sr);br.exports=Sr;var Zm=br.exports,Tr={exports:{}},Ee={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var Vm=P;function xr(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function At(){}var xe={d:{f:At,r:function(){throw Error(xr(522))},D:At,C:At,L:At,m:At,X:At,S:At,M:At},p:0,findDOMNode:null},Km=Symbol.for("react.portal");function Jm(e,t,a){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Km,key:l==null?null:""+l,children:e,containerInfo:t,implementation:a}}var El=Vm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function xi(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}Ee.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=xe;Ee.createPortal=function(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(xr(299));return Jm(e,t,null,a)};Ee.flushSync=function(e){var t=El.T,a=xe.p;try{if(El.T=null,xe.p=2,e)return e()}finally{El.T=t,xe.p=a,xe.d.f()}};Ee.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,xe.d.C(e,t))};Ee.prefetchDNS=function(e){typeof e=="string"&&xe.d.D(e)};Ee.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var a=t.as,l=xi(a,t.crossOrigin),n=typeof t.integrity=="string"?t.integrity:void 0,i=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;a==="style"?xe.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:l,integrity:n,fetchPriority:i}):a==="script"&&xe.d.X(e,{crossOrigin:l,integrity:n,fetchPriority:i,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};Ee.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var a=xi(t.as,t.crossOrigin);xe.d.M(e,{crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&xe.d.M(e)};Ee.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var a=t.as,l=xi(a,t.crossOrigin);xe.d.L(e,a,{crossOrigin:l,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};Ee.preloadModule=function(e,t){if(typeof e=="string")if(t){var a=xi(t.as,t.crossOrigin);xe.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:a,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else xe.d.m(e)};Ee.requestFormReset=function(e){xe.d.r(e)};Ee.unstable_batchedUpdates=function(e,t){return e(t)};Ee.useFormState=function(e,t,a){return El.H.useFormState(e,t,a)};Ee.useFormStatus=function(){return El.H.useHostTransitionStatus()};Ee.version="19.2.5";function Er(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Er)}catch(e){console.error(e)}}Er(),Tr.exports=Ee;var $m=Tr.exports;/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var fe=Zm,_r=P,km=$m;function b(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function zr(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fl(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function Mr(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ar(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Ms(e){if(Fl(e)!==e)throw Error(b(188))}function Wm(e){var t=e.alternate;if(!t){if(t=Fl(e),t===null)throw Error(b(188));return t!==e?null:e}for(var a=e,l=t;;){var n=a.return;if(n===null)break;var i=n.alternate;if(i===null){if(l=n.return,l!==null){a=l;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===a)return Ms(n),e;if(i===l)return Ms(n),t;i=i.sibling}throw Error(b(188))}if(a.return!==l.return)a=n,l=i;else{for(var u=!1,c=n.child;c;){if(c===a){u=!0,a=n,l=i;break}if(c===l){u=!0,l=n,a=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===a){u=!0,a=i,l=n;break}if(c===l){u=!0,l=i,a=n;break}c=c.sibling}if(!u)throw Error(b(189))}}if(a.alternate!==l)throw Error(b(190))}if(a.tag!==3)throw Error(b(188));return a.stateNode.current===a?e:t}function Gr(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Gr(e),t!==null)return t;e=e.sibling}return null}var F=Object.assign,Fm=Symbol.for("react.element"),pn=Symbol.for("react.transitional.element"),hl=Symbol.for("react.portal"),Ma=Symbol.for("react.fragment"),Nr=Symbol.for("react.strict_mode"),Mu=Symbol.for("react.profiler"),Or=Symbol.for("react.consumer"),pt=Symbol.for("react.context"),Mc=Symbol.for("react.forward_ref"),Au=Symbol.for("react.suspense"),Gu=Symbol.for("react.suspense_list"),Ac=Symbol.for("react.memo"),Gt=Symbol.for("react.lazy"),Nu=Symbol.for("react.activity"),Im=Symbol.for("react.memo_cache_sentinel"),As=Symbol.iterator;function fl(e){return e===null||typeof e!="object"?null:(e=As&&e[As]||e["@@iterator"],typeof e=="function"?e:null)}var Pm=Symbol.for("react.client.reference");function Ou(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Pm?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ma:return"Fragment";case Mu:return"Profiler";case Nr:return"StrictMode";case Au:return"Suspense";case Gu:return"SuspenseList";case Nu:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case hl:return"Portal";case pt:return e.displayName||"Context";case Or:return(e._context.displayName||"Context")+".Consumer";case Mc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ac:return t=e.displayName||null,t!==null?t:Ou(e.type)||"Memo";case Gt:t=e._payload,e=e._init;try{return Ou(e(t))}catch{}}return null}var bl=Array.isArray,G=_r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,w=km.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ua={pending:!1,data:null,method:null,action:null},qu=[],Aa=-1;function it(e){return{current:e}}function ye(e){0>Aa||(e.current=qu[Aa],qu[Aa]=null,Aa--)}function K(e,t){Aa++,qu[Aa]=e.current,e.current=t}var nt=it(null),Hl=it(null),Yt=it(null),Zn=it(null);function Vn(e,t){switch(K(Yt,t),K(Hl,e),K(nt,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?jo(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=jo(t),e=Fd(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ye(nt),K(nt,e)}function Va(){ye(nt),ye(Hl),ye(Yt)}function Uu(e){e.memoizedState!==null&&K(Zn,e);var t=nt.current,a=Fd(t,e.type);t!==a&&(K(Hl,e),K(nt,a))}function Kn(e){Hl.current===e&&(ye(nt),ye(Hl)),Zn.current===e&&(ye(Zn),$l._currentValue=ua)}var Li,Gs;function aa(e){if(Li===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Li=t&&t[1]||"",Gs=-1<a.stack.indexOf(`
    at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Li+e+Gs}var Xi=!1;function Zi(e,t){if(!e||Xi)return"";Xi=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(p){var d=p}Reflect.construct(e,[],v)}else{try{v.call()}catch(p){d=p}e.call(v.prototype)}}else{try{throw Error()}catch(p){d=p}(v=e())&&typeof v.catch=="function"&&v.catch(function(){})}}catch(p){if(p&&d&&typeof p.stack=="string")return[p.stack,d.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=l.DetermineComponentFrameRoot(),u=i[0],c=i[1];if(u&&c){var s=u.split(`
`),f=c.split(`
`);for(n=l=0;l<s.length&&!s[l].includes("DetermineComponentFrameRoot");)l++;for(;n<f.length&&!f[n].includes("DetermineComponentFrameRoot");)n++;if(l===s.length||n===f.length)for(l=s.length-1,n=f.length-1;1<=l&&0<=n&&s[l]!==f[n];)n--;for(;1<=l&&0<=n;l--,n--)if(s[l]!==f[n]){if(l!==1||n!==1)do if(l--,n--,0>n||s[l]!==f[n]){var g=`
`+s[l].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),g}while(1<=l&&0<=n);break}}}finally{Xi=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?aa(a):""}function e0(e,t){switch(e.tag){case 26:case 27:case 5:return aa(e.type);case 16:return aa("Lazy");case 13:return e.child!==t&&t!==null?aa("Suspense Fallback"):aa("Suspense");case 19:return aa("SuspenseList");case 0:case 15:return Zi(e.type,!1);case 11:return Zi(e.type.render,!1);case 1:return Zi(e.type,!0);case 31:return aa("Activity");default:return""}}function Ns(e){try{var t="",a=null;do t+=e0(e,a),a=e,e=e.return;while(e);return t}catch(l){return`
Error generating stack: `+l.message+`
`+l.stack}}var Du=Object.prototype.hasOwnProperty,Gc=fe.unstable_scheduleCallback,Vi=fe.unstable_cancelCallback,t0=fe.unstable_shouldYield,a0=fe.unstable_requestPaint,Re=fe.unstable_now,l0=fe.unstable_getCurrentPriorityLevel,qr=fe.unstable_ImmediatePriority,Ur=fe.unstable_UserBlockingPriority,Jn=fe.unstable_NormalPriority,n0=fe.unstable_LowPriority,Dr=fe.unstable_IdlePriority,i0=fe.log,u0=fe.unstable_setDisableYieldValue,Il=null,He=null;function jt(e){if(typeof i0=="function"&&u0(e),He&&typeof He.setStrictMode=="function")try{He.setStrictMode(Il,e)}catch{}}var Be=Math.clz32?Math.clz32:o0,c0=Math.log,s0=Math.LN2;function o0(e){return e>>>=0,e===0?32:31-(c0(e)/s0|0)|0}var yn=256,gn=262144,vn=4194304;function la(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072: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 Ei(e,t,a){var l=e.pendingLanes;if(l===0)return 0;var n=0,i=e.suspendedLanes,u=e.pingedLanes;e=e.warmLanes;var c=l&134217727;return c!==0?(l=c&~i,l!==0?n=la(l):(u&=c,u!==0?n=la(u):a||(a=c&~e,a!==0&&(n=la(a))))):(c=l&~i,c!==0?n=la(c):u!==0?n=la(u):a||(a=l&~e,a!==0&&(n=la(a)))),n===0?0:t!==0&&t!==n&&!(t&i)&&(i=n&-n,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:n}function Pl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function r0(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jr(){var e=vn;return vn<<=1,!(vn&62914560)&&(vn=4194304),e}function Ki(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function en(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function f0(e,t,a,l,n,i){var u=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var c=e.entanglements,s=e.expirationTimes,f=e.hiddenUpdates;for(a=u&~a;0<a;){var g=31-Be(a),v=1<<g;c[g]=0,s[g]=-1;var d=f[g];if(d!==null)for(f[g]=null,g=0;g<d.length;g++){var p=d[g];p!==null&&(p.lane&=-536870913)}a&=~v}l!==0&&Cr(e,l,0),i!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=i&~(u&~t))}function Cr(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Be(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|a&261930}function Rr(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var l=31-Be(a),n=1<<l;n&t|e[l]&t&&(e[l]|=t),a&=~n}}function Hr(e,t){var a=t&-t;return a=a&42?1:Nc(a),a&(e.suspendedLanes|t)?0:a}function Nc(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 Oc(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Br(){var e=w.p;return e!==0?e:(e=window.event,e===void 0?32:sm(e.type))}function Os(e,t){var a=w.p;try{return w.p=e,t()}finally{w.p=a}}var It=Math.random().toString(36).slice(2),ve="__reactFiber$"+It,Oe="__reactProps$"+It,ll="__reactContainer$"+It,ju="__reactEvents$"+It,d0="__reactListeners$"+It,m0="__reactHandles$"+It,qs="__reactResources$"+It,tn="__reactMarker$"+It;function qc(e){delete e[ve],delete e[Oe],delete e[ju],delete e[d0],delete e[m0]}function Ga(e){var t=e[ve];if(t)return t;for(var a=e.parentNode;a;){if(t=a[ll]||a[ve]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Yo(e);e!==null;){if(a=e[ve])return a;e=Yo(e)}return t}e=a,a=e.parentNode}return null}function nl(e){if(e=e[ve]||e[ll]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Sl(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(b(33))}function Ba(e){var t=e[qs];return t||(t=e[qs]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function pe(e){e[tn]=!0}var Yr=new Set,wr={};function ga(e,t){Ka(e,t),Ka(e+"Capture",t)}function Ka(e,t){for(wr[e]=t,e=0;e<t.length;e++)Yr.add(t[e])}var p0=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]*$"),Us={},Ds={};function y0(e){return Du.call(Ds,e)?!0:Du.call(Us,e)?!1:p0.test(e)?Ds[e]=!0:(Us[e]=!0,!1)}function Nn(e,t,a){if(y0(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function hn(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function ct(e,t,a,l){if(l===null)e.removeAttribute(a);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+l)}}function Xe(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qr(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function g0(e,t,a){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,i=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(u){a=""+u,i.call(this,u)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(u){a=""+u},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Cu(e){if(!e._valueTracker){var t=Qr(e)?"checked":"value";e._valueTracker=g0(e,t,""+e[t])}}function Lr(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),l="";return e&&(l=Qr(e)?e.checked?"true":"false":e.value),e=l,e!==a?(t.setValue(e),!0):!1}function $n(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 v0=/[\n"\\]/g;function Ke(e){return e.replace(v0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Ru(e,t,a,l,n,i,u,c){e.name="",u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?e.type=u:e.removeAttribute("type"),t!=null?u==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Xe(t)):e.value!==""+Xe(t)&&(e.value=""+Xe(t)):u!=="submit"&&u!=="reset"||e.removeAttribute("value"),t!=null?Hu(e,u,Xe(t)):a!=null?Hu(e,u,Xe(a)):l!=null&&e.removeAttribute("value"),n==null&&i!=null&&(e.defaultChecked=!!i),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.name=""+Xe(c):e.removeAttribute("name")}function Xr(e,t,a,l,n,i,u,c){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){Cu(e);return}a=a!=null?""+Xe(a):"",t=t!=null?""+Xe(t):a,c||t===e.value||(e.value=t),e.defaultValue=t}l=l??n,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=c?e.checked:!!l,e.defaultChecked=!!l,u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.name=u),Cu(e)}function Hu(e,t,a){t==="number"&&$n(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Ya(e,t,a,l){if(e=e.options,t){t={};for(var n=0;n<a.length;n++)t["$"+a[n]]=!0;for(a=0;a<e.length;a++)n=t.hasOwnProperty("$"+e[a].value),e[a].selected!==n&&(e[a].selected=n),n&&l&&(e[a].defaultSelected=!0)}else{for(a=""+Xe(a),t=null,n=0;n<e.length;n++){if(e[n].value===a){e[n].selected=!0,l&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function Zr(e,t,a){if(t!=null&&(t=""+Xe(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Xe(a):""}function Vr(e,t,a,l){if(t==null){if(l!=null){if(a!=null)throw Error(b(92));if(bl(l)){if(1<l.length)throw Error(b(93));l=l[0]}a=l}a==null&&(a=""),t=a}a=Xe(t),e.defaultValue=a,l=e.textContent,l===a&&l!==""&&l!==null&&(e.value=l),Cu(e)}function Ja(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var h0=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,t,a){var l=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,a):typeof a!="number"||a===0||h0.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function Kr(e,t,a){if(t!=null&&typeof t!="object")throw Error(b(62));if(e=e.style,a!=null){for(var l in a)!a.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var n in t)l=t[n],t.hasOwnProperty(n)&&a[n]!==l&&js(e,n,l)}else for(var i in t)t.hasOwnProperty(i)&&js(e,i,t[i])}function Uc(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 b0=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"]]),S0=/^[\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 On(e){return S0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function yt(){}var Bu=null;function Dc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Na=null,wa=null;function Cs(e){var t=nl(e);if(t&&(e=t.stateNode)){var a=e[Oe]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ru(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ke(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var l=a[t];if(l!==e&&l.form===e.form){var n=l[Oe]||null;if(!n)throw Error(b(90));Ru(l,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<a.length;t++)l=a[t],l.form===e.form&&Lr(l)}break e;case"textarea":Zr(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Ya(e,!!a.multiple,t,!1)}}}var Ji=!1;function Jr(e,t,a){if(Ji)return e(t,a);Ji=!0;try{var l=e(t);return l}finally{if(Ji=!1,(Na!==null||wa!==null)&&(Ci(),Na&&(t=Na,e=wa,wa=Na=null,Cs(t),e)))for(t=0;t<e.length;t++)Cs(e[t])}}function Bl(e,t){var a=e.stateNode;if(a===null)return null;var l=a[Oe]||null;if(l===null)return null;a=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(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(a&&typeof a!="function")throw Error(b(231,t,typeof a));return a}var St=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Yu=!1;if(St)try{var dl={};Object.defineProperty(dl,"passive",{get:function(){Yu=!0}}),window.addEventListener("test",dl,dl),window.removeEventListener("test",dl,dl)}catch{Yu=!1}var Ct=null,jc=null,qn=null;function $r(){if(qn)return qn;var e,t=jc,a=t.length,l,n="value"in Ct?Ct.value:Ct.textContent,i=n.length;for(e=0;e<a&&t[e]===n[e];e++);var u=a-e;for(l=1;l<=u&&t[a-l]===n[i-l];l++);return qn=n.slice(e,1<l?1-l:void 0)}function Un(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function bn(){return!0}function Rs(){return!1}function qe(e){function t(a,l,n,i,u){this._reactName=a,this._targetInst=n,this.type=l,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(a=e[c],this[c]=a?a(i):i[c]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?bn:Rs,this.isPropagationStopped=Rs,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=bn)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=bn)},persist:function(){},isPersistent:bn}),t}var va={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_i=qe(va),an=F({},va,{view:0,detail:0}),T0=qe(an),$i,ki,ml,zi=F({},an,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cc,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!==ml&&(ml&&e.type==="mousemove"?($i=e.screenX-ml.screenX,ki=e.screenY-ml.screenY):ki=$i=0,ml=e),$i)},movementY:function(e){return"movementY"in e?e.movementY:ki}}),Hs=qe(zi),x0=F({},zi,{dataTransfer:0}),E0=qe(x0),_0=F({},an,{relatedTarget:0}),Wi=qe(_0),z0=F({},va,{animationName:0,elapsedTime:0,pseudoElement:0}),M0=qe(z0),A0=F({},va,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),G0=qe(A0),N0=F({},va,{data:0}),Bs=qe(N0),O0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},q0={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"},U0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function D0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=U0[e])?!!t[e]:!1}function Cc(){return D0}var j0=F({},an,{key:function(e){if(e.key){var t=O0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Un(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?q0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cc,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}}),C0=qe(j0),R0=F({},zi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ys=qe(R0),H0=F({},an,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cc}),B0=qe(H0),Y0=F({},va,{propertyName:0,elapsedTime:0,pseudoElement:0}),w0=qe(Y0),Q0=F({},zi,{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}),L0=qe(Q0),X0=F({},va,{newState:0,oldState:0}),Z0=qe(X0),V0=[9,13,27,32],Rc=St&&"CompositionEvent"in window,_l=null;St&&"documentMode"in document&&(_l=document.documentMode);var K0=St&&"TextEvent"in window&&!_l,kr=St&&(!Rc||_l&&8<_l&&11>=_l),ws=" ",Qs=!1;function Wr(e,t){switch(e){case"keyup":return V0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Fr(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Oa=!1;function J0(e,t){switch(e){case"compositionend":return Fr(t);case"keypress":return t.which!==32?null:(Qs=!0,ws);case"textInput":return e=t.data,e===ws&&Qs?null:e;default:return null}}function $0(e,t){if(Oa)return e==="compositionend"||!Rc&&Wr(e,t)?(e=$r(),qn=jc=Ct=null,Oa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return kr&&t.locale!=="ko"?null:t.data;default:return null}}var k0={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 Ls(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!k0[e.type]:t==="textarea"}function Ir(e,t,a,l){Na?wa?wa.push(l):wa=[l]:Na=l,t=di(t,"onChange"),0<t.length&&(a=new _i("onChange","change",null,a,l),e.push({event:a,listeners:t}))}var zl=null,Yl=null;function W0(e){$d(e,0)}function Mi(e){var t=Sl(e);if(Lr(t))return e}function Xs(e,t){if(e==="change")return t}var Pr=!1;if(St){var Fi;if(St){var Ii="oninput"in document;if(!Ii){var Zs=document.createElement("div");Zs.setAttribute("oninput","return;"),Ii=typeof Zs.oninput=="function"}Fi=Ii}else Fi=!1;Pr=Fi&&(!document.documentMode||9<document.documentMode)}function Vs(){zl&&(zl.detachEvent("onpropertychange",ef),Yl=zl=null)}function ef(e){if(e.propertyName==="value"&&Mi(Yl)){var t=[];Ir(t,Yl,e,Dc(e)),Jr(W0,t)}}function F0(e,t,a){e==="focusin"?(Vs(),zl=t,Yl=a,zl.attachEvent("onpropertychange",ef)):e==="focusout"&&Vs()}function I0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Mi(Yl)}function P0(e,t){if(e==="click")return Mi(t)}function e1(e,t){if(e==="input"||e==="change")return Mi(t)}function t1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var we=typeof Object.is=="function"?Object.is:t1;function wl(e,t){if(we(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(l=0;l<a.length;l++){var n=a[l];if(!Du.call(t,n)||!we(e[n],t[n]))return!1}return!0}function Ks(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Js(e,t){var a=Ks(e);e=0;for(var l;a;){if(a.nodeType===3){if(l=e+a.textContent.length,e<=t&&l>=t)return{node:a,offset:t-e};e=l}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Ks(a)}}function tf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function af(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=$n(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=$n(e.document)}return t}function Hc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var a1=St&&"documentMode"in document&&11>=document.documentMode,qa=null,wu=null,Ml=null,Qu=!1;function $s(e,t,a){var l=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Qu||qa==null||qa!==$n(l)||(l=qa,"selectionStart"in l&&Hc(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}),Ml&&wl(Ml,l)||(Ml=l,l=di(wu,"onSelect"),0<l.length&&(t=new _i("onSelect","select",null,t,a),e.push({event:t,listeners:l}),t.target=qa)))}function ta(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Ua={animationend:ta("Animation","AnimationEnd"),animationiteration:ta("Animation","AnimationIteration"),animationstart:ta("Animation","AnimationStart"),transitionrun:ta("Transition","TransitionRun"),transitionstart:ta("Transition","TransitionStart"),transitioncancel:ta("Transition","TransitionCancel"),transitionend:ta("Transition","TransitionEnd")},Pi={},lf={};St&&(lf=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function ha(e){if(Pi[e])return Pi[e];if(!Ua[e])return e;var t=Ua[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in lf)return Pi[e]=t[a];return e}var nf=ha("animationend"),uf=ha("animationiteration"),cf=ha("animationstart"),l1=ha("transitionrun"),n1=ha("transitionstart"),i1=ha("transitioncancel"),sf=ha("transitionend"),of=new Map,Lu="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(" ");Lu.push("scrollEnd");function et(e,t){of.set(e,t),ga(t,[e])}var kn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Le=[],Da=0,Bc=0;function Ai(){for(var e=Da,t=Bc=Da=0;t<e;){var a=Le[t];Le[t++]=null;var l=Le[t];Le[t++]=null;var n=Le[t];Le[t++]=null;var i=Le[t];if(Le[t++]=null,l!==null&&n!==null){var u=l.pending;u===null?n.next=n:(n.next=u.next,u.next=n),l.pending=n}i!==0&&rf(a,n,i)}}function Gi(e,t,a,l){Le[Da++]=e,Le[Da++]=t,Le[Da++]=a,Le[Da++]=l,Bc|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function Yc(e,t,a,l){return Gi(e,t,a,l),Wn(e)}function ba(e,t){return Gi(e,null,null,t),Wn(e)}function rf(e,t,a){e.lanes|=a;var l=e.alternate;l!==null&&(l.lanes|=a);for(var n=!1,i=e.return;i!==null;)i.childLanes|=a,l=i.alternate,l!==null&&(l.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(n=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,n&&t!==null&&(n=31-Be(a),e=i.hiddenUpdates,l=e[n],l===null?e[n]=[t]:l.push(t),t.lane=a|536870912),i):null}function Wn(e){if(50<Cl)throw Cl=0,oc=null,Error(b(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ja={};function u1(e,t,a,l){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function je(e,t,a,l){return new u1(e,t,a,l)}function wc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vt(e,t){var a=e.alternate;return a===null?(a=je(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function ff(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Dn(e,t,a,l,n,i){var u=0;if(l=e,typeof e=="function")wc(e)&&(u=1);else if(typeof e=="string")u=fp(e,a,nt.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Nu:return e=je(31,a,t,n),e.elementType=Nu,e.lanes=i,e;case Ma:return ca(a.children,n,i,t);case Nr:u=8,n|=24;break;case Mu:return e=je(12,a,t,n|2),e.elementType=Mu,e.lanes=i,e;case Au:return e=je(13,a,t,n),e.elementType=Au,e.lanes=i,e;case Gu:return e=je(19,a,t,n),e.elementType=Gu,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pt:u=10;break e;case Or:u=9;break e;case Mc:u=11;break e;case Ac:u=14;break e;case Gt:u=16,l=null;break e}u=29,a=Error(b(130,e===null?"null":typeof e,"")),l=null}return t=je(u,a,t,n),t.elementType=e,t.type=l,t.lanes=i,t}function ca(e,t,a,l){return e=je(7,e,l,t),e.lanes=a,e}function eu(e,t,a){return e=je(6,e,null,t),e.lanes=a,e}function df(e){var t=je(18,null,null,0);return t.stateNode=e,t}function tu(e,t,a){return t=je(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ks=new WeakMap;function Je(e,t){if(typeof e=="object"&&e!==null){var a=ks.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Ns(t)},ks.set(e,t),t)}return{value:e,source:t,stack:Ns(t)}}var Ca=[],Ra=0,Fn=null,Ql=0,Ze=[],Ve=0,$t=null,tt=1,at="";function dt(e,t){Ca[Ra++]=Ql,Ca[Ra++]=Fn,Fn=e,Ql=t}function mf(e,t,a){Ze[Ve++]=tt,Ze[Ve++]=at,Ze[Ve++]=$t,$t=e;var l=tt;e=at;var n=32-Be(l)-1;l&=~(1<<n),a+=1;var i=32-Be(t)+n;if(30<i){var u=n-n%5;i=(l&(1<<u)-1).toString(32),l>>=u,n-=u,tt=1<<32-Be(t)+n|a<<n|l,at=i+e}else tt=1<<i|a<<n|l,at=e}function Qc(e){e.return!==null&&(dt(e,1),mf(e,1,0))}function Lc(e){for(;e===Fn;)Fn=Ca[--Ra],Ca[Ra]=null,Ql=Ca[--Ra],Ca[Ra]=null;for(;e===$t;)$t=Ze[--Ve],Ze[Ve]=null,at=Ze[--Ve],Ze[Ve]=null,tt=Ze[--Ve],Ze[Ve]=null}function pf(e,t){Ze[Ve++]=tt,Ze[Ve++]=at,Ze[Ve++]=$t,tt=t.id,at=t.overflow,$t=e}var he=null,k=null,B=!1,wt=null,$e=!1,Xu=Error(b(519));function kt(e){var t=Error(b(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ll(Je(t,e)),Xu}function Ws(e){var t=e.stateNode,a=e.type,l=e.memoizedProps;switch(t[ve]=e,t[Oe]=l,a){case"dialog":C("cancel",t),C("close",t);break;case"iframe":case"object":case"embed":C("load",t);break;case"video":case"audio":for(a=0;a<Kl.length;a++)C(Kl[a],t);break;case"source":C("error",t);break;case"img":case"image":case"link":C("error",t),C("load",t);break;case"details":C("toggle",t);break;case"input":C("invalid",t),Xr(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":C("invalid",t);break;case"textarea":C("invalid",t),Vr(t,l.value,l.defaultValue,l.children)}a=l.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||l.suppressHydrationWarning===!0||Wd(t.textContent,a)?(l.popover!=null&&(C("beforetoggle",t),C("toggle",t)),l.onScroll!=null&&C("scroll",t),l.onScrollEnd!=null&&C("scrollend",t),l.onClick!=null&&(t.onclick=yt),t=!0):t=!1,t||kt(e,!0)}function Fs(e){for(he=e.return;he;)switch(he.tag){case 5:case 31:case 13:$e=!1;return;case 27:case 3:$e=!0;return;default:he=he.return}}function Ta(e){if(e!==he)return!1;if(!B)return Fs(e),B=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||pc(e.type,e.memoizedProps)),a=!a),a&&k&&kt(e),Fs(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(317));k=Bo(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(317));k=Bo(e)}else t===27?(t=k,Pt(e.type)?(e=hc,hc=null,k=e):k=t):k=he?We(e.stateNode.nextSibling):null;return!0}function fa(){k=he=null,B=!1}function au(){var e=wt;return e!==null&&(Ge===null?Ge=e:Ge.push.apply(Ge,e),wt=null),e}function Ll(e){wt===null?wt=[e]:wt.push(e)}var Zu=it(null),Sa=null,gt=null;function Ot(e,t,a){K(Zu,t._currentValue),t._currentValue=a}function ht(e){e._currentValue=Zu.current,ye(Zu)}function Vu(e,t,a){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===a)break;e=e.return}}function Ku(e,t,a,l){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var i=n.dependencies;if(i!==null){var u=n.child;i=i.firstContext;e:for(;i!==null;){var c=i;i=n;for(var s=0;s<t.length;s++)if(c.context===t[s]){i.lanes|=a,c=i.alternate,c!==null&&(c.lanes|=a),Vu(i.return,a,e),l||(u=null);break e}i=c.next}}else if(n.tag===18){if(u=n.return,u===null)throw Error(b(341));u.lanes|=a,i=u.alternate,i!==null&&(i.lanes|=a),Vu(u,a,e),u=null}else u=n.child;if(u!==null)u.return=n;else for(u=n;u!==null;){if(u===e){u=null;break}if(n=u.sibling,n!==null){n.return=u.return,u=n;break}u=u.return}n=u}}function il(e,t,a,l){e=null;for(var n=t,i=!1;n!==null;){if(!i){if(n.flags&524288)i=!0;else if(n.flags&262144)break}if(n.tag===10){var u=n.alternate;if(u===null)throw Error(b(387));if(u=u.memoizedProps,u!==null){var c=n.type;we(n.pendingProps.value,u.value)||(e!==null?e.push(c):e=[c])}}else if(n===Zn.current){if(u=n.alternate,u===null)throw Error(b(387));u.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push($l):e=[$l])}n=n.return}e!==null&&Ku(t,e,a,l),t.flags|=262144}function In(e){for(e=e.firstContext;e!==null;){if(!we(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function da(e){Sa=e,gt=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function be(e){return yf(Sa,e)}function Sn(e,t){return Sa===null&&da(e),yf(e,t)}function yf(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},gt===null){if(e===null)throw Error(b(308));gt=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else gt=gt.next=t;return a}var c1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},s1=fe.unstable_scheduleCallback,o1=fe.unstable_NormalPriority,se={$$typeof:pt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Xc(){return{controller:new c1,data:new Map,refCount:0}}function ln(e){e.refCount--,e.refCount===0&&s1(o1,function(){e.controller.abort()})}var Al=null,Ju=0,$a=0,Qa=null;function r1(e,t){if(Al===null){var a=Al=[];Ju=0,$a=ps(),Qa={status:"pending",value:void 0,then:function(l){a.push(l)}}}return Ju++,t.then(Is,Is),t}function Is(){if(--Ju===0&&Al!==null){Qa!==null&&(Qa.status="fulfilled");var e=Al;Al=null,$a=0,Qa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function f1(e,t){var a=[],l={status:"pending",value:null,reason:null,then:function(n){a.push(n)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var n=0;n<a.length;n++)(0,a[n])(t)},function(n){for(l.status="rejected",l.reason=n,n=0;n<a.length;n++)(0,a[n])(void 0)}),l}var Ps=G.S;G.S=function(e,t){Nd=Re(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&r1(e,t),Ps!==null&&Ps(e,t)};var sa=it(null);function Zc(){var e=sa.current;return e!==null?e:V.pooledCache}function jn(e,t){t===null?K(sa,sa.current):K(sa,t.pool)}function gf(){var e=Zc();return e===null?null:{parent:se._currentValue,pool:e}}var ul=Error(b(460)),Vc=Error(b(474)),Ni=Error(b(542)),Pn={then:function(){}};function eo(e){return e=e.status,e==="fulfilled"||e==="rejected"}function vf(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(yt,yt),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ao(e),e;default:if(typeof t.status=="string")t.then(yt,yt);else{if(e=V,e!==null&&100<e.shellSuspendCounter)throw Error(b(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=l}},function(l){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ao(e),e}throw oa=t,ul}}function na(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(oa=a,ul):a}}var oa=null;function to(){if(oa===null)throw Error(b(459));var e=oa;return oa=null,e}function ao(e){if(e===ul||e===Ni)throw Error(b(483))}var La=null,Xl=0;function Tn(e){var t=Xl;return Xl+=1,La===null&&(La=[]),vf(La,e,t)}function pl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function xn(e,t){throw t.$$typeof===Fm?Error(b(525)):(e=Object.prototype.toString.call(t),Error(b(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function hf(e){function t(r,o){if(e){var m=r.deletions;m===null?(r.deletions=[o],r.flags|=16):m.push(o)}}function a(r,o){if(!e)return null;for(;o!==null;)t(r,o),o=o.sibling;return null}function l(r){for(var o=new Map;r!==null;)r.key!==null?o.set(r.key,r):o.set(r.index,r),r=r.sibling;return o}function n(r,o){return r=vt(r,o),r.index=0,r.sibling=null,r}function i(r,o,m){return r.index=m,e?(m=r.alternate,m!==null?(m=m.index,m<o?(r.flags|=67108866,o):m):(r.flags|=67108866,o)):(r.flags|=1048576,o)}function u(r){return e&&r.alternate===null&&(r.flags|=67108866),r}function c(r,o,m,h){return o===null||o.tag!==6?(o=eu(m,r.mode,h),o.return=r,o):(o=n(o,m),o.return=r,o)}function s(r,o,m,h){var _=m.type;return _===Ma?g(r,o,m.props.children,h,m.key):o!==null&&(o.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Gt&&na(_)===o.type)?(o=n(o,m.props),pl(o,m),o.return=r,o):(o=Dn(m.type,m.key,m.props,null,r.mode,h),pl(o,m),o.return=r,o)}function f(r,o,m,h){return o===null||o.tag!==4||o.stateNode.containerInfo!==m.containerInfo||o.stateNode.implementation!==m.implementation?(o=tu(m,r.mode,h),o.return=r,o):(o=n(o,m.children||[]),o.return=r,o)}function g(r,o,m,h,_){return o===null||o.tag!==7?(o=ca(m,r.mode,h,_),o.return=r,o):(o=n(o,m),o.return=r,o)}function v(r,o,m){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return o=eu(""+o,r.mode,m),o.return=r,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case pn:return m=Dn(o.type,o.key,o.props,null,r.mode,m),pl(m,o),m.return=r,m;case hl:return o=tu(o,r.mode,m),o.return=r,o;case Gt:return o=na(o),v(r,o,m)}if(bl(o)||fl(o))return o=ca(o,r.mode,m,null),o.return=r,o;if(typeof o.then=="function")return v(r,Tn(o),m);if(o.$$typeof===pt)return v(r,Sn(r,o),m);xn(r,o)}return null}function d(r,o,m,h){var _=o!==null?o.key:null;if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return _!==null?null:c(r,o,""+m,h);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case pn:return m.key===_?s(r,o,m,h):null;case hl:return m.key===_?f(r,o,m,h):null;case Gt:return m=na(m),d(r,o,m,h)}if(bl(m)||fl(m))return _!==null?null:g(r,o,m,h,null);if(typeof m.then=="function")return d(r,o,Tn(m),h);if(m.$$typeof===pt)return d(r,o,Sn(r,m),h);xn(r,m)}return null}function p(r,o,m,h,_){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return r=r.get(m)||null,c(o,r,""+h,_);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case pn:return r=r.get(h.key===null?m:h.key)||null,s(o,r,h,_);case hl:return r=r.get(h.key===null?m:h.key)||null,f(o,r,h,_);case Gt:return h=na(h),p(r,o,m,h,_)}if(bl(h)||fl(h))return r=r.get(m)||null,g(o,r,h,_,null);if(typeof h.then=="function")return p(r,o,m,Tn(h),_);if(h.$$typeof===pt)return p(r,o,m,Sn(o,h),_);xn(o,h)}return null}function S(r,o,m,h){for(var _=null,z=null,T=o,M=o=0,A=null;T!==null&&M<m.length;M++){T.index>M?(A=T,T=null):A=T.sibling;var N=d(r,T,m[M],h);if(N===null){T===null&&(T=A);break}e&&T&&N.alternate===null&&t(r,T),o=i(N,o,M),z===null?_=N:z.sibling=N,z=N,T=A}if(M===m.length)return a(r,T),B&&dt(r,M),_;if(T===null){for(;M<m.length;M++)T=v(r,m[M],h),T!==null&&(o=i(T,o,M),z===null?_=T:z.sibling=T,z=T);return B&&dt(r,M),_}for(T=l(T);M<m.length;M++)A=p(T,r,M,m[M],h),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?M:A.key),o=i(A,o,M),z===null?_=A:z.sibling=A,z=A);return e&&T.forEach(function(ie){return t(r,ie)}),B&&dt(r,M),_}function x(r,o,m,h){if(m==null)throw Error(b(151));for(var _=null,z=null,T=o,M=o=0,A=null,N=m.next();T!==null&&!N.done;M++,N=m.next()){T.index>M?(A=T,T=null):A=T.sibling;var ie=d(r,T,N.value,h);if(ie===null){T===null&&(T=A);break}e&&T&&ie.alternate===null&&t(r,T),o=i(ie,o,M),z===null?_=ie:z.sibling=ie,z=ie,T=A}if(N.done)return a(r,T),B&&dt(r,M),_;if(T===null){for(;!N.done;M++,N=m.next())N=v(r,N.value,h),N!==null&&(o=i(N,o,M),z===null?_=N:z.sibling=N,z=N);return B&&dt(r,M),_}for(T=l(T);!N.done;M++,N=m.next())N=p(T,r,M,N.value,h),N!==null&&(e&&N.alternate!==null&&T.delete(N.key===null?M:N.key),o=i(N,o,M),z===null?_=N:z.sibling=N,z=N);return e&&T.forEach(function(_e){return t(r,_e)}),B&&dt(r,M),_}function D(r,o,m,h){if(typeof m=="object"&&m!==null&&m.type===Ma&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case pn:e:{for(var _=m.key;o!==null;){if(o.key===_){if(_=m.type,_===Ma){if(o.tag===7){a(r,o.sibling),h=n(o,m.props.children),h.return=r,r=h;break e}}else if(o.elementType===_||typeof _=="object"&&_!==null&&_.$$typeof===Gt&&na(_)===o.type){a(r,o.sibling),h=n(o,m.props),pl(h,m),h.return=r,r=h;break e}a(r,o);break}else t(r,o);o=o.sibling}m.type===Ma?(h=ca(m.props.children,r.mode,h,m.key),h.return=r,r=h):(h=Dn(m.type,m.key,m.props,null,r.mode,h),pl(h,m),h.return=r,r=h)}return u(r);case hl:e:{for(_=m.key;o!==null;){if(o.key===_)if(o.tag===4&&o.stateNode.containerInfo===m.containerInfo&&o.stateNode.implementation===m.implementation){a(r,o.sibling),h=n(o,m.children||[]),h.return=r,r=h;break e}else{a(r,o);break}else t(r,o);o=o.sibling}h=tu(m,r.mode,h),h.return=r,r=h}return u(r);case Gt:return m=na(m),D(r,o,m,h)}if(bl(m))return S(r,o,m,h);if(fl(m)){if(_=fl(m),typeof _!="function")throw Error(b(150));return m=_.call(m),x(r,o,m,h)}if(typeof m.then=="function")return D(r,o,Tn(m),h);if(m.$$typeof===pt)return D(r,o,Sn(r,m),h);xn(r,m)}return typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint"?(m=""+m,o!==null&&o.tag===6?(a(r,o.sibling),h=n(o,m),h.return=r,r=h):(a(r,o),h=eu(m,r.mode,h),h.return=r,r=h),u(r)):a(r,o)}return function(r,o,m,h){try{Xl=0;var _=D(r,o,m,h);return La=null,_}catch(T){if(T===ul||T===Ni)throw T;var z=je(29,T,null,r.mode);return z.lanes=h,z.return=r,z}finally{}}}var ma=hf(!0),bf=hf(!1),Nt=!1;function Kc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $u(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Qt(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Lt(e,t,a){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,Y&2){var n=l.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),l.pending=t,t=Wn(e),rf(e,null,a),t}return Gi(e,l,t,a),Wn(e)}function Gl(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Rr(e,a)}}function lu(e,t){var a=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,a===l)){var n=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var u={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?n=i=u:i=i.next=u,a=a.next}while(a!==null);i===null?n=i=t:i=i.next=t}else n=i=t;a={baseState:l.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:l.shared,callbacks:l.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var ku=!1;function Nl(){if(ku){var e=Qa;if(e!==null)throw e}}function Ol(e,t,a,l){ku=!1;var n=e.updateQueue;Nt=!1;var i=n.firstBaseUpdate,u=n.lastBaseUpdate,c=n.shared.pending;if(c!==null){n.shared.pending=null;var s=c,f=s.next;s.next=null,u===null?i=f:u.next=f,u=s;var g=e.alternate;g!==null&&(g=g.updateQueue,c=g.lastBaseUpdate,c!==u&&(c===null?g.firstBaseUpdate=f:c.next=f,g.lastBaseUpdate=s))}if(i!==null){var v=n.baseState;u=0,g=f=s=null,c=i;do{var d=c.lane&-536870913,p=d!==c.lane;if(p?(H&d)===d:(l&d)===d){d!==0&&d===$a&&(ku=!0),g!==null&&(g=g.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});e:{var S=e,x=c;d=t;var D=a;switch(x.tag){case 1:if(S=x.payload,typeof S=="function"){v=S.call(D,v,d);break e}v=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=x.payload,d=typeof S=="function"?S.call(D,v,d):S,d==null)break e;v=F({},v,d);break e;case 2:Nt=!0}}d=c.callback,d!==null&&(e.flags|=64,p&&(e.flags|=8192),p=n.callbacks,p===null?n.callbacks=[d]:p.push(d))}else p={lane:d,tag:c.tag,payload:c.payload,callback:c.callback,next:null},g===null?(f=g=p,s=v):g=g.next=p,u|=d;if(c=c.next,c===null){if(c=n.shared.pending,c===null)break;p=c,c=p.next,p.next=null,n.lastBaseUpdate=p,n.shared.pending=null}}while(!0);g===null&&(s=v),n.baseState=s,n.firstBaseUpdate=f,n.lastBaseUpdate=g,i===null&&(n.shared.lanes=0),Ft|=u,e.lanes=u,e.memoizedState=v}}function Sf(e,t){if(typeof e!="function")throw Error(b(191,e));e.call(t)}function Tf(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Sf(a[e],t)}var ka=it(null),ei=it(0);function lo(e,t){e=_t,K(ei,e),K(ka,t),_t=e|t.baseLanes}function Wu(){K(ei,_t),K(ka,ka.current)}function Jc(){_t=ei.current,ye(ka),ye(ei)}var Qe=it(null),ke=null;function qt(e){var t=e.alternate;K(le,le.current&1),K(Qe,e),ke===null&&(t===null||ka.current!==null||t.memoizedState!==null)&&(ke=e)}function Fu(e){K(le,le.current),K(Qe,e),ke===null&&(ke=e)}function xf(e){e.tag===22?(K(le,le.current),K(Qe,e),ke===null&&(ke=e)):Ut()}function Ut(){K(le,le.current),K(Qe,Qe.current)}function De(e){ye(Qe),ke===e&&(ke=null),ye(le)}var le=it(0);function ti(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||gc(a)||vc(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Tt=0,q=null,Z=null,ue=null,ai=!1,Xa=!1,pa=!1,li=0,Zl=0,Za=null,d1=0;function ee(){throw Error(b(321))}function $c(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!we(e[a],t[a]))return!1;return!0}function kc(e,t,a,l,n,i){return Tt=i,q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,G.H=e===null||e.memoizedState===null?Pf:us,pa=!1,i=a(l,n),pa=!1,Xa&&(i=_f(t,a,l,n)),Ef(e),i}function Ef(e){G.H=Vl;var t=Z!==null&&Z.next!==null;if(Tt=0,ue=Z=q=null,ai=!1,Zl=0,Za=null,t)throw Error(b(300));e===null||oe||(e=e.dependencies,e!==null&&In(e)&&(oe=!0))}function _f(e,t,a,l){q=e;var n=0;do{if(Xa&&(Za=null),Zl=0,Xa=!1,25<=n)throw Error(b(301));if(n+=1,ue=Z=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}G.H=ed,i=t(a,l)}while(Xa);return i}function m1(){var e=G.H,t=e.useState()[0];return t=typeof t.then=="function"?nn(t):t,e=e.useState()[0],(Z!==null?Z.memoizedState:null)!==e&&(q.flags|=1024),t}function Wc(){var e=li!==0;return li=0,e}function Fc(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Ic(e){if(ai){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ai=!1}Tt=0,ue=Z=q=null,Xa=!1,Zl=li=0,Za=null}function Te(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ue===null?q.memoizedState=ue=e:ue=ue.next=e,ue}function ne(){if(Z===null){var e=q.alternate;e=e!==null?e.memoizedState:null}else e=Z.next;var t=ue===null?q.memoizedState:ue.next;if(t!==null)ue=t,Z=e;else{if(e===null)throw q.alternate===null?Error(b(467)):Error(b(310));Z=e,e={memoizedState:Z.memoizedState,baseState:Z.baseState,baseQueue:Z.baseQueue,queue:Z.queue,next:null},ue===null?q.memoizedState=ue=e:ue=ue.next=e}return ue}function Oi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nn(e){var t=Zl;return Zl+=1,Za===null&&(Za=[]),e=vf(Za,e,t),t=q,(ue===null?t.memoizedState:ue.next)===null&&(t=t.alternate,G.H=t===null||t.memoizedState===null?Pf:us),e}function qi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return nn(e);if(e.$$typeof===pt)return be(e)}throw Error(b(438,String(e)))}function Pc(e){var t=null,a=q.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var l=q.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Oi(),q.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),l=0;l<e;l++)a[l]=Im;return t.index++,a}function xt(e,t){return typeof t=="function"?t(e):t}function Cn(e){var t=ne();return es(t,Z,e)}function es(e,t,a){var l=e.queue;if(l===null)throw Error(b(311));l.lastRenderedReducer=a;var n=e.baseQueue,i=l.pending;if(i!==null){if(n!==null){var u=n.next;n.next=i.next,i.next=u}t.baseQueue=n=i,l.pending=null}if(i=e.baseState,n===null)e.memoizedState=i;else{t=n.next;var c=u=null,s=null,f=t,g=!1;do{var v=f.lane&-536870913;if(v!==f.lane?(H&v)===v:(Tt&v)===v){var d=f.revertLane;if(d===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),v===$a&&(g=!0);else if((Tt&d)===d){f=f.next,d===$a&&(g=!0);continue}else v={lane:0,revertLane:f.revertLane,gesture:null,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null},s===null?(c=s=v,u=i):s=s.next=v,q.lanes|=d,Ft|=d;v=f.action,pa&&a(i,v),i=f.hasEagerState?f.eagerState:a(i,v)}else d={lane:v,revertLane:f.revertLane,gesture:f.gesture,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null},s===null?(c=s=d,u=i):s=s.next=d,q.lanes|=v,Ft|=v;f=f.next}while(f!==null&&f!==t);if(s===null?u=i:s.next=c,!we(i,e.memoizedState)&&(oe=!0,g&&(a=Qa,a!==null)))throw a;e.memoizedState=i,e.baseState=u,e.baseQueue=s,l.lastRenderedState=i}return n===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function nu(e){var t=ne(),a=t.queue;if(a===null)throw Error(b(311));a.lastRenderedReducer=e;var l=a.dispatch,n=a.pending,i=t.memoizedState;if(n!==null){a.pending=null;var u=n=n.next;do i=e(i,u.action),u=u.next;while(u!==n);we(i,t.memoizedState)||(oe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,l]}function zf(e,t,a){var l=q,n=ne(),i=B;if(i){if(a===void 0)throw Error(b(407));a=a()}else a=t();var u=!we((Z||n).memoizedState,a);if(u&&(n.memoizedState=a,oe=!0),n=n.queue,ts(Gf.bind(null,l,n,e),[e]),n.getSnapshot!==t||u||ue!==null&&ue.memoizedState.tag&1){if(l.flags|=2048,Wa(9,{destroy:void 0},Af.bind(null,l,n,a,t),null),V===null)throw Error(b(349));i||Tt&127||Mf(l,t,a)}return a}function Mf(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=q.updateQueue,t===null?(t=Oi(),q.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Af(e,t,a,l){t.value=a,t.getSnapshot=l,Nf(t)&&Of(e)}function Gf(e,t,a){return a(function(){Nf(t)&&Of(e)})}function Nf(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!we(e,a)}catch{return!0}}function Of(e){var t=ba(e,2);t!==null&&Ne(t,e,2)}function Iu(e){var t=Te();if(typeof e=="function"){var a=e;if(e=a(),pa){jt(!0);try{a()}finally{jt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xt,lastRenderedState:e},t}function qf(e,t,a,l){return e.baseState=a,es(e,Z,typeof l=="function"?l:xt)}function p1(e,t,a,l,n){if(Di(e))throw Error(b(485));if(e=t.action,e!==null){var i={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(u){i.listeners.push(u)}};G.T!==null?a(!0):i.isTransition=!1,l(i),a=t.pending,a===null?(i.next=t.pending=i,Uf(t,i)):(i.next=a.next,t.pending=a.next=i)}}function Uf(e,t){var a=t.action,l=t.payload,n=e.state;if(t.isTransition){var i=G.T,u={};G.T=u;try{var c=a(n,l),s=G.S;s!==null&&s(u,c),no(e,t,c)}catch(f){Pu(e,t,f)}finally{i!==null&&u.types!==null&&(i.types=u.types),G.T=i}}else try{i=a(n,l),no(e,t,i)}catch(f){Pu(e,t,f)}}function no(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(l){io(e,t,l)},function(l){return Pu(e,t,l)}):io(e,t,a)}function io(e,t,a){t.status="fulfilled",t.value=a,Df(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Uf(e,a)))}function Pu(e,t,a){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=a,Df(t),t=t.next;while(t!==l)}e.action=null}function Df(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function jf(e,t){return t}function uo(e,t){if(B){var a=V.formState;if(a!==null){e:{var l=q;if(B){if(k){t:{for(var n=k,i=$e;n.nodeType!==8;){if(!i){n=null;break t}if(n=We(n.nextSibling),n===null){n=null;break t}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){k=We(n.nextSibling),l=n.data==="F!";break e}}kt(l)}l=!1}l&&(t=a[0])}}return a=Te(),a.memoizedState=a.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:jf,lastRenderedState:t},a.queue=l,a=Wf.bind(null,q,l),l.dispatch=a,l=Iu(!1),i=is.bind(null,q,!1,l.queue),l=Te(),n={state:t,dispatch:null,action:e,pending:null},l.queue=n,a=p1.bind(null,q,n,i,a),n.dispatch=a,l.memoizedState=e,[t,a,!1]}function co(e){var t=ne();return Cf(t,Z,e)}function Cf(e,t,a){if(t=es(e,t,jf)[0],e=Cn(xt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=nn(t)}catch(u){throw u===ul?Ni:u}else l=t;t=ne();var n=t.queue,i=n.dispatch;return a!==t.memoizedState&&(q.flags|=2048,Wa(9,{destroy:void 0},y1.bind(null,n,a),null)),[l,i,e]}function y1(e,t){e.action=t}function so(e){var t=ne(),a=Z;if(a!==null)return Cf(t,a,e);ne(),t=t.memoizedState,a=ne();var l=a.queue.dispatch;return a.memoizedState=e,[t,l,!1]}function Wa(e,t,a,l){return e={tag:e,create:a,deps:l,inst:t,next:null},t=q.updateQueue,t===null&&(t=Oi(),q.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(l=a.next,a.next=e,e.next=l,t.lastEffect=e),e}function Rf(){return ne().memoizedState}function Rn(e,t,a,l){var n=Te();q.flags|=e,n.memoizedState=Wa(1|t,{destroy:void 0},a,l===void 0?null:l)}function Ui(e,t,a,l){var n=ne();l=l===void 0?null:l;var i=n.memoizedState.inst;Z!==null&&l!==null&&$c(l,Z.memoizedState.deps)?n.memoizedState=Wa(t,i,a,l):(q.flags|=e,n.memoizedState=Wa(1|t,i,a,l))}function oo(e,t){Rn(8390656,8,e,t)}function ts(e,t){Ui(2048,8,e,t)}function g1(e){q.flags|=4;var t=q.updateQueue;if(t===null)t=Oi(),q.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Hf(e){var t=ne().memoizedState;return g1({ref:t,nextImpl:e}),function(){if(Y&2)throw Error(b(440));return t.impl.apply(void 0,arguments)}}function Bf(e,t){return Ui(4,2,e,t)}function Yf(e,t){return Ui(4,4,e,t)}function wf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Qf(e,t,a){a=a!=null?a.concat([e]):null,Ui(4,4,wf.bind(null,t,e),a)}function as(){}function Lf(e,t){var a=ne();t=t===void 0?null:t;var l=a.memoizedState;return t!==null&&$c(t,l[1])?l[0]:(a.memoizedState=[e,t],e)}function Xf(e,t){var a=ne();t=t===void 0?null:t;var l=a.memoizedState;if(t!==null&&$c(t,l[1]))return l[0];if(l=e(),pa){jt(!0);try{e()}finally{jt(!1)}}return a.memoizedState=[l,t],l}function ls(e,t,a){return a===void 0||Tt&1073741824&&!(H&261930)?e.memoizedState=t:(e.memoizedState=a,e=qd(),q.lanes|=e,Ft|=e,a)}function Zf(e,t,a,l){return we(a,t)?a:ka.current!==null?(e=ls(e,a,l),we(e,t)||(oe=!0),e):!(Tt&42)||Tt&1073741824&&!(H&261930)?(oe=!0,e.memoizedState=a):(e=qd(),q.lanes|=e,Ft|=e,t)}function Vf(e,t,a,l,n){var i=w.p;w.p=i!==0&&8>i?i:8;var u=G.T,c={};G.T=c,is(e,!1,t,a);try{var s=n(),f=G.S;if(f!==null&&f(c,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var g=f1(s,l);ql(e,t,g,Ye(e))}else ql(e,t,l,Ye(e))}catch(v){ql(e,t,{then:function(){},status:"rejected",reason:v},Ye())}finally{w.p=i,u!==null&&c.types!==null&&(u.types=c.types),G.T=u}}function v1(){}function ec(e,t,a,l){if(e.tag!==5)throw Error(b(476));var n=Kf(e).queue;Vf(e,n,t,ua,a===null?v1:function(){return Jf(e),a(l)})}function Kf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ua,baseState:ua,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xt,lastRenderedState:ua},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:xt,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Jf(e){var t=Kf(e);t.next===null&&(t=e.alternate.memoizedState),ql(e,t.next.queue,{},Ye())}function ns(){return be($l)}function $f(){return ne().memoizedState}function kf(){return ne().memoizedState}function h1(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Ye();e=Qt(a);var l=Lt(t,e,a);l!==null&&(Ne(l,t,a),Gl(l,t,a)),t={cache:Xc()},e.payload=t;return}t=t.return}}function b1(e,t,a){var l=Ye();a={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Di(e)?Ff(t,a):(a=Yc(e,t,a,l),a!==null&&(Ne(a,e,l),If(a,t,l)))}function Wf(e,t,a){var l=Ye();ql(e,t,a,l)}function ql(e,t,a,l){var n={lane:l,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Di(e))Ff(t,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var u=t.lastRenderedState,c=i(u,a);if(n.hasEagerState=!0,n.eagerState=c,we(c,u))return Gi(e,t,n,0),V===null&&Ai(),!1}catch{}finally{}if(a=Yc(e,t,n,l),a!==null)return Ne(a,e,l),If(a,t,l),!0}return!1}function is(e,t,a,l){if(l={lane:2,revertLane:ps(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Di(e)){if(t)throw Error(b(479))}else t=Yc(e,a,l,2),t!==null&&Ne(t,e,2)}function Di(e){var t=e.alternate;return e===q||t!==null&&t===q}function Ff(e,t){Xa=ai=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function If(e,t,a){if(a&4194048){var l=t.lanes;l&=e.pendingLanes,a|=l,t.lanes=a,Rr(e,a)}}var Vl={readContext:be,use:qi,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useLayoutEffect:ee,useInsertionEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useSyncExternalStore:ee,useId:ee,useHostTransitionStatus:ee,useFormState:ee,useActionState:ee,useOptimistic:ee,useMemoCache:ee,useCacheRefresh:ee};Vl.useEffectEvent=ee;var Pf={readContext:be,use:qi,useCallback:function(e,t){return Te().memoizedState=[e,t===void 0?null:t],e},useContext:be,useEffect:oo,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Rn(4194308,4,wf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Rn(4194308,4,e,t)},useInsertionEffect:function(e,t){Rn(4,2,e,t)},useMemo:function(e,t){var a=Te();t=t===void 0?null:t;var l=e();if(pa){jt(!0);try{e()}finally{jt(!1)}}return a.memoizedState=[l,t],l},useReducer:function(e,t,a){var l=Te();if(a!==void 0){var n=a(t);if(pa){jt(!0);try{a(t)}finally{jt(!1)}}}else n=t;return l.memoizedState=l.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},l.queue=e,e=e.dispatch=b1.bind(null,q,e),[l.memoizedState,e]},useRef:function(e){var t=Te();return e={current:e},t.memoizedState=e},useState:function(e){e=Iu(e);var t=e.queue,a=Wf.bind(null,q,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:as,useDeferredValue:function(e,t){var a=Te();return ls(a,e,t)},useTransition:function(){var e=Iu(!1);return e=Vf.bind(null,q,e.queue,!0,!1),Te().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var l=q,n=Te();if(B){if(a===void 0)throw Error(b(407));a=a()}else{if(a=t(),V===null)throw Error(b(349));H&127||Mf(l,t,a)}n.memoizedState=a;var i={value:a,getSnapshot:t};return n.queue=i,oo(Gf.bind(null,l,i,e),[e]),l.flags|=2048,Wa(9,{destroy:void 0},Af.bind(null,l,i,a,t),null),a},useId:function(){var e=Te(),t=V.identifierPrefix;if(B){var a=at,l=tt;a=(l&~(1<<32-Be(l)-1)).toString(32)+a,t="_"+t+"R_"+a,a=li++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=d1++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:ns,useFormState:uo,useActionState:uo,useOptimistic:function(e){var t=Te();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=is.bind(null,q,!0,a),a.dispatch=t,[e,t]},useMemoCache:Pc,useCacheRefresh:function(){return Te().memoizedState=h1.bind(null,q)},useEffectEvent:function(e){var t=Te(),a={impl:e};return t.memoizedState=a,function(){if(Y&2)throw Error(b(440));return a.impl.apply(void 0,arguments)}}},us={readContext:be,use:qi,useCallback:Lf,useContext:be,useEffect:ts,useImperativeHandle:Qf,useInsertionEffect:Bf,useLayoutEffect:Yf,useMemo:Xf,useReducer:Cn,useRef:Rf,useState:function(){return Cn(xt)},useDebugValue:as,useDeferredValue:function(e,t){var a=ne();return Zf(a,Z.memoizedState,e,t)},useTransition:function(){var e=Cn(xt)[0],t=ne().memoizedState;return[typeof e=="boolean"?e:nn(e),t]},useSyncExternalStore:zf,useId:$f,useHostTransitionStatus:ns,useFormState:co,useActionState:co,useOptimistic:function(e,t){var a=ne();return qf(a,Z,e,t)},useMemoCache:Pc,useCacheRefresh:kf};us.useEffectEvent=Hf;var ed={readContext:be,use:qi,useCallback:Lf,useContext:be,useEffect:ts,useImperativeHandle:Qf,useInsertionEffect:Bf,useLayoutEffect:Yf,useMemo:Xf,useReducer:nu,useRef:Rf,useState:function(){return nu(xt)},useDebugValue:as,useDeferredValue:function(e,t){var a=ne();return Z===null?ls(a,e,t):Zf(a,Z.memoizedState,e,t)},useTransition:function(){var e=nu(xt)[0],t=ne().memoizedState;return[typeof e=="boolean"?e:nn(e),t]},useSyncExternalStore:zf,useId:$f,useHostTransitionStatus:ns,useFormState:so,useActionState:so,useOptimistic:function(e,t){var a=ne();return Z!==null?qf(a,Z,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:Pc,useCacheRefresh:kf};ed.useEffectEvent=Hf;function iu(e,t,a,l){t=e.memoizedState,a=a(l,t),a=a==null?t:F({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var tc={enqueueSetState:function(e,t,a){e=e._reactInternals;var l=Ye(),n=Qt(l);n.payload=t,a!=null&&(n.callback=a),t=Lt(e,n,l),t!==null&&(Ne(t,e,l),Gl(t,e,l))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var l=Ye(),n=Qt(l);n.tag=1,n.payload=t,a!=null&&(n.callback=a),t=Lt(e,n,l),t!==null&&(Ne(t,e,l),Gl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Ye(),l=Qt(a);l.tag=2,t!=null&&(l.callback=t),t=Lt(e,l,a),t!==null&&(Ne(t,e,a),Gl(t,e,a))}};function ro(e,t,a,l,n,i,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,i,u):t.prototype&&t.prototype.isPureReactComponent?!wl(a,l)||!wl(n,i):!0}function fo(e,t,a,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,l),t.state!==e&&tc.enqueueReplaceState(t,t.state,null)}function ya(e,t){var a=t;if("ref"in t){a={};for(var l in t)l!=="ref"&&(a[l]=t[l])}if(e=e.defaultProps){a===t&&(a=F({},a));for(var n in e)a[n]===void 0&&(a[n]=e[n])}return a}function td(e){kn(e)}function ad(e){console.error(e)}function ld(e){kn(e)}function ni(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function mo(e,t,a){try{var l=e.onCaughtError;l(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function ac(e,t,a){return a=Qt(a),a.tag=3,a.payload={element:null},a.callback=function(){ni(e,t)},a}function nd(e){return e=Qt(e),e.tag=3,e}function id(e,t,a,l){var n=a.type.getDerivedStateFromError;if(typeof n=="function"){var i=l.value;e.payload=function(){return n(i)},e.callback=function(){mo(t,a,l)}}var u=a.stateNode;u!==null&&typeof u.componentDidCatch=="function"&&(e.callback=function(){mo(t,a,l),typeof n!="function"&&(Xt===null?Xt=new Set([this]):Xt.add(this));var c=l.stack;this.componentDidCatch(l.value,{componentStack:c!==null?c:""})})}function S1(e,t,a,l,n){if(a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=a.alternate,t!==null&&il(t,a,n,!0),a=Qe.current,a!==null){switch(a.tag){case 31:case 13:return ke===null?oi():a.alternate===null&&te===0&&(te=3),a.flags&=-257,a.flags|=65536,a.lanes=n,l===Pn?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([l]):t.add(l),gu(e,l,n)),!1;case 22:return a.flags|=65536,l===Pn?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([l]):a.add(l)),gu(e,l,n)),!1}throw Error(b(435,a.tag))}return gu(e,l,n),oi(),!1}if(B)return t=Qe.current,t!==null?(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=n,l!==Xu&&(e=Error(b(422),{cause:l}),Ll(Je(e,a)))):(l!==Xu&&(t=Error(b(423),{cause:l}),Ll(Je(t,a))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,l=Je(l,a),n=ac(e.stateNode,l,n),lu(e,n),te!==4&&(te=2)),!1;var i=Error(b(520),{cause:l});if(i=Je(i,a),jl===null?jl=[i]:jl.push(i),te!==4&&(te=2),t===null)return!0;l=Je(l,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=n&-n,a.lanes|=e,e=ac(a.stateNode,l,e),lu(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Xt===null||!Xt.has(i))))return a.flags|=65536,n&=-n,a.lanes|=n,n=nd(n),id(n,e,a,l),lu(a,n),!1}a=a.return}while(a!==null);return!1}var cs=Error(b(461)),oe=!1;function ge(e,t,a,l){t.child=e===null?bf(t,null,a,l):ma(t,e.child,a,l)}function po(e,t,a,l,n){a=a.render;var i=t.ref;if("ref"in l){var u={};for(var c in l)c!=="ref"&&(u[c]=l[c])}else u=l;return da(t),l=kc(e,t,a,u,i,n),c=Wc(),e!==null&&!oe?(Fc(e,t,n),Et(e,t,n)):(B&&c&&Qc(t),t.flags|=1,ge(e,t,l,n),t.child)}function yo(e,t,a,l,n){if(e===null){var i=a.type;return typeof i=="function"&&!wc(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,ud(e,t,i,l,n)):(e=Dn(a.type,null,l,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!ss(e,n)){var u=i.memoizedProps;if(a=a.compare,a=a!==null?a:wl,a(u,l)&&e.ref===t.ref)return Et(e,t,n)}return t.flags|=1,e=vt(i,l),e.ref=t.ref,e.return=t,t.child=e}function ud(e,t,a,l,n){if(e!==null){var i=e.memoizedProps;if(wl(i,l)&&e.ref===t.ref)if(oe=!1,t.pendingProps=l=i,ss(e,n))e.flags&131072&&(oe=!0);else return t.lanes=e.lanes,Et(e,t,n)}return lc(e,t,a,l,n)}function cd(e,t,a,l){var n=l.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if(t.flags&128){if(i=i!==null?i.baseLanes|a:a,e!==null){for(l=t.child=e.child,n=0;l!==null;)n=n|l.lanes|l.childLanes,l=l.sibling;l=n&~i}else l=0,t.child=null;return go(e,t,i,a,l)}if(a&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&jn(t,i!==null?i.cachePool:null),i!==null?lo(t,i):Wu(),xf(t);else return l=t.lanes=536870912,go(e,t,i!==null?i.baseLanes|a:a,a,l)}else i!==null?(jn(t,i.cachePool),lo(t,i),Ut(),t.memoizedState=null):(e!==null&&jn(t,null),Wu(),Ut());return ge(e,t,n,a),t.child}function Tl(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function go(e,t,a,l,n){var i=Zc();return i=i===null?null:{parent:se._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&jn(t,null),Wu(),xf(t),e!==null&&il(e,t,l,!0),t.childLanes=n,null}function Hn(e,t){return t=ii({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function vo(e,t,a){return ma(t,e.child,null,a),e=Hn(t,t.pendingProps),e.flags|=2,De(t),t.memoizedState=null,e}function T1(e,t,a){var l=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(B){if(l.mode==="hidden")return e=Hn(t,l),t.lanes=536870912,Tl(null,e);if(Fu(t),(e=k)?(e=Pd(e,$e),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$t!==null?{id:tt,overflow:at}:null,retryLane:536870912,hydrationErrors:null},a=df(e),a.return=t,t.child=a,he=t,k=null)):e=null,e===null)throw kt(t);return t.lanes=536870912,null}return Hn(t,l)}var i=e.memoizedState;if(i!==null){var u=i.dehydrated;if(Fu(t),n)if(t.flags&256)t.flags&=-257,t=vo(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(b(558));else if(oe||il(e,t,a,!1),n=(a&e.childLanes)!==0,oe||n){if(l=V,l!==null&&(u=Hr(l,a),u!==0&&u!==i.retryLane))throw i.retryLane=u,ba(e,u),Ne(l,e,u),cs;oi(),t=vo(e,t,a)}else e=i.treeContext,k=We(u.nextSibling),he=t,B=!0,wt=null,$e=!1,e!==null&&pf(t,e),t=Hn(t,l),t.flags|=4096;return t}return e=vt(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Bn(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(b(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function lc(e,t,a,l,n){return da(t),a=kc(e,t,a,l,void 0,n),l=Wc(),e!==null&&!oe?(Fc(e,t,n),Et(e,t,n)):(B&&l&&Qc(t),t.flags|=1,ge(e,t,a,n),t.child)}function ho(e,t,a,l,n,i){return da(t),t.updateQueue=null,a=_f(t,l,a,n),Ef(e),l=Wc(),e!==null&&!oe?(Fc(e,t,i),Et(e,t,i)):(B&&l&&Qc(t),t.flags|=1,ge(e,t,a,i),t.child)}function bo(e,t,a,l,n){if(da(t),t.stateNode===null){var i=ja,u=a.contextType;typeof u=="object"&&u!==null&&(i=be(u)),i=new a(l,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=tc,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=l,i.state=t.memoizedState,i.refs={},Kc(t),u=a.contextType,i.context=typeof u=="object"&&u!==null?be(u):ja,i.state=t.memoizedState,u=a.getDerivedStateFromProps,typeof u=="function"&&(iu(t,a,u,l),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(u=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),u!==i.state&&tc.enqueueReplaceState(i,i.state,null),Ol(t,l,i,n),Nl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){i=t.stateNode;var c=t.memoizedProps,s=ya(a,c);i.props=s;var f=i.context,g=a.contextType;u=ja,typeof g=="object"&&g!==null&&(u=be(g));var v=a.getDerivedStateFromProps;g=typeof v=="function"||typeof i.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,g||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c||f!==u)&&fo(t,i,l,u),Nt=!1;var d=t.memoizedState;i.state=d,Ol(t,l,i,n),Nl(),f=t.memoizedState,c||d!==f||Nt?(typeof v=="function"&&(iu(t,a,v,l),f=t.memoizedState),(s=Nt||ro(t,a,s,l,d,f,u))?(g||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=f),i.props=l,i.state=f,i.context=u,l=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{i=t.stateNode,$u(e,t),u=t.memoizedProps,g=ya(a,u),i.props=g,v=t.pendingProps,d=i.context,f=a.contextType,s=ja,typeof f=="object"&&f!==null&&(s=be(f)),c=a.getDerivedStateFromProps,(f=typeof c=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==v||d!==s)&&fo(t,i,l,s),Nt=!1,d=t.memoizedState,i.state=d,Ol(t,l,i,n),Nl();var p=t.memoizedState;u!==v||d!==p||Nt||e!==null&&e.dependencies!==null&&In(e.dependencies)?(typeof c=="function"&&(iu(t,a,c,l),p=t.memoizedState),(g=Nt||ro(t,a,g,l,d,p,s)||e!==null&&e.dependencies!==null&&In(e.dependencies))?(f||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(l,p,s),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(l,p,s)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=p),i.props=l,i.state=p,i.context=s,l=g):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),l=!1)}return i=l,Bn(e,t),l=(t.flags&128)!==0,i||l?(i=t.stateNode,a=l&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&l?(t.child=ma(t,e.child,null,n),t.child=ma(t,null,a,n)):ge(e,t,a,n),t.memoizedState=i.state,e=t.child):e=Et(e,t,n),e}function So(e,t,a,l){return fa(),t.flags|=256,ge(e,t,a,l),t.child}var uu={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function cu(e){return{baseLanes:e,cachePool:gf()}}function su(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Ce),e}function sd(e,t,a){var l=t.pendingProps,n=!1,i=(t.flags&128)!==0,u;if((u=i)||(u=e!==null&&e.memoizedState===null?!1:(le.current&2)!==0),u&&(n=!0,t.flags&=-129),u=(t.flags&32)!==0,t.flags&=-33,e===null){if(B){if(n?qt(t):Ut(),(e=k)?(e=Pd(e,$e),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:$t!==null?{id:tt,overflow:at}:null,retryLane:536870912,hydrationErrors:null},a=df(e),a.return=t,t.child=a,he=t,k=null)):e=null,e===null)throw kt(t);return vc(e)?t.lanes=32:t.lanes=536870912,null}var c=l.children;return l=l.fallback,n?(Ut(),n=t.mode,c=ii({mode:"hidden",children:c},n),l=ca(l,n,a,null),c.return=t,l.return=t,c.sibling=l,t.child=c,l=t.child,l.memoizedState=cu(a),l.childLanes=su(e,u,a),t.memoizedState=uu,Tl(null,l)):(qt(t),nc(t,c))}var s=e.memoizedState;if(s!==null&&(c=s.dehydrated,c!==null)){if(i)t.flags&256?(qt(t),t.flags&=-257,t=ou(e,t,a)):t.memoizedState!==null?(Ut(),t.child=e.child,t.flags|=128,t=null):(Ut(),c=l.fallback,n=t.mode,l=ii({mode:"visible",children:l.children},n),c=ca(c,n,a,null),c.flags|=2,l.return=t,c.return=t,l.sibling=c,t.child=l,ma(t,e.child,null,a),l=t.child,l.memoizedState=cu(a),l.childLanes=su(e,u,a),t.memoizedState=uu,t=Tl(null,l));else if(qt(t),vc(c)){if(u=c.nextSibling&&c.nextSibling.dataset,u)var f=u.dgst;u=f,l=Error(b(419)),l.stack="",l.digest=u,Ll({value:l,source:null,stack:null}),t=ou(e,t,a)}else if(oe||il(e,t,a,!1),u=(a&e.childLanes)!==0,oe||u){if(u=V,u!==null&&(l=Hr(u,a),l!==0&&l!==s.retryLane))throw s.retryLane=l,ba(e,l),Ne(u,e,l),cs;gc(c)||oi(),t=ou(e,t,a)}else gc(c)?(t.flags|=192,t.child=e.child,t=null):(e=s.treeContext,k=We(c.nextSibling),he=t,B=!0,wt=null,$e=!1,e!==null&&pf(t,e),t=nc(t,l.children),t.flags|=4096);return t}return n?(Ut(),c=l.fallback,n=t.mode,s=e.child,f=s.sibling,l=vt(s,{mode:"hidden",children:l.children}),l.subtreeFlags=s.subtreeFlags&65011712,f!==null?c=vt(f,c):(c=ca(c,n,a,null),c.flags|=2),c.return=t,l.return=t,l.sibling=c,t.child=l,Tl(null,l),l=t.child,c=e.child.memoizedState,c===null?c=cu(a):(n=c.cachePool,n!==null?(s=se._currentValue,n=n.parent!==s?{parent:s,pool:s}:n):n=gf(),c={baseLanes:c.baseLanes|a,cachePool:n}),l.memoizedState=c,l.childLanes=su(e,u,a),t.memoizedState=uu,Tl(e.child,l)):(qt(t),a=e.child,e=a.sibling,a=vt(a,{mode:"visible",children:l.children}),a.return=t,a.sibling=null,e!==null&&(u=t.deletions,u===null?(t.deletions=[e],t.flags|=16):u.push(e)),t.child=a,t.memoizedState=null,a)}function nc(e,t){return t=ii({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function ii(e,t){return e=je(22,e,null,t),e.lanes=0,e}function ou(e,t,a){return ma(t,e.child,null,a),e=nc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function To(e,t,a){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Vu(e.return,t,a)}function ru(e,t,a,l,n,i){var u=e.memoizedState;u===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:a,tailMode:n,treeForkCount:i}:(u.isBackwards=t,u.rendering=null,u.renderingStartTime=0,u.last=l,u.tail=a,u.tailMode=n,u.treeForkCount=i)}function od(e,t,a){var l=t.pendingProps,n=l.revealOrder,i=l.tail;l=l.children;var u=le.current,c=(u&2)!==0;if(c?(u=u&1|2,t.flags|=128):u&=1,K(le,u),ge(e,t,l,a),l=B?Ql:0,!c&&e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&To(e,a,t);else if(e.tag===19)To(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(a=t.child,n=null;a!==null;)e=a.alternate,e!==null&&ti(e)===null&&(n=a),a=a.sibling;a=n,a===null?(n=t.child,t.child=null):(n=a.sibling,a.sibling=null),ru(t,!1,n,a,i,l);break;case"backwards":case"unstable_legacy-backwards":for(a=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&ti(e)===null){t.child=n;break}e=n.sibling,n.sibling=a,a=n,n=e}ru(t,!0,a,null,i,l);break;case"together":ru(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function Et(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),Ft|=t.lanes,!(a&t.childLanes))if(e!==null){if(il(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(b(153));if(t.child!==null){for(e=t.child,a=vt(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=vt(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function ss(e,t){return e.lanes&t?!0:(e=e.dependencies,!!(e!==null&&In(e)))}function x1(e,t,a){switch(t.tag){case 3:Vn(t,t.stateNode.containerInfo),Ot(t,se,e.memoizedState.cache),fa();break;case 27:case 5:Uu(t);break;case 4:Vn(t,t.stateNode.containerInfo);break;case 10:Ot(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Fu(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(qt(t),t.flags|=128,null):a&t.child.childLanes?sd(e,t,a):(qt(t),e=Et(e,t,a),e!==null?e.sibling:null);qt(t);break;case 19:var n=(e.flags&128)!==0;if(l=(a&t.childLanes)!==0,l||(il(e,t,a,!1),l=(a&t.childLanes)!==0),n){if(l)return od(e,t,a);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),K(le,le.current),l)break;return null;case 22:return t.lanes=0,cd(e,t,a,t.pendingProps);case 24:Ot(t,se,e.memoizedState.cache)}return Et(e,t,a)}function rd(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)oe=!0;else{if(!ss(e,a)&&!(t.flags&128))return oe=!1,x1(e,t,a);oe=!!(e.flags&131072)}else oe=!1,B&&t.flags&1048576&&mf(t,Ql,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=na(t.elementType),t.type=e,typeof e=="function")wc(e)?(l=ya(e,l),t.tag=1,t=bo(null,t,e,l,a)):(t.tag=0,t=lc(null,t,e,l,a));else{if(e!=null){var n=e.$$typeof;if(n===Mc){t.tag=11,t=po(null,t,e,l,a);break e}else if(n===Ac){t.tag=14,t=yo(null,t,e,l,a);break e}}throw t=Ou(e)||e,Error(b(306,t,""))}}return t;case 0:return lc(e,t,t.type,t.pendingProps,a);case 1:return l=t.type,n=ya(l,t.pendingProps),bo(e,t,l,n,a);case 3:e:{if(Vn(t,t.stateNode.containerInfo),e===null)throw Error(b(387));l=t.pendingProps;var i=t.memoizedState;n=i.element,$u(e,t),Ol(t,l,null,a);var u=t.memoizedState;if(l=u.cache,Ot(t,se,l),l!==i.cache&&Ku(t,[se],a,!0),Nl(),l=u.element,i.isDehydrated)if(i={element:l,isDehydrated:!1,cache:u.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=So(e,t,l,a);break e}else if(l!==n){n=Je(Error(b(424)),t),Ll(n),t=So(e,t,l,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(k=We(e.firstChild),he=t,B=!0,wt=null,$e=!0,a=bf(t,null,l,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(fa(),l===n){t=Et(e,t,a);break e}ge(e,t,l,a)}t=t.child}return t;case 26:return Bn(e,t),e===null?(a=Qo(t.type,null,t.pendingProps,null))?t.memoizedState=a:B||(a=t.type,e=t.pendingProps,l=mi(Yt.current).createElement(a),l[ve]=t,l[Oe]=e,Se(l,a,e),pe(l),t.stateNode=l):t.memoizedState=Qo(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Uu(t),e===null&&B&&(l=t.stateNode=em(t.type,t.pendingProps,Yt.current),he=t,$e=!0,n=k,Pt(t.type)?(hc=n,k=We(l.firstChild)):k=n),ge(e,t,t.pendingProps.children,a),Bn(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&B&&((n=l=k)&&(l=I1(l,t.type,t.pendingProps,$e),l!==null?(t.stateNode=l,he=t,k=We(l.firstChild),$e=!1,n=!0):n=!1),n||kt(t)),Uu(t),n=t.type,i=t.pendingProps,u=e!==null?e.memoizedProps:null,l=i.children,pc(n,i)?l=null:u!==null&&pc(n,u)&&(t.flags|=32),t.memoizedState!==null&&(n=kc(e,t,m1,null,null,a),$l._currentValue=n),Bn(e,t),ge(e,t,l,a),t.child;case 6:return e===null&&B&&((e=a=k)&&(a=P1(a,t.pendingProps,$e),a!==null?(t.stateNode=a,he=t,k=null,e=!0):e=!1),e||kt(t)),null;case 13:return sd(e,t,a);case 4:return Vn(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=ma(t,null,l,a):ge(e,t,l,a),t.child;case 11:return po(e,t,t.type,t.pendingProps,a);case 7:return ge(e,t,t.pendingProps,a),t.child;case 8:return ge(e,t,t.pendingProps.children,a),t.child;case 12:return ge(e,t,t.pendingProps.children,a),t.child;case 10:return l=t.pendingProps,Ot(t,t.type,l.value),ge(e,t,l.children,a),t.child;case 9:return n=t.type._context,l=t.pendingProps.children,da(t),n=be(n),l=l(n),t.flags|=1,ge(e,t,l,a),t.child;case 14:return yo(e,t,t.type,t.pendingProps,a);case 15:return ud(e,t,t.type,t.pendingProps,a);case 19:return od(e,t,a);case 31:return T1(e,t,a);case 22:return cd(e,t,a,t.pendingProps);case 24:return da(t),l=be(se),e===null?(n=Zc(),n===null&&(n=V,i=Xc(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=a),n=i),t.memoizedState={parent:l,cache:n},Kc(t),Ot(t,se,n)):(e.lanes&a&&($u(e,t),Ol(t,null,null,a),Nl()),n=e.memoizedState,i=t.memoizedState,n.parent!==l?(n={parent:l,cache:l},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),Ot(t,se,l)):(l=i.cache,Ot(t,se,l),l!==n.cache&&Ku(t,[se],a,!0))),ge(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(b(156,t.tag))}function st(e){e.flags|=4}function fu(e,t,a,l,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(jd())e.flags|=8192;else throw oa=Pn,Vc}else e.flags&=-16777217}function xo(e,t){if(t.type!=="stylesheet"||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!lm(t))if(jd())e.flags|=8192;else throw oa=Pn,Vc}function En(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?jr():536870912,e.lanes|=t,Fa|=t)}function yl(e,t){if(!B)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var l=null;a!==null;)a.alternate!==null&&(l=a),a=a.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function $(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,l=0;if(t)for(var n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags&65011712,l|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)a|=n.lanes|n.childLanes,l|=n.subtreeFlags,l|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=l,e.childLanes=a,t}function E1(e,t,a){var l=t.pendingProps;switch(Lc(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $(t),null;case 1:return $(t),null;case 3:return a=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),ht(se),Va(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ta(t)?st(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,au())),$(t),null;case 26:var n=t.type,i=t.memoizedState;return e===null?(st(t),i!==null?($(t),xo(t,i)):($(t),fu(t,n,null,l,a))):i?i!==e.memoizedState?(st(t),$(t),xo(t,i)):($(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&st(t),$(t),fu(t,n,e,l,a)),null;case 27:if(Kn(t),a=Yt.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&st(t);else{if(!l){if(t.stateNode===null)throw Error(b(166));return $(t),null}e=nt.current,Ta(t)?Ws(t):(e=em(n,l,a),t.stateNode=e,st(t))}return $(t),null;case 5:if(Kn(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&st(t);else{if(!l){if(t.stateNode===null)throw Error(b(166));return $(t),null}if(i=nt.current,Ta(t))Ws(t);else{var u=mi(Yt.current);switch(i){case 1:i=u.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=u.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=u.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=u.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof l.is=="string"?u.createElement("select",{is:l.is}):u.createElement("select"),l.multiple?i.multiple=!0:l.size&&(i.size=l.size);break;default:i=typeof l.is=="string"?u.createElement(n,{is:l.is}):u.createElement(n)}}i[ve]=t,i[Oe]=l;e:for(u=t.child;u!==null;){if(u.tag===5||u.tag===6)i.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===t)break e;for(;u.sibling===null;){if(u.return===null||u.return===t)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}t.stateNode=i;e:switch(Se(i,n,l),n){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&st(t)}}return $(t),fu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&st(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(b(166));if(e=Yt.current,Ta(t)){if(e=t.stateNode,a=t.memoizedProps,l=null,n=he,n!==null)switch(n.tag){case 27:case 5:l=n.memoizedProps}e[ve]=t,e=!!(e.nodeValue===a||l!==null&&l.suppressHydrationWarning===!0||Wd(e.nodeValue,a)),e||kt(t,!0)}else e=mi(e).createTextNode(l),e[ve]=t,t.stateNode=e}return $(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(l=Ta(t),a!==null){if(e===null){if(!l)throw Error(b(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(557));e[ve]=t}else fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;$(t),e=!1}else a=au(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(De(t),t):(De(t),null);if(t.flags&128)throw Error(b(558))}return $(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=Ta(t),l!==null&&l.dehydrated!==null){if(e===null){if(!n)throw Error(b(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(b(317));n[ve]=t}else fa(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;$(t),n=!1}else n=au(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(De(t),t):(De(t),null)}return De(t),t.flags&128?(t.lanes=a,t):(a=l!==null,e=e!==null&&e.memoizedState!==null,a&&(l=t.child,n=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(n=l.alternate.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==n&&(l.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),En(t,t.updateQueue),$(t),null);case 4:return Va(),e===null&&ys(t.stateNode.containerInfo),$(t),null;case 10:return ht(t.type),$(t),null;case 19:if(ye(le),l=t.memoizedState,l===null)return $(t),null;if(n=(t.flags&128)!==0,i=l.rendering,i===null)if(n)yl(l,!1);else{if(te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=ti(e),i!==null){for(t.flags|=128,yl(l,!1),e=i.updateQueue,t.updateQueue=e,En(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)ff(a,e),a=a.sibling;return K(le,le.current&1|2),B&&dt(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&Re()>ci&&(t.flags|=128,n=!0,yl(l,!1),t.lanes=4194304)}else{if(!n)if(e=ti(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,En(t,e),yl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!B)return $(t),null}else 2*Re()-l.renderingStartTime>ci&&a!==536870912&&(t.flags|=128,n=!0,yl(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Re(),e.sibling=null,a=le.current,K(le,n?a&1|2:a&1),B&&dt(t,l.treeForkCount),e):($(t),null);case 22:case 23:return De(t),Jc(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?a&536870912&&!(t.flags&128)&&($(t),t.subtreeFlags&6&&(t.flags|=8192)):$(t),a=t.updateQueue,a!==null&&En(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==a&&(t.flags|=2048),e!==null&&ye(sa),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ht(se),$(t),null;case 25:return null;case 30:return null}throw Error(b(156,t.tag))}function _1(e,t){switch(Lc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ht(se),Va(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Kn(t),null;case 31:if(t.memoizedState!==null){if(De(t),t.alternate===null)throw Error(b(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(De(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(b(340));fa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ye(le),null;case 4:return Va(),null;case 10:return ht(t.type),null;case 22:case 23:return De(t),Jc(),e!==null&&ye(sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ht(se),null;case 25:return null;default:return null}}function fd(e,t){switch(Lc(t),t.tag){case 3:ht(se),Va();break;case 26:case 27:case 5:Kn(t);break;case 4:Va();break;case 31:t.memoizedState!==null&&De(t);break;case 13:De(t);break;case 19:ye(le);break;case 10:ht(t.type);break;case 22:case 23:De(t),Jc(),e!==null&&ye(sa);break;case 24:ht(se)}}function un(e,t){try{var a=t.updateQueue,l=a!==null?a.lastEffect:null;if(l!==null){var n=l.next;a=n;do{if((a.tag&e)===e){l=void 0;var i=a.create,u=a.inst;l=i(),u.destroy=l}a=a.next}while(a!==n)}}catch(c){L(t,t.return,c)}}function Wt(e,t,a){try{var l=t.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var i=n.next;l=i;do{if((l.tag&e)===e){var u=l.inst,c=u.destroy;if(c!==void 0){u.destroy=void 0,n=t;var s=a,f=c;try{f()}catch(g){L(n,s,g)}}}l=l.next}while(l!==i)}}catch(g){L(t,t.return,g)}}function dd(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{Tf(t,a)}catch(l){L(e,e.return,l)}}}function md(e,t,a){a.props=ya(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(l){L(e,t,l)}}function Ul(e,t){try{var a=e.ref;if(a!==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 a=="function"?e.refCleanup=a(l):a.current=l}}catch(n){L(e,t,n)}}function lt(e,t){var a=e.ref,l=e.refCleanup;if(a!==null)if(typeof l=="function")try{l()}catch(n){L(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(n){L(e,t,n)}else a.current=null}function pd(e){var t=e.type,a=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&l.focus();break e;case"img":a.src?l.src=a.src:a.srcSet&&(l.srcset=a.srcSet)}}catch(n){L(e,e.return,n)}}function du(e,t,a){try{var l=e.stateNode;K1(l,e.type,a,t),l[Oe]=t}catch(n){L(e,e.return,n)}}function yd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pt(e.type)||e.tag===4}function mu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yd(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&&Pt(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 ic(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=yt));else if(l!==4&&(l===27&&Pt(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(ic(e,t,a),e=e.sibling;e!==null;)ic(e,t,a),e=e.sibling}function ui(e,t,a){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(l!==4&&(l===27&&Pt(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(ui(e,t,a),e=e.sibling;e!==null;)ui(e,t,a),e=e.sibling}function gd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var l=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Se(t,l,a),t[ve]=e,t[Oe]=a}catch(i){L(e,e.return,i)}}var mt=!1,ce=!1,pu=!1,Eo=typeof WeakSet=="function"?WeakSet:Set,me=null;function z1(e,t){if(e=e.containerInfo,dc=vi,e=af(e),Hc(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var l=a.getSelection&&a.getSelection();if(l&&l.rangeCount!==0){a=l.anchorNode;var n=l.anchorOffset,i=l.focusNode;l=l.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var u=0,c=-1,s=-1,f=0,g=0,v=e,d=null;t:for(;;){for(var p;v!==a||n!==0&&v.nodeType!==3||(c=u+n),v!==i||l!==0&&v.nodeType!==3||(s=u+l),v.nodeType===3&&(u+=v.nodeValue.length),(p=v.firstChild)!==null;)d=v,v=p;for(;;){if(v===e)break t;if(d===a&&++f===n&&(c=u),d===i&&++g===l&&(s=u),(p=v.nextSibling)!==null)break;v=d,d=v.parentNode}v=p}a=c===-1||s===-1?null:{start:c,end:s}}else a=null}a=a||{start:0,end:0}}else a=null;for(mc={focusedElem:e,selectionRange:a},vi=!1,me=t;me!==null;)if(t=me,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,me=e;else for(;me!==null;){switch(t=me,i=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)n=e[a],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&i!==null){e=void 0,a=t,n=i.memoizedProps,i=i.memoizedState,l=a.stateNode;try{var S=ya(a.type,n);e=l.getSnapshotBeforeUpdate(S,i),l.__reactInternalSnapshotBeforeUpdate=e}catch(x){L(a,a.return,x)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)yc(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":yc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(b(163))}if(e=t.sibling,e!==null){e.return=t.return,me=e;break}me=t.return}}function vd(e,t,a){var l=a.flags;switch(a.tag){case 0:case 11:case 15:rt(e,a),l&4&&un(5,a);break;case 1:if(rt(e,a),l&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(u){L(a,a.return,u)}else{var n=ya(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(u){L(a,a.return,u)}}l&64&&dd(a),l&512&&Ul(a,a.return);break;case 3:if(rt(e,a),l&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{Tf(e,t)}catch(u){L(a,a.return,u)}}break;case 27:t===null&&l&4&&gd(a);case 26:case 5:rt(e,a),t===null&&l&4&&pd(a),l&512&&Ul(a,a.return);break;case 12:rt(e,a);break;case 31:rt(e,a),l&4&&Sd(e,a);break;case 13:rt(e,a),l&4&&Td(e,a),l&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=j1.bind(null,a),ep(e,a))));break;case 22:if(l=a.memoizedState!==null||mt,!l){t=t!==null&&t.memoizedState!==null||ce,n=mt;var i=ce;mt=l,(ce=t)&&!i?ft(e,a,(a.subtreeFlags&8772)!==0):rt(e,a),mt=n,ce=i}break;case 30:break;default:rt(e,a)}}function hd(e){var t=e.alternate;t!==null&&(e.alternate=null,hd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&qc(t)),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 I=null,Ae=!1;function ot(e,t,a){for(a=a.child;a!==null;)bd(e,t,a),a=a.sibling}function bd(e,t,a){if(He&&typeof He.onCommitFiberUnmount=="function")try{He.onCommitFiberUnmount(Il,a)}catch{}switch(a.tag){case 26:ce||lt(a,t),ot(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:ce||lt(a,t);var l=I,n=Ae;Pt(a.type)&&(I=a.stateNode,Ae=!1),ot(e,t,a),Rl(a.stateNode),I=l,Ae=n;break;case 5:ce||lt(a,t);case 6:if(l=I,n=Ae,I=null,ot(e,t,a),I=l,Ae=n,I!==null)if(Ae)try{(I.nodeType===9?I.body:I.nodeName==="HTML"?I.ownerDocument.body:I).removeChild(a.stateNode)}catch(i){L(a,t,i)}else try{I.removeChild(a.stateNode)}catch(i){L(a,t,i)}break;case 18:I!==null&&(Ae?(e=I,Ro(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),tl(e)):Ro(I,a.stateNode));break;case 4:l=I,n=Ae,I=a.stateNode.containerInfo,Ae=!0,ot(e,t,a),I=l,Ae=n;break;case 0:case 11:case 14:case 15:Wt(2,a,t),ce||Wt(4,a,t),ot(e,t,a);break;case 1:ce||(lt(a,t),l=a.stateNode,typeof l.componentWillUnmount=="function"&&md(a,t,l)),ot(e,t,a);break;case 21:ot(e,t,a);break;case 22:ce=(l=ce)||a.memoizedState!==null,ot(e,t,a),ce=l;break;default:ot(e,t,a)}}function Sd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{tl(e)}catch(a){L(t,t.return,a)}}}function Td(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{tl(e)}catch(a){L(t,t.return,a)}}function M1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Eo),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Eo),t;default:throw Error(b(435,e.tag))}}function _n(e,t){var a=M1(e);t.forEach(function(l){if(!a.has(l)){a.add(l);var n=C1.bind(null,e,l);l.then(n,n)}})}function ze(e,t){var a=t.deletions;if(a!==null)for(var l=0;l<a.length;l++){var n=a[l],i=e,u=t,c=u;e:for(;c!==null;){switch(c.tag){case 27:if(Pt(c.type)){I=c.stateNode,Ae=!1;break e}break;case 5:I=c.stateNode,Ae=!1;break e;case 3:case 4:I=c.stateNode.containerInfo,Ae=!0;break e}c=c.return}if(I===null)throw Error(b(160));bd(i,u,n),I=null,Ae=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)xd(t,e),t=t.sibling}var Pe=null;function xd(e,t){var a=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ze(t,e),Me(e),l&4&&(Wt(3,e,e.return),un(3,e),Wt(5,e,e.return));break;case 1:ze(t,e),Me(e),l&512&&(ce||a===null||lt(a,a.return)),l&64&&mt&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?l:a.concat(l))));break;case 26:var n=Pe;if(ze(t,e),Me(e),l&512&&(ce||a===null||lt(a,a.return)),l&4){var i=a!==null?a.memoizedState:null;if(l=e.memoizedState,a===null)if(l===null)if(e.stateNode===null){e:{l=e.type,a=e.memoizedProps,n=n.ownerDocument||n;t:switch(l){case"title":i=n.getElementsByTagName("title")[0],(!i||i[tn]||i[ve]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(l),n.head.insertBefore(i,n.querySelector("head > title"))),Se(i,l,a),i[ve]=e,pe(i),l=i;break e;case"link":var u=Xo("link","href",n).get(l+(a.href||""));if(u){for(var c=0;c<u.length;c++)if(i=u[c],i.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&i.getAttribute("rel")===(a.rel==null?null:a.rel)&&i.getAttribute("title")===(a.title==null?null:a.title)&&i.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){u.splice(c,1);break t}}i=n.createElement(l),Se(i,l,a),n.head.appendChild(i);break;case"meta":if(u=Xo("meta","content",n).get(l+(a.content||""))){for(c=0;c<u.length;c++)if(i=u[c],i.getAttribute("content")===(a.content==null?null:""+a.content)&&i.getAttribute("name")===(a.name==null?null:a.name)&&i.getAttribute("property")===(a.property==null?null:a.property)&&i.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&i.getAttribute("charset")===(a.charSet==null?null:a.charSet)){u.splice(c,1);break t}}i=n.createElement(l),Se(i,l,a),n.head.appendChild(i);break;default:throw Error(b(468,l))}i[ve]=e,pe(i),l=i}e.stateNode=l}else Zo(n,e.type,e.stateNode);else e.stateNode=Lo(n,l,e.memoizedProps);else i!==l?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,l===null?Zo(n,e.type,e.stateNode):Lo(n,l,e.memoizedProps)):l===null&&e.stateNode!==null&&du(e,e.memoizedProps,a.memoizedProps)}break;case 27:ze(t,e),Me(e),l&512&&(ce||a===null||lt(a,a.return)),a!==null&&l&4&&du(e,e.memoizedProps,a.memoizedProps);break;case 5:if(ze(t,e),Me(e),l&512&&(ce||a===null||lt(a,a.return)),e.flags&32){n=e.stateNode;try{Ja(n,"")}catch(S){L(e,e.return,S)}}l&4&&e.stateNode!=null&&(n=e.memoizedProps,du(e,n,a!==null?a.memoizedProps:n)),l&1024&&(pu=!0);break;case 6:if(ze(t,e),Me(e),l&4){if(e.stateNode===null)throw Error(b(162));l=e.memoizedProps,a=e.stateNode;try{a.nodeValue=l}catch(S){L(e,e.return,S)}}break;case 3:if(Qn=null,n=Pe,Pe=pi(t.containerInfo),ze(t,e),Pe=n,Me(e),l&4&&a!==null&&a.memoizedState.isDehydrated)try{tl(t.containerInfo)}catch(S){L(e,e.return,S)}pu&&(pu=!1,Ed(e));break;case 4:l=Pe,Pe=pi(e.stateNode.containerInfo),ze(t,e),Me(e),Pe=l;break;case 12:ze(t,e),Me(e);break;case 31:ze(t,e),Me(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,_n(e,l)));break;case 13:ze(t,e),Me(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(ji=Re()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,_n(e,l)));break;case 22:n=e.memoizedState!==null;var s=a!==null&&a.memoizedState!==null,f=mt,g=ce;if(mt=f||n,ce=g||s,ze(t,e),ce=g,mt=f,Me(e),l&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(a===null||s||mt||ce||ia(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){s=a=t;try{if(i=s.stateNode,n)u=i.style,typeof u.setProperty=="function"?u.setProperty("display","none","important"):u.display="none";else{c=s.stateNode;var v=s.memoizedProps.style,d=v!=null&&v.hasOwnProperty("display")?v.display:null;c.style.display=d==null||typeof d=="boolean"?"":(""+d).trim()}}catch(S){L(s,s.return,S)}}}else if(t.tag===6){if(a===null){s=t;try{s.stateNode.nodeValue=n?"":s.memoizedProps}catch(S){L(s,s.return,S)}}}else if(t.tag===18){if(a===null){s=t;try{var p=s.stateNode;n?Ho(p,!0):Ho(s.stateNode,!1)}catch(S){L(s,s.return,S)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(a=l.retryQueue,a!==null&&(l.retryQueue=null,_n(e,a))));break;case 19:ze(t,e),Me(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,_n(e,l)));break;case 30:break;case 21:break;default:ze(t,e),Me(e)}}function Me(e){var t=e.flags;if(t&2){try{for(var a,l=e.return;l!==null;){if(yd(l)){a=l;break}l=l.return}if(a==null)throw Error(b(160));switch(a.tag){case 27:var n=a.stateNode,i=mu(e);ui(e,i,n);break;case 5:var u=a.stateNode;a.flags&32&&(Ja(u,""),a.flags&=-33);var c=mu(e);ui(e,c,u);break;case 3:case 4:var s=a.stateNode.containerInfo,f=mu(e);ic(e,f,s);break;default:throw Error(b(161))}}catch(g){L(e,e.return,g)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ed(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ed(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function rt(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)vd(e,t.alternate,t),t=t.sibling}function ia(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Wt(4,t,t.return),ia(t);break;case 1:lt(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&md(t,t.return,a),ia(t);break;case 27:Rl(t.stateNode);case 26:case 5:lt(t,t.return),ia(t);break;case 22:t.memoizedState===null&&ia(t);break;case 30:ia(t);break;default:ia(t)}e=e.sibling}}function ft(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,n=e,i=t,u=i.flags;switch(i.tag){case 0:case 11:case 15:ft(n,i,a),un(4,i);break;case 1:if(ft(n,i,a),l=i,n=l.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(f){L(l,l.return,f)}if(l=i,n=l.updateQueue,n!==null){var c=l.stateNode;try{var s=n.shared.hiddenCallbacks;if(s!==null)for(n.shared.hiddenCallbacks=null,n=0;n<s.length;n++)Sf(s[n],c)}catch(f){L(l,l.return,f)}}a&&u&64&&dd(i),Ul(i,i.return);break;case 27:gd(i);case 26:case 5:ft(n,i,a),a&&l===null&&u&4&&pd(i),Ul(i,i.return);break;case 12:ft(n,i,a);break;case 31:ft(n,i,a),a&&u&4&&Sd(n,i);break;case 13:ft(n,i,a),a&&u&4&&Td(n,i);break;case 22:i.memoizedState===null&&ft(n,i,a),Ul(i,i.return);break;case 30:break;default:ft(n,i,a)}t=t.sibling}}function os(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&ln(a))}function rs(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ln(e))}function Ie(e,t,a,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)_d(e,t,a,l),t=t.sibling}function _d(e,t,a,l){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Ie(e,t,a,l),n&2048&&un(9,t);break;case 1:Ie(e,t,a,l);break;case 3:Ie(e,t,a,l),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&ln(e)));break;case 12:if(n&2048){Ie(e,t,a,l),e=t.stateNode;try{var i=t.memoizedProps,u=i.id,c=i.onPostCommit;typeof c=="function"&&c(u,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(s){L(t,t.return,s)}}else Ie(e,t,a,l);break;case 31:Ie(e,t,a,l);break;case 13:Ie(e,t,a,l);break;case 23:break;case 22:i=t.stateNode,u=t.alternate,t.memoizedState!==null?i._visibility&2?Ie(e,t,a,l):Dl(e,t):i._visibility&2?Ie(e,t,a,l):(i._visibility|=2,_a(e,t,a,l,(t.subtreeFlags&10256)!==0||!1)),n&2048&&os(u,t);break;case 24:Ie(e,t,a,l),n&2048&&rs(t.alternate,t);break;default:Ie(e,t,a,l)}}function _a(e,t,a,l,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,u=t,c=a,s=l,f=u.flags;switch(u.tag){case 0:case 11:case 15:_a(i,u,c,s,n),un(8,u);break;case 23:break;case 22:var g=u.stateNode;u.memoizedState!==null?g._visibility&2?_a(i,u,c,s,n):Dl(i,u):(g._visibility|=2,_a(i,u,c,s,n)),n&&f&2048&&os(u.alternate,u);break;case 24:_a(i,u,c,s,n),n&&f&2048&&rs(u.alternate,u);break;default:_a(i,u,c,s,n)}t=t.sibling}}function Dl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,l=t,n=l.flags;switch(l.tag){case 22:Dl(a,l),n&2048&&os(l.alternate,l);break;case 24:Dl(a,l),n&2048&&rs(l.alternate,l);break;default:Dl(a,l)}t=t.sibling}}var xl=8192;function xa(e,t,a){if(e.subtreeFlags&xl)for(e=e.child;e!==null;)zd(e,t,a),e=e.sibling}function zd(e,t,a){switch(e.tag){case 26:xa(e,t,a),e.flags&xl&&e.memoizedState!==null&&dp(a,Pe,e.memoizedState,e.memoizedProps);break;case 5:xa(e,t,a);break;case 3:case 4:var l=Pe;Pe=pi(e.stateNode.containerInfo),xa(e,t,a),Pe=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=xl,xl=16777216,xa(e,t,a),xl=l):xa(e,t,a));break;default:xa(e,t,a)}}function Md(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function gl(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];me=l,Gd(l,e)}Md(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ad(e),e=e.sibling}function Ad(e){switch(e.tag){case 0:case 11:case 15:gl(e),e.flags&2048&&Wt(9,e,e.return);break;case 3:gl(e);break;case 12:gl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Yn(e)):gl(e);break;default:gl(e)}}function Yn(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var a=0;a<t.length;a++){var l=t[a];me=l,Gd(l,e)}Md(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Wt(8,t,t.return),Yn(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Yn(t));break;default:Yn(t)}e=e.sibling}}function Gd(e,t){for(;me!==null;){var a=me;switch(a.tag){case 0:case 11:case 15:Wt(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var l=a.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:ln(a.memoizedState.cache)}if(l=a.child,l!==null)l.return=a,me=l;else e:for(a=e;me!==null;){l=me;var n=l.sibling,i=l.return;if(hd(l),l===a){me=null;break e}if(n!==null){n.return=i,me=n;break e}me=i}}}var A1={getCacheForType:function(e){var t=be(se),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return be(se).controller.signal}},G1=typeof WeakMap=="function"?WeakMap:Map,Y=0,V=null,R=null,H=0,Q=0,Ue=null,Rt=!1,cl=!1,fs=!1,_t=0,te=0,Ft=0,ra=0,ds=0,Ce=0,Fa=0,jl=null,Ge=null,uc=!1,ji=0,Nd=0,ci=1/0,si=null,Xt=null,re=0,Zt=null,Ia=null,bt=0,cc=0,sc=null,Od=null,Cl=0,oc=null;function Ye(){return Y&2&&H!==0?H&-H:G.T!==null?ps():Br()}function qd(){if(Ce===0)if(!(H&536870912)||B){var e=gn;gn<<=1,!(gn&3932160)&&(gn=262144),Ce=e}else Ce=536870912;return e=Qe.current,e!==null&&(e.flags|=32),Ce}function Ne(e,t,a){(e===V&&(Q===2||Q===9)||e.cancelPendingCommit!==null)&&(Pa(e,0),Ht(e,H,Ce,!1)),en(e,a),(!(Y&2)||e!==V)&&(e===V&&(!(Y&2)&&(ra|=a),te===4&&Ht(e,H,Ce,!1)),ut(e))}function Ud(e,t,a){if(Y&6)throw Error(b(327));var l=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Pl(e,t),n=l?q1(e,t):yu(e,t,!0),i=l;do{if(n===0){cl&&!l&&Ht(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!N1(a)){n=yu(e,t,!1),i=!1;continue}if(n===2){if(i=t,e.errorRecoveryDisabledLanes&i)var u=0;else u=e.pendingLanes&-536870913,u=u!==0?u:u&536870912?536870912:0;if(u!==0){t=u;e:{var c=e;n=jl;var s=c.current.memoizedState.isDehydrated;if(s&&(Pa(c,u).flags|=256),u=yu(c,u,!1),u!==2){if(fs&&!s){c.errorRecoveryDisabledLanes|=i,ra|=i,n=4;break e}i=Ge,Ge=n,i!==null&&(Ge===null?Ge=i:Ge.push.apply(Ge,i))}n=u}if(i=!1,n!==2)continue}}if(n===1){Pa(e,0),Ht(e,t,0,!0);break}e:{switch(l=e,i=n,i){case 0:case 1:throw Error(b(345));case 4:if((t&4194048)!==t)break;case 6:Ht(l,t,Ce,!Rt);break e;case 2:Ge=null;break;case 3:case 5:break;default:throw Error(b(329))}if((t&62914560)===t&&(n=ji+300-Re(),10<n)){if(Ht(l,t,Ce,!Rt),Ei(l,0,!0)!==0)break e;bt=t,l.timeoutHandle=Id(_o.bind(null,l,a,Ge,si,uc,t,Ce,ra,Fa,Rt,i,"Throttled",-0,0),n);break e}_o(l,a,Ge,si,uc,t,Ce,ra,Fa,Rt,i,null,-0,0)}}break}while(!0);ut(e)}function _o(e,t,a,l,n,i,u,c,s,f,g,v,d,p){if(e.timeoutHandle=-1,v=t.subtreeFlags,v&8192||(v&16785408)===16785408){v={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:yt},zd(t,i,v);var S=(i&62914560)===i?ji-Re():(i&4194048)===i?Nd-Re():0;if(S=mp(v,S),S!==null){bt=i,e.cancelPendingCommit=S(Mo.bind(null,e,t,i,a,l,n,u,c,s,g,v,null,d,p)),Ht(e,i,u,!f);return}}Mo(e,t,i,a,l,n,u,c,s)}function N1(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var l=0;l<a.length;l++){var n=a[l],i=n.getSnapshot;n=n.value;try{if(!we(i(),n))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ht(e,t,a,l){t&=~ds,t&=~ra,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var n=t;0<n;){var i=31-Be(n),u=1<<i;l[i]=-1,n&=~u}a!==0&&Cr(e,a,t)}function Ci(){return Y&6?!0:(cn(0),!1)}function ms(){if(R!==null){if(Q===0)var e=R.return;else e=R,gt=Sa=null,Ic(e),La=null,Xl=0,e=R;for(;e!==null;)fd(e.alternate,e),e=e.return;R=null}}function Pa(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,k1(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),bt=0,ms(),V=e,R=a=vt(e.current,null),H=t,Q=0,Ue=null,Rt=!1,cl=Pl(e,t),fs=!1,Fa=Ce=ds=ra=Ft=te=0,Ge=jl=null,uc=!1,t&8&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var n=31-Be(l),i=1<<n;t|=e[n],l&=~i}return _t=t,Ai(),a}function Dd(e,t){q=null,G.H=Vl,t===ul||t===Ni?(t=to(),Q=3):t===Vc?(t=to(),Q=4):Q=t===cs?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Ue=t,R===null&&(te=1,ni(e,Je(t,e.current)))}function jd(){var e=Qe.current;return e===null?!0:(H&4194048)===H?ke===null:(H&62914560)===H||H&536870912?e===ke:!1}function Cd(){var e=G.H;return G.H=Vl,e===null?Vl:e}function Rd(){var e=G.A;return G.A=A1,e}function oi(){te=4,Rt||(H&4194048)!==H&&Qe.current!==null||(cl=!0),!(Ft&134217727)&&!(ra&134217727)||V===null||Ht(V,H,Ce,!1)}function yu(e,t,a){var l=Y;Y|=2;var n=Cd(),i=Rd();(V!==e||H!==t)&&(si=null,Pa(e,t)),t=!1;var u=te;e:do try{if(Q!==0&&R!==null){var c=R,s=Ue;switch(Q){case 8:ms(),u=6;break e;case 3:case 2:case 9:case 6:Qe.current===null&&(t=!0);var f=Q;if(Q=0,Ue=null,Ha(e,c,s,f),a&&cl){u=0;break e}break;default:f=Q,Q=0,Ue=null,Ha(e,c,s,f)}}O1(),u=te;break}catch(g){Dd(e,g)}while(!0);return t&&e.shellSuspendCounter++,gt=Sa=null,Y=l,G.H=n,G.A=i,R===null&&(V=null,H=0,Ai()),u}function O1(){for(;R!==null;)Hd(R)}function q1(e,t){var a=Y;Y|=2;var l=Cd(),n=Rd();V!==e||H!==t?(si=null,ci=Re()+500,Pa(e,t)):cl=Pl(e,t);e:do try{if(Q!==0&&R!==null){t=R;var i=Ue;t:switch(Q){case 1:Q=0,Ue=null,Ha(e,t,i,1);break;case 2:case 9:if(eo(i)){Q=0,Ue=null,zo(t);break}t=function(){Q!==2&&Q!==9||V!==e||(Q=7),ut(e)},i.then(t,t);break e;case 3:Q=7;break e;case 4:Q=5;break e;case 7:eo(i)?(Q=0,Ue=null,zo(t)):(Q=0,Ue=null,Ha(e,t,i,7));break;case 5:var u=null;switch(R.tag){case 26:u=R.memoizedState;case 5:case 27:var c=R;if(u?lm(u):c.stateNode.complete){Q=0,Ue=null;var s=c.sibling;if(s!==null)R=s;else{var f=c.return;f!==null?(R=f,Ri(f)):R=null}break t}}Q=0,Ue=null,Ha(e,t,i,5);break;case 6:Q=0,Ue=null,Ha(e,t,i,6);break;case 8:ms(),te=6;break e;default:throw Error(b(462))}}U1();break}catch(g){Dd(e,g)}while(!0);return gt=Sa=null,G.H=l,G.A=n,Y=a,R!==null?0:(V=null,H=0,Ai(),te)}function U1(){for(;R!==null&&!t0();)Hd(R)}function Hd(e){var t=rd(e.alternate,e,_t);e.memoizedProps=e.pendingProps,t===null?Ri(e):R=t}function zo(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=ho(a,t,t.pendingProps,t.type,void 0,H);break;case 11:t=ho(a,t,t.pendingProps,t.type.render,t.ref,H);break;case 5:Ic(t);default:fd(a,t),t=R=ff(t,_t),t=rd(a,t,_t)}e.memoizedProps=e.pendingProps,t===null?Ri(e):R=t}function Ha(e,t,a,l){gt=Sa=null,Ic(t),La=null,Xl=0;var n=t.return;try{if(S1(e,n,t,a,H)){te=1,ni(e,Je(a,e.current)),R=null;return}}catch(i){if(n!==null)throw R=n,i;te=1,ni(e,Je(a,e.current)),R=null;return}t.flags&32768?(B||l===1?e=!0:cl||H&536870912?e=!1:(Rt=e=!0,(l===2||l===9||l===3||l===6)&&(l=Qe.current,l!==null&&l.tag===13&&(l.flags|=16384))),Bd(t,e)):Ri(t)}function Ri(e){var t=e;do{if(t.flags&32768){Bd(t,Rt);return}e=t.return;var a=E1(t.alternate,t,_t);if(a!==null){R=a;return}if(t=t.sibling,t!==null){R=t;return}R=t=e}while(t!==null);te===0&&(te=5)}function Bd(e,t){do{var a=_1(e.alternate,e);if(a!==null){a.flags&=32767,R=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){R=e;return}R=e=a}while(e!==null);te=6,R=null}function Mo(e,t,a,l,n,i,u,c,s){e.cancelPendingCommit=null;do Hi();while(re!==0);if(Y&6)throw Error(b(327));if(t!==null){if(t===e.current)throw Error(b(177));if(i=t.lanes|t.childLanes,i|=Bc,f0(e,a,i,u,c,s),e===V&&(R=V=null,H=0),Ia=t,Zt=e,bt=a,cc=i,sc=n,Od=l,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,R1(Jn,function(){return Xd(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,t.subtreeFlags&13878||l){l=G.T,G.T=null,n=w.p,w.p=2,u=Y,Y|=4;try{z1(e,t,a)}finally{Y=u,w.p=n,G.T=l}}re=1,Yd(),wd(),Qd()}}function Yd(){if(re===1){re=0;var e=Zt,t=Ia,a=(t.flags&13878)!==0;if(t.subtreeFlags&13878||a){a=G.T,G.T=null;var l=w.p;w.p=2;var n=Y;Y|=4;try{xd(t,e);var i=mc,u=af(e.containerInfo),c=i.focusedElem,s=i.selectionRange;if(u!==c&&c&&c.ownerDocument&&tf(c.ownerDocument.documentElement,c)){if(s!==null&&Hc(c)){var f=s.start,g=s.end;if(g===void 0&&(g=f),"selectionStart"in c)c.selectionStart=f,c.selectionEnd=Math.min(g,c.value.length);else{var v=c.ownerDocument||document,d=v&&v.defaultView||window;if(d.getSelection){var p=d.getSelection(),S=c.textContent.length,x=Math.min(s.start,S),D=s.end===void 0?x:Math.min(s.end,S);!p.extend&&x>D&&(u=D,D=x,x=u);var r=Js(c,x),o=Js(c,D);if(r&&o&&(p.rangeCount!==1||p.anchorNode!==r.node||p.anchorOffset!==r.offset||p.focusNode!==o.node||p.focusOffset!==o.offset)){var m=v.createRange();m.setStart(r.node,r.offset),p.removeAllRanges(),x>D?(p.addRange(m),p.extend(o.node,o.offset)):(m.setEnd(o.node,o.offset),p.addRange(m))}}}}for(v=[],p=c;p=p.parentNode;)p.nodeType===1&&v.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<v.length;c++){var h=v[c];h.element.scrollLeft=h.left,h.element.scrollTop=h.top}}vi=!!dc,mc=dc=null}finally{Y=n,w.p=l,G.T=a}}e.current=t,re=2}}function wd(){if(re===2){re=0;var e=Zt,t=Ia,a=(t.flags&8772)!==0;if(t.subtreeFlags&8772||a){a=G.T,G.T=null;var l=w.p;w.p=2;var n=Y;Y|=4;try{vd(e,t.alternate,t)}finally{Y=n,w.p=l,G.T=a}}re=3}}function Qd(){if(re===4||re===3){re=0,a0();var e=Zt,t=Ia,a=bt,l=Od;t.subtreeFlags&10256||t.flags&10256?re=5:(re=0,Ia=Zt=null,Ld(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Xt=null),Oc(a),t=t.stateNode,He&&typeof He.onCommitFiberRoot=="function")try{He.onCommitFiberRoot(Il,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=G.T,n=w.p,w.p=2,G.T=null;try{for(var i=e.onRecoverableError,u=0;u<l.length;u++){var c=l[u];i(c.value,{componentStack:c.stack})}}finally{G.T=t,w.p=n}}bt&3&&Hi(),ut(e),n=e.pendingLanes,a&261930&&n&42?e===oc?Cl++:(Cl=0,oc=e):Cl=0,cn(0)}}function Ld(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,ln(t)))}function Hi(){return Yd(),wd(),Qd(),Xd()}function Xd(){if(re!==5)return!1;var e=Zt,t=cc;cc=0;var a=Oc(bt),l=G.T,n=w.p;try{w.p=32>a?32:a,G.T=null,a=sc,sc=null;var i=Zt,u=bt;if(re=0,Ia=Zt=null,bt=0,Y&6)throw Error(b(331));var c=Y;if(Y|=4,Ad(i.current),_d(i,i.current,u,a),Y=c,cn(0,!1),He&&typeof He.onPostCommitFiberRoot=="function")try{He.onPostCommitFiberRoot(Il,i)}catch{}return!0}finally{w.p=n,G.T=l,Ld(e,t)}}function Ao(e,t,a){t=Je(a,t),t=ac(e.stateNode,t,2),e=Lt(e,t,2),e!==null&&(en(e,2),ut(e))}function L(e,t,a){if(e.tag===3)Ao(e,e,a);else for(;t!==null;){if(t.tag===3){Ao(t,e,a);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Xt===null||!Xt.has(l))){e=Je(a,e),a=nd(2),l=Lt(t,a,2),l!==null&&(id(a,l,t,e),en(l,2),ut(l));break}}t=t.return}}function gu(e,t,a){var l=e.pingCache;if(l===null){l=e.pingCache=new G1;var n=new Set;l.set(t,n)}else n=l.get(t),n===void 0&&(n=new Set,l.set(t,n));n.has(a)||(fs=!0,n.add(a),e=D1.bind(null,e,t,a),t.then(e,e))}function D1(e,t,a){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,V===e&&(H&a)===a&&(te===4||te===3&&(H&62914560)===H&&300>Re()-ji?!(Y&2)&&Pa(e,0):ds|=a,Fa===H&&(Fa=0)),ut(e)}function Zd(e,t){t===0&&(t=jr()),e=ba(e,t),e!==null&&(en(e,t),ut(e))}function j1(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Zd(e,a)}function C1(e,t){var a=0;switch(e.tag){case 31:case 13:var l=e.stateNode,n=e.memoizedState;n!==null&&(a=n.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(b(314))}l!==null&&l.delete(t),Zd(e,a)}function R1(e,t){return Gc(e,t)}var ri=null,za=null,rc=!1,fi=!1,vu=!1,Bt=0;function ut(e){e!==za&&e.next===null&&(za===null?ri=za=e:za=za.next=e),fi=!0,rc||(rc=!0,B1())}function cn(e,t){if(!vu&&fi){vu=!0;do for(var a=!1,l=ri;l!==null;){if(e!==0){var n=l.pendingLanes;if(n===0)var i=0;else{var u=l.suspendedLanes,c=l.pingedLanes;i=(1<<31-Be(42|e)+1)-1,i&=n&~(u&~c),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,Go(l,i))}else i=H,i=Ei(l,l===V?i:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),!(i&3)||Pl(l,i)||(a=!0,Go(l,i));l=l.next}while(a);vu=!1}}function H1(){Vd()}function Vd(){fi=rc=!1;var e=0;Bt!==0&&$1()&&(e=Bt);for(var t=Re(),a=null,l=ri;l!==null;){var n=l.next,i=Kd(l,t);i===0?(l.next=null,a===null?ri=n:a.next=n,n===null&&(za=a)):(a=l,(e!==0||i&3)&&(fi=!0)),l=n}re!==0&&re!==5||cn(e),Bt!==0&&(Bt=0)}function Kd(e,t){for(var a=e.suspendedLanes,l=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var u=31-Be(i),c=1<<u,s=n[u];s===-1?(!(c&a)||c&l)&&(n[u]=r0(c,t)):s<=t&&(e.expiredLanes|=c),i&=~c}if(t=V,a=H,a=Ei(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,a===0||e===t&&(Q===2||Q===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Vi(l),e.callbackNode=null,e.callbackPriority=0;if(!(a&3)||Pl(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(l!==null&&Vi(l),Oc(a)){case 2:case 8:a=Ur;break;case 32:a=Jn;break;case 268435456:a=Dr;break;default:a=Jn}return l=Jd.bind(null,e),a=Gc(a,l),e.callbackPriority=t,e.callbackNode=a,t}return l!==null&&l!==null&&Vi(l),e.callbackPriority=2,e.callbackNode=null,2}function Jd(e,t){if(re!==0&&re!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Hi()&&e.callbackNode!==a)return null;var l=H;return l=Ei(e,e===V?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(Ud(e,l,t),Kd(e,Re()),e.callbackNode!=null&&e.callbackNode===a?Jd.bind(null,e):null)}function Go(e,t){if(Hi())return null;Ud(e,t,!0)}function B1(){W1(function(){Y&6?Gc(qr,H1):Vd()})}function ps(){if(Bt===0){var e=$a;e===0&&(e=yn,yn<<=1,!(yn&261888)&&(yn=256)),Bt=e}return Bt}function No(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:On(""+e)}function Oo(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Y1(e,t,a,l,n){if(t==="submit"&&a&&a.stateNode===n){var i=No((n[Oe]||null).action),u=l.submitter;u&&(t=(t=u[Oe]||null)?No(t.formAction):u.getAttribute("formAction"),t!==null&&(i=t,u=null));var c=new _i("action","action",null,l,n);e.push({event:c,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Bt!==0){var s=u?Oo(n,u):new FormData(n);ec(a,{pending:!0,data:s,method:n.method,action:i},null,s)}}else typeof i=="function"&&(c.preventDefault(),s=u?Oo(n,u):new FormData(n),ec(a,{pending:!0,data:s,method:n.method,action:i},i,s))},currentTarget:n}]})}}for(var hu=0;hu<Lu.length;hu++){var bu=Lu[hu],w1=bu.toLowerCase(),Q1=bu[0].toUpperCase()+bu.slice(1);et(w1,"on"+Q1)}et(nf,"onAnimationEnd");et(uf,"onAnimationIteration");et(cf,"onAnimationStart");et("dblclick","onDoubleClick");et("focusin","onFocus");et("focusout","onBlur");et(l1,"onTransitionRun");et(n1,"onTransitionStart");et(i1,"onTransitionCancel");et(sf,"onTransitionEnd");Ka("onMouseEnter",["mouseout","mouseover"]);Ka("onMouseLeave",["mouseout","mouseover"]);Ka("onPointerEnter",["pointerout","pointerover"]);Ka("onPointerLeave",["pointerout","pointerover"]);ga("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ga("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ga("onBeforeInput",["compositionend","keypress","textInput","paste"]);ga("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ga("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ga("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kl="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(" "),L1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Kl));function $d(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var l=e[a],n=l.event;l=l.listeners;e:{var i=void 0;if(t)for(var u=l.length-1;0<=u;u--){var c=l[u],s=c.instance,f=c.currentTarget;if(c=c.listener,s!==i&&n.isPropagationStopped())break e;i=c,n.currentTarget=f;try{i(n)}catch(g){kn(g)}n.currentTarget=null,i=s}else for(u=0;u<l.length;u++){if(c=l[u],s=c.instance,f=c.currentTarget,c=c.listener,s!==i&&n.isPropagationStopped())break e;i=c,n.currentTarget=f;try{i(n)}catch(g){kn(g)}n.currentTarget=null,i=s}}}}function C(e,t){var a=t[ju];a===void 0&&(a=t[ju]=new Set);var l=e+"__bubble";a.has(l)||(kd(t,e,2,!1),a.add(l))}function Su(e,t,a){var l=0;t&&(l|=4),kd(a,e,l,t)}var zn="_reactListening"+Math.random().toString(36).slice(2);function ys(e){if(!e[zn]){e[zn]=!0,Yr.forEach(function(a){a!=="selectionchange"&&(L1.has(a)||Su(a,!1,e),Su(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[zn]||(t[zn]=!0,Su("selectionchange",!1,t))}}function kd(e,t,a,l){switch(sm(t)){case 2:var n=gp;break;case 8:n=vp;break;default:n=bs}a=n.bind(null,t,a,e),n=void 0,!Yu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),l?n!==void 0?e.addEventListener(t,a,{capture:!0,passive:n}):e.addEventListener(t,a,!0):n!==void 0?e.addEventListener(t,a,{passive:n}):e.addEventListener(t,a,!1)}function Tu(e,t,a,l,n){var i=l;if(!(t&1)&&!(t&2)&&l!==null)e:for(;;){if(l===null)return;var u=l.tag;if(u===3||u===4){var c=l.stateNode.containerInfo;if(c===n)break;if(u===4)for(u=l.return;u!==null;){var s=u.tag;if((s===3||s===4)&&u.stateNode.containerInfo===n)return;u=u.return}for(;c!==null;){if(u=Ga(c),u===null)return;if(s=u.tag,s===5||s===6||s===26||s===27){l=i=u;continue e}c=c.parentNode}}l=l.return}Jr(function(){var f=i,g=Dc(a),v=[];e:{var d=of.get(e);if(d!==void 0){var p=_i,S=e;switch(e){case"keypress":if(Un(a)===0)break e;case"keydown":case"keyup":p=C0;break;case"focusin":S="focus",p=Wi;break;case"focusout":S="blur",p=Wi;break;case"beforeblur":case"afterblur":p=Wi;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Hs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=E0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=B0;break;case nf:case uf:case cf:p=M0;break;case sf:p=w0;break;case"scroll":case"scrollend":p=T0;break;case"wheel":p=L0;break;case"copy":case"cut":case"paste":p=G0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Ys;break;case"toggle":case"beforetoggle":p=Z0}var x=(t&4)!==0,D=!x&&(e==="scroll"||e==="scrollend"),r=x?d!==null?d+"Capture":null:d;x=[];for(var o=f,m;o!==null;){var h=o;if(m=h.stateNode,h=h.tag,h!==5&&h!==26&&h!==27||m===null||r===null||(h=Bl(o,r),h!=null&&x.push(Jl(o,h,m))),D)break;o=o.return}0<x.length&&(d=new p(d,S,null,a,g),v.push({event:d,listeners:x}))}}if(!(t&7)){e:{if(d=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",d&&a!==Bu&&(S=a.relatedTarget||a.fromElement)&&(Ga(S)||S[ll]))break e;if((p||d)&&(d=g.window===g?g:(d=g.ownerDocument)?d.defaultView||d.parentWindow:window,p?(S=a.relatedTarget||a.toElement,p=f,S=S?Ga(S):null,S!==null&&(D=Fl(S),x=S.tag,S!==D||x!==5&&x!==27&&x!==6)&&(S=null)):(p=null,S=f),p!==S)){if(x=Hs,h="onMouseLeave",r="onMouseEnter",o="mouse",(e==="pointerout"||e==="pointerover")&&(x=Ys,h="onPointerLeave",r="onPointerEnter",o="pointer"),D=p==null?d:Sl(p),m=S==null?d:Sl(S),d=new x(h,o+"leave",p,a,g),d.target=D,d.relatedTarget=m,h=null,Ga(g)===f&&(x=new x(r,o+"enter",S,a,g),x.target=m,x.relatedTarget=D,h=x),D=h,p&&S)t:{for(x=X1,r=p,o=S,m=0,h=r;h;h=x(h))m++;h=0;for(var _=o;_;_=x(_))h++;for(;0<m-h;)r=x(r),m--;for(;0<h-m;)o=x(o),h--;for(;m--;){if(r===o||o!==null&&r===o.alternate){x=r;break t}r=x(r),o=x(o)}x=null}else x=null;p!==null&&qo(v,d,p,x,!1),S!==null&&D!==null&&qo(v,D,S,x,!0)}}e:{if(d=f?Sl(f):window,p=d.nodeName&&d.nodeName.toLowerCase(),p==="select"||p==="input"&&d.type==="file")var z=Xs;else if(Ls(d))if(Pr)z=e1;else{z=I0;var T=F0}else p=d.nodeName,!p||p.toLowerCase()!=="input"||d.type!=="checkbox"&&d.type!=="radio"?f&&Uc(f.elementType)&&(z=Xs):z=P0;if(z&&(z=z(e,f))){Ir(v,z,a,g);break e}T&&T(e,d,f),e==="focusout"&&f&&d.type==="number"&&f.memoizedProps.value!=null&&Hu(d,"number",d.value)}switch(T=f?Sl(f):window,e){case"focusin":(Ls(T)||T.contentEditable==="true")&&(qa=T,wu=f,Ml=null);break;case"focusout":Ml=wu=qa=null;break;case"mousedown":Qu=!0;break;case"contextmenu":case"mouseup":case"dragend":Qu=!1,$s(v,a,g);break;case"selectionchange":if(a1)break;case"keydown":case"keyup":$s(v,a,g)}var M;if(Rc)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else Oa?Wr(e,a)&&(A="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(A="onCompositionStart");A&&(kr&&a.locale!=="ko"&&(Oa||A!=="onCompositionStart"?A==="onCompositionEnd"&&Oa&&(M=$r()):(Ct=g,jc="value"in Ct?Ct.value:Ct.textContent,Oa=!0)),T=di(f,A),0<T.length&&(A=new Bs(A,e,null,a,g),v.push({event:A,listeners:T}),M?A.data=M:(M=Fr(a),M!==null&&(A.data=M)))),(M=K0?J0(e,a):$0(e,a))&&(A=di(f,"onBeforeInput"),0<A.length&&(T=new Bs("onBeforeInput","beforeinput",null,a,g),v.push({event:T,listeners:A}),T.data=M)),Y1(v,e,f,a,g)}$d(v,t)})}function Jl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function di(e,t){for(var a=t+"Capture",l=[];e!==null;){var n=e,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=Bl(e,a),n!=null&&l.unshift(Jl(e,n,i)),n=Bl(e,t),n!=null&&l.push(Jl(e,n,i))),e.tag===3)return l;e=e.return}return[]}function X1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function qo(e,t,a,l,n){for(var i=t._reactName,u=[];a!==null&&a!==l;){var c=a,s=c.alternate,f=c.stateNode;if(c=c.tag,s!==null&&s===l)break;c!==5&&c!==26&&c!==27||f===null||(s=f,n?(f=Bl(a,i),f!=null&&u.unshift(Jl(a,f,s))):n||(f=Bl(a,i),f!=null&&u.push(Jl(a,f,s)))),a=a.return}u.length!==0&&e.push({event:t,listeners:u})}var Z1=/\r\n?/g,V1=/\u0000|\uFFFD/g;function Uo(e){return(typeof e=="string"?e:""+e).replace(Z1,`
`).replace(V1,"")}function Wd(e,t){return t=Uo(t),Uo(e)===t}function X(e,t,a,l,n,i){switch(a){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Ja(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Ja(e,""+l);break;case"className":hn(e,"class",l);break;case"tabIndex":hn(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":hn(e,a,l);break;case"style":Kr(e,l,i);break;case"data":if(t!=="object"){hn(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=On(""+l),e.setAttribute(a,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(a==="formAction"?(t!=="input"&&X(e,t,"name",n.name,n,null),X(e,t,"formEncType",n.formEncType,n,null),X(e,t,"formMethod",n.formMethod,n,null),X(e,t,"formTarget",n.formTarget,n,null)):(X(e,t,"encType",n.encType,n,null),X(e,t,"method",n.method,n,null),X(e,t,"target",n.target,n,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(a);break}l=On(""+l),e.setAttribute(a,l);break;case"onClick":l!=null&&(e.onclick=yt);break;case"onScroll":l!=null&&C("scroll",e);break;case"onScrollEnd":l!=null&&C("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(b(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(b(60));e.innerHTML=a}}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}a=On(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);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(a,""+l):e.removeAttribute(a);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(a,""):e.removeAttribute(a);break;case"capture":case"download":l===!0?e.setAttribute(a,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(a,l):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(a,l):e.removeAttribute(a);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(a):e.setAttribute(a,l);break;case"popover":C("beforetoggle",e),C("toggle",e),Nn(e,"popover",l);break;case"xlinkActuate":ct(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":ct(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":ct(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":ct(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":ct(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":ct(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":ct(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":ct(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":ct(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Nn(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=b0.get(a)||a,Nn(e,a,l))}}function fc(e,t,a,l,n,i){switch(a){case"style":Kr(e,l,i);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(b(61));if(a=l.__html,a!=null){if(n.children!=null)throw Error(b(60));e.innerHTML=a}}break;case"children":typeof l=="string"?Ja(e,l):(typeof l=="number"||typeof l=="bigint")&&Ja(e,""+l);break;case"onScroll":l!=null&&C("scroll",e);break;case"onScrollEnd":l!=null&&C("scrollend",e);break;case"onClick":l!=null&&(e.onclick=yt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!wr.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(n=a.endsWith("Capture"),t=a.slice(2,n?a.length-7:void 0),i=e[Oe]||null,i=i!=null?i[a]:null,typeof i=="function"&&e.removeEventListener(t,i,n),typeof l=="function")){typeof i!="function"&&i!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,l,n);break e}a in e?e[a]=l:l===!0?e.setAttribute(a,""):Nn(e,a,l)}}}function Se(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":C("error",e),C("load",e);var l=!1,n=!1,i;for(i in a)if(a.hasOwnProperty(i)){var u=a[i];if(u!=null)switch(i){case"src":l=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:X(e,t,i,u,a,null)}}n&&X(e,t,"srcSet",a.srcSet,a,null),l&&X(e,t,"src",a.src,a,null);return;case"input":C("invalid",e);var c=i=u=n=null,s=null,f=null;for(l in a)if(a.hasOwnProperty(l)){var g=a[l];if(g!=null)switch(l){case"name":n=g;break;case"type":u=g;break;case"checked":s=g;break;case"defaultChecked":f=g;break;case"value":i=g;break;case"defaultValue":c=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(b(137,t));break;default:X(e,t,l,g,a,null)}}Xr(e,i,c,s,f,u,n,!1);return;case"select":C("invalid",e),l=u=i=null;for(n in a)if(a.hasOwnProperty(n)&&(c=a[n],c!=null))switch(n){case"value":i=c;break;case"defaultValue":u=c;break;case"multiple":l=c;default:X(e,t,n,c,a,null)}t=i,a=u,e.multiple=!!l,t!=null?Ya(e,!!l,t,!1):a!=null&&Ya(e,!!l,a,!0);return;case"textarea":C("invalid",e),i=n=l=null;for(u in a)if(a.hasOwnProperty(u)&&(c=a[u],c!=null))switch(u){case"value":l=c;break;case"defaultValue":n=c;break;case"children":i=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(b(91));break;default:X(e,t,u,c,a,null)}Vr(e,l,n,i);return;case"option":for(s in a)if(a.hasOwnProperty(s)&&(l=a[s],l!=null))switch(s){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:X(e,t,s,l,a,null)}return;case"dialog":C("beforetoggle",e),C("toggle",e),C("cancel",e),C("close",e);break;case"iframe":case"object":C("load",e);break;case"video":case"audio":for(l=0;l<Kl.length;l++)C(Kl[l],e);break;case"image":C("error",e),C("load",e);break;case"details":C("toggle",e);break;case"embed":case"source":case"link":C("error",e),C("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(f in a)if(a.hasOwnProperty(f)&&(l=a[f],l!=null))switch(f){case"children":case"dangerouslySetInnerHTML":throw Error(b(137,t));default:X(e,t,f,l,a,null)}return;default:if(Uc(t)){for(g in a)a.hasOwnProperty(g)&&(l=a[g],l!==void 0&&fc(e,t,g,l,a,void 0));return}}for(c in a)a.hasOwnProperty(c)&&(l=a[c],l!=null&&X(e,t,c,l,a,null))}function K1(e,t,a,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,u=null,c=null,s=null,f=null,g=null;for(p in a){var v=a[p];if(a.hasOwnProperty(p)&&v!=null)switch(p){case"checked":break;case"value":break;case"defaultValue":s=v;default:l.hasOwnProperty(p)||X(e,t,p,null,l,v)}}for(var d in l){var p=l[d];if(v=a[d],l.hasOwnProperty(d)&&(p!=null||v!=null))switch(d){case"type":i=p;break;case"name":n=p;break;case"checked":f=p;break;case"defaultChecked":g=p;break;case"value":u=p;break;case"defaultValue":c=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(b(137,t));break;default:p!==v&&X(e,t,d,p,l,v)}}Ru(e,u,c,s,f,g,i,n);return;case"select":p=u=c=d=null;for(i in a)if(s=a[i],a.hasOwnProperty(i)&&s!=null)switch(i){case"value":break;case"multiple":p=s;default:l.hasOwnProperty(i)||X(e,t,i,null,l,s)}for(n in l)if(i=l[n],s=a[n],l.hasOwnProperty(n)&&(i!=null||s!=null))switch(n){case"value":d=i;break;case"defaultValue":c=i;break;case"multiple":u=i;default:i!==s&&X(e,t,n,i,l,s)}t=c,a=u,l=p,d!=null?Ya(e,!!a,d,!1):!!l!=!!a&&(t!=null?Ya(e,!!a,t,!0):Ya(e,!!a,a?[]:"",!1));return;case"textarea":p=d=null;for(c in a)if(n=a[c],a.hasOwnProperty(c)&&n!=null&&!l.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:X(e,t,c,null,l,n)}for(u in l)if(n=l[u],i=a[u],l.hasOwnProperty(u)&&(n!=null||i!=null))switch(u){case"value":d=n;break;case"defaultValue":p=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(b(91));break;default:n!==i&&X(e,t,u,n,l,i)}Zr(e,d,p);return;case"option":for(var S in a)if(d=a[S],a.hasOwnProperty(S)&&d!=null&&!l.hasOwnProperty(S))switch(S){case"selected":e.selected=!1;break;default:X(e,t,S,null,l,d)}for(s in l)if(d=l[s],p=a[s],l.hasOwnProperty(s)&&d!==p&&(d!=null||p!=null))switch(s){case"selected":e.selected=d&&typeof d!="function"&&typeof d!="symbol";break;default:X(e,t,s,d,l,p)}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 x in a)d=a[x],a.hasOwnProperty(x)&&d!=null&&!l.hasOwnProperty(x)&&X(e,t,x,null,l,d);for(f in l)if(d=l[f],p=a[f],l.hasOwnProperty(f)&&d!==p&&(d!=null||p!=null))switch(f){case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(b(137,t));break;default:X(e,t,f,d,l,p)}return;default:if(Uc(t)){for(var D in a)d=a[D],a.hasOwnProperty(D)&&d!==void 0&&!l.hasOwnProperty(D)&&fc(e,t,D,void 0,l,d);for(g in l)d=l[g],p=a[g],!l.hasOwnProperty(g)||d===p||d===void 0&&p===void 0||fc(e,t,g,d,l,p);return}}for(var r in a)d=a[r],a.hasOwnProperty(r)&&d!=null&&!l.hasOwnProperty(r)&&X(e,t,r,null,l,d);for(v in l)d=l[v],p=a[v],!l.hasOwnProperty(v)||d===p||d==null&&p==null||X(e,t,v,d,l,p)}function Do(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function J1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),l=0;l<a.length;l++){var n=a[l],i=n.transferSize,u=n.initiatorType,c=n.duration;if(i&&c&&Do(u)){for(u=0,c=n.responseEnd,l+=1;l<a.length;l++){var s=a[l],f=s.startTime;if(f>c)break;var g=s.transferSize,v=s.initiatorType;g&&Do(v)&&(s=s.responseEnd,u+=g*(s<c?1:(c-f)/(s-f)))}if(--l,t+=8*(i+u)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var dc=null,mc=null;function mi(e){return e.nodeType===9?e:e.ownerDocument}function jo(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 Fd(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function pc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xu=null;function $1(){var e=window.event;return e&&e.type==="popstate"?e===xu?!1:(xu=e,!0):(xu=null,!1)}var Id=typeof setTimeout=="function"?setTimeout:void 0,k1=typeof clearTimeout=="function"?clearTimeout:void 0,Co=typeof Promise=="function"?Promise:void 0,W1=typeof queueMicrotask=="function"?queueMicrotask:typeof Co<"u"?function(e){return Co.resolve(null).then(e).catch(F1)}:Id;function F1(e){setTimeout(function(){throw e})}function Pt(e){return e==="head"}function Ro(e,t){var a=t,l=0;do{var n=a.nextSibling;if(e.removeChild(a),n&&n.nodeType===8)if(a=n.data,a==="/$"||a==="/&"){if(l===0){e.removeChild(n),tl(t);return}l--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")l++;else if(a==="html")Rl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Rl(a);for(var i=a.firstChild;i;){var u=i.nextSibling,c=i.nodeName;i[tn]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=u}}else a==="body"&&Rl(e.ownerDocument.body);a=n}while(a);tl(t)}function Ho(e,t){var a=e;e=0;do{var l=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),l&&l.nodeType===8)if(a=l.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=l}while(a)}function yc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":yc(a),qc(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function I1(e,t,a,l){for(;e.nodeType===1;){var n=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[tn])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=We(e.nextSibling),e===null)break}return null}function P1(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=We(e.nextSibling),e===null))return null;return e}function Pd(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=We(e.nextSibling),e===null))return null;return e}function gc(e){return e.data==="$?"||e.data==="$~"}function vc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ep(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var l=function(){t(),a.removeEventListener("DOMContentLoaded",l)};a.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function We(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var hc=null;function Bo(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return We(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Yo(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function em(e,t,a){switch(t=mi(a),e){case"html":if(e=t.documentElement,!e)throw Error(b(452));return e;case"head":if(e=t.head,!e)throw Error(b(453));return e;case"body":if(e=t.body,!e)throw Error(b(454));return e;default:throw Error(b(451))}}function Rl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);qc(e)}var Fe=new Map,wo=new Set;function pi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var zt=w.d;w.d={f:tp,r:ap,D:lp,C:np,L:ip,m:up,X:sp,S:cp,M:op};function tp(){var e=zt.f(),t=Ci();return e||t}function ap(e){var t=nl(e);t!==null&&t.tag===5&&t.type==="form"?Jf(t):zt.r(e)}var sl=typeof document>"u"?null:document;function tm(e,t,a){var l=sl;if(l&&typeof t=="string"&&t){var n=Ke(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),wo.has(n)||(wo.add(n),e={rel:e,crossOrigin:a,href:t},l.querySelector(n)===null&&(t=l.createElement("link"),Se(t,"link",e),pe(t),l.head.appendChild(t)))}}function lp(e){zt.D(e),tm("dns-prefetch",e,null)}function np(e,t){zt.C(e,t),tm("preconnect",e,t)}function ip(e,t,a){zt.L(e,t,a);var l=sl;if(l&&e&&t){var n='link[rel="preload"][as="'+Ke(t)+'"]';t==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+Ke(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+Ke(a.imageSizes)+'"]')):n+='[href="'+Ke(e)+'"]';var i=n;switch(t){case"style":i=el(e);break;case"script":i=ol(e)}Fe.has(i)||(e=F({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Fe.set(i,e),l.querySelector(n)!==null||t==="style"&&l.querySelector(sn(i))||t==="script"&&l.querySelector(on(i))||(t=l.createElement("link"),Se(t,"link",e),pe(t),l.head.appendChild(t)))}}function up(e,t){zt.m(e,t);var a=sl;if(a&&e){var l=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+Ke(l)+'"][href="'+Ke(e)+'"]',i=n;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=ol(e)}if(!Fe.has(i)&&(e=F({rel:"modulepreload",href:e},t),Fe.set(i,e),a.querySelector(n)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(on(i)))return}l=a.createElement("link"),Se(l,"link",e),pe(l),a.head.appendChild(l)}}}function cp(e,t,a){zt.S(e,t,a);var l=sl;if(l&&e){var n=Ba(l).hoistableStyles,i=el(e);t=t||"default";var u=n.get(i);if(!u){var c={loading:0,preload:null};if(u=l.querySelector(sn(i)))c.loading=5;else{e=F({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Fe.get(i))&&gs(e,a);var s=u=l.createElement("link");pe(s),Se(s,"link",e),s._p=new Promise(function(f,g){s.onload=f,s.onerror=g}),s.addEventListener("load",function(){c.loading|=1}),s.addEventListener("error",function(){c.loading|=2}),c.loading|=4,wn(u,t,l)}u={type:"stylesheet",instance:u,count:1,state:c},n.set(i,u)}}}function sp(e,t){zt.X(e,t);var a=sl;if(a&&e){var l=Ba(a).hoistableScripts,n=ol(e),i=l.get(n);i||(i=a.querySelector(on(n)),i||(e=F({src:e,async:!0},t),(t=Fe.get(n))&&vs(e,t),i=a.createElement("script"),pe(i),Se(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function op(e,t){zt.M(e,t);var a=sl;if(a&&e){var l=Ba(a).hoistableScripts,n=ol(e),i=l.get(n);i||(i=a.querySelector(on(n)),i||(e=F({src:e,async:!0,type:"module"},t),(t=Fe.get(n))&&vs(e,t),i=a.createElement("script"),pe(i),Se(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},l.set(n,i))}}function Qo(e,t,a,l){var n=(n=Yt.current)?pi(n):null;if(!n)throw Error(b(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=el(a.href),a=Ba(n).hoistableStyles,l=a.get(t),l||(l={type:"style",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=el(a.href);var i=Ba(n).hoistableStyles,u=i.get(e);if(u||(n=n.ownerDocument||n,u={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,u),(i=n.querySelector(sn(e)))&&!i._p&&(u.instance=i,u.state.loading=5),Fe.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Fe.set(e,a),i||rp(n,e,a,u.state))),t&&l===null)throw Error(b(528,""));return u}if(t&&l!==null)throw Error(b(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ol(a),a=Ba(n).hoistableScripts,l=a.get(t),l||(l={type:"script",instance:null,count:0,state:null},a.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(b(444,e))}}function el(e){return'href="'+Ke(e)+'"'}function sn(e){return'link[rel="stylesheet"]['+e+"]"}function am(e){return F({},e,{"data-precedence":e.precedence,precedence:null})}function rp(e,t,a,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),Se(t,"link",a),pe(t),e.head.appendChild(t))}function ol(e){return'[src="'+Ke(e)+'"]'}function on(e){return"script[async]"+e}function Lo(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+Ke(a.href)+'"]');if(l)return t.instance=l,pe(l),l;var n=F({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),pe(l),Se(l,"style",n),wn(l,a.precedence,e),t.instance=l;case"stylesheet":n=el(a.href);var i=e.querySelector(sn(n));if(i)return t.state.loading|=4,t.instance=i,pe(i),i;l=am(a),(n=Fe.get(n))&&gs(l,n),i=(e.ownerDocument||e).createElement("link"),pe(i);var u=i;return u._p=new Promise(function(c,s){u.onload=c,u.onerror=s}),Se(i,"link",l),t.state.loading|=4,wn(i,a.precedence,e),t.instance=i;case"script":return i=ol(a.src),(n=e.querySelector(on(i)))?(t.instance=n,pe(n),n):(l=a,(n=Fe.get(i))&&(l=F({},a),vs(l,n)),e=e.ownerDocument||e,n=e.createElement("script"),pe(n),Se(n,"link",l),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(b(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(l=t.instance,t.state.loading|=4,wn(l,a.precedence,e));return t.instance}function wn(e,t,a){for(var l=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=l.length?l[l.length-1]:null,i=n,u=0;u<l.length;u++){var c=l[u];if(c.dataset.precedence===t)i=c;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function gs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function vs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Qn=null;function Xo(e,t,a){if(Qn===null){var l=new Map,n=Qn=new Map;n.set(a,l)}else n=Qn,l=n.get(a),l||(l=new Map,n.set(a,l));if(l.has(e))return l;for(l.set(e,null),a=a.getElementsByTagName(e),n=0;n<a.length;n++){var i=a[n];if(!(i[tn]||i[ve]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var u=i.getAttribute(t)||"";u=e+u;var c=l.get(u);c?c.push(i):l.set(u,[i])}}return l}function Zo(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function fp(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function lm(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}function dp(e,t,a,l){if(a.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&!(a.state.loading&4)){if(a.instance===null){var n=el(l.href),i=t.querySelector(sn(n));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=yi.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,pe(i);return}i=t.ownerDocument||t,l=am(l),(n=Fe.get(n))&&gs(l,n),i=i.createElement("link"),pe(i);var u=i;u._p=new Promise(function(c,s){u.onload=c,u.onerror=s}),Se(i,"link",l),a.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&!(a.state.loading&3)&&(e.count++,a=yi.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var Eu=0;function mp(e,t){return e.stylesheets&&e.count===0&&Ln(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var l=setTimeout(function(){if(e.stylesheets&&Ln(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&Eu===0&&(Eu=62500*J1());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ln(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>Eu?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(n)}}:null}function yi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ln(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var gi=null;function Ln(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,gi=new Map,t.forEach(pp,e),gi=null,yi.call(e))}function pp(e,t){if(!(t.state.loading&4)){var a=gi.get(e);if(a)var l=a.get(null);else{a=new Map,gi.set(e,a);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var u=n[i];(u.nodeName==="LINK"||u.getAttribute("media")!=="not all")&&(a.set(u.dataset.precedence,u),l=u)}l&&a.set(null,l)}n=t.instance,u=n.getAttribute("data-precedence"),i=a.get(u)||l,i===l&&a.set(null,n),a.set(u,n),this.count++,l=yi.bind(this),n.addEventListener("load",l),n.addEventListener("error",l),i?i.parentNode.insertBefore(n,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var $l={$$typeof:pt,Provider:null,Consumer:null,_currentValue:ua,_currentValue2:ua,_threadCount:0};function yp(e,t,a,l,n,i,u,c,s){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=Ki(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ki(0),this.hiddenUpdates=Ki(null),this.identifierPrefix=l,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=u,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function nm(e,t,a,l,n,i,u,c,s,f,g,v){return e=new yp(e,t,a,u,s,f,g,v,c),t=1,i===!0&&(t|=24),i=je(3,null,null,t),e.current=i,i.stateNode=e,t=Xc(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:l,isDehydrated:a,cache:t},Kc(i),e}function im(e){return e?(e=ja,e):ja}function um(e,t,a,l,n,i){n=im(n),l.context===null?l.context=n:l.pendingContext=n,l=Qt(t),l.payload={element:a},i=i===void 0?null:i,i!==null&&(l.callback=i),a=Lt(e,l,t),a!==null&&(Ne(a,e,t),Gl(a,e,t))}function Vo(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function hs(e,t){Vo(e,t),(e=e.alternate)&&Vo(e,t)}function cm(e){if(e.tag===13||e.tag===31){var t=ba(e,67108864);t!==null&&Ne(t,e,67108864),hs(e,67108864)}}function Ko(e){if(e.tag===13||e.tag===31){var t=Ye();t=Nc(t);var a=ba(e,t);a!==null&&Ne(a,e,t),hs(e,t)}}var vi=!0;function gp(e,t,a,l){var n=G.T;G.T=null;var i=w.p;try{w.p=2,bs(e,t,a,l)}finally{w.p=i,G.T=n}}function vp(e,t,a,l){var n=G.T;G.T=null;var i=w.p;try{w.p=8,bs(e,t,a,l)}finally{w.p=i,G.T=n}}function bs(e,t,a,l){if(vi){var n=bc(l);if(n===null)Tu(e,t,l,hi,a),Jo(e,l);else if(bp(n,e,t,a,l))l.stopPropagation();else if(Jo(e,l),t&4&&-1<hp.indexOf(e)){for(;n!==null;){var i=nl(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var u=la(i.pendingLanes);if(u!==0){var c=i;for(c.pendingLanes|=2,c.entangledLanes|=2;u;){var s=1<<31-Be(u);c.entanglements[1]|=s,u&=~s}ut(i),!(Y&6)&&(ci=Re()+500,cn(0))}}break;case 31:case 13:c=ba(i,2),c!==null&&Ne(c,i,2),Ci(),hs(i,2)}if(i=bc(l),i===null&&Tu(e,t,l,hi,a),i===n)break;n=i}n!==null&&l.stopPropagation()}else Tu(e,t,l,null,a)}}function bc(e){return e=Dc(e),Ss(e)}var hi=null;function Ss(e){if(hi=null,e=Ga(e),e!==null){var t=Fl(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=Mr(t),e!==null)return e;e=null}else if(a===31){if(e=Ar(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return hi=e,null}function sm(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(l0()){case qr:return 2;case Ur:return 8;case Jn:case n0:return 32;case Dr:return 268435456;default:return 32}default:return 32}}var Sc=!1,Vt=null,Kt=null,Jt=null,kl=new Map,Wl=new Map,Dt=[],hp="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Jo(e,t){switch(e){case"focusin":case"focusout":Vt=null;break;case"dragenter":case"dragleave":Kt=null;break;case"mouseover":case"mouseout":Jt=null;break;case"pointerover":case"pointerout":kl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Wl.delete(t.pointerId)}}function vl(e,t,a,l,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:l,nativeEvent:i,targetContainers:[n]},t!==null&&(t=nl(t),t!==null&&cm(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function bp(e,t,a,l,n){switch(t){case"focusin":return Vt=vl(Vt,e,t,a,l,n),!0;case"dragenter":return Kt=vl(Kt,e,t,a,l,n),!0;case"mouseover":return Jt=vl(Jt,e,t,a,l,n),!0;case"pointerover":var i=n.pointerId;return kl.set(i,vl(kl.get(i)||null,e,t,a,l,n)),!0;case"gotpointercapture":return i=n.pointerId,Wl.set(i,vl(Wl.get(i)||null,e,t,a,l,n)),!0}return!1}function om(e){var t=Ga(e.target);if(t!==null){var a=Fl(t);if(a!==null){if(t=a.tag,t===13){if(t=Mr(a),t!==null){e.blockedOn=t,Os(e.priority,function(){Ko(a)});return}}else if(t===31){if(t=Ar(a),t!==null){e.blockedOn=t,Os(e.priority,function(){Ko(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xn(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=bc(e.nativeEvent);if(a===null){a=e.nativeEvent;var l=new a.constructor(a.type,a);Bu=l,a.target.dispatchEvent(l),Bu=null}else return t=nl(a),t!==null&&cm(t),e.blockedOn=a,!1;t.shift()}return!0}function $o(e,t,a){Xn(e)&&a.delete(t)}function Sp(){Sc=!1,Vt!==null&&Xn(Vt)&&(Vt=null),Kt!==null&&Xn(Kt)&&(Kt=null),Jt!==null&&Xn(Jt)&&(Jt=null),kl.forEach($o),Wl.forEach($o)}function Mn(e,t){e.blockedOn===t&&(e.blockedOn=null,Sc||(Sc=!0,fe.unstable_scheduleCallback(fe.unstable_NormalPriority,Sp)))}var An=null;function ko(e){An!==e&&(An=e,fe.unstable_scheduleCallback(fe.unstable_NormalPriority,function(){An===e&&(An=null);for(var t=0;t<e.length;t+=3){var a=e[t],l=e[t+1],n=e[t+2];if(typeof l!="function"){if(Ss(l||a)===null)continue;break}var i=nl(a);i!==null&&(e.splice(t,3),t-=3,ec(i,{pending:!0,data:n,method:a.method,action:l},l,n))}}))}function tl(e){function t(s){return Mn(s,e)}Vt!==null&&Mn(Vt,e),Kt!==null&&Mn(Kt,e),Jt!==null&&Mn(Jt,e),kl.forEach(t),Wl.forEach(t);for(var a=0;a<Dt.length;a++){var l=Dt[a];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Dt.length&&(a=Dt[0],a.blockedOn===null);)om(a),a.blockedOn===null&&Dt.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(l=0;l<a.length;l+=3){var n=a[l],i=a[l+1],u=n[Oe]||null;if(typeof i=="function")u||ko(a);else if(u){var c=null;if(i&&i.hasAttribute("formAction")){if(n=i,u=i[Oe]||null)c=u.formAction;else if(Ss(n)!==null)continue}else c=u.action;typeof c=="function"?a[l+1]=c:(a.splice(l,3),l-=3),ko(a)}}}function rm(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(u){return n=u})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),l||setTimeout(a,20)}function a(){if(!l&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Ts(e){this._internalRoot=e}Bi.prototype.render=Ts.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(b(409));var a=t.current,l=Ye();um(a,l,e,t,null,null)};Bi.prototype.unmount=Ts.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;um(e.current,2,null,e,null,null),Ci(),t[ll]=null}};function Bi(e){this._internalRoot=e}Bi.prototype.unstable_scheduleHydration=function(e){if(e){var t=Br();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Dt.length&&t!==0&&t<Dt[a].priority;a++);Dt.splice(a,0,e),a===0&&om(e)}};var Wo=_r.version;if(Wo!=="19.2.5")throw Error(b(527,Wo,"19.2.5"));w.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(b(188)):(e=Object.keys(e).join(","),Error(b(268,e)));return e=Wm(t),e=e!==null?Gr(e):null,e=e===null?null:e.stateNode,e};var Tp={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gn.isDisabled&&Gn.supportsFiber)try{Il=Gn.inject(Tp),He=Gn}catch{}}Ti.createRoot=function(e,t){if(!zr(e))throw Error(b(299));var a=!1,l="",n=td,i=ad,u=ld;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),t=nm(e,1,!1,null,null,a,l,null,n,i,u,rm),e[ll]=t.current,ys(e),new Ts(t)};Ti.hydrateRoot=function(e,t,a){if(!zr(e))throw Error(b(299));var l=!1,n="",i=td,u=ad,c=ld,s=null;return a!=null&&(a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(n=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(u=a.onCaughtError),a.onRecoverableError!==void 0&&(c=a.onRecoverableError),a.formState!==void 0&&(s=a.formState)),t=nm(e,1,!0,t,a??null,l,n,s,i,u,c,rm),t.context=im(null),a=t.current,l=Ye(),l=Nc(l),n=Qt(l),n.callback=null,Lt(a,n,l),a=l,t.current.lanes=a,en(t,a),ut(t),e[ll]=t.current,ys(e),new Bi(t)};Ti.version="19.2.5";function fm(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fm)}catch(e){console.error(e)}}fm(),hr.exports=Ti;var xp=hr.exports;/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const dm=(...e)=>e.filter((t,a,l)=>!!t&&t.trim()!==""&&l.indexOf(t)===a).join(" ").trim();/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ep=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const _p=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,l)=>l?l.toUpperCase():a.toLowerCase());/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fo=e=>{const t=_p(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var _u={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"};/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const zp=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Mp=P.createContext({}),Ap=()=>P.useContext(Mp),Gp=P.forwardRef(({color:e,size:t,strokeWidth:a,absoluteStrokeWidth:l,className:n="",children:i,iconNode:u,...c},s)=>{const{size:f=24,strokeWidth:g=2,absoluteStrokeWidth:v=!1,color:d="currentColor",className:p=""}=Ap()??{},S=l??v?Number(a??g)*24/Number(t??f):a??g;return P.createElement("svg",{ref:s,..._u,width:t??f??_u.width,height:t??f??_u.height,stroke:e??d,strokeWidth:S,className:dm("lucide",p,n),...!i&&!zp(c)&&{"aria-hidden":"true"},...c},[...u.map(([x,D])=>P.createElement(x,D)),...Array.isArray(i)?i:[i]])});/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const J=(e,t)=>{const a=P.forwardRef(({className:l,...n},i)=>P.createElement(Gp,{ref:i,iconNode:t,className:dm(`lucide-${Ep(Fo(e))}`,`lucide-${e}`,l),...n}));return a.displayName=Fo(e),a};/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Np=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Op=J("arrow-right",Np);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qp=[["circle",{cx:"18.5",cy:"17.5",r:"3.5",key:"15x4ox"}],["circle",{cx:"5.5",cy:"17.5",r:"3.5",key:"1noe27"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["path",{d:"M12 17.5V14l-3-3 4-3 2 3h2",key:"1npguv"}]],mm=J("bike",qp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Up=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],bi=J("box",Up);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Dp=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],jp=J("check",Dp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Cp=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Io=J("chevron-down",Cp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Rp=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Po=J("chevron-right",Rp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Bp=J("circle-alert",Hp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Yp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],wp=J("circle-check",Yp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Qp=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],pm=J("circle-user",Qp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Lp=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Xp=J("code-xml",Lp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zp=[["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"}]],Vp=J("copy",Zp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Kp=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],ym=J("credit-card",Kp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Jp=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],er=J("file-braces",Jp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const $p=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],gm=J("file-text",$p);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const kp=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],vm=J("house",kp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Wp=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],tr=J("layers",Wp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Fp=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],hm=J("link-2",Fp);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ip=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Pp=J("play",Ip);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ey=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],ty=J("search",ey);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ay=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],ar=J("server",ay);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ly=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],bm=J("shopping-cart",ly);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ny=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],iy=J("terminal",ny);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const uy=[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]],Sm=J("truck",uy);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const cy=[["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"}]],Tm=J("users",cy);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const sy=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],xm=J("wrench",sy);/**
 * @license lucide-react v1.11.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const oy=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],lr=J("zap",oy),ry={users:Tm,orders:bm,tenants:vm,products:bi,locations:hm,partners:mm,deliveries:Sm,customers:pm,invoice:gm,payments:ym,utils:xm,mobile:bi};function fy({graphqlTopics:e,restTopics:t,activeTopic:a,setActiveTopic:l,searchQuery:n,setSearchQuery:i}){const[u,c]=P.useState({general:!0,graphql:!0,rest:!0}),s=g=>c(v=>({...v,[g]:!v[g]})),f=(g,v,d)=>y.jsxs("div",{children:[y.jsxs("button",{onClick:()=>s(d),className:"w-full flex items-center justify-between px-2 py-1.5 text-slate-800 font-semibold text-sm hover:text-brand-600 transition-colors group",children:[y.jsx("span",{className:"tracking-wide text-xs uppercase text-slate-400 group-hover:text-brand-500 transition-colors",children:v}),u[d]?y.jsx(Io,{size:14,className:"text-slate-400"}):y.jsx(Po,{size:14,className:"text-slate-400"})]}),y.jsx("div",{className:`mt-2 space-y-1 overflow-hidden transition-all duration-500 ${u[d]?"max-h-[800px] opacity-100":"max-h-0 opacity-0"}`,children:g.map(p=>{const S=(a==null?void 0:a.uniqueId)===p.uniqueId,x=ry[p.id]||tr;return y.jsxs("button",{onClick:()=>l(p),className:`w-full flex items-center gap-2.5 px-3 py-2 rounded-lg text-sm transition-all duration-200 group ${S?"text-brand-700 bg-brand-50 shadow-sm font-medium":"text-slate-600 hover:text-slate-900 hover:bg-slate-100/50"}`,children:[y.jsx(x,{size:16,className:`${S?"text-brand-500":"text-slate-400 group-hover:text-slate-500"} transition-colors`}),p.name]},p.uniqueId)})})]});return y.jsxs("div",{className:"w-[280px] glass h-screen fixed top-0 left-0 flex flex-col z-20 transition-all",children:[y.jsxs("div",{className:"p-6 border-b border-slate-100/50",children:[y.jsxs("div",{className:"flex items-center gap-3 text-slate-900 font-bold text-xl mb-6",children:[y.jsx("div",{className:"w-8 h-8 rounded-lg bg-gradient-to-br from-brand-500 to-indigo-600 flex items-center justify-center shadow-glow",children:y.jsx(tr,{className:"text-white w-4 h-4"})}),y.jsx("span",{className:"tracking-tight",children:"NearleDaily"})]}),y.jsxs("div",{className:"relative group",children:[y.jsx(ty,{className:"w-4 h-4 absolute left-3 top-3 text-slate-400 group-focus-within:text-brand-500 transition-colors"}),y.jsx("input",{type:"text",className:"w-full pl-9 pr-3 py-2.5 bg-slate-50/50 border border-slate-200/60 rounded-xl text-sm focus:outline-none focus:ring-2 focus:ring-brand-500/20 focus:border-brand-500 focus:bg-white transition-all placeholder:text-slate-400",placeholder:"Search documentation...",value:n,onChange:g=>i(g.target.value)})]})]}),y.jsx("div",{className:"flex-1 overflow-y-auto py-6 px-4 scrollbar-hide",children:y.jsxs("nav",{className:"space-y-6",children:[y.jsxs("div",{children:[y.jsxs("button",{onClick:()=>s("general"),className:"w-full flex items-center justify-between px-2 py-1.5 text-slate-800 font-semibold text-sm hover:text-brand-600 transition-colors group",children:[y.jsx("span",{className:"tracking-wide text-xs uppercase text-slate-400 group-hover:text-brand-500 transition-colors",children:"Getting Started"}),u.general?y.jsx(Io,{size:14,className:"text-slate-400"}):y.jsx(Po,{size:14,className:"text-slate-400"})]}),y.jsx("div",{className:`mt-2 space-y-1 overflow-hidden transition-all duration-300 ${u.general?"max-h-40 opacity-100":"max-h-0 opacity-0"}`,children:y.jsxs("button",{onClick:()=>l(null),className:`w-full flex items-center gap-2.5 px-3 py-2 rounded-lg text-sm transition-all duration-200 ${a?"text-slate-600 hover:text-slate-900 hover:bg-slate-100/50":"text-brand-700 bg-brand-50 shadow-sm font-medium"}`,children:[y.jsx(iy,{size:16,className:a?"text-slate-400":"text-brand-500"}),"Introduction"]})})]}),e.length>0&&f(e,"GraphQL","graphql"),t.length>0&&f(t,"REST API","rest")]})})]})}const dy={getsubcategory:{query:`
      query GetSubCategory($moduleid: bigint!, $categoryid: bigint!) {
        app_subcategory(
          where: {
            categoryid: { _eq: $categoryid }
            category: { modules: { moduleid: { _eq: $moduleid } } }
          }
        ) {
          subcategoryid
          categoryid
          categorytypeid
          subcategoryname
          categoryname
          sortorder
          status
          statuscode
        }
      }
    `,variables:`{
  "moduleid": 6,
  "categoryid": 1
}`},getorders:{query:`
      query GetOrders(
        $start: timestamptz!
        $end: timestamptz!
        $status: String!
        $limit: Int!
        $offset: Int!
      ) {
        orders(
          where: {
            deliverytime: { _gte: $start, _lte: $end }
            orderstatus: { _eq: $status }
          }
          limit: $limit
          offset: $offset
        ) {
          orderheaderid
          orderid
          orderstatus
          deliverytime
          orderamount
          tenant {
            tenantname
          }
        }
      }
    `,variables:`{
  "start": "2026-01-01T00:00:00",
  "end": "2026-01-31T23:59:59",
  "status": "delivered",
  "limit": 10,
  "offset": 0
}`},gettenantlocations:{query:`
      query GetTenantLocations($tenantid: bigint!) {
        tenant_locations(where: { tenantid: { _eq: $tenantid } }) {
          locationid
          locationname
          tenantid
        }
      }
    `,variables:`{
  "tenantid": 1
}`},getapplocations:{query:`
      query GetAppLocations($userid: bigint!) {
        details: app_location(
          where: {
            app_locationconfigs: {
              status: { _eq: "Active" }
              userid: { _eq: $userid }
            }
          }
        ) {
          applocationid
          locationname
        }
      }
    `,variables:`{
  "userid": 1
}`},getusers:{query:`
      query GetUsers {
        app_user {
          userid
          username
          email
          contactno
          status
        }
      }
    `,variables:"{}"},gettenantinfo:{query:`
      query GetTenantInfo($tenantid: bigint!) {
        tenants(where: { tenantid: { _eq: $tenantid } }) {
          tenantid
          tenantname
          email
          contactno
          status
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "configid": 1,
  "fromdate": "2025-07-24T00:00:00",
  "todate": "2025-07-24T23:59:59"
}`},getordersummary:{query:`
      query GetOrderSummary(
        $tenantid: bigint!
        $configid: bigint!
        $fromdate: timestamp!
        $todate: timestamp!
      ) {
        orders_aggregate(
          where: {
            tenantid: { _eq: $tenantid }
            deliverytime: { _gte: $fromdate, _lte: $todate }
          }
        ) {
          aggregate {
            count
          }
        }
        orders(
          where: {
            tenantid: { _eq: $tenantid }
            deliverytime: { _gte: $fromdate, _lte: $todate }
          }
          limit: 10
          order_by: { deliverytime: desc }
        ) {
          orderid
          orderstatus
          orderamount
          deliverytime
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "fromdate": "2025-07-24T00:00:00",
  "todate": "2025-07-24T23:59:59"
}`},getcustomersbytenant:{query:`
      query GetCustomersByTenant(
        $tenantid: bigint!
        $limit: Int!
        $offset: Int!
      ) {
        tenantcustomers(
          where: { tenantid: { _eq: $tenantid } }
          limit: $limit
          offset: $offset
          order_by: { customer: { customerid: desc } }
        ) {
          tenantlocationid: locationid
          customer {
            customerid
            firstname
            lastname
            contactno
            email
            address
            suburb
            city
            state
            landmark
            doorno
            postcode
            latitude
            longitude
            applocationid
            status
          }
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "limit": 10,
  "offset": 0
}`},getapproles:{query:`
      query GetAppRoles($configid: bigint!) {
        app_roles(where: { configid: { _eq: $configid } }) {
          roleid
          rolename
          configid
        }
      }
    `,variables:`{
  "configid": 1
}`},getactivelocationbyid:{query:`
      query GetActiveLocationById {
        app_locations(where: { status: { _eq: "Active" } }) {
          locationid
          locationname
        }
      }
    `,variables:"{}"},getlocationsconfig:{query:`
      query GetLocations {
        details: app_location(where: {status: {_eq: "Active"}}) {
          applocationid
          locationname
          image
          city
          state
          postcode
          latitude
          longitude
          opentime
          closetime
          radius
          applocationadmins: app_locationconfigs(where: {notify: {_eq: "true"}}) {
            applocationid
            userid
            notify
            app_user {
              userfcmtokem: userfcmtoken
            }
          }
        }
      }
    `,variables:"{}"},getpartners:{query:`
      query GetPartners(
        $applocationid: bigint!
        $partnerid: bigint!
        $limit: Int!
        $offset: Int!
      ) {
        details: partnerinfo(
          where: {
            status: { _eq: "Active" }
            _and: [
              {
                _or: [
                  { applocationid: { _eq: $applocationid } }
                  { applocationid: { _eq: 0 } }
                ]
              }
              {
                _or: [
                  { partnerid: { _eq: $partnerid } }
                  { partnerid: { _eq: 0 } }
                ]
              }
            ]
          }
          limit: $limit
          offset: $offset
        ) {
          partnerid
          applocationid
          partnertypeid
          partnername
          primarycontact
          primaryemail
          contactno
          address
          suburb
          state
          city
          partnerimage
        }
      }
    `,variables:`{
  "applocationid": 1,
  "partnerid": 0,
  "limit": 10,
  "offset": 0
}`},getridershifts:{query:`
      query GetRiderShifts($applocationid: bigint!) {
        details: ridershifts(
          where: { applocationid: { _eq: $applocationid } }
          order_by: { shiftid: desc }
        ) {
          shiftid
          shiftdate
          starttime
          endtime
          shifthours
          basefare
          additionalkm
          additionalcharges
          orders
          fuelcharge
          shiftname
        }
      }
    `,variables:`{
  "applocationid": 1
}`},getapptypes:{query:`
      query GetTypes($tag: String!) {
        app_types(where: { status: { _eq: "Active" }, tag: { _eq: $tag } }) {
          apptypeid
          typename
          tag
          status
          description
          mapid
          created
          updated
        }
      }
    `,variables:`{
  "tag": "partner"
}`},gettenantcustomers:{query:`
      query GetTenantCustomers(
        $tenantid: bigint!
        $locationid: bigint!
        $limit: Int!
        $offset: Int!
      ) {
        details: tenantcustomers(
          where: {
            tenantid: { _eq: $tenantid }
            locationid: { _eq: $locationid }
            customer: { customerid: { _is_null: false } }
          }
          limit: $limit
          offset: $offset
          order_by: { customer: { customerid: desc } }
        ) {
          tenantlocationid: locationid
          customer {
            customerid
            firstname
            lastname
            contactno
            email
            address
            suburb
            city
            state
            landmark
            doorno
            postcode
            latitude
            longitude
            applocationid
            status
          }
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "locationid": 1,
  "limit": 10,
  "offset": 0
}`},getproductcategories:{query:`
      query GetProductCategories($moduleid: bigint!) {
        productcategories(
          where: { moduleid: { _eq: $moduleid }, status: { _eq: "Active" } }
          order_by: { sortorder: asc }
        ) {
          categoryid
          moduleid
          categorytypeid
          categoryname
          status
          created
          updated
        }
      }
    `,variables:`{
  "moduleid": 6
}`},getproductsubcategories:{query:`
      query GetProductSubCategories($categoryid: bigint!) {
        product_subcategories(where: { categoryid: { _eq: $categoryid } }) {
          subcategoryid
          categoryid
          subcategoryname
          status
        }
      }
    `,variables:`{
  "categoryid": 1
}`},getproductvariants:{query:`
      query GetProductVariants($tenantid: bigint!, $subcategoryid: bigint!) {
        productvariants(
          where: {
            tenantid: { _eq: $tenantid }
            subcategoryid: { _eq: $subcategoryid }
          }
        ) {
          variantid
          productid
          tenantid
          categoryid
          subcategoryid
          variantname
          price
          status
          created
          updated
          category {
            categoryname
          }
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "subcategoryid": 1
}`},getstockstatement:{query:`
      query GetStockStatement(
        $tenantid: bigint!
        $locationid: bigint!
        $subcategoryid: bigint
        $keyword: String
        $limit: Int
        $offset: Int
      ) {
        product_stock_statement(
          where: {
            tenantid: { _eq: $tenantid }
            locationid: { _eq: $locationid }
            subcategoryid: { _eq: $subcategoryid }
            productname: { _ilike: $keyword }
          }
          limit: $limit
          offset: $offset
          order_by: { productid: desc }
        ) {
          productid
          productname
          productimage
          categoryid
          subcategoryid
          productunit
          unitvalue
          productcost
          taxpercent
          taxamount
          retailprice
          tenantid
          locationid
          opening
          credit
          debit
          closing
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "locationid": 1,
  "subcategoryid": null,
  "keyword": "%",
  "limit": 10,
  "offset": 0
}`},gettenantdeliveries:{query:`
      query GetTenantDeliveriesFull(
        $tenantid: bigint!
        $status: String
        $fromdate: timestamp
        $todate: timestamp
        $keyword: String
        $limit: Int
        $offset: Int
      ) {
        deliveries(
          where: {
            tenantid: { _eq: $tenantid }
            _and: [
              { orderstatus: { _eq: $status } }
              { deliverydate: { _gte: $fromdate } }
              { deliverydate: { _lte: $todate } }
              {
                _or: [
                  { pickupcustomer: { _ilike: $keyword } }
                  { deliverycustomer: { _ilike: $keyword } }
                  { pickupcontactno: { _ilike: $keyword } }
                  { deliverycontactno: { _ilike: $keyword } }
                  { orderid: { _ilike: $keyword } }
                ]
              }
            ]
          }
          limit: $limit
          offset: $offset
          order_by: { deliveryid: desc }
        ) {
          deliveryid
          orderid
          deliverydate
          orderstatus
          pickupcustomer
          pickupcontactno
          pickupaddress
          deliverycustomer
          deliverycontactno
          deliveryaddress
          kms
          customers {
            customertoken
          }
          app_users {
            firstname
            contactno
          }
          tenants {
            tenantname
            primarycontact
          }
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "status": "delivered",
  "fromdate": "2026-01-01T00:00:00",
  "todate": "2026-01-31T23:59:59",
  "keyword": "%",
  "limit": 10,
  "offset": 0
}`},getinvoiceinsight:{query:`
      query GetInvoiceInsight($tenantid: bigint!) {
        invoice_insight(where: { tenantid: { _eq: $tenantid } }) {
          totalcount
          total
          pendingcount
          pending
          pendingpercent
          confirmedcount
          confirmed
          confirmedpercent
          paidcount
          paid
          paidpercent
          overduecount
          overdue
          overduepercent
        }
      }
    `,variables:`{
  "tenantid": 1079
}`},getproductscount:{query:`
      query GetProductsCount(
        $tenantid: bigint!
        $categoryid: bigint!
        $subcategoryid: bigint!
      ) {
        total: products_aggregate(
          where: {
            tenantid: { _eq: $tenantid }
            categoryid: { _eq: $categoryid }
            subcategoryid: { _eq: $subcategoryid }
          }
        ) {
          aggregate {
            count
          }
        }
        available: products_aggregate(
          where: {
            tenantid: { _eq: $tenantid }
            categoryid: { _eq: $categoryid }
            subcategoryid: { _eq: $subcategoryid }
            productstatus: { _eq: "available" }
          }
        ) {
          aggregate {
            count
          }
        }
        outofstock: products_aggregate(
          where: {
            tenantid: { _eq: $tenantid }
            categoryid: { _eq: $categoryid }
            subcategoryid: { _eq: $subcategoryid }
            productstatus: { _eq: "outofstock" }
          }
        ) {
          aggregate {
            count
          }
        }
      }
    `,variables:`{
  "tenantid": 1079,
  "categoryid": 1,
  "subcategoryid": 1
}`},createproduct:{query:`
      mutation CreateProduct($object: products_insert_input!) {
        insert_products_one(object: $object) {
          productid
          applocationid
          tenantid
          categoryid
          subcategoryid
          productname
          productimage
          productdesc
          productsku
          productbrand
          productunit
          unitvalue
          toppicks
          productcost
          taxamount
          taxpercent
          producttax
          productstock
          productcombo
          variants
          quantity
          retailprice
          diffprice
          diffpercent
          othercost
          approve
          productstatus
        }
      }
    `,variables:`{
      "object": {
        "applocationid": 1,
        "tenantid": 1079,
        "categoryid": 1,
        "subcategoryid": 1,
        "productname": "Sample Product",
        "productimage": "",
        "productdesc": "Sample description",
        "productsku": "SKU123",
        "productbrand": "BrandX",
        "productunit": "kg",
        "unitvalue": 1,
        "toppicks": false,
        "productcost": 50,
        "taxamount": 5,
        "taxpercent": 10,
        "producttax": true,
        "productstock": 100,
        "productcombo": false,
        "variants": false,
        "quantity": 100,
        "retailprice": 60,
        "diffprice": 10,
        "diffpercent": 20,
        "othercost": 0,
        "approve": true,
        "productstatus": "available"
      }
    }`},getinvoices:{query:`
      query GetInvoices($tenantid: bigint!, $billstatus: bigint!) {
        tenantsales(
          where: {
            tenantid: { _eq: $tenantid }
            billstatus: { _eq: $billstatus }
          }
          order_by: { salesid: desc }
        ) {
          salesid
          tenantid
          totalamount
          billstatus
          duedate
          status
        }
      }
    `,variables:`{
      "tenantid": 1079,
      "billstatus": 1
    }`},getcustomerlocations:{query:`
      query GetCustomerLocations($customerid: bigint!) {
        customer_locations(where: { customerid: { _eq: $customerid } }) {
          locationid
          latitude
          longitude
          address
        }
      }
    `,variables:`{
  "customerid": 6060
}`},getcustomerordersv3:{query:`
      query GetCustomerOrders($customerid: bigint!, $tenantid: bigint!, $moduleid: bigint!, $fromdate: timestamptz!, $todate: timestamptz!, $orderstatus: String!, $keyword: String, $limit: Int!, $offset: Int!) {
        orders(
          where: {
            customerid: { _eq: $customerid }
            tenantid: { _eq: $tenantid }
            moduleid: { _eq: $moduleid }
            orderstatus: { _eq: $orderstatus }
            orderdate: { _gte: $fromdate, _lte: $todate }
            _or: [{ orderid: { _ilike: $keyword } }]
          }
          limit: $limit
          offset: $offset
        ) {
          orderid
          orderstatus
          orderamount
        }
      }
    `,variables:`{
  "customerid": 6060,
  "tenantid": 1087,
  "moduleid": 2,
  "fromdate": "2026-01-01T00:00:00",
  "todate": "2026-12-31T23:59:59",
  "orderstatus": "delivered",
  "keyword": "%pizza%",
  "limit": 10,
  "offset": 0
}`},getcustomer:{query:`
      query GetCustomer($customerid: bigint!) {
        customers(where: { customerid: { _eq: $customerid } }) {
          customerid
          name
          contactno
        }
      }
    `,variables:`{
  "customerid": 6060
}`},getcustomerrequests:{query:`
      query GetCustomerRequests($customerid: bigint!, $limit: Int!, $offset: Int!) {
        customer_requests(where: { customerid: { _eq: $customerid } }, limit: $limit, offset: $offset) {
          requestid
          status
        }
      }
    `,variables:`{
  "customerid": 6060,
  "limit": 10,
  "offset": 0
}`},getmobileproductsubcategories:{query:`
      query GetProductSubcategories($categoryid: bigint!) {
        app_subcategory(where: { categoryid: { _eq: $categoryid } }) {
          subcategoryid
          subcategoryname
        }
      }
    `,variables:`{
  "categoryid": 1001
}`},getmobileappcategories:{query:`
      query GetAppCategories {
        app_category {
          categoryid
          categoryname
        }
      }
    `,variables:"{}"},getmobileproductvariants:{query:`
      query GetProductVariants($tenantid: bigint!, $subcategoryid: bigint!) {
        product_variants(where: { tenantid: { _eq: $tenantid }, subcategoryid: { _eq: $subcategoryid } }) {
          variantid
          productname
          price
        }
      }
    `,variables:`{
  "tenantid": 1087,
  "subcategoryid": 14
}`},gettenantpromotions:{query:`
      query GetTenantPromotions($tenantid: bigint!, $locationid: bigint!) {
        promotions(where: { tenantid: { _eq: $tenantid }, locationid: { _eq: $locationid } }) {
          promotionid
          title
        }
      }
    `,variables:`{
  "tenantid": 1087,
  "locationid": 1
}`},getappconfig:{query:`
      query GetAppConfig($configid: bigint!) {
        app_config(where: { configid: { _eq: $configid } }) {
          configkey
          configvalue
        }
      }
    `,variables:`{
  "configid": 15
}`},searchcustomers:{query:`
      query SearchCustomers($tenantid: bigint!, $keyword: String!) {
        customers(where: { tenantid: { _eq: $tenantid }, name: { _ilike: $keyword } }) {
          customerid
          name
        }
      }
    `,variables:`{
  "tenantid": 1087,
  "keyword": "%john%"
}`},gettenantorders:{query:`
      query GetTenantOrders {
        orders {
          orderid
          tenantid
        }
      }
    `,variables:"{}"},getstaff:{query:`
      query GetStaff($tenantid: bigint!) {
        staff(where: { tenantid: { _eq: $tenantid } }) {
          staffid
          name
        }
      }
    `,variables:`{
  "tenantid": 1087
}`},getmobileapplocations:{query:`
      query GetAppLocations {
        app_location {
          applocationid
          locationname
        }
      }
    `,variables:"{}"}},Em="https://api.workolik.com",my=[{id:"users",name:"Users",description:"Manage users and roles within the NearleDaily ecosystem.",endpoints:[{name:"getusers",method:"GET",url:"/api/rest/getusers?roleid=1&tenantid=1079&limit=10&offset=0",description:"Retrieve a list of all users in the system."},{name:"getapproles",method:"GET",url:"/api/rest/getapproles?configid=1",description:"Get all application roles based on a specific configuration."}]},{id:"orders",name:"Orders",description:"Endpoints related to creating, updating, and querying customer orders.",endpoints:[{name:"getorders",method:"GET",url:"/api/rest/getorders?start=2026-01-01T00:00:00&end=2026-01-31T23:59:59&status=delivered&limit=10&offset=0",description:"Get detailed order information within a time frame."},{name:"getordersummary",method:"GET",url:"/api/rest/getordersummary?tenantid=1079&configid=1&fromdate=2025-07-24T00:00:00&todate=2025-07-24T23:59:59",description:"Retrieve high-level summary and aggregated counts for orders."}]},{id:"tenants",name:"Tenants",description:"Manage tenant details, their customers, and their specific delivery statistics.",endpoints:[{name:"gettenantinfo",method:"GET",url:"/api/rest/gettenantinfo?tenantid=1079",description:"Get specific information about a tenant by their ID."},{name:"gettenantlocations",method:"GET",url:"/api/rest/gettenantlocations?tenantid=1",description:"Get all physical locations linked to a tenant."},{name:"getcustomersbytenant",method:"GET",url:"/api/rest/getcustomersbytenant?tenantid=1079&limit=10&offset=0",description:"Retrieve customers associated with a specific tenant."},{name:"gettenantcustomers",method:"GET",url:"/api/rest/gettenantcustomers?tenantid=1079&locationid=1&limit=10&offset=0",description:"Get customers under a specific tenant and location combination."},{name:"gettenantdeliveries",method:"GET",url:"/api/rest/gettenantdeliveries?tenantid=1079&status=delivered&fromdate=2026-01-01T00:00:00&todate=2026-01-31T23:59:59&keyword=%25&limit=10&offset=0",description:"Query extensive delivery data for a tenant including pickup/delivery info."},{name:"getinvoiceinsight",method:"GET",url:"/api/rest/getinvoiceinsight?tenantid=1079",useGraphql:!0,description:"Retrieve detailed insights and statistics regarding tenant invoices."},{name:"getinvoices",method:"GET",url:"/api/rest/getinvoices?tenantid=1079&billstatus=1",useGraphql:!0,description:"Retrieve all invoices for a tenant based on their billing status."}]},{id:"products",name:"Products",description:"Operations for managing product catalogs, categories, variants, and stock tracking.",endpoints:[{name:"getproductcategories",method:"GET",url:"/api/rest/getproductcategories?moduleid=6",description:"Get all root product categories for a specific module."},{name:"getsubcategory",method:"GET",url:"/api/rest/getsubcategory?moduleid=6&categoryid=1",description:"Get a specific subcategory belonging to a root category."},{name:"getproductsubcategories",method:"GET",url:"/api/rest/getproductsubcategories?categoryid=1",description:"List all subcategories under a specific root category."},{name:"getproductvariants",method:"GET",url:"/api/rest/getproductvariants?tenantid=1079&subcategoryid=1",description:"Get different variants of products (e.g. sizes, colors) for a tenant."},{name:"getstockstatement",method:"GET",url:"/api/rest/getstockstatement?tenantid=1079&locationid=1&subcategoryid=&keyword=%25&limit=10&offset=0",description:"Generate a comprehensive statement of stock including opening, credit, debit, closing balances."},{name:"getproductscount",method:"GET",url:"/api/rest/getproductscount?tenantid=1079&categoryid=1&subcategoryid=1",description:"Get aggregated counts of products available and out of stock."},{name:"createproduct",method:"POST",url:"/api/rest/createproduct",useGraphql:!0,description:"Create a new product within the catalog."}]},{id:"locations",name:"Apps & Locations",description:"Query configuration endpoints for application locations and active statuses.",endpoints:[{name:"getapplocations",method:"GET",url:"/api/rest/getapplocations?userid=1",useGraphql:!0,description:"Retrieve application location settings for a specific user."},{name:"getactivelocationbyid",method:"GET",url:"/api/rest/getapplocations",description:"List all currently active locations globally."},{name:"getlocationsconfig",method:"GET",url:"/api/rest/getapplocationconfig",description:"Retrieve the global configuration properties for application locations."},{name:"getapptypes",method:"GET",url:"/api/rest/getapptypes?tag=partner",description:"Get specific application types grouped by a tag name."}]},{id:"partners",name:"Partners",description:"Manage partners, drivers/riders, and their shifts and earnings.",endpoints:[{name:"getpartners",method:"GET",url:"/api/rest/getpartners?applocationid=1&partnerid=0&limit=10&offset=0",description:"Retrieve a list of active partners associated with locations."},{name:"getridershifts",method:"GET",url:"/api/rest/getridershifts?applocationid=1",description:"Get historic and active shift records for riders in a specific location."}]},{id:"mobile",name:"Mobile",description:"Specific endpoints and GraphQL queries optimized for mobile application integration.",endpoints:[{name:"getcustomerlocations",method:"GET",url:"/api/rest/getcustomerlocations?customerid=6060",description:"Retrieve physical locations associated with a specific customer."},{name:"getcustomerordersv3",method:"GET",url:"/api/rest/getcustomerordersv3?customerid=6060&tenantid=1087&moduleid=2&fromdate=2026-01-01T00:00:00&todate=2026-12-31T23:59:59&orderstatus=delivered&keyword=%25pizza%25&limit=10&offset=0",description:"Fetch comprehensive order history for a customer with advanced filtering."},{name:"getcustomer",method:"GET",url:"/api/rest/getcustomer?customerid=6060",description:"Get profile details for a specific customer."},{name:"getcustomerrequests",method:"GET",url:"/api/rest/getcustomerrequests?customerid=6060&limit=10&offset=0",description:"List all service requests made by a customer."},{name:"getmobileproductsubcategories",method:"GET",url:"/api/rest/getmobileproductsubcategories?categoryid=1001",description:"Retrieve subcategories under a specific product category for mobile display."},{name:"getmobileappcategories",method:"GET",url:"/api/rest/getmobileappcategories",description:"Fetch all available application categories."},{name:"getmobileproductvariants",method:"GET",url:"/api/rest/getmobileproductvariants?tenantid=1087&subcategoryid=14",description:"Get product variants filtered by tenant and subcategory."},{name:"gettenantpromotions",method:"GET",url:"/api/rest/gettenantpromotions?tenantid=1087&locationid=1",description:"Retrieve active promotions for a specific tenant location."},{name:"getappconfig",method:"GET",url:"/api/rest/getappconfig?configid=15",description:"Retrieve specific application configuration settings."},{name:"searchcustomers",method:"GET",url:"/api/rest/searchcustomers?tenantid=1087&keyword=%25john%25",description:"Search for customers by name within a tenant's scope."},{name:"gettenantorders",method:"GET",url:"/api/rest/gettenantorders",description:"List orders across tenants (Admin level)."},{name:"getstaff",method:"GET",url:"/api/rest/getstaff?tenantid=1087",description:"Retrieve staff members associated with a specific tenant."},{name:"gettenantinfo",method:"GET",url:"/api/rest/gettenantinfo?tenantid=1079",description:"Get basic information about a tenant."},{name:"gettenantlocations",method:"GET",url:"/api/rest/gettenantlocations?tenantid=1",description:"Fetch all locations for a given tenant."},{name:"getmobileapplocations",method:"GET",url:"/api/rest/getmobileapplocations",description:"Retrieve all application-wide locations."},{name:"getsubcategory",method:"GET",url:"/api/rest/getsubcategory?moduleid=6&categoryid=1",description:"Get detailed subcategory info."},{name:"getpartners",method:"GET",url:"/api/rest/getpartners?applocationid=1&partnerid=44&limit=10&offset=0",description:"Retrieve partner details for mobile integration."},{name:"getlocationsconfig",method:"GET",url:"/api/rest/getlocationsconfig",useGraphql:!0,description:"Get location configuration settings."}]}],py=/("(?:\\u[a-fA-F0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(?:true|false|null)\b|-?\d+(?:\.\d+)?(?:[eE][+\-]?\d+)?)/g;function yy(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function nr(e){let t;try{t=JSON.stringify(e,null,2)}catch{t=String(e)}return typeof t!="string"&&(t=String(t)),yy(t).replace(py,a=>{let l="text-amber-300";return/^"/.test(a)?l=/:$/.test(a)?"text-sky-300":"text-emerald-300":a==="true"||a==="false"?l="text-violet-300":a==="null"&&(l="text-rose-300"),`<span class="${l}">${a}</span>`})}function gy(e){try{return decodeURIComponent(e)}catch{return e}}function ir(e){const[,t=""]=e.split("?"),a={};if(t)for(const l of t.split("&")){const[n,i=""]=l.split("=");n&&(a[n]=gy(i))}return a}function vy({endpoint:e,topic:t}){const a=t.type==="rest",l=a?null:dy[e.name],[n,i]=P.useState((l==null?void 0:l.query)||""),[u,c]=P.useState((l==null?void 0:l.variables)||"{}"),[s,f]=P.useState(()=>ir(e.url)),[g,v]=P.useState(null),[d,p]=P.useState(!1),[S,x]=P.useState(null),[D,r]=P.useState(!1);P.useEffect(()=>{i((l==null?void 0:l.query)||""),c((l==null?void 0:l.variables)||"{}"),f(ir(e.url)),v(null),x(null)},[e.name]);const o=async()=>{if(g)try{await navigator.clipboard.writeText(JSON.stringify(g.data,null,2)),r(!0),setTimeout(()=>r(!1),1500)}catch{}},m=async()=>{x(null),p(!0),v(null);try{if(a){const z=e.url.split("?")[0],T=e.method==="GET";let M=t.baseUrl+e.url;if(T&&Object.keys(s).length>0){const Mt=new URLSearchParams(s).toString();M=t.baseUrl+z+(Mt?"?"+Mt:"")}const A={method:e.method,headers:{"Content-Type":"application/json"}};!T&&e.body&&(A.body=typeof e.body=="string"?e.body:JSON.stringify(e.body));const N=await fetch(M,A),ie=await N.text();let _e;try{_e=JSON.parse(ie)}catch{_e=ie}v({status:N.status,ok:N.ok,data:_e})}else{const z=t.baseUrl;let T=z+e.url;const M={method:e.method,headers:{"x-hasura-admin-secret":"nearle-admin-secret","Content-Type":"application/json"}};if(e.method==="GET"&&!e.useGraphql){const ie=Object.entries(s).filter(([,rl])=>String(rl).trim()==="").map(([rl])=>rl);if(ie.length){x("Required parameter(s): "+ie.join(", ")),p(!1);return}const _e=e.url.split("?")[0],Mt=new URLSearchParams(s).toString();T=z+_e+(Mt?"?"+Mt:"")}else{const ie=u!=null&&u.trim()?JSON.parse(u):{};T=z+"/v1/graphql",M.method="POST",M.body=JSON.stringify({query:n,variables:ie})}const A=await fetch(T,M),N=await A.json();v({status:A.status,ok:A.ok,data:N})}}catch(z){x(String(z))}finally{p(!1)}},h={GET:"bg-emerald-100/50 text-emerald-700 border-emerald-200",POST:"bg-blue-100/50 text-blue-700 border-blue-200",PUT:"bg-amber-100/50 text-amber-700 border-amber-200",DELETE:"bg-red-100/50 text-red-700 border-red-200",PATCH:"bg-purple-100/50 text-purple-700 border-purple-200"}[e.method]||"bg-slate-100/50 text-slate-700 border-slate-200",_=e.url.split("?")[0];return y.jsx("div",{className:"py-16 border-t border-slate-200/60 group/row",id:e.name,children:y.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-12 gap-12 lg:gap-16",children:[y.jsxs("div",{className:"xl:col-span-5 space-y-8",children:[y.jsxs("div",{children:[y.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[y.jsx("span",{className:`px-2.5 py-1 rounded text-xs font-bold tracking-widest border ${h}`,children:e.method}),y.jsx("h3",{className:"text-2xl font-bold text-slate-900 tracking-tight",children:e.name})]}),y.jsx("p",{className:"text-[15px] text-slate-600 leading-relaxed",children:e.description})]}),y.jsxs("div",{className:"bg-white border border-slate-200/80 rounded-xl p-3.5 font-mono text-sm shadow-sm flex items-start gap-2 group-hover/row:border-brand-300 transition-colors min-w-0",children:[y.jsx(ar,{size:14,className:"text-brand-400 shrink-0 mt-0.5"}),y.jsxs("div",{className:"min-w-0 flex-1",children:[y.jsx("div",{className:"text-xs text-slate-400 truncate",children:t.baseUrl}),y.jsx("div",{className:"font-semibold text-slate-800 break-all",children:_})]})]}),e.method==="GET"&&Object.keys(s).length>0&&y.jsxs("div",{className:"pt-2",children:[y.jsxs("h4",{className:"text-xs font-bold text-slate-400 mb-4 uppercase tracking-widest flex items-center gap-2",children:[y.jsx("span",{className:"w-4 h-[1px] bg-slate-300"})," Query Parameters"]}),y.jsx("div",{className:"space-y-4",children:Object.entries(s).map(([z,T])=>y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsxs("label",{className:"text-sm font-semibold text-slate-800 flex justify-between items-center",children:[z,y.jsx("span",{className:"text-[10px] text-slate-400 uppercase tracking-wider font-mono",children:"string"})]}),y.jsx("input",{className:"w-full px-3.5 py-2.5 bg-white border border-slate-200 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-brand-500/20 focus:border-brand-500 transition-all shadow-sm text-slate-700",value:T,placeholder:`Enter ${z}...`,onChange:M=>{const A=M.target.value;if(f(N=>({...N,[z]:A})),!a)try{c(JSON.stringify({...JSON.parse(u||"{}"),[z]:isNaN(A)||A===""?A:Number(A)},null,2))}catch{}}})]},z))})]})]}),y.jsx("div",{className:"xl:col-span-7",children:y.jsxs("div",{className:"dark-glass rounded-2xl overflow-hidden shadow-code flex flex-col h-full min-h-[450px] transform transition-transform duration-500 group-hover/row:-translate-y-1",children:[y.jsxs("div",{className:"h-10 bg-white/5 border-b border-white/5 flex items-center px-4 gap-2 shrink-0",children:[y.jsx("div",{className:"w-3 h-3 rounded-full bg-red-500/80"}),y.jsx("div",{className:"w-3 h-3 rounded-full bg-amber-500/80"}),y.jsx("div",{className:"w-3 h-3 rounded-full bg-emerald-500/80"}),y.jsx("div",{className:"ml-4 text-xs font-mono text-slate-500",children:"Request Payload"})]}),l?y.jsxs("div",{className:"flex-1 grid grid-cols-1 md:grid-cols-2 divide-y md:divide-y-0 md:divide-x divide-white/5",children:[y.jsxs("div",{className:"p-5 flex flex-col group/pane relative",children:[y.jsxs("div",{className:"text-[11px] font-bold text-slate-400 mb-3 uppercase tracking-wider flex items-center gap-2",children:[y.jsx(er,{size:14,className:"text-brand-400"})," GraphQL Query"]}),y.jsx("textarea",{className:"flex-1 w-full bg-transparent text-slate-300 font-mono text-[13px] focus:outline-none resize-none leading-relaxed selection:bg-brand-500/30 scrollbar-hide",value:n,onChange:z=>i(z.target.value),spellCheck:"false"})]}),y.jsxs("div",{className:"p-5 flex flex-col bg-white/[0.02]",children:[y.jsx("div",{className:"text-[11px] font-bold text-slate-400 mb-3 uppercase tracking-wider",children:"Variables JSON"}),y.jsx("textarea",{className:"flex-1 w-full bg-transparent text-emerald-400 font-mono text-[13px] focus:outline-none resize-none leading-relaxed selection:bg-emerald-500/30 scrollbar-hide",value:u,onChange:z=>c(z.target.value),spellCheck:"false"})]})]}):e.body?y.jsxs("div",{className:"flex-1 p-5 flex flex-col",children:[y.jsxs("div",{className:"text-[11px] font-bold text-slate-400 mb-3 uppercase tracking-wider flex items-center gap-2",children:[y.jsx(er,{size:14,className:"text-brand-400"})," Request Body (JSON)"]}),y.jsx("pre",{className:"flex-1 text-slate-300 font-mono text-[13px] whitespace-pre-wrap leading-relaxed overflow-auto scrollbar-hide",dangerouslySetInnerHTML:{__html:nr(e.body)}})]}):y.jsxs("div",{className:"flex-1 p-8 flex flex-col justify-start",children:[y.jsxs("div",{className:"text-[11px] font-bold text-slate-400 mb-4 uppercase tracking-wider flex items-center gap-2",children:[y.jsx(ar,{size:14,className:"text-brand-400"})," Full Request URL"]}),y.jsxs("div",{className:"font-mono text-[13px] leading-loose break-all",children:[y.jsx("span",{className:`font-bold mr-2 ${e.method==="GET"?"text-emerald-400":e.method==="POST"?"text-blue-400":e.method==="PUT"?"text-amber-400":e.method==="DELETE"?"text-red-400":"text-purple-400"}`,children:e.method}),y.jsx("span",{className:"text-slate-500",children:t.baseUrl}),y.jsx("span",{className:"text-slate-200",children:_}),Object.keys(s).length>0&&y.jsxs(y.Fragment,{children:[y.jsx("span",{className:"text-pink-400",children:"?"}),Object.entries(s).map(([z,T],M,A)=>y.jsxs("span",{children:[y.jsx("span",{className:"text-brand-300",children:z}),y.jsx("span",{className:"text-slate-500",children:"="}),y.jsx("span",{className:"text-slate-300",children:encodeURIComponent(T)}),M<A.length-1&&y.jsx("span",{className:"text-slate-600",children:"&"})]},z))]})]})]}),y.jsxs("div",{className:"bg-black/40 p-4 flex justify-between items-center border-t border-white/5 backdrop-blur-md",children:[y.jsx("span",{className:"text-[12px] text-brand-400 font-mono px-3 py-1 bg-brand-500/10 rounded-full border border-brand-500/20",children:"Ready"}),y.jsxs("button",{onClick:m,disabled:d,className:"bg-brand-600 hover:bg-brand-500 text-white px-5 py-2 rounded-lg text-sm font-semibold transition-all flex items-center gap-2 disabled:opacity-50 shadow-[0_0_15px_rgba(2,132,199,0.4)] hover:shadow-[0_0_25px_rgba(2,132,199,0.6)] hover:-translate-y-0.5 active:translate-y-0",children:[d?y.jsx("div",{className:"w-4 h-4 border-2 border-white/30 border-t-white rounded-full animate-spin"}):y.jsx(Pp,{size:14,className:"fill-current"}),d?"Executing...":"Send Request"]})]}),(g||S)&&y.jsxs("div",{className:"border-t border-white/10 p-5 max-h-[350px] overflow-y-auto bg-black/60 relative",children:[y.jsxs("div",{className:"sticky top-0 pb-3 mb-3 bg-black/60 backdrop-blur-md border-b border-white/5 flex items-center justify-between",children:[y.jsx("span",{className:"text-[11px] font-bold text-slate-400 uppercase tracking-wider",children:"Response JSON"}),y.jsx("div",{className:"flex items-center gap-3",children:g&&y.jsxs(y.Fragment,{children:[y.jsxs("span",{className:`text-[11px] px-2.5 py-1 rounded-md font-bold font-mono flex items-center gap-1.5 ${g.ok?"bg-emerald-500/20 text-emerald-400 border border-emerald-500/30":"bg-red-500/20 text-red-400 border border-red-500/30"}`,children:[g.ok?y.jsx(wp,{size:12}):y.jsx(Bp,{size:12}),g.status]}),y.jsxs("button",{onClick:o,className:"flex items-center gap-1.5 text-[11px] font-bold uppercase tracking-widest text-slate-400 hover:text-brand-400 transition-colors",children:[D?y.jsx(jp,{size:12}):y.jsx(Vp,{size:12}),D?"Copied":"Copy"]})]})})]}),S?y.jsx("div",{className:"text-red-400 font-mono text-[13px] leading-relaxed break-all",children:S}):typeof(g==null?void 0:g.data)=="string"?y.jsx("pre",{className:"text-slate-300 font-mono text-[13px] whitespace-pre-wrap leading-relaxed",children:g.data}):y.jsx("pre",{className:"text-slate-300 font-mono text-[13px] whitespace-pre-wrap leading-relaxed",dangerouslySetInnerHTML:{__html:nr(g==null?void 0:g.data)}})]})]})})]})})}function hy({topic:e}){return e?y.jsxs("div",{className:"pb-24",children:[y.jsxs("div",{className:"mb-12",children:[y.jsx("h1",{className:"text-4xl lg:text-5xl font-bold text-slate-900 mb-4 tracking-tight",children:e.name}),y.jsx("p",{className:"text-lg text-slate-600 max-w-3xl leading-relaxed",children:e.description}),y.jsxs("div",{className:"mt-4 flex items-center gap-3",children:[y.jsxs("span",{className:`inline-flex items-center gap-1.5 text-[11px] font-bold uppercase tracking-widest px-3 py-1 rounded-full border ${e.type==="graphql"?"bg-brand-50 text-brand-600 border-brand-100":"bg-indigo-50 text-indigo-600 border-indigo-100"}`,children:[y.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-current"}),e.type==="graphql"?"GraphQL":"REST API"]}),y.jsxs("span",{className:"text-sm text-slate-400",children:[e.endpoints.length," endpoint",e.endpoints.length!==1?"s":""]})]})]}),y.jsx("div",{className:"space-y-4",children:e.endpoints.map(t=>y.jsx(vy,{endpoint:t,topic:e},`${e.uniqueId}/${t.name}`))})]}):null}const _m="https://fiesta.nearle.app",by=[{id:"utils",name:"Utils",description:"Shared lookup endpoints: app categories, subcategories, locations, app types, configs.",endpoints:[{name:"Fetch application categories by tag (Web)",method:"GET",url:"/live/api/v1/web/utils/getapptypes?tag=customer",description:"Fetch application categories by tag (Web)"},{name:"Resolve subcategories (Web)",method:"GET",url:"/live/api/v1/web/utils/getsubcategories?moduleid=1&categoryid=2",description:"Resolve subcategories (Web)"},{name:"Fetch system active geofence details (Web)",method:"GET",url:"/live/api/v1/web/utils/getapplocations?applocationid=1",description:"Fetch system active geofence details (Web)"},{name:"Fetch global system categories configurations (Web)",method:"GET",url:"/live/api/v1/web/utils/getappcategories",description:"Fetch global system categories configurations (Web)"},{name:"Get mobile geofence configuration details (Mobile)",method:"GET",url:"/live/api/v1/mob/utils/getapplocationconfig?applocationid=1",description:"Get mobile geofence configuration details (Mobile)"},{name:"Get mobile active geofence details (Mobile)",method:"GET",url:"/live/api/v1/mob/utils/getapplocations?applocationid=1",description:"Get mobile active geofence details (Mobile)"},{name:"Fetch mobile app types by tag (Mobile)",method:"GET",url:"/live/api/v1/mob/utils/getapptypes?tag=rider",description:"Fetch mobile app types by tag (Mobile)"},{name:"Fetch global payment & geofence configs (Mobile)",method:"GET",url:"/live/api/v1/mob/utils/getappconfig?configid=1",description:"Fetch global payment & geofence configs (Mobile)"},{name:"Get mobile category subcategories list (Mobile)",method:"GET",url:"/live/api/v1/mob/utils/getsubcategories?moduleid=1&categoryid=2",description:"Get mobile category subcategories list (Mobile)"},{name:"Fetch mobile app categories configurations (Mobile)",method:"GET",url:"/live/api/v1/mob/utils/getappcategories",description:"Fetch mobile app categories configurations (Mobile)"}]},{id:"users",name:"Users",description:"Manage users, authentication, and roles across the platform.",endpoints:[{name:"Get all users (Web)",method:"GET",url:"/live/api/v1/web/users/getallusers?roleid=2&tenantid=8&pageno=1&pagesize=10&keyword=john",description:"Get all users (Web)"},{name:"Get a specific user profile by ID (Web)",method:"GET",url:"/live/api/v1/web/users/getusers?userid=12",description:"Get a specific user profile by ID (Web)"},{name:"Get a specific user profile by ID (Mobile)",method:"GET",url:"/live/api/v1/mob/users/getusers?userid=15",description:"Get a specific user profile by ID (Mobile)"},{name:"Operator/User orders board (Web)",method:"GET",url:"/live/api/v1/web/orders/user/getorders?appuserid=12&status=processing&pageno=1&pagesize=10",description:"Operator/User orders board (Web)"},{name:"Tenant Web Panel Login",method:"POST",url:"/live/api/v1/web/users/tenant/weblogin",description:"Tenant Web Panel Login",body:{authname:"merchant_admin_01",password:"PasswordSecurityHash99!"}},{name:"General Application Login",method:"POST",url:"/live/api/v1/web/users/applogin",description:"General Application Login",body:{authname:"system_operator",password:"OperatorSafePasswordSecret",deviceid:"device_uuid_8828b",devicetype:"android"}},{name:"Register New Web Staff Account",method:"POST",url:"/live/api/v1/web/users/create",description:"Register New Web Staff Account",body:{authname:"tenant_staff_steve",firstname:"Steve",lastname:"Rogers",password:"SteveSecurePassword12",email:"steve.rogers@merchant.com",dialcode:"+61",contactno:"412345678",roleid:3,pin:1234,address:"100 Flinders St",suburb:"Melbourne",city:"Melbourne",state:"VIC",postcode:"3000",tenantid:8,locationid:2,applocationid:1,status:"active"}},{name:"Update Web Staff User Details",method:"PUT",url:"/live/api/v1/web/users/update",description:"Update Web Staff User Details",body:{userid:15,firstname:"Steve",lastname:"Captain",email:"steve.captain@merchant.com",contactno:"412345678",address:"200 Flinders St",suburb:"Melbourne",city:"Melbourne",state:"VIC",postcode:"3000",status:"active"}},{name:"Rider/Merchant Mobile App Login",method:"POST",url:"/live/api/v1/mob/users/tenant/login",description:"Rider/Merchant Mobile App Login",body:{authname:"rider_john_01",password:"RiderSecretKey"}},{name:"Create Mobile Staff User",method:"POST",url:"/live/api/v1/mob/users/create",description:"Create Mobile Staff User",body:{authname:"tenant_staff_steve",firstname:"Steve",lastname:"Rogers",password:"SteveSecurePassword12",email:"steve.rogers@merchant.com",dialcode:"+61",contactno:"412345678",roleid:3,pin:1234,tenantid:8,locationid:2,applocationid:1,status:"active"}},{name:"Update Mobile Staff Details",method:"PUT",url:"/live/api/v1/mob/users/update",description:"Update Mobile Staff Details",body:{userid:15,firstname:"Steve",lastname:"Captain",email:"steve.captain@merchant.com",contactno:"412345678",status:"active"}}]},{id:"partners",name:"Partners",description:"Partners, riders, shifts, locations, and log sheets.",endpoints:[{name:"Partner fleet orders board (Web)",method:"GET",url:"/live/api/v1/web/orders/partner/getorders?partnerid=1&status=processing&pageno=1&pagesize=10",description:"Partner fleet orders board (Web)"},{name:"Get active riders (Web)",method:"GET",url:"/live/api/v1/web/partners/getriders?partnerid=1&applocationid=1&userid=12&tenantid=8",description:"Get active riders (Web)"},{name:"Get partner profiles (Web)",method:"GET",url:"/live/api/v1/web/partners/getpartners?partnerid=1&applocationid=1&userid=12",description:"Get partner profiles (Web)"},{name:"Get rider shifts (Web)",method:"GET",url:"/live/api/v1/web/partners/getridershifts?applocationid=1",description:"Get rider shifts (Web)"},{name:"Get location configurations (Web)",method:"GET",url:"/live/api/v1/web/partners/getlocations?userid=12&configid=1",description:"Get location configurations (Web)"},{name:"Get rider log sheet (Web)",method:"GET",url:"/live/api/v1/web/partners/getriderlogs?partnerid=1&applocationid=1&fromdate=2026-05-20&todate=2026-05-20",description:"Get rider log sheet (Web)"},{name:"Get partner profiles (Mobile)",method:"GET",url:"/live/api/v1/mob/partners/getpartners?partnerid=1&applocationid=1&userid=12",description:"Get partner profiles (Mobile)"},{name:"Get rider log sheet (Mobile)",method:"GET",url:"/live/api/v1/mob/partners/getriderlogs?partnerid=1&applocationid=1&fromdate=2026-05-20&todate=2026-05-20",description:"Get rider log sheet (Mobile)"},{name:"Get rider operational info (Mobile)",method:"GET",url:"/live/api/v1/mob/partners/getriderinfo?userid=15",description:"Get rider operational info (Mobile)"},{name:"Get active riders list (Mobile)",method:"GET",url:"/live/api/v1/mob/partners/getriders?partnerid=1&applocationid=1&userid=15&tenantid=8",description:"Get active riders list (Mobile)"}]},{id:"tenants",name:"Tenants",description:"Tenant accounts, locations, customers, pricing, onboarding.",endpoints:[{name:"Tenant orders board (Web)",method:"GET",url:"/live/api/v1/web/orders/tenant/getorders?tenantid=8&locationid=2&status=processing&pageno=1&pagesize=10",description:"Tenant orders board (Web)"},{name:"Get specific tenant store orders (Mobile)",method:"GET",url:"/live/api/v1/mob/orders/tenant/getorders?tenantid=8&locationid=2&pageno=1&pagesize=10",description:"Get specific tenant store orders (Mobile)"},{name:"Search registered tenants (Web)",method:"GET",url:"/live/api/v1/web/tenants/search?status=Active&keyword=Fresh",description:"Search registered tenants (Web)"},{name:"Search tenants by keyword (Web)",method:"GET",url:"/live/api/v1/web/tenants/searchbykeyword?keyword=daily",description:"Search tenants by keyword (Web)"},{name:"Get all active tenants catalog (Web)",method:"GET",url:"/live/api/v1/web/tenants/getalltenants?applocationid=1&status=Active&pageno=1&pagesize=10",description:"Get all active tenants catalog (Web)"},{name:"Get outlet locations assigned to a tenant (Web)",method:"GET",url:"/live/api/v1/web/tenants/gettenantlocations?tenantid=8",description:"Get outlet locations assigned to a tenant (Web)"},{name:"Retrieve delivery time slots config (Mobile)",method:"GET",url:"/live/api/v1/mob/tenants/gettenantslot",description:"Retrieve delivery time slots config (Mobile)"},{name:"Search tenants by keyword (Mobile)",method:"GET",url:"/live/api/v1/mob/tenants/searchbykeyword?keyword=grocery",description:"Search tenants by keyword (Mobile)"},{name:"Retrieve tenants associated with a customer (Mobile)",method:"GET",url:"/live/api/v1/mob/tenants/getcustomertenants?customerid=4082&tenant=0",description:"Retrieve tenants associated with a customer (Mobile)"},{name:"Get outlet locations linked to a tenant (Mobile)",method:"GET",url:"/live/api/v1/mob/tenants/gettenantlocations?tenantid=8",description:"Get outlet locations linked to a tenant (Mobile)"},{name:"Get logistics pricing slabs for a tenant (Mobile)",method:"GET",url:"/live/api/v1/mob/tenants/gettenantpricing?tenantid=8&applocationid=1",description:"Get logistics pricing slabs for a tenant (Mobile)"},{name:"Get staff members under a tenant store (Mobile)",method:"GET",url:"/live/api/v1/mob/tenants/getstaffs?tenantid=8",description:"Get staff members under a tenant store (Mobile)"},{name:"Get tenant detailed profile info (Mobile)",method:"GET",url:"/live/api/v1/mob/tenants/gettenantinfo?tenantid=8&locationid=2",description:"Get tenant detailed profile info (Mobile)"},{name:"Link Customer Profile to Tenant Store",method:"POST",url:"/live/api/v1/web/tenants/createtenantcustomer",description:"Link Customer Profile to Tenant Store",body:{moduleid:1,tenantid:8,locationid:2,customerid:4082,customerlocationid:554,status:1}},{name:"Create New Geofenced Store Location",method:"POST",url:"/live/api/v1/web/tenants/createlocation",description:"Create New Geofenced Store Location",body:{tenantid:8,applocationid:1,moduleid:1,locationname:"Hawthorn Daily Fresh Store",email:"hawthorn.store@merchant.com",contactno:"399443322",latitude:"-37.8222",longitude:"145.0384",address:"12 Glenferrie Rd",suburb:"Hawthorn",city:"Melbourne",state:"VIC",postcode:"3122",opentime:"07:00:00",closetime:"22:00:00",partnerid:1,deliveryradius:5e3,deliverymins:30,cancelsecs:60,status:"Active"}},{name:"Update Store Location Configurations",method:"PUT",url:"/live/api/v1/web/tenants/updatelocation",description:"Update Store Location Configurations",body:{locationid:2,tenantid:8,applocationid:1,locationname:"Richmond Daily Fresh Store",email:"richmond.store@merchant.com",contactno:"399887766",latitude:"-37.8212",longitude:"144.9984",address:"Shop 4, 100 Church St",suburb:"Richmond",city:"Melbourne",state:"VIC",postcode:"3121",opentime:"07:00:00",closetime:"22:00:00",deliveryradius:8e3,deliverymins:45,cancelsecs:120,status:"Active"}},{name:"Onboard New Tenant & Admin Profile",method:"POST",url:"/live/api/v1/mob/tenants/createtenantuser",description:"Onboard New Tenant & Admin Profile (Joint Creation)",body:{tenantname:"Fresh Organic Greens",configid:1,partnerid:1,moduleid:1,tenanttype:"Enterprise",firstname:"Arthur",primaryemail:"arthur@organicgreens.com",primarycontact:"488999000",categoryid:2,subcategoryid:12,address:"400 Chapel St",suburb:"South Yarra",city:"Melbourne",state:"VIC",postcode:"3141",applocationid:1,approved:1,status:"Active"}}]},{id:"customers",name:"Customers",description:"Customer accounts, addresses, support requests, and search.",endpoints:[{name:"Fetch customer profile by ID or Contact (Mobile)",method:"GET",url:"/live/api/v1/mob/customers/getbyid?customerid=4082&contactno=9876543210",description:"Fetch customer profile by ID or Contact (Mobile)"},{name:"Get customer saved address locations (Mobile)",method:"GET",url:"/live/api/v1/mob/customers/getcustomerlocation?customerid=4082",description:"Get customer saved address locations (Mobile)"},{name:"Get customer logged support requests (Mobile)",method:"GET",url:"/live/api/v1/mob/customers/getcustomerrequests?customerid=4082&pageno=1&pagesize=10",description:"Get customer logged support requests (Mobile)"},{name:"Search customer names under a tenant (Mobile)",method:"GET",url:"/live/api/v1/mob/customers/search?keyword=Jane&tenantid=8",description:"Search customer names under a tenant (Mobile)"},{name:"Retrieve customers linked to a tenant location (Mobile)",method:"GET",url:"/live/api/v1/mob/customers/gettenantcustomers?tenantid=8&locationid=2&pageno=1&pagesize=10",description:"Retrieve customers linked to a tenant location (Mobile)"},{name:"Retrieve merchant customers list (Web)",method:"GET",url:"/live/api/v1/web/customers/gettenantcustomers?tenantid=8&locationid=2&pageno=1&pagesize=10&keyword=jane",description:"Retrieve merchant customers list (Web)"},{name:"Individual consumer invoice histories (Web)",method:"GET",url:"/live/api/v1/web/orders/customer/getorders?customerid=4082&status=delivered&pageno=1&pagesize=10",description:"Individual consumer invoice histories (Web)"},{name:"Passwordless OTP Login (via Phone)",method:"POST",url:"/live/api/v1/mob/customers/login",description:"Passwordless OTP Login (via Phone)",body:{contactno:"0499888777"}},{name:"Register Customer Account",method:"POST",url:"/live/api/v1/mob/customers/create",description:"Register Customer Account",body:{firstname:"Jane",lastname:"Smith",gender:"Female",dob:"1994-11-20",dialcode:"+61",contactno:"499888777",email:"jane.smith@gmail.com",deviceid:"uuid_7728b991a",devicetype:"ios",authmode:1,address:"456 Oak Avenue",suburb:"Richmond",city:"Melbourne",state:"VIC",postcode:"3121",latitude:"-37.8212",longitude:"144.9984",applocationid:1,status:1}},{name:"Save New Geofenced Location Address",method:"POST",url:"/live/api/v1/mob/customers/createlocations",description:"Save New Geofenced Location Address",body:{customerid:4082,address:"123 High Street",suburb:"Prahran",city:"Melbourne",state:"VIC",postcode:"3181",latitude:"-37.8502",longitude:"144.9924",primaryaddress:1,status:1}},{name:"Log Customer Support Ticket Request",method:"POST",url:"/live/api/v1/mob/customers/createcustomerrequest",description:"Log Customer Support Ticket Request",body:{customerid:4082,tenantid:8,apptypeid:1,locationid:2,subject:"Delay in Morning Milk Delivery",remarks:"Order scheduled for 7:00 AM hasn't arrived.",status:1}},{name:"Update Customer Profile Details",method:"PUT",url:"/live/api/v1/mob/customers/update",description:"Update Customer Profile Details",body:{customerid:4082,firstname:"Jane",lastname:"Miller",email:"jane.miller@gmail.com",contactno:"499888777",status:1}}]},{id:"deliveries",name:"Deliveries",description:"Delivery dispatch, queues, summaries, and rider status tracking.",endpoints:[{name:"Get deliveries performance summaries (Web)",method:"GET",url:"/live/api/v1/web/deliveries/deliverysummary?tenantid=8&partnerid=1&userid=12&applocationid=1&locationid=2&fromdate=2026-05-20&todate=2026-05-20",description:"Get deliveries performance summaries (Web)"},{name:"Get daily delivery insights (Web)",method:"GET",url:"/live/api/v1/web/deliveries/getdeliveryinsight?tenantid=8",description:"Get daily delivery insights (Web)"},{name:"Get location deliveries summary (Web)",method:"GET",url:"/live/api/v1/web/deliveries/getlocationsummary?tenantid=8",description:"Get location deliveries summary (Web)"},{name:"Get deliveries financial report summary (Web)",method:"GET",url:"/live/api/v1/web/deliveries/getreportsummary?tenantid=8&partnerid=1&userid=12&applocationid=1&fromdate=2026-05-01&todate=2026-05-20",description:"Get deliveries financial report summary (Web)"},{name:"Get fleet rider summary metrics (Web)",method:"GET",url:"/live/api/v1/web/deliveries/getridersummary?applocationid=1&partnerid=1&tenantid=8&fromdate=2026-05-20&todate=2026-05-20",description:"Get fleet rider summary metrics (Web)"},{name:"Get master deliveries board (Web)",method:"GET",url:"/live/api/v1/web/deliveries/getdeliveries?tenantid=8&fromdate=2026-05-20&todate=2026-05-20",description:"Get master deliveries board (Web)"},{name:"Get mobile dispatch summaries (Mobile)",method:"GET",url:"/live/api/v1/mob/deliveries/deliverysummary?userid=15&fromdate=2026-05-20&todate=2026-05-20",description:"Get mobile dispatch summaries (Mobile)"},{name:"Get mobile deliveries board (Mobile)",method:"GET",url:"/live/api/v1/mob/deliveries/getdeliveries?userid=15&status=assigned",description:"Get mobile deliveries board (Mobile)"},{name:"Fetch rider active shift deliveries queue (Mobile)",method:"GET",url:"/live/api/v1/mob/deliveries/getdeliveryqueues?userid=15&fromdate=2026-05-20&todate=2026-05-20",description:"Fetch rider active shift deliveries queue (Mobile)"},{name:"Initialize Logistics Delivery Dispatch (Assign Rider)",method:"POST",url:"/live/api/v1/web/deliveries/createdeliveries",description:"Initialize Logistics Delivery Dispatch",body:[{orderheaderid:2100,applocationid:1,partnerid:1,tenantid:8,moduleid:1,locationid:2,userid:15,orderid:"ORD-19028-4",deliverydate:"2026-05-20",orderstatus:"assigned",assigntime:"2026-05-20 12:10:00",itemcount:2,orderamount:12.58,customerid:4082,pickupcustomer:"Central Merchant Warehouse",pickupcontactno:"987654321",pickuplocationid:2,pickupaddress:"Shop 4, Central Plaza, Melbourne",pickuplat:"-37.8136",pickuplon:"144.9631",deliverycustomerid:4082,deliverylocationid:554,deliverycustomer:"Jane Smith",deliverycontactno:"499888777",deliveryaddress:"456 Oak Avenue, Richmond, VIC, 3121",droplat:"-37.8212",droplon:"144.9984",deliverycharges:3,deliveryamt:15.58,deliverytype:"standard",paymenttype:1}]},{name:"Update Rider Pickup Status",method:"PUT",url:"/live/api/v1/web/deliveries/updatedelivery",description:"Update Rider Pickup Status",body:{deliveryid:8871,orderheaderid:2100,userid:15,orderstatus:"picked",pickuptime:"2026-05-20 12:20:00",riderslat:"-37.8140",riderslon:"144.9640"}},{name:"Rider Update Dispatch Status (Delivered)",method:"PUT",url:"/live/api/v1/mob/deliveries/updatedelivery",description:"Rider Update Dispatch Status (Delivered & GPS Tracking)",body:{deliveryid:8871,orderheaderid:2100,userid:15,orderstatus:"delivered",deliverytime:"2026-05-20 12:45:00",riderslat:"-37.8210",riderslon:"144.9980",actualkms:"4.2",feedback:"Handed over safely.",smsdelivery:1}}]},{id:"orders",name:"Orders",description:"Order boards, details, summaries, and status management.",endpoints:[{name:"Filtered dynamic orders board (Web)",method:"GET",url:"/live/api/v1/web/orders/getorders?tenantid=8&locationid=2&status=processing&pageno=1&pagesize=10",description:"Filtered dynamic orders board (Web)"},{name:"System Admin orders board (Web)",method:"GET",url:"/live/api/v1/web/orders/admin/getorders?applocationid=1&status=processing&pageno=1&pagesize=10",description:"System Admin orders board (Web)"},{name:"Get order dashboard stats summary (Web)",method:"GET",url:"/live/api/v1/web/orders/getordersummary?tenantid=8&fromdate=2026-05-01&todate=2026-05-20",description:"Get order dashboard stats summary (Web)"},{name:"Get location orders summary (Web)",method:"GET",url:"/live/api/v1/web/orders/getlocationsummary?tenantid=8",description:"Get location orders summary (Web)"},{name:"Get annual orders insights analytics (Web)",method:"GET",url:"/live/api/v1/web/orders/getorderinsight?tenantid=8",description:"Get annual orders insights analytics (Web)"},{name:"Get order detailed lines (Web)",method:"GET",url:"/live/api/v1/web/orders/getorderdetails?orderheaderid=2099",description:"Get order detailed lines (Web)"},{name:"Get customer order history (Mobile)",method:"GET",url:"/live/api/v1/mob/orders/getcustomerorders?customerid=4082&pageno=1&pagesize=10",description:"Get customer order history (Mobile)"},{name:"Get mobile order detailed lines (Mobile)",method:"GET",url:"/live/api/v1/mob/orders/getorderdetails?orderheaderid=2099",description:"Get mobile order detailed lines (Mobile)"},{name:"Create New Web Order",method:"POST",url:"/live/api/v1/web/orders/createorder",description:"Create New Web Order (Flat JSON Format)",body:{tenantid:8,locationid:2,applocationid:1,moduleid:1,customerid:4082,orderstatus:"pending",deliverytype:"standard",deliverytime:"2026-05-20 18:00:00",pickupaddress:"Shop 4, Central Plaza, Melbourne",pickuplat:"-37.8136",pickuplong:"144.9631",pickupcustomer:"Central Plaza Merchant",pickupcontactno:"399887766",deliveryaddress:"Apt 4B, Sunset Boulevard, Richmond",deliverylat:"-37.8212",deliverylong:"144.9984",orderamount:11.48,taxamount:1.1,ordervalue:12.58,itemcount:2,paymenttype:1,paymentstatus:0,deliverycharge:3,items:[{productid:105,productname:"Organic Whole Milk 1L",orderqty:2,price:3.99,taxpercentage:10,taxamount:.8,productsumprice:7.98}]}},{name:"Update Order Status & Financial Flag",method:"PUT",url:"/live/api/v1/web/orders/updateorder",description:"Update Order Status & Financial Flag",body:{orderheaderid:2099,orderstatus:"ready",paymentstatus:1,remarks:"Order packed and waiting for rider assignment."}},{name:"Create Mobile Order",method:"POST",url:"/live/api/v1/mob/orders/createorder",description:"Create Mobile Order (Wrapped JSON Format)",body:{orders:{tenantid:8,locationid:2,applocationid:1,moduleid:1,customerid:4082,orderstatus:"pending",deliverytype:"standard",deliverytime:"2026-05-20 18:00:00",pickupaddress:"Shop 4, Central Plaza, Melbourne",orderamount:11.48,taxamount:1.1,ordervalue:12.58,itemcount:2,paymenttype:1,paymentstatus:0,deliverycharge:3,items:[{productid:105,productname:"Organic Whole Milk 1L",orderqty:2,price:3.99,taxpercentage:10,taxamount:.8,productsumprice:7.98}]}}},{name:"Mobile Update Order Status",method:"PUT",url:"/live/api/v1/mob/orders/updateorder",description:"Mobile Update Order Status",body:{orderheaderid:2099,orderstatus:"ready",paymentstatus:1,remarks:"Order packed and waiting for rider assignment."}}]},{id:"products",name:"Products",description:"Product catalog, stock management, variants, and outlet inventory.",endpoints:[{name:"Get product subcategories (Web)",method:"GET",url:"/live/api/v1/web/products/getproductsubcategories?categoryid=2&tenantid=8",description:"Get product subcategories (Web)"},{name:"Get products stock counts (Web)",method:"GET",url:"/live/api/v1/web/products/getproductscount?tenantid=8&categoryid=2&subcategoryid=12&approve=1",description:"Get products stock counts (Web)"},{name:"Get all global categories (Web)",method:"GET",url:"/live/api/v1/web/products/getproductcategories",description:"Get all global categories (Web)"},{name:"Get specific product variants (Web)",method:"GET",url:"/live/api/v1/web/products/getproductvariants?tenantid=8&subcategoryid=12",description:"Get specific product variants (Web)"},{name:"Get master catalog listings (Web)",method:"GET",url:"/live/api/v1/web/products/getcatalougeproducts?tenantid=8&locationid=2&subcategoryid=12&keyword=&pageno=1&pagesize=10",description:"Get master catalog listings (Web)"},{name:"Get live stocks catalog (Web)",method:"GET",url:"/live/api/v1/web/products/getproductstocks?tenantid=8&locationid=2",description:"Get live stocks catalog (Web)"},{name:"Get dynamic stock statement ledger (Web)",method:"GET",url:"/live/api/v1/web/products/getstockstatement?tenantid=8&locationid=2&subcategoryid=12&pageno=1&pagesize=10&keyword=",description:"Get dynamic stock statement ledger (Web)"},{name:"Get outlet geofenced inventory (Web)",method:"GET",url:"/live/api/v1/web/products/getlocationproducts?tenantid=8&locationid=2&subcategoryid=12&pageno=1&pagesize=10",description:"Get outlet geofenced inventory (Web)"},{name:"Master products search board (Web)",method:"GET",url:"/live/api/v1/web/products/getallproducts?tenantid=8&locationid=2&keyword=milk&pageno=1&pagesize=10",description:"Master products search board (Web)"},{name:"Get product details by variant ID (Mobile)",method:"GET",url:"/live/api/v1/mob/products/getproductbyvariant?tenantid=8&variantid=4",description:"Get product details by variant ID (Mobile)"},{name:"Get product subcategories (Mobile)",method:"GET",url:"/live/api/v1/mob/products/getproductsubcategories?categoryid=2&tenantid=8",description:"Get product subcategories (Mobile)"},{name:"Search product catalog (Mobile)",method:"GET",url:"/live/api/v1/mob/products/getallproducts?keyword=milk&pageno=1&pagesize=10",description:"Search product catalog (Mobile)"},{name:"Get mobile geofenced outlet products (Mobile)",method:"GET",url:"/live/api/v1/mob/products/getlocationproducts?tenantid=8&locationid=2&pageno=1&pagesize=20",description:"Get mobile geofenced outlet products (Mobile)"},{name:"Add Multi-Product Stock Entry",method:"POST",url:"/live/api/v1/web/products/createproductstock",description:"Add Multi-Product Stock Entry",body:[{tenantid:8,locationid:2,productid:105,quantity:150,stocktype:"credit",status:"active"},{tenantid:8,locationid:2,productid:109,quantity:80,stocktype:"credit",status:"active"}]},{name:"Create Master Product Catalog Item",method:"POST",url:"/live/api/v1/web/products/create",description:"Create Master Product Catalog Item",body:{applocationid:1,tenantid:8,categoryid:2,subcategoryid:12,productname:"Fresh Cow Milk 1L",productunit:"Litre",unitvalue:"1",productcost:1.8,retailprice:3.5,taxpercent:5,productstock:100,productstatus:"available",approve:1}},{name:"Update Master Product Details",method:"PUT",url:"/live/api/v1/web/products/update",description:"Update Master Product Details",body:{productid:105,productname:"Organic Farm Cow Milk 1L",productcost:1.95,retailprice:3.75,productstock:120,productstatus:"available"}},{name:"Purge Master Product Catalog Entry",method:"DELETE",url:"/live/api/v1/web/products/delete?productid=105",description:"Purge Master Product Catalog Entry"}]},{id:"invoice",name:"Invoice",description:"Invoice insights and billing analytics.",endpoints:[{name:"Get invoice insights for a tenant",method:"GET",url:"/live/api/v1/web/invoice/getinvoiceinsight?tenantid=8",description:"Retrieve invoice insights and statistics for a tenant."}]},{id:"payments",name:"Payments",description:"Payment requests and settlement records.",endpoints:[{name:"Get payment requests for a partner",method:"GET",url:"/live/api/v1/web/payments/requests/getpaymentrequest?partnerid=44&status=1",description:"List payment requests for a partner by status."}]}],Sy={users:Tm,orders:bm,tenants:vm,products:bi,locations:hm,partners:mm,deliveries:Sm,customers:pm,invoice:gm,payments:ym,utils:xm,mobile:bi};function Ty({allGraphql:e,allRest:t,setActiveTopic:a}){const l=[...e,...t];return y.jsxs("div",{className:"max-w-[1000px] mx-auto px-12 py-20 lg:px-24 lg:py-28",children:[y.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-brand-50 border border-brand-100 text-brand-600 text-sm font-medium mb-8",children:[y.jsx(lr,{size:14,className:"fill-current"}),"v2.0 Developer API"]}),y.jsx("h1",{className:"text-4xl lg:text-5xl font-bold text-slate-900 mb-6 tracking-tight",children:y.jsx("span",{className:"text-gradient",children:"NearleDaily API"})}),y.jsx("p",{className:"text-xl text-slate-600 mb-12 max-w-2xl leading-relaxed",children:"A comprehensive, lightning-fast platform designed for logistics, order management, and multi-tenant POS administration — available through both Hasura GraphQL and REST APIs."}),y.jsxs("div",{className:"mb-8",children:[y.jsx("h2",{className:"text-xs font-bold uppercase tracking-widest text-slate-400 mb-4",children:"Base URLs"}),y.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mb-10",children:[y.jsxs("div",{className:"bg-white border border-slate-200/60 rounded-xl p-4 shadow-sm",children:[y.jsx("div",{className:"text-[11px] text-brand-600 font-bold uppercase tracking-widest mb-1.5",children:"GraphQL"}),y.jsx("code",{className:"font-mono text-sm text-slate-700",children:Em})]}),y.jsxs("div",{className:"bg-white border border-slate-200/60 rounded-xl p-4 shadow-sm",children:[y.jsx("div",{className:"text-[11px] text-indigo-600 font-bold uppercase tracking-widest mb-1.5",children:"REST API"}),y.jsx("code",{className:"font-mono text-sm text-slate-700",children:_m})]})]})]}),y.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:l.map((n,i)=>{const u=Sy[n.id]||lr;return y.jsxs("div",{onClick:()=>a(n),className:"group relative bg-white p-6 rounded-2xl border border-slate-200/60 shadow-sm hover:shadow-xl hover:shadow-brand-500/5 hover:border-brand-200 transition-all duration-300 cursor-pointer overflow-hidden",style:{animationDelay:`${i*80}ms`},children:[y.jsx("div",{className:"absolute top-0 right-0 w-32 h-32 bg-gradient-to-br from-brand-50 to-transparent rounded-bl-full opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),y.jsxs("div",{className:"relative z-10",children:[y.jsxs("h3",{className:"text-lg font-bold text-slate-900 mb-2 group-hover:text-brand-600 transition-colors flex items-center gap-2",children:[y.jsx("div",{className:"p-1.5 bg-brand-50 text-brand-600 rounded-md group-hover:bg-brand-100 transition-colors",children:y.jsx(u,{size:18})}),n.name,y.jsx(Op,{size:16,className:"opacity-0 -translate-x-4 group-hover:opacity-100 group-hover:translate-x-0 transition-all duration-300 ml-auto"})]}),y.jsxs("div",{className:"flex items-center gap-2 mt-1 mb-2",children:[y.jsx("span",{className:`text-[10px] font-bold uppercase tracking-widest px-2 py-0.5 rounded border ${n.type==="graphql"?"bg-brand-50 text-brand-600 border-brand-100":"bg-indigo-50 text-indigo-600 border-indigo-100"}`,children:n.type==="graphql"?"GraphQL":"REST"}),y.jsxs("span",{className:"text-[11px] text-slate-400",children:[n.endpoints.length," endpoint",n.endpoints.length!==1?"s":""]})]}),y.jsx("p",{className:"text-sm text-slate-500 leading-relaxed",children:n.description})]})]},n.uniqueId)})}),y.jsxs("div",{className:"mt-16 flex items-center gap-4 p-6 bg-slate-900 text-slate-300 rounded-2xl shadow-code",children:[y.jsx(Xp,{className:"text-brand-400 shrink-0",size:24}),y.jsx("p",{className:"text-sm",children:"Explore real-time interactive endpoints. GraphQL requests are authenticated with the admin secret. REST endpoints support CORS and can be called directly from the browser."})]})]})}const zm=(e,t,a)=>e.map(l=>({...l,baseUrl:t,type:a,uniqueId:`${a}-${l.id}`})),ur=zm(my,Em,"graphql"),cr=zm(by,_m,"rest");function sr(e,t){return t?e.filter(a=>a.name.toLowerCase().includes(t)||(a.description||"").toLowerCase().includes(t)||a.endpoints.some(l=>l.name.toLowerCase().includes(t)||l.url.toLowerCase().includes(t)||(l.description||"").toLowerCase().includes(t))):e}function xy(){const[e,t]=P.useState(null),[a,l]=P.useState(""),n=a.trim().toLowerCase(),i=P.useMemo(()=>sr(ur,n),[n]),u=P.useMemo(()=>sr(cr,n),[n]);return y.jsxs("div",{className:"min-h-screen bg-slate-50 bg-grid-pattern flex relative overflow-hidden",children:[y.jsx("div",{className:"absolute top-0 -left-4 w-72 h-72 bg-brand-300 rounded-full mix-blend-multiply filter blur-3xl opacity-20 animate-blob"}),y.jsx("div",{className:"absolute top-0 -right-4 w-72 h-72 bg-indigo-300 rounded-full mix-blend-multiply filter blur-3xl opacity-20 animate-blob animation-delay-2000"}),y.jsx("div",{className:"absolute -bottom-8 left-20 w-72 h-72 bg-pink-300 rounded-full mix-blend-multiply filter blur-3xl opacity-20 animate-blob animation-delay-4000"}),y.jsx(fy,{graphqlTopics:i,restTopics:u,activeTopic:e,setActiveTopic:t,searchQuery:a,setSearchQuery:l}),y.jsx("main",{className:"ml-[280px] flex-1 min-h-screen relative z-10",children:e?y.jsx("div",{className:"max-w-[1200px] mx-auto p-12 lg:p-16 opacity-0 animate-fade-in-up",children:y.jsx(hy,{topic:e})}):y.jsx("div",{className:"opacity-0 animate-fade-in-up",children:y.jsx(Ty,{allGraphql:ur,allRest:cr,setActiveTopic:t})})})]})}xp.createRoot(document.getElementById("root")).render(y.jsx(P.StrictMode,{children:y.jsx(xy,{})}));
