function XE(t,r){for(var a=0;ao[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const f of c.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&o(f)}).observe(document,{childList:!0,subtree:!0});function a(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(s){if(s.ep)return;s.ep=!0;const c=a(s);fetch(s.href,c)}})();function zb(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var tm={exports:{}},us={};/** * @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 p1;function KE(){if(p1)return us;p1=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function a(o,s,c){var f=null;if(c!==void 0&&(f=""+c),s.key!==void 0&&(f=""+s.key),"key"in s){c={};for(var m in s)m!=="key"&&(c[m]=s[m])}else c=s;return s=c.ref,{$$typeof:t,type:o,key:f,ref:s!==void 0?s:null,props:c}}return us.Fragment=r,us.jsx=a,us.jsxs=a,us}var h1;function ZE(){return h1||(h1=1,tm.exports=KE()),tm.exports}var u=ZE(),nm={exports:{}},je={};/** * @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 g1;function QE(){if(g1)return je;g1=1;var t=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),f=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),x=Symbol.iterator;function C(M){return M===null||typeof M!="object"?null:(M=x&&M[x]||M["@@iterator"],typeof M=="function"?M:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,j={};function N(M,D,H){this.props=M,this.context=D,this.refs=j,this.updater=H||E}N.prototype.isReactComponent={},N.prototype.setState=function(M,D){if(typeof M!="object"&&typeof M!="function"&&M!=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,M,D,"setState")},N.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function A(){}A.prototype=N.prototype;function k(M,D,H){this.props=M,this.context=D,this.refs=j,this.updater=H||E}var T=k.prototype=new A;T.constructor=k,w(T,N.prototype),T.isPureReactComponent=!0;var z=Array.isArray;function P(){}var B={H:null,A:null,T:null,S:null},V=Object.prototype.hasOwnProperty;function W(M,D,H){var U=H.ref;return{$$typeof:t,type:M,key:D,ref:U!==void 0?U:null,props:H}}function oe(M,D){return W(M.type,D,M.props)}function ie(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function me(M){var D={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(H){return D[H]})}var de=/\/+/g;function se(M,D){return typeof M=="object"&&M!==null&&M.key!=null?me(""+M.key):D.toString(36)}function fe(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(P,P):(M.status="pending",M.then(function(D){M.status==="pending"&&(M.status="fulfilled",M.value=D)},function(D){M.status==="pending"&&(M.status="rejected",M.reason=D)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function _(M,D,H,U,I){var J=typeof M;(J==="undefined"||J==="boolean")&&(M=null);var K=!1;if(M===null)K=!0;else switch(J){case"bigint":case"string":case"number":K=!0;break;case"object":switch(M.$$typeof){case t:case r:K=!0;break;case b:return K=M._init,_(K(M._payload),D,H,U,I)}}if(K)return I=I(M),K=U===""?"."+se(M,0):U,z(I)?(H="",K!=null&&(H=K.replace(de,"$&/")+"/"),_(I,D,H,"",function(we){return we})):I!=null&&(ie(I)&&(I=oe(I,H+(I.key==null||M&&M.key===I.key?"":(""+I.key).replace(de,"$&/")+"/")+K)),D.push(I)),1;K=0;var ce=U===""?".":U+":";if(z(M))for(var ue=0;ue>>1,Q=_[ne];if(0>>1;nes(H,ee))Us(I,H)?(_[ne]=I,_[U]=ee,ne=U):(_[ne]=H,_[D]=ee,ne=D);else if(Us(I,ee))_[ne]=I,_[U]=ee,ne=U;else break e}}return q}function s(_,q){var ee=_.sortIndex-q.sortIndex;return ee!==0?ee:_.id-q.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var f=Date,m=f.now();t.unstable_now=function(){return f.now()-m}}var g=[],h=[],b=1,v=null,x=3,C=!1,E=!1,w=!1,j=!1,N=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function T(_){for(var q=a(h);q!==null;){if(q.callback===null)o(h);else if(q.startTime<=_)o(h),q.sortIndex=q.expirationTime,r(g,q);else break;q=a(h)}}function z(_){if(w=!1,T(_),!E)if(a(g)!==null)E=!0,P||(P=!0,me());else{var q=a(h);q!==null&&fe(z,q.startTime-_)}}var P=!1,B=-1,V=5,W=-1;function oe(){return j?!0:!(t.unstable_now()-W_&&oe());){var ne=v.callback;if(typeof ne=="function"){v.callback=null,x=v.priorityLevel;var Q=ne(v.expirationTime<=_);if(_=t.unstable_now(),typeof Q=="function"){v.callback=Q,T(_),q=!0;break t}v===a(g)&&o(g),T(_)}else o(g);v=a(g)}if(v!==null)q=!0;else{var M=a(h);M!==null&&fe(z,M.startTime-_),q=!1}}break e}finally{v=null,x=ee,C=!1}q=void 0}}finally{q?me():P=!1}}}var me;if(typeof k=="function")me=function(){k(ie)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,se=de.port2;de.port1.onmessage=ie,me=function(){se.postMessage(null)}}else me=function(){N(ie,0)};function fe(_,q){B=N(function(){_(t.unstable_now())},q)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(_){_.callback=null},t.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<_?Math.floor(1e3/_):5},t.unstable_getCurrentPriorityLevel=function(){return x},t.unstable_next=function(_){switch(x){case 1:case 2:case 3:var q=3;break;default:q=x}var ee=x;x=q;try{return _()}finally{x=ee}},t.unstable_requestPaint=function(){j=!0},t.unstable_runWithPriority=function(_,q){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var ee=x;x=_;try{return q()}finally{x=ee}},t.unstable_scheduleCallback=function(_,q,ee){var ne=t.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0ne?(_.sortIndex=ee,r(h,_),a(g)===null&&_===a(h)&&(w?(A(B),B=-1):w=!0,fe(z,ee-ne))):(_.sortIndex=Q,r(g,_),E||C||(E=!0,P||(P=!0,me()))),_},t.unstable_shouldYield=oe,t.unstable_wrapCallback=function(_){var q=x;return function(){var ee=x;x=q;try{return _.apply(this,arguments)}finally{x=ee}}}})(om)),om}var b1;function e3(){return b1||(b1=1,am.exports=JE()),am.exports}var lm={exports:{}},Bt={};/** * @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 x1;function t3(){if(x1)return Bt;x1=1;var t=Jc();function r(g){var h="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),lm.exports=t3(),lm.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 C1;function n3(){if(C1)return ds;C1=1;var t=e3(),r=Jc(),a=Pb();function o(e){var n="https://react.dev/errors/"+e;if(1Q||(e.current=ne[Q],ne[Q]=null,Q--)}function H(e,n){Q++,ne[Q]=e.current,e.current=n}var U=M(null),I=M(null),J=M(null),K=M(null);function ce(e,n){switch(H(J,n),H(I,e),H(U,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?Py(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)n=Py(n),e=By(n,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}D(U),H(U,e)}function ue(){D(U),D(I),D(J)}function we(e){e.memoizedState!==null&&H(K,e);var n=U.current,l=By(n,e.type);n!==l&&(H(I,e),H(U,l))}function Re(e){I.current===e&&(D(U),D(I)),K.current===e&&(D(K),ls._currentValue=ee)}var Ne,st;function We(e){if(Ne===void 0)try{throw Error()}catch(l){var n=l.stack.trim().match(/\n( *(at )?)/);Ne=n&&n[1]||"",st=-1)":-1p||O[i]!==Y[p]){var Z=` `+O[i].replace(" at new "," at ");return e.displayName&&Z.includes("")&&(Z=Z.replace("",e.displayName)),Z}while(1<=i&&0<=p);break}}}finally{zn=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?We(l):""}function rn(e,n){switch(e.tag){case 26:case 27:case 5:return We(e.type);case 16:return We("Lazy");case 13:return e.child!==n&&n!==null?We("Suspense Fallback"):We("Suspense");case 19:return We("SuspenseList");case 0:case 15:return bn(e.type,!1);case 11:return bn(e.type.render,!1);case 1:return bn(e.type,!0);case 31:return We("Activity");default:return""}}function ba(e){try{var n="",l=null;do n+=rn(e,l),l=e,e=e.return;while(e);return n}catch(i){return` Error generating stack: `+i.message+` `+i.stack}}var wt=Object.prototype.hasOwnProperty,vl=t.unstable_scheduleCallback,yl=t.unstable_cancelCallback,Ut=t.unstable_shouldYield,Lr=t.unstable_requestPaint,Ht=t.unstable_now,Iu=t.unstable_getCurrentPriorityLevel,xa=t.unstable_ImmediatePriority,ai=t.unstable_UserBlockingPriority,Sa=t.unstable_NormalPriority,bl=t.unstable_LowPriority,cr=t.unstable_IdlePriority,oi=t.log,zr=t.unstable_setDisableYieldValue,Ca=null,It=null;function Pn(e){if(typeof oi=="function"&&zr(e),It&&typeof It.setStrictMode=="function")try{It.setStrictMode(Ca,e)}catch{}}var zt=Math.clz32?Math.clz32:Xn,Vu=Math.log,xl=Math.LN2;function Xn(e){return e>>>=0,e===0?32:31-(Vu(e)/xl|0)|0}var ro=256,ao=262144,wa=4194304;function Kn(e){var n=e&42;if(n!==0)return n;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 Ee(e,n,l){var i=e.pendingLanes;if(i===0)return 0;var p=0,y=e.suspendedLanes,S=e.pingedLanes;e=e.warmLanes;var R=i&134217727;return R!==0?(i=R&~y,i!==0?p=Kn(i):(S&=R,S!==0?p=Kn(S):l||(l=R&~e,l!==0&&(p=Kn(l))))):(R=i&~y,R!==0?p=Kn(R):S!==0?p=Kn(S):l||(l=i&~e,l!==0&&(p=Kn(l)))),p===0?0:n!==0&&n!==p&&(n&y)===0&&(y=p&-p,l=n&-n,y>=l||y===32&&(l&4194048)!==0)?n:p}function et(e,n){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)===0}function Et(e,n){switch(e){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 Pt(){var e=wa;return wa<<=1,(wa&62914560)===0&&(wa=4194304),e}function Pr(e){for(var n=[],l=0;31>l;l++)n.push(e);return n}function ot(e,n){e.pendingLanes|=n,n!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Yt(e,n,l,i,p,y){var S=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var R=e.entanglements,O=e.expirationTimes,Y=e.hiddenUpdates;for(l=S&~l;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Vw=/[\n"\\]/g;function Sn(e){return e.replace(Vw,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function qu(e,n,l,i,p,y,S,R){e.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?e.type=S:e.removeAttribute("type"),n!=null?S==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+xn(n)):e.value!==""+xn(n)&&(e.value=""+xn(n)):S!=="submit"&&S!=="reset"||e.removeAttribute("value"),n!=null?Xu(e,S,xn(n)):l!=null?Xu(e,S,xn(l)):i!=null&&e.removeAttribute("value"),p==null&&y!=null&&(e.defaultChecked=!!y),p!=null&&(e.checked=p&&typeof p!="function"&&typeof p!="symbol"),R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?e.name=""+xn(R):e.removeAttribute("name")}function Mh(e,n,l,i,p,y,S,R){if(y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"&&(e.type=y),n!=null||l!=null){if(!(y!=="submit"&&y!=="reset"||n!=null)){Wu(e);return}l=l!=null?""+xn(l):"",n=n!=null?""+xn(n):l,R||n===e.value||(e.value=n),e.defaultValue=n}i=i??p,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=R?e.checked:!!i,e.defaultChecked=!!i,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(e.name=S),Wu(e)}function Xu(e,n,l){n==="number"&&ii(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function fo(e,n,l,i){if(e=e.options,n){n={};for(var p=0;p"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ed=!1;if(fr)try{var El={};Object.defineProperty(El,"passive",{get:function(){ed=!0}}),window.addEventListener("test",El,El),window.removeEventListener("test",El,El)}catch{ed=!1}var $r=null,td=null,ui=null;function Bh(){if(ui)return ui;var e,n=td,l=n.length,i,p="value"in $r?$r.value:$r.textContent,y=p.length;for(e=0;e=Rl),Gh=" ",Yh=!1;function Fh(e,n){switch(e){case"keyup":return v5.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var go=!1;function b5(e,n){switch(e){case"compositionend":return Wh(n);case"keypress":return n.which!==32?null:(Yh=!0,Gh);case"textInput":return e=n.data,e===Gh&&Yh?null:e;default:return null}}function x5(e,n){if(go)return e==="compositionend"||!ld&&Fh(e,n)?(e=Bh(),ui=td=$r=null,go=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:l,offset:n-e};e=i}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=tg(l)}}function rg(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?rg(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ag(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var n=ii(e.document);n instanceof e.HTMLIFrameElement;){try{var l=typeof n.contentWindow.location.href=="string"}catch{l=!1}if(l)e=n.contentWindow;else break;n=ii(e.document)}return n}function cd(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var T5=fr&&"documentMode"in document&&11>=document.documentMode,vo=null,ud=null,Ml=null,dd=!1;function og(e,n,l){var i=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;dd||vo==null||vo!==ii(i)||(i=vo,"selectionStart"in i&&cd(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Ml&&kl(Ml,i)||(Ml=i,i=rc(ud,"onSelect"),0>=S,p-=S,Zn=1<<32-zt(n)+p|l<Me?(Pe=ye,ye=null):Pe=ye.sibling;var Ue=F($,ye,G[Me],te);if(Ue===null){ye===null&&(ye=Pe);break}e&&ye&&Ue.alternate===null&&n($,ye),L=y(Ue,L,Me),$e===null?Se=Ue:$e.sibling=Ue,$e=Ue,ye=Pe}if(Me===G.length)return l($,ye),Be&&pr($,Me),Se;if(ye===null){for(;MeMe?(Pe=ye,ye=null):Pe=ye.sibling;var sa=F($,ye,Ue.value,te);if(sa===null){ye===null&&(ye=Pe);break}e&&ye&&sa.alternate===null&&n($,ye),L=y(sa,L,Me),$e===null?Se=sa:$e.sibling=sa,$e=sa,ye=Pe}if(Ue.done)return l($,ye),Be&&pr($,Me),Se;if(ye===null){for(;!Ue.done;Me++,Ue=G.next())Ue=re($,Ue.value,te),Ue!==null&&(L=y(Ue,L,Me),$e===null?Se=Ue:$e.sibling=Ue,$e=Ue);return Be&&pr($,Me),Se}for(ye=i(ye);!Ue.done;Me++,Ue=G.next())Ue=X(ye,$,Me,Ue.value,te),Ue!==null&&(e&&Ue.alternate!==null&&ye.delete(Ue.key===null?Me:Ue.key),L=y(Ue,L,Me),$e===null?Se=Ue:$e.sibling=Ue,$e=Ue);return e&&ye.forEach(function(qE){return n($,qE)}),Be&&pr($,Me),Se}function Fe($,L,G,te){if(typeof G=="object"&&G!==null&&G.type===w&&G.key===null&&(G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case C:e:{for(var Se=G.key;L!==null;){if(L.key===Se){if(Se=G.type,Se===w){if(L.tag===7){l($,L.sibling),te=p(L,G.props.children),te.return=$,$=te;break e}}else if(L.elementType===Se||typeof Se=="object"&&Se!==null&&Se.$$typeof===V&&La(Se)===L.type){l($,L.sibling),te=p(L,G.props),Pl(te,G),te.return=$,$=te;break e}l($,L);break}else n($,L);L=L.sibling}G.type===w?(te=ka(G.props.children,$.mode,te,G.key),te.return=$,$=te):(te=xi(G.type,G.key,G.props,null,$.mode,te),Pl(te,G),te.return=$,$=te)}return S($);case E:e:{for(Se=G.key;L!==null;){if(L.key===Se)if(L.tag===4&&L.stateNode.containerInfo===G.containerInfo&&L.stateNode.implementation===G.implementation){l($,L.sibling),te=p(L,G.children||[]),te.return=$,$=te;break e}else{l($,L);break}else n($,L);L=L.sibling}te=yd(G,$.mode,te),te.return=$,$=te}return S($);case V:return G=La(G),Fe($,L,G,te)}if(fe(G))return ve($,L,G,te);if(me(G)){if(Se=me(G),typeof Se!="function")throw Error(o(150));return G=Se.call(G),Ce($,L,G,te)}if(typeof G.then=="function")return Fe($,L,Ri(G),te);if(G.$$typeof===k)return Fe($,L,wi($,G),te);Ti($,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(G=""+G,L!==null&&L.tag===6?(l($,L.sibling),te=p(L,G),te.return=$,$=te):(l($,L),te=vd(G,$.mode,te),te.return=$,$=te),S($)):l($,L)}return function($,L,G,te){try{zl=0;var Se=Fe($,L,G,te);return To=null,Se}catch(ye){if(ye===Ro||ye===Ni)throw ye;var $e=on(29,ye,null,$.mode);return $e.lanes=te,$e.return=$,$e}finally{}}}var Pa=Tg(!0),Ag=Tg(!1),Gr=!1;function kd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Md(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Yr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Fr(e,n,l){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(He&2)!==0){var p=i.pending;return p===null?n.next=n:(n.next=p.next,p.next=n),i.pending=n,n=bi(e),fg(e,null,l),n}return yi(e,i,n,l),bi(e)}function Bl(e,n,l){if(n=n.updateQueue,n!==null&&(n=n.shared,(l&4194048)!==0)){var i=n.lanes;i&=e.pendingLanes,l|=i,n.lanes=l,Ft(e,l)}}function _d(e,n){var l=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,l===i)){var p=null,y=null;if(l=l.firstBaseUpdate,l!==null){do{var S={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};y===null?p=y=S:y=y.next=S,l=l.next}while(l!==null);y===null?p=y=n:y=y.next=n}else p=y=n;l={baseState:i.baseState,firstBaseUpdate:p,lastBaseUpdate:y,shared:i.shared,callbacks:i.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=n:e.next=n,l.lastBaseUpdate=n}var Od=!1;function $l(){if(Od){var e=jo;if(e!==null)throw e}}function Ul(e,n,l,i){Od=!1;var p=e.updateQueue;Gr=!1;var y=p.firstBaseUpdate,S=p.lastBaseUpdate,R=p.shared.pending;if(R!==null){p.shared.pending=null;var O=R,Y=O.next;O.next=null,S===null?y=Y:S.next=Y,S=O;var Z=e.alternate;Z!==null&&(Z=Z.updateQueue,R=Z.lastBaseUpdate,R!==S&&(R===null?Z.firstBaseUpdate=Y:R.next=Y,Z.lastBaseUpdate=O))}if(y!==null){var re=p.baseState;S=0,Z=Y=O=null,R=y;do{var F=R.lane&-536870913,X=F!==R.lane;if(X?(ze&F)===F:(i&F)===F){F!==0&&F===No&&(Od=!0),Z!==null&&(Z=Z.next={lane:0,tag:R.tag,payload:R.payload,callback:null,next:null});e:{var ve=e,Ce=R;F=n;var Fe=l;switch(Ce.tag){case 1:if(ve=Ce.payload,typeof ve=="function"){re=ve.call(Fe,re,F);break e}re=ve;break e;case 3:ve.flags=ve.flags&-65537|128;case 0:if(ve=Ce.payload,F=typeof ve=="function"?ve.call(Fe,re,F):ve,F==null)break e;re=v({},re,F);break e;case 2:Gr=!0}}F=R.callback,F!==null&&(e.flags|=64,X&&(e.flags|=8192),X=p.callbacks,X===null?p.callbacks=[F]:X.push(F))}else X={lane:F,tag:R.tag,payload:R.payload,callback:R.callback,next:null},Z===null?(Y=Z=X,O=re):Z=Z.next=X,S|=F;if(R=R.next,R===null){if(R=p.shared.pending,R===null)break;X=R,R=X.next,X.next=null,p.lastBaseUpdate=X,p.shared.pending=null}}while(!0);Z===null&&(O=re),p.baseState=O,p.firstBaseUpdate=Y,p.lastBaseUpdate=Z,y===null&&(p.shared.lanes=0),Zr|=S,e.lanes=S,e.memoizedState=re}}function kg(e,n){if(typeof e!="function")throw Error(o(191,e));e.call(n)}function Mg(e,n){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;ey?y:8;var S=_.T,R={};_.T=R,Qd(e,!1,n,l);try{var O=p(),Y=_.S;if(Y!==null&&Y(R,O),O!==null&&typeof O=="object"&&typeof O.then=="function"){var Z=P5(O,i);Vl(e,n,Z,dn(e))}else Vl(e,n,i,dn(e))}catch(re){Vl(e,n,{then:function(){},status:"rejected",reason:re},dn())}finally{q.p=y,S!==null&&R.types!==null&&(S.types=R.types),_.T=S}}function V5(){}function Kd(e,n,l,i){if(e.tag!==5)throw Error(o(476));var p=cv(e).queue;iv(e,p,n,ee,l===null?V5:function(){return uv(e),l(i)})}function cv(e){var n=e.memoizedState;if(n!==null)return n;n={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yr,lastRenderedState:ee},next:null};var l={};return n.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yr,lastRenderedState:l},next:null},e.memoizedState=n,e=e.alternate,e!==null&&(e.memoizedState=n),n}function uv(e){var n=cv(e);n.next===null&&(n=e.alternate.memoizedState),Vl(e,n.next.queue,{},dn())}function Zd(){return Mt(ls)}function dv(){return ft().memoizedState}function fv(){return ft().memoizedState}function G5(e){for(var n=e.return;n!==null;){switch(n.tag){case 24:case 3:var l=dn();e=Yr(l);var i=Fr(n,e,l);i!==null&&(en(i,n,l),Bl(i,n,l)),n={cache:jd()},e.payload=n;return}n=n.return}}function Y5(e,n,l){var i=dn();l={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Bi(e)?pv(n,l):(l=hd(e,n,l,i),l!==null&&(en(l,e,i),hv(l,n,i)))}function mv(e,n,l){var i=dn();Vl(e,n,l,i)}function Vl(e,n,l,i){var p={lane:i,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Bi(e))pv(n,p);else{var y=e.alternate;if(e.lanes===0&&(y===null||y.lanes===0)&&(y=n.lastRenderedReducer,y!==null))try{var S=n.lastRenderedState,R=y(S,l);if(p.hasEagerState=!0,p.eagerState=R,an(R,S))return yi(e,n,p,0),qe===null&&vi(),!1}catch{}finally{}if(l=hd(e,n,p,i),l!==null)return en(l,e,i),hv(l,n,i),!0}return!1}function Qd(e,n,l,i){if(i={lane:2,revertLane:Mf(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Bi(e)){if(n)throw Error(o(479))}else n=hd(e,l,i,2),n!==null&&en(n,e,2)}function Bi(e){var n=e.alternate;return e===Te||n!==null&&n===Te}function pv(e,n){ko=Mi=!0;var l=e.pending;l===null?n.next=n:(n.next=l.next,l.next=n),e.pending=n}function hv(e,n,l){if((l&4194048)!==0){var i=n.lanes;i&=e.pendingLanes,l|=i,n.lanes=l,Ft(e,l)}}var Gl={readContext:Mt,use:Di,useCallback:it,useContext:it,useEffect:it,useImperativeHandle:it,useLayoutEffect:it,useInsertionEffect:it,useMemo:it,useReducer:it,useRef:it,useState:it,useDebugValue:it,useDeferredValue:it,useTransition:it,useSyncExternalStore:it,useId:it,useHostTransitionStatus:it,useFormState:it,useActionState:it,useOptimistic:it,useMemoCache:it,useCacheRefresh:it};Gl.useEffectEvent=it;var gv={readContext:Mt,use:Di,useCallback:function(e,n){return Vt().memoizedState=[e,n===void 0?null:n],e},useContext:Mt,useEffect:Jg,useImperativeHandle:function(e,n,l){l=l!=null?l.concat([e]):null,zi(4194308,4,rv.bind(null,n,e),l)},useLayoutEffect:function(e,n){return zi(4194308,4,e,n)},useInsertionEffect:function(e,n){zi(4,2,e,n)},useMemo:function(e,n){var l=Vt();n=n===void 0?null:n;var i=e();if(Ba){Pn(!0);try{e()}finally{Pn(!1)}}return l.memoizedState=[i,n],i},useReducer:function(e,n,l){var i=Vt();if(l!==void 0){var p=l(n);if(Ba){Pn(!0);try{l(n)}finally{Pn(!1)}}}else p=n;return i.memoizedState=i.baseState=p,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:p},i.queue=e,e=e.dispatch=Y5.bind(null,Te,e),[i.memoizedState,e]},useRef:function(e){var n=Vt();return e={current:e},n.memoizedState=e},useState:function(e){e=Yd(e);var n=e.queue,l=mv.bind(null,Te,n);return n.dispatch=l,[e.memoizedState,l]},useDebugValue:qd,useDeferredValue:function(e,n){var l=Vt();return Xd(l,e,n)},useTransition:function(){var e=Yd(!1);return e=iv.bind(null,Te,e.queue,!0,!1),Vt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,n,l){var i=Te,p=Vt();if(Be){if(l===void 0)throw Error(o(407));l=l()}else{if(l=n(),qe===null)throw Error(o(349));(ze&127)!==0||Pg(i,n,l)}p.memoizedState=l;var y={value:l,getSnapshot:n};return p.queue=y,Jg($g.bind(null,i,y,e),[e]),i.flags|=2048,_o(9,{destroy:void 0},Bg.bind(null,i,y,l,n),null),l},useId:function(){var e=Vt(),n=qe.identifierPrefix;if(Be){var l=Qn,i=Zn;l=(i&~(1<<32-zt(i)-1)).toString(32)+l,n="_"+n+"R_"+l,l=_i++,0<\/script>",y=y.removeChild(y.firstChild);break;case"select":y=typeof i.is=="string"?S.createElement("select",{is:i.is}):S.createElement("select"),i.multiple?y.multiple=!0:i.size&&(y.size=i.size);break;default:y=typeof i.is=="string"?S.createElement(p,{is:i.is}):S.createElement(p)}}y[At]=n,y[qt]=i;e:for(S=n.child;S!==null;){if(S.tag===5||S.tag===6)y.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===n)break e;for(;S.sibling===null;){if(S.return===null||S.return===n)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}n.stateNode=y;e:switch(Ot(y,p,i),p){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&xr(n)}}return Je(n),mf(n,n.type,e===null?null:e.memoizedProps,n.pendingProps,l),null;case 6:if(e&&n.stateNode!=null)e.memoizedProps!==i&&xr(n);else{if(typeof i!="string"&&n.stateNode===null)throw Error(o(166));if(e=J.current,wo(n)){if(e=n.stateNode,l=n.memoizedProps,i=null,p=kt,p!==null)switch(p.tag){case 27:case 5:i=p.memoizedProps}e[At]=n,e=!!(e.nodeValue===l||i!==null&&i.suppressHydrationWarning===!0||Ly(e.nodeValue,l)),e||Ir(n,!0)}else e=ac(e).createTextNode(i),e[At]=n,n.stateNode=e}return Je(n),null;case 31:if(l=n.memoizedState,e===null||e.memoizedState!==null){if(i=wo(n),l!==null){if(e===null){if(!i)throw Error(o(318));if(e=n.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[At]=n}else Ma(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Je(n),e=!1}else l=Cd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return n.flags&256?(sn(n),n):(sn(n),null);if((n.flags&128)!==0)throw Error(o(558))}return Je(n),null;case 13:if(i=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(p=wo(n),i!==null&&i.dehydrated!==null){if(e===null){if(!p)throw Error(o(318));if(p=n.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(o(317));p[At]=n}else Ma(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Je(n),p=!1}else p=Cd(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=p),p=!0;if(!p)return n.flags&256?(sn(n),n):(sn(n),null)}return sn(n),(n.flags&128)!==0?(n.lanes=l,n):(l=i!==null,e=e!==null&&e.memoizedState!==null,l&&(i=n.child,p=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(p=i.alternate.memoizedState.cachePool.pool),y=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(y=i.memoizedState.cachePool.pool),y!==p&&(i.flags|=2048)),l!==e&&l&&(n.child.flags|=8192),Vi(n,n.updateQueue),Je(n),null);case 4:return ue(),e===null&&Lf(n.stateNode.containerInfo),Je(n),null;case 10:return gr(n.type),Je(n),null;case 19:if(D(dt),i=n.memoizedState,i===null)return Je(n),null;if(p=(n.flags&128)!==0,y=i.rendering,y===null)if(p)Fl(i,!1);else{if(ct!==0||e!==null&&(e.flags&128)!==0)for(e=n.child;e!==null;){if(y=ki(e),y!==null){for(n.flags|=128,Fl(i,!1),e=y.updateQueue,n.updateQueue=e,Vi(n,e),n.subtreeFlags=0,e=l,l=n.child;l!==null;)mg(l,e),l=l.sibling;return H(dt,dt.current&1|2),Be&&pr(n,i.treeForkCount),n.child}e=e.sibling}i.tail!==null&&Ht()>qi&&(n.flags|=128,p=!0,Fl(i,!1),n.lanes=4194304)}else{if(!p)if(e=ki(y),e!==null){if(n.flags|=128,p=!0,e=e.updateQueue,n.updateQueue=e,Vi(n,e),Fl(i,!0),i.tail===null&&i.tailMode==="hidden"&&!y.alternate&&!Be)return Je(n),null}else 2*Ht()-i.renderingStartTime>qi&&l!==536870912&&(n.flags|=128,p=!0,Fl(i,!1),n.lanes=4194304);i.isBackwards?(y.sibling=n.child,n.child=y):(e=i.last,e!==null?e.sibling=y:n.child=y,i.last=y)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=Ht(),e.sibling=null,l=dt.current,H(dt,p?l&1|2:l&1),Be&&pr(n,i.treeForkCount),e):(Je(n),null);case 22:case 23:return sn(n),Ld(),i=n.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(n.flags|=8192):i&&(n.flags|=8192),i?(l&536870912)!==0&&(n.flags&128)===0&&(Je(n),n.subtreeFlags&6&&(n.flags|=8192)):Je(n),l=n.updateQueue,l!==null&&Vi(n,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048),e!==null&&D(Da),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),n.memoizedState.cache!==l&&(n.flags|=2048),gr(mt),Je(n),null;case 25:return null;case 30:return null}throw Error(o(156,n.tag))}function K5(e,n){switch(xd(n),n.tag){case 1:return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return gr(mt),ue(),e=n.flags,(e&65536)!==0&&(e&128)===0?(n.flags=e&-65537|128,n):null;case 26:case 27:case 5:return Re(n),null;case 31:if(n.memoizedState!==null){if(sn(n),n.alternate===null)throw Error(o(340));Ma()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 13:if(sn(n),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(o(340));Ma()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return D(dt),null;case 4:return ue(),null;case 10:return gr(n.type),null;case 22:case 23:return sn(n),Ld(),e!==null&&D(Da),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 24:return gr(mt),null;case 25:return null;default:return null}}function Uv(e,n){switch(xd(n),n.tag){case 3:gr(mt),ue();break;case 26:case 27:case 5:Re(n);break;case 4:ue();break;case 31:n.memoizedState!==null&&sn(n);break;case 13:sn(n);break;case 19:D(dt);break;case 10:gr(n.type);break;case 22:case 23:sn(n),Ld(),e!==null&&D(Da);break;case 24:gr(mt)}}function Wl(e,n){try{var l=n.updateQueue,i=l!==null?l.lastEffect:null;if(i!==null){var p=i.next;l=p;do{if((l.tag&e)===e){i=void 0;var y=l.create,S=l.inst;i=y(),S.destroy=i}l=l.next}while(l!==p)}}catch(R){Ve(n,n.return,R)}}function Xr(e,n,l){try{var i=n.updateQueue,p=i!==null?i.lastEffect:null;if(p!==null){var y=p.next;i=y;do{if((i.tag&e)===e){var S=i.inst,R=S.destroy;if(R!==void 0){S.destroy=void 0,p=n;var O=l,Y=R;try{Y()}catch(Z){Ve(p,O,Z)}}}i=i.next}while(i!==y)}}catch(Z){Ve(n,n.return,Z)}}function Hv(e){var n=e.updateQueue;if(n!==null){var l=e.stateNode;try{Mg(n,l)}catch(i){Ve(e,e.return,i)}}}function Iv(e,n,l){l.props=$a(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(i){Ve(e,n,i)}}function ql(e,n){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof l=="function"?e.refCleanup=l(i):l.current=i}}catch(p){Ve(e,n,p)}}function Jn(e,n){var l=e.ref,i=e.refCleanup;if(l!==null)if(typeof i=="function")try{i()}catch(p){Ve(e,n,p)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(p){Ve(e,n,p)}else l.current=null}function Vv(e){var n=e.type,l=e.memoizedProps,i=e.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":l.autoFocus&&i.focus();break e;case"img":l.src?i.src=l.src:l.srcSet&&(i.srcset=l.srcSet)}}catch(p){Ve(e,e.return,p)}}function pf(e,n,l){try{var i=e.stateNode;yE(i,e.type,l,n),i[qt]=n}catch(p){Ve(e,e.return,p)}}function Gv(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&na(e.type)||e.tag===4}function hf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gv(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&&na(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 gf(e,n,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,n?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,n):(n=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,n.appendChild(e),l=l._reactRootContainer,l!=null||n.onclick!==null||(n.onclick=dr));else if(i!==4&&(i===27&&na(e.type)&&(l=e.stateNode,n=null),e=e.child,e!==null))for(gf(e,n,l),e=e.sibling;e!==null;)gf(e,n,l),e=e.sibling}function Gi(e,n,l){var i=e.tag;if(i===5||i===6)e=e.stateNode,n?l.insertBefore(e,n):l.appendChild(e);else if(i!==4&&(i===27&&na(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(Gi(e,n,l),e=e.sibling;e!==null;)Gi(e,n,l),e=e.sibling}function Yv(e){var n=e.stateNode,l=e.memoizedProps;try{for(var i=e.type,p=n.attributes;p.length;)n.removeAttributeNode(p[0]);Ot(n,i,l),n[At]=e,n[qt]=l}catch(y){Ve(e,e.return,y)}}var Sr=!1,gt=!1,vf=!1,Fv=typeof WeakSet=="function"?WeakSet:Set,jt=null;function Z5(e,n){if(e=e.containerInfo,Bf=dc,e=ag(e),cd(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var i=l.getSelection&&l.getSelection();if(i&&i.rangeCount!==0){l=i.anchorNode;var p=i.anchorOffset,y=i.focusNode;i=i.focusOffset;try{l.nodeType,y.nodeType}catch{l=null;break e}var S=0,R=-1,O=-1,Y=0,Z=0,re=e,F=null;t:for(;;){for(var X;re!==l||p!==0&&re.nodeType!==3||(R=S+p),re!==y||i!==0&&re.nodeType!==3||(O=S+i),re.nodeType===3&&(S+=re.nodeValue.length),(X=re.firstChild)!==null;)F=re,re=X;for(;;){if(re===e)break t;if(F===l&&++Y===p&&(R=S),F===y&&++Z===i&&(O=S),(X=re.nextSibling)!==null)break;re=F,F=re.parentNode}re=X}l=R===-1||O===-1?null:{start:R,end:O}}else l=null}l=l||{start:0,end:0}}else l=null;for($f={focusedElem:e,selectionRange:l},dc=!1,jt=n;jt!==null;)if(n=jt,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,jt=e;else for(;jt!==null;){switch(n=jt,y=n.alternate,e=n.flags,n.tag){case 0:if((e&4)!==0&&(e=n.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l title"))),Ot(y,i,l),y[At]=e,Nt(y),i=y;break e;case"link":var S=Qy("link","href",p).get(i+(l.href||""));if(S){for(var R=0;RFe&&(S=Fe,Fe=Ce,Ce=S);var $=ng(R,Ce),L=ng(R,Fe);if($&&L&&(X.rangeCount!==1||X.anchorNode!==$.node||X.anchorOffset!==$.offset||X.focusNode!==L.node||X.focusOffset!==L.offset)){var G=re.createRange();G.setStart($.node,$.offset),X.removeAllRanges(),Ce>Fe?(X.addRange(G),X.extend(L.node,L.offset)):(G.setEnd(L.node,L.offset),X.addRange(G))}}}}for(re=[],X=R;X=X.parentNode;)X.nodeType===1&&re.push({element:X,left:X.scrollLeft,top:X.scrollTop});for(typeof R.focus=="function"&&R.focus(),R=0;Rl?32:l,_.T=null,l=Ef,Ef=null;var y=Jr,S=jr;if(St=0,Po=Jr=null,jr=0,(He&6)!==0)throw Error(o(331));var R=He;if(He|=4,ry(y.current),ey(y,y.current,S,l),He=R,es(0,!1),It&&typeof It.onPostCommitFiberRoot=="function")try{It.onPostCommitFiberRoot(Ca,y)}catch{}return!0}finally{q.p=p,_.T=i,Sy(e,n)}}function wy(e,n,l){n=wn(l,n),n=nf(e.stateNode,n,2),e=Fr(e,n,2),e!==null&&(ot(e,2),er(e))}function Ve(e,n,l){if(e.tag===3)wy(e,e,l);else for(;n!==null;){if(n.tag===3){wy(n,e,l);break}else if(n.tag===1){var i=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Qr===null||!Qr.has(i))){e=wn(l,e),l=Ev(2),i=Fr(n,l,2),i!==null&&(Nv(l,i,n,e),ot(i,2),er(i));break}}n=n.return}}function Tf(e,n,l){var i=e.pingCache;if(i===null){i=e.pingCache=new eE;var p=new Set;i.set(n,p)}else p=i.get(n),p===void 0&&(p=new Set,i.set(n,p));p.has(l)||(xf=!0,p.add(l),e=oE.bind(null,e,n,l),n.then(e,e))}function oE(e,n,l){var i=e.pingCache;i!==null&&i.delete(n),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,qe===e&&(ze&l)===l&&(ct===4||ct===3&&(ze&62914560)===ze&&300>Ht()-Wi?(He&2)===0&&Bo(e,0):Sf|=l,zo===ze&&(zo=0)),er(e)}function Ey(e,n){n===0&&(n=Pt()),e=Aa(e,n),e!==null&&(ot(e,n),er(e))}function lE(e){var n=e.memoizedState,l=0;n!==null&&(l=n.retryLane),Ey(e,l)}function sE(e,n){var l=0;switch(e.tag){case 31:case 13:var i=e.stateNode,p=e.memoizedState;p!==null&&(l=p.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(o(314))}i!==null&&i.delete(n),Ey(e,l)}function iE(e,n){return vl(e,n)}var ec=null,Uo=null,Af=!1,tc=!1,kf=!1,ta=0;function er(e){e!==Uo&&e.next===null&&(Uo===null?ec=Uo=e:Uo=Uo.next=e),tc=!0,Af||(Af=!0,uE())}function es(e,n){if(!kf&&tc){kf=!0;do for(var l=!1,i=ec;i!==null;){if(e!==0){var p=i.pendingLanes;if(p===0)var y=0;else{var S=i.suspendedLanes,R=i.pingedLanes;y=(1<<31-zt(42|e)+1)-1,y&=p&~(S&~R),y=y&201326741?y&201326741|1:y?y|2:0}y!==0&&(l=!0,Ty(i,y))}else y=ze,y=Ee(i,i===qe?y:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(y&3)===0||et(i,y)||(l=!0,Ty(i,y));i=i.next}while(l);kf=!1}}function cE(){Ny()}function Ny(){tc=Af=!1;var e=0;ta!==0&&xE()&&(e=ta);for(var n=Ht(),l=null,i=ec;i!==null;){var p=i.next,y=jy(i,n);y===0?(i.next=null,l===null?ec=p:l.next=p,p===null&&(Uo=l)):(l=i,(e!==0||(y&3)!==0)&&(tc=!0)),i=p}St!==0&&St!==5||es(e),ta!==0&&(ta=0)}function jy(e,n){for(var l=e.suspendedLanes,i=e.pingedLanes,p=e.expirationTimes,y=e.pendingLanes&-62914561;0R)break;var Z=O.transferSize,re=O.initiatorType;Z&&zy(re)&&(O=O.responseEnd,S+=Z*(O"u"?null:document;function qy(e,n,l){var i=Ho;if(i&&typeof n=="string"&&n){var p=Sn(n);p='link[rel="'+e+'"][href="'+p+'"]',typeof l=="string"&&(p+='[crossorigin="'+l+'"]'),Wy.has(p)||(Wy.add(p),e={rel:e,crossOrigin:l,href:n},i.querySelector(p)===null&&(n=i.createElement("link"),Ot(n,"link",e),Nt(n),i.head.appendChild(n)))}}function AE(e){Rr.D(e),qy("dns-prefetch",e,null)}function kE(e,n){Rr.C(e,n),qy("preconnect",e,n)}function ME(e,n,l){Rr.L(e,n,l);var i=Ho;if(i&&e&&n){var p='link[rel="preload"][as="'+Sn(n)+'"]';n==="image"&&l&&l.imageSrcSet?(p+='[imagesrcset="'+Sn(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(p+='[imagesizes="'+Sn(l.imageSizes)+'"]')):p+='[href="'+Sn(e)+'"]';var y=p;switch(n){case"style":y=Io(e);break;case"script":y=Vo(e)}An.has(y)||(e=v({rel:"preload",href:n==="image"&&l&&l.imageSrcSet?void 0:e,as:n},l),An.set(y,e),i.querySelector(p)!==null||n==="style"&&i.querySelector(as(y))||n==="script"&&i.querySelector(os(y))||(n=i.createElement("link"),Ot(n,"link",e),Nt(n),i.head.appendChild(n)))}}function _E(e,n){Rr.m(e,n);var l=Ho;if(l&&e){var i=n&&typeof n.as=="string"?n.as:"script",p='link[rel="modulepreload"][as="'+Sn(i)+'"][href="'+Sn(e)+'"]',y=p;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":y=Vo(e)}if(!An.has(y)&&(e=v({rel:"modulepreload",href:e},n),An.set(y,e),l.querySelector(p)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(os(y)))return}i=l.createElement("link"),Ot(i,"link",e),Nt(i),l.head.appendChild(i)}}}function OE(e,n,l){Rr.S(e,n,l);var i=Ho;if(i&&e){var p=co(i).hoistableStyles,y=Io(e);n=n||"default";var S=p.get(y);if(!S){var R={loading:0,preload:null};if(S=i.querySelector(as(y)))R.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":n},l),(l=An.get(y))&&Ff(e,l);var O=S=i.createElement("link");Nt(O),Ot(O,"link",e),O._p=new Promise(function(Y,Z){O.onload=Y,O.onerror=Z}),O.addEventListener("load",function(){R.loading|=1}),O.addEventListener("error",function(){R.loading|=2}),R.loading|=4,lc(S,n,i)}S={type:"stylesheet",instance:S,count:1,state:R},p.set(y,S)}}}function DE(e,n){Rr.X(e,n);var l=Ho;if(l&&e){var i=co(l).hoistableScripts,p=Vo(e),y=i.get(p);y||(y=l.querySelector(os(p)),y||(e=v({src:e,async:!0},n),(n=An.get(p))&&Wf(e,n),y=l.createElement("script"),Nt(y),Ot(y,"link",e),l.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},i.set(p,y))}}function LE(e,n){Rr.M(e,n);var l=Ho;if(l&&e){var i=co(l).hoistableScripts,p=Vo(e),y=i.get(p);y||(y=l.querySelector(os(p)),y||(e=v({src:e,async:!0,type:"module"},n),(n=An.get(p))&&Wf(e,n),y=l.createElement("script"),Nt(y),Ot(y,"link",e),l.head.appendChild(y)),y={type:"script",instance:y,count:1,state:null},i.set(p,y))}}function Xy(e,n,l,i){var p=(p=J.current)?oc(p):null;if(!p)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(n=Io(l.href),l=co(p).hoistableStyles,i=l.get(n),i||(i={type:"style",instance:null,count:0,state:null},l.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Io(l.href);var y=co(p).hoistableStyles,S=y.get(e);if(S||(p=p.ownerDocument||p,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},y.set(e,S),(y=p.querySelector(as(e)))&&!y._p&&(S.instance=y,S.state.loading=5),An.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},An.set(e,l),y||zE(p,e,l,S.state))),n&&i===null)throw Error(o(528,""));return S}if(n&&i!==null)throw Error(o(529,""));return null;case"script":return n=l.async,l=l.src,typeof l=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=Vo(l),l=co(p).hoistableScripts,i=l.get(n),i||(i={type:"script",instance:null,count:0,state:null},l.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Io(e){return'href="'+Sn(e)+'"'}function as(e){return'link[rel="stylesheet"]['+e+"]"}function Ky(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function zE(e,n,l,i){e.querySelector('link[rel="preload"][as="style"]['+n+"]")?i.loading=1:(n=e.createElement("link"),i.preload=n,n.addEventListener("load",function(){return i.loading|=1}),n.addEventListener("error",function(){return i.loading|=2}),Ot(n,"link",l),Nt(n),e.head.appendChild(n))}function Vo(e){return'[src="'+Sn(e)+'"]'}function os(e){return"script[async]"+e}function Zy(e,n,l){if(n.count++,n.instance===null)switch(n.type){case"style":var i=e.querySelector('style[data-href~="'+Sn(l.href)+'"]');if(i)return n.instance=i,Nt(i),i;var p=v({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Nt(i),Ot(i,"style",p),lc(i,l.precedence,e),n.instance=i;case"stylesheet":p=Io(l.href);var y=e.querySelector(as(p));if(y)return n.state.loading|=4,n.instance=y,Nt(y),y;i=Ky(l),(p=An.get(p))&&Ff(i,p),y=(e.ownerDocument||e).createElement("link"),Nt(y);var S=y;return S._p=new Promise(function(R,O){S.onload=R,S.onerror=O}),Ot(y,"link",i),n.state.loading|=4,lc(y,l.precedence,e),n.instance=y;case"script":return y=Vo(l.src),(p=e.querySelector(os(y)))?(n.instance=p,Nt(p),p):(i=l,(p=An.get(y))&&(i=v({},l),Wf(i,p)),e=e.ownerDocument||e,p=e.createElement("script"),Nt(p),Ot(p,"link",i),e.head.appendChild(p),n.instance=p);case"void":return null;default:throw Error(o(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(i=n.instance,n.state.loading|=4,lc(i,l.precedence,e));return n.instance}function lc(e,n,l){for(var i=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=i.length?i[i.length-1]:null,y=p,S=0;S title"):null)}function PE(e,n,l){if(l===1||n.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return e=n.disabled,typeof n.precedence=="string"&&e==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function e1(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function BE(e,n,l,i){if(l.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var p=Io(i.href),y=n.querySelector(as(p));if(y){n=y._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(e.count++,e=ic.bind(e),n.then(e,e)),l.state.loading|=4,l.instance=y,Nt(y);return}y=n.ownerDocument||n,i=Ky(i),(p=An.get(p))&&Ff(i,p),y=y.createElement("link"),Nt(y);var S=y;S._p=new Promise(function(R,O){S.onload=R,S.onerror=O}),Ot(y,"link",i),l.instance=y}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=ic.bind(e),n.addEventListener("load",l),n.addEventListener("error",l))}}var qf=0;function $E(e,n){return e.stylesheets&&e.count===0&&uc(e,e.stylesheets),0qf?50:800)+n);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(p)}}:null}function ic(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)uc(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var cc=null;function uc(e,n){e.stylesheets=null,e.unsuspend!==null&&(e.count++,cc=new Map,n.forEach(UE,e),cc=null,ic.call(e))}function UE(e,n){if(!(n.state.loading&4)){var l=cc.get(e);if(l)var i=l.get(null);else{l=new Map,cc.set(e,l);for(var p=e.querySelectorAll("link[data-precedence],style[data-precedence]"),y=0;y"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),rm.exports=n3(),rm.exports}var a3=r3();/** * react-router v7.15.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */var E1="popstate";function N1(t){return typeof t=="object"&&t!=null&&"pathname"in t&&"search"in t&&"hash"in t&&"state"in t&&"key"in t}function o3(t={}){function r(o,s){var h;let c=(h=s.state)==null?void 0:h.masked,{pathname:f,search:m,hash:g}=c||o.location;return _m("",{pathname:f,search:m,hash:g},s.state&&s.state.usr||null,s.state&&s.state.key||"default",c?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function a(o,s){return typeof s=="string"?s:Es(s)}return s3(r,a,null,t)}function at(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function On(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function l3(){return Math.random().toString(36).substring(2,10)}function j1(t,r){return{usr:t.state,key:t.key,idx:r,masked:t.mask?{pathname:t.pathname,search:t.search,hash:t.hash}:void 0}}function _m(t,r,a=null,o,s){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof r=="string"?ll(r):r,state:a,key:r&&r.key||o||l3(),mask:s}}function Es({pathname:t="/",search:r="",hash:a=""}){return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),a&&a!=="#"&&(t+=a.charAt(0)==="#"?a:"#"+a),t}function ll(t){let r={};if(t){let a=t.indexOf("#");a>=0&&(r.hash=t.substring(a),t=t.substring(0,a));let o=t.indexOf("?");o>=0&&(r.search=t.substring(o),t=t.substring(0,o)),t&&(r.pathname=t)}return r}function s3(t,r,a,o={}){let{window:s=document.defaultView,v5Compat:c=!1}=o,f=s.history,m="POP",g=null,h=b();h==null&&(h=0,f.replaceState({...f.state,idx:h},""));function b(){return(f.state||{idx:null}).idx}function v(){m="POP";let j=b(),N=j==null?null:j-h;h=j,g&&g({action:m,location:w.location,delta:N})}function x(j,N){m="PUSH";let A=N1(j)?j:_m(w.location,j,N);h=b()+1;let k=j1(A,h),T=w.createHref(A.mask||A);try{f.pushState(k,"",T)}catch(z){if(z instanceof DOMException&&z.name==="DataCloneError")throw z;s.location.assign(T)}c&&g&&g({action:m,location:w.location,delta:1})}function C(j,N){m="REPLACE";let A=N1(j)?j:_m(w.location,j,N);h=b();let k=j1(A,h),T=w.createHref(A.mask||A);f.replaceState(k,"",T),c&&g&&g({action:m,location:w.location,delta:0})}function E(j){return i3(j)}let w={get action(){return m},get location(){return t(s,f)},listen(j){if(g)throw new Error("A history only accepts one active listener");return s.addEventListener(E1,v),g=j,()=>{s.removeEventListener(E1,v),g=null}},createHref(j){return r(s,j)},createURL:E,encodeLocation(j){let N=E(j);return{pathname:N.pathname,search:N.search,hash:N.hash}},push:x,replace:C,go(j){return f.go(j)}};return w}function i3(t,r=!1){let a="http://localhost";typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),at(a,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:Es(t);return o=o.replace(/ $/,"%20"),!r&&o.startsWith("//")&&(o=a+o),new URL(o,a)}function Bb(t,r,a="/"){return c3(t,r,a,!1)}function c3(t,r,a,o,s){let c=typeof r=="string"?ll(r):r,f=kr(c.pathname||"/",a);if(f==null)return null;let m=u3(t),g=null,h=C3(f);for(let b=0;g==null&&b{let b={relativePath:h===void 0?f.path||"":h,caseSensitive:f.caseSensitive===!0,childrenIndex:m,route:f};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(o)&&g)return;at(b.relativePath.startsWith(o),`Absolute route path "${b.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(o.length)}let v=Gn([o,b.relativePath]),x=a.concat(b);f.children&&f.children.length>0&&(at(f.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),$b(f.children,r,x,v,g)),!(f.path==null&&!f.index)&&r.push({path:v,score:y3(v,f.index),routesMeta:x})};return t.forEach((f,m)=>{var g;if(f.path===""||!((g=f.path)!=null&&g.includes("?")))c(f,m);else for(let h of Ub(f.path))c(f,m,!0,h)}),r}function Ub(t){let r=t.split("/");if(r.length===0)return[];let[a,...o]=r,s=a.endsWith("?"),c=a.replace(/\?$/,"");if(o.length===0)return s?[c,""]:[c];let f=Ub(o.join("/")),m=[];return m.push(...f.map(g=>g===""?c:[c,g].join("/"))),s&&m.push(...f),m.map(g=>t.startsWith("/")&&g===""?"/":g)}function d3(t){t.sort((r,a)=>r.score!==a.score?a.score-r.score:b3(r.routesMeta.map(o=>o.childrenIndex),a.routesMeta.map(o=>o.childrenIndex)))}var f3=/^:[\w-]+$/,m3=3,p3=2,h3=1,g3=10,v3=-2,R1=t=>t==="*";function y3(t,r){let a=t.split("/"),o=a.length;return a.some(R1)&&(o+=v3),r&&(o+=p3),a.filter(s=>!R1(s)).reduce((s,c)=>s+(f3.test(c)?m3:c===""?h3:g3),o)}function b3(t,r){return t.length===r.length&&t.slice(0,-1).every((o,s)=>o===r[s])?t[t.length-1]-r[r.length-1]:0}function x3(t,r,a=!1){let{routesMeta:o}=t,s={},c="/",f=[];for(let m=0;m{if(b==="*"){let E=m[x]||"";f=c.slice(0,c.length-E.length).replace(/(.)\/+$/,"$1")}const C=m[x];return v&&!C?h[b]=void 0:h[b]=(C||"").replace(/%2F/g,"/"),h},{}),pathname:c,pathnameBase:f,pattern:t}}function S3(t,r=!1,a=!0){On(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let o=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,m,g,h,b)=>{if(o.push({paramName:m,isOptional:g!=null}),g){let v=b.charAt(h+f.length);return v&&v!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(o.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),o]}function C3(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return On(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),t}}function kr(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let a=r.endsWith("/")?r.length-1:r.length,o=t.charAt(a);return o&&o!=="/"?null:t.slice(a)||"/"}var w3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function E3(t,r="/"){let{pathname:a,search:o="",hash:s=""}=typeof t=="string"?ll(t):t,c;return a?(a=Hb(a),a.startsWith("/")?c=T1(a.substring(1),"/"):c=T1(a,r)):c=r,{pathname:c,search:R3(o),hash:T3(s)}}function T1(t,r){let a=Pc(r).split("/");return t.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function sm(t,r,a,o){return`Cannot include a '${t}' character in a manually specified \`to.${r}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function N3(t){return t.filter((r,a)=>a===0||r.route.path&&r.route.path.length>0)}function pp(t){let r=N3(t);return r.map((a,o)=>o===r.length-1?a.pathname:a.pathnameBase)}function eu(t,r,a,o=!1){let s;typeof t=="string"?s=ll(t):(s={...t},at(!s.pathname||!s.pathname.includes("?"),sm("?","pathname","search",s)),at(!s.pathname||!s.pathname.includes("#"),sm("#","pathname","hash",s)),at(!s.search||!s.search.includes("#"),sm("#","search","hash",s)));let c=t===""||s.pathname==="",f=c?"/":s.pathname,m;if(f==null)m=a;else{let v=r.length-1;if(!o&&f.startsWith("..")){let x=f.split("/");for(;x[0]==="..";)x.shift(),v-=1;s.pathname=x.join("/")}m=v>=0?r[v]:"/"}let g=E3(s,m),h=f&&f!=="/"&&f.endsWith("/"),b=(c||f===".")&&a.endsWith("/");return!g.pathname.endsWith("/")&&(h||b)&&(g.pathname+="/"),g}var Hb=t=>t.replace(/\/\/+/g,"/"),Gn=t=>Hb(t.join("/")),Pc=t=>t.replace(/\/+$/,""),j3=t=>Pc(t).replace(/^\/*/,"/"),R3=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,T3=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,A3=class{constructor(t,r,a,o=!1){this.status=t,this.statusText=r||"",this.internal=o,a instanceof Error?(this.data=a.toString(),this.error=a):this.data=a}};function k3(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function M3(t){let r=t.map(a=>a.route.path).filter(Boolean);return Gn(r)||"/"}var Ib=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Vb(t,r){let a=t;if(typeof a!="string"||!w3.test(a))return{absoluteURL:void 0,isExternal:!1,to:a};let o=a,s=!1;if(Ib)try{let c=new URL(window.location.href),f=a.startsWith("//")?new URL(c.protocol+a):new URL(a),m=kr(f.pathname,r);f.origin===c.origin&&m!=null?a=m+f.search+f.hash:s=!0}catch{On(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:s,to:a}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Gb=["POST","PUT","PATCH","DELETE"];new Set(Gb);var _3=["GET",...Gb];new Set(_3);var sl=d.createContext(null);sl.displayName="DataRouter";var tu=d.createContext(null);tu.displayName="DataRouterState";var Yb=d.createContext(!1);function O3(){return d.useContext(Yb)}var Fb=d.createContext({isTransitioning:!1});Fb.displayName="ViewTransition";var D3=d.createContext(new Map);D3.displayName="Fetchers";var L3=d.createContext(null);L3.displayName="Await";var gn=d.createContext(null);gn.displayName="Navigation";var Bs=d.createContext(null);Bs.displayName="Location";var Wn=d.createContext({outlet:null,matches:[],isDataRoute:!1});Wn.displayName="Route";var hp=d.createContext(null);hp.displayName="RouteError";var Wb="REACT_ROUTER_ERROR",z3="REDIRECT",P3="ROUTE_ERROR_RESPONSE";function B3(t){if(t.startsWith(`${Wb}:${z3}:{`))try{let r=JSON.parse(t.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function $3(t){if(t.startsWith(`${Wb}:${P3}:{`))try{let r=JSON.parse(t.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new A3(r.status,r.statusText,r.data)}catch{}}function U3(t,{relative:r}={}){at(il(),"useHref() may be used only in the context of a component.");let{basename:a,navigator:o}=d.useContext(gn),{hash:s,pathname:c,search:f}=$s(t,{relative:r}),m=c;return a!=="/"&&(m=c==="/"?a:Gn([a,c])),o.createHref({pathname:m,search:f,hash:s})}function il(){return d.useContext(Bs)!=null}function Dn(){return at(il(),"useLocation() may be used only in the context of a component."),d.useContext(Bs).location}var qb="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Xb(t){d.useContext(gn).static||d.useLayoutEffect(t)}function cl(){let{isDataRoute:t}=d.useContext(Wn);return t?t4():H3()}function H3(){at(il(),"useNavigate() may be used only in the context of a component.");let t=d.useContext(sl),{basename:r,navigator:a}=d.useContext(gn),{matches:o}=d.useContext(Wn),{pathname:s}=Dn(),c=JSON.stringify(pp(o)),f=d.useRef(!1);return Xb(()=>{f.current=!0}),d.useCallback((g,h={})=>{if(On(f.current,qb),!f.current)return;if(typeof g=="number"){a.go(g);return}let b=eu(g,JSON.parse(c),s,h.relative==="path");t==null&&r!=="/"&&(b.pathname=b.pathname==="/"?r:Gn([r,b.pathname])),(h.replace?a.replace:a.push)(b,h.state,h)},[r,a,c,s,t])}var I3=d.createContext(null);function V3(t){let r=d.useContext(Wn).outlet;return d.useMemo(()=>r&&d.createElement(I3.Provider,{value:t},r),[r,t])}function $s(t,{relative:r}={}){let{matches:a}=d.useContext(Wn),{pathname:o}=Dn(),s=JSON.stringify(pp(a));return d.useMemo(()=>eu(t,JSON.parse(s),o,r==="path"),[t,s,o,r])}function G3(t,r){return Kb(t,r)}function Kb(t,r,a){var j;at(il(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=d.useContext(gn),{matches:s}=d.useContext(Wn),c=s[s.length-1],f=c?c.params:{},m=c?c.pathname:"/",g=c?c.pathnameBase:"/",h=c&&c.route;{let N=h&&h.path||"";Qb(m,!h||N.endsWith("*")||N.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${m}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. Please change the parent to .`)}let b=Dn(),v;if(r){let N=typeof r=="string"?ll(r):r;at(g==="/"||((j=N.pathname)==null?void 0:j.startsWith(g)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${g}" but pathname "${N.pathname}" was given in the \`location\` prop.`),v=N}else v=b;let x=v.pathname||"/",C=x;if(g!=="/"){let N=g.replace(/^\//,"").split("/");C="/"+x.replace(/^\//,"").split("/").slice(N.length).join("/")}let E=a&&a.state.matches.length?a.state.matches.map(N=>Object.assign(N,{route:a.manifest[N.route.id]||N.route})):Bb(t,{pathname:C});On(h||E!=null,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),On(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let w=X3(E&&E.map(N=>Object.assign({},N,{params:Object.assign({},f,N.params),pathname:Gn([g,o.encodeLocation?o.encodeLocation(N.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?g:Gn([g,o.encodeLocation?o.encodeLocation(N.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:N.pathnameBase])})),s,a);return r&&w?d.createElement(Bs.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...v},navigationType:"POP"}},w):w}function Y3(){let t=e4(),r=k3(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),a=t instanceof Error?t.stack:null,o="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:o},c={padding:"2px 4px",backgroundColor:o},f=null;return console.error("Error handled by React Router default ErrorBoundary:",t),f=d.createElement(d.Fragment,null,d.createElement("p",null,"đź’ż Hey developer đź‘‹"),d.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",d.createElement("code",{style:c},"ErrorBoundary")," or"," ",d.createElement("code",{style:c},"errorElement")," prop on your route.")),d.createElement(d.Fragment,null,d.createElement("h2",null,"Unexpected Application Error!"),d.createElement("h3",{style:{fontStyle:"italic"}},r),a?d.createElement("pre",{style:s},a):null,f)}var F3=d.createElement(Y3,null),Zb=class extends d.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){this.props.onError?this.props.onError(t,r):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const a=$3(t.digest);a&&(t=a)}let r=t!==void 0?d.createElement(Wn.Provider,{value:this.props.routeContext},d.createElement(hp.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?d.createElement(W3,{error:t},r):r}};Zb.contextType=Yb;var im=new WeakMap;function W3({children:t,error:r}){let{basename:a}=d.useContext(gn);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let o=B3(r.digest);if(o){let s=im.get(r);if(s)throw s;let c=Vb(o.location,a);if(Ib&&!im.get(r))if(c.isExternal||o.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const f=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:o.replace}));throw im.set(r,f),f}return d.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return t}function q3({routeContext:t,match:r,children:a}){let o=d.useContext(sl);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),d.createElement(Wn.Provider,{value:t},a)}function X3(t,r=[],a){let o=a==null?void 0:a.state;if(t==null){if(!o)return null;if(o.errors)t=o.matches;else if(r.length===0&&!o.initialized&&o.matches.length>0)t=o.matches;else return null}let s=t,c=o==null?void 0:o.errors;if(c!=null){let b=s.findIndex(v=>v.route.id&&(c==null?void 0:c[v.route.id])!==void 0);at(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(c).join(",")}`),s=s.slice(0,Math.min(s.length,b+1))}let f=!1,m=-1;if(a&&o){f=o.renderFallback;for(let b=0;b=0?s=s.slice(0,m+1):s=[s[0]];break}}}}let g=a==null?void 0:a.onError,h=o&&g?(b,v)=>{var x,C;g(b,{location:o.location,params:((C=(x=o.matches)==null?void 0:x[0])==null?void 0:C.params)??{},pattern:M3(o.matches),errorInfo:v})}:void 0;return s.reduceRight((b,v,x)=>{let C,E=!1,w=null,j=null;o&&(C=c&&v.route.id?c[v.route.id]:void 0,w=v.route.errorElement||F3,f&&(m<0&&x===0?(Qb("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,j=null):m===x&&(E=!0,j=v.route.hydrateFallbackElement||null)));let N=r.concat(s.slice(0,x+1)),A=()=>{let k;return C?k=w:E?k=j:v.route.Component?k=d.createElement(v.route.Component,null):v.route.element?k=v.route.element:k=b,d.createElement(q3,{match:v,routeContext:{outlet:b,matches:N,isDataRoute:o!=null},children:k})};return o&&(v.route.ErrorBoundary||v.route.errorElement||x===0)?d.createElement(Zb,{location:o.location,revalidation:o.revalidation,component:w,error:C,children:A(),routeContext:{outlet:null,matches:N,isDataRoute:!0},onError:h}):A()},null)}function gp(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function K3(t){let r=d.useContext(sl);return at(r,gp(t)),r}function Z3(t){let r=d.useContext(tu);return at(r,gp(t)),r}function Q3(t){let r=d.useContext(Wn);return at(r,gp(t)),r}function vp(t){let r=Q3(t),a=r.matches[r.matches.length-1];return at(a.route.id,`${t} can only be used on routes that contain a unique "id"`),a.route.id}function J3(){return vp("useRouteId")}function e4(){var o;let t=d.useContext(hp),r=Z3("useRouteError"),a=vp("useRouteError");return t!==void 0?t:(o=r.errors)==null?void 0:o[a]}function t4(){let{router:t}=K3("useNavigate"),r=vp("useNavigate"),a=d.useRef(!1);return Xb(()=>{a.current=!0}),d.useCallback(async(s,c={})=>{On(a.current,qb),a.current&&(typeof s=="number"?await t.navigate(s):await t.navigate(s,{fromRouteId:r,...c}))},[t,r])}var A1={};function Qb(t,r,a){!r&&!A1[t]&&(A1[t]=!0,On(!1,a))}d.memo(n4);function n4({routes:t,manifest:r,future:a,state:o,isStatic:s,onError:c}){return Kb(t,void 0,{manifest:r,state:o,isStatic:s,onError:c})}function Ga({to:t,replace:r,state:a,relative:o}){at(il()," may be used only in the context of a component.");let{static:s}=d.useContext(gn);On(!s," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:c}=d.useContext(Wn),{pathname:f}=Dn(),m=cl(),g=eu(t,pp(c),f,o==="path"),h=JSON.stringify(g);return d.useEffect(()=>{m(JSON.parse(h),{replace:r,state:a,relative:o})},[m,h,o,r,a]),null}function r4(t){return V3(t.context)}function In(t){at(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function a4({basename:t="/",children:r=null,location:a,navigationType:o="POP",navigator:s,static:c=!1,useTransitions:f}){at(!il(),"You cannot render a inside another . You should never have more than one in your app.");let m=t.replace(/^\/*/,"/"),g=d.useMemo(()=>({basename:m,navigator:s,static:c,useTransitions:f,future:{}}),[m,s,c,f]);typeof a=="string"&&(a=ll(a));let{pathname:h="/",search:b="",hash:v="",state:x=null,key:C="default",mask:E}=a,w=d.useMemo(()=>{let j=kr(h,m);return j==null?null:{location:{pathname:j,search:b,hash:v,state:x,key:C,mask:E},navigationType:o}},[m,h,b,v,x,C,o,E]);return On(w!=null,` is not able to match the URL "${h}${b}${v}" because it does not start with the basename, so the won't render anything.`),w==null?null:d.createElement(gn.Provider,{value:g},d.createElement(Bs.Provider,{children:r,value:w}))}function o4({children:t,location:r}){return G3(Om(t),r)}function Om(t,r=[]){let a=[];return d.Children.forEach(t,(o,s)=>{if(!d.isValidElement(o))return;let c=[...r,s];if(o.type===d.Fragment){a.push.apply(a,Om(o.props.children,c));return}at(o.type===In,`[${typeof o.type=="string"?o.type:o.type.name}] is not a component. All component children of must be a or `),at(!o.props.index||!o.props.children,"An index route cannot have child routes.");let f={id:o.props.id||c.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(f.children=Om(o.props.children,c)),a.push(f)}),a}var Ac="get",kc="application/x-www-form-urlencoded";function nu(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function l4(t){return nu(t)&&t.tagName.toLowerCase()==="button"}function s4(t){return nu(t)&&t.tagName.toLowerCase()==="form"}function i4(t){return nu(t)&&t.tagName.toLowerCase()==="input"}function c4(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function u4(t,r){return t.button===0&&(!r||r==="_self")&&!c4(t)}function Dm(t=""){return new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((r,a)=>{let o=t[a];return r.concat(Array.isArray(o)?o.map(s=>[a,s]):[[a,o]])},[]))}function d4(t,r){let a=Dm(t);return r&&r.forEach((o,s)=>{a.has(s)||r.getAll(s).forEach(c=>{a.append(s,c)})}),a}var yc=null;function f4(){if(yc===null)try{new FormData(document.createElement("form"),0),yc=!1}catch{yc=!0}return yc}var m4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function cm(t){return t!=null&&!m4.has(t)?(On(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${kc}"`),null):t}function p4(t,r){let a,o,s,c,f;if(s4(t)){let m=t.getAttribute("action");o=m?kr(m,r):null,a=t.getAttribute("method")||Ac,s=cm(t.getAttribute("enctype"))||kc,c=new FormData(t)}else if(l4(t)||i4(t)&&(t.type==="submit"||t.type==="image")){let m=t.form;if(m==null)throw new Error('Cannot submit a