(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();var xd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function et(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gv={exports:{}},xu={};/** * @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 qT;function k6(){if(qT)return xu;qT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var l=null;if(s!==void 0&&(l=""+s),a.key!==void 0&&(l=""+a.key),"key"in a){s={};for(var c in a)c!=="key"&&(s[c]=a[c])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:l,ref:a!==void 0?a:null,props:s}}return xu.Fragment=t,xu.jsx=n,xu.jsxs=n,xu}var IT;function L6(){return IT||(IT=1,gv.exports=k6()),gv.exports}var y=L6(),bv={exports:{}},Me={};/** * @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 UT;function $6(){if(UT)return Me;UT=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),g=Symbol.iterator;function S(L){return L===null||typeof L!="object"?null:(L=g&&L[g]||L["@@iterator"],typeof L=="function"?L:null)}var A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,x={};function j(L,H,re){this.props=L,this.context=H,this.refs=x,this.updater=re||A}j.prototype.isReactComponent={},j.prototype.setState=function(L,H){if(typeof L!="object"&&typeof L!="function"&&L!=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,L,H,"setState")},j.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function _(){}_.prototype=j.prototype;function T(L,H,re){this.props=L,this.context=H,this.refs=x,this.updater=re||A}var M=T.prototype=new _;M.constructor=T,w(M,j.prototype),M.isPureReactComponent=!0;var O=Array.isArray;function C(){}var P={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function k(L,H,re){var fe=re.ref;return{$$typeof:e,type:L,key:H,ref:fe!==void 0?fe:null,props:re}}function U(L,H){return k(L.type,H,L.props)}function q(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function $(L){var H={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(re){return H[re]})}var F=/\/+/g;function X(L,H){return typeof L=="object"&&L!==null&&L.key!=null?$(""+L.key):H.toString(36)}function Y(L){switch(L.status){case"fulfilled":return L.value;case"rejected":throw L.reason;default:switch(typeof L.status=="string"?L.then(C,C):(L.status="pending",L.then(function(H){L.status==="pending"&&(L.status="fulfilled",L.value=H)},function(H){L.status==="pending"&&(L.status="rejected",L.reason=H)})),L.status){case"fulfilled":return L.value;case"rejected":throw L.reason}}throw L}function z(L,H,re,fe,ve){var we=typeof L;(we==="undefined"||we==="boolean")&&(L=null);var Le=!1;if(L===null)Le=!0;else switch(we){case"bigint":case"string":case"number":Le=!0;break;case"object":switch(L.$$typeof){case e:case t:Le=!0;break;case p:return Le=L._init,z(Le(L._payload),H,re,fe,ve)}}if(Le)return ve=ve(L),Le=fe===""?"."+X(L,0):fe,O(ve)?(re="",Le!=null&&(re=Le.replace(F,"$&/")+"/"),z(ve,H,re,"",function(_e){return _e})):ve!=null&&(q(ve)&&(ve=U(ve,re+(ve.key==null||L&&L.key===ve.key?"":(""+ve.key).replace(F,"$&/")+"/")+Le)),H.push(ve)),1;Le=0;var Ye=fe===""?".":fe+":";if(O(L))for(var ce=0;ce>>1,se=z[ie];if(0>>1;iea(re,Q))fea(ve,re)?(z[ie]=ve,z[fe]=Q,ie=fe):(z[ie]=re,z[H]=Q,ie=H);else if(fea(ve,Q))z[ie]=ve,z[fe]=Q,ie=fe;else break e}}return K}function a(z,K){var Q=z.sortIndex-K.sortIndex;return Q!==0?Q:z.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var f=[],d=[],p=1,m=null,g=3,S=!1,A=!1,w=!1,x=!1,j=typeof setTimeout=="function"?setTimeout:null,_=typeof clearTimeout=="function"?clearTimeout:null,T=typeof setImmediate<"u"?setImmediate:null;function M(z){for(var K=n(d);K!==null;){if(K.callback===null)r(d);else if(K.startTime<=z)r(d),K.sortIndex=K.expirationTime,t(f,K);else break;K=n(d)}}function O(z){if(w=!1,M(z),!A)if(n(f)!==null)A=!0,C||(C=!0,$());else{var K=n(d);K!==null&&Y(O,K.startTime-z)}}var C=!1,P=-1,R=5,k=-1;function U(){return x?!0:!(e.unstable_now()-kz&&U());){var ie=m.callback;if(typeof ie=="function"){m.callback=null,g=m.priorityLevel;var se=ie(m.expirationTime<=z);if(z=e.unstable_now(),typeof se=="function"){m.callback=se,M(z),K=!0;break t}m===n(f)&&r(f),M(z)}else r(f);m=n(f)}if(m!==null)K=!0;else{var L=n(d);L!==null&&Y(O,L.startTime-z),K=!1}}break e}finally{m=null,g=Q,S=!1}K=void 0}}finally{K?$():C=!1}}}var $;if(typeof T=="function")$=function(){T(q)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,X=F.port2;F.port1.onmessage=q,$=function(){X.postMessage(null)}}else $=function(){j(q,0)};function Y(z,K){P=j(function(){z(e.unstable_now())},K)}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(z){z.callback=null},e.unstable_forceFrameRate=function(z){0>z||125ie?(z.sortIndex=Q,t(d,z),n(f)===null&&z===n(d)&&(w?(_(P),P=-1):w=!0,Y(O,Q-ie))):(z.sortIndex=se,t(f,z),A||S||(A=!0,C||(C=!0,$()))),z},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(z){var K=g;return function(){var Q=g;g=K;try{return z.apply(this,arguments)}finally{g=Q}}}})(wv)),wv}var GT;function B6(){return GT||(GT=1,Sv.exports=z6()),Sv.exports}var Av={exports:{}},un={};/** * @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 FT;function q6(){if(FT)return un;FT=1;var e=FS();function t(f){var d="https://react.dev/errors/"+f;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Av.exports=q6(),Av.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 YT;function U6(){if(YT)return Su;YT=1;var e=B6(),t=FS(),n=I6();function r(i){var o="https://react.dev/errors/"+i;if(1se||(i.current=ie[se],ie[se]=null,se--)}function re(i,o){se++,ie[se]=i.current,i.current=o}var fe=L(null),ve=L(null),we=L(null),Le=L(null);function Ye(i,o){switch(re(we,o),re(ve,i),re(fe,null),o.nodeType){case 9:case 11:i=(i=o.documentElement)&&(i=i.namespaceURI)?uT(i):0;break;default:if(i=o.tagName,o=o.namespaceURI)o=uT(o),i=cT(o,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}H(fe),re(fe,i)}function ce(){H(fe),H(ve),H(we)}function _e(i){i.memoizedState!==null&&re(Le,i);var o=fe.current,u=cT(o,i.type);o!==u&&(re(ve,i),re(fe,u))}function Ce(i){ve.current===i&&(H(fe),H(ve)),Le.current===i&&(H(Le),yu._currentValue=Q)}var le,dt;function Re(i){if(le===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);le=o&&o[1]||"",dt=-1)":-1v||I[h]!==Z[v]){var te=` `+I[h].replace(" at new "," at ");return i.displayName&&te.includes("")&&(te=te.replace("",i.displayName)),te}while(1<=h&&0<=v);break}}}finally{St=!1,Error.prepareStackTrace=u}return(u=i?i.displayName||i.name:"")?Re(u):""}function sn(i,o){switch(i.tag){case 26:case 27:case 5:return Re(i.type);case 16:return Re("Lazy");case 13:return i.child!==o&&o!==null?Re("Suspense Fallback"):Re("Suspense");case 19:return Re("SuspenseList");case 0:case 15:return wt(i.type,!1);case 11:return wt(i.type.render,!1);case 1:return wt(i.type,!0);case 31:return Re("Activity");default:return""}}function pr(i){try{var o="",u=null;do o+=sn(i,u),u=i,i=i.return;while(i);return o}catch(h){return` Error generating stack: `+h.message+` `+h.stack}}var Lr=Object.prototype.hasOwnProperty,zi=e.unstable_scheduleCallback,mr=e.unstable_cancelCallback,ti=e.unstable_shouldYield,Tl=e.unstable_requestPaint,ln=e.unstable_now,tf=e.unstable_getCurrentPriorityLevel,IA=e.unstable_ImmediatePriority,UA=e.unstable_UserBlockingPriority,nf=e.unstable_NormalPriority,y4=e.unstable_LowPriority,VA=e.unstable_IdlePriority,v4=e.log,g4=e.unstable_setDisableYieldValue,El=null,Cn=null;function Bi(i){if(typeof v4=="function"&&g4(i),Cn&&typeof Cn.setStrictMode=="function")try{Cn.setStrictMode(El,i)}catch{}}var Mn=Math.clz32?Math.clz32:S4,b4=Math.log,x4=Math.LN2;function S4(i){return i>>>=0,i===0?32:31-(b4(i)/x4|0)|0}var rf=256,af=262144,of=4194304;function Na(i){var o=i&42;if(o!==0)return o;switch(i&-i){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 i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function sf(i,o,u){var h=i.pendingLanes;if(h===0)return 0;var v=0,b=i.suspendedLanes,E=i.pingedLanes;i=i.warmLanes;var D=h&134217727;return D!==0?(h=D&~b,h!==0?v=Na(h):(E&=D,E!==0?v=Na(E):u||(u=D&~i,u!==0&&(v=Na(u))))):(D=h&~b,D!==0?v=Na(D):E!==0?v=Na(E):u||(u=h&~i,u!==0&&(v=Na(u)))),v===0?0:o!==0&&o!==v&&(o&b)===0&&(b=v&-v,u=o&-o,b>=u||b===32&&(u&4194048)!==0)?o:v}function Cl(i,o){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&o)===0}function w4(i,o){switch(i){case 1:case 2:case 4:case 8:case 64:return o+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 o+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 HA(){var i=of;return of<<=1,(of&62914560)===0&&(of=4194304),i}function om(i){for(var o=[],u=0;31>u;u++)o.push(i);return o}function Ml(i,o){i.pendingLanes|=o,o!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function A4(i,o,u,h,v,b){var E=i.pendingLanes;i.pendingLanes=u,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=u,i.entangledLanes&=u,i.errorRecoveryDisabledLanes&=u,i.shellSuspendCounter=0;var D=i.entanglements,I=i.expirationTimes,Z=i.hiddenUpdates;for(u=E&~u;0"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var C4=/[\n"\\]/g;function Xn(i){return i.replace(C4,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function dm(i,o,u,h,v,b,E,D){i.name="",E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?i.type=E:i.removeAttribute("type"),o!=null?E==="number"?(o===0&&i.value===""||i.value!=o)&&(i.value=""+Yn(o)):i.value!==""+Yn(o)&&(i.value=""+Yn(o)):E!=="submit"&&E!=="reset"||i.removeAttribute("value"),o!=null?hm(i,E,Yn(o)):u!=null?hm(i,E,Yn(u)):h!=null&&i.removeAttribute("value"),v==null&&b!=null&&(i.defaultChecked=!!b),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?i.name=""+Yn(D):i.removeAttribute("name")}function rj(i,o,u,h,v,b,E,D){if(b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(i.type=b),o!=null||u!=null){if(!(b!=="submit"&&b!=="reset"||o!=null)){fm(i);return}u=u!=null?""+Yn(u):"",o=o!=null?""+Yn(o):u,D||o===i.value||(i.value=o),i.defaultValue=o}h=h??v,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=D?i.checked:!!h,i.defaultChecked=!!h,E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&(i.name=E),fm(i)}function hm(i,o,u){o==="number"&&cf(i.ownerDocument)===i||i.defaultValue===""+u||(i.defaultValue=""+u)}function zo(i,o,u,h){if(i=i.options,o){o={};for(var v=0;v"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gm=!1;if(ii)try{var Dl={};Object.defineProperty(Dl,"passive",{get:function(){gm=!0}}),window.addEventListener("test",Dl,Dl),window.removeEventListener("test",Dl,Dl)}catch{gm=!1}var Ii=null,bm=null,df=null;function cj(){if(df)return df;var i,o=bm,u=o.length,h,v="value"in Ii?Ii.value:Ii.textContent,b=v.length;for(i=0;i=$l),yj=" ",vj=!1;function gj(i,o){switch(i){case"keyup":return r5.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bj(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Uo=!1;function a5(i,o){switch(i){case"compositionend":return bj(o);case"keypress":return o.which!==32?null:(vj=!0,yj);case"textInput":return i=o.data,i===yj&&vj?null:i;default:return null}}function o5(i,o){if(Uo)return i==="compositionend"||!jm&&gj(i,o)?(i=cj(),df=bm=Ii=null,Uo=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1=o)return{node:u,offset:o-i};i=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Tj(u)}}function Cj(i,o){return i&&o?i===o?!0:i&&i.nodeType===3?!1:o&&o.nodeType===3?Cj(i,o.parentNode):"contains"in i?i.contains(o):i.compareDocumentPosition?!!(i.compareDocumentPosition(o)&16):!1:!1}function Mj(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var o=cf(i.document);o instanceof i.HTMLIFrameElement;){try{var u=typeof o.contentWindow.location.href=="string"}catch{u=!1}if(u)i=o.contentWindow;else break;o=cf(i.document)}return o}function Tm(i){var o=i&&i.nodeName&&i.nodeName.toLowerCase();return o&&(o==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||o==="textarea"||i.contentEditable==="true")}var p5=ii&&"documentMode"in document&&11>=document.documentMode,Vo=null,Em=null,Il=null,Cm=!1;function Pj(i,o,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Cm||Vo==null||Vo!==cf(h)||(h=Vo,"selectionStart"in h&&Tm(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Il&&ql(Il,h)||(Il=h,h=ad(Em,"onSelect"),0>=E,v-=E,$r=1<<32-Mn(o)+v|u<De?(Ie=ge,ge=null):Ie=ge.sibling;var Ge=J(G,ge,W[De],ae);if(Ge===null){ge===null&&(ge=Ie);break}i&&ge&&Ge.alternate===null&&o(G,ge),V=b(Ge,V,De),He===null?xe=Ge:He.sibling=Ge,He=Ge,ge=Ie}if(De===W.length)return u(G,ge),Ve&&oi(G,De),xe;if(ge===null){for(;DeDe?(Ie=ge,ge=null):Ie=ge.sibling;var ua=J(G,ge,Ge.value,ae);if(ua===null){ge===null&&(ge=Ie);break}i&&ge&&ua.alternate===null&&o(G,ge),V=b(ua,V,De),He===null?xe=ua:He.sibling=ua,He=ua,ge=Ie}if(Ge.done)return u(G,ge),Ve&&oi(G,De),xe;if(ge===null){for(;!Ge.done;De++,Ge=W.next())Ge=oe(G,Ge.value,ae),Ge!==null&&(V=b(Ge,V,De),He===null?xe=Ge:He.sibling=Ge,He=Ge);return Ve&&oi(G,De),xe}for(ge=h(ge);!Ge.done;De++,Ge=W.next())Ge=ee(ge,G,De,Ge.value,ae),Ge!==null&&(i&&Ge.alternate!==null&&ge.delete(Ge.key===null?De:Ge.key),V=b(Ge,V,De),He===null?xe=Ge:He.sibling=Ge,He=Ge);return i&&ge.forEach(function(D6){return o(G,D6)}),Ve&&oi(G,De),xe}function rt(G,V,W,ae){if(typeof W=="object"&&W!==null&&W.type===w&&W.key===null&&(W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case S:e:{for(var xe=W.key;V!==null;){if(V.key===xe){if(xe=W.type,xe===w){if(V.tag===7){u(G,V.sibling),ae=v(V,W.props.children),ae.return=G,G=ae;break e}}else if(V.elementType===xe||typeof xe=="object"&&xe!==null&&xe.$$typeof===R&&Va(xe)===V.type){u(G,V.sibling),ae=v(V,W.props),Kl(ae,W),ae.return=G,G=ae;break e}u(G,V);break}else o(G,V);V=V.sibling}W.type===w?(ae=za(W.props.children,G.mode,ae,W.key),ae.return=G,G=ae):(ae=wf(W.type,W.key,W.props,null,G.mode,ae),Kl(ae,W),ae.return=G,G=ae)}return E(G);case A:e:{for(xe=W.key;V!==null;){if(V.key===xe)if(V.tag===4&&V.stateNode.containerInfo===W.containerInfo&&V.stateNode.implementation===W.implementation){u(G,V.sibling),ae=v(V,W.children||[]),ae.return=G,G=ae;break e}else{u(G,V);break}else o(G,V);V=V.sibling}ae=Lm(W,G.mode,ae),ae.return=G,G=ae}return E(G);case R:return W=Va(W),rt(G,V,W,ae)}if(Y(W))return me(G,V,W,ae);if($(W)){if(xe=$(W),typeof xe!="function")throw Error(r(150));return W=xe.call(W),Ae(G,V,W,ae)}if(typeof W.then=="function")return rt(G,V,Cf(W),ae);if(W.$$typeof===T)return rt(G,V,Of(G,W),ae);Mf(G,W)}return typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint"?(W=""+W,V!==null&&V.tag===6?(u(G,V.sibling),ae=v(V,W),ae.return=G,G=ae):(u(G,V),ae=km(W,G.mode,ae),ae.return=G,G=ae),E(G)):u(G,V)}return function(G,V,W,ae){try{Fl=0;var xe=rt(G,V,W,ae);return es=null,xe}catch(ge){if(ge===Jo||ge===Tf)throw ge;var He=Nn(29,ge,null,G.mode);return He.lanes=ae,He.return=G,He}finally{}}}var Ga=eO(!0),tO=eO(!1),Fi=!1;function Ym(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xm(i,o){i=i.updateQueue,o.updateQueue===i&&(o.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function Ki(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function Yi(i,o,u){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(Ke&2)!==0){var v=h.pending;return v===null?o.next=o:(o.next=v.next,v.next=o),h.pending=o,o=Sf(i),zj(i,null,u),o}return xf(i,h,o,u),Sf(i)}function Yl(i,o,u){if(o=o.updateQueue,o!==null&&(o=o.shared,(u&4194048)!==0)){var h=o.lanes;h&=i.pendingLanes,u|=h,o.lanes=u,FA(i,u)}}function Wm(i,o){var u=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,u===h)){var v=null,b=null;if(u=u.firstBaseUpdate,u!==null){do{var E={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};b===null?v=b=E:b=b.next=E,u=u.next}while(u!==null);b===null?v=b=o:b=b.next=o}else v=b=o;u={baseState:h.baseState,firstBaseUpdate:v,lastBaseUpdate:b,shared:h.shared,callbacks:h.callbacks},i.updateQueue=u;return}i=u.lastBaseUpdate,i===null?u.firstBaseUpdate=o:i.next=o,u.lastBaseUpdate=o}var Zm=!1;function Xl(){if(Zm){var i=Qo;if(i!==null)throw i}}function Wl(i,o,u,h){Zm=!1;var v=i.updateQueue;Fi=!1;var b=v.firstBaseUpdate,E=v.lastBaseUpdate,D=v.shared.pending;if(D!==null){v.shared.pending=null;var I=D,Z=I.next;I.next=null,E===null?b=Z:E.next=Z,E=I;var te=i.alternate;te!==null&&(te=te.updateQueue,D=te.lastBaseUpdate,D!==E&&(D===null?te.firstBaseUpdate=Z:D.next=Z,te.lastBaseUpdate=I))}if(b!==null){var oe=v.baseState;E=0,te=Z=I=null,D=b;do{var J=D.lane&-536870913,ee=J!==D.lane;if(ee?(qe&J)===J:(h&J)===J){J!==0&&J===Zo&&(Zm=!0),te!==null&&(te=te.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var me=i,Ae=D;J=o;var rt=u;switch(Ae.tag){case 1:if(me=Ae.payload,typeof me=="function"){oe=me.call(rt,oe,J);break e}oe=me;break e;case 3:me.flags=me.flags&-65537|128;case 0:if(me=Ae.payload,J=typeof me=="function"?me.call(rt,oe,J):me,J==null)break e;oe=m({},oe,J);break e;case 2:Fi=!0}}J=D.callback,J!==null&&(i.flags|=64,ee&&(i.flags|=8192),ee=v.callbacks,ee===null?v.callbacks=[J]:ee.push(J))}else ee={lane:J,tag:D.tag,payload:D.payload,callback:D.callback,next:null},te===null?(Z=te=ee,I=oe):te=te.next=ee,E|=J;if(D=D.next,D===null){if(D=v.shared.pending,D===null)break;ee=D,D=ee.next,ee.next=null,v.lastBaseUpdate=ee,v.shared.pending=null}}while(!0);te===null&&(I=oe),v.baseState=I,v.firstBaseUpdate=Z,v.lastBaseUpdate=te,b===null&&(v.shared.lanes=0),Ji|=E,i.lanes=E,i.memoizedState=oe}}function nO(i,o){if(typeof i!="function")throw Error(r(191,i));i.call(o)}function rO(i,o){var u=i.callbacks;if(u!==null)for(i.callbacks=null,i=0;ib?b:8;var E=z.T,D={};z.T=D,yy(i,!1,o,u);try{var I=v(),Z=z.S;if(Z!==null&&Z(D,I),I!==null&&typeof I=="object"&&typeof I.then=="function"){var te=A5(I,h);Jl(i,o,te,$n(i))}else Jl(i,o,h,$n(i))}catch(oe){Jl(i,o,{then:function(){},status:"rejected",reason:oe},$n())}finally{K.p=b,E!==null&&D.types!==null&&(E.types=D.types),z.T=E}}function C5(){}function py(i,o,u,h){if(i.tag!==5)throw Error(r(476));var v=kO(i).queue;DO(i,v,o,Q,u===null?C5:function(){return LO(i),u(h)})}function kO(i){var o=i.memoizedState;if(o!==null)return o;o={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ci,lastRenderedState:Q},next:null};var u={};return o.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ci,lastRenderedState:u},next:null},i.memoizedState=o,i=i.alternate,i!==null&&(i.memoizedState=o),o}function LO(i){var o=kO(i);o.next===null&&(o=i.alternate.memoizedState),Jl(i,o.next.queue,{},$n())}function my(){return en(yu)}function $O(){return Et().memoizedState}function zO(){return Et().memoizedState}function M5(i){for(var o=i.return;o!==null;){switch(o.tag){case 24:case 3:var u=$n();i=Ki(u);var h=Yi(o,i,u);h!==null&&(On(h,o,u),Yl(h,o,u)),o={cache:Hm()},i.payload=o;return}o=o.return}}function P5(i,o,u){var h=$n();u={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},qf(i)?qO(o,u):(u=Rm(i,o,u,h),u!==null&&(On(u,i,h),IO(u,o,h)))}function BO(i,o,u){var h=$n();Jl(i,o,u,h)}function Jl(i,o,u,h){var v={lane:h,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(qf(i))qO(o,v);else{var b=i.alternate;if(i.lanes===0&&(b===null||b.lanes===0)&&(b=o.lastRenderedReducer,b!==null))try{var E=o.lastRenderedState,D=b(E,u);if(v.hasEagerState=!0,v.eagerState=D,Pn(D,E))return xf(i,o,v,0),at===null&&bf(),!1}catch{}finally{}if(u=Rm(i,o,v,h),u!==null)return On(u,i,h),IO(u,o,h),!0}return!1}function yy(i,o,u,h){if(h={lane:2,revertLane:Yy(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},qf(i)){if(o)throw Error(r(479))}else o=Rm(i,u,h,2),o!==null&&On(o,i,2)}function qf(i){var o=i.alternate;return i===Ne||o!==null&&o===Ne}function qO(i,o){ns=Rf=!0;var u=i.pending;u===null?o.next=o:(o.next=u.next,u.next=o),i.pending=o}function IO(i,o,u){if((u&4194048)!==0){var h=o.lanes;h&=i.pendingLanes,u|=h,o.lanes=u,FA(i,u)}}var eu={readContext:en,use:Lf,useCallback:At,useContext:At,useEffect:At,useImperativeHandle:At,useLayoutEffect:At,useInsertionEffect:At,useMemo:At,useReducer:At,useRef:At,useState:At,useDebugValue:At,useDeferredValue:At,useTransition:At,useSyncExternalStore:At,useId:At,useHostTransitionStatus:At,useFormState:At,useActionState:At,useOptimistic:At,useMemoCache:At,useCacheRefresh:At};eu.useEffectEvent=At;var UO={readContext:en,use:Lf,useCallback:function(i,o){return dn().memoizedState=[i,o===void 0?null:o],i},useContext:en,useEffect:OO,useImperativeHandle:function(i,o,u){u=u!=null?u.concat([i]):null,zf(4194308,4,CO.bind(null,o,i),u)},useLayoutEffect:function(i,o){return zf(4194308,4,i,o)},useInsertionEffect:function(i,o){zf(4,2,i,o)},useMemo:function(i,o){var u=dn();o=o===void 0?null:o;var h=i();if(Fa){Bi(!0);try{i()}finally{Bi(!1)}}return u.memoizedState=[h,o],h},useReducer:function(i,o,u){var h=dn();if(u!==void 0){var v=u(o);if(Fa){Bi(!0);try{u(o)}finally{Bi(!1)}}}else v=o;return h.memoizedState=h.baseState=v,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},h.queue=i,i=i.dispatch=P5.bind(null,Ne,i),[h.memoizedState,i]},useRef:function(i){var o=dn();return i={current:i},o.memoizedState=i},useState:function(i){i=uy(i);var o=i.queue,u=BO.bind(null,Ne,o);return o.dispatch=u,[i.memoizedState,u]},useDebugValue:dy,useDeferredValue:function(i,o){var u=dn();return hy(u,i,o)},useTransition:function(){var i=uy(!1);return i=DO.bind(null,Ne,i.queue,!0,!1),dn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,o,u){var h=Ne,v=dn();if(Ve){if(u===void 0)throw Error(r(407));u=u()}else{if(u=o(),at===null)throw Error(r(349));(qe&127)!==0||uO(h,o,u)}v.memoizedState=u;var b={value:u,getSnapshot:o};return v.queue=b,OO(fO.bind(null,h,b,i),[i]),h.flags|=2048,is(9,{destroy:void 0},cO.bind(null,h,b,u,o),null),u},useId:function(){var i=dn(),o=at.identifierPrefix;if(Ve){var u=zr,h=$r;u=(h&~(1<<32-Mn(h)-1)).toString(32)+u,o="_"+o+"R_"+u,u=Df++,0<\/script>",b=b.removeChild(b.firstChild);break;case"select":b=typeof h.is=="string"?E.createElement("select",{is:h.is}):E.createElement("select"),h.multiple?b.multiple=!0:h.size&&(b.size=h.size);break;default:b=typeof h.is=="string"?E.createElement(v,{is:h.is}):E.createElement(v)}}b[Qt]=o,b[bn]=h;e:for(E=o.child;E!==null;){if(E.tag===5||E.tag===6)b.appendChild(E.stateNode);else if(E.tag!==4&&E.tag!==27&&E.child!==null){E.child.return=E,E=E.child;continue}if(E===o)break e;for(;E.sibling===null;){if(E.return===null||E.return===o)break e;E=E.return}E.sibling.return=E.return,E=E.sibling}o.stateNode=b;e:switch(nn(b,v,h),v){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&di(o)}}return pt(o),My(o,o.type,i===null?null:i.memoizedProps,o.pendingProps,u),null;case 6:if(i&&o.stateNode!=null)i.memoizedProps!==h&&di(o);else{if(typeof h!="string"&&o.stateNode===null)throw Error(r(166));if(i=we.current,Xo(o)){if(i=o.stateNode,u=o.memoizedProps,h=null,v=Jt,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[Qt]=o,i=!!(i.nodeValue===u||h!==null&&h.suppressHydrationWarning===!0||sT(i.nodeValue,u)),i||Hi(o,!0)}else i=od(i).createTextNode(h),i[Qt]=o,o.stateNode=i}return pt(o),null;case 31:if(u=o.memoizedState,i===null||i.memoizedState!==null){if(h=Xo(o),u!==null){if(i===null){if(!h)throw Error(r(318));if(i=o.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(557));i[Qt]=o}else Ba(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;pt(o),i=!1}else u=qm(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=u),i=!0;if(!i)return o.flags&256?(Dn(o),o):(Dn(o),null);if((o.flags&128)!==0)throw Error(r(558))}return pt(o),null;case 13:if(h=o.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=Xo(o),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(r(318));if(v=o.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[Qt]=o}else Ba(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;pt(o),v=!1}else v=qm(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=v),v=!0;if(!v)return o.flags&256?(Dn(o),o):(Dn(o),null)}return Dn(o),(o.flags&128)!==0?(o.lanes=u,o):(u=h!==null,i=i!==null&&i.memoizedState!==null,u&&(h=o.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool),b=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(b=h.memoizedState.cachePool.pool),b!==v&&(h.flags|=2048)),u!==i&&u&&(o.child.flags|=8192),Gf(o,o.updateQueue),pt(o),null);case 4:return ce(),i===null&&Qy(o.stateNode.containerInfo),pt(o),null;case 10:return li(o.type),pt(o),null;case 19:if(H(Tt),h=o.memoizedState,h===null)return pt(o),null;if(v=(o.flags&128)!==0,b=h.rendering,b===null)if(v)nu(h,!1);else{if(jt!==0||i!==null&&(i.flags&128)!==0)for(i=o.child;i!==null;){if(b=Nf(i),b!==null){for(o.flags|=128,nu(h,!1),i=b.updateQueue,o.updateQueue=i,Gf(o,i),o.subtreeFlags=0,i=u,u=o.child;u!==null;)Bj(u,i),u=u.sibling;return re(Tt,Tt.current&1|2),Ve&&oi(o,h.treeForkCount),o.child}i=i.sibling}h.tail!==null&&ln()>Wf&&(o.flags|=128,v=!0,nu(h,!1),o.lanes=4194304)}else{if(!v)if(i=Nf(b),i!==null){if(o.flags|=128,v=!0,i=i.updateQueue,o.updateQueue=i,Gf(o,i),nu(h,!0),h.tail===null&&h.tailMode==="hidden"&&!b.alternate&&!Ve)return pt(o),null}else 2*ln()-h.renderingStartTime>Wf&&u!==536870912&&(o.flags|=128,v=!0,nu(h,!1),o.lanes=4194304);h.isBackwards?(b.sibling=o.child,o.child=b):(i=h.last,i!==null?i.sibling=b:o.child=b,h.last=b)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=ln(),i.sibling=null,u=Tt.current,re(Tt,v?u&1|2:u&1),Ve&&oi(o,h.treeForkCount),i):(pt(o),null);case 22:case 23:return Dn(o),Jm(),h=o.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(o.flags|=8192):h&&(o.flags|=8192),h?(u&536870912)!==0&&(o.flags&128)===0&&(pt(o),o.subtreeFlags&6&&(o.flags|=8192)):pt(o),u=o.updateQueue,u!==null&&Gf(o,u.retryQueue),u=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(u=i.memoizedState.cachePool.pool),h=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(h=o.memoizedState.cachePool.pool),h!==u&&(o.flags|=2048),i!==null&&H(Ua),null;case 24:return u=null,i!==null&&(u=i.memoizedState.cache),o.memoizedState.cache!==u&&(o.flags|=2048),li(Mt),pt(o),null;case 25:return null;case 30:return null}throw Error(r(156,o.tag))}function L5(i,o){switch(zm(o),o.tag){case 1:return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 3:return li(Mt),ce(),i=o.flags,(i&65536)!==0&&(i&128)===0?(o.flags=i&-65537|128,o):null;case 26:case 27:case 5:return Ce(o),null;case 31:if(o.memoizedState!==null){if(Dn(o),o.alternate===null)throw Error(r(340));Ba()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 13:if(Dn(o),i=o.memoizedState,i!==null&&i.dehydrated!==null){if(o.alternate===null)throw Error(r(340));Ba()}return i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 19:return H(Tt),null;case 4:return ce(),null;case 10:return li(o.type),null;case 22:case 23:return Dn(o),Jm(),i!==null&&H(Ua),i=o.flags,i&65536?(o.flags=i&-65537|128,o):null;case 24:return li(Mt),null;case 25:return null;default:return null}}function d_(i,o){switch(zm(o),o.tag){case 3:li(Mt),ce();break;case 26:case 27:case 5:Ce(o);break;case 4:ce();break;case 31:o.memoizedState!==null&&Dn(o);break;case 13:Dn(o);break;case 19:H(Tt);break;case 10:li(o.type);break;case 22:case 23:Dn(o),Jm(),i!==null&&H(Ua);break;case 24:li(Mt)}}function ru(i,o){try{var u=o.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var v=h.next;u=v;do{if((u.tag&i)===i){h=void 0;var b=u.create,E=u.inst;h=b(),E.destroy=h}u=u.next}while(u!==v)}}catch(D){Je(o,o.return,D)}}function Zi(i,o,u){try{var h=o.updateQueue,v=h!==null?h.lastEffect:null;if(v!==null){var b=v.next;h=b;do{if((h.tag&i)===i){var E=h.inst,D=E.destroy;if(D!==void 0){E.destroy=void 0,v=o;var I=u,Z=D;try{Z()}catch(te){Je(v,I,te)}}}h=h.next}while(h!==b)}}catch(te){Je(o,o.return,te)}}function h_(i){var o=i.updateQueue;if(o!==null){var u=i.stateNode;try{rO(o,u)}catch(h){Je(i,i.return,h)}}}function p_(i,o,u){u.props=Ka(i.type,i.memoizedProps),u.state=i.memoizedState;try{u.componentWillUnmount()}catch(h){Je(i,o,h)}}function iu(i,o){try{var u=i.ref;if(u!==null){switch(i.tag){case 26:case 27:case 5:var h=i.stateNode;break;case 30:h=i.stateNode;break;default:h=i.stateNode}typeof u=="function"?i.refCleanup=u(h):u.current=h}}catch(v){Je(i,o,v)}}function Br(i,o){var u=i.ref,h=i.refCleanup;if(u!==null)if(typeof h=="function")try{h()}catch(v){Je(i,o,v)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(v){Je(i,o,v)}else u.current=null}function m_(i){var o=i.type,u=i.memoizedProps,h=i.stateNode;try{e:switch(o){case"button":case"input":case"select":case"textarea":u.autoFocus&&h.focus();break e;case"img":u.src?h.src=u.src:u.srcSet&&(h.srcset=u.srcSet)}}catch(v){Je(i,i.return,v)}}function Py(i,o,u){try{var h=i.stateNode;i6(h,i.type,u,o),h[bn]=o}catch(v){Je(i,i.return,v)}}function y_(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&ia(i.type)||i.tag===4}function Ny(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||y_(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&ia(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function Ry(i,o,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(i,o):(o=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,o.appendChild(i),u=u._reactRootContainer,u!=null||o.onclick!==null||(o.onclick=ri));else if(h!==4&&(h===27&&ia(i.type)&&(u=i.stateNode,o=null),i=i.child,i!==null))for(Ry(i,o,u),i=i.sibling;i!==null;)Ry(i,o,u),i=i.sibling}function Ff(i,o,u){var h=i.tag;if(h===5||h===6)i=i.stateNode,o?u.insertBefore(i,o):u.appendChild(i);else if(h!==4&&(h===27&&ia(i.type)&&(u=i.stateNode),i=i.child,i!==null))for(Ff(i,o,u),i=i.sibling;i!==null;)Ff(i,o,u),i=i.sibling}function v_(i){var o=i.stateNode,u=i.memoizedProps;try{for(var h=i.type,v=o.attributes;v.length;)o.removeAttributeNode(v[0]);nn(o,h,u),o[Qt]=i,o[bn]=u}catch(b){Je(i,i.return,b)}}var hi=!1,Rt=!1,Dy=!1,g_=typeof WeakSet=="function"?WeakSet:Set,Kt=null;function $5(i,o){if(i=i.containerInfo,tv=hd,i=Mj(i),Tm(i)){if("selectionStart"in i)var u={start:i.selectionStart,end:i.selectionEnd};else e:{u=(u=i.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var v=h.anchorOffset,b=h.focusNode;h=h.focusOffset;try{u.nodeType,b.nodeType}catch{u=null;break e}var E=0,D=-1,I=-1,Z=0,te=0,oe=i,J=null;t:for(;;){for(var ee;oe!==u||v!==0&&oe.nodeType!==3||(D=E+v),oe!==b||h!==0&&oe.nodeType!==3||(I=E+h),oe.nodeType===3&&(E+=oe.nodeValue.length),(ee=oe.firstChild)!==null;)J=oe,oe=ee;for(;;){if(oe===i)break t;if(J===u&&++Z===v&&(D=E),J===b&&++te===h&&(I=E),(ee=oe.nextSibling)!==null)break;oe=J,J=oe.parentNode}oe=ee}u=D===-1||I===-1?null:{start:D,end:I}}else u=null}u=u||{start:0,end:0}}else u=null;for(nv={focusedElem:i,selectionRange:u},hd=!1,Kt=o;Kt!==null;)if(o=Kt,i=o.child,(o.subtreeFlags&1028)!==0&&i!==null)i.return=o,Kt=i;else for(;Kt!==null;){switch(o=Kt,b=o.alternate,i=o.flags,o.tag){case 0:if((i&4)!==0&&(i=o.updateQueue,i=i!==null?i.events:null,i!==null))for(u=0;u title"))),nn(b,h,u),b[Qt]=i,Ft(b),h=b;break e;case"link":var E=jT("link","href",v).get(h+(u.href||""));if(E){for(var D=0;Drt&&(E=rt,rt=Ae,Ae=E);var G=Ej(D,Ae),V=Ej(D,rt);if(G&&V&&(ee.rangeCount!==1||ee.anchorNode!==G.node||ee.anchorOffset!==G.offset||ee.focusNode!==V.node||ee.focusOffset!==V.offset)){var W=oe.createRange();W.setStart(G.node,G.offset),ee.removeAllRanges(),Ae>rt?(ee.addRange(W),ee.extend(V.node,V.offset)):(W.setEnd(V.node,V.offset),ee.addRange(W))}}}}for(oe=[],ee=D;ee=ee.parentNode;)ee.nodeType===1&&oe.push({element:ee,left:ee.scrollLeft,top:ee.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;Du?32:u,z.T=null,u=Iy,Iy=null;var b=ta,E=gi;if(Bt=0,us=ta=null,gi=0,(Ke&6)!==0)throw Error(r(331));var D=Ke;if(Ke|=4,C_(b.current),__(b,b.current,E,u),Ke=D,cu(0,!1),Cn&&typeof Cn.onPostCommitFiberRoot=="function")try{Cn.onPostCommitFiberRoot(El,b)}catch{}return!0}finally{K.p=v,z.T=h,K_(i,o)}}function X_(i,o,u){o=Zn(u,o),o=xy(i.stateNode,o,2),i=Yi(i,o,2),i!==null&&(Ml(i,2),qr(i))}function Je(i,o,u){if(i.tag===3)X_(i,i,u);else for(;o!==null;){if(o.tag===3){X_(o,i,u);break}else if(o.tag===1){var h=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(ea===null||!ea.has(h))){i=Zn(u,i),u=WO(2),h=Yi(o,u,2),h!==null&&(ZO(u,h,o,i),Ml(h,2),qr(h));break}}o=o.return}}function Gy(i,o,u){var h=i.pingCache;if(h===null){h=i.pingCache=new q5;var v=new Set;h.set(o,v)}else v=h.get(o),v===void 0&&(v=new Set,h.set(o,v));v.has(u)||($y=!0,v.add(u),i=G5.bind(null,i,o,u),o.then(i,i))}function G5(i,o,u){var h=i.pingCache;h!==null&&h.delete(o),i.pingedLanes|=i.suspendedLanes&u,i.warmLanes&=~u,at===i&&(qe&u)===u&&(jt===4||jt===3&&(qe&62914560)===qe&&300>ln()-Xf?(Ke&2)===0&&cs(i,0):zy|=u,ls===qe&&(ls=0)),qr(i)}function W_(i,o){o===0&&(o=HA()),i=$a(i,o),i!==null&&(Ml(i,o),qr(i))}function F5(i){var o=i.memoizedState,u=0;o!==null&&(u=o.retryLane),W_(i,u)}function K5(i,o){var u=0;switch(i.tag){case 31:case 13:var h=i.stateNode,v=i.memoizedState;v!==null&&(u=v.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(o),W_(i,u)}function Y5(i,o){return zi(i,o)}var nd=null,ds=null,Fy=!1,rd=!1,Ky=!1,ra=0;function qr(i){i!==ds&&i.next===null&&(ds===null?nd=ds=i:ds=ds.next=i),rd=!0,Fy||(Fy=!0,W5())}function cu(i,o){if(!Ky&&rd){Ky=!0;do for(var u=!1,h=nd;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var b=0;else{var E=h.suspendedLanes,D=h.pingedLanes;b=(1<<31-Mn(42|i)+1)-1,b&=v&~(E&~D),b=b&201326741?b&201326741|1:b?b|2:0}b!==0&&(u=!0,eT(h,b))}else b=qe,b=sf(h,h===at?b:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(b&3)===0||Cl(h,b)||(u=!0,eT(h,b));h=h.next}while(u);Ky=!1}}function X5(){Z_()}function Z_(){rd=Fy=!1;var i=0;ra!==0&&o6()&&(i=ra);for(var o=ln(),u=null,h=nd;h!==null;){var v=h.next,b=Q_(h,o);b===0?(h.next=null,u===null?nd=v:u.next=v,v===null&&(ds=u)):(u=h,(i!==0||(b&3)!==0)&&(rd=!0)),h=v}Bt!==0&&Bt!==5||cu(i),ra!==0&&(ra=0)}function Q_(i,o){for(var u=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,b=i.pendingLanes&-62914561;0D)break;var te=I.transferSize,oe=I.initiatorType;te&&lT(oe)&&(I=I.responseEnd,E+=te*(I"u"?null:document;function xT(i,o,u){var h=hs;if(h&&typeof o=="string"&&o){var v=Xn(o);v='link[rel="'+i+'"][href="'+v+'"]',typeof u=="string"&&(v+='[crossorigin="'+u+'"]'),bT.has(v)||(bT.add(v),i={rel:i,crossOrigin:u,href:o},h.querySelector(v)===null&&(o=h.createElement("link"),nn(o,"link",i),Ft(o),h.head.appendChild(o)))}}function m6(i){bi.D(i),xT("dns-prefetch",i,null)}function y6(i,o){bi.C(i,o),xT("preconnect",i,o)}function v6(i,o,u){bi.L(i,o,u);var h=hs;if(h&&i&&o){var v='link[rel="preload"][as="'+Xn(o)+'"]';o==="image"&&u&&u.imageSrcSet?(v+='[imagesrcset="'+Xn(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(v+='[imagesizes="'+Xn(u.imageSizes)+'"]')):v+='[href="'+Xn(i)+'"]';var b=v;switch(o){case"style":b=ps(i);break;case"script":b=ms(i)}rr.has(b)||(i=m({rel:"preload",href:o==="image"&&u&&u.imageSrcSet?void 0:i,as:o},u),rr.set(b,i),h.querySelector(v)!==null||o==="style"&&h.querySelector(pu(b))||o==="script"&&h.querySelector(mu(b))||(o=h.createElement("link"),nn(o,"link",i),Ft(o),h.head.appendChild(o)))}}function g6(i,o){bi.m(i,o);var u=hs;if(u&&i){var h=o&&typeof o.as=="string"?o.as:"script",v='link[rel="modulepreload"][as="'+Xn(h)+'"][href="'+Xn(i)+'"]',b=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":b=ms(i)}if(!rr.has(b)&&(i=m({rel:"modulepreload",href:i},o),rr.set(b,i),u.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(mu(b)))return}h=u.createElement("link"),nn(h,"link",i),Ft(h),u.head.appendChild(h)}}}function b6(i,o,u){bi.S(i,o,u);var h=hs;if(h&&i){var v=Lo(h).hoistableStyles,b=ps(i);o=o||"default";var E=v.get(b);if(!E){var D={loading:0,preload:null};if(E=h.querySelector(pu(b)))D.loading=5;else{i=m({rel:"stylesheet",href:i,"data-precedence":o},u),(u=rr.get(b))&&uv(i,u);var I=E=h.createElement("link");Ft(I),nn(I,"link",i),I._p=new Promise(function(Z,te){I.onload=Z,I.onerror=te}),I.addEventListener("load",function(){D.loading|=1}),I.addEventListener("error",function(){D.loading|=2}),D.loading|=4,ld(E,o,h)}E={type:"stylesheet",instance:E,count:1,state:D},v.set(b,E)}}}function x6(i,o){bi.X(i,o);var u=hs;if(u&&i){var h=Lo(u).hoistableScripts,v=ms(i),b=h.get(v);b||(b=u.querySelector(mu(v)),b||(i=m({src:i,async:!0},o),(o=rr.get(v))&&cv(i,o),b=u.createElement("script"),Ft(b),nn(b,"link",i),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(v,b))}}function S6(i,o){bi.M(i,o);var u=hs;if(u&&i){var h=Lo(u).hoistableScripts,v=ms(i),b=h.get(v);b||(b=u.querySelector(mu(v)),b||(i=m({src:i,async:!0,type:"module"},o),(o=rr.get(v))&&cv(i,o),b=u.createElement("script"),Ft(b),nn(b,"link",i),u.head.appendChild(b)),b={type:"script",instance:b,count:1,state:null},h.set(v,b))}}function ST(i,o,u,h){var v=(v=we.current)?sd(v):null;if(!v)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(o=ps(u.href),u=Lo(v).hoistableStyles,h=u.get(o),h||(h={type:"style",instance:null,count:0,state:null},u.set(o,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){i=ps(u.href);var b=Lo(v).hoistableStyles,E=b.get(i);if(E||(v=v.ownerDocument||v,E={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},b.set(i,E),(b=v.querySelector(pu(i)))&&!b._p&&(E.instance=b,E.state.loading=5),rr.has(i)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},rr.set(i,u),b||w6(v,i,u,E.state))),o&&h===null)throw Error(r(528,""));return E}if(o&&h!==null)throw Error(r(529,""));return null;case"script":return o=u.async,u=u.src,typeof u=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(o=ms(u),u=Lo(v).hoistableScripts,h=u.get(o),h||(h={type:"script",instance:null,count:0,state:null},u.set(o,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ps(i){return'href="'+Xn(i)+'"'}function pu(i){return'link[rel="stylesheet"]['+i+"]"}function wT(i){return m({},i,{"data-precedence":i.precedence,precedence:null})}function w6(i,o,u,h){i.querySelector('link[rel="preload"][as="style"]['+o+"]")?h.loading=1:(o=i.createElement("link"),h.preload=o,o.addEventListener("load",function(){return h.loading|=1}),o.addEventListener("error",function(){return h.loading|=2}),nn(o,"link",u),Ft(o),i.head.appendChild(o))}function ms(i){return'[src="'+Xn(i)+'"]'}function mu(i){return"script[async]"+i}function AT(i,o,u){if(o.count++,o.instance===null)switch(o.type){case"style":var h=i.querySelector('style[data-href~="'+Xn(u.href)+'"]');if(h)return o.instance=h,Ft(h),h;var v=m({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),Ft(h),nn(h,"style",v),ld(h,u.precedence,i),o.instance=h;case"stylesheet":v=ps(u.href);var b=i.querySelector(pu(v));if(b)return o.state.loading|=4,o.instance=b,Ft(b),b;h=wT(u),(v=rr.get(v))&&uv(h,v),b=(i.ownerDocument||i).createElement("link"),Ft(b);var E=b;return E._p=new Promise(function(D,I){E.onload=D,E.onerror=I}),nn(b,"link",h),o.state.loading|=4,ld(b,u.precedence,i),o.instance=b;case"script":return b=ms(u.src),(v=i.querySelector(mu(b)))?(o.instance=v,Ft(v),v):(h=u,(v=rr.get(b))&&(h=m({},u),cv(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),Ft(v),nn(v,"link",h),i.head.appendChild(v),o.instance=v);case"void":return null;default:throw Error(r(443,o.type))}else o.type==="stylesheet"&&(o.state.loading&4)===0&&(h=o.instance,o.state.loading|=4,ld(h,u.precedence,i));return o.instance}function ld(i,o,u){for(var h=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=h.length?h[h.length-1]:null,b=v,E=0;E title"):null)}function A6(i,o,u){if(u===1||o.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href==="")break;return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError)break;switch(o.rel){case"stylesheet":return i=o.disabled,typeof o.precedence=="string"&&i==null;default:return!0}case"script":if(o.async&&typeof o.async!="function"&&typeof o.async!="symbol"&&!o.onLoad&&!o.onError&&o.src&&typeof o.src=="string")return!0}return!1}function _T(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function j6(i,o,u,h){if(u.type==="stylesheet"&&(typeof h.media!="string"||matchMedia(h.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var v=ps(h.href),b=o.querySelector(pu(v));if(b){o=b._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(i.count++,i=cd.bind(i),o.then(i,i)),u.state.loading|=4,u.instance=b,Ft(b);return}b=o.ownerDocument||o,h=wT(h),(v=rr.get(v))&&uv(h,v),b=b.createElement("link"),Ft(b);var E=b;E._p=new Promise(function(D,I){E.onload=D,E.onerror=I}),nn(b,"link",h),u.instance=b}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(u,o),(o=u.state.preload)&&(u.state.loading&3)===0&&(i.count++,u=cd.bind(i),o.addEventListener("load",u),o.addEventListener("error",u))}}var fv=0;function O6(i,o){return i.stylesheets&&i.count===0&&dd(i,i.stylesheets),0fv?50:800)+o);return i.unsuspend=u,function(){i.unsuspend=null,clearTimeout(h),clearTimeout(v)}}:null}function cd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)dd(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var fd=null;function dd(i,o){i.stylesheets=null,i.unsuspend!==null&&(i.count++,fd=new Map,o.forEach(_6,i),fd=null,cd.call(i))}function _6(i,o){if(!(o.state.loading&4)){var u=fd.get(i);if(u)var h=u.get(null);else{u=new Map,fd.set(i,u);for(var v=i.querySelectorAll("link[data-precedence],style[data-precedence]"),b=0;b"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),xv.exports=U6(),xv.exports}var H6=V6();/** * react-router v7.18.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 KS=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,_k=/^[\\/]{2}/;function G6(e,t){return t+e.replace(/\\/g,"/")}var WT="popstate";function ZT(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function F6(e={}){function t(r,a){var d;let s=(d=a.state)==null?void 0:d.masked,{pathname:l,search:c,hash:f}=s||r.location;return F0("",{pathname:l,search:c,hash:f},a.state&&a.state.usr||null,a.state&&a.state.key||"default",s?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,a){return typeof a=="string"?a:Ju(a)}return Y6(t,n,null,e)}function xt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Er(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function K6(){return Math.random().toString(36).substring(2,10)}function QT(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function F0(e,t,n=null,r,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?fl(t):t,state:n,key:t&&t.key||r||K6(),mask:a}}function Ju({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function fl(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Y6(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:s=!1}=r,l=a.history,c="POP",f=null,d=p();d==null&&(d=0,l.replaceState({...l.state,idx:d},""));function p(){return(l.state||{idx:null}).idx}function m(){c="POP";let x=p(),j=x==null?null:x-d;d=x,f&&f({action:c,location:w.location,delta:j})}function g(x,j){c="PUSH";let _=ZT(x)?x:F0(w.location,x,j);d=p()+1;let T=QT(_,d),M=w.createHref(_.mask||_);try{l.pushState(T,"",M)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(M)}s&&f&&f({action:c,location:w.location,delta:1})}function S(x,j){c="REPLACE";let _=ZT(x)?x:F0(w.location,x,j);d=p();let T=QT(_,d),M=w.createHref(_.mask||_);l.replaceState(T,"",M),s&&f&&f({action:c,location:w.location,delta:0})}function A(x){return X6(a,x)}let w={get action(){return c},get location(){return e(a,l)},listen(x){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(WT,m),f=x,()=>{a.removeEventListener(WT,m),f=null}},createHref(x){return t(a,x)},createURL:A,encodeLocation(x){let j=A(x);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:g,replace:S,go(x){return l.go(x)}};return w}function X6(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),xt(r,"No window.location.(origin|href) available to create URL");let a=typeof t=="string"?t:Ju(t);return a=a.replace(/ $/,"%20"),!n&&_k.test(a)&&(a=r+a),new URL(a,r)}function Tk(e,t,n="/"){return W6(e,t,n,!1)}function W6(e,t,n,r,a){let s=typeof t=="string"?fl(t):t,l=Ci(s.pathname||"/",n);if(l==null)return null;let c=Z6(e),f=null,d=l8(l);for(let p=0;f==null&&p{let p={relativePath:d===void 0?l.path||"":d,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};if(p.relativePath.startsWith("/")){if(!p.relativePath.startsWith(r)&&f)return;xt(p.relativePath.startsWith(r),`Absolute route path "${p.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),p.relativePath=p.relativePath.slice(r.length)}let m=Or([r,p.relativePath]),g=n.concat(p);l.children&&l.children.length>0&&(xt(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),Ek(l.children,t,g,m,f)),!(l.path==null&&!l.index)&&t.push({path:m,score:a8(m,l.index),routesMeta:g.map((S,A)=>{let[w,x]=Pk(S.relativePath,S.caseSensitive,A===g.length-1);return{...S,matcher:w,compiledParams:x}})})};return e.forEach((l,c)=>{var f;if(l.path===""||!((f=l.path)!=null&&f.includes("?")))s(l,c);else for(let d of Ck(l.path))s(l,c,!0,d)}),t}function Ck(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return a?[s,""]:[s];let l=Ck(r.join("/")),c=[];return c.push(...l.map(f=>f===""?s:[s,f].join("/"))),a&&c.push(...l),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function Q6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:o8(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var J6=/^:[\w-]+$/,e8=3,t8=2,n8=1,r8=10,i8=-2,JT=e=>e==="*";function a8(e,t){let n=e.split("/"),r=n.length;return n.some(JT)&&(r+=i8),t&&(r+=t8),n.filter(a=>!JT(a)).reduce((a,s)=>a+(J6.test(s)?e8:s===""?n8:r8),r)}function o8(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function s8(e,t,n=!1){let{routesMeta:r}=e,a={},s="/",l=[];for(let c=0;c{if(p==="*"){let A=c[g]||"";l=s.slice(0,s.length-A.length).replace(/(.)\/+$/,"$1")}const S=c[g];return m&&!S?d[p]=void 0:d[p]=(S||"").replace(/%2F/g,"/"),d},{}),pathname:s,pathnameBase:l,pattern:e}}function Pk(e,t=!1,n=!0){Er(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,c,f,d,p)=>{if(r.push({paramName:c,isOptional:f!=null}),f){let m=p.charAt(d+l.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function l8(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Er(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ci(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function u8(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?fl(e):e,s;return n?(n=Nk(n),n.startsWith("/")?s=eE(n.substring(1),"/"):s=eE(n,t)):s=t,{pathname:s,search:d8(r),hash:h8(a)}}function eE(e,t){let n=eh(t).split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function jv(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function c8(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function YS(e){let t=c8(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function pp(e,t,n,r=!1){let a;typeof e=="string"?a=fl(e):(a={...e},xt(!a.pathname||!a.pathname.includes("?"),jv("?","pathname","search",a)),xt(!a.pathname||!a.pathname.includes("#"),jv("#","pathname","hash",a)),xt(!a.search||!a.search.includes("#"),jv("#","search","hash",a)));let s=e===""||a.pathname==="",l=s?"/":a.pathname,c;if(l==null)c=n;else{let m=t.length-1;if(!r&&l.startsWith("..")){let g=l.split("/");for(;g[0]==="..";)g.shift(),m-=1;a.pathname=g.join("/")}c=m>=0?t[m]:"/"}let f=u8(a,c),d=l&&l!=="/"&&l.endsWith("/"),p=(s||l===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(d||p)&&(f.pathname+="/"),f}var Nk=e=>e.replace(/[\\/]{2,}/g,"/"),Or=e=>Nk(e.join("/")),eh=e=>e.replace(/\/+$/,""),f8=e=>eh(e).replace(/^\/*/,"/"),d8=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,h8=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,p8=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function m8(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function y8(e){let t=e.map(n=>n.route.path).filter(Boolean);return Or(t)||"/"}var Rk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Dk(e,t){let n=e;if(typeof n!="string"||!KS.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(Rk)try{let s=new URL(window.location.href),l=_k.test(n)?new URL(G6(n,s.protocol)):new URL(n),c=Ci(l.pathname,t);l.origin===s.origin&&c!=null?n=c+l.search+l.hash:a=!0}catch{Er(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:a,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var kk=["POST","PUT","PATCH","DELETE"];new Set(kk);var v8=["GET",...kk];new Set(v8);var g8=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function b8(e){try{return g8.includes(new URL(e).protocol)}catch{return!1}}var dl=N.createContext(null);dl.displayName="DataRouter";var mp=N.createContext(null);mp.displayName="DataRouterState";var Lk=N.createContext(!1);function x8(){return N.useContext(Lk)}var $k=N.createContext({isTransitioning:!1});$k.displayName="ViewTransition";var S8=N.createContext(new Map);S8.displayName="Fetchers";var w8=N.createContext(null);w8.displayName="Await";var Kn=N.createContext(null);Kn.displayName="Navigation";var qc=N.createContext(null);qc.displayName="Location";var Rr=N.createContext({outlet:null,matches:[],isDataRoute:!1});Rr.displayName="Route";var XS=N.createContext(null);XS.displayName="RouteError";var zk="REACT_ROUTER_ERROR",A8="REDIRECT",j8="ROUTE_ERROR_RESPONSE";function O8(e){if(e.startsWith(`${zk}:${A8}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function _8(e){if(e.startsWith(`${zk}:${j8}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new p8(t.status,t.statusText,t.data)}catch{}}function T8(e,{relative:t}={}){xt(hl(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=N.useContext(Kn),{hash:a,pathname:s,search:l}=Ic(e,{relative:t}),c=s;return n!=="/"&&(c=s==="/"?n:Or([n,s])),r.createHref({pathname:c,search:l,hash:a})}function hl(){return N.useContext(qc)!=null}function Dr(){return xt(hl(),"useLocation() may be used only in the context of a component."),N.useContext(qc).location}var Bk="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function qk(e){N.useContext(Kn).static||N.useLayoutEffect(e)}function WS(){let{isDataRoute:e}=N.useContext(Rr);return e?U8():E8()}function E8(){xt(hl(),"useNavigate() may be used only in the context of a component.");let e=N.useContext(dl),{basename:t,navigator:n}=N.useContext(Kn),{matches:r}=N.useContext(Rr),{pathname:a}=Dr(),s=JSON.stringify(YS(r)),l=N.useRef(!1);return qk(()=>{l.current=!0}),N.useCallback((f,d={})=>{if(Er(l.current,Bk),!l.current)return;if(typeof f=="number"){n.go(f);return}let p=pp(f,JSON.parse(s),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Or([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,s,a,e])}var C8=N.createContext(null);function M8(e){let t=N.useContext(Rr).outlet;return N.useMemo(()=>t&&N.createElement(C8.Provider,{value:e},t),[t,e])}function Ic(e,{relative:t}={}){let{matches:n}=N.useContext(Rr),{pathname:r}=Dr(),a=JSON.stringify(YS(n));return N.useMemo(()=>pp(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function P8(e,t){return Ik(e,t)}function Ik(e,t,n){var x;xt(hl(),"useRoutes() may be used only in the context of a component.");let{navigator:r}=N.useContext(Kn),{matches:a}=N.useContext(Rr),s=a[a.length-1],l=s?s.params:{},c=s?s.pathname:"/",f=s?s.pathnameBase:"/",d=s&&s.route;{let j=d&&d.path||"";Vk(c,!d||j.endsWith("*")||j.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${c}" (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 p=Dr(),m;if(t){let j=typeof t=="string"?fl(t):t;xt(f==="/"||((x=j.pathname)==null?void 0:x.startsWith(f)),`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 "${f}" but pathname "${j.pathname}" was given in the \`location\` prop.`),m=j}else m=p;let g=m.pathname||"/",S=g;if(f!=="/"){let j=f.replace(/^\//,"").split("/");S="/"+g.replace(/^\//,"").split("/").slice(j.length).join("/")}let A=n&&n.state.matches.length?n.state.matches.map(j=>Object.assign(j,{route:n.manifest[j.route.id]||j.route})):Tk(e,{pathname:S});Er(d||A!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),Er(A==null||A[A.length-1].route.element!==void 0||A[A.length-1].route.Component!==void 0||A[A.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.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=L8(A&&A.map(j=>Object.assign({},j,{params:Object.assign({},l,j.params),pathname:Or([f,r.encodeLocation?r.encodeLocation(j.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?f:Or([f,r.encodeLocation?r.encodeLocation(j.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:j.pathnameBase])})),a,n);return t&&w?N.createElement(qc.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},w):w}function N8(){let e=I8(),t=m8(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},s={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=N.createElement(N.Fragment,null,N.createElement("p",null,"💿 Hey developer 👋"),N.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",N.createElement("code",{style:s},"ErrorBoundary")," or"," ",N.createElement("code",{style:s},"errorElement")," prop on your route.")),N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},t),n?N.createElement("pre",{style:a},n):null,l)}var R8=N.createElement(N8,null),Uk=class extends N.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=_8(e.digest);n&&(e=n)}let t=e!==void 0?N.createElement(Rr.Provider,{value:this.props.routeContext},N.createElement(XS.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?N.createElement(D8,{error:e},t):t}};Uk.contextType=Lk;var Ov=new WeakMap;function D8({children:e,error:t}){let{basename:n}=N.useContext(Kn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=O8(t.digest);if(r){let a=Ov.get(t);if(a)throw a;let s=Dk(r.location,n),l=s.absoluteURL||s.to;if(b8(l))throw new Error("Invalid redirect location");if(Rk&&!Ov.get(t))if(s.isExternal||r.reloadDocument)window.location.href=l;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(s.to,{replace:r.replace}));throw Ov.set(t,c),c}return N.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l}`})}}return e}function k8({routeContext:e,match:t,children:n}){let r=N.useContext(dl);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),N.createElement(Rr.Provider,{value:e},n)}function L8(e,t=[],n){let r=n==null?void 0:n.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,s=r==null?void 0:r.errors;if(s!=null){let p=a.findIndex(m=>m.route.id&&(s==null?void 0:s[m.route.id])!==void 0);xt(p>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,p+1))}let l=!1,c=-1;if(n&&r){l=r.renderFallback;for(let p=0;p=0?a=a.slice(0,c+1):a=[a[0]];break}}}}let f=n==null?void 0:n.onError,d=r&&f?(p,m)=>{var g,S;f(p,{location:r.location,params:((S=(g=r.matches)==null?void 0:g[0])==null?void 0:S.params)??{},pattern:y8(r.matches),errorInfo:m})}:void 0;return a.reduceRight((p,m,g)=>{let S,A=!1,w=null,x=null;r&&(S=s&&m.route.id?s[m.route.id]:void 0,w=m.route.errorElement||R8,l&&(c<0&&g===0?(Vk("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,x=null):c===g&&(A=!0,x=m.route.hydrateFallbackElement||null)));let j=t.concat(a.slice(0,g+1)),_=()=>{let T;return S?T=w:A?T=x:m.route.Component?T=N.createElement(m.route.Component,null):m.route.element?T=m.route.element:T=p,N.createElement(k8,{match:m,routeContext:{outlet:p,matches:j,isDataRoute:r!=null},children:T})};return r&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?N.createElement(Uk,{location:r.location,revalidation:r.revalidation,component:w,error:S,children:_(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:d}):_()},null)}function ZS(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function $8(e){let t=N.useContext(dl);return xt(t,ZS(e)),t}function z8(e){let t=N.useContext(mp);return xt(t,ZS(e)),t}function B8(e){let t=N.useContext(Rr);return xt(t,ZS(e)),t}function QS(e){let t=B8(e),n=t.matches[t.matches.length-1];return xt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function q8(){return QS("useRouteId")}function I8(){var r;let e=N.useContext(XS),t=z8("useRouteError"),n=QS("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function U8(){let{router:e}=$8("useNavigate"),t=QS("useNavigate"),n=N.useRef(!1);return qk(()=>{n.current=!0}),N.useCallback(async(a,s={})=>{Er(n.current,Bk),n.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var tE={};function Vk(e,t,n){!t&&!tE[e]&&(tE[e]=!0,Er(!1,n))}N.memo(V8);function V8({routes:e,manifest:t,future:n,state:r,isStatic:a,onError:s}){return Ik(e,void 0,{manifest:t,state:r,isStatic:a,onError:s})}function JS({to:e,replace:t,state:n,relative:r}){xt(hl()," may be used only in the context of a component.");let{static:a}=N.useContext(Kn);Er(!a," 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:s}=N.useContext(Rr),{pathname:l}=Dr(),c=WS(),f=pp(e,YS(s),l,r==="path"),d=JSON.stringify(f);return N.useEffect(()=>{c(JSON.parse(d),{replace:t,state:n,relative:r})},[c,d,r,t,n]),null}function H8(e){return M8(e.context)}function zn(e){xt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function G8({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:s=!1,useTransitions:l}){xt(!hl(),"You cannot render a inside another . You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),f=N.useMemo(()=>({basename:c,navigator:a,static:s,useTransitions:l,future:{}}),[c,a,s,l]);typeof n=="string"&&(n=fl(n));let{pathname:d="/",search:p="",hash:m="",state:g=null,key:S="default",mask:A}=n,w=N.useMemo(()=>{let x=Ci(d,c);return x==null?null:{location:{pathname:x,search:p,hash:m,state:g,key:S,mask:A},navigationType:r}},[c,d,p,m,g,S,r,A]);return Er(w!=null,` is not able to match the URL "${d}${p}${m}" because it does not start with the basename, so the won't render anything.`),w==null?null:N.createElement(Kn.Provider,{value:f},N.createElement(qc.Provider,{children:t,value:w}))}function F8({children:e,location:t}){return P8(K0(e),t)}function K0(e,t=[]){let n=[];return N.Children.forEach(e,(r,a)=>{if(!N.isValidElement(r))return;let s=[...t,a];if(r.type===N.Fragment){n.push.apply(n,K0(r.props.children,s));return}xt(r.type===zn,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),xt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let l={id:r.props.id||s.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=K0(r.props.children,s)),n.push(l)}),n}var Id="get",Ud="application/x-www-form-urlencoded";function yp(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function K8(e){return yp(e)&&e.tagName.toLowerCase()==="button"}function Y8(e){return yp(e)&&e.tagName.toLowerCase()==="form"}function X8(e){return yp(e)&&e.tagName.toLowerCase()==="input"}function W8(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Z8(e,t){return e.button===0&&(!t||t==="_self")&&!W8(e)}var Sd=null;function Q8(){if(Sd===null)try{new FormData(document.createElement("form"),0),Sd=!1}catch{Sd=!0}return Sd}var J8=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function _v(e){return e!=null&&!J8.has(e)?(Er(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ud}"`),null):e}function eq(e,t){let n,r,a,s,l;if(Y8(e)){let c=e.getAttribute("action");r=c?Ci(c,t):null,n=e.getAttribute("method")||Id,a=_v(e.getAttribute("enctype"))||Ud,s=new FormData(e)}else if(K8(e)||X8(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a