From 7e7f1a485e1559fd49e5df7d98b2e8d308802c40 Mon Sep 17 00:00:00 2001 From: mykeels Date: Sun, 15 Sep 2024 15:48:42 -0400 Subject: [PATCH] Updates --- assets/index-Cok1CkxZ.js | 40 --- assets/index-NkkfJZLK.js | 510 ++++++++++++++++++++++++++++++++++++++ assets/index-fsG8XDBx.css | 1 - assets/index-rFKArgc-.css | 1 + index.html | 4 +- sw.js | 2 +- 6 files changed, 514 insertions(+), 44 deletions(-) delete mode 100644 assets/index-Cok1CkxZ.js create mode 100644 assets/index-NkkfJZLK.js delete mode 100644 assets/index-fsG8XDBx.css create mode 100644 assets/index-rFKArgc-.css diff --git a/assets/index-Cok1CkxZ.js b/assets/index-Cok1CkxZ.js deleted file mode 100644 index 22ca162..0000000 --- a/assets/index-Cok1CkxZ.js +++ /dev/null @@ -1,40 +0,0 @@ -(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();var Qi={exports:{}},nl={},Ki={exports:{}},L={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Gt=Symbol.for("react.element"),uc=Symbol.for("react.portal"),ic=Symbol.for("react.fragment"),sc=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),cc=Symbol.for("react.provider"),fc=Symbol.for("react.context"),dc=Symbol.for("react.forward_ref"),pc=Symbol.for("react.suspense"),mc=Symbol.for("react.memo"),hc=Symbol.for("react.lazy"),Du=Symbol.iterator;function vc(e){return e===null||typeof e!="object"?null:(e=Du&&e[Du]||e["@@iterator"],typeof e=="function"?e:null)}var Yi={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xi=Object.assign,Gi={};function ot(e,n,t){this.props=e,this.context=n,this.refs=Gi,this.updater=t||Yi}ot.prototype.isReactComponent={};ot.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};ot.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Zi(){}Zi.prototype=ot.prototype;function $o(e,n,t){this.props=e,this.context=n,this.refs=Gi,this.updater=t||Yi}var Ao=$o.prototype=new Zi;Ao.constructor=$o;Xi(Ao,ot.prototype);Ao.isPureReactComponent=!0;var Iu=Array.isArray,Ji=Object.prototype.hasOwnProperty,Vo={current:null},qi={key:!0,ref:!0,__self:!0,__source:!0};function bi(e,n,t){var r,l={},o=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(o=""+n.key),n)Ji.call(n,r)&&!qi.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1>>1,X=x[H];if(0>>1;Hl(wl,z))ynl(nr,wl)?(x[H]=nr,x[yn]=z,H=yn):(x[H]=wl,x[vn]=z,H=vn);else if(ynl(nr,z))x[H]=nr,x[yn]=z,H=yn;else break e}}return P}function l(x,P){var z=x.sortIndex-P.sortIndex;return z!==0?z:x.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var u=Date,i=u.now();e.unstable_now=function(){return u.now()-i}}var s=[],c=[],h=1,m=null,p=3,g=!1,w=!1,S=!1,j=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(x){for(var P=t(c);P!==null;){if(P.callback===null)r(c);else if(P.startTime<=x)r(c),P.sortIndex=P.expirationTime,n(s,P);else break;P=t(c)}}function v(x){if(S=!1,d(x),!w)if(t(s)!==null)w=!0,yl(E);else{var P=t(c);P!==null&&gl(v,P.startTime-x)}}function E(x,P){w=!1,S&&(S=!1,f(N),N=-1),g=!0;var z=p;try{for(d(P),m=t(s);m!==null&&(!(m.expirationTime>P)||x&&!Ne());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var X=H(m.expirationTime<=P);P=e.unstable_now(),typeof X=="function"?m.callback=X:m===t(s)&&r(s),d(P)}else r(s);m=t(s)}if(m!==null)var er=!0;else{var vn=t(c);vn!==null&&gl(v,vn.startTime-P),er=!1}return er}finally{m=null,p=z,g=!1}}var C=!1,_=null,N=-1,B=5,T=-1;function Ne(){return!(e.unstable_now()-Tx||125H?(x.sortIndex=z,n(c,x),t(s)===null&&x===t(c)&&(S?(f(N),N=-1):S=!0,gl(v,z-H))):(x.sortIndex=X,n(s,x),w||g||(w=!0,yl(E))),x},e.unstable_shouldYield=Ne,e.unstable_wrapCallback=function(x){var P=p;return function(){var z=p;p=P;try{return x.apply(this,arguments)}finally{p=z}}}})(ls);rs.exports=ls;var Pc=rs.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var zc=Qn,ye=Pc;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kl=Object.prototype.hasOwnProperty,Lc=/^[: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]*$/,Fu={},Uu={};function Tc(e){return Kl.call(Uu,e)?!0:Kl.call(Fu,e)?!1:Lc.test(e)?Uu[e]=!0:(Fu[e]=!0,!1)}function Rc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mc(e,n,t,r){if(n===null||typeof n>"u"||Rc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,o,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=u}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){b[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];b[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){b[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){b[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){b[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){b[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){b[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){b[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){b[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ho=/[\-:]([a-z])/g;function Wo(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ho,Wo);b[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ho,Wo);b[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ho,Wo);b[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){b[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});b.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){b[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qo(e,n,t,r){var l=b.hasOwnProperty(n)?b[n]:null;(l!==null?l.type!==0:r||!(2i||l[u]!==o[i]){var s=` -`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=i);break}}}finally{El=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?wt(e):""}function Oc(e){switch(e.tag){case 5:return wt(e.type);case 16:return wt("Lazy");case 13:return wt("Suspense");case 19:return wt("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function Zl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dn:return"Fragment";case On:return"Portal";case Yl:return"Profiler";case Ko:return"StrictMode";case Xl:return"Suspense";case Gl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case is:return(e.displayName||"Context")+".Consumer";case us:return(e._context.displayName||"Context")+".Provider";case Yo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xo:return n=e.displayName||null,n!==null?n:Zl(e.type)||"Memo";case Ze:n=e._payload,e=e._init;try{return Zl(e(n))}catch{}}return null}function Dc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Zl(n);case 8:return n===Ko?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function fn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function as(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ic(e){var n=as(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,o.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function lr(e){e._valueTracker||(e._valueTracker=Ic(e))}function cs(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=as(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Rr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Jl(e,n){var t=n.checked;return A({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Au(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=fn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function fs(e,n){n=n.checked,n!=null&&Qo(e,"checked",n,!1)}function ql(e,n){fs(e,n);var t=fn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&bl(e,n.type,fn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Vu(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function bl(e,n,t){(n!=="number"||Rr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var St=Array.isArray;function Kn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Ot(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var xt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},jc=["Webkit","ms","Moz","O"];Object.keys(xt).forEach(function(e){jc.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),xt[n]=xt[e]})});function hs(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||xt.hasOwnProperty(e)&&xt[e]?(""+n).trim():n+"px"}function vs(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=hs(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Fc=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function to(e,n){if(n){if(Fc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function ro(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var lo=null;function Go(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oo=null,Yn=null,Xn=null;function Wu(e){if(e=qt(e)){if(typeof oo!="function")throw Error(y(280));var n=e.stateNode;n&&(n=ul(n),oo(e.stateNode,e.type,n))}}function ys(e){Yn?Xn?Xn.push(e):Xn=[e]:Yn=e}function gs(){if(Yn){var e=Yn,n=Xn;if(Xn=Yn=null,Wu(e),n)for(e=0;e>>=0,e===0?32:31-(Xc(e)/Gc|0)|0}var ur=64,ir=4194304;function kt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ir(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,u=t&268435455;if(u!==0){var i=u&~l;i!==0?r=kt(i):(o&=u,o!==0&&(r=kt(o)))}else u=t&~l,u!==0?r=kt(u):o!==0&&(r=kt(o));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,o=n&-n,l>=o||l===16&&(o&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Zt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Re(n),e[n]=t}function bc(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=_t),bu=" ",ei=!1;function Us(e,n){switch(e){case"keyup":return zf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $s(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var In=!1;function Tf(e,n){switch(e){case"compositionend":return $s(n);case"keypress":return n.which!==32?null:(ei=!0,bu);case"textInput":return e=n.data,e===bu&&ei?null:e;default:return null}}function Rf(e,n){if(In)return e==="compositionend"||!ru&&Us(e,n)?(e=js(),Er=eu=en=null,In=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=li(t)}}function Hs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Hs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ws(){for(var e=window,n=Rr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Rr(e.document)}return n}function lu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Af(e){var n=Ws(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Hs(t.ownerDocument.documentElement,t)){if(r!==null&&lu(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=oi(t,o);var u=oi(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,jn=null,fo=null,Pt=null,po=!1;function ui(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;po||jn==null||jn!==Rr(r)||(r=jn,"selectionStart"in r&&lu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Pt&&$t(Pt,r)||(Pt=r,r=Ur(fo,"onSelect"),0$n||(e.current=wo[$n],wo[$n]=null,$n--)}function O(e,n){$n++,wo[$n]=e.current,e.current=n}var dn={},re=mn(dn),ce=mn(!1),_n=dn;function bn(e,n){var t=e.type.contextTypes;if(!t)return dn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function fe(e){return e=e.childContextTypes,e!=null}function Ar(){I(ce),I(re)}function pi(e,n,t){if(re.current!==dn)throw Error(y(168));O(re,n),O(ce,t)}function bs(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Dc(e)||"Unknown",l));return A({},t,r)}function Vr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dn,_n=re.current,O(re,e),O(ce,ce.current),!0}function mi(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=bs(e,n,_n),r.__reactInternalMemoizedMergedChildContext=e,I(ce),I(re),O(re,e)):I(ce),O(ce,t)}var Ae=null,il=!1,Fl=!1;function ea(e){Ae===null?Ae=[e]:Ae.push(e)}function qf(e){il=!0,ea(e)}function hn(){if(!Fl&&Ae!==null){Fl=!0;var e=0,n=M;try{var t=Ae;for(M=1;e>=u,l-=u,Ve=1<<32-Re(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(f,_,d[N],v);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(f,_),a=o(T,a,N),C===null?E=T:C.sibling=T,C=T,_=B}if(N===d.length)return t(f,_),F&&gn(f,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ne=p(f,_,T.value,v);if(Ne===null){_===null&&(_=B);break}e&&_&&Ne.alternate===null&&n(f,_),a=o(Ne,a,N),C===null?E=Ne:C.sibling=Ne,C=Ne,_=B}if(T.done)return t(f,_),F&&gn(f,N),E;if(_===null){for(;!T.done;N++,T=d.next())T=m(f,T.value,v),T!==null&&(a=o(T,a,N),C===null?E=T:C.sibling=T,C=T);return F&&gn(f,N),E}for(_=r(f,_);!T.done;N++,T=d.next())T=g(_,f,N,T.value,v),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=o(T,a,N),C===null?E=T:C.sibling=T,C=T);return e&&_.forEach(function(st){return n(f,st)}),F&&gn(f,N),E}function j(f,a,d,v){if(typeof d=="object"&&d!==null&&d.type===Dn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case rr:e:{for(var E=d.key,C=a;C!==null;){if(C.key===E){if(E=d.type,E===Dn){if(C.tag===7){t(f,C.sibling),a=l(C,d.props.children),a.return=f,f=a;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ze&&yi(E)===C.type){t(f,C.sibling),a=l(C,d.props),a.ref=ht(f,C,d),a.return=f,f=a;break e}t(f,C);break}else n(f,C);C=C.sibling}d.type===Dn?(a=Cn(d.props.children,f.mode,v,d.key),a.return=f,f=a):(v=Tr(d.type,d.key,d.props,null,f.mode,v),v.ref=ht(f,a,d),v.return=f,f=v)}return u(f);case On:e:{for(C=d.key;a!==null;){if(a.key===C)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Ql(d,f.mode,v),a.return=f,f=a}return u(f);case Ze:return C=d._init,j(f,a,C(d._payload),v)}if(St(d))return w(f,a,d,v);if(ct(d))return S(f,a,d,v);mr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,d),a.return=f,f=a):(t(f,a),a=Wl(d,f.mode,v),a.return=f,f=a),u(f)):t(f,a)}return j}var nt=la(!0),oa=la(!1),Wr=mn(null),Qr=null,Bn=null,su=null;function au(){su=Bn=Qr=null}function cu(e){var n=Wr.current;I(Wr),e._currentValue=n}function Eo(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Zn(e,n){Qr=e,su=Bn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(ae=!0),e.firstContext=null)}function Ce(e){var n=e._currentValue;if(su!==e)if(e={context:e,memoizedValue:n,next:null},Bn===null){if(Qr===null)throw Error(y(308));Bn=e,Qr.dependencies={lanes:0,firstContext:e}}else Bn=Bn.next=e;return n}var kn=null;function fu(e){kn===null?kn=[e]:kn.push(e)}function ua(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,fu(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ke(e,r)}function Ke(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Je=!1;function du(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ia(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function He(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function un(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,R&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ke(e,t)}return l=r.interleaved,l===null?(n.next=n,fu(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ke(e,t)}function Cr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Jo(e,t)}}function gi(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?l=o=u:o=o.next=u,t=t.next}while(t!==null);o===null?l=o=n:o=o.next=n}else l=o=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Kr(e,n,t,r){var l=e.updateQueue;Je=!1;var o=l.firstBaseUpdate,u=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var s=i,c=s.next;s.next=null,u===null?o=c:u.next=c,u=s;var h=e.alternate;h!==null&&(h=h.updateQueue,i=h.lastBaseUpdate,i!==u&&(i===null?h.firstBaseUpdate=c:i.next=c,h.lastBaseUpdate=s))}if(o!==null){var m=l.baseState;u=0,h=c=s=null,i=o;do{var p=i.lane,g=i.eventTime;if((r&p)===p){h!==null&&(h=h.next={eventTime:g,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var w=e,S=i;switch(p=n,g=t,S.tag){case 1:if(w=S.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=A({},m,p);break e;case 2:Je=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[i]:p.push(i))}else g={eventTime:g,lane:p,tag:i.tag,payload:i.payload,callback:i.callback,next:null},h===null?(c=h=g,s=m):h=h.next=g,u|=p;if(i=i.next,i===null){if(i=l.shared.pending,i===null)break;p=i,i=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(h===null&&(s=m),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=h,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else o===null&&(l.shared.lanes=0);zn|=u,e.lanes=u,e.memoizedState=m}}function wi(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=$l.transition;$l.transition={};try{e(!1),n()}finally{M=t,$l.transition=r}}function Ca(){return _e().memoizedState}function td(e,n,t){var r=an(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},_a(e))Na(n,t);else if(t=ua(e,n,t,r),t!==null){var l=oe();Me(t,e,r,l),Pa(t,n,r)}}function rd(e,n,t){var r=an(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(_a(e))Na(n,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=n.lastRenderedReducer,o!==null))try{var u=n.lastRenderedState,i=o(u,t);if(l.hasEagerState=!0,l.eagerState=i,Oe(i,u)){var s=n.interleaved;s===null?(l.next=l,fu(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ua(e,n,l,r),t!==null&&(l=oe(),Me(t,e,r,l),Pa(t,n,r))}}function _a(e){var n=e.alternate;return e===$||n!==null&&n===$}function Na(e,n){zt=Xr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Pa(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Jo(e,t)}}var Gr={readContext:Ce,useCallback:ee,useContext:ee,useEffect:ee,useImperativeHandle:ee,useInsertionEffect:ee,useLayoutEffect:ee,useMemo:ee,useReducer:ee,useRef:ee,useState:ee,useDebugValue:ee,useDeferredValue:ee,useTransition:ee,useMutableSource:ee,useSyncExternalStore:ee,useId:ee,unstable_isNewReconciler:!1},ld={readContext:Ce,useCallback:function(e,n){return Ie().memoizedState=[e,n===void 0?null:n],e},useContext:Ce,useEffect:ki,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Nr(4194308,4,wa.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Nr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Nr(4,2,e,n)},useMemo:function(e,n){var t=Ie();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Ie();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=td.bind(null,$,e),[r.memoizedState,e]},useRef:function(e){var n=Ie();return e={current:e},n.memoizedState=e},useState:Si,useDebugValue:Su,useDeferredValue:function(e){return Ie().memoizedState=e},useTransition:function(){var e=Si(!1),n=e[0];return e=nd.bind(null,e[1]),Ie().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=$,l=Ie();if(F){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),Z===null)throw Error(y(349));Pn&30||fa(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,ki(pa.bind(null,r,o,e),[e]),r.flags|=2048,Yt(9,da.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Ie(),n=Z.identifierPrefix;if(F){var t=Be,r=Ve;t=(r&~(1<<32-Re(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Qt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[je]=n,e[Bt]=r,Fa(e,n,!1,!1),n.stateNode=e;e:{switch(u=ro(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;llt&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Yr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),vt(o,!0),o.tail===null&&o.tailMode==="hidden"&&!u.alternate&&!F)return ne(n),null}else 2*W()-o.renderingStartTime>lt&&t!==1073741824&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304);o.isBackwards?(u.sibling=n.child,n.child=u):(t=o.last,t!==null?t.sibling=u:n.child=u,o.last=u)}return o.tail!==null?(n=o.tail,o.rendering=n,o.tail=n.sibling,o.renderingStartTime=W(),n.sibling=null,t=U.current,O(U,r?t&1|2:t&1),n):(ne(n),null);case 22:case 23:return Nu(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?me&1073741824&&(ne(n),n.subtreeFlags&6&&(n.flags|=8192)):ne(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function dd(e,n){switch(uu(n),n.tag){case 1:return fe(n.type)&&Ar(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return tt(),I(ce),I(re),hu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return mu(n),null;case 13:if(I(U),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));et()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return I(U),null;case 4:return tt(),null;case 10:return cu(n.type._context),null;case 22:case 23:return Nu(),null;case 24:return null;default:return null}}var vr=!1,te=!1,pd=typeof WeakSet=="function"?WeakSet:Set,k=null;function Hn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){V(e,n,r)}else t.current=null}function Ro(e,n,t){try{t()}catch(r){V(e,n,r)}}var Mi=!1;function md(e,n){if(mo=jr,e=Ws(),lu(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break e}var u=0,i=-1,s=-1,c=0,h=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(i=u+l),m!==o||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++c===l&&(i=u),p===o&&++h===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=i===-1||s===-1?null:{start:i,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ho={focusedElem:e,selectionRange:t},jr=!1,k=n;k!==null;)if(n=k,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,k=e;else for(;k!==null;){n=k;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,j=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?S:ze(n.type,S),j);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){V(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,k=e;break}k=n.return}return w=Mi,Mi=!1,w}function Lt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&Ro(n,t,o)}l=l.next}while(l!==r)}}function cl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Mo(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Aa(e){var n=e.alternate;n!==null&&(e.alternate=null,Aa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[je],delete n[Bt],delete n[go],delete n[Zf],delete n[Jf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Va(e){return e.tag===5||e.tag===3||e.tag===4}function Oi(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Va(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Oo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=$r));else if(r!==4&&(e=e.child,e!==null))for(Oo(e,n,t),e=e.sibling;e!==null;)Oo(e,n,t),e=e.sibling}function Do(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Do(e,n,t),e=e.sibling;e!==null;)Do(e,n,t),e=e.sibling}var J=null,Le=!1;function Ge(e,n,t){for(t=t.child;t!==null;)Ba(e,n,t),t=t.sibling}function Ba(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount(tl,t)}catch{}switch(t.tag){case 5:te||Hn(t,n);case 6:var r=J,l=Le;J=null,Ge(e,n,t),J=r,Le=l,J!==null&&(Le?(e=J,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):J.removeChild(t.stateNode));break;case 18:J!==null&&(Le?(e=J,t=t.stateNode,e.nodeType===8?jl(e.parentNode,t):e.nodeType===1&&jl(e,t),Ft(e)):jl(J,t.stateNode));break;case 4:r=J,l=Le,J=t.stateNode.containerInfo,Le=!0,Ge(e,n,t),J=r,Le=l;break;case 0:case 11:case 14:case 15:if(!te&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,u=o.destroy;o=o.tag,u!==void 0&&(o&2||o&4)&&Ro(t,n,u),l=l.next}while(l!==r)}Ge(e,n,t);break;case 1:if(!te&&(Hn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){V(t,n,i)}Ge(e,n,t);break;case 21:Ge(e,n,t);break;case 22:t.mode&1?(te=(r=te)||t.memoizedState!==null,Ge(e,n,t),te=r):Ge(e,n,t);break;default:Ge(e,n,t)}}function Di(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new pd),n.forEach(function(r){var l=xd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function Pe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~o}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vd(r/1960))-r,10e?16:e,nn===null)var r=!1;else{if(e=nn,nn=null,qr=0,R&6)throw Error(y(331));var l=R;for(R|=4,k=e.current;k!==null;){var o=k,u=o.child;if(k.flags&16){var i=o.deletions;if(i!==null){for(var s=0;sW()-Cu?xn(e,0):xu|=t),de(e,n)}function Za(e,n){n===0&&(e.mode&1?(n=ir,ir<<=1,!(ir&130023424)&&(ir=4194304)):n=1);var t=oe();e=Ke(e,n),e!==null&&(Zt(e,n,t),de(e,t))}function Ed(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Za(e,t)}function xd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),Za(e,t)}var Ja;Ja=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||ce.current)ae=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return ae=!1,cd(e,n,t);ae=!!(e.flags&131072)}else ae=!1,F&&n.flags&1048576&&na(n,Hr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Pr(e,n),e=n.pendingProps;var l=bn(n,re.current);Zn(n,t),l=yu(null,n,r,e,l,t);var o=gu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,fe(r)?(o=!0,Vr(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,du(n),l.updater=al,n.stateNode=l,l._reactInternals=n,Co(n,r,e,t),n=Po(null,n,r,!0,o,t)):(n.tag=0,F&&o&&ou(n),le(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Pr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=_d(r),e=ze(r,e),l){case 0:n=No(null,n,r,e,t);break e;case 1:n=Li(null,n,r,e,t);break e;case 11:n=Pi(null,n,r,e,t);break e;case 14:n=zi(null,n,r,ze(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),No(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Li(e,n,r,l,t);case 3:e:{if(Da(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,ia(e,n),Kr(n,r,null,t);var u=n.memoizedState;if(r=u.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=o,n.memoizedState=o,n.flags&256){l=rt(Error(y(423)),n),n=Ti(e,n,r,t,l);break e}else if(r!==l){l=rt(Error(y(424)),n),n=Ti(e,n,r,t,l);break e}else for(he=on(n.stateNode.containerInfo.firstChild),ve=n,F=!0,Te=null,t=oa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(et(),r===l){n=Ye(e,n,t);break e}le(e,n,r,t)}n=n.child}return n;case 5:return sa(n),e===null&&ko(n),r=n.type,l=n.pendingProps,o=e!==null?e.memoizedProps:null,u=l.children,vo(r,l)?u=null:o!==null&&vo(r,o)&&(n.flags|=32),Oa(e,n),le(e,n,u,t),n.child;case 6:return e===null&&ko(n),null;case 13:return Ia(e,n,t);case 4:return pu(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=nt(n,null,r,t):le(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Pi(e,n,r,l,t);case 7:return le(e,n,n.pendingProps,t),n.child;case 8:return le(e,n,n.pendingProps.children,t),n.child;case 12:return le(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,o=n.memoizedProps,u=l.value,O(Wr,r._currentValue),r._currentValue=u,o!==null)if(Oe(o.value,u)){if(o.children===l.children&&!ce.current){n=Ye(e,n,t);break e}}else for(o=n.child,o!==null&&(o.return=n);o!==null;){var i=o.dependencies;if(i!==null){u=o.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=He(-1,t&-t),s.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?s.next=s:(s.next=h.next,h.next=s),c.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),Eo(o.return,t,n),i.lanes|=t;break}s=s.next}}else if(o.tag===10)u=o.type===n.type?null:o.child;else if(o.tag===18){if(u=o.return,u===null)throw Error(y(341));u.lanes|=t,i=u.alternate,i!==null&&(i.lanes|=t),Eo(u,t,n),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===n){u=null;break}if(o=u.sibling,o!==null){o.return=u.return,u=o;break}u=u.return}o=u}le(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Zn(n,t),l=Ce(l),r=r(l),n.flags|=1,le(e,n,r,t),n.child;case 14:return r=n.type,l=ze(r,n.pendingProps),l=ze(r.type,l),zi(e,n,r,l,t);case 15:return Ra(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:ze(r,l),Pr(e,n),n.tag=1,fe(r)?(e=!0,Vr(n)):e=!1,Zn(n,t),za(n,r,l),Co(n,r,l,t),Po(null,n,r,!0,e,t);case 19:return ja(e,n,t);case 22:return Ma(e,n,t)}throw Error(y(156,n.tag))};function qa(e,n){return _s(e,n)}function Cd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ee(e,n,t,r){return new Cd(e,n,t,r)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _d(e){if(typeof e=="function")return zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Yo)return 11;if(e===Xo)return 14}return 2}function cn(e,n){var t=e.alternate;return t===null?(t=Ee(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Tr(e,n,t,r,l,o){var u=2;if(r=e,typeof e=="function")zu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Dn:return Cn(t.children,l,o,n);case Ko:u=8,l|=8;break;case Yl:return e=Ee(12,t,n,l|2),e.elementType=Yl,e.lanes=o,e;case Xl:return e=Ee(13,t,n,l),e.elementType=Xl,e.lanes=o,e;case Gl:return e=Ee(19,t,n,l),e.elementType=Gl,e.lanes=o,e;case ss:return dl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case us:u=10;break e;case is:u=9;break e;case Yo:u=11;break e;case Xo:u=14;break e;case Ze:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=Ee(u,t,n,l),n.elementType=e,n.type=r,n.lanes=o,n}function Cn(e,n,t,r){return e=Ee(7,e,r,n),e.lanes=t,e}function dl(e,n,t,r){return e=Ee(22,e,r,n),e.elementType=ss,e.lanes=t,e.stateNode={isHidden:!1},e}function Wl(e,n,t){return e=Ee(6,e,null,n),e.lanes=t,e}function Ql(e,n,t){return n=Ee(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nd(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_l(0),this.expirationTimes=_l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_l(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Lu(e,n,t,r,l,o,u,i,s){return e=new Nd(e,n,t,i,s),n===1?(n=1,o===!0&&(n|=8)):n=0,o=Ee(3,null,null,n),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},du(o),e}function Pd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),ts.exports=ge;var Md=ts.exports,rc,Bi=Md;rc=Bi.createRoot,Bi.hydrateRoot;function lc(e){var n,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(n=0;n{u(c),t("interlude"),"vibrate"in navigator&&navigator.vibrate(200)},s=()=>{u(null),l(Wi()),t("playing"),"vibrate"in navigator&&navigator.vibrate(200)};return pe.jsx(pe.Fragment,{children:pe.jsxs("div",{className:"flex flex-col h-screen",children:[pe.jsxs("main",{className:"flex-grow max-h-[90dvh]",children:[n==="playing"?pe.jsx("h1",{className:"text-4xl text-gray-800",children:"What is this?"}):null,pe.jsxs("div",{"data-name":"pair",className:"flex justify-center space-x-8 mt-8",children:[pe.jsx("button",{onMouseDown:()=>i(r[0]),className:Hi("w-72 border-8 border-gray-800 flex items-center justify-center text-9xl font-bold",{"bg-blue-200 animate-breathe":o===r[0],"h-72":n!=="interlude"}),children:r[0]}),pe.jsx("button",{onMouseDown:()=>i(r[1]),className:Hi("w-72 border-8 border-gray-800 flex items-center justify-center text-9xl font-bold",{"bg-blue-200 animate-breathe":o===r[1],"h-72":n!=="interlude"}),children:r[1]})]}),n=="interlude"?pe.jsx("div",{"data-name":"interlude",className:"flex flex-col items-center justify-center py-24 space-y-8",children:pe.jsx("button",{onMouseDown:s,className:"px-16 py-8 text-8xl text-gray-800 border-8 border-gray-800 p-4 rounded-md",children:"Next"})}):null]}),pe.jsx("footer",{className:"text-gray-800 text-sm text-center",children:e})]})})}function Wi(){const e=Math.floor(Math.random()*gt.length);let n=Math.floor(Math.random()*gt.length);for(;e===n;)n=Math.floor(Math.random()*gt.length);return[gt[e],gt[n]]}var gt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1","2","3","4","5","6","7","8","9","0"];rc(document.getElementById("root")).render(pe.jsx(Qn.StrictMode,{children:pe.jsx(Od,{})})); diff --git a/assets/index-NkkfJZLK.js b/assets/index-NkkfJZLK.js new file mode 100644 index 0000000..998c37f --- /dev/null +++ b/assets/index-NkkfJZLK.js @@ -0,0 +1,510 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function rf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yu={exports:{}},bo={},xu={exports:{}},O={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ir=Symbol.for("react.element"),of=Symbol.for("react.portal"),lf=Symbol.for("react.fragment"),sf=Symbol.for("react.strict_mode"),af=Symbol.for("react.profiler"),uf=Symbol.for("react.provider"),cf=Symbol.for("react.context"),df=Symbol.for("react.forward_ref"),ff=Symbol.for("react.suspense"),pf=Symbol.for("react.memo"),hf=Symbol.for("react.lazy"),Gs=Symbol.iterator;function mf(e){return e===null||typeof e!="object"?null:(e=Gs&&e[Gs]||e["@@iterator"],typeof e=="function"?e:null)}var wu={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Su=Object.assign,ku={};function Kn(e,t,n){this.props=e,this.context=t,this.refs=ku,this.updater=n||wu}Kn.prototype.isReactComponent={};Kn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Cu(){}Cu.prototype=Kn.prototype;function Jl(e,t,n){this.props=e,this.context=t,this.refs=ku,this.updater=n||wu}var Zl=Jl.prototype=new Cu;Zl.constructor=Jl;Su(Zl,Kn.prototype);Zl.isPureReactComponent=!0;var Ys=Array.isArray,_u=Object.prototype.hasOwnProperty,ql={current:null},Eu={key:!0,ref:!0,__self:!0,__source:!0};function ju(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)_u.call(t,r)&&!Eu.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,M=S[T];if(0>>1;To(Ge,z))Beo(ut,Ge)?(S[T]=ut,S[Be]=z,T=Be):(S[T]=Ge,S[le]=z,T=le);else if(Beo(ut,z))S[T]=ut,S[Be]=z,T=Be;else break e}}return N}function o(S,N){var z=S.sortIndex-N.sortIndex;return z!==0?z:S.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],c=[],d=1,p=null,f=3,g=!1,y=!1,w=!1,_=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(S){for(var N=n(c);N!==null;){if(N.callback===null)r(c);else if(N.startTime<=S)r(c),N.sortIndex=N.expirationTime,t(a,N);else break;N=n(c)}}function x(S){if(w=!1,v(S),!y)if(n(a)!==null)y=!0,B(P);else{var N=n(c);N!==null&&re(x,N.startTime-S)}}function P(S,N){y=!1,w&&(w=!1,m(R),R=-1),g=!0;var z=f;try{for(v(N),p=n(a);p!==null&&(!(p.expirationTime>N)||S&&!I());){var T=p.callback;if(typeof T=="function"){p.callback=null,f=p.priorityLevel;var M=T(p.expirationTime<=N);N=e.unstable_now(),typeof M=="function"?p.callback=M:p===n(a)&&r(a),v(N)}else r(a);p=n(a)}if(p!==null)var q=!0;else{var le=n(c);le!==null&&re(x,le.startTime-N),q=!1}return q}finally{p=null,f=z,g=!1}}var C=!1,j=null,R=-1,k=5,L=-1;function I(){return!(e.unstable_now()-LS||125T?(S.sortIndex=z,t(c,S),n(a)===null&&S===n(c)&&(w?(m(R),R=-1):w=!0,re(x,z-T))):(S.sortIndex=M,t(a,S),y||g||(y=!0,B(P))),S},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(S){var N=f;return function(){var z=f;f=N;try{return S.apply(this,arguments)}finally{f=z}}}})(zu);$u.exports=zu;var jf=$u.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Pf=F,Oe=jf;function E(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),tl=Object.prototype.hasOwnProperty,Rf=/^[: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]*$/,Js={},Zs={};function Lf(e){return tl.call(Zs,e)?!0:tl.call(Js,e)?!1:Rf.test(e)?Zs[e]=!0:(Js[e]=!0,!1)}function $f(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zf(e,t,n,r){if(t===null||typeof t>"u"||$f(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function je(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){he[e]=new je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];he[t]=new je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){he[e]=new je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){he[e]=new je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){he[e]=new je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){he[e]=new je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){he[e]=new je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){he[e]=new je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){he[e]=new je(e,5,!1,e.toLowerCase(),null,!1,!1)});var es=/[\-:]([a-z])/g;function ts(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(es,ts);he[t]=new je(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(es,ts);he[t]=new je(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(es,ts);he[t]=new je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){he[e]=new je(e,1,!1,e.toLowerCase(),null,!1,!1)});he.xlinkHref=new je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){he[e]=new je(e,1,!1,e.toLowerCase(),null,!0,!0)});function ns(e,t,n,r){var o=he.hasOwnProperty(t)?he[t]:null;(o!==null?o.type!==0:r||!(2s||o[l]!==i[s]){var a=` +`+o[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{Ei=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?rr(e):""}function Nf(e){switch(e.tag){case 5:return rr(e.type);case 16:return rr("Lazy");case 13:return rr("Suspense");case 19:return rr("SuspenseList");case 0:case 2:case 15:return e=ji(e.type,!1),e;case 11:return e=ji(e.type.render,!1),e;case 1:return e=ji(e.type,!0),e;default:return""}}function il(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case pn:return"Fragment";case fn:return"Portal";case nl:return"Profiler";case rs:return"StrictMode";case rl:return"Suspense";case ol:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Fu:return(e.displayName||"Context")+".Consumer";case Mu:return(e._context.displayName||"Context")+".Provider";case os:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case is:return t=e.displayName||null,t!==null?t:il(e.type)||"Memo";case Ct:t=e._payload,e=e._init;try{return il(e(t))}catch{}}return null}function Mf(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return il(t);case 8:return t===rs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Dt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Iu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ff(e){var t=Iu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Qr(e){e._valueTracker||(e._valueTracker=Ff(e))}function Ou(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Iu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Eo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ll(e,t){var n=t.checked;return te({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function bs(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Dt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Du(e,t){t=t.checked,t!=null&&ns(e,"checked",t,!1)}function sl(e,t){Du(e,t);var n=Dt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?al(e,t.type,n):t.hasOwnProperty("defaultValue")&&al(e,t.type,Dt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ea(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function al(e,t,n){(t!=="number"||Eo(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var or=Array.isArray;function jn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Gr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var sr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Tf=["Webkit","ms","Moz","O"];Object.keys(sr).forEach(function(e){Tf.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sr[t]=sr[e]})});function Hu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||sr.hasOwnProperty(e)&&sr[e]?(""+t).trim():t+"px"}function Vu(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Hu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var If=te({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function dl(e,t){if(t){if(If[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(E(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(E(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(E(61))}if(t.style!=null&&typeof t.style!="object")throw Error(E(62))}}function fl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var pl=null;function ls(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hl=null,Pn=null,Rn=null;function ra(e){if(e=Ur(e)){if(typeof hl!="function")throw Error(E(280));var t=e.stateNode;t&&(t=oi(t),hl(e.stateNode,e.type,t))}}function Wu(e){Pn?Rn?Rn.push(e):Rn=[e]:Pn=e}function Ku(){if(Pn){var e=Pn,t=Rn;if(Rn=Pn=null,ra(e),t)for(e=0;e>>=0,e===0?32:31-(Gf(e)/Yf|0)|0}var Yr=64,Xr=4194304;function ir(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Lo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~o;s!==0?r=ir(s):(i&=l,i!==0&&(r=ir(i)))}else l=n&~o,l!==0?r=ir(l):i!==0&&(r=ir(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Or(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-qe(t),e[t]=n}function qf(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=ur),fa=" ",pa=!1;function dc(e,t){switch(e){case"keyup":return jp.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var hn=!1;function Rp(e,t){switch(e){case"compositionend":return fc(t);case"keypress":return t.which!==32?null:(pa=!0,fa);case"textInput":return e=t.data,e===fa&&pa?null:e;default:return null}}function Lp(e,t){if(hn)return e==="compositionend"||!hs&&dc(e,t)?(e=uc(),mo=ds=Pt=null,hn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ga(n)}}function vc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gc(){for(var e=window,t=Eo();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Eo(e.document)}return t}function ms(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Dp(e){var t=gc(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vc(n.ownerDocument.documentElement,n)){if(r!==null&&ms(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=ya(n,i);var l=ya(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,mn=null,wl=null,dr=null,Sl=!1;function xa(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sl||mn==null||mn!==Eo(r)||(r=mn,"selectionStart"in r&&ms(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),dr&&jr(dr,r)||(dr=r,r=No(wl,"onSelect"),0yn||(e.current=Pl[yn],Pl[yn]=null,yn--)}function W(e,t){yn++,Pl[yn]=e.current,e.current=t}var Ut={},Se=At(Ut),$e=At(!1),bt=Ut;function Fn(e,t){var n=e.type.contextTypes;if(!n)return Ut;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function Fo(){X($e),X(Se)}function ja(e,t,n){if(Se.current!==Ut)throw Error(E(168));W(Se,t),W($e,n)}function jc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(E(108,Mf(e)||"Unknown",o));return te({},n,r)}function To(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ut,bt=Se.current,W(Se,e),W($e,$e.current),!0}function Pa(e,t,n){var r=e.stateNode;if(!r)throw Error(E(169));n?(e=jc(e,t,bt),r.__reactInternalMemoizedMergedChildContext=e,X($e),X(Se),W(Se,e)):X($e),W($e,n)}var ft=null,ii=!1,Bi=!1;function Pc(e){ft===null?ft=[e]:ft.push(e)}function Jp(e){ii=!0,Pc(e)}function Ht(){if(!Bi&&ft!==null){Bi=!0;var e=0,t=H;try{var n=ft;for(H=1;e>=l,o-=l,pt=1<<32-qe(t)+o|n<R?(k=j,j=null):k=j.sibling;var L=f(m,j,v[R],x);if(L===null){j===null&&(j=k);break}e&&j&&L.alternate===null&&t(m,j),h=i(L,h,R),C===null?P=L:C.sibling=L,C=L,j=k}if(R===v.length)return n(m,j),Z&&Vt(m,R),P;if(j===null){for(;RR?(k=j,j=null):k=j.sibling;var I=f(m,j,L.value,x);if(I===null){j===null&&(j=k);break}e&&j&&I.alternate===null&&t(m,j),h=i(I,h,R),C===null?P=I:C.sibling=I,C=I,j=k}if(L.done)return n(m,j),Z&&Vt(m,R),P;if(j===null){for(;!L.done;R++,L=v.next())L=p(m,L.value,x),L!==null&&(h=i(L,h,R),C===null?P=L:C.sibling=L,C=L);return Z&&Vt(m,R),P}for(j=r(m,j);!L.done;R++,L=v.next())L=g(j,m,R,L.value,x),L!==null&&(e&&L.alternate!==null&&j.delete(L.key===null?R:L.key),h=i(L,h,R),C===null?P=L:C.sibling=L,C=L);return e&&j.forEach(function(A){return t(m,A)}),Z&&Vt(m,R),P}function _(m,h,v,x){if(typeof v=="object"&&v!==null&&v.type===pn&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Kr:e:{for(var P=v.key,C=h;C!==null;){if(C.key===P){if(P=v.type,P===pn){if(C.tag===7){n(m,C.sibling),h=o(C,v.props.children),h.return=m,m=h;break e}}else if(C.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Ct&&$a(P)===C.type){n(m,C.sibling),h=o(C,v.props),h.ref=er(m,C,v),h.return=m,m=h;break e}n(m,C);break}else t(m,C);C=C.sibling}v.type===pn?(h=qt(v.props.children,m.mode,x,v.key),h.return=m,m=h):(x=Co(v.type,v.key,v.props,null,m.mode,x),x.ref=er(m,h,v),x.return=m,m=x)}return l(m);case fn:e:{for(C=v.key;h!==null;){if(h.key===C)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){n(m,h.sibling),h=o(h,v.children||[]),h.return=m,m=h;break e}else{n(m,h);break}else t(m,h);h=h.sibling}h=Yi(v,m.mode,x),h.return=m,m=h}return l(m);case Ct:return C=v._init,_(m,h,C(v._payload),x)}if(or(v))return y(m,h,v,x);if(Xn(v))return w(m,h,v,x);no(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,h!==null&&h.tag===6?(n(m,h.sibling),h=o(h,v),h.return=m,m=h):(n(m,h),h=Gi(v,m.mode,x),h.return=m,m=h),l(m)):n(m,h)}return _}var In=zc(!0),Nc=zc(!1),Do=At(null),Uo=null,Sn=null,xs=null;function ws(){xs=Sn=Uo=null}function Ss(e){var t=Do.current;X(Do),e._currentValue=t}function $l(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function $n(e,t){Uo=e,xs=Sn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Le=!0),e.firstContext=null)}function Ke(e){var t=e._currentValue;if(xs!==e)if(e={context:e,memoizedValue:t,next:null},Sn===null){if(Uo===null)throw Error(E(308));Sn=e,Uo.dependencies={lanes:0,firstContext:e}}else Sn=Sn.next=e;return t}var Yt=null;function ks(e){Yt===null?Yt=[e]:Yt.push(e)}function Mc(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ks(t)):(n.next=o.next,o.next=n),t.interleaved=n,yt(e,r)}function yt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var _t=!1;function Cs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function mt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,U&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,yt(e,n)}return o=r.interleaved,o===null?(t.next=t,ks(r)):(t.next=o.next,o.next=t),r.interleaved=t,yt(e,n)}function go(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,as(e,n)}}function za(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Bo(e,t,n,r){var o=e.updateQueue;_t=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var a=s,c=a.next;a.next=null,l===null?i=c:l.next=c,l=a;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==l&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=a))}if(i!==null){var p=o.baseState;l=0,d=c=a=null,s=i;do{var f=s.lane,g=s.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var y=e,w=s;switch(f=t,g=n,w.tag){case 1:if(y=w.payload,typeof y=="function"){p=y.call(g,p,f);break e}p=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=w.payload,f=typeof y=="function"?y.call(g,p,f):y,f==null)break e;p=te({},p,f);break e;case 2:_t=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[s]:f.push(s))}else g={eventTime:g,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=g,a=p):d=d.next=g,l|=f;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;f=s,s=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(d===null&&(a=p),o.baseState=a,o.firstBaseUpdate=c,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);nn|=l,e.lanes=l,e.memoizedState=p}}function Na(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Hi.transition;Hi.transition={};try{e(!1),t()}finally{H=n,Hi.transition=r}}function Zc(){return Qe().memoizedState}function eh(e,t,n){var r=Tt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qc(e))bc(t,n);else if(n=Mc(e,t,n,r),n!==null){var o=_e();be(n,e,r,o),ed(n,t,r)}}function th(e,t,n){var r=Tt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qc(e))bc(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,n);if(o.hasEagerState=!0,o.eagerState=s,et(s,l)){var a=t.interleaved;a===null?(o.next=o,ks(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Mc(e,t,o,r),n!==null&&(o=_e(),be(n,e,r,o),ed(n,t,r))}}function qc(e){var t=e.alternate;return e===ee||t!==null&&t===ee}function bc(e,t){fr=Ho=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ed(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,as(e,n)}}var Vo={readContext:Ke,useCallback:ve,useContext:ve,useEffect:ve,useImperativeHandle:ve,useInsertionEffect:ve,useLayoutEffect:ve,useMemo:ve,useReducer:ve,useRef:ve,useState:ve,useDebugValue:ve,useDeferredValue:ve,useTransition:ve,useMutableSource:ve,useSyncExternalStore:ve,useId:ve,unstable_isNewReconciler:!1},nh={readContext:Ke,useCallback:function(e,t){return ot().memoizedState=[e,t===void 0?null:t],e},useContext:Ke,useEffect:Fa,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xo(4194308,4,Qc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xo(4194308,4,e,t)},useInsertionEffect:function(e,t){return xo(4,2,e,t)},useMemo:function(e,t){var n=ot();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ot();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=eh.bind(null,ee,e),[r.memoizedState,e]},useRef:function(e){var t=ot();return e={current:e},t.memoizedState=e},useState:Ma,useDebugValue:zs,useDeferredValue:function(e){return ot().memoizedState=e},useTransition:function(){var e=Ma(!1),t=e[0];return e=bp.bind(null,e[1]),ot().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ee,o=ot();if(Z){if(n===void 0)throw Error(E(407));n=n()}else{if(n=t(),de===null)throw Error(E(349));tn&30||Dc(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Fa(Bc.bind(null,r,i,e),[e]),r.flags|=2048,Fr(9,Uc.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=ot(),t=de.identifierPrefix;if(Z){var n=ht,r=pt;n=(r&~(1<<32-qe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Nr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[lt]=t,e[Lr]=r,cd(e,t,!1,!1),t.stateNode=e;e:{switch(l=fl(n,r),n){case"dialog":G("cancel",e),G("close",e),o=r;break;case"iframe":case"object":case"embed":G("load",e),o=r;break;case"video":case"audio":for(o=0;oUn&&(t.flags|=128,r=!0,tr(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ao(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),tr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!Z)return ge(t),null}else 2*oe()-i.renderingStartTime>Un&&n!==1073741824&&(t.flags|=128,r=!0,tr(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=oe(),t.sibling=null,n=b.current,W(b,r?n&1|2:n&1),t):(ge(t),null);case 22:case 23:return Os(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Fe&1073741824&&(ge(t),t.subtreeFlags&6&&(t.flags|=8192)):ge(t),null;case 24:return null;case 25:return null}throw Error(E(156,t.tag))}function ch(e,t){switch(gs(t),t.tag){case 1:return ze(t.type)&&Fo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return On(),X($e),X(Se),js(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Es(t),null;case 13:if(X(b),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(E(340));Tn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return X(b),null;case 4:return On(),null;case 10:return Ss(t.type._context),null;case 22:case 23:return Os(),null;case 24:return null;default:return null}}var oo=!1,xe=!1,dh=typeof WeakSet=="function"?WeakSet:Set,$=null;function kn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ne(e,t,r)}else n.current=null}function Ul(e,t,n){try{n()}catch(r){ne(e,t,r)}}var Ka=!1;function fh(e,t){if(kl=$o,e=gc(),ms(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,c=0,d=0,p=e,f=null;t:for(;;){for(var g;p!==n||o!==0&&p.nodeType!==3||(s=l+o),p!==i||r!==0&&p.nodeType!==3||(a=l+r),p.nodeType===3&&(l+=p.nodeValue.length),(g=p.firstChild)!==null;)f=p,p=g;for(;;){if(p===e)break t;if(f===n&&++c===o&&(s=l),f===i&&++d===r&&(a=l),(g=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cl={focusedElem:e,selectionRange:n},$o=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var w=y.memoizedProps,_=y.memoizedState,m=t.stateNode,h=m.getSnapshotBeforeUpdate(t.elementType===t.type?w:Xe(t.type,w),_);m.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(E(163))}}catch(x){ne(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return y=Ka,Ka=!1,y}function pr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ul(t,n,i)}o=o.next}while(o!==r)}}function ai(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Bl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function pd(e){var t=e.alternate;t!==null&&(e.alternate=null,pd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[lt],delete t[Lr],delete t[jl],delete t[Yp],delete t[Xp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function hd(e){return e.tag===5||e.tag===3||e.tag===4}function Qa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||hd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Al(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Mo));else if(r!==4&&(e=e.child,e!==null))for(Al(e,t,n),e=e.sibling;e!==null;)Al(e,t,n),e=e.sibling}function Hl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Hl(e,t,n),e=e.sibling;e!==null;)Hl(e,t,n),e=e.sibling}var fe=null,Je=!1;function kt(e,t,n){for(n=n.child;n!==null;)md(e,t,n),n=n.sibling}function md(e,t,n){if(st&&typeof st.onCommitFiberUnmount=="function")try{st.onCommitFiberUnmount(ei,n)}catch{}switch(n.tag){case 5:xe||kn(n,t);case 6:var r=fe,o=Je;fe=null,kt(e,t,n),fe=r,Je=o,fe!==null&&(Je?(e=fe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):fe.removeChild(n.stateNode));break;case 18:fe!==null&&(Je?(e=fe,n=n.stateNode,e.nodeType===8?Ui(e.parentNode,n):e.nodeType===1&&Ui(e,n),_r(e)):Ui(fe,n.stateNode));break;case 4:r=fe,o=Je,fe=n.stateNode.containerInfo,Je=!0,kt(e,t,n),fe=r,Je=o;break;case 0:case 11:case 14:case 15:if(!xe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Ul(n,t,l),o=o.next}while(o!==r)}kt(e,t,n);break;case 1:if(!xe&&(kn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ne(n,t,s)}kt(e,t,n);break;case 21:kt(e,t,n);break;case 22:n.mode&1?(xe=(r=xe)||n.memoizedState!==null,kt(e,t,n),xe=r):kt(e,t,n);break;default:kt(e,t,n)}}function Ga(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new dh),t.forEach(function(r){var o=Sh.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ye(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=oe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hh(r/1960))-r,10e?16:e,Rt===null)var r=!1;else{if(e=Rt,Rt=null,Qo=0,U&6)throw Error(E(331));var o=U;for(U|=4,$=e.current;$!==null;){var i=$,l=i.child;if($.flags&16){var s=i.deletions;if(s!==null){for(var a=0;aoe()-Ts?Zt(e,0):Fs|=n),Ne(e,t)}function Cd(e,t){t===0&&(e.mode&1?(t=Xr,Xr<<=1,!(Xr&130023424)&&(Xr=4194304)):t=1);var n=_e();e=yt(e,t),e!==null&&(Or(e,t,n),Ne(e,n))}function wh(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Cd(e,n)}function Sh(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(E(314))}r!==null&&r.delete(t),Cd(e,n)}var _d;_d=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||$e.current)Le=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Le=!1,ah(e,t,n);Le=!!(e.flags&131072)}else Le=!1,Z&&t.flags&1048576&&Rc(t,Oo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;wo(e,t),e=t.pendingProps;var o=Fn(t,Se.current);$n(t,n),o=Rs(null,t,r,e,o,n);var i=Ls();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(i=!0,To(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Cs(t),o.updater=si,t.stateNode=o,o._reactInternals=t,Nl(t,r,e,n),t=Tl(null,t,r,!0,i,n)):(t.tag=0,Z&&i&&vs(t),ke(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(wo(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Ch(r),e=Xe(r,e),o){case 0:t=Fl(null,t,r,e,n);break e;case 1:t=Ha(null,t,r,e,n);break e;case 11:t=Ba(null,t,r,e,n);break e;case 14:t=Aa(null,t,r,Xe(r.type,e),n);break e}throw Error(E(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xe(r,o),Fl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xe(r,o),Ha(e,t,r,o,n);case 3:e:{if(sd(t),e===null)throw Error(E(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Fc(e,t),Bo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Dn(Error(E(423)),t),t=Va(e,t,r,n,o);break e}else if(r!==o){o=Dn(Error(E(424)),t),t=Va(e,t,r,n,o);break e}else for(Te=Nt(t.stateNode.containerInfo.firstChild),Ie=t,Z=!0,Ze=null,n=Nc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Tn(),r===o){t=xt(e,t,n);break e}ke(e,t,r,n)}t=t.child}return t;case 5:return Tc(t),e===null&&Ll(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,_l(r,o)?l=null:i!==null&&_l(r,i)&&(t.flags|=32),ld(e,t),ke(e,t,l,n),t.child;case 6:return e===null&&Ll(t),null;case 13:return ad(e,t,n);case 4:return _s(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=In(t,null,r,n):ke(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xe(r,o),Ba(e,t,r,o,n);case 7:return ke(e,t,t.pendingProps,n),t.child;case 8:return ke(e,t,t.pendingProps.children,n),t.child;case 12:return ke(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,W(Do,r._currentValue),r._currentValue=l,i!==null)if(et(i.value,l)){if(i.children===o.children&&!$e.current){t=xt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){l=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=mt(-1,n&-n),a.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var d=c.pending;d===null?a.next=a:(a.next=d.next,d.next=a),c.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),$l(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(E(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),$l(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}ke(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,$n(t,n),o=Ke(o),r=r(o),t.flags|=1,ke(e,t,r,n),t.child;case 14:return r=t.type,o=Xe(r,t.pendingProps),o=Xe(r.type,o),Aa(e,t,r,o,n);case 15:return od(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xe(r,o),wo(e,t),t.tag=1,ze(r)?(e=!0,To(t)):e=!1,$n(t,n),td(t,r,o),Nl(t,r,o,n),Tl(null,t,r,!0,e,n);case 19:return ud(e,t,n);case 22:return id(e,t,n)}throw Error(E(156,t.tag))};function Ed(e,t){return qu(e,t)}function kh(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ve(e,t,n,r){return new kh(e,t,n,r)}function Us(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ch(e){if(typeof e=="function")return Us(e)?1:0;if(e!=null){if(e=e.$$typeof,e===os)return 11;if(e===is)return 14}return 2}function It(e,t){var n=e.alternate;return n===null?(n=Ve(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Co(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Us(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case pn:return qt(n.children,o,i,t);case rs:l=8,o|=8;break;case nl:return e=Ve(12,n,t,o|2),e.elementType=nl,e.lanes=i,e;case rl:return e=Ve(13,n,t,o),e.elementType=rl,e.lanes=i,e;case ol:return e=Ve(19,n,t,o),e.elementType=ol,e.lanes=i,e;case Tu:return ci(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Mu:l=10;break e;case Fu:l=9;break e;case os:l=11;break e;case is:l=14;break e;case Ct:l=16,r=null;break e}throw Error(E(130,e==null?e:typeof e,""))}return t=Ve(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function qt(e,t,n,r){return e=Ve(7,e,r,t),e.lanes=n,e}function ci(e,t,n,r){return e=Ve(22,e,r,t),e.elementType=Tu,e.lanes=n,e.stateNode={isHidden:!1},e}function Gi(e,t,n){return e=Ve(6,e,null,t),e.lanes=n,e}function Yi(e,t,n){return t=Ve(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function _h(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ri(0),this.expirationTimes=Ri(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ri(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bs(e,t,n,r,o,i,l,s,a){return e=new _h(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ve(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cs(i),e}function Eh(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ld)}catch(e){console.error(e)}}Ld(),Lu.exports=De;var $d=Lu.exports,tu=$d;el.createRoot=tu.createRoot,el.hydrateRoot=tu.hydrateRoot;const nu="pushstate",ru="popstate",zd="beforeunload",Nd=e=>(e.preventDefault(),e.returnValue=""),$h=()=>{removeEventListener(zd,Nd,{capture:!0})};function Md(e){let t=e.getLocation();const n=new Set;let r=[];const o=()=>{t=e.getLocation(),n.forEach(l=>l())},i=async(l,s)=>{var a;if(!((s==null?void 0:s.ignoreBlocker)??!1)&&typeof document<"u"&&r.length){for(const d of r)if(!await d()){(a=e.onBlocked)==null||a.call(e,o);return}}l()};return{get location(){return t},subscribers:n,subscribe:l=>(n.add(l),()=>{n.delete(l)}),push:(l,s,a)=>{s=vr(s),i(()=>{e.pushState(l,s),o()},a)},replace:(l,s,a)=>{s=vr(s),i(()=>{e.replaceState(l,s),o()},a)},go:(l,s)=>{i(()=>{e.go(l),o()},s)},back:l=>{i(()=>{e.back(),o()},l)},forward:l=>{i(()=>{e.forward(),o()},l)},createHref:l=>e.createHref(l),block:l=>(r.push(l),r.length===1&&addEventListener(zd,Nd,{capture:!0}),()=>{r=r.filter(s=>s!==l),r.length||$h()}),flush:()=>{var l;return(l=e.flush)==null?void 0:l.call(e)},destroy:()=>{var l;return(l=e.destroy)==null?void 0:l.call(e)},notify:o}}function vr(e){return e||(e={}),{...e,key:Fd()}}function zh(e){const t=typeof document<"u"?window:void 0,n=t.history.pushState,r=t.history.replaceState,o=w=>w,i=()=>Xo(`${t.location.pathname}${t.location.search}${t.location.hash}`,t.history.state);let l=i(),s;const a=()=>l;let c,d;const p=()=>{c&&(y._ignoreSubscribers=!0,(c.isPush?t.history.pushState:t.history.replaceState)(c.state,"",c.href),y._ignoreSubscribers=!1,c=void 0,d=void 0,s=void 0)},f=(w,_,m)=>{const h=o(_);d||(s=l),l=Xo(_,m),c={href:h,state:m,isPush:(c==null?void 0:c.isPush)||w==="push"},d||(d=Promise.resolve().then(()=>p()))},g=()=>{l=i(),y.notify()},y=Md({getLocation:a,pushState:(w,_)=>f("push",w,_),replaceState:(w,_)=>f("replace",w,_),back:()=>t.history.back(),forward:()=>t.history.forward(),go:w=>t.history.go(w),createHref:w=>o(w),flush:p,destroy:()=>{t.history.pushState=n,t.history.replaceState=r,t.removeEventListener(nu,g),t.removeEventListener(ru,g)},onBlocked:w=>{s&&l!==s&&(l=s,w())}});return t.addEventListener(nu,g),t.addEventListener(ru,g),t.history.pushState=function(...w){const _=n.apply(t.history,w);return y._ignoreSubscribers||g(),_},t.history.replaceState=function(...w){const _=r.apply(t.history,w);return y._ignoreSubscribers||g(),_},y}function Nh(e={initialEntries:["/"]}){const t=e.initialEntries;let n=e.initialIndex??t.length-1,r={key:Fd()};return Md({getLocation:()=>Xo(t[n],r),pushState:(i,l)=>{r=l,t.splice,n{r=l,t[n]=i},back:()=>{r=vr(r),n=Math.max(n-1,0)},forward:()=>{r=vr(r),n=Math.min(n+1,t.length-1)},go:i=>{r=vr(r),n=Math.min(Math.max(n+i,0),t.length-1)},createHref:i=>i})}function Xo(e,t){const n=e.indexOf("#"),r=e.indexOf("?");return{href:e,pathname:e.substring(0,n>0?r>0?Math.min(n,r):n:r>0?r:e.length),hash:n>-1?e.substring(n):"",search:r>-1?e.slice(r,n===-1?void 0:n):"",state:t||{}}}function Fd(){return(Math.random()+1).toString(36).substring(7)}var Mh="Invariant failed";function Ce(e,t){if(!e)throw new Error(Mh)}const Xi=F.createContext(null);function Td(){return typeof document>"u"?Xi:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=Xi,Xi)}function St(e){const t=F.useContext(Td());return e==null||e.warn,t}var Id={exports:{}},Od={},Dd={exports:{}},Ud={};/** + * @license React + * use-sync-external-store-shim.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Bn=F;function Fh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Th=typeof Object.is=="function"?Object.is:Fh,Ih=Bn.useState,Oh=Bn.useEffect,Dh=Bn.useLayoutEffect,Uh=Bn.useDebugValue;function Bh(e,t){var n=t(),r=Ih({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return Dh(function(){o.value=n,o.getSnapshot=t,Ji(o)&&i({inst:o})},[e,n,t]),Oh(function(){return Ji(o)&&i({inst:o}),e(function(){Ji(o)&&i({inst:o})})},[e]),Uh(n),n}function Ji(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Th(e,n)}catch{return!0}}function Ah(e,t){return t()}var Hh=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Ah:Bh;Ud.useSyncExternalStore=Bn.useSyncExternalStore!==void 0?Bn.useSyncExternalStore:Hh;Dd.exports=Ud;var Vh=Dd.exports;/** + * @license React + * use-sync-external-store-shim/with-selector.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var mi=F,Wh=Vh;function Kh(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Qh=typeof Object.is=="function"?Object.is:Kh,Gh=Wh.useSyncExternalStore,Yh=mi.useRef,Xh=mi.useEffect,Jh=mi.useMemo,Zh=mi.useDebugValue;Od.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=Yh(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=Jh(function(){function a(g){if(!c){if(c=!0,d=g,g=r(g),o!==void 0&&l.hasValue){var y=l.value;if(o(y,g))return p=y}return p=g}if(y=p,Qh(d,g))return y;var w=r(g);return o!==void 0&&o(y,w)?y:(d=g,p=w)}var c=!1,d,p,f=n===void 0?null:n;return[function(){return a(t())},f===null?void 0:function(){return a(f())}]},[t,n,r,o]);var s=Gh(e,i[0],i[1]);return Xh(function(){l.hasValue=!0,l.value=s},[s]),Zh(s),s};Id.exports=Od;var qh=Id.exports;class bh{constructor(t,n){this.listeners=new Set,this._batching=!1,this._flushing=0,this.subscribe=r=>{var o,i;this.listeners.add(r);const l=(i=(o=this.options)==null?void 0:o.onSubscribe)==null?void 0:i.call(o,r,this);return()=>{this.listeners.delete(r),l==null||l()}},this.setState=r=>{var o,i,l;const s=this.state;this.state=(o=this.options)!=null&&o.updateFn?this.options.updateFn(s)(r):r(s),(l=(i=this.options)==null?void 0:i.onUpdate)==null||l.call(i),this._flush()},this._flush=()=>{if(this._batching)return;const r=++this._flushing;this.listeners.forEach(o=>{this._flushing===r&&o()})},this.batch=r=>{if(this._batching)return r();this._batching=!0,r(),this._batching=!1,this._flush()},this.state=t,this.options=n}}function e0(e,t=n=>n){return qh.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,t,t0)}function t0(e,t){if(Object.is(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r=0;r{t.substring(0,1)==="?"&&(t=t.substring(1));const n=r0(t);for(const r in n){const o=n[r];if(typeof o=="string")try{n[r]=e(o)}catch{}}return n}}function s0(e,t){function n(r){if(typeof r=="object"&&r!==null)try{return e(r)}catch{}else if(typeof r=="string"&&typeof t=="function")try{return t(r),e(r)}catch{}return r}return r=>{r={...r},Object.keys(r).forEach(i=>{const l=r[i];typeof l>"u"||l===void 0?delete r[i]:r[i]=n(l)});const o=n0(r).toString();return o?`?${o}`:""}}function gr(e){return e[e.length-1]}function a0(e){return typeof e=="function"}function _n(e,t){return a0(e)?e(t):e}function yr(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function un(e,t){if(e===t)return e;const n=t,r=lu(e)&&lu(n);if(r||An(e)&&An(n)){const o=r?e:Object.keys(e),i=o.length,l=r?n:Object.keys(n),s=l.length,a=r?[]:{};let c=0;for(let d=0;d"u")return!0;const n=t.prototype;return!(!iu(n)||!n.hasOwnProperty("isPrototypeOf"))}function iu(e){return Object.prototype.toString.call(e)==="[object Object]"}function lu(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Nn(e,t,n=!1){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(An(e)&&An(t)){const r=Object.keys(e).filter(i=>e[i]!==void 0),o=Object.keys(t).filter(i=>t[i]!==void 0);return!n&&r.length!==o.length?!1:!o.some(i=>!(i in e)||!Nn(e[i],t[i],n))}return Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:!e.some((r,o)=>!Nn(r,t[o],n)):!1}const Zi=typeof window<"u"?F.useLayoutEffect:F.useEffect;function cn(e){let t,n;const r=new Promise((o,i)=>{t=o,n=i});return r.status="pending",r.resolve=o=>{r.status="resolved",r.value=o,t(o),e==null||e(o)},r.reject=o=>{r.status="rejected",n(o)},r}function su(e){const t=F.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function u0(e,t,n={},r={}){const o=F.useRef(typeof IntersectionObserver=="function"),i=F.useRef(null);return F.useEffect(()=>{if(!(!e.current||!o.current||r.disabled))return i.current=new IntersectionObserver(([l])=>{t(l)},n),i.current.observe(e.current),()=>{var l;(l=i.current)==null||l.disconnect()}},[t,n,r.disabled,e]),i.current}function c0(e){const t=F.useRef(null);return F.useEffect(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)}),t}function Ot(e){return vi(e.filter(t=>t!==void 0).join("/"))}function vi(e){return e.replace(/\/{2,}/g,"/")}function Ws(e){return e==="/"?e:e.replace(/^\/{1,}/,"")}function Jt(e){return e==="/"?e:e.replace(/\/{1,}$/,"")}function Gl(e){return Jt(Ws(e))}function Jo(e,t){return e.endsWith("/")&&e!=="/"&&e!==`${t}/`?e.slice(0,-1):e}function d0(e,t,n){return Jo(e,n)===Jo(t,n)}function f0({basepath:e,base:t,to:n,trailingSlash:r="never"}){var o,i;t=Zo(e,t),n=Zo(e,n);let l=Hn(t);const s=Hn(n);l.length>1&&((o=gr(l))==null?void 0:o.value)==="/"&&l.pop(),s.forEach((c,d)=>{c.value==="/"?d?d===s.length-1&&l.push(c):l=[c]:c.value===".."?l.pop():c.value==="."||l.push(c)}),l.length>1&&(((i=gr(l))==null?void 0:i.value)==="/"?r==="never"&&l.pop():r==="always"&&l.push({type:"pathname",value:"/"}));const a=Ot([e,...l.map(c=>c.value)]);return vi(a)}function Hn(e){if(!e)return[];e=vi(e);const t=[];if(e.slice(0,1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),!e)return t;const n=e.split("/").filter(Boolean);return t.push(...n.map(r=>r==="$"||r==="*"?{type:"wildcard",value:r}:r.charAt(0)==="$"?{type:"param",value:r}:{type:"pathname",value:decodeURI(r)})),e.slice(-1)==="/"&&(e=e.substring(1),t.push({type:"pathname",value:"/"})),t}function qi({path:e,params:t,leaveWildcards:n,leaveParams:r}){const o=Hn(e),i={};for(const[l,s]of Object.entries(t)){const a=typeof s=="string";["*","_splat"].includes(l)?i[l]=a?encodeURI(s):s:i[l]=a?encodeURIComponent(s):s}return Ot(o.map(l=>{if(l.type==="wildcard"){const s=i._splat;return n?`${l.value}${s??""}`:s}if(l.type==="param"){if(r){const s=i[l.value];return`${l.value}${s??""}`}return i[l.value.substring(1)]??"undefined"}return l.value}))}function so(e,t,n){const r=p0(e,t,n);if(!(n.to&&!r))return r??{}}function Zo(e,t){switch(!0){case e==="/":return t;case t===e:return"";case t.length{for(let a=0;a=o.length-1,f=a>=i.length-1;if(d){if(d.type==="wildcard"){const g=decodeURI(Ot(o.slice(a).map(y=>y.value)));return l["*"]=g,l._splat=g,!0}if(d.type==="pathname"){if(d.value==="/"&&!(c!=null&&c.value))return!0;if(c){if(n.caseSensitive){if(d.value!==c.value)return!1}else if(d.value.toLowerCase()!==c.value.toLowerCase())return!1}}if(!c)return!1;if(d.type==="param"){if(c.value==="/")return!1;c.value.charAt(0)!=="$"&&(l[d.value.substring(1)]=decodeURIComponent(c.value))}}if(!p&&f)return l["**"]=Ot(o.slice(a+1).map(g=>g.value)),!!n.fuzzy&&(d==null?void 0:d.value)!=="/"}return!0})()?l:void 0}function Kt(e){return!!(e!=null&&e.isRedirect)}function au(e){return!!(e!=null&&e.isRedirect)&&e.href}function Ks(e){const t=e.errorComponent??gi;return u.jsx(h0,{getResetKey:e.getResetKey,onCatch:e.onCatch,children:({error:n,reset:r})=>n?F.createElement(t,{error:n,reset:r}):e.children})}class h0 extends F.Component{constructor(){super(...arguments),this.state={error:null}}static getDerivedStateFromProps(t){return{resetKey:t.getResetKey()}}static getDerivedStateFromError(t){return{error:t}}reset(){this.setState({error:null})}componentDidUpdate(t,n){n.error&&n.resetKey!==this.state.resetKey&&this.reset()}componentDidCatch(t,n){this.props.onCatch&&this.props.onCatch(t,n)}render(){return this.props.children({error:this.state.resetKey!==this.props.getResetKey()?null:this.state.error,reset:()=>{this.reset()}})}}function gi({error:e}){const[t,n]=F.useState(!1);return u.jsxs("div",{style:{padding:".5rem",maxWidth:"100%"},children:[u.jsxs("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[u.jsx("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),u.jsx("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>n(r=>!r),children:t?"Hide Error":"Show Error"})]}),u.jsx("div",{style:{height:".25rem"}}),t?u.jsx("div",{children:u.jsx("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e.message?u.jsx("code",{children:e.message}):null})}):null]})}function we(e){const t=St({warn:(e==null?void 0:e.router)===void 0});return e0(((e==null?void 0:e.router)||t).__store,e==null?void 0:e.select)}function it(e){return!!(e!=null&&e.isNotFound)}function m0(e){const t=we({select:n=>`not-found-${n.location.pathname}-${n.status}`});return u.jsx(Ks,{getResetKey:()=>t,onCatch:(n,r)=>{var o;if(it(n))(o=e.onCatch)==null||o.call(e,n,r);else throw n},errorComponent:({error:n})=>{var r;return(r=e.fallback)==null?void 0:r.call(e,n)},children:e.children})}function v0(){return u.jsx("p",{children:"Not Found"})}const g0={stringify:e=>JSON.stringify(e,function(n,r){const o=this[n],i=uu.find(l=>l.stringifyCondition(o));return i?i.stringify(o):r}),parse:e=>JSON.parse(e,function(n,r){const o=this[n],i=uu.find(l=>l.parseCondition(o));return i?i.parse(o):r})},uu=[{stringifyCondition:e=>e instanceof Date,stringify:e=>({$date:e.toISOString()}),parseCondition:e=>An(e)&&e.$date,parse:e=>new Date(e.$date)},{stringifyCondition:e=>e===void 0,stringify:()=>({$undefined:""}),parseCondition:e=>An(e)&&e.$undefined==="",parse:()=>{}}],y0=["component","errorComponent","pendingComponent","notFoundComponent"];function x0(e){return new w0(e)}class w0{constructor(t){this.tempLocationKey=`${Math.round(Math.random()*1e7)}`,this.resetNextScroll=!0,this.shouldViewTransition=void 0,this.subscribers=new Set,this.startReactTransition=n=>n(),this.update=n=>{n.notFoundRoute&&console.warn("The notFoundRoute API is deprecated and will be removed in the next major version. See https://tanstack.com/router/v1/docs/guide/not-found-errors#migrating-from-notfoundroute for more info.");const r=this.options;this.options={...this.options,...n},this.isServer=this.options.isServer??typeof document>"u",(!this.basepath||n.basepath&&n.basepath!==r.basepath)&&(n.basepath===void 0||n.basepath===""||n.basepath==="/"?this.basepath="/":this.basepath=`/${Gl(n.basepath)}`),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.history=this.options.history??(this.isServer?Nh({initialEntries:[this.basepath||"/"]}):zh()),this.latestLocation=this.parseLocation()),this.options.routeTree!==this.routeTree&&(this.routeTree=this.options.routeTree,this.buildRouteTree()),this.__store||(this.__store=new bh(C0(this.latestLocation),{onUpdate:()=>{this.__store.state={...this.state,cachedMatches:this.state.cachedMatches.filter(o=>!["redirected"].includes(o.status))}}}))},this.buildRouteTree=()=>{this.routesById={},this.routesByPath={};const n=this.options.notFoundRoute;n&&(n.init({originalIndex:99999999999}),this.routesById[n.id]=n);const r=l=>{l.forEach((s,a)=>{s.init({originalIndex:a});const c=this.routesById[s.id];if(Ce(!c,`Duplicate routes found with id: ${String(s.id)}`),this.routesById[s.id]=s,!s.isRoot&&s.path){const p=Jt(s.fullPath);(!this.routesByPath[p]||s.fullPath.endsWith("/"))&&(this.routesByPath[p]=s)}const d=s.children;d!=null&&d.length&&r(d)})};r([this.routeTree]);const o=[];Object.values(this.routesById).forEach((l,s)=>{var a;if(l.isRoot||!l.path)return;const c=Ws(l.fullPath),d=Hn(c);for(;d.length>1&&((a=d[0])==null?void 0:a.value)==="/";)d.shift();const p=d.map(f=>f.value==="/"?.75:f.type==="param"?.5:f.type==="wildcard"?.25:1);o.push({child:l,trimmed:c,parsed:d,index:s,scores:p})}),this.flatRoutes=o.sort((l,s)=>{const a=Math.min(l.scores.length,s.scores.length);for(let c=0;cs.parsed[c].value?1:-1;return l.index-s.index}).map((l,s)=>(l.child.rank=s,l.child))},this.subscribe=(n,r)=>{const o={eventType:n,fn:r};return this.subscribers.add(o),()=>{this.subscribers.delete(o)}},this.emit=n=>{this.subscribers.forEach(r=>{r.eventType===n.type&&r.fn(n)})},this.parseLocation=n=>{const r=({pathname:s,search:a,hash:c,state:d})=>{const p=this.options.parseSearch(a),f=this.options.stringifySearch(p);return{pathname:s,searchStr:f,search:un(n==null?void 0:n.search,p),hash:c.split("#").reverse()[0]??"",href:`${s}${f}${c}`,state:un(n==null?void 0:n.state,d)}},o=r(this.history.location),{__tempLocation:i,__tempKey:l}=o.state;if(i&&(!l||l===this.tempLocationKey)){const s=r(i);return s.state.key=o.state.key,delete s.state.__tempLocation,{...s,maskedLocation:o}}return o},this.resolvePathWithBase=(n,r)=>f0({basepath:this.basepath,base:n,to:vi(r),trailingSlash:this.options.trailingSlash}),this.cancelMatch=n=>{const r=this.getMatch(n);r&&(r.abortController.abort(),clearTimeout(r.pendingTimeout))},this.cancelMatches=()=>{var n;(n=this.state.pendingMatches)==null||n.forEach(r=>{this.cancelMatch(r.id)})},this.buildLocation=n=>{const r=(i={},l)=>{var s,a,c,d;const p=i._fromLocation?this.matchRoutes(i._fromLocation):this.state.matches,f=i.from!=null?p.find(D=>so(this.basepath,Jt(D.pathname),{to:i.from,caseSensitive:!1,fuzzy:!1})):void 0,g=(f==null?void 0:f.pathname)||this.latestLocation.pathname;Ce(i.from==null||f!=null,"Could not find match for from: "+i.from);const y=this.state.pendingMatches?(s=gr(this.state.pendingMatches))==null?void 0:s.search:((a=gr(p))==null?void 0:a.search)||this.latestLocation.search,w=l==null?void 0:l.filter(D=>p.find(K=>K.routeId===D.routeId)),_=this.routesById[(c=w==null?void 0:w.find(D=>D.pathname===g))==null?void 0:c.routeId];let m=i.to?this.resolvePathWithBase(g,`${i.to}`):this.resolvePathWithBase(g,(_==null?void 0:_.to)??g);const h={...(d=gr(p))==null?void 0:d.params};let v=(i.params??!0)===!0?h:{...h,..._n(i.params,h)};Object.keys(v).length>0&&(l==null||l.map(D=>{var K;const B=this.looseRoutesById[D.routeId];return((K=B==null?void 0:B.options.params)==null?void 0:K.stringify)??B.options.stringifyParams}).filter(Boolean).forEach(D=>{v={...v,...D(v)}})),m=qi({path:m,params:v??{},leaveWildcards:!1,leaveParams:n.leaveParams});const x=(w==null?void 0:w.map(D=>this.looseRoutesById[D.routeId].options.preSearchFilters??[]).flat().filter(Boolean))??[],P=(w==null?void 0:w.map(D=>this.looseRoutesById[D.routeId].options.postSearchFilters??[]).flat().filter(Boolean))??[],C=x.length?x.reduce((D,K)=>K(D),y):y,j=i.search===!0?C:i.search?_n(i.search,C):x.length?C:{},R=P.length?P.reduce((D,K)=>K(D),j):j,k=un(y,R),L=this.options.stringifySearch(k),I=i.hash===!0?this.latestLocation.hash:i.hash?_n(i.hash,this.latestLocation.hash):void 0,A=I?`#${I}`:"";let J=i.state===!0?this.latestLocation.state:i.state?_n(i.state,this.latestLocation.state):{};return J=un(this.latestLocation.state,J),{pathname:m,search:k,searchStr:L,state:J,hash:I??"",href:`${m}${L}${A}`,unmaskOnReload:i.unmaskOnReload}},o=(i={},l)=>{var s;const a=r(i);let c=l?r(l):void 0;if(!c){let y={};const w=(s=this.options.routeMasks)==null?void 0:s.find(_=>{const m=so(this.basepath,a.pathname,{to:_.from,caseSensitive:!1,fuzzy:!1});return m?(y=m,!0):!1});if(w){const{from:_,...m}=w;l={...yr(n,["from"]),...m,params:y},c=r(l)}}const d=this.matchRoutes(a),p=c?this.matchRoutes(c):void 0,f=c?r(l,p):void 0,g=r(i,d);return f&&(g.maskedLocation=f),g};return n.mask?o(n,{...yr(n,["from"]),...n.mask}):o(n)},this.commitLocation=({viewTransition:n,ignoreBlocker:r,...o})=>{const i=()=>{o.state.key=this.latestLocation.state.key;const a=Nn(o.state,this.latestLocation.state);return delete o.state.key,a},l=this.latestLocation.href===o.href,s=this.commitLocationPromise;if(this.commitLocationPromise=cn(()=>{s==null||s.resolve()}),l&&i())this.load();else{let{maskedLocation:a,...c}=o;a&&(c={...a,state:{...a.state,__tempKey:void 0,__tempLocation:{...c,search:c.searchStr,state:{...c.state,__tempKey:void 0,__tempLocation:void 0,key:void 0}}}},(c.unmaskOnReload??this.options.unmaskOnReload??!1)&&(c.state.__tempKey=this.tempLocationKey)),this.shouldViewTransition=n,this.history[o.replace?"replace":"push"](c.href,c.state,{ignoreBlocker:r})}return this.resetNextScroll=o.resetScroll??!0,this.history.subscribers.size||this.load(),this.commitLocationPromise},this.buildAndCommitLocation=({replace:n,resetScroll:r,viewTransition:o,ignoreBlocker:i,...l}={})=>{const s=l.href;if(s){const c=Xo(s,{});l.to=c.pathname,l.search=this.options.parseSearch(c.search),l.hash=c.hash}const a=this.buildLocation(l);return this.commitLocation({...a,viewTransition:o,replace:n,resetScroll:r,ignoreBlocker:i})},this.navigate=({to:n,...r})=>{const o=String(n);let i;try{new URL(`${o}`),i=!0}catch{}return Ce(!i),this.buildAndCommitLocation({...r,to:n})},this.load=async()=>{this.latestLocation=this.parseLocation(this.latestLocation);let n,r,o;for(o=new Promise(i=>{this.startReactTransition(async()=>{var l;try{const s=this.latestLocation,a=this.state.resolvedLocation,c=a.href!==s.href;this.cancelMatches();let d;this.__store.batch(()=>{d=this.matchRoutes(s),this.__store.setState(p=>({...p,status:"pending",isLoading:!0,location:s,pendingMatches:d,cachedMatches:p.cachedMatches.filter(f=>!d.find(g=>g.id===f.id))}))}),this.state.redirect||this.emit({type:"onBeforeNavigate",fromLocation:a,toLocation:s,pathChanged:c}),this.emit({type:"onBeforeLoad",fromLocation:a,toLocation:s,pathChanged:c}),await this.loadMatches({matches:d,location:s,onReady:async()=>{this.startViewTransition(async()=>{let p,f,g;this.__store.batch(()=>{this.__store.setState(y=>{const w=y.matches,_=y.pendingMatches||y.matches;return p=w.filter(m=>!_.find(h=>h.id===m.id)),f=_.filter(m=>!w.find(h=>h.id===m.id)),g=w.filter(m=>_.find(h=>h.id===m.id)),{...y,isLoading:!1,loadedAt:Date.now(),matches:_,pendingMatches:void 0,cachedMatches:[...y.cachedMatches,...p.filter(m=>m.status!=="error")]}}),this.cleanCache()}),[[p,"onLeave"],[f,"onEnter"],[g,"onStay"]].forEach(([y,w])=>{y.forEach(_=>{var m,h;(h=(m=this.looseRoutesById[_.routeId].options)[w])==null||h.call(m,_)})})})}})}catch(s){au(s)?(n=s,this.isServer||this.navigate({...s,replace:!0,ignoreBlocker:!0})):it(s)&&(r=s),this.__store.setState(a=>({...a,statusCode:n?n.statusCode:r?404:a.matches.some(c=>c.status==="error")?500:200,redirect:n}))}this.latestLoadPromise===o&&((l=this.commitLocationPromise)==null||l.resolve(),this.latestLoadPromise=void 0,this.commitLocationPromise=void 0),i()})}),this.latestLoadPromise=o,await o;this.latestLoadPromise&&o!==this.latestLoadPromise;)await this.latestLoadPromise},this.startViewTransition=n=>{const r=this.shouldViewTransition??this.options.defaultViewTransition;delete this.shouldViewTransition,r&&typeof document<"u"&&"startViewTransition"in document&&typeof document.startViewTransition=="function"?document.startViewTransition(n):n()},this.updateMatch=(n,r)=>{var o;let i;const l=(o=this.state.pendingMatches)==null?void 0:o.find(c=>c.id===n),s=this.state.matches.find(c=>c.id===n),a=l?"pendingMatches":s?"matches":"cachedMatches";return this.__store.setState(c=>{var d;return{...c,[a]:(d=c[a])==null?void 0:d.map(p=>p.id===n?i=r(p):p)}}),i},this.getMatch=n=>[...this.state.cachedMatches,...this.state.pendingMatches??[],...this.state.matches].find(r=>r.id===n),this.loadMatches=async({location:n,matches:r,preload:o,onReady:i,updateMatch:l=this.updateMatch})=>{let s,a=!1;const c=async()=>{a||(a=!0,await(i==null?void 0:i()))};!this.isServer&&!this.state.matches.length&&c();const d=(p,f)=>{var g,y,w;if(au(f))throw f;if(Kt(f)||it(f)){if(l(p.id,_=>({..._,status:Kt(f)?"redirected":it(f)?"notFound":"error",isFetching:!1,error:f,beforeLoadPromise:void 0,loaderPromise:void 0})),f.routeId||(f.routeId=p.routeId),(g=p.beforeLoadPromise)==null||g.resolve(),(y=p.loaderPromise)==null||y.resolve(),(w=p.loadPromise)==null||w.resolve(),Kt(f))throw a=!0,f=this.resolveRedirect({...f,_fromLocation:n}),f;if(it(f))throw this._handleNotFound(r,f,{updateMatch:l}),f}};try{await new Promise((p,f)=>{(async()=>{var g,y,w;try{const _=(v,x,P)=>{var C,j;const{id:R,routeId:k}=r[v],L=this.looseRoutesById[k];if(x instanceof Promise)throw x;x.routerCode=P,s=s??v,d(this.getMatch(R),x);try{(j=(C=L.options).onError)==null||j.call(C,x)}catch(I){x=I,d(this.getMatch(R),x)}l(R,I=>{var A;return(A=I.beforeLoadPromise)==null||A.resolve(),{...I,error:x,status:"error",isFetching:!1,updatedAt:Date.now(),abortController:new AbortController,beforeLoadPromise:void 0}})};for(const[v,{id:x,routeId:P}]of r.entries()){const C=this.getMatch(x),j=(g=r[v-1])==null?void 0:g.id,R=this.looseRoutesById[P],k=R.options.pendingMs??this.options.defaultPendingMs,L=!!(i&&!this.isServer&&!o&&(R.options.loader||R.options.beforeLoad)&&typeof k=="number"&&k!==1/0&&(R.options.pendingComponent??this.options.defaultPendingComponent));if(C.beforeLoadPromise||C.loaderPromise)L&&setTimeout(()=>{try{c()}catch{}},k),await C.beforeLoadPromise;else{try{l(x,M=>({...M,loadPromise:cn(()=>{var q;(q=M.loadPromise)==null||q.resolve()}),beforeLoadPromise:cn()}));const I=new AbortController;let A;L&&(A=setTimeout(()=>{try{c()}catch{}},k));const{paramsError:J,searchError:D}=this.getMatch(x);J&&_(v,J,"PARSE_PARAMS"),D&&_(v,D,"VALIDATE_SEARCH");const K=()=>j?this.getMatch(j).context:this.options.context??{};l(x,M=>({...M,isFetching:"beforeLoad",fetchCount:M.fetchCount+1,abortController:I,pendingTimeout:A,context:{...K(),...M.__routeContext,...M.__beforeLoadContext}}));const{search:B,params:re,context:S,cause:N}=this.getMatch(x),z={search:B,abortController:I,params:re,preload:!!o,context:S,location:n,navigate:M=>this.navigate({...M,_fromLocation:n}),buildLocation:this.buildLocation,cause:o?"preload":N,matches:r};let T=await((w=(y=R.options).beforeLoad)==null?void 0:w.call(y,z))??{};this.serializeLoaderData&&(T=this.serializeLoaderData("__beforeLoadContext",T,{router:this,match:this.getMatch(x)})),(Kt(T)||it(T))&&_(v,T,"BEFORE_LOAD"),l(x,M=>({...M,__beforeLoadContext:T,context:{...K(),...M.__routeContext,...T},abortController:I}))}catch(I){_(v,I,"BEFORE_LOAD")}l(x,I=>{var A;return(A=I.beforeLoadPromise)==null||A.resolve(),{...I,beforeLoadPromise:void 0,isFetching:!1}})}}const m=r.slice(0,s),h=[];m.forEach(({id:v,routeId:x},P)=>{h.push((async()=>{const{loaderPromise:C}=this.getMatch(v);let j=!1;if(C)await C;else{const R=h[P-1],k=this.looseRoutesById[x],L=()=>{const{params:z,loaderDeps:T,abortController:M,context:q,cause:le}=this.getMatch(v);return{params:z,deps:T,preload:!!o,parentMatchPromise:R,abortController:M,context:q,location:n,navigate:Ge=>this.navigate({...Ge,_fromLocation:n}),cause:o?"preload":le,route:k}},I=Date.now()-this.getMatch(v).updatedAt,A=o?k.options.preloadStaleTime??this.options.defaultPreloadStaleTime??3e4:k.options.staleTime??this.options.defaultStaleTime??0,J=k.options.shouldReload,D=typeof J=="function"?J(L()):J;l(v,z=>({...z,loaderPromise:cn(),preload:!!o&&!this.state.matches.find(T=>T.id===v)}));const K=async()=>{var z,T,M,q,le,Ge,Be,ut;try{const sn=async()=>{const Pe=this.getMatch(v);Pe.minPendingPromise&&await Pe.minPendingPromise};try{k._lazyPromise=k._lazyPromise||(k.lazyFn?k.lazyFn().then(nt=>{Object.assign(k.options,nt.options)}):Promise.resolve());const Pe=this.getMatch(v).componentsPromise||k._lazyPromise.then(()=>Promise.all(y0.map(async nt=>{const Q=k.options[nt];Q!=null&&Q.preload&&await Q.preload()})));l(v,nt=>({...nt,isFetching:"loader",componentsPromise:Pe})),await k._lazyPromise;let Me=await((T=(z=k.options).loader)==null?void 0:T.call(z,L()));this.serializeLoaderData&&(Me=this.serializeLoaderData("loaderData",Me,{router:this,match:this.getMatch(v)})),d(this.getMatch(v),Me),await sn();const tt=(q=(M=k.options).meta)==null?void 0:q.call(M,{matches:r,match:this.getMatch(v),params:this.getMatch(v).params,loaderData:Me}),Vr=(Ge=(le=k.options).headers)==null?void 0:Ge.call(le,{loaderData:Me});l(v,nt=>({...nt,error:void 0,status:"success",isFetching:!1,updatedAt:Date.now(),loaderData:Me,meta:tt,headers:Vr}))}catch(Pe){let Me=Pe;await sn(),d(this.getMatch(v),Pe);try{(ut=(Be=k.options).onError)==null||ut.call(Be,Pe)}catch(tt){Me=tt,d(this.getMatch(v),tt)}l(v,tt=>({...tt,error:Me,status:"error",isFetching:!1}))}await this.getMatch(v).componentsPromise}catch(sn){d(this.getMatch(v),sn)}},{status:B,invalid:re}=this.getMatch(v);j=B==="success"&&(re||(D??I>A)),o&&k.options.preload===!1||(j?(async()=>{try{await K()}catch{}})():B!=="success"&&await K());const{loaderPromise:S,loadPromise:N}=this.getMatch(v);S==null||S.resolve(),N==null||N.resolve()}l(v,R=>({...R,isFetching:j?R.isFetching:!1,loaderPromise:void 0}))})())}),await Promise.all(h),p()}catch(_){f(_)}})()}),await c()}catch(p){if(Kt(p)||it(p))throw it(p)&&!o&&await c(),p}return r},this.invalidate=()=>{const n=r=>({...r,invalid:!0,...r.status==="error"?{status:"pending",error:void 0}:{}});return this.__store.setState(r=>{var o;return{...r,matches:r.matches.map(n),cachedMatches:r.cachedMatches.map(n),pendingMatches:(o=r.pendingMatches)==null?void 0:o.map(n)}}),this.load()},this.resolveRedirect=n=>{const r=n;return r.href||(r.href=this.buildLocation(r).href),r},this.cleanCache=()=>{this.__store.setState(n=>({...n,cachedMatches:n.cachedMatches.filter(r=>{const o=this.looseRoutesById[r.routeId];if(!o.options.loader)return!1;const i=(r.preload?o.options.preloadGcTime??this.options.defaultPreloadGcTime:o.options.gcTime??this.options.defaultGcTime)??5*60*1e3;return r.status!=="error"&&Date.now()-r.updatedAt{const r=this.buildLocation(n);let o=this.matchRoutes(r,{throwOnError:!0,preload:!0});const i=Object.fromEntries([...this.state.matches,...this.state.pendingMatches??[],...this.state.cachedMatches].map(s=>[s.id,!0]));this.__store.batch(()=>{o.forEach(s=>{i[s.id]||this.__store.setState(a=>({...a,cachedMatches:[...a.cachedMatches,s]}))})});const l=new Set([...this.state.matches,...this.state.pendingMatches??[]].map(s=>s.id));try{return o=await this.loadMatches({matches:o,location:r,preload:!0,updateMatch:(s,a)=>{l.has(s)?o=o.map(c=>c.id===s?a(c):c):this.updateMatch(s,a)}}),o}catch(s){if(Kt(s))return await this.preloadRoute({...s,_fromLocation:r});console.error(s);return}},this.matchRoute=(n,r)=>{const o={...n,to:n.to?this.resolvePathWithBase(n.from||"",n.to):void 0,params:n.params||{},leaveParams:!0},i=this.buildLocation(o);if(r!=null&&r.pending&&this.state.status!=="pending")return!1;const s=((r==null?void 0:r.pending)===void 0?!this.state.isLoading:r.pending)?this.latestLocation:this.state.resolvedLocation,a=so(this.basepath,s.pathname,{...r,to:i.pathname});return!a||n.params&&!Nn(a,n.params,!0)?!1:a&&((r==null?void 0:r.includeSearch)??!0)?Nn(s.search,i.search,!0)?a:!1:a},this.dehydrate=()=>{var n;const r=((n=this.options.errorSerializer)==null?void 0:n.serialize)??_0;return{state:{dehydratedMatches:this.state.matches.map(o=>({...yr(o,["id","status","updatedAt"]),error:o.error?{data:r(o.error),__isServerError:!0}:void 0}))},manifest:this.manifest}},this.hydrate=()=>{var n,r,o;let i;typeof document<"u"&&(i=this.options.transformer.parse((n=window.__TSR__)==null?void 0:n.dehydrated)),Ce(i),this.dehydratedData=i.payload,(o=(r=this.options).hydrate)==null||o.call(r,i.payload);const l=i.router.state,s=this.matchRoutes(this.state.location).map(a=>{const c=l.dehydratedMatches.find(d=>d.id===a.id);return Ce(c,`Could not find a client-side match for dehydrated match with id: ${a.id}!`),{...a,...c}});this.__store.setState(a=>({...a,matches:s})),this.manifest=i.router.manifest},this.injectedHtml=[],this.injectHtml=n=>{const r=()=>(this.injectedHtml=this.injectedHtml.filter(o=>o!==r),n);this.injectedHtml.push(r)},this.streamedKeys=new Set,this.getStreamedValue=n=>{var r;if(this.isServer)return;const o=(r=window.__TSR__)==null?void 0:r.streamedValues[n];if(o)return o.parsed||(o.parsed=this.options.transformer.parse(o.value)),o.parsed},this.streamValue=(n,r)=>{var o;this.streamedKeys.has(n),this.streamedKeys.add(n);const i=`__TSR__.streamedValues['${n}'] = { value: ${(o=this.serializer)==null?void 0:o.call(this,this.options.transformer.stringify(r))}}`;this.injectHtml(` - + +
diff --git a/sw.js b/sw.js index 806502d..f37d197 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),f={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map((e=>f[e]||l(e)))).then((e=>(r(...e),o)))}}define(["./workbox-e1498109"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-Cok1CkxZ.js",revision:null},{url:"assets/index-fsG8XDBx.css",revision:null},{url:"index.html",revision:"f7826efa49fa66256ff0de977fea26a4"},{url:"registerSW.js",revision:"c9efba4313003d61db381f3033dab82d"},{url:"manifest.webmanifest",revision:"1026825ce8b740b893d1d347a44c85bf"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); +if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),d={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map((e=>d[e]||l(e)))).then((e=>(r(...e),o)))}}define(["./workbox-e1498109"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"assets/index-NkkfJZLK.js",revision:null},{url:"assets/index-rFKArgc-.css",revision:null},{url:"index.html",revision:"f19b769e0671e61e7b479d5059096941"},{url:"registerSW.js",revision:"c9efba4313003d61db381f3033dab82d"},{url:"manifest.webmanifest",revision:"1026825ce8b740b893d1d347a44c85bf"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));