diff --git a/assets/index-BQMz8NhM.js b/assets/index-BQMz8NhM.js new file mode 100644 index 0000000..8b989fa --- /dev/null +++ b/assets/index-BQMz8NhM.js @@ -0,0 +1,40 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function Rf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oa={exports:{}},Hl={},ua={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 Er=Symbol.for("react.element"),If=Symbol.for("react.portal"),Mf=Symbol.for("react.fragment"),Df=Symbol.for("react.strict_mode"),Of=Symbol.for("react.profiler"),Ff=Symbol.for("react.provider"),jf=Symbol.for("react.context"),Uf=Symbol.for("react.forward_ref"),Af=Symbol.for("react.suspense"),$f=Symbol.for("react.memo"),Wf=Symbol.for("react.lazy"),Au=Symbol.iterator;function Hf(e){return e===null||typeof e!="object"?null:(e=Au&&e[Au]||e["@@iterator"],typeof e=="function"?e:null)}var sa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},aa=Object.assign,ca={};function _n(e,t,n){this.props=e,this.context=t,this.refs=ca,this.updater=n||sa}_n.prototype.isReactComponent={};_n.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")};_n.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function fa(){}fa.prototype=_n.prototype;function $o(e,t,n){this.props=e,this.context=t,this.refs=ca,this.updater=n||sa}var Wo=$o.prototype=new fa;Wo.constructor=$o;aa(Wo,_n.prototype);Wo.isPureReactComponent=!0;var $u=Array.isArray,da=Object.prototype.hasOwnProperty,Ho={current:null},pa={key:!0,ref:!0,__self:!0,__source:!0};function ha(e,t,n){var r,l={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)da.call(t,r)&&!pa.hasOwnProperty(r)&&(l[r]=t[r]);var u=arguments.length-2;if(u===1)l.children=n;else if(1>>1,J=_[Q];if(0>>1;Ql(oi,z))xtl(Tr,oi)?(_[Q]=Tr,_[xt]=z,Q=xt):(_[Q]=oi,_[Ct]=z,Q=Ct);else if(xtl(Tr,z))_[Q]=Tr,_[xt]=z,Q=xt;else break e}}return T}function l(_,T){var z=_.sortIndex-T.sortIndex;return z!==0?z:_.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],m=1,h=null,p=3,v=!1,w=!1,S=!1,U=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(_){for(var T=n(c);T!==null;){if(T.callback===null)r(c);else if(T.startTime<=_)r(c),T.sortIndex=T.expirationTime,t(s,T);else break;T=n(c)}}function y(_){if(S=!1,d(_),!w)if(n(s)!==null)w=!0,li(E);else{var T=n(c);T!==null&&ii(y,T.startTime-_)}}function E(_,T){w=!1,S&&(S=!1,f(N),N=-1),v=!0;var z=p;try{for(d(T),h=n(s);h!==null&&(!(h.expirationTime>T)||_&&!Te());){var Q=h.callback;if(typeof Q=="function"){h.callback=null,p=h.priorityLevel;var J=Q(h.expirationTime<=T);T=e.unstable_now(),typeof J=="function"?h.callback=J:h===n(s)&&r(s),d(T)}else r(s);h=n(s)}if(h!==null)var Nr=!0;else{var Ct=n(c);Ct!==null&&ii(y,Ct.startTime-T),Nr=!1}return Nr}finally{h=null,p=z,v=!1}}var C=!1,x=null,N=-1,B=5,R=-1;function Te(){return!(e.unstable_now()-R_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(_){switch(p){case 1:case 2:case 3:var T=3;break;default:T=p}var z=p;p=T;try{return _()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,T){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var z=p;p=_;try{return T()}finally{p=z}},e.unstable_scheduleCallback=function(_,T,z){var Q=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0Q?(_.sortIndex=z,t(c,_),n(s)===null&&_===n(c)&&(S?(f(N),N=-1):S=!0,ii(y,z-Q))):(_.sortIndex=J,t(s,_),w||v||(w=!0,li(E))),_},e.unstable_shouldYield=Te,e.unstable_wrapCallback=function(_){var T=p;return function(){var z=p;p=T;try{return _.apply(this,arguments)}finally{p=z}}}})(wa);ga.exports=wa;var bf=ga.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 ed=Ie,we=bf;function g(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"),Yi=Object.prototype.hasOwnProperty,td=/^[: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]*$/,Hu={},Vu={};function nd(e){return Yi.call(Vu,e)?!0:Yi.call(Hu,e)?!1:td.test(e)?Vu[e]=!0:(Hu[e]=!0,!1)}function rd(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 ld(e,t,n,r){if(t===null||typeof t>"u"||rd(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 ce(e,t,n,r,l,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var ne={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ne[e]=new ce(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ne[t]=new ce(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ne[e]=new ce(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ne[e]=new ce(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){ne[e]=new ce(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ne[e]=new ce(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ne[e]=new ce(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ne[e]=new ce(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ne[e]=new ce(e,5,!1,e.toLowerCase(),null,!1,!1)});var Qo=/[\-:]([a-z])/g;function Ko(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(Qo,Ko);ne[t]=new ce(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(Qo,Ko);ne[t]=new ce(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(Qo,Ko);ne[t]=new ce(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!1,!1)});ne.xlinkHref=new ce("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ne[e]=new ce(e,1,!1,e.toLowerCase(),null,!0,!0)});function Yo(e,t,n,r){var l=ne.hasOwnProperty(t)?ne[t]:null;(l!==null?l.type!==0:r||!(2u||l[o]!==i[u]){var s=` +`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{ai=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Qn(e):""}function id(e){switch(e.tag){case 5:return Qn(e.type);case 16:return Qn("Lazy");case 13:return Qn("Suspense");case 19:return Qn("SuspenseList");case 0:case 2:case 15:return e=ci(e.type,!1),e;case 11:return e=ci(e.type.render,!1),e;case 1:return e=ci(e.type,!0),e;default:return""}}function Ji(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 Jt:return"Fragment";case Zt:return"Portal";case Xi:return"Profiler";case Xo:return"StrictMode";case Gi:return"Suspense";case Zi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ea:return(e.displayName||"Context")+".Consumer";case ka:return(e._context.displayName||"Context")+".Provider";case Go:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Zo:return t=e.displayName||null,t!==null?t:Ji(e.type)||"Memo";case it:t=e._payload,e=e._init;try{return Ji(e(t))}catch{}}return null}function od(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 Ji(t);case 8:return t===Xo?"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 wt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ca(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ud(e){var t=Ca(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 l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Rr(e){e._valueTracker||(e._valueTracker=ud(e))}function xa(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ca(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function vl(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 qi(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Qu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=wt(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 Pa(e,t){t=t.checked,t!=null&&Yo(e,"checked",t,!1)}function bi(e,t){Pa(e,t);var n=wt(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")?eo(e,t.type,n):t.hasOwnProperty("defaultValue")&&eo(e,t.type,wt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ku(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 eo(e,t,n){(t!=="number"||vl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Kn=Array.isArray;function cn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=Ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Zn={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},sd=["Webkit","ms","Moz","O"];Object.keys(Zn).forEach(function(e){sd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zn[t]=Zn[e]})});function La(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Zn.hasOwnProperty(e)&&Zn[e]?(""+t).trim():t+"px"}function Ra(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=La(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var ad=H({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 ro(e,t){if(t){if(ad[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(g(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(g(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(g(61))}if(t.style!=null&&typeof t.style!="object")throw Error(g(62))}}function lo(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 io=null;function Jo(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var oo=null,fn=null,dn=null;function Gu(e){if(e=xr(e)){if(typeof oo!="function")throw Error(g(280));var t=e.stateNode;t&&(t=Yl(t),oo(e.stateNode,e.type,t))}}function Ia(e){fn?dn?dn.push(e):dn=[e]:fn=e}function Ma(){if(fn){var e=fn,t=dn;if(dn=fn=null,Gu(e),t)for(e=0;e>>=0,e===0?32:31-(Sd(e)/kd|0)|0}var Mr=64,Dr=4194304;function Yn(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 Sl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var u=o&~l;u!==0?r=Yn(u):(i&=o,i!==0&&(r=Yn(i)))}else o=n&~l,o!==0?r=Yn(o):i!==0&&(r=Yn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===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 _r(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Oe(t),e[t]=n}function xd(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=qn),ls=" ",is=!1;function ba(e,t){switch(e){case"keyup":return bd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ec(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var qt=!1;function tp(e,t){switch(e){case"compositionend":return ec(t);case"keypress":return t.which!==32?null:(is=!0,ls);case"textInput":return e=t.data,e===ls&&is?null:e;default:return null}}function np(e,t){if(qt)return e==="compositionend"||!iu&&ba(e,t)?(e=Ja(),il=nu=at=null,qt=!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=as(n)}}function lc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ic(){for(var e=window,t=vl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=vl(e.document)}return t}function ou(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 fp(e){var t=ic(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lc(n.ownerDocument.documentElement,n)){if(r!==null&&ou(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 l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=cs(n,i);var o=cs(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,bt=null,po=null,er=null,ho=!1;function fs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ho||bt==null||bt!==vl(r)||(r=bt,"selectionStart"in r&&ou(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}),er&&dr(er,r)||(er=r,r=_l(po,"onSelect"),0nn||(e.current=So[nn],So[nn]=null,nn--)}function D(e,t){nn++,So[nn]=e.current,e.current=t}var St={},oe=Et(St),pe=Et(!1),Ot=St;function yn(e,t){var n=e.type.contextTypes;if(!n)return St;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function xl(){j(pe),j(oe)}function gs(e,t,n){if(oe.current!==St)throw Error(g(168));D(oe,t),D(pe,n)}function hc(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(g(108,od(e)||"Unknown",l));return H({},n,r)}function Pl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||St,Ot=oe.current,D(oe,e),D(pe,pe.current),!0}function ws(e,t,n){var r=e.stateNode;if(!r)throw Error(g(169));n?(e=hc(e,t,Ot),r.__reactInternalMemoizedMergedChildContext=e,j(pe),j(oe),D(oe,e)):j(pe),D(pe,n)}var Xe=null,Xl=!1,Ci=!1;function mc(e){Xe===null?Xe=[e]:Xe.push(e)}function _p(e){Xl=!0,mc(e)}function _t(){if(!Ci&&Xe!==null){Ci=!0;var e=0,t=M;try{var n=Xe;for(M=1;e>=o,l-=o,Ge=1<<32-Oe(t)+l|n<N?(B=x,x=null):B=x.sibling;var R=p(f,x,d[N],y);if(R===null){x===null&&(x=B);break}e&&x&&R.alternate===null&&t(f,x),a=i(R,a,N),C===null?E=R:C.sibling=R,C=R,x=B}if(N===d.length)return n(f,x),A&&Nt(f,N),E;if(x===null){for(;NN?(B=x,x=null):B=x.sibling;var Te=p(f,x,R.value,y);if(Te===null){x===null&&(x=B);break}e&&x&&Te.alternate===null&&t(f,x),a=i(Te,a,N),C===null?E=Te:C.sibling=Te,C=Te,x=B}if(R.done)return n(f,x),A&&Nt(f,N),E;if(x===null){for(;!R.done;N++,R=d.next())R=h(f,R.value,y),R!==null&&(a=i(R,a,N),C===null?E=R:C.sibling=R,C=R);return A&&Nt(f,N),E}for(x=r(f,x);!R.done;N++,R=d.next())R=v(x,f,N,R.value,y),R!==null&&(e&&R.alternate!==null&&x.delete(R.key===null?N:R.key),a=i(R,a,N),C===null?E=R:C.sibling=R,C=R);return e&&x.forEach(function(Pn){return t(f,Pn)}),A&&Nt(f,N),E}function U(f,a,d,y){if(typeof d=="object"&&d!==null&&d.type===Jt&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Lr:e:{for(var E=d.key,C=a;C!==null;){if(C.key===E){if(E=d.type,E===Jt){if(C.tag===7){n(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===it&&Es(E)===C.type){n(f,C.sibling),a=l(C,d.props),a.ref=Mn(f,C,d),a.return=f,f=a;break e}n(f,C);break}else t(f,C);C=C.sibling}d.type===Jt?(a=Mt(d.props.children,f.mode,y,d.key),a.return=f,f=a):(y=pl(d.type,d.key,d.props,null,f.mode,y),y.ref=Mn(f,a,d),y.return=f,f=y)}return o(f);case Zt: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){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=Ii(d,f.mode,y),a.return=f,f=a}return o(f);case it:return C=d._init,U(f,a,C(d._payload),y)}if(Kn(d))return w(f,a,d,y);if(Tn(d))return S(f,a,d,y);Wr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=Ri(d,f.mode,y),a.return=f,f=a),o(f)):n(f,a)}return U}var wn=wc(!0),Sc=wc(!1),zl=Et(null),Ll=null,on=null,cu=null;function fu(){cu=on=Ll=null}function du(e){var t=zl.current;j(zl),e._currentValue=t}function _o(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 hn(e,t){Ll=e,cu=on=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(de=!0),e.firstContext=null)}function Pe(e){var t=e._currentValue;if(cu!==e)if(e={context:e,memoizedValue:t,next:null},on===null){if(Ll===null)throw Error(g(308));on=e,Ll.dependencies={lanes:0,firstContext:e}}else on=on.next=e;return t}var Lt=null;function pu(e){Lt===null?Lt=[e]:Lt.push(e)}function kc(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,pu(t)):(n.next=l.next,l.next=n),t.interleaved=n,et(e,r)}function et(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 ot=!1;function hu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ec(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 Je(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,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,et(e,n)}return l=r.interleaved,l===null?(t.next=t,pu(r)):(t.next=l.next,l.next=t),r.interleaved=t,et(e,n)}function ul(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,bo(e,n)}}function _s(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,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 Rl(e,t,n,r){var l=e.updateQueue;ot=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,c=s.next;s.next=null,o===null?i=c:o.next=c,o=s;var m=e.alternate;m!==null&&(m=m.updateQueue,u=m.lastBaseUpdate,u!==o&&(u===null?m.firstBaseUpdate=c:u.next=c,m.lastBaseUpdate=s))}if(i!==null){var h=l.baseState;o=0,m=c=s=null,u=i;do{var p=u.lane,v=u.eventTime;if((r&p)===p){m!==null&&(m=m.next={eventTime:v,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var w=e,S=u;switch(p=t,v=n,S.tag){case 1:if(w=S.payload,typeof w=="function"){h=w.call(v,h,p);break e}h=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=S.payload,p=typeof w=="function"?w.call(v,h,p):w,p==null)break e;h=H({},h,p);break e;case 2:ot=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[u]:p.push(u))}else v={eventTime:v,lane:p,tag:u.tag,payload:u.payload,callback:u.callback,next:null},m===null?(c=m=v,s=h):m=m.next=v,o|=p;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;p=u,u=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(m===null&&(s=h),l.baseState=s,l.firstBaseUpdate=c,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Ut|=o,e.lanes=o,e.memoizedState=h}}function Cs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Pi.transition;Pi.transition={};try{e(!1),t()}finally{M=n,Pi.transition=r}}function Ac(){return Ne().memoizedState}function Np(e,t,n){var r=yt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$c(e))Wc(t,n);else if(n=kc(e,t,n,r),n!==null){var l=se();Fe(n,e,r,l),Hc(n,t,r)}}function Tp(e,t,n){var r=yt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($c(e))Wc(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,u=i(o,n);if(l.hasEagerState=!0,l.eagerState=u,je(u,o)){var s=t.interleaved;s===null?(l.next=l,pu(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=kc(e,t,l,r),n!==null&&(l=se(),Fe(n,e,r,l),Hc(n,t,r))}}function $c(e){var t=e.alternate;return e===W||t!==null&&t===W}function Wc(e,t){tr=Ml=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,bo(e,n)}}var Dl={readContext:Pe,useCallback:re,useContext:re,useEffect:re,useImperativeHandle:re,useInsertionEffect:re,useLayoutEffect:re,useMemo:re,useReducer:re,useRef:re,useState:re,useDebugValue:re,useDeferredValue:re,useTransition:re,useMutableSource:re,useSyncExternalStore:re,useId:re,unstable_isNewReconciler:!1},zp={readContext:Pe,useCallback:function(e,t){return We().memoizedState=[e,t===void 0?null:t],e},useContext:Pe,useEffect:Ps,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,al(4194308,4,Dc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return al(4194308,4,e,t)},useInsertionEffect:function(e,t){return al(4,2,e,t)},useMemo:function(e,t){var n=We();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=We();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=Np.bind(null,W,e),[r.memoizedState,e]},useRef:function(e){var t=We();return e={current:e},t.memoizedState=e},useState:xs,useDebugValue:Eu,useDeferredValue:function(e){return We().memoizedState=e},useTransition:function(){var e=xs(!1),t=e[0];return e=Pp.bind(null,e[1]),We().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=W,l=We();if(A){if(n===void 0)throw Error(g(407));n=n()}else{if(n=t(),b===null)throw Error(g(349));jt&30||Pc(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Ps(Tc.bind(null,r,i,e),[e]),r.flags|=2048,Sr(9,Nc.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=We(),t=b.identifierPrefix;if(A){var n=Ze,r=Ge;n=(r&~(1<<32-Oe(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=gr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[He]=t,e[mr]=r,qc(e,t,!1,!1),t.stateNode=e;e:{switch(o=lo(n,r),n){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lEn&&(t.flags|=128,r=!0,Dn(i,!1),t.lanes=4194304)}else{if(!r)if(e=Il(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Dn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!A)return le(t),null}else 2*K()-i.renderingStartTime>En&&n!==1073741824&&(t.flags|=128,r=!0,Dn(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=K(),t.sibling=null,n=$.current,D($,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Tu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ve&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(g(156,t.tag))}function jp(e,t){switch(su(t),t.tag){case 1:return he(t.type)&&xl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sn(),j(pe),j(oe),yu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return vu(t),null;case 13:if(j($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(g(340));gn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return j($),null;case 4:return Sn(),null;case 10:return du(t.type._context),null;case 22:case 23:return Tu(),null;case 24:return null;default:return null}}var Vr=!1,ie=!1,Up=typeof WeakSet=="function"?WeakSet:Set,k=null;function un(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){V(e,t,r)}else n.current=null}function Io(e,t,n){try{n()}catch(r){V(e,t,r)}}var js=!1;function Ap(e,t){if(mo=kl,e=ic(),ou(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 l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,c=0,m=0,h=e,p=null;t:for(;;){for(var v;h!==n||l!==0&&h.nodeType!==3||(u=o+l),h!==i||r!==0&&h.nodeType!==3||(s=o+r),h.nodeType===3&&(o+=h.nodeValue.length),(v=h.firstChild)!==null;)p=h,h=v;for(;;){if(h===e)break t;if(p===n&&++c===l&&(u=o),p===i&&++m===r&&(s=o),(v=h.nextSibling)!==null)break;h=p,p=h.parentNode}h=v}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(vo={focusedElem:e,selectionRange:n},kl=!1,k=t;k!==null;)if(t=k,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,k=e;else for(;k!==null;){t=k;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var S=w.memoizedProps,U=w.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:Re(t.type,S),U);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.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(g(163))}}catch(y){V(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,k=e;break}k=t.return}return w=js,js=!1,w}function nr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Io(t,n,i)}l=l.next}while(l!==r)}}function Jl(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 Mo(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 tf(e){var t=e.alternate;t!==null&&(e.alternate=null,tf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[He],delete t[mr],delete t[wo],delete t[kp],delete t[Ep])),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 nf(e){return e.tag===5||e.tag===3||e.tag===4}function Us(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nf(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 Do(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=Cl));else if(r!==4&&(e=e.child,e!==null))for(Do(e,t,n),e=e.sibling;e!==null;)Do(e,t,n),e=e.sibling}function Oo(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(Oo(e,t,n),e=e.sibling;e!==null;)Oo(e,t,n),e=e.sibling}var ee=null,Me=!1;function rt(e,t,n){for(n=n.child;n!==null;)rf(e,t,n),n=n.sibling}function rf(e,t,n){if(Ve&&typeof Ve.onCommitFiberUnmount=="function")try{Ve.onCommitFiberUnmount(Vl,n)}catch{}switch(n.tag){case 5:ie||un(n,t);case 6:var r=ee,l=Me;ee=null,rt(e,t,n),ee=r,Me=l,ee!==null&&(Me?(e=ee,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ee.removeChild(n.stateNode));break;case 18:ee!==null&&(Me?(e=ee,n=n.stateNode,e.nodeType===8?_i(e.parentNode,n):e.nodeType===1&&_i(e,n),cr(e)):_i(ee,n.stateNode));break;case 4:r=ee,l=Me,ee=n.stateNode.containerInfo,Me=!0,rt(e,t,n),ee=r,Me=l;break;case 0:case 11:case 14:case 15:if(!ie&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Io(n,t,o),l=l.next}while(l!==r)}rt(e,t,n);break;case 1:if(!ie&&(un(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){V(n,t,u)}rt(e,t,n);break;case 21:rt(e,t,n);break;case 22:n.mode&1?(ie=(r=ie)||n.memoizedState!==null,rt(e,t,n),ie=r):rt(e,t,n);break;default:rt(e,t,n)}}function As(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Up),t.forEach(function(r){var l=Xp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Wp(r/1960))-r,10e?16:e,ct===null)var r=!1;else{if(e=ct,ct=null,jl=0,I&6)throw Error(g(331));var l=I;for(I|=4,k=e.current;k!==null;){var i=k,o=i.child;if(k.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sK()-Pu?It(e,0):xu|=n),me(e,t)}function df(e,t){t===0&&(e.mode&1?(t=Dr,Dr<<=1,!(Dr&130023424)&&(Dr=4194304)):t=1);var n=se();e=et(e,t),e!==null&&(_r(e,t,n),me(e,n))}function Yp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),df(e,n)}function Xp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(g(314))}r!==null&&r.delete(t),df(e,n)}var pf;pf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||pe.current)de=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return de=!1,Op(e,t,n);de=!!(e.flags&131072)}else de=!1,A&&t.flags&1048576&&vc(t,Tl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;cl(e,t),e=t.pendingProps;var l=yn(t,oe.current);hn(t,n),l=wu(null,t,r,e,l,n);var i=Su();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(i=!0,Pl(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,hu(t),l.updater=Zl,t.stateNode=l,l._reactInternals=t,xo(t,r,e,n),t=To(null,t,r,!0,i,n)):(t.tag=0,A&&i&&uu(t),ue(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(cl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Zp(r),e=Re(r,e),l){case 0:t=No(null,t,r,e,n);break e;case 1:t=Ds(null,t,r,e,n);break e;case 11:t=Is(null,t,r,e,n);break e;case 14:t=Ms(null,t,r,Re(r.type,e),n);break e}throw Error(g(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),No(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Ds(e,t,r,l,n);case 3:e:{if(Gc(t),e===null)throw Error(g(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Ec(e,t),Rl(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=kn(Error(g(423)),t),t=Os(e,t,r,n,l);break e}else if(r!==l){l=kn(Error(g(424)),t),t=Os(e,t,r,n,l);break e}else for(ye=ht(t.stateNode.containerInfo.firstChild),ge=t,A=!0,De=null,n=Sc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(gn(),r===l){t=tt(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return _c(t),e===null&&Eo(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,yo(r,l)?o=null:i!==null&&yo(r,i)&&(t.flags|=32),Xc(e,t),ue(e,t,o,n),t.child;case 6:return e===null&&Eo(t),null;case 13:return Zc(e,t,n);case 4:return mu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=wn(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),Is(e,t,r,l,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,o=l.value,D(zl,r._currentValue),r._currentValue=o,i!==null)if(je(i.value,o)){if(i.children===l.children&&!pe.current){t=tt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Je(-1,n&-n),s.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?s.next=s:(s.next=m.next,m.next=s),c.pending=s}}i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),_o(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(g(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),_o(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}ue(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,hn(t,n),l=Pe(l),r=r(l),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,l=Re(r,t.pendingProps),l=Re(r.type,l),Ms(e,t,r,l,n);case 15:return Kc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Re(r,l),cl(e,t),t.tag=1,he(r)?(e=!0,Pl(t)):e=!1,hn(t,n),Vc(t,r,l),xo(t,r,l,n),To(null,t,r,!0,e,n);case 19:return Jc(e,t,n);case 22:return Yc(e,t,n)}throw Error(g(156,t.tag))};function hf(e,t){return $a(e,t)}function Gp(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 Ce(e,t,n,r){return new Gp(e,t,n,r)}function Lu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zp(e){if(typeof e=="function")return Lu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Go)return 11;if(e===Zo)return 14}return 2}function gt(e,t){var n=e.alternate;return n===null?(n=Ce(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 pl(e,t,n,r,l,i){var o=2;if(r=e,typeof e=="function")Lu(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Jt:return Mt(n.children,l,i,t);case Xo:o=8,l|=8;break;case Xi:return e=Ce(12,n,t,l|2),e.elementType=Xi,e.lanes=i,e;case Gi:return e=Ce(13,n,t,l),e.elementType=Gi,e.lanes=i,e;case Zi:return e=Ce(19,n,t,l),e.elementType=Zi,e.lanes=i,e;case _a:return bl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ka:o=10;break e;case Ea:o=9;break e;case Go:o=11;break e;case Zo:o=14;break e;case it:o=16,r=null;break e}throw Error(g(130,e==null?e:typeof e,""))}return t=Ce(o,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function Mt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function bl(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=_a,e.lanes=n,e.stateNode={isHidden:!1},e}function Ri(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function Ii(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Jp(e,t,n,r,l){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=di(0),this.expirationTimes=di(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=di(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ru(e,t,n,r,l,i,o,u,s){return e=new Jp(e,t,n,u,s),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ce(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},hu(i),e}function qp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(gf)}catch(e){console.error(e)}}gf(),ya.exports=Se;var rh=ya.exports,Ys=rh;Ki.createRoot=Ys.createRoot,Ki.hydrateRoot=Ys.hydrateRoot;var lh=Object.defineProperty,ih=(e,t,n)=>t in e?lh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Le=(e,t,n)=>(ih(e,typeof t!="symbol"?t+"":t,n),n),wf=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},X=(e,t,n)=>(wf(e,t,"read from private field"),n?n.call(e):t.get(e)),O=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},P=(e,t,n)=>(wf(e,t,"access private method"),n),Mi,Xs,Vt,Fn,Kr,Di,Oi,Gs,Yr,Fi,Xr,ji,Gr,Ui,jn,Zr,Ae,Qe,Ai,Zs,Bt,Un,Qt,An,$i,Js,Wi,Hi,qs,Vi,bs,Jr,Bi,$n,qr,Kt,Wn,Hn,br,lt,Pt,Yt,Vn,Xt,Bn,el,Qi,$e,Ke,ea;const Sf=e=>Array.isArray(e),kf=e=>Sf(e)?e:[e];let oh=function(e){let t=function(v){return kf(v).forEach(w=>{var S;return p.set(Symbol((S=w.char)==null?void 0:S.innerText),l({...w}))}),this},n=()=>s().filter(v=>v.typeable),r=function(v,w){let S=[...p.keys()];p.set(S[v],l(w))},l=v=>(v.shouldPauseCursor=function(){return!!(this.typeable||this.cursorable||this.deletable)},v),i=function(){p.forEach(v=>delete v.done)},o=function(){p=new Map,t(e)},u=()=>p,s=()=>Array.from(p.values()),c=v=>p.delete(v),m=(v=!1)=>v?s():s().filter(w=>!w.done),h=(v,w=!1)=>w?p.delete(v):p.get(v).done=!0,p=new Map;return t(e),{add:t,set:r,wipe:o,done:h,reset:i,destroy:c,getItems:m,getQueue:u,getTypeable:n}};const Ef="data-typeit-id",Dt="ti-cursor",uh="END",sh={started:!1,completed:!1,frozen:!1,destroyed:!1},an={breakLines:!0,cursor:{autoPause:!0,autoPauseDelay:500,animation:{frames:[0,0,1].map(e=>({opacity:e})),options:{iterations:1/0,easing:"steps(2, start)",fill:"forwards"}}},cursorChar:"|",cursorSpeed:1e3,deleteSpeed:null,html:!0,lifeLike:!0,loop:!1,loopDelay:750,nextStringDelay:750,speed:100,startDelay:250,startDelete:!1,strings:[],waitUntilVisible:!1,beforeString:()=>{},afterString:()=>{},beforeStep:()=>{},afterStep:()=>{},afterComplete:()=>{}},ah=`[${Ef}]:before {content: '.'; display: inline-block; width: 0; visibility: hidden;}`,hl=e=>document.createElement(e),Ou=e=>document.createTextNode(e),_f=(e,t="")=>{let n=hl("style");n.id=t,n.appendChild(Ou(e)),document.head.appendChild(n)},ta=e=>(Sf(e)||(e=[e/2,e/2]),e),na=(e,t)=>Math.abs(Math.random()*(e+t-(e-t))+(e-t));let ra=e=>e/2;function ch(e){let{speed:t,deleteSpeed:n,lifeLike:r}=e;return n=n!==null?n:t/3,r?[na(t,ra(t)),na(n,ra(n))]:[t,n]}const Cf=e=>Array.from(e);let Fu=e=>([...e.childNodes].forEach(t=>{if(t.nodeValue){[...t.nodeValue].forEach(n=>{t.parentNode.insertBefore(Ou(n),t)}),t.remove();return}Fu(t)}),e);const xf=e=>{let t=document.implementation.createHTMLDocument();return t.body.innerHTML=e,Fu(t.body)};function Pf(e,t=!1,n=!1){let r=e.querySelector(`.${Dt}`),l=document.createTreeWalker(e,NodeFilter.SHOW_ALL,{acceptNode:u=>{var s,c;if(r&&n){if((s=u.classList)!=null&&s.contains(Dt))return NodeFilter.FILTER_ACCEPT;if(r.contains(u))return NodeFilter.FILTER_REJECT}return(c=u.classList)!=null&&c.contains(Dt)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}}),i,o=[];for(;i=l.nextNode();)i.originalParent||(i.originalParent=i.parentNode),o.push(i);return t?o.reverse():o}function fh(e){return Pf(xf(e))}function dh(e,t=!0){return t?fh(e):Cf(e).map(Ou)}const Nf=e=>Number.isInteger(e),la=({queueItems:e,selector:t,cursorPosition:n,to:r})=>{if(Nf(t))return t*-1;let l=new RegExp(uh,"i").test(r),i=t?[...e].reverse().findIndex(({char:u})=>{let s=u.parentElement,c=s.matches(t);return l&&c?!0:c&&s.firstChild.isSameNode(u)}):-1;i<0&&(i=l?0:e.length-1);let o=l?0:1;return i-n+o},ph=e=>(e.forEach(clearTimeout),[]),tl=(e,t)=>new Array(t).fill(e);let $l=e=>new Promise(t=>{requestAnimationFrame(async()=>{t(await e())})}),Tf=e=>e==null?void 0:e.getAnimations().find(t=>t.id===e.dataset.tiAnimationId),zf=({cursor:e,frames:t,options:n})=>{let r=e.animate(t,n);return r.pause(),r.id=e.dataset.tiAnimationId,$l(()=>{$l(()=>{r.play()})}),r},hh=({cursor:e,options:t,cursorOptions:n})=>{if(!e||!n)return;let r=Tf(e),l;r&&(t.delay=r.effect.getComputedTiming().delay,l=r.currentTime,r.cancel());let i=zf({cursor:e,frames:n.animation.frames,options:t});return l&&(i.currentTime=l),i},ia=e=>{var t;return(t=e.func)==null?void 0:t.call(null)},mh=async({index:e,queueItems:t,wait:n,cursor:r,cursorOptions:l})=>{let i=t[e][1],o=[],u=e,s=i,c=()=>s&&!s.delay,m=i.shouldPauseCursor()&&l.autoPause;for(;c();)o.push(s),c()&&u++,s=t[u]?t[u][1]:null;if(o.length)return await $l(async()=>{for(let v of o)await ia(v)}),u-1;let h=Tf(r),p;return h&&(p={...h.effect.getComputedTiming(),delay:m?l.autoPauseDelay:0}),await n(async()=>{h&&m&&h.cancel(),await $l(()=>{ia(i)})},i.delay),await hh({cursor:r,options:p,cursorOptions:l}),e};const vh=(e,t)=>{new IntersectionObserver((r,l)=>{r.forEach(i=>{i.isIntersecting&&(t(),l.unobserve(e))})},{threshold:1}).observe(e)},yh=()=>Math.random().toString().substring(2,9),Wl=e=>"value"in e;let gh=e=>Wl(e)?Cf(e.value):Pf(e,!0).filter(t=>!(t.childNodes.length>0)),Gt=e=>typeof e=="function"?e():e,ju=(e,t=document,n=!1)=>t[`querySelector${n?"All":""}`](e),wh=e=>/body/i.test(e==null?void 0:e.tagName),Sh=(e,t)=>{if(Wl(e)){e.value=`${e.value}${t.textContent}`;return}t.innerHTML="";let n=wh(t.originalParent)?e:t.originalParent||e;n.insertBefore(t,ju("."+Dt,n)||null)};const kh=e=>/<(.+)>(.*?)<\/(.+)>/.test(e.outerHTML),Gn=(e,t)=>Object.assign({},e,t);let Eh=e=>{var t,n;if(typeof e=="object"){let r={},{frames:l,options:i}=an.cursor.animation;return r.animation=e.animation||{},r.animation.frames=((t=e.animation)==null?void 0:t.frames)||l,r.animation.options=Gn(i,((n=e.animation)==null?void 0:n.options)||{}),r.autoPause=e.autoPause??an.cursor.autoPause,r.autoPauseDelay=e.autoPauseDelay||an.cursor.autoPauseDelay,r}return e===!0?an.cursor:e};const _h=(e,t)=>{if(!e)return;let n=e.parentNode;(n.childNodes.length>1||n.isSameNode(t)?e:n).remove()},Ch=(e,t,n)=>{let r=t[n-1],l=ju(`.${Dt}`,e);e=(r==null?void 0:r.parentNode)||e,e.insertBefore(l,r||null)};function xh(e){return typeof e=="string"?ju(e):e}let Ph={"font-family":"","font-weight":"","font-size":"","font-style":"","line-height":"",color:"",transform:"translateX(-.125em)"},Nh=(e,t)=>{let r=`${`[${Ef}='${e}']`} .${Dt}`,l=getComputedStyle(t),i=Object.entries(Ph).reduce((o,[u,s])=>`${o} ${u}: var(--ti-cursor-${u}, ${s||l[u]});`,"");_f(`${r} { display: inline-block; width: 0; ${i} }`,e)};function Th(e){return e.replace(//g,"").trim().split(//)}let zh=(e,t,n)=>Math.min(Math.max(t+e,0),n.length),Lh=(e,t,n)=>new Promise(r=>{let l=async()=>{await e(),r()};n.push(setTimeout(l,t||0))}),Rh=(ea=class{constructor(e,t={}){O(this,Mi),O(this,Vt),O(this,Kr),O(this,Oi),O(this,Yr),O(this,Xr),O(this,Gr),O(this,jn),O(this,Ae),O(this,Ai),O(this,Bt),O(this,Qt),O(this,$i),O(this,Hi),O(this,Vi),O(this,Jr),O(this,$n),O(this,Kt),O(this,Hn),O(this,lt),O(this,Yt),O(this,Xt),O(this,el),O(this,$e),Le(this,"element"),Le(this,"timeouts"),Le(this,"cursorPosition"),Le(this,"predictedCursorPosition"),Le(this,"statuses",{started:!1,completed:!1,frozen:!1,destroyed:!1}),Le(this,"opts"),Le(this,"id"),Le(this,"queue"),Le(this,"cursor"),Le(this,"unfreeze",()=>{}),Le(this,"is",function(n){return this.statuses[n]}),O(this,Wi,n=>{n.cursor=Eh(n.cursor??an.cursor),this.opts.strings=P(this,Hi,qs).call(this,kf(this.opts.strings)),this.opts=Gn(this.opts,{html:!X(this,Xt,Bn)&&this.opts.html,nextStringDelay:ta(this.opts.nextStringDelay),loopDelay:ta(this.opts.loopDelay)})}),this.opts=Gn(an,t),this.element=xh(e),this.timeouts=[],this.cursorPosition=0,this.unfreeze=()=>{},this.predictedCursorPosition=null,this.statuses=Gn({},sh),this.id=yh(),this.queue=oh([{delay:this.opts.startDelay}]),X(this,Wi).call(this,t),this.cursor=P(this,Vi,bs).call(this),this.element.dataset.typeitId=this.id,_f(ah),this.opts.strings.length&&P(this,$i,Js).call(this)}go(){return this.statuses.started?this:(P(this,Gr,Ui).call(this),this.opts.waitUntilVisible?(vh(this.element,P(this,Vt,Fn).bind(this)),this):(P(this,Vt,Fn).call(this),this))}destroy(e=!0){this.timeouts=ph(this.timeouts),Gt(e)&&this.cursor&&P(this,Hn,br).call(this,this.cursor),this.statuses.destroyed=!0}reset(e){!this.is("destroyed")&&this.destroy(),e?(this.queue.wipe(),e(this)):this.queue.reset(),this.cursorPosition=0;for(let t in this.statuses)this.statuses[t]=!1;return this.element[P(this,jn,Zr).call(this)?"value":"innerHTML"]="",this}type(e,t={}){e=Gt(e);let{instant:n}=t,r=P(this,Bt,Un).call(this,t),i=dh(e,this.opts.html).map(u=>({func:()=>P(this,$n,qr).call(this,u),char:u,delay:n||kh(u)?0:P(this,lt,Pt).call(this),typeable:u.nodeType===Node.TEXT_NODE})),o=[r[0],{func:async()=>await this.opts.beforeString(e,this)},...i,{func:async()=>await this.opts.afterString(e,this)},r[1]];return P(this,Ae,Qe).call(this,o,t)}break(e={}){return P(this,Ae,Qe).call(this,{func:()=>P(this,$n,qr).call(this,hl("BR")),typeable:!0},e)}move(e,t={}){e=Gt(e);let n=P(this,Bt,Un).call(this,t),{instant:r,to:l}=t,i=la({queueItems:this.queue.getTypeable(),selector:e===null?"":e,to:l,cursorPosition:X(this,Yt,Vn)}),o=i<0?-1:1;return this.predictedCursorPosition=X(this,Yt,Vn)+i,P(this,Ae,Qe).call(this,[n[0],...tl({func:()=>P(this,Kr,Di).call(this,o),delay:r?0:P(this,lt,Pt).call(this),cursorable:!0},Math.abs(i)),n[1]],t)}exec(e,t={}){let n=P(this,Bt,Un).call(this,t);return P(this,Ae,Qe).call(this,[n[0],{func:()=>e(this)},n[1]],t)}options(e,t={}){return e=Gt(e),P(this,Qt,An).call(this,e),P(this,Ae,Qe).call(this,{},t)}pause(e,t={}){return P(this,Ae,Qe).call(this,{delay:Gt(e)},t)}delete(e=null,t={}){e=Gt(e);let n=P(this,Bt,Un).call(this,t),r=e,{instant:l,to:i}=t,o=this.queue.getTypeable(),u=r===null?o.length:Nf(r)?r:la({queueItems:o,selector:r,cursorPosition:X(this,Yt,Vn),to:i});return P(this,Ae,Qe).call(this,[n[0],...tl({func:P(this,Kt,Wn).bind(this),delay:l?0:P(this,lt,Pt).call(this,1),deletable:!0},u),n[1]],t)}freeze(){this.statuses.frozen=!0}flush(e=()=>{}){return P(this,Gr,Ui).call(this),P(this,Vt,Fn).call(this,!1).then(e),this}getQueue(){return this.queue}getOptions(){return this.opts}updateOptions(e){return P(this,Qt,An).call(this,e)}getElement(){return this.element}empty(e={}){return P(this,Ae,Qe).call(this,{func:P(this,Mi,Xs).bind(this)},e)}},Mi=new WeakSet,Xs=async function(){if(P(this,jn,Zr).call(this)){this.element.value="";return}X(this,$e,Ke).forEach(P(this,Hn,br).bind(this))},Vt=new WeakSet,Fn=async function(e=!0){this.statuses.started=!0;let t=n=>{this.queue.done(n,!e)};try{let n=[...this.queue.getQueue()];for(let l=0;ls+c).forEach(s=>{let[c]=n[s];t(c)}),l=u}t(i)}}if(!e)return this;if(this.statuses.completed=!0,await this.opts.afterComplete(this),!this.opts.loop)throw"";let r=this.opts.loopDelay;P(this,Xr,ji).call(this,async()=>{await P(this,Oi,Gs).call(this,r[0]),P(this,Vt,Fn).call(this)},r[1])}catch{}return this},Kr=new WeakSet,Di=async function(e){this.cursorPosition=zh(e,this.cursorPosition,X(this,$e,Ke)),Ch(this.element,X(this,$e,Ke),this.cursorPosition)},Oi=new WeakSet,Gs=async function(e){let t=X(this,Yt,Vn);t&&await P(this,Kr,Di).call(this,{value:t});let n=X(this,$e,Ke).map(r=>[Symbol(),{func:P(this,Kt,Wn).bind(this),delay:P(this,lt,Pt).call(this,1),deletable:!0,shouldPauseCursor:()=>!0}]);for(let r=0;r{this.unfreeze=()=>{this.statuses.frozen=!1,r()}}),n||await this.opts.beforeStep(this),await Lh(e,t,this.timeouts),n||await this.opts.afterStep(this)},Gr=new WeakSet,Ui=async function(){if(!P(this,jn,Zr).call(this)&&this.cursor&&this.element.appendChild(this.cursor),X(this,el,Qi)){Nh(this.id,this.element),this.cursor.dataset.tiAnimationId=this.id;let{animation:e}=this.opts.cursor,{frames:t,options:n}=e;zf({frames:t,cursor:this.cursor,options:{duration:this.opts.cursorSpeed,...n}})}},jn=new WeakSet,Zr=function(){return Wl(this.element)},Ae=new WeakSet,Qe=function(e,t){return this.queue.add(e),P(this,Ai,Zs).call(this,t),this},Ai=new WeakSet,Zs=function(e={}){let t=e.delay;t&&this.queue.add({delay:t})},Bt=new WeakSet,Un=function(e={}){return[{func:()=>P(this,Qt,An).call(this,e)},{func:()=>P(this,Qt,An).call(this,this.opts)}]},Qt=new WeakSet,An=async function(e){this.opts=Gn(this.opts,e)},$i=new WeakSet,Js=function(){let e=this.opts.strings.filter(t=>!!t);e.forEach((t,n)=>{if(this.type(t),n+1===e.length)return;let r=this.opts.breakLines?[{func:()=>P(this,$n,qr).call(this,hl("BR")),typeable:!0}]:tl({func:P(this,Kt,Wn).bind(this),delay:P(this,lt,Pt).call(this,1)},this.queue.getTypeable().length);P(this,Jr,Bi).call(this,r)})},Wi=new WeakMap,Hi=new WeakSet,qs=function(e){let t=this.element.innerHTML;return t?(this.element.innerHTML="",this.opts.startDelete?(this.element.innerHTML=t,Fu(this.element),P(this,Jr,Bi).call(this,tl({func:P(this,Kt,Wn).bind(this),delay:P(this,lt,Pt).call(this,1),deletable:!0},X(this,$e,Ke).length)),e):Th(t).concat(e)):e},Vi=new WeakSet,bs=function(){if(X(this,Xt,Bn))return null;let e=hl("span");return e.className=Dt,X(this,el,Qi)?(e.innerHTML=xf(this.opts.cursorChar).innerHTML,e):(e.style.visibility="hidden",e)},Jr=new WeakSet,Bi=function(e){let t=this.opts.nextStringDelay;this.queue.add([{delay:t[0]},...e,{delay:t[1]}])},$n=new WeakSet,qr=function(e){Sh(this.element,e)},Kt=new WeakSet,Wn=function(){X(this,$e,Ke).length&&(X(this,Xt,Bn)?this.element.value=this.element.value.slice(0,-1):P(this,Hn,br).call(this,X(this,$e,Ke)[this.cursorPosition]))},Hn=new WeakSet,br=function(e){_h(e,this.element)},lt=new WeakSet,Pt=function(e=0){return ch(this.opts)[e]},Yt=new WeakSet,Vn=function(){return this.predictedCursorPosition??this.cursorPosition},Xt=new WeakSet,Bn=function(){return Wl(this.element)},el=new WeakSet,Qi=function(){return!!this.opts.cursor&&!X(this,Xt,Bn)},$e=new WeakSet,Ke=function(){return gh(this.element)},ea);const Ih=Ie.forwardRef((e,t)=>{const{as:n}=e;return Bo.createElement(n,{ref:t,...e})}),Mh={},Dh=({as:e="span",options:t=Mh,children:n=null,getBeforeInit:r=o=>o,getAfterInit:l=o=>o,...i})=>{const o=Ie.useRef(null),u=Ie.useRef(null),[s,c]=Ie.useState(!0),[m,h]=Ie.useState(null);function p(){const w=Object.assign({},t);n&&o.current&&(w.strings=o.current.innerHTML),h(w)}function v(){u.current=new Rh(o.current,m),u.current=r(u.current),u.current.go(),u.current=l(u.current)}return Ie.useEffect(()=>{p(),c(!1)},[t]),Ie.useEffect(()=>{var w;m&&((w=u.current)!=null&&w.updateOptions(m)||v())},[m]),Ie.useEffect(()=>()=>{var w;return(w=u.current)==null?void 0:w.destroy()},[]),Bo.createElement(Ih,{ref:o,as:e,children:s?n:null,style:{opacity:s?0:1},...i})};function Oh(){return ml.jsx("div",{className:"flex h-screen items-center justify-center bg-slate-700",children:ml.jsx(Dh,{className:"font-mono text-4xl text-white sm:text-6xl",options:{strings:["Hello, World!"],startDelay:250,waitUntilVisible:!0,lifeLike:!0}})})}Ki.createRoot(document.getElementById("root")).render(ml.jsx(Bo.StrictMode,{children:ml.jsx(Oh,{})})); diff --git a/assets/index-hfnA9lJC.css b/assets/index-hfnA9lJC.css new file mode 100644 index 0000000..ca83058 --- /dev/null +++ b/assets/index-hfnA9lJC.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.flex{display:flex}.contents{display:contents}.h-screen{height:100vh}.items-center{align-items:center}.justify-center{justify-content:center}.bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:text-6xl{font-size:3.75rem;line-height:1}} diff --git a/favicon.svg b/favicon.svg new file mode 100644 index 0000000..c41918b --- /dev/null +++ b/favicon.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..296d2a0 --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + Hello, World! + + + + +
+ + diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file