hippo-memory 1.26.4 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/README.md +2 -2
  2. package/dist/api.js +2 -2
  3. package/dist/api.js.map +1 -1
  4. package/dist/cli.d.ts +5 -0
  5. package/dist/cli.d.ts.map +1 -1
  6. package/dist/cli.js +101 -30
  7. package/dist/cli.js.map +1 -1
  8. package/dist/dag.d.ts.map +1 -1
  9. package/dist/dag.js +10 -1
  10. package/dist/dag.js.map +1 -1
  11. package/dist/embedding-provider.d.ts +1 -1
  12. package/dist/embedding-provider.js +1 -1
  13. package/dist/embeddings.d.ts +2 -2
  14. package/dist/embeddings.d.ts.map +1 -1
  15. package/dist/embeddings.js +38 -37
  16. package/dist/embeddings.js.map +1 -1
  17. package/dist/hooks.d.ts +14 -0
  18. package/dist/hooks.d.ts.map +1 -1
  19. package/dist/hooks.js +21 -0
  20. package/dist/hooks.js.map +1 -1
  21. package/dist/invalidation.d.ts +20 -2
  22. package/dist/invalidation.d.ts.map +1 -1
  23. package/dist/invalidation.js +50 -18
  24. package/dist/invalidation.js.map +1 -1
  25. package/dist/mcp/server.d.ts.map +1 -1
  26. package/dist/mcp/server.js +10 -4
  27. package/dist/mcp/server.js.map +1 -1
  28. package/dist/postinstall.js +35 -2
  29. package/dist/postinstall.js.map +1 -1
  30. package/dist/rerankers/cross-encoder.d.ts +1 -1
  31. package/dist/rerankers/cross-encoder.d.ts.map +1 -1
  32. package/dist/rerankers/cross-encoder.js +38 -10
  33. package/dist/rerankers/cross-encoder.js.map +1 -1
  34. package/dist/server.js +1 -1
  35. package/dist/server.js.map +1 -1
  36. package/dist/shared.d.ts +1 -0
  37. package/dist/shared.d.ts.map +1 -1
  38. package/dist/shared.js +25 -1
  39. package/dist/shared.js.map +1 -1
  40. package/dist/src/api.js +2 -2
  41. package/dist/src/api.js.map +1 -1
  42. package/dist/src/cli.js +101 -30
  43. package/dist/src/cli.js.map +1 -1
  44. package/dist/src/dag.js +10 -1
  45. package/dist/src/dag.js.map +1 -1
  46. package/dist/src/embedding-provider.js +1 -1
  47. package/dist/src/embeddings.js +38 -37
  48. package/dist/src/embeddings.js.map +1 -1
  49. package/dist/src/hooks.js +21 -0
  50. package/dist/src/hooks.js.map +1 -1
  51. package/dist/src/invalidation.js +50 -18
  52. package/dist/src/invalidation.js.map +1 -1
  53. package/dist/src/mcp/server.js +10 -4
  54. package/dist/src/mcp/server.js.map +1 -1
  55. package/dist/src/postinstall.js +35 -2
  56. package/dist/src/postinstall.js.map +1 -1
  57. package/dist/src/rerankers/cross-encoder.js +38 -10
  58. package/dist/src/rerankers/cross-encoder.js.map +1 -1
  59. package/dist/src/server.js +1 -1
  60. package/dist/src/server.js.map +1 -1
  61. package/dist/src/shared.js +25 -1
  62. package/dist/src/shared.js.map +1 -1
  63. package/dist/src/version.js +7 -6
  64. package/dist/src/version.js.map +1 -1
  65. package/dist/version.d.ts +1 -1
  66. package/dist/version.js +7 -6
  67. package/dist/version.js.map +1 -1
  68. package/dist-ui/assets/{index-DbMxaBZ3.js → index-Cxa4RcAh.js} +2 -2
  69. package/dist-ui/assets/{react-DS1lvn1H.js → react-CEUiQZj-.js} +2 -2
  70. package/dist-ui/index.html +2 -2
  71. package/extensions/openclaw-plugin/openclaw.plugin.json +1 -1
  72. package/extensions/openclaw-plugin/package.json +1 -1
  73. package/openclaw.plugin.json +1 -1
  74. package/package.json +8 -5
@@ -1,4 +1,4 @@
1
- import{r as Md,a as l0}from"./react-DS1lvn1H.js";import{C as a0,V as Wt,M as Ya,T as La,Q as Fh,S as Wh,a as It,R as n0,P as i0,b as u0,c as su,O as s0,B as Ha,F as $h,d as Ih,U as c0,W as o0,H as f0,N as r0,e as h0,f as Gc,g as d0,h as m0,i as y0,j as p0,k as g0,l as v0,A as b0,m as S0,n as x0,G as _0,L as jc,o as Rn,p as Ph,q as z0,r as td,s as T0,t as E0,D as M0,u as ed,v as A0}from"./three-BDgTxR1l.js";import{s as D0,l as j0,m as C0,c as O0,a as R0,x as U0,y as N0}from"./d3-BiWEKnn4.js";(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))c(h);new MutationObserver(h=>{for(const y of h)if(y.type==="childList")for(const _ of y.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&c(_)}).observe(document,{childList:!0,subtree:!0});function r(h){const y={};return h.integrity&&(y.integrity=h.integrity),h.referrerPolicy&&(y.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?y.credentials="include":h.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function c(h){if(h.ep)return;h.ep=!0;const y=r(h);fetch(h.href,y)}})();var Cc={exports:{}},Un={};/**
1
+ import{r as Md,a as l0}from"./react-CEUiQZj-.js";import{C as a0,V as Wt,M as Ya,T as La,Q as Fh,S as Wh,a as It,R as n0,P as i0,b as u0,c as su,O as s0,B as Ha,F as $h,d as Ih,U as c0,W as o0,H as f0,N as r0,e as h0,f as Gc,g as d0,h as m0,i as y0,j as p0,k as g0,l as v0,A as b0,m as S0,n as x0,G as _0,L as jc,o as Rn,p as Ph,q as z0,r as td,s as T0,t as E0,D as M0,u as ed,v as A0}from"./three-BDgTxR1l.js";import{s as D0,l as j0,m as C0,c as O0,a as R0,x as U0,y as N0}from"./d3-BiWEKnn4.js";(function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const h of document.querySelectorAll('link[rel="modulepreload"]'))c(h);new MutationObserver(h=>{for(const y of h)if(y.type==="childList")for(const _ of y.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&c(_)}).observe(document,{childList:!0,subtree:!0});function r(h){const y={};return h.integrity&&(y.integrity=h.integrity),h.referrerPolicy&&(y.referrerPolicy=h.referrerPolicy),h.crossOrigin==="use-credentials"?y.credentials="include":h.crossOrigin==="anonymous"?y.credentials="omit":y.credentials="same-origin",y}function c(h){if(h.ep)return;h.ep=!0;const y=r(h);fetch(h.href,y)}})();var Cc={exports:{}},Un={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -30,7 +30,7 @@ import{r as Md,a as l0}from"./react-DS1lvn1H.js";import{C as a0,V as Wt,M as Ya,
30
30
  `+m[a].replace(" at new "," at ");return t.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",t.displayName)),M}while(1<=a&&0<=n);break}}}finally{hu=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Dl(l):""}function Ud(t,e){switch(t.tag){case 26:case 27:case 5:return Dl(t.type);case 16:return Dl("Lazy");case 13:return t.child!==e&&e!==null?Dl("Suspense Fallback"):Dl("Suspense");case 19:return Dl("SuspenseList");case 0:case 15:return du(t.type,!1);case 11:return du(t.type.render,!1);case 1:return du(t.type,!0);case 31:return Dl("Activity");default:return""}}function kc(t){try{var e="",l=null;do e+=Ud(t,l),l=t,t=t.return;while(t);return e}catch(a){return`
31
31
  Error generating stack: `+a.message+`
32
32
  `+a.stack}}var mu=Object.prototype.hasOwnProperty,yu=f.unstable_scheduleCallback,pu=f.unstable_cancelCallback,Nd=f.unstable_shouldYield,Bd=f.unstable_requestPaint,ce=f.unstable_now,Hd=f.unstable_getCurrentPriorityLevel,Jc=f.unstable_ImmediatePriority,Fc=f.unstable_UserBlockingPriority,qn=f.unstable_NormalPriority,Ld=f.unstable_LowPriority,Wc=f.unstable_IdlePriority,Yd=f.log,wd=f.unstable_setDisableYieldValue,wa=null,oe=null;function al(t){if(typeof Yd=="function"&&wd(t),oe&&typeof oe.setStrictMode=="function")try{oe.setStrictMode(wa,t)}catch{}}var fe=Math.clz32?Math.clz32:Xd,qd=Math.log,Gd=Math.LN2;function Xd(t){return t>>>=0,t===0?32:31-(qd(t)/Gd|0)|0}var Gn=256,Xn=262144,Zn=4194304;function jl(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Qn(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,i=t.suspendedLanes,s=t.pingedLanes;t=t.warmLanes;var o=a&134217727;return o!==0?(a=o&~i,a!==0?n=jl(a):(s&=o,s!==0?n=jl(s):l||(l=o&~t,l!==0&&(n=jl(l))))):(o=a&~i,o!==0?n=jl(o):s!==0?n=jl(s):l||(l=a&~t,l!==0&&(n=jl(l)))),n===0?0:e!==0&&e!==n&&(e&i)===0&&(i=n&-n,l=e&-e,i>=l||i===32&&(l&4194048)!==0)?e:n}function qa(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Zd(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 $c(){var t=Zn;return Zn<<=1,(Zn&62914560)===0&&(Zn=4194304),t}function gu(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function Ga(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Qd(t,e,l,a,n,i){var s=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var o=t.entanglements,m=t.expirationTimes,b=t.hiddenUpdates;for(l=s&~l;0<l;){var M=31-fe(l),j=1<<M;o[M]=0,m[M]=-1;var x=b[M];if(x!==null)for(b[M]=null,M=0;M<x.length;M++){var z=x[M];z!==null&&(z.lane&=-536870913)}l&=~j}a!==0&&Ic(t,a,0),i!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=i&~(s&~e))}function Ic(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-fe(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&261930}function Pc(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-fe(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function to(t,e){var l=e&-e;return l=(l&42)!==0?1:vu(l),(l&(t.suspendedLanes|e))!==0?0:l}function vu(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function bu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function eo(){var t=w.p;return t!==0?t:(t=window.event,t===void 0?32:Xh(t.type))}function lo(t,e){var l=w.p;try{return w.p=t,e()}finally{w.p=l}}var nl=Math.random().toString(36).slice(2),Vt="__reactFiber$"+nl,Pt="__reactProps$"+nl,Fl="__reactContainer$"+nl,Su="__reactEvents$"+nl,Vd="__reactListeners$"+nl,Kd="__reactHandles$"+nl,ao="__reactResources$"+nl,Xa="__reactMarker$"+nl;function xu(t){delete t[Vt],delete t[Pt],delete t[Su],delete t[Vd],delete t[Kd]}function Wl(t){var e=t[Vt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[Fl]||l[Vt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Mh(t);t!==null;){if(l=t[Vt])return l;t=Mh(t)}return e}t=l,l=t.parentNode}return null}function $l(t){if(t=t[Vt]||t[Fl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Za(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(c(33))}function Il(t){var e=t[ao];return e||(e=t[ao]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Xt(t){t[Xa]=!0}var no=new Set,io={};function Cl(t,e){Pl(t,e),Pl(t+"Capture",e)}function Pl(t,e){for(io[t]=e,t=0;t<e.length;t++)no.add(e[t])}var kd=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),uo={},so={};function Jd(t){return mu.call(so,t)?!0:mu.call(uo,t)?!1:kd.test(t)?so[t]=!0:(uo[t]=!0,!1)}function Vn(t,e,l){if(Jd(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function Kn(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Ye(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}function be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function co(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Fd(t,e,l){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,i=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(s){l=""+s,i.call(this,s)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(s){l=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function _u(t){if(!t._valueTracker){var e=co(t)?"checked":"value";t._valueTracker=Fd(t,e,""+t[e])}}function oo(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=co(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function kn(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Wd=/[\n"\\]/g;function Se(t){return t.replace(Wd,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function zu(t,e,l,a,n,i,s,o){t.name="",s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?t.type=s:t.removeAttribute("type"),e!=null?s==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+be(e)):t.value!==""+be(e)&&(t.value=""+be(e)):s!=="submit"&&s!=="reset"||t.removeAttribute("value"),e!=null?Tu(t,s,be(e)):l!=null?Tu(t,s,be(l)):a!=null&&t.removeAttribute("value"),n==null&&i!=null&&(t.defaultChecked=!!i),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"?t.name=""+be(o):t.removeAttribute("name")}function fo(t,e,l,a,n,i,s,o){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.type=i),e!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||e!=null)){_u(t);return}l=l!=null?""+be(l):"",e=e!=null?""+be(e):l,o||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=o?t.checked:!!a,t.defaultChecked=!!a,s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(t.name=s),_u(t)}function Tu(t,e,l){e==="number"&&kn(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function ta(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+be(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function ro(t,e,l){if(e!=null&&(e=""+be(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+be(l):""}function ho(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(c(92));if(Nt(a)){if(1<a.length)throw Error(c(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=be(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a),_u(t)}function ea(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var $d=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function mo(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||$d.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function yo(t,e,l){if(e!=null&&typeof e!="object")throw Error(c(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&mo(t,n,a)}else for(var i in e)e.hasOwnProperty(i)&&mo(t,i,e[i])}function Eu(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Id=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Pd=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Jn(t){return Pd.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function we(){}var Mu=null;function Au(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var la=null,aa=null;function po(t){var e=$l(t);if(e&&(t=e.stateNode)){var l=t[Pt]||null;t:switch(t=e.stateNode,e.type){case"input":if(zu(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Se(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[Pt]||null;if(!n)throw Error(c(90));zu(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&oo(a)}break t;case"textarea":ro(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&ta(t,!!l.multiple,e,!1)}}}var Du=!1;function go(t,e,l){if(Du)return t(e,l);Du=!0;try{var a=t(e);return a}finally{if(Du=!1,(la!==null||aa!==null)&&(Bi(),la&&(e=la,t=aa,aa=la=null,po(e),t)))for(e=0;e<t.length;e++)po(t[e])}}function Qa(t,e){var l=t.stateNode;if(l===null)return null;var a=l[Pt]||null;if(a===null)return null;l=a[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(c(231,e,typeof l));return l}var qe=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ju=!1;if(qe)try{var Va={};Object.defineProperty(Va,"passive",{get:function(){ju=!0}}),window.addEventListener("test",Va,Va),window.removeEventListener("test",Va,Va)}catch{ju=!1}var il=null,Cu=null,Fn=null;function vo(){if(Fn)return Fn;var t,e=Cu,l=e.length,a,n="value"in il?il.value:il.textContent,i=n.length;for(t=0;t<l&&e[t]===n[t];t++);var s=l-t;for(a=1;a<=s&&e[l-a]===n[i-a];a++);return Fn=n.slice(t,1<a?1-a:void 0)}function Wn(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function $n(){return!0}function bo(){return!1}function te(t){function e(l,a,n,i,s){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var o in t)t.hasOwnProperty(o)&&(l=t[o],this[o]=l?l(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?$n:bo,this.isPropagationStopped=bo,this}return E(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=$n)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=$n)},persist:function(){},isPersistent:$n}),e}var Ol={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},In=te(Ol),Ka=E({},Ol,{view:0,detail:0}),tm=te(Ka),Ou,Ru,ka,Pn=E({},Ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nu,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ka&&(ka&&t.type==="mousemove"?(Ou=t.screenX-ka.screenX,Ru=t.screenY-ka.screenY):Ru=Ou=0,ka=t),Ou)},movementY:function(t){return"movementY"in t?t.movementY:Ru}}),So=te(Pn),em=E({},Pn,{dataTransfer:0}),lm=te(em),am=E({},Ka,{relatedTarget:0}),Uu=te(am),nm=E({},Ol,{animationName:0,elapsedTime:0,pseudoElement:0}),im=te(nm),um=E({},Ol,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),sm=te(um),cm=E({},Ol,{data:0}),xo=te(cm),om={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},rm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hm(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=rm[t])?!!e[t]:!1}function Nu(){return hm}var dm=E({},Ka,{key:function(t){if(t.key){var e=om[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Wn(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?fm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nu,charCode:function(t){return t.type==="keypress"?Wn(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Wn(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),mm=te(dm),ym=E({},Pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),_o=te(ym),pm=E({},Ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nu}),gm=te(pm),vm=E({},Ol,{propertyName:0,elapsedTime:0,pseudoElement:0}),bm=te(vm),Sm=E({},Pn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),xm=te(Sm),_m=E({},Ol,{newState:0,oldState:0}),zm=te(_m),Tm=[9,13,27,32],Bu=qe&&"CompositionEvent"in window,Ja=null;qe&&"documentMode"in document&&(Ja=document.documentMode);var Em=qe&&"TextEvent"in window&&!Ja,zo=qe&&(!Bu||Ja&&8<Ja&&11>=Ja),To=" ",Eo=!1;function Mo(t,e){switch(t){case"keyup":return Tm.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ao(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var na=!1;function Mm(t,e){switch(t){case"compositionend":return Ao(e);case"keypress":return e.which!==32?null:(Eo=!0,To);case"textInput":return t=e.data,t===To&&Eo?null:t;default:return null}}function Am(t,e){if(na)return t==="compositionend"||!Bu&&Mo(t,e)?(t=vo(),Fn=Cu=il=null,na=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return zo&&e.locale!=="ko"?null:e.data;default:return null}}var Dm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Do(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Dm[t.type]:e==="textarea"}function jo(t,e,l,a){la?aa?aa.push(a):aa=[a]:la=a,e=Xi(e,"onChange"),0<e.length&&(l=new In("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var Fa=null,Wa=null;function jm(t){hh(t,0)}function ti(t){var e=Za(t);if(oo(e))return t}function Co(t,e){if(t==="change")return e}var Oo=!1;if(qe){var Hu;if(qe){var Lu="oninput"in document;if(!Lu){var Ro=document.createElement("div");Ro.setAttribute("oninput","return;"),Lu=typeof Ro.oninput=="function"}Hu=Lu}else Hu=!1;Oo=Hu&&(!document.documentMode||9<document.documentMode)}function Uo(){Fa&&(Fa.detachEvent("onpropertychange",No),Wa=Fa=null)}function No(t){if(t.propertyName==="value"&&ti(Wa)){var e=[];jo(e,Wa,t,Au(t)),go(jm,e)}}function Cm(t,e,l){t==="focusin"?(Uo(),Fa=e,Wa=l,Fa.attachEvent("onpropertychange",No)):t==="focusout"&&Uo()}function Om(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ti(Wa)}function Rm(t,e){if(t==="click")return ti(e)}function Um(t,e){if(t==="input"||t==="change")return ti(e)}function Nm(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var re=typeof Object.is=="function"?Object.is:Nm;function $a(t,e){if(re(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!mu.call(e,n)||!re(t[n],e[n]))return!1}return!0}function Bo(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Ho(t,e){var l=Bo(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Bo(l)}}function Lo(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Lo(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Yo(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=kn(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=kn(t.document)}return e}function Yu(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Bm=qe&&"documentMode"in document&&11>=document.documentMode,ia=null,wu=null,Ia=null,qu=!1;function wo(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;qu||ia==null||ia!==kn(a)||(a=ia,"selectionStart"in a&&Yu(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Ia&&$a(Ia,a)||(Ia=a,a=Xi(wu,"onSelect"),0<a.length&&(e=new In("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=ia)))}function Rl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var ua={animationend:Rl("Animation","AnimationEnd"),animationiteration:Rl("Animation","AnimationIteration"),animationstart:Rl("Animation","AnimationStart"),transitionrun:Rl("Transition","TransitionRun"),transitionstart:Rl("Transition","TransitionStart"),transitioncancel:Rl("Transition","TransitionCancel"),transitionend:Rl("Transition","TransitionEnd")},Gu={},qo={};qe&&(qo=document.createElement("div").style,"AnimationEvent"in window||(delete ua.animationend.animation,delete ua.animationiteration.animation,delete ua.animationstart.animation),"TransitionEvent"in window||delete ua.transitionend.transition);function Ul(t){if(Gu[t])return Gu[t];if(!ua[t])return t;var e=ua[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in qo)return Gu[t]=e[l];return t}var Go=Ul("animationend"),Xo=Ul("animationiteration"),Zo=Ul("animationstart"),Hm=Ul("transitionrun"),Lm=Ul("transitionstart"),Ym=Ul("transitioncancel"),Qo=Ul("transitionend"),Vo=new Map,Xu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Xu.push("scrollEnd");function Ce(t,e){Vo.set(t,e),Cl(e,[t])}var ei=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},xe=[],sa=0,Zu=0;function li(){for(var t=sa,e=Zu=sa=0;e<t;){var l=xe[e];xe[e++]=null;var a=xe[e];xe[e++]=null;var n=xe[e];xe[e++]=null;var i=xe[e];if(xe[e++]=null,a!==null&&n!==null){var s=a.pending;s===null?n.next=n:(n.next=s.next,s.next=n),a.pending=n}i!==0&&Ko(l,n,i)}}function ai(t,e,l,a){xe[sa++]=t,xe[sa++]=e,xe[sa++]=l,xe[sa++]=a,Zu|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function Qu(t,e,l,a){return ai(t,e,l,a),ni(t)}function Nl(t,e){return ai(t,null,null,e),ni(t)}function Ko(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,i=t.return;i!==null;)i.childLanes|=l,a=i.alternate,a!==null&&(a.childLanes|=l),i.tag===22&&(t=i.stateNode,t===null||t._visibility&1||(n=!0)),t=i,i=i.return;return t.tag===3?(i=t.stateNode,n&&e!==null&&(n=31-fe(l),t=i.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),i):null}function ni(t){if(50<xn)throw xn=0,Ps=null,Error(c(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var ca={};function wm(t,e,l,a){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function he(t,e,l,a){return new wm(t,e,l,a)}function Vu(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Ge(t,e){var l=t.alternate;return l===null?(l=he(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function ko(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function ii(t,e,l,a,n,i){var s=0;if(a=t,typeof t=="function")Vu(t)&&(s=1);else if(typeof t=="string")s=Qy(t,l,Bt.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case q:return t=he(31,l,e,n),t.elementType=q,t.lanes=i,t;case N:return Bl(l.children,n,i,e);case $:s=8,n|=24;break;case at:return t=he(12,l,e,n|2),t.elementType=at,t.lanes=i,t;case F:return t=he(13,l,e,n),t.elementType=F,t.lanes=i,t;case K:return t=he(19,l,e,n),t.elementType=K,t.lanes=i,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case X:s=10;break t;case G:s=9;break t;case Z:s=11;break t;case Y:s=14;break t;case et:s=16,a=null;break t}s=29,l=Error(c(130,t===null?"null":typeof t,"")),a=null}return e=he(s,l,e,n),e.elementType=t,e.type=a,e.lanes=i,e}function Bl(t,e,l,a){return t=he(7,t,a,e),t.lanes=l,t}function Ku(t,e,l){return t=he(6,t,null,e),t.lanes=l,t}function Jo(t){var e=he(18,null,null,0);return e.stateNode=t,e}function ku(t,e,l){return e=he(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Fo=new WeakMap;function _e(t,e){if(typeof t=="object"&&t!==null){var l=Fo.get(t);return l!==void 0?l:(e={value:t,source:e,stack:kc(e)},Fo.set(t,e),e)}return{value:t,source:e,stack:kc(e)}}var oa=[],fa=0,ui=null,Pa=0,ze=[],Te=0,ul=null,Ne=1,Be="";function Xe(t,e){oa[fa++]=Pa,oa[fa++]=ui,ui=t,Pa=e}function Wo(t,e,l){ze[Te++]=Ne,ze[Te++]=Be,ze[Te++]=ul,ul=t;var a=Ne;t=Be;var n=32-fe(a)-1;a&=~(1<<n),l+=1;var i=32-fe(e)+n;if(30<i){var s=n-n%5;i=(a&(1<<s)-1).toString(32),a>>=s,n-=s,Ne=1<<32-fe(e)+n|l<<n|a,Be=i+t}else Ne=1<<i|l<<n|a,Be=t}function Ju(t){t.return!==null&&(Xe(t,1),Wo(t,1,0))}function Fu(t){for(;t===ui;)ui=oa[--fa],oa[fa]=null,Pa=oa[--fa],oa[fa]=null;for(;t===ul;)ul=ze[--Te],ze[Te]=null,Be=ze[--Te],ze[Te]=null,Ne=ze[--Te],ze[Te]=null}function $o(t,e){ze[Te++]=Ne,ze[Te++]=Be,ze[Te++]=ul,Ne=e.id,Be=e.overflow,ul=t}var Kt=null,At=null,ft=!1,sl=null,Ee=!1,Wu=Error(c(519));function cl(t){var e=Error(c(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw tn(_e(e,t)),Wu}function Io(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[Vt]=t,e[Pt]=a,l){case"dialog":ut("cancel",e),ut("close",e);break;case"iframe":case"object":case"embed":ut("load",e);break;case"video":case"audio":for(l=0;l<zn.length;l++)ut(zn[l],e);break;case"source":ut("error",e);break;case"img":case"image":case"link":ut("error",e),ut("load",e);break;case"details":ut("toggle",e);break;case"input":ut("invalid",e),fo(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ut("invalid",e);break;case"textarea":ut("invalid",e),ho(e,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||ph(e.textContent,l)?(a.popover!=null&&(ut("beforetoggle",e),ut("toggle",e)),a.onScroll!=null&&ut("scroll",e),a.onScrollEnd!=null&&ut("scrollend",e),a.onClick!=null&&(e.onclick=we),e=!0):e=!1,e||cl(t,!0)}function Po(t){for(Kt=t.return;Kt;)switch(Kt.tag){case 5:case 31:case 13:Ee=!1;return;case 27:case 3:Ee=!0;return;default:Kt=Kt.return}}function ra(t){if(t!==Kt)return!1;if(!ft)return Po(t),ft=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||mc(t.type,t.memoizedProps)),l=!l),l&&At&&cl(t),Po(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));At=Eh(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(317));At=Eh(t)}else e===27?(e=At,_l(t.type)?(t=bc,bc=null,At=t):At=e):At=Kt?Ae(t.stateNode.nextSibling):null;return!0}function Hl(){At=Kt=null,ft=!1}function $u(){var t=sl;return t!==null&&(ne===null?ne=t:ne.push.apply(ne,t),sl=null),t}function tn(t){sl===null?sl=[t]:sl.push(t)}var Iu=Qt(null),Ll=null,Ze=null;function ol(t,e,l){st(Iu,e._currentValue),e._currentValue=l}function Qe(t){t._currentValue=Iu.current,Et(Iu)}function Pu(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function ts(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var i=n.dependencies;if(i!==null){var s=n.child;i=i.firstContext;t:for(;i!==null;){var o=i;i=n;for(var m=0;m<e.length;m++)if(o.context===e[m]){i.lanes|=l,o=i.alternate,o!==null&&(o.lanes|=l),Pu(i.return,l,t),a||(s=null);break t}i=o.next}}else if(n.tag===18){if(s=n.return,s===null)throw Error(c(341));s.lanes|=l,i=s.alternate,i!==null&&(i.lanes|=l),Pu(s,l,t),s=null}else s=n.child;if(s!==null)s.return=n;else for(s=n;s!==null;){if(s===t){s=null;break}if(n=s.sibling,n!==null){n.return=s.return,s=n;break}s=s.return}n=s}}function ha(t,e,l,a){t=null;for(var n=e,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var s=n.alternate;if(s===null)throw Error(c(387));if(s=s.memoizedProps,s!==null){var o=n.type;re(n.pendingProps.value,s.value)||(t!==null?t.push(o):t=[o])}}else if(n===Jl.current){if(s=n.alternate,s===null)throw Error(c(387));s.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(Dn):t=[Dn])}n=n.return}t!==null&&ts(e,t,l,a),e.flags|=262144}function si(t){for(t=t.firstContext;t!==null;){if(!re(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Yl(t){Ll=t,Ze=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function kt(t){return tf(Ll,t)}function ci(t,e){return Ll===null&&Yl(t),tf(t,e)}function tf(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},Ze===null){if(t===null)throw Error(c(308));Ze=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else Ze=Ze.next=e;return l}var qm=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},Gm=f.unstable_scheduleCallback,Xm=f.unstable_NormalPriority,Ht={$$typeof:X,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function es(){return{controller:new qm,data:new Map,refCount:0}}function en(t){t.refCount--,t.refCount===0&&Gm(Xm,function(){t.controller.abort()})}var ln=null,ls=0,da=0,ma=null;function Zm(t,e){if(ln===null){var l=ln=[];ls=0,da=ic(),ma={status:"pending",value:void 0,then:function(a){l.push(a)}}}return ls++,e.then(ef,ef),e}function ef(){if(--ls===0&&ln!==null){ma!==null&&(ma.status="fulfilled");var t=ln;ln=null,da=0,ma=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Qm(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var lf=A.S;A.S=function(t,e){qr=ce(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Zm(t,e),lf!==null&&lf(t,e)};var wl=Qt(null);function as(){var t=wl.current;return t!==null?t:zt.pooledCache}function oi(t,e){e===null?st(wl,wl.current):st(wl,e.pool)}function af(){var t=as();return t===null?null:{parent:Ht._currentValue,pool:t}}var ya=Error(c(460)),ns=Error(c(474)),fi=Error(c(542)),ri={then:function(){}};function nf(t){return t=t.status,t==="fulfilled"||t==="rejected"}function uf(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(we,we),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,cf(t),t;default:if(typeof e.status=="string")e.then(we,we);else{if(t=zt,t!==null&&100<t.shellSuspendCounter)throw Error(c(482));t=e,t.status="pending",t.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,cf(t),t}throw Gl=e,ya}}function ql(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Gl=l,ya):l}}var Gl=null;function sf(){if(Gl===null)throw Error(c(459));var t=Gl;return Gl=null,t}function cf(t){if(t===ya||t===fi)throw Error(c(483))}var pa=null,an=0;function hi(t){var e=an;return an+=1,pa===null&&(pa=[]),uf(pa,t,e)}function nn(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function di(t,e){throw e.$$typeof===S?Error(c(525)):(t=Object.prototype.toString.call(e),Error(c(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function of(t){function e(g,p){if(t){var v=g.deletions;v===null?(g.deletions=[p],g.flags|=16):v.push(p)}}function l(g,p){if(!t)return null;for(;p!==null;)e(g,p),p=p.sibling;return null}function a(g){for(var p=new Map;g!==null;)g.key!==null?p.set(g.key,g):p.set(g.index,g),g=g.sibling;return p}function n(g,p){return g=Ge(g,p),g.index=0,g.sibling=null,g}function i(g,p,v){return g.index=v,t?(v=g.alternate,v!==null?(v=v.index,v<p?(g.flags|=67108866,p):v):(g.flags|=67108866,p)):(g.flags|=1048576,p)}function s(g){return t&&g.alternate===null&&(g.flags|=67108866),g}function o(g,p,v,D){return p===null||p.tag!==6?(p=Ku(v,g.mode,D),p.return=g,p):(p=n(p,v),p.return=g,p)}function m(g,p,v,D){var J=v.type;return J===N?M(g,p,v.props.children,D,v.key):p!==null&&(p.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===et&&ql(J)===p.type)?(p=n(p,v.props),nn(p,v),p.return=g,p):(p=ii(v.type,v.key,v.props,null,g.mode,D),nn(p,v),p.return=g,p)}function b(g,p,v,D){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=ku(v,g.mode,D),p.return=g,p):(p=n(p,v.children||[]),p.return=g,p)}function M(g,p,v,D,J){return p===null||p.tag!==7?(p=Bl(v,g.mode,D,J),p.return=g,p):(p=n(p,v),p.return=g,p)}function j(g,p,v){if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return p=Ku(""+p,g.mode,v),p.return=g,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case C:return v=ii(p.type,p.key,p.props,null,g.mode,v),nn(v,p),v.return=g,v;case H:return p=ku(p,g.mode,v),p.return=g,p;case et:return p=ql(p),j(g,p,v)}if(Nt(p)||U(p))return p=Bl(p,g.mode,v,null),p.return=g,p;if(typeof p.then=="function")return j(g,hi(p),v);if(p.$$typeof===X)return j(g,ci(g,p),v);di(g,p)}return null}function x(g,p,v,D){var J=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return J!==null?null:o(g,p,""+v,D);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case C:return v.key===J?m(g,p,v,D):null;case H:return v.key===J?b(g,p,v,D):null;case et:return v=ql(v),x(g,p,v,D)}if(Nt(v)||U(v))return J!==null?null:M(g,p,v,D,null);if(typeof v.then=="function")return x(g,p,hi(v),D);if(v.$$typeof===X)return x(g,p,ci(g,v),D);di(g,v)}return null}function z(g,p,v,D,J){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return g=g.get(v)||null,o(p,g,""+D,J);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case C:return g=g.get(D.key===null?v:D.key)||null,m(p,g,D,J);case H:return g=g.get(D.key===null?v:D.key)||null,b(p,g,D,J);case et:return D=ql(D),z(g,p,v,D,J)}if(Nt(D)||U(D))return g=g.get(v)||null,M(p,g,D,J,null);if(typeof D.then=="function")return z(g,p,v,hi(D),J);if(D.$$typeof===X)return z(g,p,v,ci(p,D),J);di(p,D)}return null}function Q(g,p,v,D){for(var J=null,rt=null,V=p,lt=p=0,ot=null;V!==null&&lt<v.length;lt++){V.index>lt?(ot=V,V=null):ot=V.sibling;var ht=x(g,V,v[lt],D);if(ht===null){V===null&&(V=ot);break}t&&V&&ht.alternate===null&&e(g,V),p=i(ht,p,lt),rt===null?J=ht:rt.sibling=ht,rt=ht,V=ot}if(lt===v.length)return l(g,V),ft&&Xe(g,lt),J;if(V===null){for(;lt<v.length;lt++)V=j(g,v[lt],D),V!==null&&(p=i(V,p,lt),rt===null?J=V:rt.sibling=V,rt=V);return ft&&Xe(g,lt),J}for(V=a(V);lt<v.length;lt++)ot=z(V,g,lt,v[lt],D),ot!==null&&(t&&ot.alternate!==null&&V.delete(ot.key===null?lt:ot.key),p=i(ot,p,lt),rt===null?J=ot:rt.sibling=ot,rt=ot);return t&&V.forEach(function(Al){return e(g,Al)}),ft&&Xe(g,lt),J}function W(g,p,v,D){if(v==null)throw Error(c(151));for(var J=null,rt=null,V=p,lt=p=0,ot=null,ht=v.next();V!==null&&!ht.done;lt++,ht=v.next()){V.index>lt?(ot=V,V=null):ot=V.sibling;var Al=x(g,V,ht.value,D);if(Al===null){V===null&&(V=ot);break}t&&V&&Al.alternate===null&&e(g,V),p=i(Al,p,lt),rt===null?J=Al:rt.sibling=Al,rt=Al,V=ot}if(ht.done)return l(g,V),ft&&Xe(g,lt),J;if(V===null){for(;!ht.done;lt++,ht=v.next())ht=j(g,ht.value,D),ht!==null&&(p=i(ht,p,lt),rt===null?J=ht:rt.sibling=ht,rt=ht);return ft&&Xe(g,lt),J}for(V=a(V);!ht.done;lt++,ht=v.next())ht=z(V,g,lt,ht.value,D),ht!==null&&(t&&ht.alternate!==null&&V.delete(ht.key===null?lt:ht.key),p=i(ht,p,lt),rt===null?J=ht:rt.sibling=ht,rt=ht);return t&&V.forEach(function(e0){return e(g,e0)}),ft&&Xe(g,lt),J}function bt(g,p,v,D){if(typeof v=="object"&&v!==null&&v.type===N&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case C:t:{for(var J=v.key;p!==null;){if(p.key===J){if(J=v.type,J===N){if(p.tag===7){l(g,p.sibling),D=n(p,v.props.children),D.return=g,g=D;break t}}else if(p.elementType===J||typeof J=="object"&&J!==null&&J.$$typeof===et&&ql(J)===p.type){l(g,p.sibling),D=n(p,v.props),nn(D,v),D.return=g,g=D;break t}l(g,p);break}else e(g,p);p=p.sibling}v.type===N?(D=Bl(v.props.children,g.mode,D,v.key),D.return=g,g=D):(D=ii(v.type,v.key,v.props,null,g.mode,D),nn(D,v),D.return=g,g=D)}return s(g);case H:t:{for(J=v.key;p!==null;){if(p.key===J)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){l(g,p.sibling),D=n(p,v.children||[]),D.return=g,g=D;break t}else{l(g,p);break}else e(g,p);p=p.sibling}D=ku(v,g.mode,D),D.return=g,g=D}return s(g);case et:return v=ql(v),bt(g,p,v,D)}if(Nt(v))return Q(g,p,v,D);if(U(v)){if(J=U(v),typeof J!="function")throw Error(c(150));return v=J.call(v),W(g,p,v,D)}if(typeof v.then=="function")return bt(g,p,hi(v),D);if(v.$$typeof===X)return bt(g,p,ci(g,v),D);di(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,p!==null&&p.tag===6?(l(g,p.sibling),D=n(p,v),D.return=g,g=D):(l(g,p),D=Ku(v,g.mode,D),D.return=g,g=D),s(g)):l(g,p)}return function(g,p,v,D){try{an=0;var J=bt(g,p,v,D);return pa=null,J}catch(V){if(V===ya||V===fi)throw V;var rt=he(29,V,null,g.mode);return rt.lanes=D,rt.return=g,rt}finally{}}}var Xl=of(!0),ff=of(!1),fl=!1;function is(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function us(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function rl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function hl(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(dt&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=ni(t),Ko(t,null,l),e}return ai(t,a,e,l),ni(t)}function un(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Pc(t,l)}}function ss(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var s={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?n=i=s:i=i.next=s,l=l.next}while(l!==null);i===null?n=i=e:i=i.next=e}else n=i=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var cs=!1;function sn(){if(cs){var t=ma;if(t!==null)throw t}}function cn(t,e,l,a){cs=!1;var n=t.updateQueue;fl=!1;var i=n.firstBaseUpdate,s=n.lastBaseUpdate,o=n.shared.pending;if(o!==null){n.shared.pending=null;var m=o,b=m.next;m.next=null,s===null?i=b:s.next=b,s=m;var M=t.alternate;M!==null&&(M=M.updateQueue,o=M.lastBaseUpdate,o!==s&&(o===null?M.firstBaseUpdate=b:o.next=b,M.lastBaseUpdate=m))}if(i!==null){var j=n.baseState;s=0,M=b=m=null,o=i;do{var x=o.lane&-536870913,z=x!==o.lane;if(z?(ct&x)===x:(a&x)===x){x!==0&&x===da&&(cs=!0),M!==null&&(M=M.next={lane:0,tag:o.tag,payload:o.payload,callback:null,next:null});t:{var Q=t,W=o;x=e;var bt=l;switch(W.tag){case 1:if(Q=W.payload,typeof Q=="function"){j=Q.call(bt,j,x);break t}j=Q;break t;case 3:Q.flags=Q.flags&-65537|128;case 0:if(Q=W.payload,x=typeof Q=="function"?Q.call(bt,j,x):Q,x==null)break t;j=E({},j,x);break t;case 2:fl=!0}}x=o.callback,x!==null&&(t.flags|=64,z&&(t.flags|=8192),z=n.callbacks,z===null?n.callbacks=[x]:z.push(x))}else z={lane:x,tag:o.tag,payload:o.payload,callback:o.callback,next:null},M===null?(b=M=z,m=j):M=M.next=z,s|=x;if(o=o.next,o===null){if(o=n.shared.pending,o===null)break;z=o,o=z.next,z.next=null,n.lastBaseUpdate=z,n.shared.pending=null}}while(!0);M===null&&(m=j),n.baseState=m,n.firstBaseUpdate=b,n.lastBaseUpdate=M,i===null&&(n.shared.lanes=0),gl|=s,t.lanes=s,t.memoizedState=j}}function rf(t,e){if(typeof t!="function")throw Error(c(191,t));t.call(e)}function hf(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)rf(l[t],e)}var ga=Qt(null),mi=Qt(0);function df(t,e){t=Pe,st(mi,t),st(ga,e),Pe=t|e.baseLanes}function os(){st(mi,Pe),st(ga,ga.current)}function fs(){Pe=mi.current,Et(ga),Et(mi)}var de=Qt(null),Me=null;function dl(t){var e=t.alternate;st(Rt,Rt.current&1),st(de,t),Me===null&&(e===null||ga.current!==null||e.memoizedState!==null)&&(Me=t)}function rs(t){st(Rt,Rt.current),st(de,t),Me===null&&(Me=t)}function mf(t){t.tag===22?(st(Rt,Rt.current),st(de,t),Me===null&&(Me=t)):ml()}function ml(){st(Rt,Rt.current),st(de,de.current)}function me(t){Et(de),Me===t&&(Me=null),Et(Rt)}var Rt=Qt(0);function yi(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||gc(l)||vc(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Ve=0,tt=null,gt=null,Lt=null,pi=!1,va=!1,Zl=!1,gi=0,on=0,ba=null,Vm=0;function Ct(){throw Error(c(321))}function hs(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!re(t[l],e[l]))return!1;return!0}function ds(t,e,l,a,n,i){return Ve=i,tt=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,A.H=t===null||t.memoizedState===null?$f:Ds,Zl=!1,i=l(a,n),Zl=!1,va&&(i=pf(e,l,a,n)),yf(t),i}function yf(t){A.H=hn;var e=gt!==null&&gt.next!==null;if(Ve=0,Lt=gt=tt=null,pi=!1,on=0,ba=null,e)throw Error(c(300));t===null||Yt||(t=t.dependencies,t!==null&&si(t)&&(Yt=!0))}function pf(t,e,l,a){tt=t;var n=0;do{if(va&&(ba=null),on=0,va=!1,25<=n)throw Error(c(301));if(n+=1,Lt=gt=null,t.updateQueue!=null){var i=t.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}A.H=If,i=e(l,a)}while(va);return i}function Km(){var t=A.H,e=t.useState()[0];return e=typeof e.then=="function"?fn(e):e,t=t.useState()[0],(gt!==null?gt.memoizedState:null)!==t&&(tt.flags|=1024),e}function ms(){var t=gi!==0;return gi=0,t}function ys(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function ps(t){if(pi){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}pi=!1}Ve=0,Lt=gt=tt=null,va=!1,on=gi=0,ba=null}function $t(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Lt===null?tt.memoizedState=Lt=t:Lt=Lt.next=t,Lt}function Ut(){if(gt===null){var t=tt.alternate;t=t!==null?t.memoizedState:null}else t=gt.next;var e=Lt===null?tt.memoizedState:Lt.next;if(e!==null)Lt=e,gt=t;else{if(t===null)throw tt.alternate===null?Error(c(467)):Error(c(310));gt=t,t={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},Lt===null?tt.memoizedState=Lt=t:Lt=Lt.next=t}return Lt}function vi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fn(t){var e=on;return on+=1,ba===null&&(ba=[]),t=uf(ba,t,e),e=tt,(Lt===null?e.memoizedState:Lt.next)===null&&(e=e.alternate,A.H=e===null||e.memoizedState===null?$f:Ds),t}function bi(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return fn(t);if(t.$$typeof===X)return kt(t)}throw Error(c(438,String(t)))}function gs(t){var e=null,l=tt.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=tt.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=vi(),tt.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=nt;return e.index++,l}function Ke(t,e){return typeof e=="function"?e(t):e}function Si(t){var e=Ut();return vs(e,gt,t)}function vs(t,e,l){var a=t.queue;if(a===null)throw Error(c(311));a.lastRenderedReducer=l;var n=t.baseQueue,i=a.pending;if(i!==null){if(n!==null){var s=n.next;n.next=i.next,i.next=s}e.baseQueue=n=i,a.pending=null}if(i=t.baseState,n===null)t.memoizedState=i;else{e=n.next;var o=s=null,m=null,b=e,M=!1;do{var j=b.lane&-536870913;if(j!==b.lane?(ct&j)===j:(Ve&j)===j){var x=b.revertLane;if(x===0)m!==null&&(m=m.next={lane:0,revertLane:0,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),j===da&&(M=!0);else if((Ve&x)===x){b=b.next,x===da&&(M=!0);continue}else j={lane:0,revertLane:b.revertLane,gesture:null,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},m===null?(o=m=j,s=i):m=m.next=j,tt.lanes|=x,gl|=x;j=b.action,Zl&&l(i,j),i=b.hasEagerState?b.eagerState:l(i,j)}else x={lane:j,revertLane:b.revertLane,gesture:b.gesture,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},m===null?(o=m=x,s=i):m=m.next=x,tt.lanes|=j,gl|=j;b=b.next}while(b!==null&&b!==e);if(m===null?s=i:m.next=o,!re(i,t.memoizedState)&&(Yt=!0,M&&(l=ma,l!==null)))throw l;t.memoizedState=i,t.baseState=s,t.baseQueue=m,a.lastRenderedState=i}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function bs(t){var e=Ut(),l=e.queue;if(l===null)throw Error(c(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,i=e.memoizedState;if(n!==null){l.pending=null;var s=n=n.next;do i=t(i,s.action),s=s.next;while(s!==n);re(i,e.memoizedState)||(Yt=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),l.lastRenderedState=i}return[i,a]}function gf(t,e,l){var a=tt,n=Ut(),i=ft;if(i){if(l===void 0)throw Error(c(407));l=l()}else l=e();var s=!re((gt||n).memoizedState,l);if(s&&(n.memoizedState=l,Yt=!0),n=n.queue,_s(Sf.bind(null,a,n,t),[t]),n.getSnapshot!==e||s||Lt!==null&&Lt.memoizedState.tag&1){if(a.flags|=2048,Sa(9,{destroy:void 0},bf.bind(null,a,n,l,e),null),zt===null)throw Error(c(349));i||(Ve&127)!==0||vf(a,e,l)}return l}function vf(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=tt.updateQueue,e===null?(e=vi(),tt.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function bf(t,e,l,a){e.value=l,e.getSnapshot=a,xf(e)&&_f(t)}function Sf(t,e,l){return l(function(){xf(e)&&_f(t)})}function xf(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!re(t,l)}catch{return!0}}function _f(t){var e=Nl(t,2);e!==null&&ie(e,t,2)}function Ss(t){var e=$t();if(typeof t=="function"){var l=t;if(t=l(),Zl){al(!0);try{l()}finally{al(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ke,lastRenderedState:t},e}function zf(t,e,l,a){return t.baseState=l,vs(t,gt,typeof a=="function"?a:Ke)}function km(t,e,l,a,n){if(zi(t))throw Error(c(485));if(t=e.action,t!==null){var i={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(s){i.listeners.push(s)}};A.T!==null?l(!0):i.isTransition=!1,a(i),l=e.pending,l===null?(i.next=e.pending=i,Tf(e,i)):(i.next=l.next,e.pending=l.next=i)}}function Tf(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var i=A.T,s={};A.T=s;try{var o=l(n,a),m=A.S;m!==null&&m(s,o),Ef(t,e,o)}catch(b){xs(t,e,b)}finally{i!==null&&s.types!==null&&(i.types=s.types),A.T=i}}else try{i=l(n,a),Ef(t,e,i)}catch(b){xs(t,e,b)}}function Ef(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Mf(t,e,a)},function(a){return xs(t,e,a)}):Mf(t,e,l)}function Mf(t,e,l){e.status="fulfilled",e.value=l,Af(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Tf(t,l)))}function xs(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,Af(e),e=e.next;while(e!==a)}t.action=null}function Af(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Df(t,e){return e}function jf(t,e){if(ft){var l=zt.formState;if(l!==null){t:{var a=tt;if(ft){if(At){e:{for(var n=At,i=Ee;n.nodeType!==8;){if(!i){n=null;break e}if(n=Ae(n.nextSibling),n===null){n=null;break e}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){At=Ae(n.nextSibling),a=n.data==="F!";break t}}cl(a)}a=!1}a&&(e=l[0])}}return l=$t(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Df,lastRenderedState:e},l.queue=a,l=Jf.bind(null,tt,a),a.dispatch=l,a=Ss(!1),i=As.bind(null,tt,!1,a.queue),a=$t(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=km.bind(null,tt,n,i,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Cf(t){var e=Ut();return Of(e,gt,t)}function Of(t,e,l){if(e=vs(t,e,Df)[0],t=Si(Ke)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=fn(e)}catch(s){throw s===ya?fi:s}else a=e;e=Ut();var n=e.queue,i=n.dispatch;return l!==e.memoizedState&&(tt.flags|=2048,Sa(9,{destroy:void 0},Jm.bind(null,n,l),null)),[a,i,t]}function Jm(t,e){t.action=e}function Rf(t){var e=Ut(),l=gt;if(l!==null)return Of(e,l,t);Ut(),e=e.memoizedState,l=Ut();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function Sa(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=tt.updateQueue,e===null&&(e=vi(),tt.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function Uf(){return Ut().memoizedState}function xi(t,e,l,a){var n=$t();tt.flags|=t,n.memoizedState=Sa(1|e,{destroy:void 0},l,a===void 0?null:a)}function _i(t,e,l,a){var n=Ut();a=a===void 0?null:a;var i=n.memoizedState.inst;gt!==null&&a!==null&&hs(a,gt.memoizedState.deps)?n.memoizedState=Sa(e,i,l,a):(tt.flags|=t,n.memoizedState=Sa(1|e,i,l,a))}function Nf(t,e){xi(8390656,8,t,e)}function _s(t,e){_i(2048,8,t,e)}function Fm(t){tt.flags|=4;var e=tt.updateQueue;if(e===null)e=vi(),tt.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function Bf(t){var e=Ut().memoizedState;return Fm({ref:e,nextImpl:t}),function(){if((dt&2)!==0)throw Error(c(440));return e.impl.apply(void 0,arguments)}}function Hf(t,e){return _i(4,2,t,e)}function Lf(t,e){return _i(4,4,t,e)}function Yf(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function wf(t,e,l){l=l!=null?l.concat([t]):null,_i(4,4,Yf.bind(null,e,t),l)}function zs(){}function qf(t,e){var l=Ut();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&hs(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Gf(t,e){var l=Ut();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&hs(e,a[1]))return a[0];if(a=t(),Zl){al(!0);try{t()}finally{al(!1)}}return l.memoizedState=[a,e],a}function Ts(t,e,l){return l===void 0||(Ve&1073741824)!==0&&(ct&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Xr(),tt.lanes|=t,gl|=t,l)}function Xf(t,e,l,a){return re(l,e)?l:ga.current!==null?(t=Ts(t,l,a),re(t,e)||(Yt=!0),t):(Ve&42)===0||(Ve&1073741824)!==0&&(ct&261930)===0?(Yt=!0,t.memoizedState=l):(t=Xr(),tt.lanes|=t,gl|=t,e)}function Zf(t,e,l,a,n){var i=w.p;w.p=i!==0&&8>i?i:8;var s=A.T,o={};A.T=o,As(t,!1,e,l);try{var m=n(),b=A.S;if(b!==null&&b(o,m),m!==null&&typeof m=="object"&&typeof m.then=="function"){var M=Qm(m,a);rn(t,e,M,ge(t))}else rn(t,e,a,ge(t))}catch(j){rn(t,e,{then:function(){},status:"rejected",reason:j},ge())}finally{w.p=i,s!==null&&o.types!==null&&(s.types=o.types),A.T=s}}function Wm(){}function Es(t,e,l,a){if(t.tag!==5)throw Error(c(476));var n=Qf(t).queue;Zf(t,n,e,I,l===null?Wm:function(){return Vf(t),l(a)})}function Qf(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ke,lastRenderedState:I},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ke,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function Vf(t){var e=Qf(t);e.next===null&&(e=t.alternate.memoizedState),rn(t,e.next.queue,{},ge())}function Ms(){return kt(Dn)}function Kf(){return Ut().memoizedState}function kf(){return Ut().memoizedState}function $m(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=ge();t=rl(l);var a=hl(e,t,l);a!==null&&(ie(a,e,l),un(a,e,l)),e={cache:es()},t.payload=e;return}e=e.return}}function Im(t,e,l){var a=ge();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},zi(t)?Ff(e,l):(l=Qu(t,e,l,a),l!==null&&(ie(l,t,a),Wf(l,e,a)))}function Jf(t,e,l){var a=ge();rn(t,e,l,a)}function rn(t,e,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(zi(t))Ff(e,n);else{var i=t.alternate;if(t.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var s=e.lastRenderedState,o=i(s,l);if(n.hasEagerState=!0,n.eagerState=o,re(o,s))return ai(t,e,n,0),zt===null&&li(),!1}catch{}finally{}if(l=Qu(t,e,n,a),l!==null)return ie(l,t,a),Wf(l,e,a),!0}return!1}function As(t,e,l,a){if(a={lane:2,revertLane:ic(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},zi(t)){if(e)throw Error(c(479))}else e=Qu(t,l,a,2),e!==null&&ie(e,t,2)}function zi(t){var e=t.alternate;return t===tt||e!==null&&e===tt}function Ff(t,e){va=pi=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function Wf(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Pc(t,l)}}var hn={readContext:kt,use:bi,useCallback:Ct,useContext:Ct,useEffect:Ct,useImperativeHandle:Ct,useLayoutEffect:Ct,useInsertionEffect:Ct,useMemo:Ct,useReducer:Ct,useRef:Ct,useState:Ct,useDebugValue:Ct,useDeferredValue:Ct,useTransition:Ct,useSyncExternalStore:Ct,useId:Ct,useHostTransitionStatus:Ct,useFormState:Ct,useActionState:Ct,useOptimistic:Ct,useMemoCache:Ct,useCacheRefresh:Ct};hn.useEffectEvent=Ct;var $f={readContext:kt,use:bi,useCallback:function(t,e){return $t().memoizedState=[t,e===void 0?null:e],t},useContext:kt,useEffect:Nf,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,xi(4194308,4,Yf.bind(null,e,t),l)},useLayoutEffect:function(t,e){return xi(4194308,4,t,e)},useInsertionEffect:function(t,e){xi(4,2,t,e)},useMemo:function(t,e){var l=$t();e=e===void 0?null:e;var a=t();if(Zl){al(!0);try{t()}finally{al(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=$t();if(l!==void 0){var n=l(e);if(Zl){al(!0);try{l(e)}finally{al(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Im.bind(null,tt,t),[a.memoizedState,t]},useRef:function(t){var e=$t();return t={current:t},e.memoizedState=t},useState:function(t){t=Ss(t);var e=t.queue,l=Jf.bind(null,tt,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:zs,useDeferredValue:function(t,e){var l=$t();return Ts(l,t,e)},useTransition:function(){var t=Ss(!1);return t=Zf.bind(null,tt,t.queue,!0,!1),$t().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=tt,n=$t();if(ft){if(l===void 0)throw Error(c(407));l=l()}else{if(l=e(),zt===null)throw Error(c(349));(ct&127)!==0||vf(a,e,l)}n.memoizedState=l;var i={value:l,getSnapshot:e};return n.queue=i,Nf(Sf.bind(null,a,i,t),[t]),a.flags|=2048,Sa(9,{destroy:void 0},bf.bind(null,a,i,l,e),null),l},useId:function(){var t=$t(),e=zt.identifierPrefix;if(ft){var l=Be,a=Ne;l=(a&~(1<<32-fe(a)-1)).toString(32)+l,e="_"+e+"R_"+l,l=gi++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Vm++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Ms,useFormState:jf,useActionState:jf,useOptimistic:function(t){var e=$t();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=As.bind(null,tt,!0,l),l.dispatch=e,[t,e]},useMemoCache:gs,useCacheRefresh:function(){return $t().memoizedState=$m.bind(null,tt)},useEffectEvent:function(t){var e=$t(),l={impl:t};return e.memoizedState=l,function(){if((dt&2)!==0)throw Error(c(440));return l.impl.apply(void 0,arguments)}}},Ds={readContext:kt,use:bi,useCallback:qf,useContext:kt,useEffect:_s,useImperativeHandle:wf,useInsertionEffect:Hf,useLayoutEffect:Lf,useMemo:Gf,useReducer:Si,useRef:Uf,useState:function(){return Si(Ke)},useDebugValue:zs,useDeferredValue:function(t,e){var l=Ut();return Xf(l,gt.memoizedState,t,e)},useTransition:function(){var t=Si(Ke)[0],e=Ut().memoizedState;return[typeof t=="boolean"?t:fn(t),e]},useSyncExternalStore:gf,useId:Kf,useHostTransitionStatus:Ms,useFormState:Cf,useActionState:Cf,useOptimistic:function(t,e){var l=Ut();return zf(l,gt,t,e)},useMemoCache:gs,useCacheRefresh:kf};Ds.useEffectEvent=Bf;var If={readContext:kt,use:bi,useCallback:qf,useContext:kt,useEffect:_s,useImperativeHandle:wf,useInsertionEffect:Hf,useLayoutEffect:Lf,useMemo:Gf,useReducer:bs,useRef:Uf,useState:function(){return bs(Ke)},useDebugValue:zs,useDeferredValue:function(t,e){var l=Ut();return gt===null?Ts(l,t,e):Xf(l,gt.memoizedState,t,e)},useTransition:function(){var t=bs(Ke)[0],e=Ut().memoizedState;return[typeof t=="boolean"?t:fn(t),e]},useSyncExternalStore:gf,useId:Kf,useHostTransitionStatus:Ms,useFormState:Rf,useActionState:Rf,useOptimistic:function(t,e){var l=Ut();return gt!==null?zf(l,gt,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:gs,useCacheRefresh:kf};If.useEffectEvent=Bf;function js(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:E({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Cs={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=ge(),n=rl(a);n.payload=e,l!=null&&(n.callback=l),e=hl(t,n,a),e!==null&&(ie(e,t,a),un(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=ge(),n=rl(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=hl(t,n,a),e!==null&&(ie(e,t,a),un(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=ge(),a=rl(l);a.tag=2,e!=null&&(a.callback=e),e=hl(t,a,l),e!==null&&(ie(e,t,l),un(e,t,l))}};function Pf(t,e,l,a,n,i,s){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,i,s):e.prototype&&e.prototype.isPureReactComponent?!$a(l,a)||!$a(n,i):!0}function tr(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Cs.enqueueReplaceState(e,e.state,null)}function Ql(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=E({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}function er(t){ei(t)}function lr(t){console.error(t)}function ar(t){ei(t)}function Ti(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function nr(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Os(t,e,l){return l=rl(l),l.tag=3,l.payload={element:null},l.callback=function(){Ti(t,e)},l}function ir(t){return t=rl(t),t.tag=3,t}function ur(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var i=a.value;t.payload=function(){return n(i)},t.callback=function(){nr(e,l,a)}}var s=l.stateNode;s!==null&&typeof s.componentDidCatch=="function"&&(t.callback=function(){nr(e,l,a),typeof n!="function"&&(vl===null?vl=new Set([this]):vl.add(this));var o=a.stack;this.componentDidCatch(a.value,{componentStack:o!==null?o:""})})}function Pm(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&ha(e,l,n,!0),l=de.current,l!==null){switch(l.tag){case 31:case 13:return Me===null?Hi():l.alternate===null&&Ot===0&&(Ot=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===ri?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),lc(t,a,n)),!1;case 22:return l.flags|=65536,a===ri?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),lc(t,a,n)),!1}throw Error(c(435,l.tag))}return lc(t,a,n),Hi(),!1}if(ft)return e=de.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==Wu&&(t=Error(c(422),{cause:a}),tn(_e(t,l)))):(a!==Wu&&(e=Error(c(423),{cause:a}),tn(_e(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=_e(a,l),n=Os(t.stateNode,a,n),ss(t,n),Ot!==4&&(Ot=2)),!1;var i=Error(c(520),{cause:a});if(i=_e(i,l),Sn===null?Sn=[i]:Sn.push(i),Ot!==4&&(Ot=2),e===null)return!0;a=_e(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=Os(l.stateNode,a,t),ss(l,t),!1;case 1:if(e=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(vl===null||!vl.has(i))))return l.flags|=65536,n&=-n,l.lanes|=n,n=ir(n),ur(n,t,l,a),ss(l,n),!1}l=l.return}while(l!==null);return!1}var Rs=Error(c(461)),Yt=!1;function Jt(t,e,l,a){e.child=t===null?ff(e,null,l,a):Xl(e,t.child,l,a)}function sr(t,e,l,a,n){l=l.render;var i=e.ref;if("ref"in a){var s={};for(var o in a)o!=="ref"&&(s[o]=a[o])}else s=a;return Yl(e),a=ds(t,e,l,s,i,n),o=ms(),t!==null&&!Yt?(ys(t,e,n),ke(t,e,n)):(ft&&o&&Ju(e),e.flags|=1,Jt(t,e,a,n),e.child)}function cr(t,e,l,a,n){if(t===null){var i=l.type;return typeof i=="function"&&!Vu(i)&&i.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=i,or(t,e,i,a,n)):(t=ii(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(i=t.child,!qs(t,n)){var s=i.memoizedProps;if(l=l.compare,l=l!==null?l:$a,l(s,a)&&t.ref===e.ref)return ke(t,e,n)}return e.flags|=1,t=Ge(i,a),t.ref=e.ref,t.return=e,e.child=t}function or(t,e,l,a,n){if(t!==null){var i=t.memoizedProps;if($a(i,a)&&t.ref===e.ref)if(Yt=!1,e.pendingProps=a=i,qs(t,n))(t.flags&131072)!==0&&(Yt=!0);else return e.lanes=t.lanes,ke(t,e,n)}return Us(t,e,l,a,n)}function fr(t,e,l,a){var n=a.children,i=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(i=i!==null?i.baseLanes|l:l,t!==null){for(a=e.child=t.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~i}else a=0,e.child=null;return rr(t,e,i,l,a)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&oi(e,i!==null?i.cachePool:null),i!==null?df(e,i):os(),mf(e);else return a=e.lanes=536870912,rr(t,e,i!==null?i.baseLanes|l:l,l,a)}else i!==null?(oi(e,i.cachePool),df(e,i),ml(),e.memoizedState=null):(t!==null&&oi(e,null),os(),ml());return Jt(t,e,n,l),e.child}function dn(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function rr(t,e,l,a,n){var i=as();return i=i===null?null:{parent:Ht._currentValue,pool:i},e.memoizedState={baseLanes:l,cachePool:i},t!==null&&oi(e,null),os(),mf(e),t!==null&&ha(t,e,a,!0),e.childLanes=n,null}function Ei(t,e){return e=Ai({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function hr(t,e,l){return Xl(e,t.child,null,l),t=Ei(e,e.pendingProps),t.flags|=2,me(e),e.memoizedState=null,t}function ty(t,e,l){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(ft){if(a.mode==="hidden")return t=Ei(e,a),e.lanes=536870912,dn(null,t);if(rs(e),(t=At)?(t=Th(t,Ee),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:ul!==null?{id:Ne,overflow:Be}:null,retryLane:536870912,hydrationErrors:null},l=Jo(t),l.return=e,e.child=l,Kt=e,At=null)):t=null,t===null)throw cl(e);return e.lanes=536870912,null}return Ei(e,a)}var i=t.memoizedState;if(i!==null){var s=i.dehydrated;if(rs(e),n)if(e.flags&256)e.flags&=-257,e=hr(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(c(558));else if(Yt||ha(t,e,l,!1),n=(l&t.childLanes)!==0,Yt||n){if(a=zt,a!==null&&(s=to(a,l),s!==0&&s!==i.retryLane))throw i.retryLane=s,Nl(t,s),ie(a,t,s),Rs;Hi(),e=hr(t,e,l)}else t=i.treeContext,At=Ae(s.nextSibling),Kt=e,ft=!0,sl=null,Ee=!1,t!==null&&$o(e,t),e=Ei(e,a),e.flags|=4096;return e}return t=Ge(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Mi(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(c(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Us(t,e,l,a,n){return Yl(e),l=ds(t,e,l,a,void 0,n),a=ms(),t!==null&&!Yt?(ys(t,e,n),ke(t,e,n)):(ft&&a&&Ju(e),e.flags|=1,Jt(t,e,l,n),e.child)}function dr(t,e,l,a,n,i){return Yl(e),e.updateQueue=null,l=pf(e,a,l,n),yf(t),a=ms(),t!==null&&!Yt?(ys(t,e,i),ke(t,e,i)):(ft&&a&&Ju(e),e.flags|=1,Jt(t,e,l,i),e.child)}function mr(t,e,l,a,n){if(Yl(e),e.stateNode===null){var i=ca,s=l.contextType;typeof s=="object"&&s!==null&&(i=kt(s)),i=new l(a,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Cs,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=a,i.state=e.memoizedState,i.refs={},is(e),s=l.contextType,i.context=typeof s=="object"&&s!==null?kt(s):ca,i.state=e.memoizedState,s=l.getDerivedStateFromProps,typeof s=="function"&&(js(e,l,s,a),i.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(s=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),s!==i.state&&Cs.enqueueReplaceState(i,i.state,null),cn(e,a,i,n),sn(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){i=e.stateNode;var o=e.memoizedProps,m=Ql(l,o);i.props=m;var b=i.context,M=l.contextType;s=ca,typeof M=="object"&&M!==null&&(s=kt(M));var j=l.getDerivedStateFromProps;M=typeof j=="function"||typeof i.getSnapshotBeforeUpdate=="function",o=e.pendingProps!==o,M||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(o||b!==s)&&tr(e,i,a,s),fl=!1;var x=e.memoizedState;i.state=x,cn(e,a,i,n),sn(),b=e.memoizedState,o||x!==b||fl?(typeof j=="function"&&(js(e,l,j,a),b=e.memoizedState),(m=fl||Pf(e,l,m,a,x,b,s))?(M||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=b),i.props=a,i.state=b,i.context=s,a=m):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{i=e.stateNode,us(t,e),s=e.memoizedProps,M=Ql(l,s),i.props=M,j=e.pendingProps,x=i.context,b=l.contextType,m=ca,typeof b=="object"&&b!==null&&(m=kt(b)),o=l.getDerivedStateFromProps,(b=typeof o=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==j||x!==m)&&tr(e,i,a,m),fl=!1,x=e.memoizedState,i.state=x,cn(e,a,i,n),sn();var z=e.memoizedState;s!==j||x!==z||fl||t!==null&&t.dependencies!==null&&si(t.dependencies)?(typeof o=="function"&&(js(e,l,o,a),z=e.memoizedState),(M=fl||Pf(e,l,M,a,x,z,m)||t!==null&&t.dependencies!==null&&si(t.dependencies))?(b||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,z,m),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,z,m)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===t.memoizedProps&&x===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&x===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=z),i.props=a,i.state=z,i.context=m,a=M):(typeof i.componentDidUpdate!="function"||s===t.memoizedProps&&x===t.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===t.memoizedProps&&x===t.memoizedState||(e.flags|=1024),a=!1)}return i=a,Mi(t,e),a=(e.flags&128)!==0,i||a?(i=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:i.render(),e.flags|=1,t!==null&&a?(e.child=Xl(e,t.child,null,n),e.child=Xl(e,null,l,n)):Jt(t,e,l,n),e.memoizedState=i.state,t=e.child):t=ke(t,e,n),t}function yr(t,e,l,a){return Hl(),e.flags|=256,Jt(t,e,l,a),e.child}var Ns={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Bs(t){return{baseLanes:t,cachePool:af()}}function Hs(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=pe),t}function pr(t,e,l){var a=e.pendingProps,n=!1,i=(e.flags&128)!==0,s;if((s=i)||(s=t!==null&&t.memoizedState===null?!1:(Rt.current&2)!==0),s&&(n=!0,e.flags&=-129),s=(e.flags&32)!==0,e.flags&=-33,t===null){if(ft){if(n?dl(e):ml(),(t=At)?(t=Th(t,Ee),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:ul!==null?{id:Ne,overflow:Be}:null,retryLane:536870912,hydrationErrors:null},l=Jo(t),l.return=e,e.child=l,Kt=e,At=null)):t=null,t===null)throw cl(e);return vc(t)?e.lanes=32:e.lanes=536870912,null}var o=a.children;return a=a.fallback,n?(ml(),n=e.mode,o=Ai({mode:"hidden",children:o},n),a=Bl(a,n,l,null),o.return=e,a.return=e,o.sibling=a,e.child=o,a=e.child,a.memoizedState=Bs(l),a.childLanes=Hs(t,s,l),e.memoizedState=Ns,dn(null,a)):(dl(e),Ls(e,o))}var m=t.memoizedState;if(m!==null&&(o=m.dehydrated,o!==null)){if(i)e.flags&256?(dl(e),e.flags&=-257,e=Ys(t,e,l)):e.memoizedState!==null?(ml(),e.child=t.child,e.flags|=128,e=null):(ml(),o=a.fallback,n=e.mode,a=Ai({mode:"visible",children:a.children},n),o=Bl(o,n,l,null),o.flags|=2,a.return=e,o.return=e,a.sibling=o,e.child=a,Xl(e,t.child,null,l),a=e.child,a.memoizedState=Bs(l),a.childLanes=Hs(t,s,l),e.memoizedState=Ns,e=dn(null,a));else if(dl(e),vc(o)){if(s=o.nextSibling&&o.nextSibling.dataset,s)var b=s.dgst;s=b,a=Error(c(419)),a.stack="",a.digest=s,tn({value:a,source:null,stack:null}),e=Ys(t,e,l)}else if(Yt||ha(t,e,l,!1),s=(l&t.childLanes)!==0,Yt||s){if(s=zt,s!==null&&(a=to(s,l),a!==0&&a!==m.retryLane))throw m.retryLane=a,Nl(t,a),ie(s,t,a),Rs;gc(o)||Hi(),e=Ys(t,e,l)}else gc(o)?(e.flags|=192,e.child=t.child,e=null):(t=m.treeContext,At=Ae(o.nextSibling),Kt=e,ft=!0,sl=null,Ee=!1,t!==null&&$o(e,t),e=Ls(e,a.children),e.flags|=4096);return e}return n?(ml(),o=a.fallback,n=e.mode,m=t.child,b=m.sibling,a=Ge(m,{mode:"hidden",children:a.children}),a.subtreeFlags=m.subtreeFlags&65011712,b!==null?o=Ge(b,o):(o=Bl(o,n,l,null),o.flags|=2),o.return=e,a.return=e,a.sibling=o,e.child=a,dn(null,a),a=e.child,o=t.child.memoizedState,o===null?o=Bs(l):(n=o.cachePool,n!==null?(m=Ht._currentValue,n=n.parent!==m?{parent:m,pool:m}:n):n=af(),o={baseLanes:o.baseLanes|l,cachePool:n}),a.memoizedState=o,a.childLanes=Hs(t,s,l),e.memoizedState=Ns,dn(t.child,a)):(dl(e),l=t.child,t=l.sibling,l=Ge(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(s=e.deletions,s===null?(e.deletions=[t],e.flags|=16):s.push(t)),e.child=l,e.memoizedState=null,l)}function Ls(t,e){return e=Ai({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Ai(t,e){return t=he(22,t,null,e),t.lanes=0,t}function Ys(t,e,l){return Xl(e,t.child,null,l),t=Ls(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function gr(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),Pu(t.return,e,l)}function ws(t,e,l,a,n,i){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:i}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=a,s.tail=l,s.tailMode=n,s.treeForkCount=i)}function vr(t,e,l){var a=e.pendingProps,n=a.revealOrder,i=a.tail;a=a.children;var s=Rt.current,o=(s&2)!==0;if(o?(s=s&1|2,e.flags|=128):s&=1,st(Rt,s),Jt(t,e,a,l),a=ft?Pa:0,!o&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&gr(t,l,e);else if(t.tag===19)gr(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&yi(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),ws(e,!1,n,l,i,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&yi(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}ws(e,!0,l,null,i,a);break;case"together":ws(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function ke(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),gl|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(ha(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(c(153));if(e.child!==null){for(t=e.child,l=Ge(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Ge(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function qs(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&si(t)))}function ey(t,e,l){switch(e.tag){case 3:pt(e,e.stateNode.containerInfo),ol(e,Ht,t.memoizedState.cache),Hl();break;case 27:case 5:se(e);break;case 4:pt(e,e.stateNode.containerInfo);break;case 10:ol(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,rs(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(dl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?pr(t,e,l):(dl(e),t=ke(t,e,l),t!==null?t.sibling:null);dl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(ha(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return vr(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),st(Rt,Rt.current),a)break;return null;case 22:return e.lanes=0,fr(t,e,l,e.pendingProps);case 24:ol(e,Ht,t.memoizedState.cache)}return ke(t,e,l)}function br(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Yt=!0;else{if(!qs(t,l)&&(e.flags&128)===0)return Yt=!1,ey(t,e,l);Yt=(t.flags&131072)!==0}else Yt=!1,ft&&(e.flags&1048576)!==0&&Wo(e,Pa,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=ql(e.elementType),e.type=t,typeof t=="function")Vu(t)?(a=Ql(t,a),e.tag=1,e=mr(null,e,t,a,l)):(e.tag=0,e=Us(null,e,t,a,l));else{if(t!=null){var n=t.$$typeof;if(n===Z){e.tag=11,e=sr(null,e,t,a,l);break t}else if(n===Y){e.tag=14,e=cr(null,e,t,a,l);break t}}throw e=Tt(t)||t,Error(c(306,e,""))}}return e;case 0:return Us(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=Ql(a,e.pendingProps),mr(t,e,a,n,l);case 3:t:{if(pt(e,e.stateNode.containerInfo),t===null)throw Error(c(387));a=e.pendingProps;var i=e.memoizedState;n=i.element,us(t,e),cn(e,a,null,l);var s=e.memoizedState;if(a=s.cache,ol(e,Ht,a),a!==i.cache&&ts(e,[Ht],l,!0),sn(),a=s.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:s.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=yr(t,e,a,l);break t}else if(a!==n){n=_e(Error(c(424)),e),tn(n),e=yr(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(At=Ae(t.firstChild),Kt=e,ft=!0,sl=null,Ee=!0,l=ff(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Hl(),a===n){e=ke(t,e,l);break t}Jt(t,e,a,l)}e=e.child}return e;case 26:return Mi(t,e),t===null?(l=Ch(e.type,null,e.pendingProps,null))?e.memoizedState=l:ft||(l=e.type,t=e.pendingProps,a=Zi(je.current).createElement(l),a[Vt]=e,a[Pt]=t,Ft(a,l,t),Xt(a),e.stateNode=a):e.memoizedState=Ch(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return se(e),t===null&&ft&&(a=e.stateNode=Ah(e.type,e.pendingProps,je.current),Kt=e,Ee=!0,n=At,_l(e.type)?(bc=n,At=Ae(a.firstChild)):At=n),Jt(t,e,e.pendingProps.children,l),Mi(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&ft&&((n=a=At)&&(a=Oy(a,e.type,e.pendingProps,Ee),a!==null?(e.stateNode=a,Kt=e,At=Ae(a.firstChild),Ee=!1,n=!0):n=!1),n||cl(e)),se(e),n=e.type,i=e.pendingProps,s=t!==null?t.memoizedProps:null,a=i.children,mc(n,i)?a=null:s!==null&&mc(n,s)&&(e.flags|=32),e.memoizedState!==null&&(n=ds(t,e,Km,null,null,l),Dn._currentValue=n),Mi(t,e),Jt(t,e,a,l),e.child;case 6:return t===null&&ft&&((t=l=At)&&(l=Ry(l,e.pendingProps,Ee),l!==null?(e.stateNode=l,Kt=e,At=null,t=!0):t=!1),t||cl(e)),null;case 13:return pr(t,e,l);case 4:return pt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=Xl(e,null,a,l):Jt(t,e,a,l),e.child;case 11:return sr(t,e,e.type,e.pendingProps,l);case 7:return Jt(t,e,e.pendingProps,l),e.child;case 8:return Jt(t,e,e.pendingProps.children,l),e.child;case 12:return Jt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,ol(e,e.type,a.value),Jt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,Yl(e),n=kt(n),a=a(n),e.flags|=1,Jt(t,e,a,l),e.child;case 14:return cr(t,e,e.type,e.pendingProps,l);case 15:return or(t,e,e.type,e.pendingProps,l);case 19:return vr(t,e,l);case 31:return ty(t,e,l);case 22:return fr(t,e,l,e.pendingProps);case 24:return Yl(e),a=kt(Ht),t===null?(n=as(),n===null&&(n=zt,i=es(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=l),n=i),e.memoizedState={parent:a,cache:n},is(e),ol(e,Ht,n)):((t.lanes&l)!==0&&(us(t,e),cn(e,null,null,l),sn()),n=t.memoizedState,i=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),ol(e,Ht,a)):(a=i.cache,ol(e,Ht,a),a!==n.cache&&ts(e,[Ht],l,!0))),Jt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(c(156,e.tag))}function Je(t){t.flags|=4}function Gs(t,e,l,a,n){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(Kr())t.flags|=8192;else throw Gl=ri,ns}else t.flags&=-16777217}function Sr(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Bh(e))if(Kr())t.flags|=8192;else throw Gl=ri,ns}function Di(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?$c():536870912,t.lanes|=e,Ta|=e)}function mn(t,e){if(!ft)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Dt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function ly(t,e,l){var a=e.pendingProps;switch(Fu(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Dt(e),null;case 1:return Dt(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Qe(Ht),Mt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(ra(e)?Je(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,$u())),Dt(e),null;case 26:var n=e.type,i=e.memoizedState;return t===null?(Je(e),i!==null?(Dt(e),Sr(e,i)):(Dt(e),Gs(e,n,null,a,l))):i?i!==t.memoizedState?(Je(e),Dt(e),Sr(e,i)):(Dt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&Je(e),Dt(e),Gs(e,n,t,a,l)),null;case 27:if(ll(e),l=je.current,n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Dt(e),null}t=Bt.current,ra(e)?Io(e):(t=Ah(n,a,l),e.stateNode=t,Je(e))}return Dt(e),null;case 5:if(ll(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&Je(e);else{if(!a){if(e.stateNode===null)throw Error(c(166));return Dt(e),null}if(i=Bt.current,ra(e))Io(e);else{var s=Zi(je.current);switch(i){case 1:i=s.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=s.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=s.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=s.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?s.createElement("select",{is:a.is}):s.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?s.createElement(n,{is:a.is}):s.createElement(n)}}i[Vt]=e,i[Pt]=a;t:for(s=e.child;s!==null;){if(s.tag===5||s.tag===6)i.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break t;for(;s.sibling===null;){if(s.return===null||s.return===e)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}e.stateNode=i;t:switch(Ft(i,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&Je(e)}}return Dt(e),Gs(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&Je(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(c(166));if(t=je.current,ra(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=Kt,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[Vt]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||ph(t.nodeValue,l)),t||cl(e,!0)}else t=Zi(t).createTextNode(a),t[Vt]=e,e.stateNode=t}return Dt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(a=ra(e),l!==null){if(t===null){if(!a)throw Error(c(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(c(557));t[Vt]=e}else Hl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Dt(e),t=!1}else l=$u(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(me(e),e):(me(e),null);if((e.flags&128)!==0)throw Error(c(558))}return Dt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=ra(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(c(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(c(317));n[Vt]=e}else Hl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Dt(e),n=!1}else n=$u(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(me(e),e):(me(e),null)}return me(e),(e.flags&128)!==0?(e.lanes=l,e):(l=a!==null,t=t!==null&&t.memoizedState!==null,l&&(a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==n&&(a.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),Di(e,e.updateQueue),Dt(e),null);case 4:return Mt(),t===null&&oc(e.stateNode.containerInfo),Dt(e),null;case 10:return Qe(e.type),Dt(e),null;case 19:if(Et(Rt),a=e.memoizedState,a===null)return Dt(e),null;if(n=(e.flags&128)!==0,i=a.rendering,i===null)if(n)mn(a,!1);else{if(Ot!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(i=yi(t),i!==null){for(e.flags|=128,mn(a,!1),t=i.updateQueue,e.updateQueue=t,Di(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)ko(l,t),l=l.sibling;return st(Rt,Rt.current&1|2),ft&&Xe(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&ce()>Ui&&(e.flags|=128,n=!0,mn(a,!1),e.lanes=4194304)}else{if(!n)if(t=yi(i),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,Di(e,t),mn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!ft)return Dt(e),null}else 2*ce()-a.renderingStartTime>Ui&&l!==536870912&&(e.flags|=128,n=!0,mn(a,!1),e.lanes=4194304);a.isBackwards?(i.sibling=e.child,e.child=i):(t=a.last,t!==null?t.sibling=i:e.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ce(),t.sibling=null,l=Rt.current,st(Rt,n?l&1|2:l&1),ft&&Xe(e,a.treeForkCount),t):(Dt(e),null);case 22:case 23:return me(e),fs(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Dt(e),e.subtreeFlags&6&&(e.flags|=8192)):Dt(e),l=e.updateQueue,l!==null&&Di(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&Et(wl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Qe(Ht),Dt(e),null;case 25:return null;case 30:return null}throw Error(c(156,e.tag))}function ay(t,e){switch(Fu(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Qe(Ht),Mt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ll(e),null;case 31:if(e.memoizedState!==null){if(me(e),e.alternate===null)throw Error(c(340));Hl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(me(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(c(340));Hl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Et(Rt),null;case 4:return Mt(),null;case 10:return Qe(e.type),null;case 22:case 23:return me(e),fs(),t!==null&&Et(wl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Qe(Ht),null;case 25:return null;default:return null}}function xr(t,e){switch(Fu(e),e.tag){case 3:Qe(Ht),Mt();break;case 26:case 27:case 5:ll(e);break;case 4:Mt();break;case 31:e.memoizedState!==null&&me(e);break;case 13:me(e);break;case 19:Et(Rt);break;case 10:Qe(e.type);break;case 22:case 23:me(e),fs(),t!==null&&Et(wl);break;case 24:Qe(Ht)}}function yn(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var i=l.create,s=l.inst;a=i(),s.destroy=a}l=l.next}while(l!==n)}}catch(o){yt(e,e.return,o)}}function yl(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&t)===t){var s=a.inst,o=s.destroy;if(o!==void 0){s.destroy=void 0,n=e;var m=l,b=o;try{b()}catch(M){yt(n,m,M)}}}a=a.next}while(a!==i)}}catch(M){yt(e,e.return,M)}}function _r(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{hf(e,l)}catch(a){yt(t,t.return,a)}}}function zr(t,e,l){l.props=Ql(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){yt(t,e,a)}}function pn(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){yt(t,e,n)}}function He(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){yt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){yt(t,e,n)}else l.current=null}function Tr(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){yt(t,t.return,n)}}function Xs(t,e,l){try{var a=t.stateNode;Ey(a,t.type,l,e),a[Pt]=e}catch(n){yt(t,t.return,n)}}function Er(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&_l(t.type)||t.tag===4}function Zs(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Er(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&_l(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Qs(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=we));else if(a!==4&&(a===27&&_l(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Qs(t,e,l),t=t.sibling;t!==null;)Qs(t,e,l),t=t.sibling}function ji(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&_l(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(ji(t,e,l),t=t.sibling;t!==null;)ji(t,e,l),t=t.sibling}function Mr(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Ft(e,a,l),e[Vt]=t,e[Pt]=l}catch(i){yt(t,t.return,i)}}var Fe=!1,wt=!1,Vs=!1,Ar=typeof WeakSet=="function"?WeakSet:Set,Zt=null;function ny(t,e){if(t=t.containerInfo,hc=Wi,t=Yo(t),Yu(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{l.nodeType,i.nodeType}catch{l=null;break t}var s=0,o=-1,m=-1,b=0,M=0,j=t,x=null;e:for(;;){for(var z;j!==l||n!==0&&j.nodeType!==3||(o=s+n),j!==i||a!==0&&j.nodeType!==3||(m=s+a),j.nodeType===3&&(s+=j.nodeValue.length),(z=j.firstChild)!==null;)x=j,j=z;for(;;){if(j===t)break e;if(x===l&&++b===n&&(o=s),x===i&&++M===a&&(m=s),(z=j.nextSibling)!==null)break;j=x,x=j.parentNode}j=z}l=o===-1||m===-1?null:{start:o,end:m}}else l=null}l=l||{start:0,end:0}}else l=null;for(dc={focusedElem:t,selectionRange:l},Wi=!1,Zt=e;Zt!==null;)if(e=Zt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Zt=t;else for(;Zt!==null;){switch(e=Zt,i=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)n=t[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&i!==null){t=void 0,l=e,n=i.memoizedProps,i=i.memoizedState,a=l.stateNode;try{var Q=Ql(l.type,n);t=a.getSnapshotBeforeUpdate(Q,i),a.__reactInternalSnapshotBeforeUpdate=t}catch(W){yt(l,l.return,W)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)pc(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":pc(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(c(163))}if(t=e.sibling,t!==null){t.return=e.return,Zt=t;break}Zt=e.return}}function Dr(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:$e(t,l),a&4&&yn(5,l);break;case 1:if($e(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(s){yt(l,l.return,s)}else{var n=Ql(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(s){yt(l,l.return,s)}}a&64&&_r(l),a&512&&pn(l,l.return);break;case 3:if($e(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{hf(t,e)}catch(s){yt(l,l.return,s)}}break;case 27:e===null&&a&4&&Mr(l);case 26:case 5:$e(t,l),e===null&&a&4&&Tr(l),a&512&&pn(l,l.return);break;case 12:$e(t,l);break;case 31:$e(t,l),a&4&&Or(t,l);break;case 13:$e(t,l),a&4&&Rr(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=dy.bind(null,l),Uy(t,l))));break;case 22:if(a=l.memoizedState!==null||Fe,!a){e=e!==null&&e.memoizedState!==null||wt,n=Fe;var i=wt;Fe=a,(wt=e)&&!i?Ie(t,l,(l.subtreeFlags&8772)!==0):$e(t,l),Fe=n,wt=i}break;case 30:break;default:$e(t,l)}}function jr(t){var e=t.alternate;e!==null&&(t.alternate=null,jr(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&xu(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var jt=null,ee=!1;function We(t,e,l){for(l=l.child;l!==null;)Cr(t,e,l),l=l.sibling}function Cr(t,e,l){if(oe&&typeof oe.onCommitFiberUnmount=="function")try{oe.onCommitFiberUnmount(wa,l)}catch{}switch(l.tag){case 26:wt||He(l,e),We(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:wt||He(l,e);var a=jt,n=ee;_l(l.type)&&(jt=l.stateNode,ee=!1),We(t,e,l),En(l.stateNode),jt=a,ee=n;break;case 5:wt||He(l,e);case 6:if(a=jt,n=ee,jt=null,We(t,e,l),jt=a,ee=n,jt!==null)if(ee)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(l.stateNode)}catch(i){yt(l,e,i)}else try{jt.removeChild(l.stateNode)}catch(i){yt(l,e,i)}break;case 18:jt!==null&&(ee?(t=jt,_h(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Ra(t)):_h(jt,l.stateNode));break;case 4:a=jt,n=ee,jt=l.stateNode.containerInfo,ee=!0,We(t,e,l),jt=a,ee=n;break;case 0:case 11:case 14:case 15:yl(2,l,e),wt||yl(4,l,e),We(t,e,l);break;case 1:wt||(He(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&zr(l,e,a)),We(t,e,l);break;case 21:We(t,e,l);break;case 22:wt=(a=wt)||l.memoizedState!==null,We(t,e,l),wt=a;break;default:We(t,e,l)}}function Or(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Ra(t)}catch(l){yt(e,e.return,l)}}}function Rr(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Ra(t)}catch(l){yt(e,e.return,l)}}function iy(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Ar),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Ar),e;default:throw Error(c(435,t.tag))}}function Ci(t,e){var l=iy(t);e.forEach(function(a){if(!l.has(a)){l.add(a);var n=my.bind(null,t,a);a.then(n,n)}})}function le(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],i=t,s=e,o=s;t:for(;o!==null;){switch(o.tag){case 27:if(_l(o.type)){jt=o.stateNode,ee=!1;break t}break;case 5:jt=o.stateNode,ee=!1;break t;case 3:case 4:jt=o.stateNode.containerInfo,ee=!0;break t}o=o.return}if(jt===null)throw Error(c(160));Cr(i,s,n),jt=null,ee=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Ur(e,t),e=e.sibling}var Oe=null;function Ur(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:le(e,t),ae(t),a&4&&(yl(3,t,t.return),yn(3,t),yl(5,t,t.return));break;case 1:le(e,t),ae(t),a&512&&(wt||l===null||He(l,l.return)),a&64&&Fe&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Oe;if(le(e,t),ae(t),a&512&&(wt||l===null||He(l,l.return)),a&4){var i=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":i=n.getElementsByTagName("title")[0],(!i||i[Xa]||i[Vt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(a),n.head.insertBefore(i,n.querySelector("head > title"))),Ft(i,a,l),i[Vt]=t,Xt(i),a=i;break t;case"link":var s=Uh("link","href",n).get(a+(l.href||""));if(s){for(var o=0;o<s.length;o++)if(i=s[o],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){s.splice(o,1);break e}}i=n.createElement(a),Ft(i,a,l),n.head.appendChild(i);break;case"meta":if(s=Uh("meta","content",n).get(a+(l.content||""))){for(o=0;o<s.length;o++)if(i=s[o],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){s.splice(o,1);break e}}i=n.createElement(a),Ft(i,a,l),n.head.appendChild(i);break;default:throw Error(c(468,a))}i[Vt]=t,Xt(i),a=i}t.stateNode=a}else Nh(n,t.type,t.stateNode);else t.stateNode=Rh(n,a,t.memoizedProps);else i!==a?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,a===null?Nh(n,t.type,t.stateNode):Rh(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Xs(t,t.memoizedProps,l.memoizedProps)}break;case 27:le(e,t),ae(t),a&512&&(wt||l===null||He(l,l.return)),l!==null&&a&4&&Xs(t,t.memoizedProps,l.memoizedProps);break;case 5:if(le(e,t),ae(t),a&512&&(wt||l===null||He(l,l.return)),t.flags&32){n=t.stateNode;try{ea(n,"")}catch(Q){yt(t,t.return,Q)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,Xs(t,n,l!==null?l.memoizedProps:n)),a&1024&&(Vs=!0);break;case 6:if(le(e,t),ae(t),a&4){if(t.stateNode===null)throw Error(c(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(Q){yt(t,t.return,Q)}}break;case 3:if(Ki=null,n=Oe,Oe=Qi(e.containerInfo),le(e,t),Oe=n,ae(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Ra(e.containerInfo)}catch(Q){yt(t,t.return,Q)}Vs&&(Vs=!1,Nr(t));break;case 4:a=Oe,Oe=Qi(t.stateNode.containerInfo),le(e,t),ae(t),Oe=a;break;case 12:le(e,t),ae(t);break;case 31:le(e,t),ae(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ci(t,a)));break;case 13:le(e,t),ae(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Ri=ce()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ci(t,a)));break;case 22:n=t.memoizedState!==null;var m=l!==null&&l.memoizedState!==null,b=Fe,M=wt;if(Fe=b||n,wt=M||m,le(e,t),wt=M,Fe=b,ae(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||m||Fe||wt||Vl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){m=l=e;try{if(i=m.stateNode,n)s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none";else{o=m.stateNode;var j=m.memoizedProps.style,x=j!=null&&j.hasOwnProperty("display")?j.display:null;o.style.display=x==null||typeof x=="boolean"?"":(""+x).trim()}}catch(Q){yt(m,m.return,Q)}}}else if(e.tag===6){if(l===null){m=e;try{m.stateNode.nodeValue=n?"":m.memoizedProps}catch(Q){yt(m,m.return,Q)}}}else if(e.tag===18){if(l===null){m=e;try{var z=m.stateNode;n?zh(z,!0):zh(m.stateNode,!1)}catch(Q){yt(m,m.return,Q)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,Ci(t,l))));break;case 19:le(e,t),ae(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,Ci(t,a)));break;case 30:break;case 21:break;default:le(e,t),ae(t)}}function ae(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(Er(a)){l=a;break}a=a.return}if(l==null)throw Error(c(160));switch(l.tag){case 27:var n=l.stateNode,i=Zs(t);ji(t,i,n);break;case 5:var s=l.stateNode;l.flags&32&&(ea(s,""),l.flags&=-33);var o=Zs(t);ji(t,o,s);break;case 3:case 4:var m=l.stateNode.containerInfo,b=Zs(t);Qs(t,b,m);break;default:throw Error(c(161))}}catch(M){yt(t,t.return,M)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Nr(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Nr(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function $e(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Dr(t,e.alternate,e),e=e.sibling}function Vl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:yl(4,e,e.return),Vl(e);break;case 1:He(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&zr(e,e.return,l),Vl(e);break;case 27:En(e.stateNode);case 26:case 5:He(e,e.return),Vl(e);break;case 22:e.memoizedState===null&&Vl(e);break;case 30:Vl(e);break;default:Vl(e)}t=t.sibling}}function Ie(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,i=e,s=i.flags;switch(i.tag){case 0:case 11:case 15:Ie(n,i,l),yn(4,i);break;case 1:if(Ie(n,i,l),a=i,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(b){yt(a,a.return,b)}if(a=i,n=a.updateQueue,n!==null){var o=a.stateNode;try{var m=n.shared.hiddenCallbacks;if(m!==null)for(n.shared.hiddenCallbacks=null,n=0;n<m.length;n++)rf(m[n],o)}catch(b){yt(a,a.return,b)}}l&&s&64&&_r(i),pn(i,i.return);break;case 27:Mr(i);case 26:case 5:Ie(n,i,l),l&&a===null&&s&4&&Tr(i),pn(i,i.return);break;case 12:Ie(n,i,l);break;case 31:Ie(n,i,l),l&&s&4&&Or(n,i);break;case 13:Ie(n,i,l),l&&s&4&&Rr(n,i);break;case 22:i.memoizedState===null&&Ie(n,i,l),pn(i,i.return);break;case 30:break;default:Ie(n,i,l)}e=e.sibling}}function Ks(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&en(l))}function ks(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&en(t))}function Re(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Br(t,e,l,a),e=e.sibling}function Br(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Re(t,e,l,a),n&2048&&yn(9,e);break;case 1:Re(t,e,l,a);break;case 3:Re(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&en(t)));break;case 12:if(n&2048){Re(t,e,l,a),t=e.stateNode;try{var i=e.memoizedProps,s=i.id,o=i.onPostCommit;typeof o=="function"&&o(s,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(m){yt(e,e.return,m)}}else Re(t,e,l,a);break;case 31:Re(t,e,l,a);break;case 13:Re(t,e,l,a);break;case 23:break;case 22:i=e.stateNode,s=e.alternate,e.memoizedState!==null?i._visibility&2?Re(t,e,l,a):gn(t,e):i._visibility&2?Re(t,e,l,a):(i._visibility|=2,xa(t,e,l,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&Ks(s,e);break;case 24:Re(t,e,l,a),n&2048&&ks(e.alternate,e);break;default:Re(t,e,l,a)}}function xa(t,e,l,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var i=t,s=e,o=l,m=a,b=s.flags;switch(s.tag){case 0:case 11:case 15:xa(i,s,o,m,n),yn(8,s);break;case 23:break;case 22:var M=s.stateNode;s.memoizedState!==null?M._visibility&2?xa(i,s,o,m,n):gn(i,s):(M._visibility|=2,xa(i,s,o,m,n)),n&&b&2048&&Ks(s.alternate,s);break;case 24:xa(i,s,o,m,n),n&&b&2048&&ks(s.alternate,s);break;default:xa(i,s,o,m,n)}e=e.sibling}}function gn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:gn(l,a),n&2048&&Ks(a.alternate,a);break;case 24:gn(l,a),n&2048&&ks(a.alternate,a);break;default:gn(l,a)}e=e.sibling}}var vn=8192;function _a(t,e,l){if(t.subtreeFlags&vn)for(t=t.child;t!==null;)Hr(t,e,l),t=t.sibling}function Hr(t,e,l){switch(t.tag){case 26:_a(t,e,l),t.flags&vn&&t.memoizedState!==null&&Vy(l,Oe,t.memoizedState,t.memoizedProps);break;case 5:_a(t,e,l);break;case 3:case 4:var a=Oe;Oe=Qi(t.stateNode.containerInfo),_a(t,e,l),Oe=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=vn,vn=16777216,_a(t,e,l),vn=a):_a(t,e,l));break;default:_a(t,e,l)}}function Lr(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function bn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Zt=a,wr(a,t)}Lr(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Yr(t),t=t.sibling}function Yr(t){switch(t.tag){case 0:case 11:case 15:bn(t),t.flags&2048&&yl(9,t,t.return);break;case 3:bn(t);break;case 12:bn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Oi(t)):bn(t);break;default:bn(t)}}function Oi(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Zt=a,wr(a,t)}Lr(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:yl(8,e,e.return),Oi(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Oi(e));break;default:Oi(e)}t=t.sibling}}function wr(t,e){for(;Zt!==null;){var l=Zt;switch(l.tag){case 0:case 11:case 15:yl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:en(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Zt=a;else t:for(l=t;Zt!==null;){a=Zt;var n=a.sibling,i=a.return;if(jr(a),a===l){Zt=null;break t}if(n!==null){n.return=i,Zt=n;break t}Zt=i}}}var uy={getCacheForType:function(t){var e=kt(Ht),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return kt(Ht).controller.signal}},sy=typeof WeakMap=="function"?WeakMap:Map,dt=0,zt=null,it=null,ct=0,mt=0,ye=null,pl=!1,za=!1,Js=!1,Pe=0,Ot=0,gl=0,Kl=0,Fs=0,pe=0,Ta=0,Sn=null,ne=null,Ws=!1,Ri=0,qr=0,Ui=1/0,Ni=null,vl=null,qt=0,bl=null,Ea=null,tl=0,$s=0,Is=null,Gr=null,xn=0,Ps=null;function ge(){return(dt&2)!==0&&ct!==0?ct&-ct:A.T!==null?ic():eo()}function Xr(){if(pe===0)if((ct&536870912)===0||ft){var t=Xn;Xn<<=1,(Xn&3932160)===0&&(Xn=262144),pe=t}else pe=536870912;return t=de.current,t!==null&&(t.flags|=32),pe}function ie(t,e,l){(t===zt&&(mt===2||mt===9)||t.cancelPendingCommit!==null)&&(Ma(t,0),Sl(t,ct,pe,!1)),Ga(t,l),((dt&2)===0||t!==zt)&&(t===zt&&((dt&2)===0&&(Kl|=l),Ot===4&&Sl(t,ct,pe,!1)),Le(t))}function Zr(t,e,l){if((dt&6)!==0)throw Error(c(327));var a=!l&&(e&127)===0&&(e&t.expiredLanes)===0||qa(t,e),n=a?fy(t,e):ec(t,e,!0),i=a;do{if(n===0){za&&!a&&Sl(t,e,0,!1);break}else{if(l=t.current.alternate,i&&!cy(l)){n=ec(t,e,!1),i=!1;continue}if(n===2){if(i=e,t.errorRecoveryDisabledLanes&i)var s=0;else s=t.pendingLanes&-536870913,s=s!==0?s:s&536870912?536870912:0;if(s!==0){e=s;t:{var o=t;n=Sn;var m=o.current.memoizedState.isDehydrated;if(m&&(Ma(o,s).flags|=256),s=ec(o,s,!1),s!==2){if(Js&&!m){o.errorRecoveryDisabledLanes|=i,Kl|=i,n=4;break t}i=ne,ne=n,i!==null&&(ne===null?ne=i:ne.push.apply(ne,i))}n=s}if(i=!1,n!==2)continue}}if(n===1){Ma(t,0),Sl(t,e,0,!0);break}t:{switch(a=t,i=n,i){case 0:case 1:throw Error(c(345));case 4:if((e&4194048)!==e)break;case 6:Sl(a,e,pe,!pl);break t;case 2:ne=null;break;case 3:case 5:break;default:throw Error(c(329))}if((e&62914560)===e&&(n=Ri+300-ce(),10<n)){if(Sl(a,e,pe,!pl),Qn(a,0,!0)!==0)break t;tl=e,a.timeoutHandle=Sh(Qr.bind(null,a,l,ne,Ni,Ws,e,pe,Kl,Ta,pl,i,"Throttled",-0,0),n);break t}Qr(a,l,ne,Ni,Ws,e,pe,Kl,Ta,pl,i,null,-0,0)}}break}while(!0);Le(t)}function Qr(t,e,l,a,n,i,s,o,m,b,M,j,x,z){if(t.timeoutHandle=-1,j=e.subtreeFlags,j&8192||(j&16785408)===16785408){j={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:we},Hr(e,i,j);var Q=(i&62914560)===i?Ri-ce():(i&4194048)===i?qr-ce():0;if(Q=Ky(j,Q),Q!==null){tl=i,t.cancelPendingCommit=Q(Ir.bind(null,t,e,i,l,a,n,s,o,m,M,j,null,x,z)),Sl(t,i,s,!b);return}}Ir(t,e,i,l,a,n,s,o,m)}function cy(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],i=n.getSnapshot;n=n.value;try{if(!re(i(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Sl(t,e,l,a){e&=~Fs,e&=~Kl,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var i=31-fe(n),s=1<<i;a[i]=-1,n&=~s}l!==0&&Ic(t,l,e)}function Bi(){return(dt&6)===0?(_n(0),!1):!0}function tc(){if(it!==null){if(mt===0)var t=it.return;else t=it,Ze=Ll=null,ps(t),pa=null,an=0,t=it;for(;t!==null;)xr(t.alternate,t),t=t.return;it=null}}function Ma(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,Dy(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),tl=0,tc(),zt=t,it=l=Ge(t.current,null),ct=e,mt=0,ye=null,pl=!1,za=qa(t,e),Js=!1,Ta=pe=Fs=Kl=gl=Ot=0,ne=Sn=null,Ws=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-fe(a),i=1<<n;e|=t[n],a&=~i}return Pe=e,li(),l}function Vr(t,e){tt=null,A.H=hn,e===ya||e===fi?(e=sf(),mt=3):e===ns?(e=sf(),mt=4):mt=e===Rs?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ye=e,it===null&&(Ot=1,Ti(t,_e(e,t.current)))}function Kr(){var t=de.current;return t===null?!0:(ct&4194048)===ct?Me===null:(ct&62914560)===ct||(ct&536870912)!==0?t===Me:!1}function kr(){var t=A.H;return A.H=hn,t===null?hn:t}function Jr(){var t=A.A;return A.A=uy,t}function Hi(){Ot=4,pl||(ct&4194048)!==ct&&de.current!==null||(za=!0),(gl&134217727)===0&&(Kl&134217727)===0||zt===null||Sl(zt,ct,pe,!1)}function ec(t,e,l){var a=dt;dt|=2;var n=kr(),i=Jr();(zt!==t||ct!==e)&&(Ni=null,Ma(t,e)),e=!1;var s=Ot;t:do try{if(mt!==0&&it!==null){var o=it,m=ye;switch(mt){case 8:tc(),s=6;break t;case 3:case 2:case 9:case 6:de.current===null&&(e=!0);var b=mt;if(mt=0,ye=null,Aa(t,o,m,b),l&&za){s=0;break t}break;default:b=mt,mt=0,ye=null,Aa(t,o,m,b)}}oy(),s=Ot;break}catch(M){Vr(t,M)}while(!0);return e&&t.shellSuspendCounter++,Ze=Ll=null,dt=a,A.H=n,A.A=i,it===null&&(zt=null,ct=0,li()),s}function oy(){for(;it!==null;)Fr(it)}function fy(t,e){var l=dt;dt|=2;var a=kr(),n=Jr();zt!==t||ct!==e?(Ni=null,Ui=ce()+500,Ma(t,e)):za=qa(t,e);t:do try{if(mt!==0&&it!==null){e=it;var i=ye;e:switch(mt){case 1:mt=0,ye=null,Aa(t,e,i,1);break;case 2:case 9:if(nf(i)){mt=0,ye=null,Wr(e);break}e=function(){mt!==2&&mt!==9||zt!==t||(mt=7),Le(t)},i.then(e,e);break t;case 3:mt=7;break t;case 4:mt=5;break t;case 7:nf(i)?(mt=0,ye=null,Wr(e)):(mt=0,ye=null,Aa(t,e,i,7));break;case 5:var s=null;switch(it.tag){case 26:s=it.memoizedState;case 5:case 27:var o=it;if(s?Bh(s):o.stateNode.complete){mt=0,ye=null;var m=o.sibling;if(m!==null)it=m;else{var b=o.return;b!==null?(it=b,Li(b)):it=null}break e}}mt=0,ye=null,Aa(t,e,i,5);break;case 6:mt=0,ye=null,Aa(t,e,i,6);break;case 8:tc(),Ot=6;break t;default:throw Error(c(462))}}ry();break}catch(M){Vr(t,M)}while(!0);return Ze=Ll=null,A.H=a,A.A=n,dt=l,it!==null?0:(zt=null,ct=0,li(),Ot)}function ry(){for(;it!==null&&!Nd();)Fr(it)}function Fr(t){var e=br(t.alternate,t,Pe);t.memoizedProps=t.pendingProps,e===null?Li(t):it=e}function Wr(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=dr(l,e,e.pendingProps,e.type,void 0,ct);break;case 11:e=dr(l,e,e.pendingProps,e.type.render,e.ref,ct);break;case 5:ps(e);default:xr(l,e),e=it=ko(e,Pe),e=br(l,e,Pe)}t.memoizedProps=t.pendingProps,e===null?Li(t):it=e}function Aa(t,e,l,a){Ze=Ll=null,ps(e),pa=null,an=0;var n=e.return;try{if(Pm(t,n,e,l,ct)){Ot=1,Ti(t,_e(l,t.current)),it=null;return}}catch(i){if(n!==null)throw it=n,i;Ot=1,Ti(t,_e(l,t.current)),it=null;return}e.flags&32768?(ft||a===1?t=!0:za||(ct&536870912)!==0?t=!1:(pl=t=!0,(a===2||a===9||a===3||a===6)&&(a=de.current,a!==null&&a.tag===13&&(a.flags|=16384))),$r(e,t)):Li(e)}function Li(t){var e=t;do{if((e.flags&32768)!==0){$r(e,pl);return}t=e.return;var l=ly(e.alternate,e,Pe);if(l!==null){it=l;return}if(e=e.sibling,e!==null){it=e;return}it=e=t}while(e!==null);Ot===0&&(Ot=5)}function $r(t,e){do{var l=ay(t.alternate,t);if(l!==null){l.flags&=32767,it=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){it=t;return}it=t=l}while(t!==null);Ot=6,it=null}function Ir(t,e,l,a,n,i,s,o,m){t.cancelPendingCommit=null;do Yi();while(qt!==0);if((dt&6)!==0)throw Error(c(327));if(e!==null){if(e===t.current)throw Error(c(177));if(i=e.lanes|e.childLanes,i|=Zu,Qd(t,l,i,s,o,m),t===zt&&(it=zt=null,ct=0),Ea=e,bl=t,tl=l,$s=i,Is=n,Gr=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,yy(qn,function(){return ah(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=A.T,A.T=null,n=w.p,w.p=2,s=dt,dt|=4;try{ny(t,e,l)}finally{dt=s,w.p=n,A.T=a}}qt=1,Pr(),th(),eh()}}function Pr(){if(qt===1){qt=0;var t=bl,e=Ea,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=A.T,A.T=null;var a=w.p;w.p=2;var n=dt;dt|=4;try{Ur(e,t);var i=dc,s=Yo(t.containerInfo),o=i.focusedElem,m=i.selectionRange;if(s!==o&&o&&o.ownerDocument&&Lo(o.ownerDocument.documentElement,o)){if(m!==null&&Yu(o)){var b=m.start,M=m.end;if(M===void 0&&(M=b),"selectionStart"in o)o.selectionStart=b,o.selectionEnd=Math.min(M,o.value.length);else{var j=o.ownerDocument||document,x=j&&j.defaultView||window;if(x.getSelection){var z=x.getSelection(),Q=o.textContent.length,W=Math.min(m.start,Q),bt=m.end===void 0?W:Math.min(m.end,Q);!z.extend&&W>bt&&(s=bt,bt=W,W=s);var g=Ho(o,W),p=Ho(o,bt);if(g&&p&&(z.rangeCount!==1||z.anchorNode!==g.node||z.anchorOffset!==g.offset||z.focusNode!==p.node||z.focusOffset!==p.offset)){var v=j.createRange();v.setStart(g.node,g.offset),z.removeAllRanges(),W>bt?(z.addRange(v),z.extend(p.node,p.offset)):(v.setEnd(p.node,p.offset),z.addRange(v))}}}}for(j=[],z=o;z=z.parentNode;)z.nodeType===1&&j.push({element:z,left:z.scrollLeft,top:z.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<j.length;o++){var D=j[o];D.element.scrollLeft=D.left,D.element.scrollTop=D.top}}Wi=!!hc,dc=hc=null}finally{dt=n,w.p=a,A.T=l}}t.current=e,qt=2}}function th(){if(qt===2){qt=0;var t=bl,e=Ea,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=A.T,A.T=null;var a=w.p;w.p=2;var n=dt;dt|=4;try{Dr(t,e.alternate,e)}finally{dt=n,w.p=a,A.T=l}}qt=3}}function eh(){if(qt===4||qt===3){qt=0,Bd();var t=bl,e=Ea,l=tl,a=Gr;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?qt=5:(qt=0,Ea=bl=null,lh(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(vl=null),bu(l),e=e.stateNode,oe&&typeof oe.onCommitFiberRoot=="function")try{oe.onCommitFiberRoot(wa,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=A.T,n=w.p,w.p=2,A.T=null;try{for(var i=t.onRecoverableError,s=0;s<a.length;s++){var o=a[s];i(o.value,{componentStack:o.stack})}}finally{A.T=e,w.p=n}}(tl&3)!==0&&Yi(),Le(t),n=t.pendingLanes,(l&261930)!==0&&(n&42)!==0?t===Ps?xn++:(xn=0,Ps=t):xn=0,_n(0)}}function lh(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,en(e)))}function Yi(){return Pr(),th(),eh(),ah()}function ah(){if(qt!==5)return!1;var t=bl,e=$s;$s=0;var l=bu(tl),a=A.T,n=w.p;try{w.p=32>l?32:l,A.T=null,l=Is,Is=null;var i=bl,s=tl;if(qt=0,Ea=bl=null,tl=0,(dt&6)!==0)throw Error(c(331));var o=dt;if(dt|=4,Yr(i.current),Br(i,i.current,s,l),dt=o,_n(0,!1),oe&&typeof oe.onPostCommitFiberRoot=="function")try{oe.onPostCommitFiberRoot(wa,i)}catch{}return!0}finally{w.p=n,A.T=a,lh(t,e)}}function nh(t,e,l){e=_e(l,e),e=Os(t.stateNode,e,2),t=hl(t,e,2),t!==null&&(Ga(t,2),Le(t))}function yt(t,e,l){if(t.tag===3)nh(t,t,l);else for(;e!==null;){if(e.tag===3){nh(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(vl===null||!vl.has(a))){t=_e(l,t),l=ir(2),a=hl(e,l,2),a!==null&&(ur(l,a,e,t),Ga(a,2),Le(a));break}}e=e.return}}function lc(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new sy;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(l)||(Js=!0,n.add(l),t=hy.bind(null,t,e,l),e.then(t,t))}function hy(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,zt===t&&(ct&l)===l&&(Ot===4||Ot===3&&(ct&62914560)===ct&&300>ce()-Ri?(dt&2)===0&&Ma(t,0):Fs|=l,Ta===ct&&(Ta=0)),Le(t)}function ih(t,e){e===0&&(e=$c()),t=Nl(t,e),t!==null&&(Ga(t,e),Le(t))}function dy(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),ih(t,l)}function my(t,e){var l=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(c(314))}a!==null&&a.delete(e),ih(t,l)}function yy(t,e){return yu(t,e)}var wi=null,Da=null,ac=!1,qi=!1,nc=!1,xl=0;function Le(t){t!==Da&&t.next===null&&(Da===null?wi=Da=t:Da=Da.next=t),qi=!0,ac||(ac=!0,gy())}function _n(t,e){if(!nc&&qi){nc=!0;do for(var l=!1,a=wi;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var i=0;else{var s=a.suspendedLanes,o=a.pingedLanes;i=(1<<31-fe(42|t)+1)-1,i&=n&~(s&~o),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,oh(a,i))}else i=ct,i=Qn(a,a===zt?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||qa(a,i)||(l=!0,oh(a,i));a=a.next}while(l);nc=!1}}function py(){uh()}function uh(){qi=ac=!1;var t=0;xl!==0&&Ay()&&(t=xl);for(var e=ce(),l=null,a=wi;a!==null;){var n=a.next,i=sh(a,e);i===0?(a.next=null,l===null?wi=n:l.next=n,n===null&&(Da=l)):(l=a,(t!==0||(i&3)!==0)&&(qi=!0)),a=n}qt!==0&&qt!==5||_n(t),xl!==0&&(xl=0)}function sh(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,i=t.pendingLanes&-62914561;0<i;){var s=31-fe(i),o=1<<s,m=n[s];m===-1?((o&l)===0||(o&a)!==0)&&(n[s]=Zd(o,e)):m<=e&&(t.expiredLanes|=o),i&=~o}if(e=zt,l=ct,l=Qn(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(mt===2||mt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&pu(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||qa(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&pu(a),bu(l)){case 2:case 8:l=Fc;break;case 32:l=qn;break;case 268435456:l=Wc;break;default:l=qn}return a=ch.bind(null,t),l=yu(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&pu(a),t.callbackPriority=2,t.callbackNode=null,2}function ch(t,e){if(qt!==0&&qt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Yi()&&t.callbackNode!==l)return null;var a=ct;return a=Qn(t,t===zt?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(Zr(t,a,e),sh(t,ce()),t.callbackNode!=null&&t.callbackNode===l?ch.bind(null,t):null)}function oh(t,e){if(Yi())return null;Zr(t,e,!0)}function gy(){jy(function(){(dt&6)!==0?yu(Jc,py):uh()})}function ic(){if(xl===0){var t=da;t===0&&(t=Gn,Gn<<=1,(Gn&261888)===0&&(Gn=256)),xl=t}return xl}function fh(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Jn(""+t)}function rh(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function vy(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var i=fh((n[Pt]||null).action),s=a.submitter;s&&(e=(e=s[Pt]||null)?fh(e.formAction):s.getAttribute("formAction"),e!==null&&(i=e,s=null));var o=new In("action","action",null,a,n);t.push({event:o,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(xl!==0){var m=s?rh(n,s):new FormData(n);Es(l,{pending:!0,data:m,method:n.method,action:i},null,m)}}else typeof i=="function"&&(o.preventDefault(),m=s?rh(n,s):new FormData(n),Es(l,{pending:!0,data:m,method:n.method,action:i},i,m))},currentTarget:n}]})}}for(var uc=0;uc<Xu.length;uc++){var sc=Xu[uc],by=sc.toLowerCase(),Sy=sc[0].toUpperCase()+sc.slice(1);Ce(by,"on"+Sy)}Ce(Go,"onAnimationEnd"),Ce(Xo,"onAnimationIteration"),Ce(Zo,"onAnimationStart"),Ce("dblclick","onDoubleClick"),Ce("focusin","onFocus"),Ce("focusout","onBlur"),Ce(Hm,"onTransitionRun"),Ce(Lm,"onTransitionStart"),Ce(Ym,"onTransitionCancel"),Ce(Qo,"onTransitionEnd"),Pl("onMouseEnter",["mouseout","mouseover"]),Pl("onMouseLeave",["mouseout","mouseover"]),Pl("onPointerEnter",["pointerout","pointerover"]),Pl("onPointerLeave",["pointerout","pointerover"]),Cl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zn));function hh(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var i=void 0;if(e)for(var s=a.length-1;0<=s;s--){var o=a[s],m=o.instance,b=o.currentTarget;if(o=o.listener,m!==i&&n.isPropagationStopped())break t;i=o,n.currentTarget=b;try{i(n)}catch(M){ei(M)}n.currentTarget=null,i=m}else for(s=0;s<a.length;s++){if(o=a[s],m=o.instance,b=o.currentTarget,o=o.listener,m!==i&&n.isPropagationStopped())break t;i=o,n.currentTarget=b;try{i(n)}catch(M){ei(M)}n.currentTarget=null,i=m}}}}function ut(t,e){var l=e[Su];l===void 0&&(l=e[Su]=new Set);var a=t+"__bubble";l.has(a)||(dh(e,t,2,!1),l.add(a))}function cc(t,e,l){var a=0;e&&(a|=4),dh(l,t,a,e)}var Gi="_reactListening"+Math.random().toString(36).slice(2);function oc(t){if(!t[Gi]){t[Gi]=!0,no.forEach(function(l){l!=="selectionchange"&&(xy.has(l)||cc(l,!1,t),cc(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Gi]||(e[Gi]=!0,cc("selectionchange",!1,e))}}function dh(t,e,l,a){switch(Xh(e)){case 2:var n=Fy;break;case 8:n=Wy;break;default:n=Tc}l=n.bind(null,e,l,t),n=void 0,!ju||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function fc(t,e,l,a,n){var i=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var s=a.tag;if(s===3||s===4){var o=a.stateNode.containerInfo;if(o===n)break;if(s===4)for(s=a.return;s!==null;){var m=s.tag;if((m===3||m===4)&&s.stateNode.containerInfo===n)return;s=s.return}for(;o!==null;){if(s=Wl(o),s===null)return;if(m=s.tag,m===5||m===6||m===26||m===27){a=i=s;continue t}o=o.parentNode}}a=a.return}go(function(){var b=i,M=Au(l),j=[];t:{var x=Vo.get(t);if(x!==void 0){var z=In,Q=t;switch(t){case"keypress":if(Wn(l)===0)break t;case"keydown":case"keyup":z=mm;break;case"focusin":Q="focus",z=Uu;break;case"focusout":Q="blur",z=Uu;break;case"beforeblur":case"afterblur":z=Uu;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":z=So;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":z=lm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":z=gm;break;case Go:case Xo:case Zo:z=im;break;case Qo:z=bm;break;case"scroll":case"scrollend":z=tm;break;case"wheel":z=xm;break;case"copy":case"cut":case"paste":z=sm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":z=_o;break;case"toggle":case"beforetoggle":z=zm}var W=(e&4)!==0,bt=!W&&(t==="scroll"||t==="scrollend"),g=W?x!==null?x+"Capture":null:x;W=[];for(var p=b,v;p!==null;){var D=p;if(v=D.stateNode,D=D.tag,D!==5&&D!==26&&D!==27||v===null||g===null||(D=Qa(p,g),D!=null&&W.push(Tn(p,D,v))),bt)break;p=p.return}0<W.length&&(x=new z(x,Q,null,l,M),j.push({event:x,listeners:W}))}}if((e&7)===0){t:{if(x=t==="mouseover"||t==="pointerover",z=t==="mouseout"||t==="pointerout",x&&l!==Mu&&(Q=l.relatedTarget||l.fromElement)&&(Wl(Q)||Q[Fl]))break t;if((z||x)&&(x=M.window===M?M:(x=M.ownerDocument)?x.defaultView||x.parentWindow:window,z?(Q=l.relatedTarget||l.toElement,z=b,Q=Q?Wl(Q):null,Q!==null&&(bt=y(Q),W=Q.tag,Q!==bt||W!==5&&W!==27&&W!==6)&&(Q=null)):(z=null,Q=b),z!==Q)){if(W=So,D="onMouseLeave",g="onMouseEnter",p="mouse",(t==="pointerout"||t==="pointerover")&&(W=_o,D="onPointerLeave",g="onPointerEnter",p="pointer"),bt=z==null?x:Za(z),v=Q==null?x:Za(Q),x=new W(D,p+"leave",z,l,M),x.target=bt,x.relatedTarget=v,D=null,Wl(M)===b&&(W=new W(g,p+"enter",Q,l,M),W.target=v,W.relatedTarget=bt,D=W),bt=D,z&&Q)e:{for(W=_y,g=z,p=Q,v=0,D=g;D;D=W(D))v++;D=0;for(var J=p;J;J=W(J))D++;for(;0<v-D;)g=W(g),v--;for(;0<D-v;)p=W(p),D--;for(;v--;){if(g===p||p!==null&&g===p.alternate){W=g;break e}g=W(g),p=W(p)}W=null}else W=null;z!==null&&mh(j,x,z,W,!1),Q!==null&&bt!==null&&mh(j,bt,Q,W,!0)}}t:{if(x=b?Za(b):window,z=x.nodeName&&x.nodeName.toLowerCase(),z==="select"||z==="input"&&x.type==="file")var rt=Co;else if(Do(x))if(Oo)rt=Um;else{rt=Om;var V=Cm}else z=x.nodeName,!z||z.toLowerCase()!=="input"||x.type!=="checkbox"&&x.type!=="radio"?b&&Eu(b.elementType)&&(rt=Co):rt=Rm;if(rt&&(rt=rt(t,b))){jo(j,rt,l,M);break t}V&&V(t,x,b),t==="focusout"&&b&&x.type==="number"&&b.memoizedProps.value!=null&&Tu(x,"number",x.value)}switch(V=b?Za(b):window,t){case"focusin":(Do(V)||V.contentEditable==="true")&&(ia=V,wu=b,Ia=null);break;case"focusout":Ia=wu=ia=null;break;case"mousedown":qu=!0;break;case"contextmenu":case"mouseup":case"dragend":qu=!1,wo(j,l,M);break;case"selectionchange":if(Bm)break;case"keydown":case"keyup":wo(j,l,M)}var lt;if(Bu)t:{switch(t){case"compositionstart":var ot="onCompositionStart";break t;case"compositionend":ot="onCompositionEnd";break t;case"compositionupdate":ot="onCompositionUpdate";break t}ot=void 0}else na?Mo(t,l)&&(ot="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(ot="onCompositionStart");ot&&(zo&&l.locale!=="ko"&&(na||ot!=="onCompositionStart"?ot==="onCompositionEnd"&&na&&(lt=vo()):(il=M,Cu="value"in il?il.value:il.textContent,na=!0)),V=Xi(b,ot),0<V.length&&(ot=new xo(ot,t,null,l,M),j.push({event:ot,listeners:V}),lt?ot.data=lt:(lt=Ao(l),lt!==null&&(ot.data=lt)))),(lt=Em?Mm(t,l):Am(t,l))&&(ot=Xi(b,"onBeforeInput"),0<ot.length&&(V=new xo("onBeforeInput","beforeinput",null,l,M),j.push({event:V,listeners:ot}),V.data=lt)),vy(j,t,b,l,M)}hh(j,e)})}function Tn(t,e,l){return{instance:t,listener:e,currentTarget:l}}function Xi(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=Qa(t,l),n!=null&&a.unshift(Tn(t,n,i)),n=Qa(t,e),n!=null&&a.push(Tn(t,n,i))),t.tag===3)return a;t=t.return}return[]}function _y(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function mh(t,e,l,a,n){for(var i=e._reactName,s=[];l!==null&&l!==a;){var o=l,m=o.alternate,b=o.stateNode;if(o=o.tag,m!==null&&m===a)break;o!==5&&o!==26&&o!==27||b===null||(m=b,n?(b=Qa(l,i),b!=null&&s.unshift(Tn(l,b,m))):n||(b=Qa(l,i),b!=null&&s.push(Tn(l,b,m)))),l=l.return}s.length!==0&&t.push({event:e,listeners:s})}var zy=/\r\n?/g,Ty=/\u0000|\uFFFD/g;function yh(t){return(typeof t=="string"?t:""+t).replace(zy,`
33
- `).replace(Ty,"")}function ph(t,e){return e=yh(e),yh(t)===e}function vt(t,e,l,a,n,i){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||ea(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&ea(t,""+a);break;case"className":Kn(t,"class",a);break;case"tabIndex":Kn(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Kn(t,l,a);break;case"style":yo(t,a,i);break;case"data":if(e!=="object"){Kn(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Jn(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(l==="formAction"?(e!=="input"&&vt(t,e,"name",n.name,n,null),vt(t,e,"formEncType",n.formEncType,n,null),vt(t,e,"formMethod",n.formMethod,n,null),vt(t,e,"formTarget",n.formTarget,n,null)):(vt(t,e,"encType",n.encType,n,null),vt(t,e,"method",n.method,n,null),vt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Jn(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=we);break;case"onScroll":a!=null&&ut("scroll",t);break;case"onScrollEnd":a!=null&&ut("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Jn(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":ut("beforetoggle",t),ut("toggle",t),Vn(t,"popover",a);break;case"xlinkActuate":Ye(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ye(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ye(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ye(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ye(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ye(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Vn(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Id.get(l)||l,Vn(t,l,a))}}function rc(t,e,l,a,n,i){switch(l){case"style":yo(t,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"children":typeof a=="string"?ea(t,a):(typeof a=="number"||typeof a=="bigint")&&ea(t,""+a);break;case"onScroll":a!=null&&ut("scroll",t);break;case"onScrollEnd":a!=null&&ut("scrollend",t);break;case"onClick":a!=null&&(t.onclick=we);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!io.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),i=t[Pt]||null,i=i!=null?i[l]:null,typeof i=="function"&&t.removeEventListener(e,i,n),typeof a=="function")){typeof i!="function"&&i!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):Vn(t,l,a)}}}function Ft(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ut("error",t),ut("load",t);var a=!1,n=!1,i;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];if(s!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:vt(t,e,i,s,l,null)}}n&&vt(t,e,"srcSet",l.srcSet,l,null),a&&vt(t,e,"src",l.src,l,null);return;case"input":ut("invalid",t);var o=i=s=n=null,m=null,b=null;for(a in l)if(l.hasOwnProperty(a)){var M=l[a];if(M!=null)switch(a){case"name":n=M;break;case"type":s=M;break;case"checked":m=M;break;case"defaultChecked":b=M;break;case"value":i=M;break;case"defaultValue":o=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,e));break;default:vt(t,e,a,M,l,null)}}fo(t,i,o,m,b,s,n,!1);return;case"select":ut("invalid",t),a=s=i=null;for(n in l)if(l.hasOwnProperty(n)&&(o=l[n],o!=null))switch(n){case"value":i=o;break;case"defaultValue":s=o;break;case"multiple":a=o;default:vt(t,e,n,o,l,null)}e=i,l=s,t.multiple=!!a,e!=null?ta(t,!!a,e,!1):l!=null&&ta(t,!!a,l,!0);return;case"textarea":ut("invalid",t),i=n=a=null;for(s in l)if(l.hasOwnProperty(s)&&(o=l[s],o!=null))switch(s){case"value":a=o;break;case"defaultValue":n=o;break;case"children":i=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(c(91));break;default:vt(t,e,s,o,l,null)}ho(t,a,n,i);return;case"option":for(m in l)if(l.hasOwnProperty(m)&&(a=l[m],a!=null))switch(m){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:vt(t,e,m,a,l,null)}return;case"dialog":ut("beforetoggle",t),ut("toggle",t),ut("cancel",t),ut("close",t);break;case"iframe":case"object":ut("load",t);break;case"video":case"audio":for(a=0;a<zn.length;a++)ut(zn[a],t);break;case"image":ut("error",t),ut("load",t);break;case"details":ut("toggle",t);break;case"embed":case"source":case"link":ut("error",t),ut("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(b in l)if(l.hasOwnProperty(b)&&(a=l[b],a!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:vt(t,e,b,a,l,null)}return;default:if(Eu(e)){for(M in l)l.hasOwnProperty(M)&&(a=l[M],a!==void 0&&rc(t,e,M,a,l,void 0));return}}for(o in l)l.hasOwnProperty(o)&&(a=l[o],a!=null&&vt(t,e,o,a,l,null))}function Ey(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,s=null,o=null,m=null,b=null,M=null;for(z in l){var j=l[z];if(l.hasOwnProperty(z)&&j!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":m=j;default:a.hasOwnProperty(z)||vt(t,e,z,null,a,j)}}for(var x in a){var z=a[x];if(j=l[x],a.hasOwnProperty(x)&&(z!=null||j!=null))switch(x){case"type":i=z;break;case"name":n=z;break;case"checked":b=z;break;case"defaultChecked":M=z;break;case"value":s=z;break;case"defaultValue":o=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(c(137,e));break;default:z!==j&&vt(t,e,x,z,a,j)}}zu(t,s,o,m,b,M,i,n);return;case"select":z=s=o=x=null;for(i in l)if(m=l[i],l.hasOwnProperty(i)&&m!=null)switch(i){case"value":break;case"multiple":z=m;default:a.hasOwnProperty(i)||vt(t,e,i,null,a,m)}for(n in a)if(i=a[n],m=l[n],a.hasOwnProperty(n)&&(i!=null||m!=null))switch(n){case"value":x=i;break;case"defaultValue":o=i;break;case"multiple":s=i;default:i!==m&&vt(t,e,n,i,a,m)}e=o,l=s,a=z,x!=null?ta(t,!!l,x,!1):!!a!=!!l&&(e!=null?ta(t,!!l,e,!0):ta(t,!!l,l?[]:"",!1));return;case"textarea":z=x=null;for(o in l)if(n=l[o],l.hasOwnProperty(o)&&n!=null&&!a.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:vt(t,e,o,null,a,n)}for(s in a)if(n=a[s],i=l[s],a.hasOwnProperty(s)&&(n!=null||i!=null))switch(s){case"value":x=n;break;case"defaultValue":z=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==i&&vt(t,e,s,n,a,i)}ro(t,x,z);return;case"option":for(var Q in l)if(x=l[Q],l.hasOwnProperty(Q)&&x!=null&&!a.hasOwnProperty(Q))switch(Q){case"selected":t.selected=!1;break;default:vt(t,e,Q,null,a,x)}for(m in a)if(x=a[m],z=l[m],a.hasOwnProperty(m)&&x!==z&&(x!=null||z!=null))switch(m){case"selected":t.selected=x&&typeof x!="function"&&typeof x!="symbol";break;default:vt(t,e,m,x,a,z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var W in l)x=l[W],l.hasOwnProperty(W)&&x!=null&&!a.hasOwnProperty(W)&&vt(t,e,W,null,a,x);for(b in a)if(x=a[b],z=l[b],a.hasOwnProperty(b)&&x!==z&&(x!=null||z!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(c(137,e));break;default:vt(t,e,b,x,a,z)}return;default:if(Eu(e)){for(var bt in l)x=l[bt],l.hasOwnProperty(bt)&&x!==void 0&&!a.hasOwnProperty(bt)&&rc(t,e,bt,void 0,a,x);for(M in a)x=a[M],z=l[M],!a.hasOwnProperty(M)||x===z||x===void 0&&z===void 0||rc(t,e,M,x,a,z);return}}for(var g in l)x=l[g],l.hasOwnProperty(g)&&x!=null&&!a.hasOwnProperty(g)&&vt(t,e,g,null,a,x);for(j in a)x=a[j],z=l[j],!a.hasOwnProperty(j)||x===z||x==null&&z==null||vt(t,e,j,x,a,z)}function gh(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function My(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],i=n.transferSize,s=n.initiatorType,o=n.duration;if(i&&o&&gh(s)){for(s=0,o=n.responseEnd,a+=1;a<l.length;a++){var m=l[a],b=m.startTime;if(b>o)break;var M=m.transferSize,j=m.initiatorType;M&&gh(j)&&(m=m.responseEnd,s+=M*(m<o?1:(o-b)/(m-b)))}if(--a,e+=8*(i+s)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var hc=null,dc=null;function Zi(t){return t.nodeType===9?t:t.ownerDocument}function vh(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function bh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function mc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var yc=null;function Ay(){var t=window.event;return t&&t.type==="popstate"?t===yc?!1:(yc=t,!0):(yc=null,!1)}var Sh=typeof setTimeout=="function"?setTimeout:void 0,Dy=typeof clearTimeout=="function"?clearTimeout:void 0,xh=typeof Promise=="function"?Promise:void 0,jy=typeof queueMicrotask=="function"?queueMicrotask:typeof xh<"u"?function(t){return xh.resolve(null).then(t).catch(Cy)}:Sh;function Cy(t){setTimeout(function(){throw t})}function _l(t){return t==="head"}function _h(t,e){var l=e,a=0;do{var n=l.nextSibling;if(t.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){t.removeChild(n),Ra(e);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")En(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,En(l);for(var i=l.firstChild;i;){var s=i.nextSibling,o=i.nodeName;i[Xa]||o==="SCRIPT"||o==="STYLE"||o==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=s}}else l==="body"&&En(t.ownerDocument.body);l=n}while(l);Ra(e)}function zh(t,e){var l=t;t=0;do{var a=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=a}while(l)}function pc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":pc(l),xu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Oy(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Xa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(i=t.getAttribute("rel"),i==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(i!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(i=t.getAttribute("src"),(i!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===i)return t}else return t;if(t=Ae(t.nextSibling),t===null)break}return null}function Ry(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ae(t.nextSibling),t===null))return null;return t}function Th(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ae(t.nextSibling),t===null))return null;return t}function gc(t){return t.data==="$?"||t.data==="$~"}function vc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Uy(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ae(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var bc=null;function Eh(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Ae(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Mh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function Ah(t,e,l){switch(e=Zi(l),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function En(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);xu(t)}var De=new Map,Dh=new Set;function Qi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var el=w.d;w.d={f:Ny,r:By,D:Hy,C:Ly,L:Yy,m:wy,X:Gy,S:qy,M:Xy};function Ny(){var t=el.f(),e=Bi();return t||e}function By(t){var e=$l(t);e!==null&&e.tag===5&&e.type==="form"?Vf(e):el.r(t)}var ja=typeof document>"u"?null:document;function jh(t,e,l){var a=ja;if(a&&typeof e=="string"&&e){var n=Se(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Dh.has(n)||(Dh.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Ft(e,"link",t),Xt(e),a.head.appendChild(e)))}}function Hy(t){el.D(t),jh("dns-prefetch",t,null)}function Ly(t,e){el.C(t,e),jh("preconnect",t,e)}function Yy(t,e,l){el.L(t,e,l);var a=ja;if(a&&t&&e){var n='link[rel="preload"][as="'+Se(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Se(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Se(l.imageSizes)+'"]')):n+='[href="'+Se(t)+'"]';var i=n;switch(e){case"style":i=Ca(t);break;case"script":i=Oa(t)}De.has(i)||(t=E({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),De.set(i,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Mn(i))||e==="script"&&a.querySelector(An(i))||(e=a.createElement("link"),Ft(e,"link",t),Xt(e),a.head.appendChild(e)))}}function wy(t,e){el.m(t,e);var l=ja;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Se(a)+'"][href="'+Se(t)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Oa(t)}if(!De.has(i)&&(t=E({rel:"modulepreload",href:t},e),De.set(i,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(An(i)))return}a=l.createElement("link"),Ft(a,"link",t),Xt(a),l.head.appendChild(a)}}}function qy(t,e,l){el.S(t,e,l);var a=ja;if(a&&t){var n=Il(a).hoistableStyles,i=Ca(t);e=e||"default";var s=n.get(i);if(!s){var o={loading:0,preload:null};if(s=a.querySelector(Mn(i)))o.loading=5;else{t=E({rel:"stylesheet",href:t,"data-precedence":e},l),(l=De.get(i))&&Sc(t,l);var m=s=a.createElement("link");Xt(m),Ft(m,"link",t),m._p=new Promise(function(b,M){m.onload=b,m.onerror=M}),m.addEventListener("load",function(){o.loading|=1}),m.addEventListener("error",function(){o.loading|=2}),o.loading|=4,Vi(s,e,a)}s={type:"stylesheet",instance:s,count:1,state:o},n.set(i,s)}}}function Gy(t,e){el.X(t,e);var l=ja;if(l&&t){var a=Il(l).hoistableScripts,n=Oa(t),i=a.get(n);i||(i=l.querySelector(An(n)),i||(t=E({src:t,async:!0},e),(e=De.get(n))&&xc(t,e),i=l.createElement("script"),Xt(i),Ft(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Xy(t,e){el.M(t,e);var l=ja;if(l&&t){var a=Il(l).hoistableScripts,n=Oa(t),i=a.get(n);i||(i=l.querySelector(An(n)),i||(t=E({src:t,async:!0,type:"module"},e),(e=De.get(n))&&xc(t,e),i=l.createElement("script"),Xt(i),Ft(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Ch(t,e,l,a){var n=(n=je.current)?Qi(n):null;if(!n)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Ca(l.href),l=Il(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Ca(l.href);var i=Il(n).hoistableStyles,s=i.get(t);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(t,s),(i=n.querySelector(Mn(t)))&&!i._p&&(s.instance=i,s.state.loading=5),De.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},De.set(t,l),i||Zy(n,t,l,s.state))),e&&a===null)throw Error(c(528,""));return s}if(e&&a!==null)throw Error(c(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Oa(l),l=Il(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Ca(t){return'href="'+Se(t)+'"'}function Mn(t){return'link[rel="stylesheet"]['+t+"]"}function Oh(t){return E({},t,{"data-precedence":t.precedence,precedence:null})}function Zy(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Ft(e,"link",l),Xt(e),t.head.appendChild(e))}function Oa(t){return'[src="'+Se(t)+'"]'}function An(t){return"script[async]"+t}function Rh(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Se(l.href)+'"]');if(a)return e.instance=a,Xt(a),a;var n=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Xt(a),Ft(a,"style",n),Vi(a,l.precedence,t),e.instance=a;case"stylesheet":n=Ca(l.href);var i=t.querySelector(Mn(n));if(i)return e.state.loading|=4,e.instance=i,Xt(i),i;a=Oh(l),(n=De.get(n))&&Sc(a,n),i=(t.ownerDocument||t).createElement("link"),Xt(i);var s=i;return s._p=new Promise(function(o,m){s.onload=o,s.onerror=m}),Ft(i,"link",a),e.state.loading|=4,Vi(i,l.precedence,t),e.instance=i;case"script":return i=Oa(l.src),(n=t.querySelector(An(i)))?(e.instance=n,Xt(n),n):(a=l,(n=De.get(i))&&(a=E({},l),xc(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Xt(n),Ft(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Vi(a,l.precedence,t));return e.instance}function Vi(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,s=0;s<a.length;s++){var o=a[s];if(o.dataset.precedence===e)i=o;else if(i!==n)break}i?i.parentNode.insertBefore(t,i.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Sc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function xc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ki=null;function Uh(t,e,l){if(Ki===null){var a=new Map,n=Ki=new Map;n.set(l,a)}else n=Ki,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var i=l[n];if(!(i[Xa]||i[Vt]||t==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(e)||"";s=t+s;var o=a.get(s);o?o.push(i):a.set(s,[i])}}return a}function Nh(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Qy(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Bh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Vy(t,e,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Ca(a.href),i=e.querySelector(Mn(n));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=ki.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=i,Xt(i);return}i=e.ownerDocument||e,a=Oh(a),(n=De.get(n))&&Sc(a,n),i=i.createElement("link"),Xt(i);var s=i;s._p=new Promise(function(o,m){s.onload=o,s.onerror=m}),Ft(i,"link",a),l.instance=i}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=ki.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var _c=0;function Ky(t,e){return t.stylesheets&&t.count===0&&Fi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var a=setTimeout(function(){if(t.stylesheets&&Fi(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&_c===0&&(_c=62500*My());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Fi(t,t.stylesheets),t.unsuspend)){var i=t.unsuspend;t.unsuspend=null,i()}},(t.imgBytes>_c?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function ki(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ji=null;function Fi(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ji=new Map,e.forEach(ky,t),Ji=null,ki.call(t))}function ky(t,e){if(!(e.state.loading&4)){var l=Ji.get(t);if(l)var a=l.get(null);else{l=new Map,Ji.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var s=n[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),a=s)}a&&l.set(null,a)}n=e.instance,s=n.getAttribute("data-precedence"),i=l.get(s)||a,i===a&&l.set(null,n),l.set(s,n),this.count++,a=ki.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var Dn={$$typeof:X,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function Jy(t,e,l,a,n,i,s,o,m){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gu(0),this.hiddenUpdates=gu(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function Hh(t,e,l,a,n,i,s,o,m,b,M,j){return t=new Jy(t,e,l,s,m,b,M,j,o),e=1,i===!0&&(e|=24),i=he(3,null,null,e),t.current=i,i.stateNode=t,e=es(),e.refCount++,t.pooledCache=e,e.refCount++,i.memoizedState={element:a,isDehydrated:l,cache:e},is(i),t}function Lh(t){return t?(t=ca,t):ca}function Yh(t,e,l,a,n,i){n=Lh(n),a.context===null?a.context=n:a.pendingContext=n,a=rl(e),a.payload={element:l},i=i===void 0?null:i,i!==null&&(a.callback=i),l=hl(t,a,e),l!==null&&(ie(l,t,e),un(l,t,e))}function wh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function zc(t,e){wh(t,e),(t=t.alternate)&&wh(t,e)}function qh(t){if(t.tag===13||t.tag===31){var e=Nl(t,67108864);e!==null&&ie(e,t,67108864),zc(t,67108864)}}function Gh(t){if(t.tag===13||t.tag===31){var e=ge();e=vu(e);var l=Nl(t,e);l!==null&&ie(l,t,e),zc(t,e)}}var Wi=!0;function Fy(t,e,l,a){var n=A.T;A.T=null;var i=w.p;try{w.p=2,Tc(t,e,l,a)}finally{w.p=i,A.T=n}}function Wy(t,e,l,a){var n=A.T;A.T=null;var i=w.p;try{w.p=8,Tc(t,e,l,a)}finally{w.p=i,A.T=n}}function Tc(t,e,l,a){if(Wi){var n=Ec(a);if(n===null)fc(t,e,a,$i,l),Zh(t,a);else if(Iy(n,t,e,l,a))a.stopPropagation();else if(Zh(t,a),e&4&&-1<$y.indexOf(t)){for(;n!==null;){var i=$l(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=jl(i.pendingLanes);if(s!==0){var o=i;for(o.pendingLanes|=2,o.entangledLanes|=2;s;){var m=1<<31-fe(s);o.entanglements[1]|=m,s&=~m}Le(i),(dt&6)===0&&(Ui=ce()+500,_n(0))}}break;case 31:case 13:o=Nl(i,2),o!==null&&ie(o,i,2),Bi(),zc(i,2)}if(i=Ec(a),i===null&&fc(t,e,a,$i,l),i===n)break;n=i}n!==null&&a.stopPropagation()}else fc(t,e,a,null,l)}}function Ec(t){return t=Au(t),Mc(t)}var $i=null;function Mc(t){if($i=null,t=Wl(t),t!==null){var e=y(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=_(e),t!==null)return t;t=null}else if(l===31){if(t=T(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return $i=t,null}function Xh(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Hd()){case Jc:return 2;case Fc:return 8;case qn:case Ld:return 32;case Wc:return 268435456;default:return 32}default:return 32}}var Ac=!1,zl=null,Tl=null,El=null,jn=new Map,Cn=new Map,Ml=[],$y="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Zh(t,e){switch(t){case"focusin":case"focusout":zl=null;break;case"dragenter":case"dragleave":Tl=null;break;case"mouseover":case"mouseout":El=null;break;case"pointerover":case"pointerout":jn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cn.delete(e.pointerId)}}function On(t,e,l,a,n,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},e!==null&&(e=$l(e),e!==null&&qh(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Iy(t,e,l,a,n){switch(e){case"focusin":return zl=On(zl,t,e,l,a,n),!0;case"dragenter":return Tl=On(Tl,t,e,l,a,n),!0;case"mouseover":return El=On(El,t,e,l,a,n),!0;case"pointerover":var i=n.pointerId;return jn.set(i,On(jn.get(i)||null,t,e,l,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Cn.set(i,On(Cn.get(i)||null,t,e,l,a,n)),!0}return!1}function Qh(t){var e=Wl(t.target);if(e!==null){var l=y(e);if(l!==null){if(e=l.tag,e===13){if(e=_(l),e!==null){t.blockedOn=e,lo(t.priority,function(){Gh(l)});return}}else if(e===31){if(e=T(l),e!==null){t.blockedOn=e,lo(t.priority,function(){Gh(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ii(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Ec(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);Mu=a,l.target.dispatchEvent(a),Mu=null}else return e=$l(l),e!==null&&qh(e),t.blockedOn=l,!1;e.shift()}return!0}function Vh(t,e,l){Ii(t)&&l.delete(e)}function Py(){Ac=!1,zl!==null&&Ii(zl)&&(zl=null),Tl!==null&&Ii(Tl)&&(Tl=null),El!==null&&Ii(El)&&(El=null),jn.forEach(Vh),Cn.forEach(Vh)}function Pi(t,e){t.blockedOn===e&&(t.blockedOn=null,Ac||(Ac=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,Py)))}var tu=null;function Kh(t){tu!==t&&(tu=t,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){tu===t&&(tu=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Mc(a||l)===null)continue;break}var i=$l(l);i!==null&&(t.splice(e,3),e-=3,Es(i,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Ra(t){function e(m){return Pi(m,t)}zl!==null&&Pi(zl,t),Tl!==null&&Pi(Tl,t),El!==null&&Pi(El,t),jn.forEach(e),Cn.forEach(e);for(var l=0;l<Ml.length;l++){var a=Ml[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Ml.length&&(l=Ml[0],l.blockedOn===null);)Qh(l),l.blockedOn===null&&Ml.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],i=l[a+1],s=n[Pt]||null;if(typeof i=="function")s||Kh(l);else if(s){var o=null;if(i&&i.hasAttribute("formAction")){if(n=i,s=i[Pt]||null)o=s.formAction;else if(Mc(n)!==null)continue}else o=s.action;typeof o=="function"?l[a+1]=o:(l.splice(a,3),a-=3),Kh(l)}}}function kh(){function t(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function e(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function Dc(t){this._internalRoot=t}eu.prototype.render=Dc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var l=e.current,a=ge();Yh(l,a,t,e,null,null)},eu.prototype.unmount=Dc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Yh(t.current,2,null,t,null,null),Bi(),e[Fl]=null}};function eu(t){this._internalRoot=t}eu.prototype.unstable_scheduleHydration=function(t){if(t){var e=eo();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Ml.length&&e!==0&&e<Ml[l].priority;l++);Ml.splice(l,0,t),l===0&&Qh(t)}};var Jh=u.version;if(Jh!=="19.2.5")throw Error(c(527,Jh,"19.2.5"));w.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=B(e),t=t!==null?R(t):null,t=t===null?null:t.stateNode,t};var t0={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lu.isDisabled&&lu.supportsFiber)try{wa=lu.inject(t0),oe=lu}catch{}}return Nn.createRoot=function(t,e){if(!h(t))throw Error(c(299));var l=!1,a="",n=er,i=lr,s=ar;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(s=e.onRecoverableError)),e=Hh(t,1,!1,null,null,l,a,null,n,i,s,kh),t[Fl]=e.current,oc(t),new Dc(e)},Nn.hydrateRoot=function(t,e,l){if(!h(t))throw Error(c(299));var a=!1,n="",i=er,s=lr,o=ar,m=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(o=l.onRecoverableError),l.formState!==void 0&&(m=l.formState)),e=Hh(t,1,!0,e,l??null,a,n,m,i,s,o,kh),e.context=Lh(null),l=e.current,a=ge(),a=vu(a),n=rl(a),n.callback=null,hl(l,n,a),l=a,e.current.lanes=l,Ga(e,l),Le(e),t[Fl]=e.current,oc(t),new eu(e)},Nn.version="19.2.5",Nn}var sd;function q0(){if(sd)return Oc.exports;sd=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(u){console.error(u)}}return f(),Oc.exports=w0(),Oc.exports}var G0=q0(),L=Md();const X0="";async function ou(f){const u=await fetch(`${X0}${f}`);if(!u.ok)throw new Error(`${u.status} ${u.statusText}: ${f}`);return u.json()}function Z0(){return ou("/api/memories")}function Q0(){return ou("/api/stats")}function V0(){return ou("/api/conflicts")}function K0(){return ou("/api/embeddings")}const cd={type:"change"},Xc={type:"start"},Ad={type:"end"},au=new n0,od=new i0,k0=Math.cos(70*u0.DEG2RAD),Gt=new Wt,ue=2*Math.PI,St={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6},Nc=1e-6;class J0 extends a0{constructor(u,r=null){super(u,r),this.state=St.NONE,this.target=new Wt,this.cursor=new Wt,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minTargetRadius=0,this.maxTargetRadius=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.keyRotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.zoomToCursor=!1,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:Ya.ROTATE,MIDDLE:Ya.DOLLY,RIGHT:Ya.PAN},this.touches={ONE:La.ROTATE,TWO:La.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._cursorStyle="auto",this._domElementKeyEvents=null,this._lastPosition=new Wt,this._lastQuaternion=new Fh,this._lastTargetPosition=new Wt,this._quat=new Fh().setFromUnitVectors(u.up,new Wt(0,1,0)),this._quatInverse=this._quat.clone().invert(),this._spherical=new Wh,this._sphericalDelta=new Wh,this._scale=1,this._panOffset=new Wt,this._rotateStart=new It,this._rotateEnd=new It,this._rotateDelta=new It,this._panStart=new It,this._panEnd=new It,this._panDelta=new It,this._dollyStart=new It,this._dollyEnd=new It,this._dollyDelta=new It,this._dollyDirection=new Wt,this._mouse=new It,this._performCursorZoom=!1,this._pointers=[],this._pointerPositions={},this._controlActive=!1,this._onPointerMove=W0.bind(this),this._onPointerDown=F0.bind(this),this._onPointerUp=$0.bind(this),this._onContextMenu=np.bind(this),this._onMouseWheel=tp.bind(this),this._onKeyDown=ep.bind(this),this._onTouchStart=lp.bind(this),this._onTouchMove=ap.bind(this),this._onMouseDown=I0.bind(this),this._onMouseMove=P0.bind(this),this._interceptControlDown=ip.bind(this),this._interceptControlUp=up.bind(this),this.domElement!==null&&this.connect(this.domElement),this.update()}set cursorStyle(u){this._cursorStyle=u,u==="grab"?this.domElement.style.cursor="grab":this.domElement.style.cursor="auto"}get cursorStyle(){return this._cursorStyle}connect(u){super.connect(u),this.domElement.addEventListener("pointerdown",this._onPointerDown),this.domElement.addEventListener("pointercancel",this._onPointerUp),this.domElement.addEventListener("contextmenu",this._onContextMenu),this.domElement.addEventListener("wheel",this._onMouseWheel,{passive:!1}),this.domElement.getRootNode().addEventListener("keydown",this._interceptControlDown,{passive:!0,capture:!0}),this.domElement.style.touchAction="none"}disconnect(){this.domElement.removeEventListener("pointerdown",this._onPointerDown),this.domElement.ownerDocument.removeEventListener("pointermove",this._onPointerMove),this.domElement.ownerDocument.removeEventListener("pointerup",this._onPointerUp),this.domElement.removeEventListener("pointercancel",this._onPointerUp),this.domElement.removeEventListener("wheel",this._onMouseWheel),this.domElement.removeEventListener("contextmenu",this._onContextMenu),this.stopListenToKeyEvents(),this.domElement.getRootNode().removeEventListener("keydown",this._interceptControlDown,{capture:!0}),this.domElement.style.touchAction=""}dispose(){this.disconnect()}getPolarAngle(){return this._spherical.phi}getAzimuthalAngle(){return this._spherical.theta}getDistance(){return this.object.position.distanceTo(this.target)}listenToKeyEvents(u){u.addEventListener("keydown",this._onKeyDown),this._domElementKeyEvents=u}stopListenToKeyEvents(){this._domElementKeyEvents!==null&&(this._domElementKeyEvents.removeEventListener("keydown",this._onKeyDown),this._domElementKeyEvents=null)}saveState(){this.target0.copy(this.target),this.position0.copy(this.object.position),this.zoom0=this.object.zoom}reset(){this.target.copy(this.target0),this.object.position.copy(this.position0),this.object.zoom=this.zoom0,this.object.updateProjectionMatrix(),this.dispatchEvent(cd),this.update(),this.state=St.NONE}pan(u,r){this._pan(u,r),this.update()}dollyIn(u){this._dollyIn(u),this.update()}dollyOut(u){this._dollyOut(u),this.update()}rotateLeft(u){this._rotateLeft(u),this.update()}rotateUp(u){this._rotateUp(u),this.update()}update(u=null){const r=this.object.position;Gt.copy(r).sub(this.target),Gt.applyQuaternion(this._quat),this._spherical.setFromVector3(Gt),this.autoRotate&&this.state===St.NONE&&this._rotateLeft(this._getAutoRotationAngle(u)),this.enableDamping?(this._spherical.theta+=this._sphericalDelta.theta*this.dampingFactor,this._spherical.phi+=this._sphericalDelta.phi*this.dampingFactor):(this._spherical.theta+=this._sphericalDelta.theta,this._spherical.phi+=this._sphericalDelta.phi);let c=this.minAzimuthAngle,h=this.maxAzimuthAngle;isFinite(c)&&isFinite(h)&&(c<-Math.PI?c+=ue:c>Math.PI&&(c-=ue),h<-Math.PI?h+=ue:h>Math.PI&&(h-=ue),c<=h?this._spherical.theta=Math.max(c,Math.min(h,this._spherical.theta)):this._spherical.theta=this._spherical.theta>(c+h)/2?Math.max(c,this._spherical.theta):Math.min(h,this._spherical.theta)),this._spherical.phi=Math.max(this.minPolarAngle,Math.min(this.maxPolarAngle,this._spherical.phi)),this._spherical.makeSafe(),this.enableDamping===!0?this.target.addScaledVector(this._panOffset,this.dampingFactor):this.target.add(this._panOffset),this.target.sub(this.cursor),this.target.clampLength(this.minTargetRadius,this.maxTargetRadius),this.target.add(this.cursor);let y=!1;if(this.zoomToCursor&&this._performCursorZoom||this.object.isOrthographicCamera)this._spherical.radius=this._clampDistance(this._spherical.radius);else{const _=this._spherical.radius;this._spherical.radius=this._clampDistance(this._spherical.radius*this._scale),y=_!=this._spherical.radius}if(Gt.setFromSpherical(this._spherical),Gt.applyQuaternion(this._quatInverse),r.copy(this.target).add(Gt),this.object.lookAt(this.target),this.enableDamping===!0?(this._sphericalDelta.theta*=1-this.dampingFactor,this._sphericalDelta.phi*=1-this.dampingFactor,this._panOffset.multiplyScalar(1-this.dampingFactor)):(this._sphericalDelta.set(0,0,0),this._panOffset.set(0,0,0)),this.zoomToCursor&&this._performCursorZoom){let _=null;if(this.object.isPerspectiveCamera){const T=Gt.length();_=this._clampDistance(T*this._scale);const O=T-_;this.object.position.addScaledVector(this._dollyDirection,O),this.object.updateMatrixWorld(),y=!!O}else if(this.object.isOrthographicCamera){const T=new Wt(this._mouse.x,this._mouse.y,0);T.unproject(this.object);const O=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),this.object.updateProjectionMatrix(),y=O!==this.object.zoom;const B=new Wt(this._mouse.x,this._mouse.y,0);B.unproject(this.object),this.object.position.sub(B).add(T),this.object.updateMatrixWorld(),_=Gt.length()}else console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."),this.zoomToCursor=!1;_!==null&&(this.screenSpacePanning?this.target.set(0,0,-1).transformDirection(this.object.matrix).multiplyScalar(_).add(this.object.position):(au.origin.copy(this.object.position),au.direction.set(0,0,-1).transformDirection(this.object.matrix),Math.abs(this.object.up.dot(au.direction))<k0?this.object.lookAt(this.target):(od.setFromNormalAndCoplanarPoint(this.object.up,this.target),au.intersectPlane(od,this.target))))}else if(this.object.isOrthographicCamera){const _=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),_!==this.object.zoom&&(this.object.updateProjectionMatrix(),y=!0)}return this._scale=1,this._performCursorZoom=!1,y||this._lastPosition.distanceToSquared(this.object.position)>Nc||8*(1-this._lastQuaternion.dot(this.object.quaternion))>Nc||this._lastTargetPosition.distanceToSquared(this.target)>Nc?(this.dispatchEvent(cd),this._lastPosition.copy(this.object.position),this._lastQuaternion.copy(this.object.quaternion),this._lastTargetPosition.copy(this.target),!0):!1}_getAutoRotationAngle(u){return u!==null?ue/60*this.autoRotateSpeed*u:ue/60/60*this.autoRotateSpeed}_getZoomScale(u){const r=Math.abs(u*.01);return Math.pow(.95,this.zoomSpeed*r)}_rotateLeft(u){this._sphericalDelta.theta-=u}_rotateUp(u){this._sphericalDelta.phi-=u}_panLeft(u,r){Gt.setFromMatrixColumn(r,0),Gt.multiplyScalar(-u),this._panOffset.add(Gt)}_panUp(u,r){this.screenSpacePanning===!0?Gt.setFromMatrixColumn(r,1):(Gt.setFromMatrixColumn(r,0),Gt.crossVectors(this.object.up,Gt)),Gt.multiplyScalar(u),this._panOffset.add(Gt)}_pan(u,r){const c=this.domElement;if(this.object.isPerspectiveCamera){const h=this.object.position;Gt.copy(h).sub(this.target);let y=Gt.length();y*=Math.tan(this.object.fov/2*Math.PI/180),this._panLeft(2*u*y/c.clientHeight,this.object.matrix),this._panUp(2*r*y/c.clientHeight,this.object.matrix)}else this.object.isOrthographicCamera?(this._panLeft(u*(this.object.right-this.object.left)/this.object.zoom/c.clientWidth,this.object.matrix),this._panUp(r*(this.object.top-this.object.bottom)/this.object.zoom/c.clientHeight,this.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),this.enablePan=!1)}_dollyOut(u){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale/=u:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),this.enableZoom=!1)}_dollyIn(u){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale*=u:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),this.enableZoom=!1)}_updateZoomParameters(u,r){if(!this.zoomToCursor)return;this._performCursorZoom=!0;const c=this.domElement.getBoundingClientRect(),h=u-c.left,y=r-c.top,_=c.width,T=c.height;this._mouse.x=h/_*2-1,this._mouse.y=-(y/T)*2+1,this._dollyDirection.set(this._mouse.x,this._mouse.y,1).unproject(this.object).sub(this.object.position).normalize()}_clampDistance(u){return Math.max(this.minDistance,Math.min(this.maxDistance,u))}_handleMouseDownRotate(u){this._rotateStart.set(u.clientX,u.clientY)}_handleMouseDownDolly(u){this._updateZoomParameters(u.clientX,u.clientX),this._dollyStart.set(u.clientX,u.clientY)}_handleMouseDownPan(u){this._panStart.set(u.clientX,u.clientY)}_handleMouseMoveRotate(u){this._rotateEnd.set(u.clientX,u.clientY),this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);const r=this.domElement;this._rotateLeft(ue*this._rotateDelta.x/r.clientHeight),this._rotateUp(ue*this._rotateDelta.y/r.clientHeight),this._rotateStart.copy(this._rotateEnd),this.update()}_handleMouseMoveDolly(u){this._dollyEnd.set(u.clientX,u.clientY),this._dollyDelta.subVectors(this._dollyEnd,this._dollyStart),this._dollyDelta.y>0?this._dollyOut(this._getZoomScale(this._dollyDelta.y)):this._dollyDelta.y<0&&this._dollyIn(this._getZoomScale(this._dollyDelta.y)),this._dollyStart.copy(this._dollyEnd),this.update()}_handleMouseMovePan(u){this._panEnd.set(u.clientX,u.clientY),this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd),this.update()}_handleMouseWheel(u){this._updateZoomParameters(u.clientX,u.clientY),u.deltaY<0?this._dollyIn(this._getZoomScale(u.deltaY)):u.deltaY>0&&this._dollyOut(this._getZoomScale(u.deltaY)),this.update()}_handleKeyDown(u){let r=!1;switch(u.code){case this.keys.UP:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateUp(ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,this.keyPanSpeed),r=!0;break;case this.keys.BOTTOM:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateUp(-ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,-this.keyPanSpeed),r=!0;break;case this.keys.LEFT:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateLeft(ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(this.keyPanSpeed,0),r=!0;break;case this.keys.RIGHT:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateLeft(-ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(-this.keyPanSpeed,0),r=!0;break}r&&(u.preventDefault(),this.update())}_handleTouchStartRotate(u){if(this._pointers.length===1)this._rotateStart.set(u.pageX,u.pageY);else{const r=this._getSecondPointerPosition(u),c=.5*(u.pageX+r.x),h=.5*(u.pageY+r.y);this._rotateStart.set(c,h)}}_handleTouchStartPan(u){if(this._pointers.length===1)this._panStart.set(u.pageX,u.pageY);else{const r=this._getSecondPointerPosition(u),c=.5*(u.pageX+r.x),h=.5*(u.pageY+r.y);this._panStart.set(c,h)}}_handleTouchStartDolly(u){const r=this._getSecondPointerPosition(u),c=u.pageX-r.x,h=u.pageY-r.y,y=Math.sqrt(c*c+h*h);this._dollyStart.set(0,y)}_handleTouchStartDollyPan(u){this.enableZoom&&this._handleTouchStartDolly(u),this.enablePan&&this._handleTouchStartPan(u)}_handleTouchStartDollyRotate(u){this.enableZoom&&this._handleTouchStartDolly(u),this.enableRotate&&this._handleTouchStartRotate(u)}_handleTouchMoveRotate(u){if(this._pointers.length==1)this._rotateEnd.set(u.pageX,u.pageY);else{const c=this._getSecondPointerPosition(u),h=.5*(u.pageX+c.x),y=.5*(u.pageY+c.y);this._rotateEnd.set(h,y)}this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);const r=this.domElement;this._rotateLeft(ue*this._rotateDelta.x/r.clientHeight),this._rotateUp(ue*this._rotateDelta.y/r.clientHeight),this._rotateStart.copy(this._rotateEnd)}_handleTouchMovePan(u){if(this._pointers.length===1)this._panEnd.set(u.pageX,u.pageY);else{const r=this._getSecondPointerPosition(u),c=.5*(u.pageX+r.x),h=.5*(u.pageY+r.y);this._panEnd.set(c,h)}this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd)}_handleTouchMoveDolly(u){const r=this._getSecondPointerPosition(u),c=u.pageX-r.x,h=u.pageY-r.y,y=Math.sqrt(c*c+h*h);this._dollyEnd.set(0,y),this._dollyDelta.set(0,Math.pow(this._dollyEnd.y/this._dollyStart.y,this.zoomSpeed)),this._dollyOut(this._dollyDelta.y),this._dollyStart.copy(this._dollyEnd);const _=(u.pageX+r.x)*.5,T=(u.pageY+r.y)*.5;this._updateZoomParameters(_,T)}_handleTouchMoveDollyPan(u){this.enableZoom&&this._handleTouchMoveDolly(u),this.enablePan&&this._handleTouchMovePan(u)}_handleTouchMoveDollyRotate(u){this.enableZoom&&this._handleTouchMoveDolly(u),this.enableRotate&&this._handleTouchMoveRotate(u)}_addPointer(u){this._pointers.push(u.pointerId)}_removePointer(u){delete this._pointerPositions[u.pointerId];for(let r=0;r<this._pointers.length;r++)if(this._pointers[r]==u.pointerId){this._pointers.splice(r,1);return}}_isTrackingPointer(u){for(let r=0;r<this._pointers.length;r++)if(this._pointers[r]==u.pointerId)return!0;return!1}_trackPointer(u){let r=this._pointerPositions[u.pointerId];r===void 0&&(r=new It,this._pointerPositions[u.pointerId]=r),r.set(u.pageX,u.pageY)}_getSecondPointerPosition(u){const r=u.pointerId===this._pointers[0]?this._pointers[1]:this._pointers[0];return this._pointerPositions[r]}_customWheelEvent(u){const r=u.deltaMode,c={clientX:u.clientX,clientY:u.clientY,deltaY:u.deltaY};switch(r){case 1:c.deltaY*=16;break;case 2:c.deltaY*=100;break}return u.ctrlKey&&!this._controlActive&&(c.deltaY*=10),c}}function F0(f){this.enabled!==!1&&(this._pointers.length===0&&(this.domElement.setPointerCapture(f.pointerId),this.domElement.ownerDocument.addEventListener("pointermove",this._onPointerMove),this.domElement.ownerDocument.addEventListener("pointerup",this._onPointerUp)),!this._isTrackingPointer(f)&&(this._addPointer(f),f.pointerType==="touch"?this._onTouchStart(f):this._onMouseDown(f),this._cursorStyle==="grab"&&(this.domElement.style.cursor="grabbing")))}function W0(f){this.enabled!==!1&&(f.pointerType==="touch"?this._onTouchMove(f):this._onMouseMove(f))}function $0(f){switch(this._removePointer(f),this._pointers.length){case 0:this.domElement.releasePointerCapture(f.pointerId),this.domElement.ownerDocument.removeEventListener("pointermove",this._onPointerMove),this.domElement.ownerDocument.removeEventListener("pointerup",this._onPointerUp),this.dispatchEvent(Ad),this.state=St.NONE,this._cursorStyle==="grab"&&(this.domElement.style.cursor="grab");break;case 1:const u=this._pointers[0],r=this._pointerPositions[u];this._onTouchStart({pointerId:u,pageX:r.x,pageY:r.y});break}}function I0(f){let u;switch(f.button){case 0:u=this.mouseButtons.LEFT;break;case 1:u=this.mouseButtons.MIDDLE;break;case 2:u=this.mouseButtons.RIGHT;break;default:u=-1}switch(u){case Ya.DOLLY:if(this.enableZoom===!1)return;this._handleMouseDownDolly(f),this.state=St.DOLLY;break;case Ya.ROTATE:if(f.ctrlKey||f.metaKey||f.shiftKey){if(this.enablePan===!1)return;this._handleMouseDownPan(f),this.state=St.PAN}else{if(this.enableRotate===!1)return;this._handleMouseDownRotate(f),this.state=St.ROTATE}break;case Ya.PAN:if(f.ctrlKey||f.metaKey||f.shiftKey){if(this.enableRotate===!1)return;this._handleMouseDownRotate(f),this.state=St.ROTATE}else{if(this.enablePan===!1)return;this._handleMouseDownPan(f),this.state=St.PAN}break;default:this.state=St.NONE}this.state!==St.NONE&&this.dispatchEvent(Xc)}function P0(f){switch(this.state){case St.ROTATE:if(this.enableRotate===!1)return;this._handleMouseMoveRotate(f);break;case St.DOLLY:if(this.enableZoom===!1)return;this._handleMouseMoveDolly(f);break;case St.PAN:if(this.enablePan===!1)return;this._handleMouseMovePan(f);break}}function tp(f){this.enabled===!1||this.enableZoom===!1||this.state!==St.NONE||(f.preventDefault(),this.dispatchEvent(Xc),this._handleMouseWheel(this._customWheelEvent(f)),this.dispatchEvent(Ad))}function ep(f){this.enabled!==!1&&this._handleKeyDown(f)}function lp(f){switch(this._trackPointer(f),this._pointers.length){case 1:switch(this.touches.ONE){case La.ROTATE:if(this.enableRotate===!1)return;this._handleTouchStartRotate(f),this.state=St.TOUCH_ROTATE;break;case La.PAN:if(this.enablePan===!1)return;this._handleTouchStartPan(f),this.state=St.TOUCH_PAN;break;default:this.state=St.NONE}break;case 2:switch(this.touches.TWO){case La.DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchStartDollyPan(f),this.state=St.TOUCH_DOLLY_PAN;break;case La.DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchStartDollyRotate(f),this.state=St.TOUCH_DOLLY_ROTATE;break;default:this.state=St.NONE}break;default:this.state=St.NONE}this.state!==St.NONE&&this.dispatchEvent(Xc)}function ap(f){switch(this._trackPointer(f),this.state){case St.TOUCH_ROTATE:if(this.enableRotate===!1)return;this._handleTouchMoveRotate(f),this.update();break;case St.TOUCH_PAN:if(this.enablePan===!1)return;this._handleTouchMovePan(f),this.update();break;case St.TOUCH_DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchMoveDollyPan(f),this.update();break;case St.TOUCH_DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchMoveDollyRotate(f),this.update();break;default:this.state=St.NONE}}function np(f){this.enabled!==!1&&f.preventDefault()}function ip(f){f.key==="Control"&&(this._controlActive=!0,this.domElement.getRootNode().addEventListener("keyup",this._interceptControlUp,{passive:!0,capture:!0}))}function up(f){f.key==="Control"&&(this._controlActive=!1,this.domElement.getRootNode().removeEventListener("keyup",this._interceptControlUp,{passive:!0,capture:!0}))}const sp={name:"CopyShader",uniforms:{tDiffuse:{value:null},opacity:{value:1}},vertexShader:`
33
+ `).replace(Ty,"")}function ph(t,e){return e=yh(e),yh(t)===e}function vt(t,e,l,a,n,i){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||ea(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&ea(t,""+a);break;case"className":Kn(t,"class",a);break;case"tabIndex":Kn(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Kn(t,l,a);break;case"style":yo(t,a,i);break;case"data":if(e!=="object"){Kn(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Jn(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(l==="formAction"?(e!=="input"&&vt(t,e,"name",n.name,n,null),vt(t,e,"formEncType",n.formEncType,n,null),vt(t,e,"formMethod",n.formMethod,n,null),vt(t,e,"formTarget",n.formTarget,n,null)):(vt(t,e,"encType",n.encType,n,null),vt(t,e,"method",n.method,n,null),vt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=Jn(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=we);break;case"onScroll":a!=null&&ut("scroll",t);break;case"onScrollEnd":a!=null&&ut("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=Jn(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":ut("beforetoggle",t),ut("toggle",t),Vn(t,"popover",a);break;case"xlinkActuate":Ye(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ye(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ye(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ye(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ye(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ye(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Vn(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Id.get(l)||l,Vn(t,l,a))}}function rc(t,e,l,a,n,i){switch(l){case"style":yo(t,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(c(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(c(60));t.innerHTML=l}}break;case"children":typeof a=="string"?ea(t,a):(typeof a=="number"||typeof a=="bigint")&&ea(t,""+a);break;case"onScroll":a!=null&&ut("scroll",t);break;case"onScrollEnd":a!=null&&ut("scrollend",t);break;case"onClick":a!=null&&(t.onclick=we);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!io.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),i=t[Pt]||null,i=i!=null?i[l]:null,typeof i=="function"&&t.removeEventListener(e,i,n),typeof a=="function")){typeof i!="function"&&i!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):Vn(t,l,a)}}}function Ft(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ut("error",t),ut("load",t);var a=!1,n=!1,i;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];if(s!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:vt(t,e,i,s,l,null)}}n&&vt(t,e,"srcSet",l.srcSet,l,null),a&&vt(t,e,"src",l.src,l,null);return;case"input":ut("invalid",t);var o=i=s=n=null,m=null,b=null;for(a in l)if(l.hasOwnProperty(a)){var M=l[a];if(M!=null)switch(a){case"name":n=M;break;case"type":s=M;break;case"checked":m=M;break;case"defaultChecked":b=M;break;case"value":i=M;break;case"defaultValue":o=M;break;case"children":case"dangerouslySetInnerHTML":if(M!=null)throw Error(c(137,e));break;default:vt(t,e,a,M,l,null)}}fo(t,i,o,m,b,s,n,!1);return;case"select":ut("invalid",t),a=s=i=null;for(n in l)if(l.hasOwnProperty(n)&&(o=l[n],o!=null))switch(n){case"value":i=o;break;case"defaultValue":s=o;break;case"multiple":a=o;default:vt(t,e,n,o,l,null)}e=i,l=s,t.multiple=!!a,e!=null?ta(t,!!a,e,!1):l!=null&&ta(t,!!a,l,!0);return;case"textarea":ut("invalid",t),i=n=a=null;for(s in l)if(l.hasOwnProperty(s)&&(o=l[s],o!=null))switch(s){case"value":a=o;break;case"defaultValue":n=o;break;case"children":i=o;break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(c(91));break;default:vt(t,e,s,o,l,null)}ho(t,a,n,i);return;case"option":for(m in l)if(l.hasOwnProperty(m)&&(a=l[m],a!=null))switch(m){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:vt(t,e,m,a,l,null)}return;case"dialog":ut("beforetoggle",t),ut("toggle",t),ut("cancel",t),ut("close",t);break;case"iframe":case"object":ut("load",t);break;case"video":case"audio":for(a=0;a<zn.length;a++)ut(zn[a],t);break;case"image":ut("error",t),ut("load",t);break;case"details":ut("toggle",t);break;case"embed":case"source":case"link":ut("error",t),ut("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(b in l)if(l.hasOwnProperty(b)&&(a=l[b],a!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(c(137,e));default:vt(t,e,b,a,l,null)}return;default:if(Eu(e)){for(M in l)l.hasOwnProperty(M)&&(a=l[M],a!==void 0&&rc(t,e,M,a,l,void 0));return}}for(o in l)l.hasOwnProperty(o)&&(a=l[o],a!=null&&vt(t,e,o,a,l,null))}function Ey(t,e,l,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,s=null,o=null,m=null,b=null,M=null;for(z in l){var j=l[z];if(l.hasOwnProperty(z)&&j!=null)switch(z){case"checked":break;case"value":break;case"defaultValue":m=j;default:a.hasOwnProperty(z)||vt(t,e,z,null,a,j)}}for(var x in a){var z=a[x];if(j=l[x],a.hasOwnProperty(x)&&(z!=null||j!=null))switch(x){case"type":i=z;break;case"name":n=z;break;case"checked":b=z;break;case"defaultChecked":M=z;break;case"value":s=z;break;case"defaultValue":o=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(c(137,e));break;default:z!==j&&vt(t,e,x,z,a,j)}}zu(t,s,o,m,b,M,i,n);return;case"select":z=s=o=x=null;for(i in l)if(m=l[i],l.hasOwnProperty(i)&&m!=null)switch(i){case"value":break;case"multiple":z=m;default:a.hasOwnProperty(i)||vt(t,e,i,null,a,m)}for(n in a)if(i=a[n],m=l[n],a.hasOwnProperty(n)&&(i!=null||m!=null))switch(n){case"value":x=i;break;case"defaultValue":o=i;break;case"multiple":s=i;default:i!==m&&vt(t,e,n,i,a,m)}e=o,l=s,a=z,x!=null?ta(t,!!l,x,!1):!!a!=!!l&&(e!=null?ta(t,!!l,e,!0):ta(t,!!l,l?[]:"",!1));return;case"textarea":z=x=null;for(o in l)if(n=l[o],l.hasOwnProperty(o)&&n!=null&&!a.hasOwnProperty(o))switch(o){case"value":break;case"children":break;default:vt(t,e,o,null,a,n)}for(s in a)if(n=a[s],i=l[s],a.hasOwnProperty(s)&&(n!=null||i!=null))switch(s){case"value":x=n;break;case"defaultValue":z=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(c(91));break;default:n!==i&&vt(t,e,s,n,a,i)}ro(t,x,z);return;case"option":for(var Q in l)if(x=l[Q],l.hasOwnProperty(Q)&&x!=null&&!a.hasOwnProperty(Q))switch(Q){case"selected":t.selected=!1;break;default:vt(t,e,Q,null,a,x)}for(m in a)if(x=a[m],z=l[m],a.hasOwnProperty(m)&&x!==z&&(x!=null||z!=null))switch(m){case"selected":t.selected=x&&typeof x!="function"&&typeof x!="symbol";break;default:vt(t,e,m,x,a,z)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var W in l)x=l[W],l.hasOwnProperty(W)&&x!=null&&!a.hasOwnProperty(W)&&vt(t,e,W,null,a,x);for(b in a)if(x=a[b],z=l[b],a.hasOwnProperty(b)&&x!==z&&(x!=null||z!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(c(137,e));break;default:vt(t,e,b,x,a,z)}return;default:if(Eu(e)){for(var bt in l)x=l[bt],l.hasOwnProperty(bt)&&x!==void 0&&!a.hasOwnProperty(bt)&&rc(t,e,bt,void 0,a,x);for(M in a)x=a[M],z=l[M],!a.hasOwnProperty(M)||x===z||x===void 0&&z===void 0||rc(t,e,M,x,a,z);return}}for(var g in l)x=l[g],l.hasOwnProperty(g)&&x!=null&&!a.hasOwnProperty(g)&&vt(t,e,g,null,a,x);for(j in a)x=a[j],z=l[j],!a.hasOwnProperty(j)||x===z||x==null&&z==null||vt(t,e,j,x,a,z)}function gh(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function My(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],i=n.transferSize,s=n.initiatorType,o=n.duration;if(i&&o&&gh(s)){for(s=0,o=n.responseEnd,a+=1;a<l.length;a++){var m=l[a],b=m.startTime;if(b>o)break;var M=m.transferSize,j=m.initiatorType;M&&gh(j)&&(m=m.responseEnd,s+=M*(m<o?1:(o-b)/(m-b)))}if(--a,e+=8*(i+s)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var hc=null,dc=null;function Zi(t){return t.nodeType===9?t:t.ownerDocument}function vh(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function bh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function mc(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var yc=null;function Ay(){var t=window.event;return t&&t.type==="popstate"?t===yc?!1:(yc=t,!0):(yc=null,!1)}var Sh=typeof setTimeout=="function"?setTimeout:void 0,Dy=typeof clearTimeout=="function"?clearTimeout:void 0,xh=typeof Promise=="function"?Promise:void 0,jy=typeof queueMicrotask=="function"?queueMicrotask:typeof xh<"u"?function(t){return xh.resolve(null).then(t).catch(Cy)}:Sh;function Cy(t){setTimeout(function(){throw t})}function _l(t){return t==="head"}function _h(t,e){var l=e,a=0;do{var n=l.nextSibling;if(t.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){t.removeChild(n),Ra(e);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")En(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,En(l);for(var i=l.firstChild;i;){var s=i.nextSibling,o=i.nodeName;i[Xa]||o==="SCRIPT"||o==="STYLE"||o==="LINK"&&i.rel.toLowerCase()==="stylesheet"||l.removeChild(i),i=s}}else l==="body"&&En(t.ownerDocument.body);l=n}while(l);Ra(e)}function zh(t,e){var l=t;t=0;do{var a=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=a}while(l)}function pc(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":pc(l),xu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function Oy(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Xa])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(i=t.getAttribute("rel"),i==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(i!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(i=t.getAttribute("src"),(i!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===i)return t}else return t;if(t=Ae(t.nextSibling),t===null)break}return null}function Ry(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ae(t.nextSibling),t===null))return null;return t}function Th(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ae(t.nextSibling),t===null))return null;return t}function gc(t){return t.data==="$?"||t.data==="$~"}function vc(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Uy(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ae(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var bc=null;function Eh(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Ae(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Mh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function Ah(t,e,l){switch(e=Zi(l),t){case"html":if(t=e.documentElement,!t)throw Error(c(452));return t;case"head":if(t=e.head,!t)throw Error(c(453));return t;case"body":if(t=e.body,!t)throw Error(c(454));return t;default:throw Error(c(451))}}function En(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);xu(t)}var De=new Map,Dh=new Set;function Qi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var el=w.d;w.d={f:Ny,r:By,D:Hy,C:Ly,L:Yy,m:wy,X:Gy,S:qy,M:Xy};function Ny(){var t=el.f(),e=Bi();return t||e}function By(t){var e=$l(t);e!==null&&e.tag===5&&e.type==="form"?Vf(e):el.r(t)}var ja=typeof document>"u"?null:document;function jh(t,e,l){var a=ja;if(a&&typeof e=="string"&&e){var n=Se(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Dh.has(n)||(Dh.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Ft(e,"link",t),Xt(e),a.head.appendChild(e)))}}function Hy(t){el.D(t),jh("dns-prefetch",t,null)}function Ly(t,e){el.C(t,e),jh("preconnect",t,e)}function Yy(t,e,l){el.L(t,e,l);var a=ja;if(a&&t&&e){var n='link[rel="preload"][as="'+Se(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Se(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Se(l.imageSizes)+'"]')):n+='[href="'+Se(t)+'"]';var i=n;switch(e){case"style":i=Ca(t);break;case"script":i=Oa(t)}De.has(i)||(t=E({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),De.set(i,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(Mn(i))||e==="script"&&a.querySelector(An(i))||(e=a.createElement("link"),Ft(e,"link",t),Xt(e),a.head.appendChild(e)))}}function wy(t,e){el.m(t,e);var l=ja;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Se(a)+'"][href="'+Se(t)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Oa(t)}if(!De.has(i)&&(t=E({rel:"modulepreload",href:t},e),De.set(i,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(An(i)))return}a=l.createElement("link"),Ft(a,"link",t),Xt(a),l.head.appendChild(a)}}}function qy(t,e,l){el.S(t,e,l);var a=ja;if(a&&t){var n=Il(a).hoistableStyles,i=Ca(t);e=e||"default";var s=n.get(i);if(!s){var o={loading:0,preload:null};if(s=a.querySelector(Mn(i)))o.loading=5;else{t=E({rel:"stylesheet",href:t,"data-precedence":e},l),(l=De.get(i))&&Sc(t,l);var m=s=a.createElement("link");Xt(m),Ft(m,"link",t),m._p=new Promise(function(b,M){m.onload=b,m.onerror=M}),m.addEventListener("load",function(){o.loading|=1}),m.addEventListener("error",function(){o.loading|=2}),o.loading|=4,Vi(s,e,a)}s={type:"stylesheet",instance:s,count:1,state:o},n.set(i,s)}}}function Gy(t,e){el.X(t,e);var l=ja;if(l&&t){var a=Il(l).hoistableScripts,n=Oa(t),i=a.get(n);i||(i=l.querySelector(An(n)),i||(t=E({src:t,async:!0},e),(e=De.get(n))&&xc(t,e),i=l.createElement("script"),Xt(i),Ft(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Xy(t,e){el.M(t,e);var l=ja;if(l&&t){var a=Il(l).hoistableScripts,n=Oa(t),i=a.get(n);i||(i=l.querySelector(An(n)),i||(t=E({src:t,async:!0,type:"module"},e),(e=De.get(n))&&xc(t,e),i=l.createElement("script"),Xt(i),Ft(i,"link",t),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function Ch(t,e,l,a){var n=(n=je.current)?Qi(n):null;if(!n)throw Error(c(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Ca(l.href),l=Il(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Ca(l.href);var i=Il(n).hoistableStyles,s=i.get(t);if(s||(n=n.ownerDocument||n,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(t,s),(i=n.querySelector(Mn(t)))&&!i._p&&(s.instance=i,s.state.loading=5),De.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},De.set(t,l),i||Zy(n,t,l,s.state))),e&&a===null)throw Error(c(528,""));return s}if(e&&a!==null)throw Error(c(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Oa(l),l=Il(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(c(444,t))}}function Ca(t){return'href="'+Se(t)+'"'}function Mn(t){return'link[rel="stylesheet"]['+t+"]"}function Oh(t){return E({},t,{"data-precedence":t.precedence,precedence:null})}function Zy(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Ft(e,"link",l),Xt(e),t.head.appendChild(e))}function Oa(t){return'[src="'+Se(t)+'"]'}function An(t){return"script[async]"+t}function Rh(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Se(l.href)+'"]');if(a)return e.instance=a,Xt(a),a;var n=E({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Xt(a),Ft(a,"style",n),Vi(a,l.precedence,t),e.instance=a;case"stylesheet":n=Ca(l.href);var i=t.querySelector(Mn(n));if(i)return e.state.loading|=4,e.instance=i,Xt(i),i;a=Oh(l),(n=De.get(n))&&Sc(a,n),i=(t.ownerDocument||t).createElement("link"),Xt(i);var s=i;return s._p=new Promise(function(o,m){s.onload=o,s.onerror=m}),Ft(i,"link",a),e.state.loading|=4,Vi(i,l.precedence,t),e.instance=i;case"script":return i=Oa(l.src),(n=t.querySelector(An(i)))?(e.instance=n,Xt(n),n):(a=l,(n=De.get(i))&&(a=E({},l),xc(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),Xt(n),Ft(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(c(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Vi(a,l.precedence,t));return e.instance}function Vi(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,s=0;s<a.length;s++){var o=a[s];if(o.dataset.precedence===e)i=o;else if(i!==n)break}i?i.parentNode.insertBefore(t,i.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Sc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function xc(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Ki=null;function Uh(t,e,l){if(Ki===null){var a=new Map,n=Ki=new Map;n.set(l,a)}else n=Ki,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var i=l[n];if(!(i[Xa]||i[Vt]||t==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var s=i.getAttribute(e)||"";s=t+s;var o=a.get(s);o?o.push(i):a.set(s,[i])}}return a}function Nh(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Qy(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Bh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Vy(t,e,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Ca(a.href),i=e.querySelector(Mn(n));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=ki.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=i,Xt(i);return}i=e.ownerDocument||e,a=Oh(a),(n=De.get(n))&&Sc(a,n),i=i.createElement("link"),Xt(i);var s=i;s._p=new Promise(function(o,m){s.onload=o,s.onerror=m}),Ft(i,"link",a),l.instance=i}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=ki.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var _c=0;function Ky(t,e){return t.stylesheets&&t.count===0&&Fi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var a=setTimeout(function(){if(t.stylesheets&&Fi(t,t.stylesheets),t.unsuspend){var i=t.unsuspend;t.unsuspend=null,i()}},6e4+e);0<t.imgBytes&&_c===0&&(_c=62500*My());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Fi(t,t.stylesheets),t.unsuspend)){var i=t.unsuspend;t.unsuspend=null,i()}},(t.imgBytes>_c?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function ki(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ji=null;function Fi(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ji=new Map,e.forEach(ky,t),Ji=null,ki.call(t))}function ky(t,e){if(!(e.state.loading&4)){var l=Ji.get(t);if(l)var a=l.get(null);else{l=new Map,Ji.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var s=n[i];(s.nodeName==="LINK"||s.getAttribute("media")!=="not all")&&(l.set(s.dataset.precedence,s),a=s)}a&&l.set(null,a)}n=e.instance,s=n.getAttribute("data-precedence"),i=l.get(s)||a,i===a&&l.set(null,n),l.set(s,n),this.count++,a=ki.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var Dn={$$typeof:X,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function Jy(t,e,l,a,n,i,s,o,m){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gu(0),this.hiddenUpdates=gu(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=s,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=m,this.incompleteTransitions=new Map}function Hh(t,e,l,a,n,i,s,o,m,b,M,j){return t=new Jy(t,e,l,s,m,b,M,j,o),e=1,i===!0&&(e|=24),i=he(3,null,null,e),t.current=i,i.stateNode=t,e=es(),e.refCount++,t.pooledCache=e,e.refCount++,i.memoizedState={element:a,isDehydrated:l,cache:e},is(i),t}function Lh(t){return t?(t=ca,t):ca}function Yh(t,e,l,a,n,i){n=Lh(n),a.context===null?a.context=n:a.pendingContext=n,a=rl(e),a.payload={element:l},i=i===void 0?null:i,i!==null&&(a.callback=i),l=hl(t,a,e),l!==null&&(ie(l,t,e),un(l,t,e))}function wh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function zc(t,e){wh(t,e),(t=t.alternate)&&wh(t,e)}function qh(t){if(t.tag===13||t.tag===31){var e=Nl(t,67108864);e!==null&&ie(e,t,67108864),zc(t,67108864)}}function Gh(t){if(t.tag===13||t.tag===31){var e=ge();e=vu(e);var l=Nl(t,e);l!==null&&ie(l,t,e),zc(t,e)}}var Wi=!0;function Fy(t,e,l,a){var n=A.T;A.T=null;var i=w.p;try{w.p=2,Tc(t,e,l,a)}finally{w.p=i,A.T=n}}function Wy(t,e,l,a){var n=A.T;A.T=null;var i=w.p;try{w.p=8,Tc(t,e,l,a)}finally{w.p=i,A.T=n}}function Tc(t,e,l,a){if(Wi){var n=Ec(a);if(n===null)fc(t,e,a,$i,l),Zh(t,a);else if(Iy(n,t,e,l,a))a.stopPropagation();else if(Zh(t,a),e&4&&-1<$y.indexOf(t)){for(;n!==null;){var i=$l(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var s=jl(i.pendingLanes);if(s!==0){var o=i;for(o.pendingLanes|=2,o.entangledLanes|=2;s;){var m=1<<31-fe(s);o.entanglements[1]|=m,s&=~m}Le(i),(dt&6)===0&&(Ui=ce()+500,_n(0))}}break;case 31:case 13:o=Nl(i,2),o!==null&&ie(o,i,2),Bi(),zc(i,2)}if(i=Ec(a),i===null&&fc(t,e,a,$i,l),i===n)break;n=i}n!==null&&a.stopPropagation()}else fc(t,e,a,null,l)}}function Ec(t){return t=Au(t),Mc(t)}var $i=null;function Mc(t){if($i=null,t=Wl(t),t!==null){var e=y(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=_(e),t!==null)return t;t=null}else if(l===31){if(t=T(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return $i=t,null}function Xh(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Hd()){case Jc:return 2;case Fc:return 8;case qn:case Ld:return 32;case Wc:return 268435456;default:return 32}default:return 32}}var Ac=!1,zl=null,Tl=null,El=null,jn=new Map,Cn=new Map,Ml=[],$y="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Zh(t,e){switch(t){case"focusin":case"focusout":zl=null;break;case"dragenter":case"dragleave":Tl=null;break;case"mouseover":case"mouseout":El=null;break;case"pointerover":case"pointerout":jn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Cn.delete(e.pointerId)}}function On(t,e,l,a,n,i){return t===null||t.nativeEvent!==i?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},e!==null&&(e=$l(e),e!==null&&qh(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Iy(t,e,l,a,n){switch(e){case"focusin":return zl=On(zl,t,e,l,a,n),!0;case"dragenter":return Tl=On(Tl,t,e,l,a,n),!0;case"mouseover":return El=On(El,t,e,l,a,n),!0;case"pointerover":var i=n.pointerId;return jn.set(i,On(jn.get(i)||null,t,e,l,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Cn.set(i,On(Cn.get(i)||null,t,e,l,a,n)),!0}return!1}function Qh(t){var e=Wl(t.target);if(e!==null){var l=y(e);if(l!==null){if(e=l.tag,e===13){if(e=_(l),e!==null){t.blockedOn=e,lo(t.priority,function(){Gh(l)});return}}else if(e===31){if(e=T(l),e!==null){t.blockedOn=e,lo(t.priority,function(){Gh(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ii(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Ec(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);Mu=a,l.target.dispatchEvent(a),Mu=null}else return e=$l(l),e!==null&&qh(e),t.blockedOn=l,!1;e.shift()}return!0}function Vh(t,e,l){Ii(t)&&l.delete(e)}function Py(){Ac=!1,zl!==null&&Ii(zl)&&(zl=null),Tl!==null&&Ii(Tl)&&(Tl=null),El!==null&&Ii(El)&&(El=null),jn.forEach(Vh),Cn.forEach(Vh)}function Pi(t,e){t.blockedOn===e&&(t.blockedOn=null,Ac||(Ac=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,Py)))}var tu=null;function Kh(t){tu!==t&&(tu=t,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){tu===t&&(tu=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Mc(a||l)===null)continue;break}var i=$l(l);i!==null&&(t.splice(e,3),e-=3,Es(i,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Ra(t){function e(m){return Pi(m,t)}zl!==null&&Pi(zl,t),Tl!==null&&Pi(Tl,t),El!==null&&Pi(El,t),jn.forEach(e),Cn.forEach(e);for(var l=0;l<Ml.length;l++){var a=Ml[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Ml.length&&(l=Ml[0],l.blockedOn===null);)Qh(l),l.blockedOn===null&&Ml.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],i=l[a+1],s=n[Pt]||null;if(typeof i=="function")s||Kh(l);else if(s){var o=null;if(i&&i.hasAttribute("formAction")){if(n=i,s=i[Pt]||null)o=s.formAction;else if(Mc(n)!==null)continue}else o=s.action;typeof o=="function"?l[a+1]=o:(l.splice(a,3),a-=3),Kh(l)}}}function kh(){function t(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(s){return n=s})},focusReset:"manual",scroll:"manual"})}function e(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function Dc(t){this._internalRoot=t}eu.prototype.render=Dc.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(c(409));var l=e.current,a=ge();Yh(l,a,t,e,null,null)},eu.prototype.unmount=Dc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Yh(t.current,2,null,t,null,null),Bi(),e[Fl]=null}};function eu(t){this._internalRoot=t}eu.prototype.unstable_scheduleHydration=function(t){if(t){var e=eo();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Ml.length&&e!==0&&e<Ml[l].priority;l++);Ml.splice(l,0,t),l===0&&Qh(t)}};var Jh=u.version;if(Jh!=="19.2.7")throw Error(c(527,Jh,"19.2.7"));w.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(c(188)):(t=Object.keys(t).join(","),Error(c(268,t)));return t=B(e),t=t!==null?R(t):null,t=t===null?null:t.stateNode,t};var t0={bundleType:0,version:"19.2.7",rendererPackageName:"react-dom",currentDispatcherRef:A,reconcilerVersion:"19.2.7"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var lu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lu.isDisabled&&lu.supportsFiber)try{wa=lu.inject(t0),oe=lu}catch{}}return Nn.createRoot=function(t,e){if(!h(t))throw Error(c(299));var l=!1,a="",n=er,i=lr,s=ar;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(s=e.onRecoverableError)),e=Hh(t,1,!1,null,null,l,a,null,n,i,s,kh),t[Fl]=e.current,oc(t),new Dc(e)},Nn.hydrateRoot=function(t,e,l){if(!h(t))throw Error(c(299));var a=!1,n="",i=er,s=lr,o=ar,m=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(s=l.onCaughtError),l.onRecoverableError!==void 0&&(o=l.onRecoverableError),l.formState!==void 0&&(m=l.formState)),e=Hh(t,1,!0,e,l??null,a,n,m,i,s,o,kh),e.context=Lh(null),l=e.current,a=ge(),a=vu(a),n=rl(a),n.callback=null,hl(l,n,a),l=a,e.current.lanes=l,Ga(e,l),Le(e),t[Fl]=e.current,oc(t),new eu(e)},Nn.version="19.2.7",Nn}var sd;function q0(){if(sd)return Oc.exports;sd=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(u){console.error(u)}}return f(),Oc.exports=w0(),Oc.exports}var G0=q0(),L=Md();const X0="";async function ou(f){const u=await fetch(`${X0}${f}`);if(!u.ok)throw new Error(`${u.status} ${u.statusText}: ${f}`);return u.json()}function Z0(){return ou("/api/memories")}function Q0(){return ou("/api/stats")}function V0(){return ou("/api/conflicts")}function K0(){return ou("/api/embeddings")}const cd={type:"change"},Xc={type:"start"},Ad={type:"end"},au=new n0,od=new i0,k0=Math.cos(70*u0.DEG2RAD),Gt=new Wt,ue=2*Math.PI,St={NONE:-1,ROTATE:0,DOLLY:1,PAN:2,TOUCH_ROTATE:3,TOUCH_PAN:4,TOUCH_DOLLY_PAN:5,TOUCH_DOLLY_ROTATE:6},Nc=1e-6;class J0 extends a0{constructor(u,r=null){super(u,r),this.state=St.NONE,this.target=new Wt,this.cursor=new Wt,this.minDistance=0,this.maxDistance=1/0,this.minZoom=0,this.maxZoom=1/0,this.minTargetRadius=0,this.maxTargetRadius=1/0,this.minPolarAngle=0,this.maxPolarAngle=Math.PI,this.minAzimuthAngle=-1/0,this.maxAzimuthAngle=1/0,this.enableDamping=!1,this.dampingFactor=.05,this.enableZoom=!0,this.zoomSpeed=1,this.enableRotate=!0,this.rotateSpeed=1,this.keyRotateSpeed=1,this.enablePan=!0,this.panSpeed=1,this.screenSpacePanning=!0,this.keyPanSpeed=7,this.zoomToCursor=!1,this.autoRotate=!1,this.autoRotateSpeed=2,this.keys={LEFT:"ArrowLeft",UP:"ArrowUp",RIGHT:"ArrowRight",BOTTOM:"ArrowDown"},this.mouseButtons={LEFT:Ya.ROTATE,MIDDLE:Ya.DOLLY,RIGHT:Ya.PAN},this.touches={ONE:La.ROTATE,TWO:La.DOLLY_PAN},this.target0=this.target.clone(),this.position0=this.object.position.clone(),this.zoom0=this.object.zoom,this._cursorStyle="auto",this._domElementKeyEvents=null,this._lastPosition=new Wt,this._lastQuaternion=new Fh,this._lastTargetPosition=new Wt,this._quat=new Fh().setFromUnitVectors(u.up,new Wt(0,1,0)),this._quatInverse=this._quat.clone().invert(),this._spherical=new Wh,this._sphericalDelta=new Wh,this._scale=1,this._panOffset=new Wt,this._rotateStart=new It,this._rotateEnd=new It,this._rotateDelta=new It,this._panStart=new It,this._panEnd=new It,this._panDelta=new It,this._dollyStart=new It,this._dollyEnd=new It,this._dollyDelta=new It,this._dollyDirection=new Wt,this._mouse=new It,this._performCursorZoom=!1,this._pointers=[],this._pointerPositions={},this._controlActive=!1,this._onPointerMove=W0.bind(this),this._onPointerDown=F0.bind(this),this._onPointerUp=$0.bind(this),this._onContextMenu=np.bind(this),this._onMouseWheel=tp.bind(this),this._onKeyDown=ep.bind(this),this._onTouchStart=lp.bind(this),this._onTouchMove=ap.bind(this),this._onMouseDown=I0.bind(this),this._onMouseMove=P0.bind(this),this._interceptControlDown=ip.bind(this),this._interceptControlUp=up.bind(this),this.domElement!==null&&this.connect(this.domElement),this.update()}set cursorStyle(u){this._cursorStyle=u,u==="grab"?this.domElement.style.cursor="grab":this.domElement.style.cursor="auto"}get cursorStyle(){return this._cursorStyle}connect(u){super.connect(u),this.domElement.addEventListener("pointerdown",this._onPointerDown),this.domElement.addEventListener("pointercancel",this._onPointerUp),this.domElement.addEventListener("contextmenu",this._onContextMenu),this.domElement.addEventListener("wheel",this._onMouseWheel,{passive:!1}),this.domElement.getRootNode().addEventListener("keydown",this._interceptControlDown,{passive:!0,capture:!0}),this.domElement.style.touchAction="none"}disconnect(){this.domElement.removeEventListener("pointerdown",this._onPointerDown),this.domElement.ownerDocument.removeEventListener("pointermove",this._onPointerMove),this.domElement.ownerDocument.removeEventListener("pointerup",this._onPointerUp),this.domElement.removeEventListener("pointercancel",this._onPointerUp),this.domElement.removeEventListener("wheel",this._onMouseWheel),this.domElement.removeEventListener("contextmenu",this._onContextMenu),this.stopListenToKeyEvents(),this.domElement.getRootNode().removeEventListener("keydown",this._interceptControlDown,{capture:!0}),this.domElement.style.touchAction=""}dispose(){this.disconnect()}getPolarAngle(){return this._spherical.phi}getAzimuthalAngle(){return this._spherical.theta}getDistance(){return this.object.position.distanceTo(this.target)}listenToKeyEvents(u){u.addEventListener("keydown",this._onKeyDown),this._domElementKeyEvents=u}stopListenToKeyEvents(){this._domElementKeyEvents!==null&&(this._domElementKeyEvents.removeEventListener("keydown",this._onKeyDown),this._domElementKeyEvents=null)}saveState(){this.target0.copy(this.target),this.position0.copy(this.object.position),this.zoom0=this.object.zoom}reset(){this.target.copy(this.target0),this.object.position.copy(this.position0),this.object.zoom=this.zoom0,this.object.updateProjectionMatrix(),this.dispatchEvent(cd),this.update(),this.state=St.NONE}pan(u,r){this._pan(u,r),this.update()}dollyIn(u){this._dollyIn(u),this.update()}dollyOut(u){this._dollyOut(u),this.update()}rotateLeft(u){this._rotateLeft(u),this.update()}rotateUp(u){this._rotateUp(u),this.update()}update(u=null){const r=this.object.position;Gt.copy(r).sub(this.target),Gt.applyQuaternion(this._quat),this._spherical.setFromVector3(Gt),this.autoRotate&&this.state===St.NONE&&this._rotateLeft(this._getAutoRotationAngle(u)),this.enableDamping?(this._spherical.theta+=this._sphericalDelta.theta*this.dampingFactor,this._spherical.phi+=this._sphericalDelta.phi*this.dampingFactor):(this._spherical.theta+=this._sphericalDelta.theta,this._spherical.phi+=this._sphericalDelta.phi);let c=this.minAzimuthAngle,h=this.maxAzimuthAngle;isFinite(c)&&isFinite(h)&&(c<-Math.PI?c+=ue:c>Math.PI&&(c-=ue),h<-Math.PI?h+=ue:h>Math.PI&&(h-=ue),c<=h?this._spherical.theta=Math.max(c,Math.min(h,this._spherical.theta)):this._spherical.theta=this._spherical.theta>(c+h)/2?Math.max(c,this._spherical.theta):Math.min(h,this._spherical.theta)),this._spherical.phi=Math.max(this.minPolarAngle,Math.min(this.maxPolarAngle,this._spherical.phi)),this._spherical.makeSafe(),this.enableDamping===!0?this.target.addScaledVector(this._panOffset,this.dampingFactor):this.target.add(this._panOffset),this.target.sub(this.cursor),this.target.clampLength(this.minTargetRadius,this.maxTargetRadius),this.target.add(this.cursor);let y=!1;if(this.zoomToCursor&&this._performCursorZoom||this.object.isOrthographicCamera)this._spherical.radius=this._clampDistance(this._spherical.radius);else{const _=this._spherical.radius;this._spherical.radius=this._clampDistance(this._spherical.radius*this._scale),y=_!=this._spherical.radius}if(Gt.setFromSpherical(this._spherical),Gt.applyQuaternion(this._quatInverse),r.copy(this.target).add(Gt),this.object.lookAt(this.target),this.enableDamping===!0?(this._sphericalDelta.theta*=1-this.dampingFactor,this._sphericalDelta.phi*=1-this.dampingFactor,this._panOffset.multiplyScalar(1-this.dampingFactor)):(this._sphericalDelta.set(0,0,0),this._panOffset.set(0,0,0)),this.zoomToCursor&&this._performCursorZoom){let _=null;if(this.object.isPerspectiveCamera){const T=Gt.length();_=this._clampDistance(T*this._scale);const O=T-_;this.object.position.addScaledVector(this._dollyDirection,O),this.object.updateMatrixWorld(),y=!!O}else if(this.object.isOrthographicCamera){const T=new Wt(this._mouse.x,this._mouse.y,0);T.unproject(this.object);const O=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),this.object.updateProjectionMatrix(),y=O!==this.object.zoom;const B=new Wt(this._mouse.x,this._mouse.y,0);B.unproject(this.object),this.object.position.sub(B).add(T),this.object.updateMatrixWorld(),_=Gt.length()}else console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."),this.zoomToCursor=!1;_!==null&&(this.screenSpacePanning?this.target.set(0,0,-1).transformDirection(this.object.matrix).multiplyScalar(_).add(this.object.position):(au.origin.copy(this.object.position),au.direction.set(0,0,-1).transformDirection(this.object.matrix),Math.abs(this.object.up.dot(au.direction))<k0?this.object.lookAt(this.target):(od.setFromNormalAndCoplanarPoint(this.object.up,this.target),au.intersectPlane(od,this.target))))}else if(this.object.isOrthographicCamera){const _=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),_!==this.object.zoom&&(this.object.updateProjectionMatrix(),y=!0)}return this._scale=1,this._performCursorZoom=!1,y||this._lastPosition.distanceToSquared(this.object.position)>Nc||8*(1-this._lastQuaternion.dot(this.object.quaternion))>Nc||this._lastTargetPosition.distanceToSquared(this.target)>Nc?(this.dispatchEvent(cd),this._lastPosition.copy(this.object.position),this._lastQuaternion.copy(this.object.quaternion),this._lastTargetPosition.copy(this.target),!0):!1}_getAutoRotationAngle(u){return u!==null?ue/60*this.autoRotateSpeed*u:ue/60/60*this.autoRotateSpeed}_getZoomScale(u){const r=Math.abs(u*.01);return Math.pow(.95,this.zoomSpeed*r)}_rotateLeft(u){this._sphericalDelta.theta-=u}_rotateUp(u){this._sphericalDelta.phi-=u}_panLeft(u,r){Gt.setFromMatrixColumn(r,0),Gt.multiplyScalar(-u),this._panOffset.add(Gt)}_panUp(u,r){this.screenSpacePanning===!0?Gt.setFromMatrixColumn(r,1):(Gt.setFromMatrixColumn(r,0),Gt.crossVectors(this.object.up,Gt)),Gt.multiplyScalar(u),this._panOffset.add(Gt)}_pan(u,r){const c=this.domElement;if(this.object.isPerspectiveCamera){const h=this.object.position;Gt.copy(h).sub(this.target);let y=Gt.length();y*=Math.tan(this.object.fov/2*Math.PI/180),this._panLeft(2*u*y/c.clientHeight,this.object.matrix),this._panUp(2*r*y/c.clientHeight,this.object.matrix)}else this.object.isOrthographicCamera?(this._panLeft(u*(this.object.right-this.object.left)/this.object.zoom/c.clientWidth,this.object.matrix),this._panUp(r*(this.object.top-this.object.bottom)/this.object.zoom/c.clientHeight,this.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),this.enablePan=!1)}_dollyOut(u){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale/=u:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),this.enableZoom=!1)}_dollyIn(u){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale*=u:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),this.enableZoom=!1)}_updateZoomParameters(u,r){if(!this.zoomToCursor)return;this._performCursorZoom=!0;const c=this.domElement.getBoundingClientRect(),h=u-c.left,y=r-c.top,_=c.width,T=c.height;this._mouse.x=h/_*2-1,this._mouse.y=-(y/T)*2+1,this._dollyDirection.set(this._mouse.x,this._mouse.y,1).unproject(this.object).sub(this.object.position).normalize()}_clampDistance(u){return Math.max(this.minDistance,Math.min(this.maxDistance,u))}_handleMouseDownRotate(u){this._rotateStart.set(u.clientX,u.clientY)}_handleMouseDownDolly(u){this._updateZoomParameters(u.clientX,u.clientX),this._dollyStart.set(u.clientX,u.clientY)}_handleMouseDownPan(u){this._panStart.set(u.clientX,u.clientY)}_handleMouseMoveRotate(u){this._rotateEnd.set(u.clientX,u.clientY),this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);const r=this.domElement;this._rotateLeft(ue*this._rotateDelta.x/r.clientHeight),this._rotateUp(ue*this._rotateDelta.y/r.clientHeight),this._rotateStart.copy(this._rotateEnd),this.update()}_handleMouseMoveDolly(u){this._dollyEnd.set(u.clientX,u.clientY),this._dollyDelta.subVectors(this._dollyEnd,this._dollyStart),this._dollyDelta.y>0?this._dollyOut(this._getZoomScale(this._dollyDelta.y)):this._dollyDelta.y<0&&this._dollyIn(this._getZoomScale(this._dollyDelta.y)),this._dollyStart.copy(this._dollyEnd),this.update()}_handleMouseMovePan(u){this._panEnd.set(u.clientX,u.clientY),this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd),this.update()}_handleMouseWheel(u){this._updateZoomParameters(u.clientX,u.clientY),u.deltaY<0?this._dollyIn(this._getZoomScale(u.deltaY)):u.deltaY>0&&this._dollyOut(this._getZoomScale(u.deltaY)),this.update()}_handleKeyDown(u){let r=!1;switch(u.code){case this.keys.UP:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateUp(ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,this.keyPanSpeed),r=!0;break;case this.keys.BOTTOM:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateUp(-ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,-this.keyPanSpeed),r=!0;break;case this.keys.LEFT:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateLeft(ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(this.keyPanSpeed,0),r=!0;break;case this.keys.RIGHT:u.ctrlKey||u.metaKey||u.shiftKey?this.enableRotate&&this._rotateLeft(-ue*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(-this.keyPanSpeed,0),r=!0;break}r&&(u.preventDefault(),this.update())}_handleTouchStartRotate(u){if(this._pointers.length===1)this._rotateStart.set(u.pageX,u.pageY);else{const r=this._getSecondPointerPosition(u),c=.5*(u.pageX+r.x),h=.5*(u.pageY+r.y);this._rotateStart.set(c,h)}}_handleTouchStartPan(u){if(this._pointers.length===1)this._panStart.set(u.pageX,u.pageY);else{const r=this._getSecondPointerPosition(u),c=.5*(u.pageX+r.x),h=.5*(u.pageY+r.y);this._panStart.set(c,h)}}_handleTouchStartDolly(u){const r=this._getSecondPointerPosition(u),c=u.pageX-r.x,h=u.pageY-r.y,y=Math.sqrt(c*c+h*h);this._dollyStart.set(0,y)}_handleTouchStartDollyPan(u){this.enableZoom&&this._handleTouchStartDolly(u),this.enablePan&&this._handleTouchStartPan(u)}_handleTouchStartDollyRotate(u){this.enableZoom&&this._handleTouchStartDolly(u),this.enableRotate&&this._handleTouchStartRotate(u)}_handleTouchMoveRotate(u){if(this._pointers.length==1)this._rotateEnd.set(u.pageX,u.pageY);else{const c=this._getSecondPointerPosition(u),h=.5*(u.pageX+c.x),y=.5*(u.pageY+c.y);this._rotateEnd.set(h,y)}this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);const r=this.domElement;this._rotateLeft(ue*this._rotateDelta.x/r.clientHeight),this._rotateUp(ue*this._rotateDelta.y/r.clientHeight),this._rotateStart.copy(this._rotateEnd)}_handleTouchMovePan(u){if(this._pointers.length===1)this._panEnd.set(u.pageX,u.pageY);else{const r=this._getSecondPointerPosition(u),c=.5*(u.pageX+r.x),h=.5*(u.pageY+r.y);this._panEnd.set(c,h)}this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd)}_handleTouchMoveDolly(u){const r=this._getSecondPointerPosition(u),c=u.pageX-r.x,h=u.pageY-r.y,y=Math.sqrt(c*c+h*h);this._dollyEnd.set(0,y),this._dollyDelta.set(0,Math.pow(this._dollyEnd.y/this._dollyStart.y,this.zoomSpeed)),this._dollyOut(this._dollyDelta.y),this._dollyStart.copy(this._dollyEnd);const _=(u.pageX+r.x)*.5,T=(u.pageY+r.y)*.5;this._updateZoomParameters(_,T)}_handleTouchMoveDollyPan(u){this.enableZoom&&this._handleTouchMoveDolly(u),this.enablePan&&this._handleTouchMovePan(u)}_handleTouchMoveDollyRotate(u){this.enableZoom&&this._handleTouchMoveDolly(u),this.enableRotate&&this._handleTouchMoveRotate(u)}_addPointer(u){this._pointers.push(u.pointerId)}_removePointer(u){delete this._pointerPositions[u.pointerId];for(let r=0;r<this._pointers.length;r++)if(this._pointers[r]==u.pointerId){this._pointers.splice(r,1);return}}_isTrackingPointer(u){for(let r=0;r<this._pointers.length;r++)if(this._pointers[r]==u.pointerId)return!0;return!1}_trackPointer(u){let r=this._pointerPositions[u.pointerId];r===void 0&&(r=new It,this._pointerPositions[u.pointerId]=r),r.set(u.pageX,u.pageY)}_getSecondPointerPosition(u){const r=u.pointerId===this._pointers[0]?this._pointers[1]:this._pointers[0];return this._pointerPositions[r]}_customWheelEvent(u){const r=u.deltaMode,c={clientX:u.clientX,clientY:u.clientY,deltaY:u.deltaY};switch(r){case 1:c.deltaY*=16;break;case 2:c.deltaY*=100;break}return u.ctrlKey&&!this._controlActive&&(c.deltaY*=10),c}}function F0(f){this.enabled!==!1&&(this._pointers.length===0&&(this.domElement.setPointerCapture(f.pointerId),this.domElement.ownerDocument.addEventListener("pointermove",this._onPointerMove),this.domElement.ownerDocument.addEventListener("pointerup",this._onPointerUp)),!this._isTrackingPointer(f)&&(this._addPointer(f),f.pointerType==="touch"?this._onTouchStart(f):this._onMouseDown(f),this._cursorStyle==="grab"&&(this.domElement.style.cursor="grabbing")))}function W0(f){this.enabled!==!1&&(f.pointerType==="touch"?this._onTouchMove(f):this._onMouseMove(f))}function $0(f){switch(this._removePointer(f),this._pointers.length){case 0:this.domElement.releasePointerCapture(f.pointerId),this.domElement.ownerDocument.removeEventListener("pointermove",this._onPointerMove),this.domElement.ownerDocument.removeEventListener("pointerup",this._onPointerUp),this.dispatchEvent(Ad),this.state=St.NONE,this._cursorStyle==="grab"&&(this.domElement.style.cursor="grab");break;case 1:const u=this._pointers[0],r=this._pointerPositions[u];this._onTouchStart({pointerId:u,pageX:r.x,pageY:r.y});break}}function I0(f){let u;switch(f.button){case 0:u=this.mouseButtons.LEFT;break;case 1:u=this.mouseButtons.MIDDLE;break;case 2:u=this.mouseButtons.RIGHT;break;default:u=-1}switch(u){case Ya.DOLLY:if(this.enableZoom===!1)return;this._handleMouseDownDolly(f),this.state=St.DOLLY;break;case Ya.ROTATE:if(f.ctrlKey||f.metaKey||f.shiftKey){if(this.enablePan===!1)return;this._handleMouseDownPan(f),this.state=St.PAN}else{if(this.enableRotate===!1)return;this._handleMouseDownRotate(f),this.state=St.ROTATE}break;case Ya.PAN:if(f.ctrlKey||f.metaKey||f.shiftKey){if(this.enableRotate===!1)return;this._handleMouseDownRotate(f),this.state=St.ROTATE}else{if(this.enablePan===!1)return;this._handleMouseDownPan(f),this.state=St.PAN}break;default:this.state=St.NONE}this.state!==St.NONE&&this.dispatchEvent(Xc)}function P0(f){switch(this.state){case St.ROTATE:if(this.enableRotate===!1)return;this._handleMouseMoveRotate(f);break;case St.DOLLY:if(this.enableZoom===!1)return;this._handleMouseMoveDolly(f);break;case St.PAN:if(this.enablePan===!1)return;this._handleMouseMovePan(f);break}}function tp(f){this.enabled===!1||this.enableZoom===!1||this.state!==St.NONE||(f.preventDefault(),this.dispatchEvent(Xc),this._handleMouseWheel(this._customWheelEvent(f)),this.dispatchEvent(Ad))}function ep(f){this.enabled!==!1&&this._handleKeyDown(f)}function lp(f){switch(this._trackPointer(f),this._pointers.length){case 1:switch(this.touches.ONE){case La.ROTATE:if(this.enableRotate===!1)return;this._handleTouchStartRotate(f),this.state=St.TOUCH_ROTATE;break;case La.PAN:if(this.enablePan===!1)return;this._handleTouchStartPan(f),this.state=St.TOUCH_PAN;break;default:this.state=St.NONE}break;case 2:switch(this.touches.TWO){case La.DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchStartDollyPan(f),this.state=St.TOUCH_DOLLY_PAN;break;case La.DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchStartDollyRotate(f),this.state=St.TOUCH_DOLLY_ROTATE;break;default:this.state=St.NONE}break;default:this.state=St.NONE}this.state!==St.NONE&&this.dispatchEvent(Xc)}function ap(f){switch(this._trackPointer(f),this.state){case St.TOUCH_ROTATE:if(this.enableRotate===!1)return;this._handleTouchMoveRotate(f),this.update();break;case St.TOUCH_PAN:if(this.enablePan===!1)return;this._handleTouchMovePan(f),this.update();break;case St.TOUCH_DOLLY_PAN:if(this.enableZoom===!1&&this.enablePan===!1)return;this._handleTouchMoveDollyPan(f),this.update();break;case St.TOUCH_DOLLY_ROTATE:if(this.enableZoom===!1&&this.enableRotate===!1)return;this._handleTouchMoveDollyRotate(f),this.update();break;default:this.state=St.NONE}}function np(f){this.enabled!==!1&&f.preventDefault()}function ip(f){f.key==="Control"&&(this._controlActive=!0,this.domElement.getRootNode().addEventListener("keyup",this._interceptControlUp,{passive:!0,capture:!0}))}function up(f){f.key==="Control"&&(this._controlActive=!1,this.domElement.getRootNode().removeEventListener("keyup",this._interceptControlUp,{passive:!0,capture:!0}))}const sp={name:"CopyShader",uniforms:{tDiffuse:{value:null},opacity:{value:1}},vertexShader:`
34
34
 
35
35
  varying vec2 vUv;
36
36