Spaces:
Running
Running
Update assets/index-9ab17ea4.js
Browse files- assets/index-9ab17ea4.js +1 -1
assets/index-9ab17ea4.js
CHANGED
@@ -38,4 +38,4 @@
|
|
38 |
`).replace(Qf,"")}function fr(e,n,t){if(n=ci(n),ci(e)!==n&&t)throw Error(y(425))}function Ur(){}var mo=null,ho=null;function vo(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var yo=typeof setTimeout=="function"?setTimeout:void 0,Kf=typeof clearTimeout=="function"?clearTimeout:void 0,fi=typeof Promise=="function"?Promise:void 0,Xf=typeof queueMicrotask=="function"?queueMicrotask:typeof fi<"u"?function(e){return fi.resolve(null).then(e).catch(Yf)}:yo;function Yf(e){setTimeout(function(){throw e})}function Dl(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(r===0){e.removeChild(l),It(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);It(n)}function un(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function di(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var it=Math.random().toString(36).slice(2),Fe="__reactFiber$"+it,Vt="__reactProps$"+it,Ke="__reactContainer$"+it,go="__reactEvents$"+it,Gf="__reactListeners$"+it,Zf="__reactHandles$"+it;function Sn(e){var n=e[Fe];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Ke]||t[Fe]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=di(e);e!==null;){if(t=e[Fe])return t;e=di(e)}return n}e=t,t=e.parentNode}return null}function Jt(e){return e=e[Fe]||e[Ke],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(y(33))}function ol(e){return e[Vt]||null}var wo=[],An=-1;function hn(e){return{current:e}}function F(e){0>An||(e.current=wo[An],wo[An]=null,An--)}function D(e,n){An++,wo[An]=e.current,e.current=n}var pn={},le=hn(pn),de=hn(!1),Nn=pn;function bn(e,n){var t=e.type.contextTypes;if(!t)return pn;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 pe(e){return e=e.childContextTypes,e!=null}function $r(){F(de),F(le)}function pi(e,n,t){if(le.current!==pn)throw Error(y(168));D(le,n),D(de,t)}function qs(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,Oc(e)||"Unknown",l));return V({},t,r)}function Ar(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Nn=le.current,D(le,e),D(de,de.current),!0}function mi(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=qs(e,n,Nn),r.__reactInternalMemoizedMergedChildContext=e,F(de),F(le),D(le,e)):F(de),D(de,t)}var Ve=null,ul=!1,Il=!1;function bs(e){Ve===null?Ve=[e]:Ve.push(e)}function Jf(e){ul=!0,bs(e)}function vn(){if(!Il&&Ve!==null){Il=!0;var e=0,n=M;try{var t=Ve;for(M=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}Ve=null,ul=!1}catch(l){throw Ve!==null&&(Ve=Ve.slice(e+1)),Cs(Zo,vn),l}finally{M=n,Il=!1}}return null}var Vn=[],Bn=0,Vr=null,Br=0,Se=[],xe=0,Pn=null,Be=1,He="";function wn(e,n){Vn[Bn++]=Br,Vn[Bn++]=Vr,Vr=e,Br=n}function ea(e,n,t){Se[xe++]=Be,Se[xe++]=He,Se[xe++]=Pn,Pn=e;var r=Be;e=He;var l=32-je(r)-1;r&=~(1<<l),t+=1;var o=32-je(n)+l;if(30<o){var u=l-l%5;o=(r&(1<<u)-1).toString(32),r>>=u,l-=u,Be=1<<32-je(n)+l|t<<l|r,He=o+e}else Be=1<<o|t<<l|r,He=e}function ou(e){e.return!==null&&(wn(e,1),ea(e,1,0))}function uu(e){for(;e===Vr;)Vr=Vn[--Bn],Vn[Bn]=null,Br=Vn[--Bn],Vn[Bn]=null;for(;e===Pn;)Pn=Se[--xe],Se[xe]=null,He=Se[--xe],Se[xe]=null,Be=Se[--xe],Se[xe]=null}var ye=null,ve=null,U=!1,Re=null;function na(e,n){var t=Ee(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)}function hi(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,ye=e,ve=un(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,ye=e,ve=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(t=Pn!==null?{id:Be,overflow:He}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},t=Ee(18,null,null,0),t.stateNode=n,t.return=e,e.child=t,ye=e,ve=null,!0):!1;default:return!1}}function ko(e){return(e.mode&1)!==0&&(e.flags&128)===0}function So(e){if(U){var n=ve;if(n){var t=n;if(!hi(e,n)){if(ko(e))throw Error(y(418));n=un(t.nextSibling);var r=ye;n&&hi(e,n)?na(r,t):(e.flags=e.flags&-4097|2,U=!1,ye=e)}}else{if(ko(e))throw Error(y(418));e.flags=e.flags&-4097|2,U=!1,ye=e}}}function vi(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ye=e}function dr(e){if(e!==ye)return!1;if(!U)return vi(e),U=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!vo(e.type,e.memoizedProps)),n&&(n=ve)){if(ko(e))throw ta(),Error(y(418));for(;n;)na(e,n),n=un(n.nextSibling)}if(vi(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(y(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){ve=un(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}ve=null}}else ve=ye?un(e.stateNode.nextSibling):null;return!0}function ta(){for(var e=ve;e;)e=un(e.nextSibling)}function et(){ve=ye=null,U=!1}function iu(e){Re===null?Re=[e]:Re.push(e)}var qf=Ge.ReactCurrentBatchConfig;function Le(e,n){if(e&&e.defaultProps){n=V({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}var Hr=hn(null),Wr=null,Hn=null,su=null;function au(){su=Hn=Wr=null}function cu(e){var n=Hr.current;F(Hr),e._currentValue=n}function xo(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){Wr=e,su=Hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(fe=!0),e.firstContext=null)}function _e(e){var n=e._currentValue;if(su!==e)if(e={context:e,memoizedValue:n,next:null},Hn===null){if(Wr===null)throw Error(y(308));Hn=e,Wr.dependencies={lanes:0,firstContext:e}}else Hn=Hn.next=e;return n}var xn=null;function fu(e){xn===null?xn=[e]:xn.push(e)}function ra(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,Xe(e,r)}function Xe(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 qe=!1;function du(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function la(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 We(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function sn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Xe(e,t)}return l=r.interleaved,l===null?(n.next=n,fu(r)):(n.next=l.next,l.next=n),r.interleaved=n,Xe(e,t)}function Er(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 yi(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 Qr(e,n,t,r){var l=e.updateQueue;qe=!1;var o=l.firstBaseUpdate,u=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var s=i,f=s.next;s.next=null,u===null?o=f:u.next=f,u=s;var h=e.alternate;h!==null&&(h=h.updateQueue,i=h.lastBaseUpdate,i!==u&&(i===null?h.firstBaseUpdate=f:i.next=f,h.lastBaseUpdate=s))}if(o!==null){var m=l.baseState;u=0,h=f=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,k=i;switch(p=n,g=t,k.tag){case 1:if(w=k.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=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=V({},m,p);break e;case 2:qe=!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?(f=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(1);if(h===null&&(s=m),l.baseState=s,l.firstBaseUpdate=f,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);Ln|=u,e.lanes=u,e.memoizedState=m}}function gi(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(l!==null){if(r.callback=null,r=t,typeof l!="function")throw Error(y(191,l));l.call(r)}}}var oa=new rs.Component().refs;function Eo(e,n,t,r){n=e.memoizedState,t=t(r,n),t=t==null?n:V({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var il={isMounted:function(e){return(e=e._reactInternals)?jn(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=ie(),l=cn(e),o=We(r,l);o.payload=n,t!=null&&(o.callback=t),n=sn(e,o,l),n!==null&&(Oe(n,e,l,r),Er(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=ie(),l=cn(e),o=We(r,l);o.tag=1,o.payload=n,t!=null&&(o.callback=t),n=sn(e,o,l),n!==null&&(Oe(n,e,l,r),Er(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=ie(),r=cn(e),l=We(t,r);l.tag=2,n!=null&&(l.callback=n),n=sn(e,l,r),n!==null&&(Oe(n,e,r,t),Er(n,e,r))}};function wi(e,n,t,r,l,o,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,u):n.prototype&&n.prototype.isPureReactComponent?!Ut(t,r)||!Ut(l,o):!0}function ua(e,n,t){var r=!1,l=pn,o=n.contextType;return typeof o=="object"&&o!==null?o=_e(o):(l=pe(n)?Nn:le.current,r=n.contextTypes,o=(r=r!=null)?bn(e,l):pn),n=new n(t,o),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=il,e.stateNode=n,n._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),n}function ki(e,n,t,r){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(t,r),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&il.enqueueReplaceState(n,n.state,null)}function Co(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=oa,du(e);var o=n.contextType;typeof o=="object"&&o!==null?l.context=_e(o):(o=pe(n)?Nn:le.current,l.context=bn(e,o)),l.state=e.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Eo(e,n,o,t),l.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&il.enqueueReplaceState(l,l.state,null),Qr(e,t,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function ht(e,n,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(y(309));var r=t.stateNode}if(!r)throw Error(y(147,e));var l=r,o=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===o?n.ref:(n=function(u){var i=l.refs;i===oa&&(i=l.refs={}),u===null?delete i[o]:i[o]=u},n._stringRef=o,n)}if(typeof e!="string")throw Error(y(284));if(!t._owner)throw Error(y(290,e))}return e}function pr(e,n){throw e=Object.prototype.toString.call(n),Error(y(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Si(e){var n=e._init;return n(e._payload)}function ia(e){function n(c,a){if(e){var d=c.deletions;d===null?(c.deletions=[a],c.flags|=16):d.push(a)}}function t(c,a){if(!e)return null;for(;a!==null;)n(c,a),a=a.sibling;return null}function r(c,a){for(c=new Map;a!==null;)a.key!==null?c.set(a.key,a):c.set(a.index,a),a=a.sibling;return c}function l(c,a){return c=fn(c,a),c.index=0,c.sibling=null,c}function o(c,a,d){return c.index=d,e?(d=c.alternate,d!==null?(d=d.index,d<a?(c.flags|=2,a):d):(c.flags|=2,a)):(c.flags|=1048576,a)}function u(c){return e&&c.alternate===null&&(c.flags|=2),c}function i(c,a,d,v){return a===null||a.tag!==6?(a=Hl(d,c.mode,v),a.return=c,a):(a=l(a,d),a.return=c,a)}function s(c,a,d,v){var x=d.type;return x===Dn?h(c,a,d.props.children,v,d.key):a!==null&&(a.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Je&&Si(x)===a.type)?(v=l(a,d.props),v.ref=ht(c,a,d),v.return=c,v):(v=Lr(d.type,d.key,d.props,null,c.mode,v),v.ref=ht(c,a,d),v.return=c,v)}function f(c,a,d,v){return a===null||a.tag!==4||a.stateNode.containerInfo!==d.containerInfo||a.stateNode.implementation!==d.implementation?(a=Wl(d,c.mode,v),a.return=c,a):(a=l(a,d.children||[]),a.return=c,a)}function h(c,a,d,v,x){return a===null||a.tag!==7?(a=_n(d,c.mode,v,x),a.return=c,a):(a=l(a,d),a.return=c,a)}function m(c,a,d){if(typeof a=="string"&&a!==""||typeof a=="number")return a=Hl(""+a,c.mode,d),a.return=c,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case tr:return d=Lr(a.type,a.key,a.props,null,c.mode,d),d.ref=ht(c,null,a),d.return=c,d;case Mn:return a=Wl(a,c.mode,d),a.return=c,a;case Je:var v=a._init;return m(c,v(a._payload),d)}if(wt(a)||ct(a))return a=_n(a,c.mode,d,null),a.return=c,a;pr(c,a)}return null}function p(c,a,d,v){var x=a!==null?a.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return x!==null?null:i(c,a,""+d,v);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case tr:return d.key===x?s(c,a,d,v):null;case Mn:return d.key===x?f(c,a,d,v):null;case Je:return x=d._init,p(c,a,x(d._payload),v)}if(wt(d)||ct(d))return x!==null?null:h(c,a,d,v,null);pr(c,d)}return null}function g(c,a,d,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return c=c.get(d)||null,i(a,c,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case tr:return c=c.get(v.key===null?d:v.key)||null,s(a,c,v,x);case Mn:return c=c.get(v.key===null?d:v.key)||null,f(a,c,v,x);case Je:var C=v._init;return g(c,a,d,C(v._payload),x)}if(wt(v)||ct(v))return c=c.get(d)||null,h(a,c,v,x,null);pr(a,v)}return null}function w(c,a,d,v){for(var x=null,C=null,_=a,N=a=0,H=null;_!==null&&N<d.length;N++){_.index>N?(H=_,_=null):H=_.sibling;var R=p(c,_,d[N],v);if(R===null){_===null&&(_=H);break}e&&_&&R.alternate===null&&n(c,_),a=o(R,a,N),C===null?x=R:C.sibling=R,C=R,_=H}if(N===d.length)return t(c,_),U&&wn(c,N),x;if(_===null){for(;N<d.length;N++)_=m(c,d[N],v),_!==null&&(a=o(_,a,N),C===null?x=_:C.sibling=_,C=_);return U&&wn(c,N),x}for(_=r(c,_);N<d.length;N++)H=g(_,c,N,d[N],v),H!==null&&(e&&H.alternate!==null&&_.delete(H.key===null?N:H.key),a=o(H,a,N),C===null?x=H:C.sibling=H,C=H);return e&&_.forEach(function(Pe){return n(c,Pe)}),U&&wn(c,N),x}function k(c,a,d,v){var x=ct(d);if(typeof x!="function")throw Error(y(150));if(d=x.call(d),d==null)throw Error(y(151));for(var C=x=null,_=a,N=a=0,H=null,R=d.next();_!==null&&!R.done;N++,R=d.next()){_.index>N?(H=_,_=null):H=_.sibling;var Pe=p(c,_,R.value,v);if(Pe===null){_===null&&(_=H);break}e&&_&&Pe.alternate===null&&n(c,_),a=o(Pe,a,N),C===null?x=Pe:C.sibling=Pe,C=Pe,_=H}if(R.done)return t(c,_),U&&wn(c,N),x;if(_===null){for(;!R.done;N++,R=d.next())R=m(c,R.value,v),R!==null&&(a=o(R,a,N),C===null?x=R:C.sibling=R,C=R);return U&&wn(c,N),x}for(_=r(c,_);!R.done;N++,R=d.next())R=g(_,c,N,R.value,v),R!==null&&(e&&R.alternate!==null&&_.delete(R.key===null?N:R.key),a=o(R,a,N),C===null?x=R:C.sibling=R,C=R);return e&&_.forEach(function(st){return n(c,st)}),U&&wn(c,N),x}function j(c,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 tr:e:{for(var x=d.key,C=a;C!==null;){if(C.key===x){if(x=d.type,x===Dn){if(C.tag===7){t(c,C.sibling),a=l(C,d.props.children),a.return=c,c=a;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Je&&Si(x)===C.type){t(c,C.sibling),a=l(C,d.props),a.ref=ht(c,C,d),a.return=c,c=a;break e}t(c,C);break}else n(c,C);C=C.sibling}d.type===Dn?(a=_n(d.props.children,c.mode,v,d.key),a.return=c,c=a):(v=Lr(d.type,d.key,d.props,null,c.mode,v),v.ref=ht(c,a,d),v.return=c,c=v)}return u(c);case Mn: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(c,a.sibling),a=l(a,d.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Wl(d,c.mode,v),a.return=c,c=a}return u(c);case Je:return C=d._init,j(c,a,C(d._payload),v)}if(wt(d))return w(c,a,d,v);if(ct(d))return k(c,a,d,v);pr(c,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,d),a.return=c,c=a):(t(c,a),a=Hl(d,c.mode,v),a.return=c,c=a),u(c)):t(c,a)}return j}var nt=ia(!0),sa=ia(!1),qt={},$e=hn(qt),Bt=hn(qt),Ht=hn(qt);function En(e){if(e===qt)throw Error(y(174));return e}function pu(e,n){switch(D(Ht,n),D(Bt,e),D($e,qt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:no(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=no(n,e)}F($e),D($e,n)}function tt(){F($e),F(Bt),F(Ht)}function aa(e){En(Ht.current);var n=En($e.current),t=no(n,e.type);n!==t&&(D(Bt,e),D($e,t))}function mu(e){Bt.current===e&&(F($e),F(Bt))}var $=hn(0);function Kr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Fl=[];function hu(){for(var e=0;e<Fl.length;e++)Fl[e]._workInProgressVersionPrimary=null;Fl.length=0}var Cr=Ge.ReactCurrentDispatcher,Ul=Ge.ReactCurrentBatchConfig,zn=0,A=null,X=null,Z=null,Xr=!1,Pt=!1,Wt=0,bf=0;function ne(){throw Error(y(321))}function vu(e,n){if(n===null)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Me(e[t],n[t]))return!1;return!0}function yu(e,n,t,r,l,o){if(zn=o,A=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Cr.current=e===null||e.memoizedState===null?rd:ld,e=t(r,l),Pt){o=0;do{if(Pt=!1,Wt=0,25<=o)throw Error(y(301));o+=1,Z=X=null,n.updateQueue=null,Cr.current=od,e=t(r,l)}while(Pt)}if(Cr.current=Yr,n=X!==null&&X.next!==null,zn=0,Z=X=A=null,Xr=!1,n)throw Error(y(300));return e}function gu(){var e=Wt!==0;return Wt=0,e}function Ie(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Z===null?A.memoizedState=Z=e:Z=Z.next=e,Z}function Ne(){if(X===null){var e=A.alternate;e=e!==null?e.memoizedState:null}else e=X.next;var n=Z===null?A.memoizedState:Z.next;if(n!==null)Z=n,X=e;else{if(e===null)throw Error(y(310));X=e,e={memoizedState:X.memoizedState,baseState:X.baseState,baseQueue:X.baseQueue,queue:X.queue,next:null},Z===null?A.memoizedState=Z=e:Z=Z.next=e}return Z}function Qt(e,n){return typeof n=="function"?n(e):n}function $l(e){var n=Ne(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=X,l=r.baseQueue,o=t.pending;if(o!==null){if(l!==null){var u=l.next;l.next=o.next,o.next=u}r.baseQueue=l=o,t.pending=null}if(l!==null){o=l.next,r=r.baseState;var i=u=null,s=null,f=o;do{var h=f.lane;if((zn&h)===h)s!==null&&(s=s.next={lane:0,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),r=f.hasEagerState?f.eagerState:e(r,f.action);else{var m={lane:h,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null};s===null?(i=s=m,u=r):s=s.next=m,A.lanes|=h,Ln|=h}f=f.next}while(f!==null&&f!==o);s===null?u=r:s.next=i,Me(r,n.memoizedState)||(fe=!0),n.memoizedState=r,n.baseState=u,n.baseQueue=s,t.lastRenderedState=r}if(e=t.interleaved,e!==null){l=e;do o=l.lane,A.lanes|=o,Ln|=o,l=l.next;while(l!==e)}else l===null&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function Al(e){var n=Ne(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,o=n.memoizedState;if(l!==null){t.pending=null;var u=l=l.next;do o=e(o,u.action),u=u.next;while(u!==l);Me(o,n.memoizedState)||(fe=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,r]}function ca(){}function fa(e,n){var t=A,r=Ne(),l=n(),o=!Me(r.memoizedState,l);if(o&&(r.memoizedState=l,fe=!0),r=r.queue,wu(ma.bind(null,t,r,e),[e]),r.getSnapshot!==n||o||Z!==null&&Z.memoizedState.tag&1){if(t.flags|=2048,Kt(9,pa.bind(null,t,r,l,n),void 0,null),J===null)throw Error(y(349));zn&30||da(t,n,l)}return l}function da(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},n=A.updateQueue,n===null?(n={lastEffect:null,stores:null},A.updateQueue=n,n.stores=[e]):(t=n.stores,t===null?n.stores=[e]:t.push(e))}function pa(e,n,t,r){n.value=t,n.getSnapshot=r,ha(n)&&va(e)}function ma(e,n,t){return t(function(){ha(n)&&va(e)})}function ha(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!Me(e,t)}catch{return!0}}function va(e){var n=Xe(e,1);n!==null&&Oe(n,e,1,-1)}function xi(e){var n=Ie();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qt,lastRenderedState:e},n.queue=e,e=e.dispatch=td.bind(null,A,e),[n.memoizedState,e]}function Kt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},n=A.updateQueue,n===null?(n={lastEffect:null,stores:null},A.updateQueue=n,n.lastEffect=e.next=e):(t=n.lastEffect,t===null?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e)),e}function ya(){return Ne().memoizedState}function _r(e,n,t,r){var l=Ie();A.flags|=e,l.memoizedState=Kt(1|n,t,void 0,r===void 0?null:r)}function sl(e,n,t,r){var l=Ne();r=r===void 0?null:r;var o=void 0;if(X!==null){var u=X.memoizedState;if(o=u.destroy,r!==null&&vu(r,u.deps)){l.memoizedState=Kt(n,t,o,r);return}}A.flags|=e,l.memoizedState=Kt(1|n,t,o,r)}function Ei(e,n){return _r(8390656,8,e,n)}function wu(e,n){return sl(2048,8,e,n)}function ga(e,n){return sl(4,2,e,n)}function wa(e,n){return sl(4,4,e,n)}function ka(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Sa(e,n,t){return t=t!=null?t.concat([e]):null,sl(4,4,ka.bind(null,n,e),t)}function ku(){}function xa(e,n){var t=Ne();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vu(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Ea(e,n){var t=Ne();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vu(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ca(e,n,t){return zn&21?(Me(t,n)||(t=Ps(),A.lanes|=t,Ln|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,fe=!0),e.memoizedState=t)}function ed(e,n){var t=M;M=t!==0&&4>t?t:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),n()}finally{M=t,Ul.transition=r}}function _a(){return Ne().memoizedState}function nd(e,n,t){var r=cn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Na(e))Pa(n,t);else if(t=ra(e,n,t,r),t!==null){var l=ie();Oe(t,e,r,l),za(t,n,r)}}function td(e,n,t){var r=cn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Na(e))Pa(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,Me(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=ra(e,n,l,r),t!==null&&(l=ie(),Oe(t,e,r,l),za(t,n,r))}}function Na(e){var n=e.alternate;return e===A||n!==null&&n===A}function Pa(e,n){Pt=Xr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function za(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Jo(e,t)}}var Yr={readContext:_e,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},rd={readContext:_e,useCallback:function(e,n){return Ie().memoizedState=[e,n===void 0?null:n],e},useContext:_e,useEffect:Ei,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,_r(4194308,4,ka.bind(null,n,e),t)},useLayoutEffect:function(e,n){return _r(4194308,4,e,n)},useInsertionEffect:function(e,n){return _r(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=nd.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var n=Ie();return e={current:e},n.memoizedState=e},useState:xi,useDebugValue:ku,useDeferredValue:function(e){return Ie().memoizedState=e},useTransition:function(){var e=xi(!1),n=e[0];return e=ed.bind(null,e[1]),Ie().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=A,l=Ie();if(U){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),J===null)throw Error(y(349));zn&30||da(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Ei(ma.bind(null,r,o,e),[e]),r.flags|=2048,Kt(9,pa.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Ie(),n=J.identifierPrefix;if(U){var t=He,r=Be;t=(r&~(1<<32-je(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Wt++,0<t&&(n+="H"+t.toString(32)),n+=":"}else t=bf++,n=":"+n+"r"+t.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},ld={readContext:_e,useCallback:xa,useContext:_e,useEffect:wu,useImperativeHandle:Sa,useInsertionEffect:ga,useLayoutEffect:wa,useMemo:Ea,useReducer:$l,useRef:ya,useState:function(){return $l(Qt)},useDebugValue:ku,useDeferredValue:function(e){var n=Ne();return Ca(n,X.memoizedState,e)},useTransition:function(){var e=$l(Qt)[0],n=Ne().memoizedState;return[e,n]},useMutableSource:ca,useSyncExternalStore:fa,useId:_a,unstable_isNewReconciler:!1},od={readContext:_e,useCallback:xa,useContext:_e,useEffect:wu,useImperativeHandle:Sa,useInsertionEffect:ga,useLayoutEffect:wa,useMemo:Ea,useReducer:Al,useRef:ya,useState:function(){return Al(Qt)},useDebugValue:ku,useDeferredValue:function(e){var n=Ne();return X===null?n.memoizedState=e:Ca(n,X.memoizedState,e)},useTransition:function(){var e=Al(Qt)[0],n=Ne().memoizedState;return[e,n]},useMutableSource:ca,useSyncExternalStore:fa,useId:_a,unstable_isNewReconciler:!1};function rt(e,n){try{var t="",r=n;do t+=jc(r),r=r.return;while(r);var l=t}catch(o){l=`
|
39 |
Error generating stack: `+o.message+`
|
40 |
`+o.stack}return{value:e,source:n,stack:l,digest:null}}function Vl(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function _o(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var ud=typeof WeakMap=="function"?WeakMap:Map;function La(e,n,t){t=We(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Zr||(Zr=!0,Do=r),_o(e,n)},t}function Ta(e,n,t){t=We(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){_o(e,n)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){_o(e,n),typeof r!="function"&&(an===null?an=new Set([this]):an.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function Ci(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new ud;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=kd.bind(null,e,n,t),n.then(e,e))}function _i(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Ni(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=We(-1,1),n.tag=2,sn(t,n,1))),t.lanes|=1),e)}var id=Ge.ReactCurrentOwner,fe=!1;function ue(e,n,t,r){n.child=e===null?sa(n,null,t,r):nt(n,e.child,t,r)}function Pi(e,n,t,r,l){t=t.render;var o=n.ref;return Zn(n,l),r=yu(e,n,t,r,o,l),t=gu(),e!==null&&!fe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(U&&t&&ou(n),n.flags|=1,ue(e,n,r,l),n.child)}function zi(e,n,t,r,l){if(e===null){var o=t.type;return typeof o=="function"&&!zu(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=o,Ra(e,n,o,r,l)):(e=Lr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(o=e.child,!(e.lanes&l)){var u=o.memoizedProps;if(t=t.compare,t=t!==null?t:Ut,t(u,r)&&e.ref===n.ref)return Ye(e,n,l)}return n.flags|=1,e=fn(o,r),e.ref=n.ref,e.return=n,n.child=e}function Ra(e,n,t,r,l){if(e!==null){var o=e.memoizedProps;if(Ut(o,r)&&e.ref===n.ref)if(fe=!1,n.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(fe=!0);else return n.lanes=e.lanes,Ye(e,n,l)}return No(e,n,t,r,l)}function ja(e,n,t){var r=n.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Qn,he),he|=t;else{if(!(t&1073741824))return e=o!==null?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Qn,he),he|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,D(Qn,he),he|=r}else o!==null?(r=o.baseLanes|t,n.memoizedState=null):r=t,D(Qn,he),he|=r;return ue(e,n,l,t),n.child}function Oa(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function No(e,n,t,r,l){var o=pe(t)?Nn:le.current;return o=bn(n,o),Zn(n,l),t=yu(e,n,t,r,o,l),r=gu(),e!==null&&!fe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(U&&r&&ou(n),n.flags|=1,ue(e,n,t,l),n.child)}function Li(e,n,t,r,l){if(pe(t)){var o=!0;Ar(n)}else o=!1;if(Zn(n,l),n.stateNode===null)Nr(e,n),ua(n,t,r),Co(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,i=n.memoizedProps;u.props=i;var s=u.context,f=t.contextType;typeof f=="object"&&f!==null?f=_e(f):(f=pe(t)?Nn:le.current,f=bn(n,f));var h=t.getDerivedStateFromProps,m=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==r||s!==f)&&ki(n,u,r,f),qe=!1;var p=n.memoizedState;u.state=p,Qr(n,r,u,l),s=n.memoizedState,i!==r||p!==s||de.current||qe?(typeof h=="function"&&(Eo(n,t,h,r),s=n.memoizedState),(i=qe||wi(n,t,i,r,p,s,f))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),u.props=r,u.state=s,u.context=f,r=i):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,la(e,n),i=n.memoizedProps,f=n.type===n.elementType?i:Le(n.type,i),u.props=f,m=n.pendingProps,p=u.context,s=t.contextType,typeof s=="object"&&s!==null?s=_e(s):(s=pe(t)?Nn:le.current,s=bn(n,s));var g=t.getDerivedStateFromProps;(h=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==m||p!==s)&&ki(n,u,r,s),qe=!1,p=n.memoizedState,u.state=p,Qr(n,r,u,l);var w=n.memoizedState;i!==m||p!==w||de.current||qe?(typeof g=="function"&&(Eo(n,t,g,r),w=n.memoizedState),(f=qe||wi(n,t,f,r,p,w,s)||!1)?(h||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,s),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,s)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=s,r=f):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return Po(e,n,t,r,o,l)}function Po(e,n,t,r,l,o){Oa(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&mi(n,t,!1),Ye(e,n,o);r=n.stateNode,id.current=n;var i=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=nt(n,e.child,null,o),n.child=nt(n,null,i,o)):ue(e,n,i,o),n.memoizedState=r.state,l&&mi(n,t,!0),n.child}function Ma(e){var n=e.stateNode;n.pendingContext?pi(e,n.pendingContext,n.pendingContext!==n.context):n.context&&pi(e,n.context,!1),pu(e,n.containerInfo)}function Ti(e,n,t,r,l){return et(),iu(l),n.flags|=256,ue(e,n,t,r),n.child}var zo={dehydrated:null,treeContext:null,retryLane:0};function Lo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Da(e,n,t){var r=n.pendingProps,l=$.current,o=!1,u=(n.flags&128)!==0,i;if((i=u)||(i=e!==null&&e.memoizedState===null?!1:(l&2)!==0),i?(o=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D($,l&1),e===null)return So(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,o?(r=n.mode,o=n.child,u={mode:"hidden",children:u},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=u):o=fl(u,r,0,null),e=_n(e,r,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=Lo(t),n.memoizedState=zo,e):Su(n,u));if(l=e.memoizedState,l!==null&&(i=l.dehydrated,i!==null))return sd(e,n,u,r,i,l,t);if(o){o=r.fallback,u=n.mode,l=e.child,i=l.sibling;var s={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=fn(l,s),r.subtreeFlags=l.subtreeFlags&14680064),i!==null?o=fn(i,o):(o=_n(o,u,t,null),o.flags|=2),o.return=n,r.return=n,r.sibling=o,n.child=r,r=o,o=n.child,u=e.child.memoizedState,u=u===null?Lo(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},o.memoizedState=u,o.childLanes=e.childLanes&~t,n.memoizedState=zo,r}return o=e.child,e=o.sibling,r=fn(o,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function Su(e,n){return n=fl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function mr(e,n,t,r){return r!==null&&iu(r),nt(n,e.child,null,t),e=Su(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function sd(e,n,t,r,l,o,u){if(t)return n.flags&256?(n.flags&=-257,r=Vl(Error(y(422))),mr(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(o=r.fallback,l=n.mode,r=fl({mode:"visible",children:r.children},l,0,null),o=_n(o,l,u,null),o.flags|=2,r.return=n,o.return=n,r.sibling=o,n.child=r,n.mode&1&&nt(n,e.child,null,u),n.child.memoizedState=Lo(u),n.memoizedState=zo,o);if(!(n.mode&1))return mr(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var i=r.dgst;return r=i,o=Error(y(419)),r=Vl(o,r,void 0),mr(e,n,u,r)}if(i=(u&e.childLanes)!==0,fe||i){if(r=J,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,Xe(e,l),Oe(r,e,l,-1))}return Pu(),r=Vl(Error(y(421))),mr(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Sd.bind(null,e),l._reactRetry=n,null):(e=o.treeContext,ve=un(l.nextSibling),ye=n,U=!0,Re=null,e!==null&&(Se[xe++]=Be,Se[xe++]=He,Se[xe++]=Pn,Be=e.id,He=e.overflow,Pn=n),n=Su(n,r.children),n.flags|=4096,n)}function Ri(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),xo(e.return,n,t)}function Bl(e,n,t,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(o.isBackwards=n,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=t,o.tailMode=l)}function Ia(e,n,t){var r=n.pendingProps,l=r.revealOrder,o=r.tail;if(ue(e,n,r.children,t),r=$.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ri(e,t,n);else if(e.tag===19)Ri(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D($,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&Kr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Bl(n,!1,l,t,o);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&Kr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Bl(n,!0,t,null,o);break;case"together":Bl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Nr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Ye(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),Ln|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=fn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=fn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function ad(e,n,t){switch(n.tag){case 3:Ma(n),et();break;case 5:aa(n);break;case 1:pe(n.type)&&Ar(n);break;case 4:pu(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Hr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D($,$.current&1),n.flags|=128,null):t&n.child.childLanes?Da(e,n,t):(D($,$.current&1),e=Ye(e,n,t),e!==null?e.sibling:null);D($,$.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Ia(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D($,$.current),r)break;return null;case 22:case 23:return n.lanes=0,ja(e,n,t)}return Ye(e,n,t)}var Fa,To,Ua,$a;Fa=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};To=function(){};Ua=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,En($e.current);var o=null;switch(t){case"input":l=Jl(e,l),r=Jl(e,r),o=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),o=[];break;case"textarea":l=eo(e,l),r=eo(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ur)}to(t,r);var u;t=null;for(f in l)if(!r.hasOwnProperty(f)&&l.hasOwnProperty(f)&&l[f]!=null)if(f==="style"){var i=l[f];for(u in i)i.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Rt.hasOwnProperty(f)?o||(o=[]):(o=o||[]).push(f,null));for(f in r){var s=r[f];if(i=l!=null?l[f]:void 0,r.hasOwnProperty(f)&&s!==i&&(s!=null||i!=null))if(f==="style")if(i){for(u in i)!i.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&i[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(o||(o=[]),o.push(f,t)),t=s;else f==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,i=i?i.__html:void 0,s!=null&&i!==s&&(o=o||[]).push(f,s)):f==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(f,""+s):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Rt.hasOwnProperty(f)?(s!=null&&f==="onScroll"&&I("scroll",e),o||i===s||(o=[])):(o=o||[]).push(f,s))}t&&(o=o||[]).push("style",t);var f=o;(n.updateQueue=f)&&(n.flags|=4)}};$a=function(e,n,t,r){t!==r&&(n.flags|=4)};function vt(e,n){if(!U)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function te(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function cd(e,n,t){var r=n.pendingProps;switch(uu(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return te(n),null;case 1:return pe(n.type)&&$r(),te(n),null;case 3:return r=n.stateNode,tt(),F(de),F(le),hu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(dr(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Re!==null&&(Uo(Re),Re=null))),To(e,n),te(n),null;case 5:mu(n);var l=En(Ht.current);if(t=n.type,e!==null&&n.stateNode!=null)Ua(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return te(n),null}if(e=En($e.current),dr(n)){r=n.stateNode,t=n.type;var o=n.memoizedProps;switch(r[Fe]=n,r[Vt]=o,e=(n.mode&1)!==0,t){case"dialog":I("cancel",r),I("close",r);break;case"iframe":case"object":case"embed":I("load",r);break;case"video":case"audio":for(l=0;l<St.length;l++)I(St[l],r);break;case"source":I("error",r);break;case"img":case"image":case"link":I("error",r),I("load",r);break;case"details":I("toggle",r);break;case"input":Au(r,o),I("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},I("invalid",r);break;case"textarea":Bu(r,o),I("invalid",r)}to(t,o),l=null;for(var u in o)if(o.hasOwnProperty(u)){var i=o[u];u==="children"?typeof i=="string"?r.textContent!==i&&(o.suppressHydrationWarning!==!0&&fr(r.textContent,i,e),l=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(o.suppressHydrationWarning!==!0&&fr(r.textContent,i,e),l=["children",""+i]):Rt.hasOwnProperty(u)&&i!=null&&u==="onScroll"&&I("scroll",r)}switch(t){case"input":rr(r),Vu(r,o,!0);break;case"textarea":rr(r),Hu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ur)}r=l,n.updateQueue=r,r!==null&&(n.flags|=4)}else{u=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ds(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=u.createElement("div"),e.innerHTML="<script><\/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[Fe]=n,e[Vt]=r,Fa(e,n,!1,!1),n.stateNode=e;e:{switch(u=ro(t,r),t){case"dialog":I("cancel",e),I("close",e),l=r;break;case"iframe":case"object":case"embed":I("load",e),l=r;break;case"video":case"audio":for(l=0;l<St.length;l++)I(St[l],e);l=r;break;case"source":I("error",e),l=r;break;case"img":case"image":case"link":I("error",e),I("load",e),l=r;break;case"details":I("toggle",e),l=r;break;case"input":Au(e,r),l=Jl(e,r),I("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=V({},r,{value:void 0}),I("invalid",e);break;case"textarea":Bu(e,r),l=eo(e,r),I("invalid",e);break;default:l=r}to(t,l),i=l;for(o in i)if(i.hasOwnProperty(o)){var s=i[o];o==="style"?hs(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&ps(e,s)):o==="children"?typeof s=="string"?(t!=="textarea"||s!=="")&&jt(e,s):typeof s=="number"&&jt(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Rt.hasOwnProperty(o)?s!=null&&o==="onScroll"&&I("scroll",e):s!=null&&Qo(e,o,s,u))}switch(t){case"input":rr(e),Vu(e,r,!1);break;case"textarea":rr(e),Hu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+dn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Kn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Kn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Ur)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return te(n),null;case 6:if(e&&n.stateNode!=null)$a(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=En(Ht.current),En($e.current),dr(n)){if(r=n.stateNode,t=n.memoizedProps,r[Fe]=n,(o=r.nodeValue!==t)&&(e=ye,e!==null))switch(e.tag){case 3:fr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fr(r.nodeValue,t,(e.mode&1)!==0)}o&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Fe]=n,n.stateNode=r}return te(n),null;case 13:if(F($),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ve!==null&&n.mode&1&&!(n.flags&128))ta(),et(),n.flags|=98560,o=!1;else if(o=dr(n),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(y(318));if(o=n.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(y(317));o[Fe]=n}else et(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;te(n),o=!1}else Re!==null&&(Uo(Re),Re=null),o=!0;if(!o)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||$.current&1?Y===0&&(Y=3):Pu())),n.updateQueue!==null&&(n.flags|=4),te(n),null);case 4:return tt(),To(e,n),e===null&&$t(n.stateNode.containerInfo),te(n),null;case 10:return cu(n.type._context),te(n),null;case 17:return pe(n.type)&&$r(),te(n),null;case 19:if(F($),o=n.memoizedState,o===null)return te(n),null;if(r=(n.flags&128)!==0,u=o.rendering,u===null)if(r)vt(o,!1);else{if(Y!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(u=Kr(e),u!==null){for(n.flags|=128,vt(o,!1),r=u.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)o=t,e=r,o.flags&=14680066,u=o.alternate,u===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=u.childLanes,o.lanes=u.lanes,o.child=u.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=u.memoizedProps,o.memoizedState=u.memoizedState,o.updateQueue=u.updateQueue,o.type=u.type,e=u.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return D($,$.current&1|2),n.child}e=e.sibling}o.tail!==null&&Q()>lt&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Kr(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&&!U)return te(n),null}else 2*Q()-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=Q(),n.sibling=null,t=$.current,D($,r?t&1|2:t&1),n):(te(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?he&1073741824&&(te(n),n.subtreeFlags&6&&(n.flags|=8192)):te(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function fd(e,n){switch(uu(n),n.tag){case 1:return pe(n.type)&&$r(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return tt(),F(de),F(le),hu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return mu(n),null;case 13:if(F($),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 F($),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 hr=!1,re=!1,dd=typeof WeakSet=="function"?WeakSet:Set,S=null;function Wn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){B(e,n,r)}else t.current=null}function Ro(e,n,t){try{t()}catch(r){B(e,n,r)}}var ji=!1;function pd(e,n){if(mo=Dr,e=Hs(),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,f=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&&++f===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},Dr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;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 k=w.memoizedProps,j=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:Le(n.type,k),j);c.__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){B(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=ji,ji=!1,w}function zt(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 al(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 jo(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[Fe],delete n[Vt],delete n[go],delete n[Gf],delete n[Zf])),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=Ur));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 Mo(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(Mo(e,n,t),e=e.sibling;e!==null;)Mo(e,n,t),e=e.sibling}var q=null,Te=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Ba(e,n,t),t=t.sibling}function Ba(e,n,t){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(nl,t)}catch{}switch(t.tag){case 5:re||Wn(t,n);case 6:var r=q,l=Te;q=null,Ze(e,n,t),q=r,Te=l,q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):q.removeChild(t.stateNode));break;case 18:q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?Dl(e.parentNode,t):e.nodeType===1&&Dl(e,t),It(e)):Dl(q,t.stateNode));break;case 4:r=q,l=Te,q=t.stateNode.containerInfo,Te=!0,Ze(e,n,t),q=r,Te=l;break;case 0:case 11:case 14:case 15:if(!re&&(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)}Ze(e,n,t);break;case 1:if(!re&&(Wn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){B(t,n,i)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(re=(r=re)||t.memoizedState!==null,Ze(e,n,t),re=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function Mi(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new dd),n.forEach(function(r){var l=xd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];try{var o=e,u=n,i=u;e:for(;i!==null;){switch(i.tag){case 5:q=i.stateNode,Te=!1;break e;case 3:q=i.stateNode.containerInfo,Te=!0;break e;case 4:q=i.stateNode.containerInfo,Te=!0;break e}i=i.return}if(q===null)throw Error(y(160));Ba(o,u,l),q=null,Te=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(f){B(l,n,f)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Ha(n,e),n=n.sibling}function Ha(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ze(n,e),De(e),r&4){try{zt(3,e,e.return),al(3,e)}catch(k){B(e,e.return,k)}try{zt(5,e,e.return)}catch(k){B(e,e.return,k)}}break;case 1:ze(n,e),De(e),r&512&&t!==null&&Wn(t,t.return);break;case 5:if(ze(n,e),De(e),r&512&&t!==null&&Wn(t,t.return),e.flags&32){var l=e.stateNode;try{jt(l,"")}catch(k){B(e,e.return,k)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,u=t!==null?t.memoizedProps:o,i=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{i==="input"&&o.type==="radio"&&o.name!=null&&cs(l,o),ro(i,u);var f=ro(i,o);for(u=0;u<s.length;u+=2){var h=s[u],m=s[u+1];h==="style"?hs(l,m):h==="dangerouslySetInnerHTML"?ps(l,m):h==="children"?jt(l,m):Qo(l,h,m,f)}switch(i){case"input":ql(l,o);break;case"textarea":fs(l,o);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?Kn(l,!!o.multiple,g,!1):p!==!!o.multiple&&(o.defaultValue!=null?Kn(l,!!o.multiple,o.defaultValue,!0):Kn(l,!!o.multiple,o.multiple?[]:"",!1))}l[Vt]=o}catch(k){B(e,e.return,k)}}break;case 6:if(ze(n,e),De(e),r&4){if(e.stateNode===null)throw Error(y(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(k){B(e,e.return,k)}}break;case 3:if(ze(n,e),De(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{It(n.containerInfo)}catch(k){B(e,e.return,k)}break;case 4:ze(n,e),De(e);break;case 13:ze(n,e),De(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(Cu=Q())),r&4&&Mi(e);break;case 22:if(h=t!==null&&t.memoizedState!==null,e.mode&1?(re=(f=re)||h,ze(n,e),re=f):ze(n,e),De(e),r&8192){if(f=e.memoizedState!==null,(e.stateNode.isHidden=f)&&!h&&e.mode&1)for(S=e,h=e.child;h!==null;){for(m=S=h;S!==null;){switch(p=S,g=p.child,p.tag){case 0:case 11:case 14:case 15:zt(4,p,p.return);break;case 1:Wn(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,t=p.return;try{n=r,w.props=n.memoizedProps,w.state=n.memoizedState,w.componentWillUnmount()}catch(k){B(r,t,k)}}break;case 5:Wn(p,p.return);break;case 22:if(p.memoizedState!==null){Ii(m);continue}}g!==null?(g.return=p,S=g):Ii(m)}h=h.sibling}e:for(h=null,m=e;;){if(m.tag===5){if(h===null){h=m;try{l=m.stateNode,f?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(i=m.stateNode,s=m.memoizedProps.style,u=s!=null&&s.hasOwnProperty("display")?s.display:null,i.style.display=ms("display",u))}catch(k){B(e,e.return,k)}}}else if(m.tag===6){if(h===null)try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(k){B(e,e.return,k)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;h===m&&(h=null),m=m.return}h===m&&(h=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:ze(n,e),De(e),r&4&&Mi(e);break;case 21:break;default:ze(n,e),De(e)}}function De(e){var n=e.flags;if(n&2){try{e:{for(var t=e.return;t!==null;){if(Va(t)){var r=t;break e}t=t.return}throw Error(y(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(jt(l,""),r.flags&=-33);var o=Oi(e);Mo(e,o,l);break;case 3:case 4:var u=r.stateNode.containerInfo,i=Oi(e);Oo(e,i,u);break;default:throw Error(y(161))}}catch(s){B(e,e.return,s)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function md(e,n,t){S=e,Wa(e)}function Wa(e,n,t){for(var r=(e.mode&1)!==0;S!==null;){var l=S,o=l.child;if(l.tag===22&&r){var u=l.memoizedState!==null||hr;if(!u){var i=l.alternate,s=i!==null&&i.memoizedState!==null||re;i=hr;var f=re;if(hr=u,(re=s)&&!f)for(S=l;S!==null;)u=S,s=u.child,u.tag===22&&u.memoizedState!==null?Fi(l):s!==null?(s.return=u,S=s):Fi(l);for(;o!==null;)S=o,Wa(o),o=o.sibling;S=l,hr=i,re=f}Di(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,S=o):Di(e)}}function Di(e){for(;S!==null;){var n=S;if(n.flags&8772){var t=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:re||al(5,n);break;case 1:var r=n.stateNode;if(n.flags&4&&!re)if(t===null)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:Le(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=n.updateQueue;o!==null&&gi(n,o,r);break;case 3:var u=n.updateQueue;if(u!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}gi(n,u,t)}break;case 5:var i=n.stateNode;if(t===null&&n.flags&4){t=i;var s=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();break;case"img":s.src&&(t.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var f=n.alternate;if(f!==null){var h=f.memoizedState;if(h!==null){var m=h.dehydrated;m!==null&&It(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(y(163))}re||n.flags&512&&jo(n)}catch(p){B(n,n.return,p)}}if(n===e){S=null;break}if(t=n.sibling,t!==null){t.return=n.return,S=t;break}S=n.return}}function Ii(e){for(;S!==null;){var n=S;if(n===e){S=null;break}var t=n.sibling;if(t!==null){t.return=n.return,S=t;break}S=n.return}}function Fi(e){for(;S!==null;){var n=S;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{al(4,n)}catch(s){B(n,t,s)}break;case 1:var r=n.stateNode;if(typeof r.componentDidMount=="function"){var l=n.return;try{r.componentDidMount()}catch(s){B(n,l,s)}}var o=n.return;try{jo(n)}catch(s){B(n,o,s)}break;case 5:var u=n.return;try{jo(n)}catch(s){B(n,u,s)}}}catch(s){B(n,n.return,s)}if(n===e){S=null;break}var i=n.sibling;if(i!==null){i.return=n.return,S=i;break}S=n.return}}var hd=Math.ceil,Gr=Ge.ReactCurrentDispatcher,xu=Ge.ReactCurrentOwner,Ce=Ge.ReactCurrentBatchConfig,O=0,J=null,K=null,b=0,he=0,Qn=hn(0),Y=0,Xt=null,Ln=0,cl=0,Eu=0,Lt=null,ce=null,Cu=0,lt=1/0,Ae=null,Zr=!1,Do=null,an=null,vr=!1,tn=null,Jr=0,Tt=0,Io=null,Pr=-1,zr=0;function ie(){return O&6?Q():Pr!==-1?Pr:Pr=Q()}function cn(e){return e.mode&1?O&2&&b!==0?b&-b:qf.transition!==null?(zr===0&&(zr=Ps()),zr):(e=M,e!==0||(e=window.event,e=e===void 0?16:Ms(e.type)),e):1}function Oe(e,n,t,r){if(50<Tt)throw Tt=0,Io=null,Error(y(185));Gt(e,t,r),(!(O&2)||e!==J)&&(e===J&&(!(O&2)&&(cl|=t),Y===4&&en(e,b)),me(e,r),t===1&&O===0&&!(n.mode&1)&&(lt=Q()+500,ul&&vn()))}function me(e,n){var t=e.callbackNode;Jc(e,n);var r=Mr(e,e===J?b:0);if(r===0)t!==null&&Ku(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(t!=null&&Ku(t),n===1)e.tag===0?Jf(Ui.bind(null,e)):bs(Ui.bind(null,e)),Xf(function(){!(O&6)&&vn()}),t=null;else{switch(zs(r)){case 1:t=Zo;break;case 4:t=_s;break;case 16:t=Or;break;case 536870912:t=Ns;break;default:t=Or}t=qa(t,Qa.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function Qa(e,n){if(Pr=-1,zr=0,O&6)throw Error(y(327));var t=e.callbackNode;if(Jn()&&e.callbackNode!==t)return null;var r=Mr(e,e===J?b:0);if(r===0)return null;if(r&30||r&e.expiredLanes||n)n=qr(e,r);else{n=r;var l=O;O|=2;var o=Xa();(J!==e||b!==n)&&(Ae=null,lt=Q()+500,Cn(e,n));do try{gd();break}catch(i){Ka(e,i)}while(1);au(),Gr.current=o,O=l,K!==null?n=0:(J=null,b=0,n=Y)}if(n!==0){if(n===2&&(l=so(e),l!==0&&(r=l,n=Fo(e,l))),n===1)throw t=Xt,Cn(e,0),en(e,r),me(e,Q()),t;if(n===6)en(e,r);else{if(l=e.current.alternate,!(r&30)&&!vd(l)&&(n=qr(e,r),n===2&&(o=so(e),o!==0&&(r=o,n=Fo(e,o))),n===1))throw t=Xt,Cn(e,0),en(e,r),me(e,Q()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(y(345));case 2:kn(e,ce,Ae);break;case 3:if(en(e,r),(r&130023424)===r&&(n=Cu+500-Q(),10<n)){if(Mr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ie(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=yo(kn.bind(null,e,ce,Ae),n);break}kn(e,ce,Ae);break;case 4:if(en(e,r),(r&4194240)===r)break;for(n=e.eventTimes,l=-1;0<r;){var u=31-je(r);o=1<<u,u=n[u],u>l&&(l=u),r&=~o}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hd(r/1960))-r,10<r){e.timeoutHandle=yo(kn.bind(null,e,ce,Ae),r);break}kn(e,ce,Ae);break;case 5:kn(e,ce,Ae);break;default:throw Error(y(329))}}}return me(e,Q()),e.callbackNode===t?Qa.bind(null,e):null}function Fo(e,n){var t=Lt;return e.current.memoizedState.isDehydrated&&(Cn(e,n).flags|=256),e=qr(e,n),e!==2&&(n=ce,ce=t,n!==null&&Uo(n)),e}function Uo(e){ce===null?ce=e:ce.push.apply(ce,e)}function vd(e){for(var n=e;;){if(n.flags&16384){var t=n.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var l=t[r],o=l.getSnapshot;l=l.value;try{if(!Me(o(),l))return!1}catch{return!1}}}if(t=n.child,n.subtreeFlags&16384&&t!==null)t.return=n,n=t;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function en(e,n){for(n&=~Eu,n&=~cl,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-je(n),r=1<<t;e[t]=-1,n&=~r}}function Ui(e){if(O&6)throw Error(y(327));Jn();var n=Mr(e,0);if(!(n&1))return me(e,Q()),null;var t=qr(e,n);if(e.tag!==0&&t===2){var r=so(e);r!==0&&(n=r,t=Fo(e,r))}if(t===1)throw t=Xt,Cn(e,0),en(e,n),me(e,Q()),t;if(t===6)throw Error(y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,kn(e,ce,Ae),me(e,Q()),null}function _u(e,n){var t=O;O|=1;try{return e(n)}finally{O=t,O===0&&(lt=Q()+500,ul&&vn())}}function Tn(e){tn!==null&&tn.tag===0&&!(O&6)&&Jn();var n=O;O|=1;var t=Ce.transition,r=M;try{if(Ce.transition=null,M=1,e)return e()}finally{M=r,Ce.transition=t,O=n,!(O&6)&&vn()}}function Nu(){he=Qn.current,F(Qn)}function Cn(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Kf(t)),K!==null)for(t=K.return;t!==null;){var r=t;switch(uu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&$r();break;case 3:tt(),F(de),F(le),hu();break;case 5:mu(r);break;case 4:tt();break;case 13:F($);break;case 19:F($);break;case 10:cu(r.type._context);break;case 22:case 23:Nu()}t=t.return}if(J=e,K=e=fn(e.current,null),b=he=n,Y=0,Xt=null,Eu=cl=Ln=0,ce=Lt=null,xn!==null){for(n=0;n<xn.length;n++)if(t=xn[n],r=t.interleaved,r!==null){t.interleaved=null;var l=r.next,o=t.pending;if(o!==null){var u=o.next;o.next=l,r.next=u}t.pending=r}xn=null}return e}function Ka(e,n){do{var t=K;try{if(au(),Cr.current=Yr,Xr){for(var r=A.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Xr=!1}if(zn=0,Z=X=A=null,Pt=!1,Wt=0,xu.current=null,t===null||t.return===null){Y=1,Xt=n,K=null;break}e:{var o=e,u=t.return,i=t,s=n;if(n=b,i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var f=s,h=i,m=h.tag;if(!(h.mode&1)&&(m===0||m===11||m===15)){var p=h.alternate;p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var g=_i(u);if(g!==null){g.flags&=-257,Ni(g,u,i,o,n),g.mode&1&&Ci(o,f,n),n=g,s=f;var w=n.updateQueue;if(w===null){var k=new Set;k.add(s),n.updateQueue=k}else w.add(s);break e}else{if(!(n&1)){Ci(o,f,n),Pu();break e}s=Error(y(426))}}else if(U&&i.mode&1){var j=_i(u);if(j!==null){!(j.flags&65536)&&(j.flags|=256),Ni(j,u,i,o,n),iu(rt(s,i));break e}}o=s=rt(s,i),Y!==4&&(Y=2),Lt===null?Lt=[o]:Lt.push(o),o=u;do{switch(o.tag){case 3:o.flags|=65536,n&=-n,o.lanes|=n;var c=La(o,s,n);yi(o,c);break e;case 1:i=s;var a=o.type,d=o.stateNode;if(!(o.flags&128)&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(an===null||!an.has(d)))){o.flags|=65536,n&=-n,o.lanes|=n;var v=Ta(o,i,n);yi(o,v);break e}}o=o.return}while(o!==null)}Ga(t)}catch(x){n=x,K===t&&t!==null&&(K=t=t.return);continue}break}while(1)}function Xa(){var e=Gr.current;return Gr.current=Yr,e===null?Yr:e}function Pu(){(Y===0||Y===3||Y===2)&&(Y=4),J===null||!(Ln&268435455)&&!(cl&268435455)||en(J,b)}function qr(e,n){var t=O;O|=2;var r=Xa();(J!==e||b!==n)&&(Ae=null,Cn(e,n));do try{yd();break}catch(l){Ka(e,l)}while(1);if(au(),O=t,Gr.current=r,K!==null)throw Error(y(261));return J=null,b=0,Y}function yd(){for(;K!==null;)Ya(K)}function gd(){for(;K!==null&&!Bc();)Ya(K)}function Ya(e){var n=Ja(e.alternate,e,he);e.memoizedProps=e.pendingProps,n===null?Ga(e):K=n,xu.current=null}function Ga(e){var n=e;do{var t=n.alternate;if(e=n.return,n.flags&32768){if(t=fd(t,n),t!==null){t.flags&=32767,K=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Y=6,K=null;return}}else if(t=cd(t,n,he),t!==null){K=t;return}if(n=n.sibling,n!==null){K=n;return}K=n=e}while(n!==null);Y===0&&(Y=5)}function kn(e,n,t){var r=M,l=Ce.transition;try{Ce.transition=null,M=1,wd(e,n,t,r)}finally{Ce.transition=l,M=r}return null}function wd(e,n,t,r){do Jn();while(tn!==null);if(O&6)throw Error(y(327));t=e.finishedWork;var l=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(y(177));e.callbackNode=null,e.callbackPriority=0;var o=t.lanes|t.childLanes;if(qc(e,o),e===J&&(K=J=null,b=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||vr||(vr=!0,qa(Or,function(){return Jn(),null})),o=(t.flags&15990)!==0,t.subtreeFlags&15990||o){o=Ce.transition,Ce.transition=null;var u=M;M=1;var i=O;O|=4,xu.current=null,pd(e,t),Ha(t,e),$f(ho),Dr=!!mo,ho=mo=null,e.current=t,md(t),Hc(),O=i,M=u,Ce.transition=o}else e.current=t;if(vr&&(vr=!1,tn=e,Jr=l),o=e.pendingLanes,o===0&&(an=null),Kc(t.stateNode),me(e,Q()),n!==null)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(Zr)throw Zr=!1,e=Do,Do=null,e;return Jr&1&&e.tag!==0&&Jn(),o=e.pendingLanes,o&1?e===Io?Tt++:(Tt=0,Io=e):Tt=0,vn(),null}function Jn(){if(tn!==null){var e=zs(Jr),n=Ce.transition,t=M;try{if(Ce.transition=null,M=16>e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,Jr=0,O&6)throw Error(y(331));var l=O;for(O|=4,S=e.current;S!==null;){var o=S,u=o.child;if(S.flags&16){var i=o.deletions;if(i!==null){for(var s=0;s<i.length;s++){var f=i[s];for(S=f;S!==null;){var h=S;switch(h.tag){case 0:case 11:case 15:zt(8,h,o)}var m=h.child;if(m!==null)m.return=h,S=m;else for(;S!==null;){h=S;var p=h.sibling,g=h.return;if(Aa(h),h===f){S=null;break}if(p!==null){p.return=g,S=p;break}S=g}}}var w=o.alternate;if(w!==null){var k=w.child;if(k!==null){w.child=null;do{var j=k.sibling;k.sibling=null,k=j}while(k!==null)}}S=o}}if(o.subtreeFlags&2064&&u!==null)u.return=o,S=u;else e:for(;S!==null;){if(o=S,o.flags&2048)switch(o.tag){case 0:case 11:case 15:zt(9,o,o.return)}var c=o.sibling;if(c!==null){c.return=o.return,S=c;break e}S=o.return}}var a=e.current;for(S=a;S!==null;){u=S;var d=u.child;if(u.subtreeFlags&2064&&d!==null)d.return=u,S=d;else e:for(u=a;S!==null;){if(i=S,i.flags&2048)try{switch(i.tag){case 0:case 11:case 15:al(9,i)}}catch(x){B(i,i.return,x)}if(i===u){S=null;break e}var v=i.sibling;if(v!==null){v.return=i.return,S=v;break e}S=i.return}}if(O=l,vn(),Ue&&typeof Ue.onPostCommitFiberRoot=="function")try{Ue.onPostCommitFiberRoot(nl,e)}catch{}r=!0}return r}finally{M=t,Ce.transition=n}}return!1}function $i(e,n,t){n=rt(t,n),n=La(e,n,1),e=sn(e,n,1),n=ie(),e!==null&&(Gt(e,1,n),me(e,n))}function B(e,n,t){if(e.tag===3)$i(e,e,t);else for(;n!==null;){if(n.tag===3){$i(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(an===null||!an.has(r))){e=rt(t,e),e=Ta(n,e,1),n=sn(n,e,1),e=ie(),n!==null&&(Gt(n,1,e),me(n,e));break}}n=n.return}}function kd(e,n,t){var r=e.pingCache;r!==null&&r.delete(n),n=ie(),e.pingedLanes|=e.suspendedLanes&t,J===e&&(b&t)===t&&(Y===4||Y===3&&(b&130023424)===b&&500>Q()-Cu?Cn(e,0):Eu|=t),me(e,n)}function Za(e,n){n===0&&(e.mode&1?(n=ur,ur<<=1,!(ur&130023424)&&(ur=4194304)):n=1);var t=ie();e=Xe(e,n),e!==null&&(Gt(e,n,t),me(e,t))}function Sd(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||de.current)fe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return fe=!1,ad(e,n,t);fe=!!(e.flags&131072)}else fe=!1,U&&n.flags&1048576&&ea(n,Br,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Nr(e,n),e=n.pendingProps;var l=bn(n,le.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,pe(r)?(o=!0,Ar(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,du(n),l.updater=il,n.stateNode=l,l._reactInternals=n,Co(n,r,e,t),n=Po(null,n,r,!0,o,t)):(n.tag=0,U&&o&&ou(n),ue(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Nr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Cd(r),e=Le(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,Le(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:Le(r,l),No(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Li(e,n,r,l,t);case 3:e:{if(Ma(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,la(e,n),Qr(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(ve=un(n.stateNode.containerInfo.firstChild),ye=n,U=!0,Re=null,t=sa(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}ue(e,n,r,t)}n=n.child}return n;case 5:return aa(n),e===null&&So(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),ue(e,n,u,t),n.child;case 6:return e===null&&So(n),null;case 13:return Da(e,n,t);case 4:return pu(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=nt(n,null,r,t):ue(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Pi(e,n,r,l,t);case 7:return ue(e,n,n.pendingProps,t),n.child;case 8:return ue(e,n,n.pendingProps.children,t),n.child;case 12:return ue(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,D(Hr,r._currentValue),r._currentValue=u,o!==null)if(Me(o.value,u)){if(o.children===l.children&&!de.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=We(-1,t&-t),s.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?s.next=s:(s.next=h.next,h.next=s),f.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),xo(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),xo(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}ue(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Zn(n,t),l=_e(l),r=r(l),n.flags|=1,ue(e,n,r,t),n.child;case 14:return r=n.type,l=Le(r,n.pendingProps),l=Le(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:Le(r,l),Nr(e,n),n.tag=1,pe(r)?(e=!0,Ar(n)):e=!1,Zn(n,t),ua(n,r,l),Co(n,r,l,t),Po(null,n,r,!0,e,t);case 19:return Ia(e,n,t);case 22:return ja(e,n,t)}throw Error(y(156,n.tag))};function qa(e,n){return Cs(e,n)}function Ed(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 Ed(e,n,t,r)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cd(e){if(typeof e=="function")return zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Xo)return 11;if(e===Yo)return 14}return 2}function fn(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 Lr(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 _n(t.children,l,o,n);case Ko:u=8,l|=8;break;case Xl:return e=Ee(12,t,n,l|2),e.elementType=Xl,e.lanes=o,e;case Yl:return e=Ee(13,t,n,l),e.elementType=Yl,e.lanes=o,e;case Gl:return e=Ee(19,t,n,l),e.elementType=Gl,e.lanes=o,e;case is:return fl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case os:u=10;break e;case us:u=9;break e;case Xo:u=11;break e;case Yo:u=14;break e;case Je: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 _n(e,n,t,r){return e=Ee(7,e,r,n),e.lanes=t,e}function fl(e,n,t,r){return e=Ee(22,e,r,n),e.elementType=is,e.lanes=t,e.stateNode={isHidden:!1},e}function Hl(e,n,t){return e=Ee(6,e,null,n),e.lanes=t,e}function Wl(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 _d(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=Cl(0),this.expirationTimes=Cl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Lu(e,n,t,r,l,o,u,i,s){return e=new _d(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 Nd(e,n,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Mn,key:r==null?null:""+r,children:e,containerInfo:n,implementation:t}}function ba(e){if(!e)return pn;e=e._reactInternals;e:{if(jn(e)!==e||e.tag!==1)throw Error(y(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(pe(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(y(171))}if(e.tag===1){var t=e.type;if(pe(t))return qs(e,t,n)}return n}function ec(e,n,t,r,l,o,u,i,s){return e=Lu(t,r,!0,e,l,o,u,i,s),e.context=ba(null),t=e.current,r=ie(),l=cn(t),o=We(r,l),o.callback=n??null,sn(t,o,l),e.current.lanes=l,Gt(e,l,r),me(e,r),e}function dl(e,n,t,r){var l=n.current,o=ie(),u=cn(l);return t=ba(t),n.context===null?n.context=t:n.pendingContext=t,n=We(o,u),n.payload={element:e},r=r===void 0?null:r,r!==null&&(n.callback=r),e=sn(l,n,u),e!==null&&(Oe(e,l,u,o),Er(e,l,u)),u}function br(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ai(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function Tu(e,n){Ai(e,n),(e=e.alternate)&&Ai(e,n)}function Pd(){return null}var nc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ru(e){this._internalRoot=e}pl.prototype.render=Ru.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(y(409));dl(e,n,null,null)};pl.prototype.unmount=Ru.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Tn(function(){dl(null,e,null,null)}),n[Ke]=null}};function pl(e){this._internalRoot=e}pl.prototype.unstable_scheduleHydration=function(e){if(e){var n=Rs();e={blockedOn:null,target:e,priority:n};for(var t=0;t<be.length&&n!==0&&n<be[t].priority;t++);be.splice(t,0,e),t===0&&Os(e)}};function ju(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ml(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Vi(){}function zd(e,n,t,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var f=br(u);o.call(f)}}var u=ec(n,r,e,0,null,!1,!1,"",Vi);return e._reactRootContainer=u,e[Ke]=u.current,$t(e.nodeType===8?e.parentNode:e),Tn(),u}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var i=r;r=function(){var f=br(s);i.call(f)}}var s=Lu(e,0,!1,null,null,!1,!1,"",Vi);return e._reactRootContainer=s,e[Ke]=s.current,$t(e.nodeType===8?e.parentNode:e),Tn(function(){dl(n,s,t,r)}),s}function hl(e,n,t,r,l){var o=t._reactRootContainer;if(o){var u=o;if(typeof l=="function"){var i=l;l=function(){var s=br(u);i.call(s)}}dl(n,u,e,l)}else u=zd(t,n,e,l,r);return br(u)}Ls=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=kt(n.pendingLanes);t!==0&&(Jo(n,t|1),me(n,Q()),!(O&6)&&(lt=Q()+500,vn()))}break;case 13:Tn(function(){var r=Xe(e,1);if(r!==null){var l=ie();Oe(r,e,1,l)}}),Tu(e,1)}};qo=function(e){if(e.tag===13){var n=Xe(e,134217728);if(n!==null){var t=ie();Oe(n,e,134217728,t)}Tu(e,134217728)}};Ts=function(e){if(e.tag===13){var n=cn(e),t=Xe(e,n);if(t!==null){var r=ie();Oe(t,e,n,r)}Tu(e,n)}};Rs=function(){return M};js=function(e,n){var t=M;try{return M=e,n()}finally{M=t}};oo=function(e,n,t){switch(n){case"input":if(ql(e,t),n=t.name,t.type==="radio"&&n!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=ol(r);if(!l)throw Error(y(90));as(r),ql(r,l)}}}break;case"textarea":fs(e,t);break;case"select":n=t.value,n!=null&&Kn(e,!!t.multiple,n,!1)}};gs=_u;ws=Tn;var Ld={usingClientEntryPoint:!1,Events:[Jt,$n,ol,vs,ys,_u]},yt={findFiberByHostInstance:Sn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Td={bundleType:yt.bundleType,version:yt.version,rendererPackageName:yt.rendererPackageName,rendererConfig:yt.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ge.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xs(e),e===null?null:e.stateNode},findFiberByHostInstance:yt.findFiberByHostInstance||Pd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yr.isDisabled&&yr.supportsFiber)try{nl=yr.inject(Td),Ue=yr}catch{}}we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ld;we.createPortal=function(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ju(n))throw Error(y(200));return Nd(e,n,null,t)};we.createRoot=function(e,n){if(!ju(e))throw Error(y(299));var t=!1,r="",l=nc;return n!=null&&(n.unstable_strictMode===!0&&(t=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),n=Lu(e,1,!1,null,null,t,!1,r,l),e[Ke]=n.current,$t(e.nodeType===8?e.parentNode:e),new Ru(n)};we.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(y(188)):(e=Object.keys(e).join(","),Error(y(268,e)));return e=xs(n),e=e===null?null:e.stateNode,e};we.flushSync=function(e){return Tn(e)};we.hydrate=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!0,t)};we.hydrateRoot=function(e,n,t){if(!ju(e))throw Error(y(405));var r=t!=null&&t.hydratedSources||null,l=!1,o="",u=nc;if(t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),n=ec(n,null,e,1,t??null,l,!1,o,u),e[Ke]=n.current,$t(e),r)for(e=0;e<r.length;e++)t=r[e],l=t._getVersion,l=l(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new pl(n)};we.render=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!1,t)};we.unmountComponentAtNode=function(e){if(!ml(e))throw Error(y(40));return e._reactRootContainer?(Tn(function(){hl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ke]=null})}),!0):!1};we.unstable_batchedUpdates=_u;we.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ml(t))throw Error(y(200));if(e==null||e._reactInternals===void 0)throw Error(y(38));return hl(e,n,t,!1,r)};we.version="18.2.0-next-9e3b772b8-20220608";function tc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),es.exports=we;var Rd=es.exports,Bi=Rd;Ql.createRoot=Bi.createRoot,Ql.hydrateRoot=Bi.hydrateRoot;const Hi=["bg-purple-300","bg-green-300","bg-yellow-300","bg-red-300","bg-blue-300"];function jd({text:e,position:n,margin:t}){const r=e.split(`
|
41 |
-
`).map((l,o,u)=>z.jsxs(oe.Fragment,{children:[l,o!==u.length-1&&z.jsx("br",{})]},o));return z.jsx("span",{style:{marginLeft:t},className:`leading-5 ${r.length===1?"inline-block ":""}${Hi[n%Hi.length]}`,children:r})}function Od(){var k;const[e,n]=oe.useState([]),[t,r]=oe.useState([]),[l,o]=oe.useState([]),[u,i]=oe.useState("text"),[s,f]=oe.useState("Xenova/gpt-4"),h=oe.useRef(null),m=oe.useRef(null),p=oe.useRef(null);oe.useEffect(()=>{p.current||(p.current=new Worker(new URL("/assets/worker-6f9dbf77.js",self.location),{type:"module"}));const j=c=>{n(c.data.token_ids),r(c.data.decoded),o(c.data.margins)};return p.current.addEventListener("message",j),()=>p.current.removeEventListener("message",j)},[]);const g=oe.useCallback(j=>{const c=s,a=j.target.value;a.length>1e4&&(i(null),console.log("User most likely pasted in a large body of text (> 10k chars), so we hide the output (until specifically requested by the user).")),p.current.postMessage({model_id:c,text:a})},[s]),w=oe.useCallback(j=>{const c=j.target.value;f(c),p.current.postMessage({model_id:c,text:h.current.value})},[]);return z.jsxs("div",{className:"w-full max-w-[720px] flex flex-col gap-4 items-center",children:[z.jsxs("div",{children:[z.jsx("h1",{className:"text-5xl font-bold mb-2",children:"
|
|
|
38 |
`).replace(Qf,"")}function fr(e,n,t){if(n=ci(n),ci(e)!==n&&t)throw Error(y(425))}function Ur(){}var mo=null,ho=null;function vo(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var yo=typeof setTimeout=="function"?setTimeout:void 0,Kf=typeof clearTimeout=="function"?clearTimeout:void 0,fi=typeof Promise=="function"?Promise:void 0,Xf=typeof queueMicrotask=="function"?queueMicrotask:typeof fi<"u"?function(e){return fi.resolve(null).then(e).catch(Yf)}:yo;function Yf(e){setTimeout(function(){throw e})}function Dl(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(r===0){e.removeChild(l),It(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);It(n)}function un(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function di(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var it=Math.random().toString(36).slice(2),Fe="__reactFiber$"+it,Vt="__reactProps$"+it,Ke="__reactContainer$"+it,go="__reactEvents$"+it,Gf="__reactListeners$"+it,Zf="__reactHandles$"+it;function Sn(e){var n=e[Fe];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Ke]||t[Fe]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=di(e);e!==null;){if(t=e[Fe])return t;e=di(e)}return n}e=t,t=e.parentNode}return null}function Jt(e){return e=e[Fe]||e[Ke],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(y(33))}function ol(e){return e[Vt]||null}var wo=[],An=-1;function hn(e){return{current:e}}function F(e){0>An||(e.current=wo[An],wo[An]=null,An--)}function D(e,n){An++,wo[An]=e.current,e.current=n}var pn={},le=hn(pn),de=hn(!1),Nn=pn;function bn(e,n){var t=e.type.contextTypes;if(!t)return pn;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 pe(e){return e=e.childContextTypes,e!=null}function $r(){F(de),F(le)}function pi(e,n,t){if(le.current!==pn)throw Error(y(168));D(le,n),D(de,t)}function qs(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,Oc(e)||"Unknown",l));return V({},t,r)}function Ar(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Nn=le.current,D(le,e),D(de,de.current),!0}function mi(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=qs(e,n,Nn),r.__reactInternalMemoizedMergedChildContext=e,F(de),F(le),D(le,e)):F(de),D(de,t)}var Ve=null,ul=!1,Il=!1;function bs(e){Ve===null?Ve=[e]:Ve.push(e)}function Jf(e){ul=!0,bs(e)}function vn(){if(!Il&&Ve!==null){Il=!0;var e=0,n=M;try{var t=Ve;for(M=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}Ve=null,ul=!1}catch(l){throw Ve!==null&&(Ve=Ve.slice(e+1)),Cs(Zo,vn),l}finally{M=n,Il=!1}}return null}var Vn=[],Bn=0,Vr=null,Br=0,Se=[],xe=0,Pn=null,Be=1,He="";function wn(e,n){Vn[Bn++]=Br,Vn[Bn++]=Vr,Vr=e,Br=n}function ea(e,n,t){Se[xe++]=Be,Se[xe++]=He,Se[xe++]=Pn,Pn=e;var r=Be;e=He;var l=32-je(r)-1;r&=~(1<<l),t+=1;var o=32-je(n)+l;if(30<o){var u=l-l%5;o=(r&(1<<u)-1).toString(32),r>>=u,l-=u,Be=1<<32-je(n)+l|t<<l|r,He=o+e}else Be=1<<o|t<<l|r,He=e}function ou(e){e.return!==null&&(wn(e,1),ea(e,1,0))}function uu(e){for(;e===Vr;)Vr=Vn[--Bn],Vn[Bn]=null,Br=Vn[--Bn],Vn[Bn]=null;for(;e===Pn;)Pn=Se[--xe],Se[xe]=null,He=Se[--xe],Se[xe]=null,Be=Se[--xe],Se[xe]=null}var ye=null,ve=null,U=!1,Re=null;function na(e,n){var t=Ee(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)}function hi(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,ye=e,ve=un(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,ye=e,ve=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(t=Pn!==null?{id:Be,overflow:He}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},t=Ee(18,null,null,0),t.stateNode=n,t.return=e,e.child=t,ye=e,ve=null,!0):!1;default:return!1}}function ko(e){return(e.mode&1)!==0&&(e.flags&128)===0}function So(e){if(U){var n=ve;if(n){var t=n;if(!hi(e,n)){if(ko(e))throw Error(y(418));n=un(t.nextSibling);var r=ye;n&&hi(e,n)?na(r,t):(e.flags=e.flags&-4097|2,U=!1,ye=e)}}else{if(ko(e))throw Error(y(418));e.flags=e.flags&-4097|2,U=!1,ye=e}}}function vi(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ye=e}function dr(e){if(e!==ye)return!1;if(!U)return vi(e),U=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!vo(e.type,e.memoizedProps)),n&&(n=ve)){if(ko(e))throw ta(),Error(y(418));for(;n;)na(e,n),n=un(n.nextSibling)}if(vi(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(y(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){ve=un(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}ve=null}}else ve=ye?un(e.stateNode.nextSibling):null;return!0}function ta(){for(var e=ve;e;)e=un(e.nextSibling)}function et(){ve=ye=null,U=!1}function iu(e){Re===null?Re=[e]:Re.push(e)}var qf=Ge.ReactCurrentBatchConfig;function Le(e,n){if(e&&e.defaultProps){n=V({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}var Hr=hn(null),Wr=null,Hn=null,su=null;function au(){su=Hn=Wr=null}function cu(e){var n=Hr.current;F(Hr),e._currentValue=n}function xo(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){Wr=e,su=Hn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(fe=!0),e.firstContext=null)}function _e(e){var n=e._currentValue;if(su!==e)if(e={context:e,memoizedValue:n,next:null},Hn===null){if(Wr===null)throw Error(y(308));Hn=e,Wr.dependencies={lanes:0,firstContext:e}}else Hn=Hn.next=e;return n}var xn=null;function fu(e){xn===null?xn=[e]:xn.push(e)}function ra(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,Xe(e,r)}function Xe(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 qe=!1;function du(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function la(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 We(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function sn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,O&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Xe(e,t)}return l=r.interleaved,l===null?(n.next=n,fu(r)):(n.next=l.next,l.next=n),r.interleaved=n,Xe(e,t)}function Er(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 yi(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 Qr(e,n,t,r){var l=e.updateQueue;qe=!1;var o=l.firstBaseUpdate,u=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var s=i,f=s.next;s.next=null,u===null?o=f:u.next=f,u=s;var h=e.alternate;h!==null&&(h=h.updateQueue,i=h.lastBaseUpdate,i!==u&&(i===null?h.firstBaseUpdate=f:i.next=f,h.lastBaseUpdate=s))}if(o!==null){var m=l.baseState;u=0,h=f=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,k=i;switch(p=n,g=t,k.tag){case 1:if(w=k.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=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=V({},m,p);break e;case 2:qe=!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?(f=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(1);if(h===null&&(s=m),l.baseState=s,l.firstBaseUpdate=f,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);Ln|=u,e.lanes=u,e.memoizedState=m}}function gi(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(l!==null){if(r.callback=null,r=t,typeof l!="function")throw Error(y(191,l));l.call(r)}}}var oa=new rs.Component().refs;function Eo(e,n,t,r){n=e.memoizedState,t=t(r,n),t=t==null?n:V({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var il={isMounted:function(e){return(e=e._reactInternals)?jn(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=ie(),l=cn(e),o=We(r,l);o.payload=n,t!=null&&(o.callback=t),n=sn(e,o,l),n!==null&&(Oe(n,e,l,r),Er(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=ie(),l=cn(e),o=We(r,l);o.tag=1,o.payload=n,t!=null&&(o.callback=t),n=sn(e,o,l),n!==null&&(Oe(n,e,l,r),Er(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=ie(),r=cn(e),l=We(t,r);l.tag=2,n!=null&&(l.callback=n),n=sn(e,l,r),n!==null&&(Oe(n,e,r,t),Er(n,e,r))}};function wi(e,n,t,r,l,o,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,u):n.prototype&&n.prototype.isPureReactComponent?!Ut(t,r)||!Ut(l,o):!0}function ua(e,n,t){var r=!1,l=pn,o=n.contextType;return typeof o=="object"&&o!==null?o=_e(o):(l=pe(n)?Nn:le.current,r=n.contextTypes,o=(r=r!=null)?bn(e,l):pn),n=new n(t,o),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=il,e.stateNode=n,n._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),n}function ki(e,n,t,r){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(t,r),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&il.enqueueReplaceState(n,n.state,null)}function Co(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=oa,du(e);var o=n.contextType;typeof o=="object"&&o!==null?l.context=_e(o):(o=pe(n)?Nn:le.current,l.context=bn(e,o)),l.state=e.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(Eo(e,n,o,t),l.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&il.enqueueReplaceState(l,l.state,null),Qr(e,t,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function ht(e,n,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(y(309));var r=t.stateNode}if(!r)throw Error(y(147,e));var l=r,o=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===o?n.ref:(n=function(u){var i=l.refs;i===oa&&(i=l.refs={}),u===null?delete i[o]:i[o]=u},n._stringRef=o,n)}if(typeof e!="string")throw Error(y(284));if(!t._owner)throw Error(y(290,e))}return e}function pr(e,n){throw e=Object.prototype.toString.call(n),Error(y(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Si(e){var n=e._init;return n(e._payload)}function ia(e){function n(c,a){if(e){var d=c.deletions;d===null?(c.deletions=[a],c.flags|=16):d.push(a)}}function t(c,a){if(!e)return null;for(;a!==null;)n(c,a),a=a.sibling;return null}function r(c,a){for(c=new Map;a!==null;)a.key!==null?c.set(a.key,a):c.set(a.index,a),a=a.sibling;return c}function l(c,a){return c=fn(c,a),c.index=0,c.sibling=null,c}function o(c,a,d){return c.index=d,e?(d=c.alternate,d!==null?(d=d.index,d<a?(c.flags|=2,a):d):(c.flags|=2,a)):(c.flags|=1048576,a)}function u(c){return e&&c.alternate===null&&(c.flags|=2),c}function i(c,a,d,v){return a===null||a.tag!==6?(a=Hl(d,c.mode,v),a.return=c,a):(a=l(a,d),a.return=c,a)}function s(c,a,d,v){var x=d.type;return x===Dn?h(c,a,d.props.children,v,d.key):a!==null&&(a.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Je&&Si(x)===a.type)?(v=l(a,d.props),v.ref=ht(c,a,d),v.return=c,v):(v=Lr(d.type,d.key,d.props,null,c.mode,v),v.ref=ht(c,a,d),v.return=c,v)}function f(c,a,d,v){return a===null||a.tag!==4||a.stateNode.containerInfo!==d.containerInfo||a.stateNode.implementation!==d.implementation?(a=Wl(d,c.mode,v),a.return=c,a):(a=l(a,d.children||[]),a.return=c,a)}function h(c,a,d,v,x){return a===null||a.tag!==7?(a=_n(d,c.mode,v,x),a.return=c,a):(a=l(a,d),a.return=c,a)}function m(c,a,d){if(typeof a=="string"&&a!==""||typeof a=="number")return a=Hl(""+a,c.mode,d),a.return=c,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case tr:return d=Lr(a.type,a.key,a.props,null,c.mode,d),d.ref=ht(c,null,a),d.return=c,d;case Mn:return a=Wl(a,c.mode,d),a.return=c,a;case Je:var v=a._init;return m(c,v(a._payload),d)}if(wt(a)||ct(a))return a=_n(a,c.mode,d,null),a.return=c,a;pr(c,a)}return null}function p(c,a,d,v){var x=a!==null?a.key:null;if(typeof d=="string"&&d!==""||typeof d=="number")return x!==null?null:i(c,a,""+d,v);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case tr:return d.key===x?s(c,a,d,v):null;case Mn:return d.key===x?f(c,a,d,v):null;case Je:return x=d._init,p(c,a,x(d._payload),v)}if(wt(d)||ct(d))return x!==null?null:h(c,a,d,v,null);pr(c,d)}return null}function g(c,a,d,v,x){if(typeof v=="string"&&v!==""||typeof v=="number")return c=c.get(d)||null,i(a,c,""+v,x);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case tr:return c=c.get(v.key===null?d:v.key)||null,s(a,c,v,x);case Mn:return c=c.get(v.key===null?d:v.key)||null,f(a,c,v,x);case Je:var C=v._init;return g(c,a,d,C(v._payload),x)}if(wt(v)||ct(v))return c=c.get(d)||null,h(a,c,v,x,null);pr(a,v)}return null}function w(c,a,d,v){for(var x=null,C=null,_=a,N=a=0,H=null;_!==null&&N<d.length;N++){_.index>N?(H=_,_=null):H=_.sibling;var R=p(c,_,d[N],v);if(R===null){_===null&&(_=H);break}e&&_&&R.alternate===null&&n(c,_),a=o(R,a,N),C===null?x=R:C.sibling=R,C=R,_=H}if(N===d.length)return t(c,_),U&&wn(c,N),x;if(_===null){for(;N<d.length;N++)_=m(c,d[N],v),_!==null&&(a=o(_,a,N),C===null?x=_:C.sibling=_,C=_);return U&&wn(c,N),x}for(_=r(c,_);N<d.length;N++)H=g(_,c,N,d[N],v),H!==null&&(e&&H.alternate!==null&&_.delete(H.key===null?N:H.key),a=o(H,a,N),C===null?x=H:C.sibling=H,C=H);return e&&_.forEach(function(Pe){return n(c,Pe)}),U&&wn(c,N),x}function k(c,a,d,v){var x=ct(d);if(typeof x!="function")throw Error(y(150));if(d=x.call(d),d==null)throw Error(y(151));for(var C=x=null,_=a,N=a=0,H=null,R=d.next();_!==null&&!R.done;N++,R=d.next()){_.index>N?(H=_,_=null):H=_.sibling;var Pe=p(c,_,R.value,v);if(Pe===null){_===null&&(_=H);break}e&&_&&Pe.alternate===null&&n(c,_),a=o(Pe,a,N),C===null?x=Pe:C.sibling=Pe,C=Pe,_=H}if(R.done)return t(c,_),U&&wn(c,N),x;if(_===null){for(;!R.done;N++,R=d.next())R=m(c,R.value,v),R!==null&&(a=o(R,a,N),C===null?x=R:C.sibling=R,C=R);return U&&wn(c,N),x}for(_=r(c,_);!R.done;N++,R=d.next())R=g(_,c,N,R.value,v),R!==null&&(e&&R.alternate!==null&&_.delete(R.key===null?N:R.key),a=o(R,a,N),C===null?x=R:C.sibling=R,C=R);return e&&_.forEach(function(st){return n(c,st)}),U&&wn(c,N),x}function j(c,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 tr:e:{for(var x=d.key,C=a;C!==null;){if(C.key===x){if(x=d.type,x===Dn){if(C.tag===7){t(c,C.sibling),a=l(C,d.props.children),a.return=c,c=a;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Je&&Si(x)===C.type){t(c,C.sibling),a=l(C,d.props),a.ref=ht(c,C,d),a.return=c,c=a;break e}t(c,C);break}else n(c,C);C=C.sibling}d.type===Dn?(a=_n(d.props.children,c.mode,v,d.key),a.return=c,c=a):(v=Lr(d.type,d.key,d.props,null,c.mode,v),v.ref=ht(c,a,d),v.return=c,c=v)}return u(c);case Mn: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(c,a.sibling),a=l(a,d.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Wl(d,c.mode,v),a.return=c,c=a}return u(c);case Je:return C=d._init,j(c,a,C(d._payload),v)}if(wt(d))return w(c,a,d,v);if(ct(d))return k(c,a,d,v);pr(c,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,d),a.return=c,c=a):(t(c,a),a=Hl(d,c.mode,v),a.return=c,c=a),u(c)):t(c,a)}return j}var nt=ia(!0),sa=ia(!1),qt={},$e=hn(qt),Bt=hn(qt),Ht=hn(qt);function En(e){if(e===qt)throw Error(y(174));return e}function pu(e,n){switch(D(Ht,n),D(Bt,e),D($e,qt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:no(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=no(n,e)}F($e),D($e,n)}function tt(){F($e),F(Bt),F(Ht)}function aa(e){En(Ht.current);var n=En($e.current),t=no(n,e.type);n!==t&&(D(Bt,e),D($e,t))}function mu(e){Bt.current===e&&(F($e),F(Bt))}var $=hn(0);function Kr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Fl=[];function hu(){for(var e=0;e<Fl.length;e++)Fl[e]._workInProgressVersionPrimary=null;Fl.length=0}var Cr=Ge.ReactCurrentDispatcher,Ul=Ge.ReactCurrentBatchConfig,zn=0,A=null,X=null,Z=null,Xr=!1,Pt=!1,Wt=0,bf=0;function ne(){throw Error(y(321))}function vu(e,n){if(n===null)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Me(e[t],n[t]))return!1;return!0}function yu(e,n,t,r,l,o){if(zn=o,A=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Cr.current=e===null||e.memoizedState===null?rd:ld,e=t(r,l),Pt){o=0;do{if(Pt=!1,Wt=0,25<=o)throw Error(y(301));o+=1,Z=X=null,n.updateQueue=null,Cr.current=od,e=t(r,l)}while(Pt)}if(Cr.current=Yr,n=X!==null&&X.next!==null,zn=0,Z=X=A=null,Xr=!1,n)throw Error(y(300));return e}function gu(){var e=Wt!==0;return Wt=0,e}function Ie(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Z===null?A.memoizedState=Z=e:Z=Z.next=e,Z}function Ne(){if(X===null){var e=A.alternate;e=e!==null?e.memoizedState:null}else e=X.next;var n=Z===null?A.memoizedState:Z.next;if(n!==null)Z=n,X=e;else{if(e===null)throw Error(y(310));X=e,e={memoizedState:X.memoizedState,baseState:X.baseState,baseQueue:X.baseQueue,queue:X.queue,next:null},Z===null?A.memoizedState=Z=e:Z=Z.next=e}return Z}function Qt(e,n){return typeof n=="function"?n(e):n}function $l(e){var n=Ne(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=X,l=r.baseQueue,o=t.pending;if(o!==null){if(l!==null){var u=l.next;l.next=o.next,o.next=u}r.baseQueue=l=o,t.pending=null}if(l!==null){o=l.next,r=r.baseState;var i=u=null,s=null,f=o;do{var h=f.lane;if((zn&h)===h)s!==null&&(s=s.next={lane:0,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null}),r=f.hasEagerState?f.eagerState:e(r,f.action);else{var m={lane:h,action:f.action,hasEagerState:f.hasEagerState,eagerState:f.eagerState,next:null};s===null?(i=s=m,u=r):s=s.next=m,A.lanes|=h,Ln|=h}f=f.next}while(f!==null&&f!==o);s===null?u=r:s.next=i,Me(r,n.memoizedState)||(fe=!0),n.memoizedState=r,n.baseState=u,n.baseQueue=s,t.lastRenderedState=r}if(e=t.interleaved,e!==null){l=e;do o=l.lane,A.lanes|=o,Ln|=o,l=l.next;while(l!==e)}else l===null&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function Al(e){var n=Ne(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,o=n.memoizedState;if(l!==null){t.pending=null;var u=l=l.next;do o=e(o,u.action),u=u.next;while(u!==l);Me(o,n.memoizedState)||(fe=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,r]}function ca(){}function fa(e,n){var t=A,r=Ne(),l=n(),o=!Me(r.memoizedState,l);if(o&&(r.memoizedState=l,fe=!0),r=r.queue,wu(ma.bind(null,t,r,e),[e]),r.getSnapshot!==n||o||Z!==null&&Z.memoizedState.tag&1){if(t.flags|=2048,Kt(9,pa.bind(null,t,r,l,n),void 0,null),J===null)throw Error(y(349));zn&30||da(t,n,l)}return l}function da(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},n=A.updateQueue,n===null?(n={lastEffect:null,stores:null},A.updateQueue=n,n.stores=[e]):(t=n.stores,t===null?n.stores=[e]:t.push(e))}function pa(e,n,t,r){n.value=t,n.getSnapshot=r,ha(n)&&va(e)}function ma(e,n,t){return t(function(){ha(n)&&va(e)})}function ha(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!Me(e,t)}catch{return!0}}function va(e){var n=Xe(e,1);n!==null&&Oe(n,e,1,-1)}function xi(e){var n=Ie();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qt,lastRenderedState:e},n.queue=e,e=e.dispatch=td.bind(null,A,e),[n.memoizedState,e]}function Kt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},n=A.updateQueue,n===null?(n={lastEffect:null,stores:null},A.updateQueue=n,n.lastEffect=e.next=e):(t=n.lastEffect,t===null?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e)),e}function ya(){return Ne().memoizedState}function _r(e,n,t,r){var l=Ie();A.flags|=e,l.memoizedState=Kt(1|n,t,void 0,r===void 0?null:r)}function sl(e,n,t,r){var l=Ne();r=r===void 0?null:r;var o=void 0;if(X!==null){var u=X.memoizedState;if(o=u.destroy,r!==null&&vu(r,u.deps)){l.memoizedState=Kt(n,t,o,r);return}}A.flags|=e,l.memoizedState=Kt(1|n,t,o,r)}function Ei(e,n){return _r(8390656,8,e,n)}function wu(e,n){return sl(2048,8,e,n)}function ga(e,n){return sl(4,2,e,n)}function wa(e,n){return sl(4,4,e,n)}function ka(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Sa(e,n,t){return t=t!=null?t.concat([e]):null,sl(4,4,ka.bind(null,n,e),t)}function ku(){}function xa(e,n){var t=Ne();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vu(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Ea(e,n){var t=Ne();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&vu(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ca(e,n,t){return zn&21?(Me(t,n)||(t=Ps(),A.lanes|=t,Ln|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,fe=!0),e.memoizedState=t)}function ed(e,n){var t=M;M=t!==0&&4>t?t:4,e(!0);var r=Ul.transition;Ul.transition={};try{e(!1),n()}finally{M=t,Ul.transition=r}}function _a(){return Ne().memoizedState}function nd(e,n,t){var r=cn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Na(e))Pa(n,t);else if(t=ra(e,n,t,r),t!==null){var l=ie();Oe(t,e,r,l),za(t,n,r)}}function td(e,n,t){var r=cn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Na(e))Pa(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,Me(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=ra(e,n,l,r),t!==null&&(l=ie(),Oe(t,e,r,l),za(t,n,r))}}function Na(e){var n=e.alternate;return e===A||n!==null&&n===A}function Pa(e,n){Pt=Xr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function za(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Jo(e,t)}}var Yr={readContext:_e,useCallback:ne,useContext:ne,useEffect:ne,useImperativeHandle:ne,useInsertionEffect:ne,useLayoutEffect:ne,useMemo:ne,useReducer:ne,useRef:ne,useState:ne,useDebugValue:ne,useDeferredValue:ne,useTransition:ne,useMutableSource:ne,useSyncExternalStore:ne,useId:ne,unstable_isNewReconciler:!1},rd={readContext:_e,useCallback:function(e,n){return Ie().memoizedState=[e,n===void 0?null:n],e},useContext:_e,useEffect:Ei,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,_r(4194308,4,ka.bind(null,n,e),t)},useLayoutEffect:function(e,n){return _r(4194308,4,e,n)},useInsertionEffect:function(e,n){return _r(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=nd.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var n=Ie();return e={current:e},n.memoizedState=e},useState:xi,useDebugValue:ku,useDeferredValue:function(e){return Ie().memoizedState=e},useTransition:function(){var e=xi(!1),n=e[0];return e=ed.bind(null,e[1]),Ie().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=A,l=Ie();if(U){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),J===null)throw Error(y(349));zn&30||da(r,n,t)}l.memoizedState=t;var o={value:t,getSnapshot:n};return l.queue=o,Ei(ma.bind(null,r,o,e),[e]),r.flags|=2048,Kt(9,pa.bind(null,r,o,t,n),void 0,null),t},useId:function(){var e=Ie(),n=J.identifierPrefix;if(U){var t=He,r=Be;t=(r&~(1<<32-je(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Wt++,0<t&&(n+="H"+t.toString(32)),n+=":"}else t=bf++,n=":"+n+"r"+t.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},ld={readContext:_e,useCallback:xa,useContext:_e,useEffect:wu,useImperativeHandle:Sa,useInsertionEffect:ga,useLayoutEffect:wa,useMemo:Ea,useReducer:$l,useRef:ya,useState:function(){return $l(Qt)},useDebugValue:ku,useDeferredValue:function(e){var n=Ne();return Ca(n,X.memoizedState,e)},useTransition:function(){var e=$l(Qt)[0],n=Ne().memoizedState;return[e,n]},useMutableSource:ca,useSyncExternalStore:fa,useId:_a,unstable_isNewReconciler:!1},od={readContext:_e,useCallback:xa,useContext:_e,useEffect:wu,useImperativeHandle:Sa,useInsertionEffect:ga,useLayoutEffect:wa,useMemo:Ea,useReducer:Al,useRef:ya,useState:function(){return Al(Qt)},useDebugValue:ku,useDeferredValue:function(e){var n=Ne();return X===null?n.memoizedState=e:Ca(n,X.memoizedState,e)},useTransition:function(){var e=Al(Qt)[0],n=Ne().memoizedState;return[e,n]},useMutableSource:ca,useSyncExternalStore:fa,useId:_a,unstable_isNewReconciler:!1};function rt(e,n){try{var t="",r=n;do t+=jc(r),r=r.return;while(r);var l=t}catch(o){l=`
|
39 |
Error generating stack: `+o.message+`
|
40 |
`+o.stack}return{value:e,source:n,stack:l,digest:null}}function Vl(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function _o(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var ud=typeof WeakMap=="function"?WeakMap:Map;function La(e,n,t){t=We(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Zr||(Zr=!0,Do=r),_o(e,n)},t}function Ta(e,n,t){t=We(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){_o(e,n)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){_o(e,n),typeof r!="function"&&(an===null?an=new Set([this]):an.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function Ci(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new ud;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=kd.bind(null,e,n,t),n.then(e,e))}function _i(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Ni(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=We(-1,1),n.tag=2,sn(t,n,1))),t.lanes|=1),e)}var id=Ge.ReactCurrentOwner,fe=!1;function ue(e,n,t,r){n.child=e===null?sa(n,null,t,r):nt(n,e.child,t,r)}function Pi(e,n,t,r,l){t=t.render;var o=n.ref;return Zn(n,l),r=yu(e,n,t,r,o,l),t=gu(),e!==null&&!fe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(U&&t&&ou(n),n.flags|=1,ue(e,n,r,l),n.child)}function zi(e,n,t,r,l){if(e===null){var o=t.type;return typeof o=="function"&&!zu(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=o,Ra(e,n,o,r,l)):(e=Lr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(o=e.child,!(e.lanes&l)){var u=o.memoizedProps;if(t=t.compare,t=t!==null?t:Ut,t(u,r)&&e.ref===n.ref)return Ye(e,n,l)}return n.flags|=1,e=fn(o,r),e.ref=n.ref,e.return=n,n.child=e}function Ra(e,n,t,r,l){if(e!==null){var o=e.memoizedProps;if(Ut(o,r)&&e.ref===n.ref)if(fe=!1,n.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(fe=!0);else return n.lanes=e.lanes,Ye(e,n,l)}return No(e,n,t,r,l)}function ja(e,n,t){var r=n.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Qn,he),he|=t;else{if(!(t&1073741824))return e=o!==null?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Qn,he),he|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,D(Qn,he),he|=r}else o!==null?(r=o.baseLanes|t,n.memoizedState=null):r=t,D(Qn,he),he|=r;return ue(e,n,l,t),n.child}function Oa(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function No(e,n,t,r,l){var o=pe(t)?Nn:le.current;return o=bn(n,o),Zn(n,l),t=yu(e,n,t,r,o,l),r=gu(),e!==null&&!fe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(U&&r&&ou(n),n.flags|=1,ue(e,n,t,l),n.child)}function Li(e,n,t,r,l){if(pe(t)){var o=!0;Ar(n)}else o=!1;if(Zn(n,l),n.stateNode===null)Nr(e,n),ua(n,t,r),Co(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,i=n.memoizedProps;u.props=i;var s=u.context,f=t.contextType;typeof f=="object"&&f!==null?f=_e(f):(f=pe(t)?Nn:le.current,f=bn(n,f));var h=t.getDerivedStateFromProps,m=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==r||s!==f)&&ki(n,u,r,f),qe=!1;var p=n.memoizedState;u.state=p,Qr(n,r,u,l),s=n.memoizedState,i!==r||p!==s||de.current||qe?(typeof h=="function"&&(Eo(n,t,h,r),s=n.memoizedState),(i=qe||wi(n,t,i,r,p,s,f))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),u.props=r,u.state=s,u.context=f,r=i):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,la(e,n),i=n.memoizedProps,f=n.type===n.elementType?i:Le(n.type,i),u.props=f,m=n.pendingProps,p=u.context,s=t.contextType,typeof s=="object"&&s!==null?s=_e(s):(s=pe(t)?Nn:le.current,s=bn(n,s));var g=t.getDerivedStateFromProps;(h=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==m||p!==s)&&ki(n,u,r,s),qe=!1,p=n.memoizedState,u.state=p,Qr(n,r,u,l);var w=n.memoizedState;i!==m||p!==w||de.current||qe?(typeof g=="function"&&(Eo(n,t,g,r),w=n.memoizedState),(f=qe||wi(n,t,f,r,p,w,s)||!1)?(h||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,s),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,s)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=s,r=f):(typeof u.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return Po(e,n,t,r,o,l)}function Po(e,n,t,r,l,o){Oa(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&mi(n,t,!1),Ye(e,n,o);r=n.stateNode,id.current=n;var i=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=nt(n,e.child,null,o),n.child=nt(n,null,i,o)):ue(e,n,i,o),n.memoizedState=r.state,l&&mi(n,t,!0),n.child}function Ma(e){var n=e.stateNode;n.pendingContext?pi(e,n.pendingContext,n.pendingContext!==n.context):n.context&&pi(e,n.context,!1),pu(e,n.containerInfo)}function Ti(e,n,t,r,l){return et(),iu(l),n.flags|=256,ue(e,n,t,r),n.child}var zo={dehydrated:null,treeContext:null,retryLane:0};function Lo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Da(e,n,t){var r=n.pendingProps,l=$.current,o=!1,u=(n.flags&128)!==0,i;if((i=u)||(i=e!==null&&e.memoizedState===null?!1:(l&2)!==0),i?(o=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D($,l&1),e===null)return So(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,o?(r=n.mode,o=n.child,u={mode:"hidden",children:u},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=u):o=fl(u,r,0,null),e=_n(e,r,t,null),o.return=n,e.return=n,o.sibling=e,n.child=o,n.child.memoizedState=Lo(t),n.memoizedState=zo,e):Su(n,u));if(l=e.memoizedState,l!==null&&(i=l.dehydrated,i!==null))return sd(e,n,u,r,i,l,t);if(o){o=r.fallback,u=n.mode,l=e.child,i=l.sibling;var s={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=fn(l,s),r.subtreeFlags=l.subtreeFlags&14680064),i!==null?o=fn(i,o):(o=_n(o,u,t,null),o.flags|=2),o.return=n,r.return=n,r.sibling=o,n.child=r,r=o,o=n.child,u=e.child.memoizedState,u=u===null?Lo(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},o.memoizedState=u,o.childLanes=e.childLanes&~t,n.memoizedState=zo,r}return o=e.child,e=o.sibling,r=fn(o,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function Su(e,n){return n=fl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function mr(e,n,t,r){return r!==null&&iu(r),nt(n,e.child,null,t),e=Su(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function sd(e,n,t,r,l,o,u){if(t)return n.flags&256?(n.flags&=-257,r=Vl(Error(y(422))),mr(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(o=r.fallback,l=n.mode,r=fl({mode:"visible",children:r.children},l,0,null),o=_n(o,l,u,null),o.flags|=2,r.return=n,o.return=n,r.sibling=o,n.child=r,n.mode&1&&nt(n,e.child,null,u),n.child.memoizedState=Lo(u),n.memoizedState=zo,o);if(!(n.mode&1))return mr(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var i=r.dgst;return r=i,o=Error(y(419)),r=Vl(o,r,void 0),mr(e,n,u,r)}if(i=(u&e.childLanes)!==0,fe||i){if(r=J,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,Xe(e,l),Oe(r,e,l,-1))}return Pu(),r=Vl(Error(y(421))),mr(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Sd.bind(null,e),l._reactRetry=n,null):(e=o.treeContext,ve=un(l.nextSibling),ye=n,U=!0,Re=null,e!==null&&(Se[xe++]=Be,Se[xe++]=He,Se[xe++]=Pn,Be=e.id,He=e.overflow,Pn=n),n=Su(n,r.children),n.flags|=4096,n)}function Ri(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),xo(e.return,n,t)}function Bl(e,n,t,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(o.isBackwards=n,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=t,o.tailMode=l)}function Ia(e,n,t){var r=n.pendingProps,l=r.revealOrder,o=r.tail;if(ue(e,n,r.children,t),r=$.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ri(e,t,n);else if(e.tag===19)Ri(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D($,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&Kr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Bl(n,!1,l,t,o);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&Kr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Bl(n,!0,t,null,o);break;case"together":Bl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Nr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Ye(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),Ln|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=fn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=fn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function ad(e,n,t){switch(n.tag){case 3:Ma(n),et();break;case 5:aa(n);break;case 1:pe(n.type)&&Ar(n);break;case 4:pu(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Hr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D($,$.current&1),n.flags|=128,null):t&n.child.childLanes?Da(e,n,t):(D($,$.current&1),e=Ye(e,n,t),e!==null?e.sibling:null);D($,$.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Ia(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D($,$.current),r)break;return null;case 22:case 23:return n.lanes=0,ja(e,n,t)}return Ye(e,n,t)}var Fa,To,Ua,$a;Fa=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};To=function(){};Ua=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,En($e.current);var o=null;switch(t){case"input":l=Jl(e,l),r=Jl(e,r),o=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),o=[];break;case"textarea":l=eo(e,l),r=eo(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ur)}to(t,r);var u;t=null;for(f in l)if(!r.hasOwnProperty(f)&&l.hasOwnProperty(f)&&l[f]!=null)if(f==="style"){var i=l[f];for(u in i)i.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(Rt.hasOwnProperty(f)?o||(o=[]):(o=o||[]).push(f,null));for(f in r){var s=r[f];if(i=l!=null?l[f]:void 0,r.hasOwnProperty(f)&&s!==i&&(s!=null||i!=null))if(f==="style")if(i){for(u in i)!i.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&i[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(o||(o=[]),o.push(f,t)),t=s;else f==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,i=i?i.__html:void 0,s!=null&&i!==s&&(o=o||[]).push(f,s)):f==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(f,""+s):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(Rt.hasOwnProperty(f)?(s!=null&&f==="onScroll"&&I("scroll",e),o||i===s||(o=[])):(o=o||[]).push(f,s))}t&&(o=o||[]).push("style",t);var f=o;(n.updateQueue=f)&&(n.flags|=4)}};$a=function(e,n,t,r){t!==r&&(n.flags|=4)};function vt(e,n){if(!U)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function te(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function cd(e,n,t){var r=n.pendingProps;switch(uu(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return te(n),null;case 1:return pe(n.type)&&$r(),te(n),null;case 3:return r=n.stateNode,tt(),F(de),F(le),hu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(dr(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Re!==null&&(Uo(Re),Re=null))),To(e,n),te(n),null;case 5:mu(n);var l=En(Ht.current);if(t=n.type,e!==null&&n.stateNode!=null)Ua(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return te(n),null}if(e=En($e.current),dr(n)){r=n.stateNode,t=n.type;var o=n.memoizedProps;switch(r[Fe]=n,r[Vt]=o,e=(n.mode&1)!==0,t){case"dialog":I("cancel",r),I("close",r);break;case"iframe":case"object":case"embed":I("load",r);break;case"video":case"audio":for(l=0;l<St.length;l++)I(St[l],r);break;case"source":I("error",r);break;case"img":case"image":case"link":I("error",r),I("load",r);break;case"details":I("toggle",r);break;case"input":Au(r,o),I("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},I("invalid",r);break;case"textarea":Bu(r,o),I("invalid",r)}to(t,o),l=null;for(var u in o)if(o.hasOwnProperty(u)){var i=o[u];u==="children"?typeof i=="string"?r.textContent!==i&&(o.suppressHydrationWarning!==!0&&fr(r.textContent,i,e),l=["children",i]):typeof i=="number"&&r.textContent!==""+i&&(o.suppressHydrationWarning!==!0&&fr(r.textContent,i,e),l=["children",""+i]):Rt.hasOwnProperty(u)&&i!=null&&u==="onScroll"&&I("scroll",r)}switch(t){case"input":rr(r),Vu(r,o,!0);break;case"textarea":rr(r),Hu(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Ur)}r=l,n.updateQueue=r,r!==null&&(n.flags|=4)}else{u=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=ds(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=u.createElement("div"),e.innerHTML="<script><\/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[Fe]=n,e[Vt]=r,Fa(e,n,!1,!1),n.stateNode=e;e:{switch(u=ro(t,r),t){case"dialog":I("cancel",e),I("close",e),l=r;break;case"iframe":case"object":case"embed":I("load",e),l=r;break;case"video":case"audio":for(l=0;l<St.length;l++)I(St[l],e);l=r;break;case"source":I("error",e),l=r;break;case"img":case"image":case"link":I("error",e),I("load",e),l=r;break;case"details":I("toggle",e),l=r;break;case"input":Au(e,r),l=Jl(e,r),I("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=V({},r,{value:void 0}),I("invalid",e);break;case"textarea":Bu(e,r),l=eo(e,r),I("invalid",e);break;default:l=r}to(t,l),i=l;for(o in i)if(i.hasOwnProperty(o)){var s=i[o];o==="style"?hs(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&ps(e,s)):o==="children"?typeof s=="string"?(t!=="textarea"||s!=="")&&jt(e,s):typeof s=="number"&&jt(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Rt.hasOwnProperty(o)?s!=null&&o==="onScroll"&&I("scroll",e):s!=null&&Qo(e,o,s,u))}switch(t){case"input":rr(e),Vu(e,r,!1);break;case"textarea":rr(e),Hu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+dn(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?Kn(e,!!r.multiple,o,!1):r.defaultValue!=null&&Kn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Ur)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return te(n),null;case 6:if(e&&n.stateNode!=null)$a(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=En(Ht.current),En($e.current),dr(n)){if(r=n.stateNode,t=n.memoizedProps,r[Fe]=n,(o=r.nodeValue!==t)&&(e=ye,e!==null))switch(e.tag){case 3:fr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&fr(r.nodeValue,t,(e.mode&1)!==0)}o&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Fe]=n,n.stateNode=r}return te(n),null;case 13:if(F($),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ve!==null&&n.mode&1&&!(n.flags&128))ta(),et(),n.flags|=98560,o=!1;else if(o=dr(n),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(y(318));if(o=n.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(y(317));o[Fe]=n}else et(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;te(n),o=!1}else Re!==null&&(Uo(Re),Re=null),o=!0;if(!o)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||$.current&1?Y===0&&(Y=3):Pu())),n.updateQueue!==null&&(n.flags|=4),te(n),null);case 4:return tt(),To(e,n),e===null&&$t(n.stateNode.containerInfo),te(n),null;case 10:return cu(n.type._context),te(n),null;case 17:return pe(n.type)&&$r(),te(n),null;case 19:if(F($),o=n.memoizedState,o===null)return te(n),null;if(r=(n.flags&128)!==0,u=o.rendering,u===null)if(r)vt(o,!1);else{if(Y!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(u=Kr(e),u!==null){for(n.flags|=128,vt(o,!1),r=u.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)o=t,e=r,o.flags&=14680066,u=o.alternate,u===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=u.childLanes,o.lanes=u.lanes,o.child=u.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=u.memoizedProps,o.memoizedState=u.memoizedState,o.updateQueue=u.updateQueue,o.type=u.type,e=u.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return D($,$.current&1|2),n.child}e=e.sibling}o.tail!==null&&Q()>lt&&(n.flags|=128,r=!0,vt(o,!1),n.lanes=4194304)}else{if(!r)if(e=Kr(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&&!U)return te(n),null}else 2*Q()-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=Q(),n.sibling=null,t=$.current,D($,r?t&1|2:t&1),n):(te(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?he&1073741824&&(te(n),n.subtreeFlags&6&&(n.flags|=8192)):te(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function fd(e,n){switch(uu(n),n.tag){case 1:return pe(n.type)&&$r(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return tt(),F(de),F(le),hu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return mu(n),null;case 13:if(F($),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 F($),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 hr=!1,re=!1,dd=typeof WeakSet=="function"?WeakSet:Set,S=null;function Wn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){B(e,n,r)}else t.current=null}function Ro(e,n,t){try{t()}catch(r){B(e,n,r)}}var ji=!1;function pd(e,n){if(mo=Dr,e=Hs(),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,f=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&&++f===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},Dr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;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 k=w.memoizedProps,j=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:Le(n.type,k),j);c.__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){B(n,n.return,v)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=ji,ji=!1,w}function zt(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 al(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 jo(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[Fe],delete n[Vt],delete n[go],delete n[Gf],delete n[Zf])),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=Ur));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 Mo(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(Mo(e,n,t),e=e.sibling;e!==null;)Mo(e,n,t),e=e.sibling}var q=null,Te=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Ba(e,n,t),t=t.sibling}function Ba(e,n,t){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(nl,t)}catch{}switch(t.tag){case 5:re||Wn(t,n);case 6:var r=q,l=Te;q=null,Ze(e,n,t),q=r,Te=l,q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):q.removeChild(t.stateNode));break;case 18:q!==null&&(Te?(e=q,t=t.stateNode,e.nodeType===8?Dl(e.parentNode,t):e.nodeType===1&&Dl(e,t),It(e)):Dl(q,t.stateNode));break;case 4:r=q,l=Te,q=t.stateNode.containerInfo,Te=!0,Ze(e,n,t),q=r,Te=l;break;case 0:case 11:case 14:case 15:if(!re&&(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)}Ze(e,n,t);break;case 1:if(!re&&(Wn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(i){B(t,n,i)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(re=(r=re)||t.memoizedState!==null,Ze(e,n,t),re=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function Mi(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new dd),n.forEach(function(r){var l=xd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];try{var o=e,u=n,i=u;e:for(;i!==null;){switch(i.tag){case 5:q=i.stateNode,Te=!1;break e;case 3:q=i.stateNode.containerInfo,Te=!0;break e;case 4:q=i.stateNode.containerInfo,Te=!0;break e}i=i.return}if(q===null)throw Error(y(160));Ba(o,u,l),q=null,Te=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(f){B(l,n,f)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)Ha(n,e),n=n.sibling}function Ha(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ze(n,e),De(e),r&4){try{zt(3,e,e.return),al(3,e)}catch(k){B(e,e.return,k)}try{zt(5,e,e.return)}catch(k){B(e,e.return,k)}}break;case 1:ze(n,e),De(e),r&512&&t!==null&&Wn(t,t.return);break;case 5:if(ze(n,e),De(e),r&512&&t!==null&&Wn(t,t.return),e.flags&32){var l=e.stateNode;try{jt(l,"")}catch(k){B(e,e.return,k)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,u=t!==null?t.memoizedProps:o,i=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{i==="input"&&o.type==="radio"&&o.name!=null&&cs(l,o),ro(i,u);var f=ro(i,o);for(u=0;u<s.length;u+=2){var h=s[u],m=s[u+1];h==="style"?hs(l,m):h==="dangerouslySetInnerHTML"?ps(l,m):h==="children"?jt(l,m):Qo(l,h,m,f)}switch(i){case"input":ql(l,o);break;case"textarea":fs(l,o);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?Kn(l,!!o.multiple,g,!1):p!==!!o.multiple&&(o.defaultValue!=null?Kn(l,!!o.multiple,o.defaultValue,!0):Kn(l,!!o.multiple,o.multiple?[]:"",!1))}l[Vt]=o}catch(k){B(e,e.return,k)}}break;case 6:if(ze(n,e),De(e),r&4){if(e.stateNode===null)throw Error(y(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(k){B(e,e.return,k)}}break;case 3:if(ze(n,e),De(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{It(n.containerInfo)}catch(k){B(e,e.return,k)}break;case 4:ze(n,e),De(e);break;case 13:ze(n,e),De(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(Cu=Q())),r&4&&Mi(e);break;case 22:if(h=t!==null&&t.memoizedState!==null,e.mode&1?(re=(f=re)||h,ze(n,e),re=f):ze(n,e),De(e),r&8192){if(f=e.memoizedState!==null,(e.stateNode.isHidden=f)&&!h&&e.mode&1)for(S=e,h=e.child;h!==null;){for(m=S=h;S!==null;){switch(p=S,g=p.child,p.tag){case 0:case 11:case 14:case 15:zt(4,p,p.return);break;case 1:Wn(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,t=p.return;try{n=r,w.props=n.memoizedProps,w.state=n.memoizedState,w.componentWillUnmount()}catch(k){B(r,t,k)}}break;case 5:Wn(p,p.return);break;case 22:if(p.memoizedState!==null){Ii(m);continue}}g!==null?(g.return=p,S=g):Ii(m)}h=h.sibling}e:for(h=null,m=e;;){if(m.tag===5){if(h===null){h=m;try{l=m.stateNode,f?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(i=m.stateNode,s=m.memoizedProps.style,u=s!=null&&s.hasOwnProperty("display")?s.display:null,i.style.display=ms("display",u))}catch(k){B(e,e.return,k)}}}else if(m.tag===6){if(h===null)try{m.stateNode.nodeValue=f?"":m.memoizedProps}catch(k){B(e,e.return,k)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;h===m&&(h=null),m=m.return}h===m&&(h=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:ze(n,e),De(e),r&4&&Mi(e);break;case 21:break;default:ze(n,e),De(e)}}function De(e){var n=e.flags;if(n&2){try{e:{for(var t=e.return;t!==null;){if(Va(t)){var r=t;break e}t=t.return}throw Error(y(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(jt(l,""),r.flags&=-33);var o=Oi(e);Mo(e,o,l);break;case 3:case 4:var u=r.stateNode.containerInfo,i=Oi(e);Oo(e,i,u);break;default:throw Error(y(161))}}catch(s){B(e,e.return,s)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function md(e,n,t){S=e,Wa(e)}function Wa(e,n,t){for(var r=(e.mode&1)!==0;S!==null;){var l=S,o=l.child;if(l.tag===22&&r){var u=l.memoizedState!==null||hr;if(!u){var i=l.alternate,s=i!==null&&i.memoizedState!==null||re;i=hr;var f=re;if(hr=u,(re=s)&&!f)for(S=l;S!==null;)u=S,s=u.child,u.tag===22&&u.memoizedState!==null?Fi(l):s!==null?(s.return=u,S=s):Fi(l);for(;o!==null;)S=o,Wa(o),o=o.sibling;S=l,hr=i,re=f}Di(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,S=o):Di(e)}}function Di(e){for(;S!==null;){var n=S;if(n.flags&8772){var t=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:re||al(5,n);break;case 1:var r=n.stateNode;if(n.flags&4&&!re)if(t===null)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:Le(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=n.updateQueue;o!==null&&gi(n,o,r);break;case 3:var u=n.updateQueue;if(u!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}gi(n,u,t)}break;case 5:var i=n.stateNode;if(t===null&&n.flags&4){t=i;var s=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();break;case"img":s.src&&(t.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var f=n.alternate;if(f!==null){var h=f.memoizedState;if(h!==null){var m=h.dehydrated;m!==null&&It(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(y(163))}re||n.flags&512&&jo(n)}catch(p){B(n,n.return,p)}}if(n===e){S=null;break}if(t=n.sibling,t!==null){t.return=n.return,S=t;break}S=n.return}}function Ii(e){for(;S!==null;){var n=S;if(n===e){S=null;break}var t=n.sibling;if(t!==null){t.return=n.return,S=t;break}S=n.return}}function Fi(e){for(;S!==null;){var n=S;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{al(4,n)}catch(s){B(n,t,s)}break;case 1:var r=n.stateNode;if(typeof r.componentDidMount=="function"){var l=n.return;try{r.componentDidMount()}catch(s){B(n,l,s)}}var o=n.return;try{jo(n)}catch(s){B(n,o,s)}break;case 5:var u=n.return;try{jo(n)}catch(s){B(n,u,s)}}}catch(s){B(n,n.return,s)}if(n===e){S=null;break}var i=n.sibling;if(i!==null){i.return=n.return,S=i;break}S=n.return}}var hd=Math.ceil,Gr=Ge.ReactCurrentDispatcher,xu=Ge.ReactCurrentOwner,Ce=Ge.ReactCurrentBatchConfig,O=0,J=null,K=null,b=0,he=0,Qn=hn(0),Y=0,Xt=null,Ln=0,cl=0,Eu=0,Lt=null,ce=null,Cu=0,lt=1/0,Ae=null,Zr=!1,Do=null,an=null,vr=!1,tn=null,Jr=0,Tt=0,Io=null,Pr=-1,zr=0;function ie(){return O&6?Q():Pr!==-1?Pr:Pr=Q()}function cn(e){return e.mode&1?O&2&&b!==0?b&-b:qf.transition!==null?(zr===0&&(zr=Ps()),zr):(e=M,e!==0||(e=window.event,e=e===void 0?16:Ms(e.type)),e):1}function Oe(e,n,t,r){if(50<Tt)throw Tt=0,Io=null,Error(y(185));Gt(e,t,r),(!(O&2)||e!==J)&&(e===J&&(!(O&2)&&(cl|=t),Y===4&&en(e,b)),me(e,r),t===1&&O===0&&!(n.mode&1)&&(lt=Q()+500,ul&&vn()))}function me(e,n){var t=e.callbackNode;Jc(e,n);var r=Mr(e,e===J?b:0);if(r===0)t!==null&&Ku(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(t!=null&&Ku(t),n===1)e.tag===0?Jf(Ui.bind(null,e)):bs(Ui.bind(null,e)),Xf(function(){!(O&6)&&vn()}),t=null;else{switch(zs(r)){case 1:t=Zo;break;case 4:t=_s;break;case 16:t=Or;break;case 536870912:t=Ns;break;default:t=Or}t=qa(t,Qa.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function Qa(e,n){if(Pr=-1,zr=0,O&6)throw Error(y(327));var t=e.callbackNode;if(Jn()&&e.callbackNode!==t)return null;var r=Mr(e,e===J?b:0);if(r===0)return null;if(r&30||r&e.expiredLanes||n)n=qr(e,r);else{n=r;var l=O;O|=2;var o=Xa();(J!==e||b!==n)&&(Ae=null,lt=Q()+500,Cn(e,n));do try{gd();break}catch(i){Ka(e,i)}while(1);au(),Gr.current=o,O=l,K!==null?n=0:(J=null,b=0,n=Y)}if(n!==0){if(n===2&&(l=so(e),l!==0&&(r=l,n=Fo(e,l))),n===1)throw t=Xt,Cn(e,0),en(e,r),me(e,Q()),t;if(n===6)en(e,r);else{if(l=e.current.alternate,!(r&30)&&!vd(l)&&(n=qr(e,r),n===2&&(o=so(e),o!==0&&(r=o,n=Fo(e,o))),n===1))throw t=Xt,Cn(e,0),en(e,r),me(e,Q()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(y(345));case 2:kn(e,ce,Ae);break;case 3:if(en(e,r),(r&130023424)===r&&(n=Cu+500-Q(),10<n)){if(Mr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){ie(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=yo(kn.bind(null,e,ce,Ae),n);break}kn(e,ce,Ae);break;case 4:if(en(e,r),(r&4194240)===r)break;for(n=e.eventTimes,l=-1;0<r;){var u=31-je(r);o=1<<u,u=n[u],u>l&&(l=u),r&=~o}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hd(r/1960))-r,10<r){e.timeoutHandle=yo(kn.bind(null,e,ce,Ae),r);break}kn(e,ce,Ae);break;case 5:kn(e,ce,Ae);break;default:throw Error(y(329))}}}return me(e,Q()),e.callbackNode===t?Qa.bind(null,e):null}function Fo(e,n){var t=Lt;return e.current.memoizedState.isDehydrated&&(Cn(e,n).flags|=256),e=qr(e,n),e!==2&&(n=ce,ce=t,n!==null&&Uo(n)),e}function Uo(e){ce===null?ce=e:ce.push.apply(ce,e)}function vd(e){for(var n=e;;){if(n.flags&16384){var t=n.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var l=t[r],o=l.getSnapshot;l=l.value;try{if(!Me(o(),l))return!1}catch{return!1}}}if(t=n.child,n.subtreeFlags&16384&&t!==null)t.return=n,n=t;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function en(e,n){for(n&=~Eu,n&=~cl,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-je(n),r=1<<t;e[t]=-1,n&=~r}}function Ui(e){if(O&6)throw Error(y(327));Jn();var n=Mr(e,0);if(!(n&1))return me(e,Q()),null;var t=qr(e,n);if(e.tag!==0&&t===2){var r=so(e);r!==0&&(n=r,t=Fo(e,r))}if(t===1)throw t=Xt,Cn(e,0),en(e,n),me(e,Q()),t;if(t===6)throw Error(y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,kn(e,ce,Ae),me(e,Q()),null}function _u(e,n){var t=O;O|=1;try{return e(n)}finally{O=t,O===0&&(lt=Q()+500,ul&&vn())}}function Tn(e){tn!==null&&tn.tag===0&&!(O&6)&&Jn();var n=O;O|=1;var t=Ce.transition,r=M;try{if(Ce.transition=null,M=1,e)return e()}finally{M=r,Ce.transition=t,O=n,!(O&6)&&vn()}}function Nu(){he=Qn.current,F(Qn)}function Cn(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Kf(t)),K!==null)for(t=K.return;t!==null;){var r=t;switch(uu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&$r();break;case 3:tt(),F(de),F(le),hu();break;case 5:mu(r);break;case 4:tt();break;case 13:F($);break;case 19:F($);break;case 10:cu(r.type._context);break;case 22:case 23:Nu()}t=t.return}if(J=e,K=e=fn(e.current,null),b=he=n,Y=0,Xt=null,Eu=cl=Ln=0,ce=Lt=null,xn!==null){for(n=0;n<xn.length;n++)if(t=xn[n],r=t.interleaved,r!==null){t.interleaved=null;var l=r.next,o=t.pending;if(o!==null){var u=o.next;o.next=l,r.next=u}t.pending=r}xn=null}return e}function Ka(e,n){do{var t=K;try{if(au(),Cr.current=Yr,Xr){for(var r=A.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Xr=!1}if(zn=0,Z=X=A=null,Pt=!1,Wt=0,xu.current=null,t===null||t.return===null){Y=1,Xt=n,K=null;break}e:{var o=e,u=t.return,i=t,s=n;if(n=b,i.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var f=s,h=i,m=h.tag;if(!(h.mode&1)&&(m===0||m===11||m===15)){var p=h.alternate;p?(h.updateQueue=p.updateQueue,h.memoizedState=p.memoizedState,h.lanes=p.lanes):(h.updateQueue=null,h.memoizedState=null)}var g=_i(u);if(g!==null){g.flags&=-257,Ni(g,u,i,o,n),g.mode&1&&Ci(o,f,n),n=g,s=f;var w=n.updateQueue;if(w===null){var k=new Set;k.add(s),n.updateQueue=k}else w.add(s);break e}else{if(!(n&1)){Ci(o,f,n),Pu();break e}s=Error(y(426))}}else if(U&&i.mode&1){var j=_i(u);if(j!==null){!(j.flags&65536)&&(j.flags|=256),Ni(j,u,i,o,n),iu(rt(s,i));break e}}o=s=rt(s,i),Y!==4&&(Y=2),Lt===null?Lt=[o]:Lt.push(o),o=u;do{switch(o.tag){case 3:o.flags|=65536,n&=-n,o.lanes|=n;var c=La(o,s,n);yi(o,c);break e;case 1:i=s;var a=o.type,d=o.stateNode;if(!(o.flags&128)&&(typeof a.getDerivedStateFromError=="function"||d!==null&&typeof d.componentDidCatch=="function"&&(an===null||!an.has(d)))){o.flags|=65536,n&=-n,o.lanes|=n;var v=Ta(o,i,n);yi(o,v);break e}}o=o.return}while(o!==null)}Ga(t)}catch(x){n=x,K===t&&t!==null&&(K=t=t.return);continue}break}while(1)}function Xa(){var e=Gr.current;return Gr.current=Yr,e===null?Yr:e}function Pu(){(Y===0||Y===3||Y===2)&&(Y=4),J===null||!(Ln&268435455)&&!(cl&268435455)||en(J,b)}function qr(e,n){var t=O;O|=2;var r=Xa();(J!==e||b!==n)&&(Ae=null,Cn(e,n));do try{yd();break}catch(l){Ka(e,l)}while(1);if(au(),O=t,Gr.current=r,K!==null)throw Error(y(261));return J=null,b=0,Y}function yd(){for(;K!==null;)Ya(K)}function gd(){for(;K!==null&&!Bc();)Ya(K)}function Ya(e){var n=Ja(e.alternate,e,he);e.memoizedProps=e.pendingProps,n===null?Ga(e):K=n,xu.current=null}function Ga(e){var n=e;do{var t=n.alternate;if(e=n.return,n.flags&32768){if(t=fd(t,n),t!==null){t.flags&=32767,K=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Y=6,K=null;return}}else if(t=cd(t,n,he),t!==null){K=t;return}if(n=n.sibling,n!==null){K=n;return}K=n=e}while(n!==null);Y===0&&(Y=5)}function kn(e,n,t){var r=M,l=Ce.transition;try{Ce.transition=null,M=1,wd(e,n,t,r)}finally{Ce.transition=l,M=r}return null}function wd(e,n,t,r){do Jn();while(tn!==null);if(O&6)throw Error(y(327));t=e.finishedWork;var l=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(y(177));e.callbackNode=null,e.callbackPriority=0;var o=t.lanes|t.childLanes;if(qc(e,o),e===J&&(K=J=null,b=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||vr||(vr=!0,qa(Or,function(){return Jn(),null})),o=(t.flags&15990)!==0,t.subtreeFlags&15990||o){o=Ce.transition,Ce.transition=null;var u=M;M=1;var i=O;O|=4,xu.current=null,pd(e,t),Ha(t,e),$f(ho),Dr=!!mo,ho=mo=null,e.current=t,md(t),Hc(),O=i,M=u,Ce.transition=o}else e.current=t;if(vr&&(vr=!1,tn=e,Jr=l),o=e.pendingLanes,o===0&&(an=null),Kc(t.stateNode),me(e,Q()),n!==null)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(Zr)throw Zr=!1,e=Do,Do=null,e;return Jr&1&&e.tag!==0&&Jn(),o=e.pendingLanes,o&1?e===Io?Tt++:(Tt=0,Io=e):Tt=0,vn(),null}function Jn(){if(tn!==null){var e=zs(Jr),n=Ce.transition,t=M;try{if(Ce.transition=null,M=16>e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,Jr=0,O&6)throw Error(y(331));var l=O;for(O|=4,S=e.current;S!==null;){var o=S,u=o.child;if(S.flags&16){var i=o.deletions;if(i!==null){for(var s=0;s<i.length;s++){var f=i[s];for(S=f;S!==null;){var h=S;switch(h.tag){case 0:case 11:case 15:zt(8,h,o)}var m=h.child;if(m!==null)m.return=h,S=m;else for(;S!==null;){h=S;var p=h.sibling,g=h.return;if(Aa(h),h===f){S=null;break}if(p!==null){p.return=g,S=p;break}S=g}}}var w=o.alternate;if(w!==null){var k=w.child;if(k!==null){w.child=null;do{var j=k.sibling;k.sibling=null,k=j}while(k!==null)}}S=o}}if(o.subtreeFlags&2064&&u!==null)u.return=o,S=u;else e:for(;S!==null;){if(o=S,o.flags&2048)switch(o.tag){case 0:case 11:case 15:zt(9,o,o.return)}var c=o.sibling;if(c!==null){c.return=o.return,S=c;break e}S=o.return}}var a=e.current;for(S=a;S!==null;){u=S;var d=u.child;if(u.subtreeFlags&2064&&d!==null)d.return=u,S=d;else e:for(u=a;S!==null;){if(i=S,i.flags&2048)try{switch(i.tag){case 0:case 11:case 15:al(9,i)}}catch(x){B(i,i.return,x)}if(i===u){S=null;break e}var v=i.sibling;if(v!==null){v.return=i.return,S=v;break e}S=i.return}}if(O=l,vn(),Ue&&typeof Ue.onPostCommitFiberRoot=="function")try{Ue.onPostCommitFiberRoot(nl,e)}catch{}r=!0}return r}finally{M=t,Ce.transition=n}}return!1}function $i(e,n,t){n=rt(t,n),n=La(e,n,1),e=sn(e,n,1),n=ie(),e!==null&&(Gt(e,1,n),me(e,n))}function B(e,n,t){if(e.tag===3)$i(e,e,t);else for(;n!==null;){if(n.tag===3){$i(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(an===null||!an.has(r))){e=rt(t,e),e=Ta(n,e,1),n=sn(n,e,1),e=ie(),n!==null&&(Gt(n,1,e),me(n,e));break}}n=n.return}}function kd(e,n,t){var r=e.pingCache;r!==null&&r.delete(n),n=ie(),e.pingedLanes|=e.suspendedLanes&t,J===e&&(b&t)===t&&(Y===4||Y===3&&(b&130023424)===b&&500>Q()-Cu?Cn(e,0):Eu|=t),me(e,n)}function Za(e,n){n===0&&(e.mode&1?(n=ur,ur<<=1,!(ur&130023424)&&(ur=4194304)):n=1);var t=ie();e=Xe(e,n),e!==null&&(Gt(e,n,t),me(e,t))}function Sd(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||de.current)fe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return fe=!1,ad(e,n,t);fe=!!(e.flags&131072)}else fe=!1,U&&n.flags&1048576&&ea(n,Br,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Nr(e,n),e=n.pendingProps;var l=bn(n,le.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,pe(r)?(o=!0,Ar(n)):o=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,du(n),l.updater=il,n.stateNode=l,l._reactInternals=n,Co(n,r,e,t),n=Po(null,n,r,!0,o,t)):(n.tag=0,U&&o&&ou(n),ue(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Nr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Cd(r),e=Le(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,Le(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:Le(r,l),No(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Li(e,n,r,l,t);case 3:e:{if(Ma(n),e===null)throw Error(y(387));r=n.pendingProps,o=n.memoizedState,l=o.element,la(e,n),Qr(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(ve=un(n.stateNode.containerInfo.firstChild),ye=n,U=!0,Re=null,t=sa(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}ue(e,n,r,t)}n=n.child}return n;case 5:return aa(n),e===null&&So(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),ue(e,n,u,t),n.child;case 6:return e===null&&So(n),null;case 13:return Da(e,n,t);case 4:return pu(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=nt(n,null,r,t):ue(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Le(r,l),Pi(e,n,r,l,t);case 7:return ue(e,n,n.pendingProps,t),n.child;case 8:return ue(e,n,n.pendingProps.children,t),n.child;case 12:return ue(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,D(Hr,r._currentValue),r._currentValue=u,o!==null)if(Me(o.value,u)){if(o.children===l.children&&!de.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=We(-1,t&-t),s.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?s.next=s:(s.next=h.next,h.next=s),f.pending=s}}o.lanes|=t,s=o.alternate,s!==null&&(s.lanes|=t),xo(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),xo(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}ue(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Zn(n,t),l=_e(l),r=r(l),n.flags|=1,ue(e,n,r,t),n.child;case 14:return r=n.type,l=Le(r,n.pendingProps),l=Le(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:Le(r,l),Nr(e,n),n.tag=1,pe(r)?(e=!0,Ar(n)):e=!1,Zn(n,t),ua(n,r,l),Co(n,r,l,t),Po(null,n,r,!0,e,t);case 19:return Ia(e,n,t);case 22:return ja(e,n,t)}throw Error(y(156,n.tag))};function qa(e,n){return Cs(e,n)}function Ed(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 Ed(e,n,t,r)}function zu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cd(e){if(typeof e=="function")return zu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Xo)return 11;if(e===Yo)return 14}return 2}function fn(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 Lr(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 _n(t.children,l,o,n);case Ko:u=8,l|=8;break;case Xl:return e=Ee(12,t,n,l|2),e.elementType=Xl,e.lanes=o,e;case Yl:return e=Ee(13,t,n,l),e.elementType=Yl,e.lanes=o,e;case Gl:return e=Ee(19,t,n,l),e.elementType=Gl,e.lanes=o,e;case is:return fl(t,l,o,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case os:u=10;break e;case us:u=9;break e;case Xo:u=11;break e;case Yo:u=14;break e;case Je: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 _n(e,n,t,r){return e=Ee(7,e,r,n),e.lanes=t,e}function fl(e,n,t,r){return e=Ee(22,e,r,n),e.elementType=is,e.lanes=t,e.stateNode={isHidden:!1},e}function Hl(e,n,t){return e=Ee(6,e,null,n),e.lanes=t,e}function Wl(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 _d(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=Cl(0),this.expirationTimes=Cl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Cl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Lu(e,n,t,r,l,o,u,i,s){return e=new _d(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 Nd(e,n,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Mn,key:r==null?null:""+r,children:e,containerInfo:n,implementation:t}}function ba(e){if(!e)return pn;e=e._reactInternals;e:{if(jn(e)!==e||e.tag!==1)throw Error(y(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(pe(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(y(171))}if(e.tag===1){var t=e.type;if(pe(t))return qs(e,t,n)}return n}function ec(e,n,t,r,l,o,u,i,s){return e=Lu(t,r,!0,e,l,o,u,i,s),e.context=ba(null),t=e.current,r=ie(),l=cn(t),o=We(r,l),o.callback=n??null,sn(t,o,l),e.current.lanes=l,Gt(e,l,r),me(e,r),e}function dl(e,n,t,r){var l=n.current,o=ie(),u=cn(l);return t=ba(t),n.context===null?n.context=t:n.pendingContext=t,n=We(o,u),n.payload={element:e},r=r===void 0?null:r,r!==null&&(n.callback=r),e=sn(l,n,u),e!==null&&(Oe(e,l,u,o),Er(e,l,u)),u}function br(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ai(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function Tu(e,n){Ai(e,n),(e=e.alternate)&&Ai(e,n)}function Pd(){return null}var nc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ru(e){this._internalRoot=e}pl.prototype.render=Ru.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(y(409));dl(e,n,null,null)};pl.prototype.unmount=Ru.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Tn(function(){dl(null,e,null,null)}),n[Ke]=null}};function pl(e){this._internalRoot=e}pl.prototype.unstable_scheduleHydration=function(e){if(e){var n=Rs();e={blockedOn:null,target:e,priority:n};for(var t=0;t<be.length&&n!==0&&n<be[t].priority;t++);be.splice(t,0,e),t===0&&Os(e)}};function ju(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ml(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Vi(){}function zd(e,n,t,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var f=br(u);o.call(f)}}var u=ec(n,r,e,0,null,!1,!1,"",Vi);return e._reactRootContainer=u,e[Ke]=u.current,$t(e.nodeType===8?e.parentNode:e),Tn(),u}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var i=r;r=function(){var f=br(s);i.call(f)}}var s=Lu(e,0,!1,null,null,!1,!1,"",Vi);return e._reactRootContainer=s,e[Ke]=s.current,$t(e.nodeType===8?e.parentNode:e),Tn(function(){dl(n,s,t,r)}),s}function hl(e,n,t,r,l){var o=t._reactRootContainer;if(o){var u=o;if(typeof l=="function"){var i=l;l=function(){var s=br(u);i.call(s)}}dl(n,u,e,l)}else u=zd(t,n,e,l,r);return br(u)}Ls=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=kt(n.pendingLanes);t!==0&&(Jo(n,t|1),me(n,Q()),!(O&6)&&(lt=Q()+500,vn()))}break;case 13:Tn(function(){var r=Xe(e,1);if(r!==null){var l=ie();Oe(r,e,1,l)}}),Tu(e,1)}};qo=function(e){if(e.tag===13){var n=Xe(e,134217728);if(n!==null){var t=ie();Oe(n,e,134217728,t)}Tu(e,134217728)}};Ts=function(e){if(e.tag===13){var n=cn(e),t=Xe(e,n);if(t!==null){var r=ie();Oe(t,e,n,r)}Tu(e,n)}};Rs=function(){return M};js=function(e,n){var t=M;try{return M=e,n()}finally{M=t}};oo=function(e,n,t){switch(n){case"input":if(ql(e,t),n=t.name,t.type==="radio"&&n!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=ol(r);if(!l)throw Error(y(90));as(r),ql(r,l)}}}break;case"textarea":fs(e,t);break;case"select":n=t.value,n!=null&&Kn(e,!!t.multiple,n,!1)}};gs=_u;ws=Tn;var Ld={usingClientEntryPoint:!1,Events:[Jt,$n,ol,vs,ys,_u]},yt={findFiberByHostInstance:Sn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Td={bundleType:yt.bundleType,version:yt.version,rendererPackageName:yt.rendererPackageName,rendererConfig:yt.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ge.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=xs(e),e===null?null:e.stateNode},findFiberByHostInstance:yt.findFiberByHostInstance||Pd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var yr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!yr.isDisabled&&yr.supportsFiber)try{nl=yr.inject(Td),Ue=yr}catch{}}we.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ld;we.createPortal=function(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ju(n))throw Error(y(200));return Nd(e,n,null,t)};we.createRoot=function(e,n){if(!ju(e))throw Error(y(299));var t=!1,r="",l=nc;return n!=null&&(n.unstable_strictMode===!0&&(t=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),n=Lu(e,1,!1,null,null,t,!1,r,l),e[Ke]=n.current,$t(e.nodeType===8?e.parentNode:e),new Ru(n)};we.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(y(188)):(e=Object.keys(e).join(","),Error(y(268,e)));return e=xs(n),e=e===null?null:e.stateNode,e};we.flushSync=function(e){return Tn(e)};we.hydrate=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!0,t)};we.hydrateRoot=function(e,n,t){if(!ju(e))throw Error(y(405));var r=t!=null&&t.hydratedSources||null,l=!1,o="",u=nc;if(t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),n=ec(n,null,e,1,t??null,l,!1,o,u),e[Ke]=n.current,$t(e),r)for(e=0;e<r.length;e++)t=r[e],l=t._getVersion,l=l(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new pl(n)};we.render=function(e,n,t){if(!ml(n))throw Error(y(200));return hl(null,e,n,!1,t)};we.unmountComponentAtNode=function(e){if(!ml(e))throw Error(y(40));return e._reactRootContainer?(Tn(function(){hl(null,null,e,!1,function(){e._reactRootContainer=null,e[Ke]=null})}),!0):!1};we.unstable_batchedUpdates=_u;we.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ml(t))throw Error(y(200));if(e==null||e._reactInternals===void 0)throw Error(y(38));return hl(e,n,t,!1,r)};we.version="18.2.0-next-9e3b772b8-20220608";function tc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(tc)}catch(e){console.error(e)}}tc(),es.exports=we;var Rd=es.exports,Bi=Rd;Ql.createRoot=Bi.createRoot,Ql.hydrateRoot=Bi.hydrateRoot;const Hi=["bg-purple-300","bg-green-300","bg-yellow-300","bg-red-300","bg-blue-300"];function jd({text:e,position:n,margin:t}){const r=e.split(`
|
41 |
+
`).map((l,o,u)=>z.jsxs(oe.Fragment,{children:[l,o!==u.length-1&&z.jsx("br",{})]},o));return z.jsx("span",{style:{marginLeft:t},className:`leading-5 ${r.length===1?"inline-block ":""}${Hi[n%Hi.length]}`,children:r})}function Od(){var k;const[e,n]=oe.useState([]),[t,r]=oe.useState([]),[l,o]=oe.useState([]),[u,i]=oe.useState("text"),[s,f]=oe.useState("Xenova/gpt-4"),h=oe.useRef(null),m=oe.useRef(null),p=oe.useRef(null);oe.useEffect(()=>{p.current||(p.current=new Worker(new URL("/assets/worker-6f9dbf77.js",self.location),{type:"module"}));const j=c=>{n(c.data.token_ids),r(c.data.decoded),o(c.data.margins)};return p.current.addEventListener("message",j),()=>p.current.removeEventListener("message",j)},[]);const g=oe.useCallback(j=>{const c=s,a=j.target.value;a.length>1e4&&(i(null),console.log("User most likely pasted in a large body of text (> 10k chars), so we hide the output (until specifically requested by the user).")),p.current.postMessage({model_id:c,text:a})},[s]),w=oe.useCallback(j=>{const c=j.target.value;f(c),p.current.postMessage({model_id:c,text:h.current.value})},[]);return z.jsxs("div",{className:"w-full max-w-[720px] flex flex-col gap-4 items-center",children:[z.jsxs("div",{children:[z.jsx("h1",{className:"text-5xl font-bold mb-2",children:"Thai Tokenizer Playground"}),z.jsxs("h2",{className:"text-lg font-normal",children:["Experiment with different tokenizers (running ",z.jsx("a",{className:"text-gray-900 underline",href:"https://github.com/xenova/transformers.js",children:"locally"})," in your browser)."]})]}),z.jsx("div",{children:z.jsxs("select",{value:s,onChange:w,className:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2",children:[z.jsx("option",{value:"Xenova/gpt-4",children:"gpt-4 / gpt-3.5-turbo / text-embedding-ada-002"}),z.jsx("option",{value:"Xenova/text-davinci-003",children:"text-davinci-003 / text-davinci-002"}),z.jsx("option",{value:"Xenova/gpt-3",children:"gpt-3"}),z.jsx("option",{value:"Xenova/claude-tokenizer",children:"Claude 3"}),z.jsx("option",{value:"Xenova/mistral-tokenizer",children:"Mistral"}),z.jsx("option",{value:"Xenova/gemma-tokenizer",children:"Gemma"}),z.jsx("option",{value:"Xenova/llama-tokenizer",children:"LLaMA / Llama 2"}),z.jsx("option",{value:"Xenova/t5-small",children:"T5"}),z.jsx("option",{value:"Xenova/bert-base-cased",children:"bert-base-cased"})]})}),z.jsx("textarea",{ref:h,onChange:g,rows:"8",className:"font-mono text-lg block w-full p-2.5 text-gray-900 bg-gray-50 rounded-lg border border-gray-200",placeholder:"Enter some text"}),z.jsxs("div",{className:"flex justify-center gap-5",children:[z.jsxs("div",{className:"flex flex-col",children:[z.jsx("h2",{className:"font-semibold uppercase leading-4",children:"Tokens"}),z.jsx("h3",{className:"font-semibold text-3xl",children:e.length.toLocaleString()})]}),z.jsxs("div",{className:"flex flex-col",children:[z.jsx("h2",{className:"font-semibold uppercase leading-4",children:"Characters"}),z.jsx("h3",{className:"font-semibold text-3xl",children:(((k=h.current)==null?void 0:k.value.length)??0).toLocaleString()})]})]}),z.jsx("div",{ref:m,className:"font-mono text-lg p-2.5 w-full bg-gray-100 rounded-lg border border-gray-200 whitespace-pre-wrap text-left h-[200px] overflow-y-auto",children:u==="text"?t.map((j,c)=>z.jsx(jd,{text:j,position:c,margin:l[c]},c)):u==="token_ids"?`[${e.join(", ")}]`:null}),z.jsxs("div",{className:"flex items-center gap-2 self-end",children:[z.jsxs("div",{className:"flex items-center",children:[z.jsx("input",{checked:u==="text",onChange:()=>i("text"),id:"output-radio-1",type:"radio",value:"",name:"output-radio",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500"}),z.jsx("label",{htmlFor:"output-radio-1",className:"ml-1 text-sm font-medium text-gray-900 dark:text-gray-300",children:"Text"})]}),z.jsxs("div",{className:"flex items-center",children:[z.jsx("input",{checked:u==="token_ids",onChange:()=>i("token_ids"),id:"output-radio-2",type:"radio",value:"",name:"output-radio",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500"}),z.jsx("label",{htmlFor:"output-radio-2",className:"ml-1 text-sm font-medium text-gray-900 dark:text-gray-300",children:"Token IDs"})]}),z.jsxs("div",{className:"flex items-center",children:[z.jsx("input",{checked:u===null,onChange:()=>i(null),id:"output-radio-3",type:"radio",value:"",name:"output-radio",className:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 focus:ring-blue-500"}),z.jsx("label",{htmlFor:"output-radio-3",className:"ml-1 text-sm font-medium text-gray-900 dark:text-gray-300",children:"Hide"})]})]})]})}Ql.createRoot(document.getElementById("root")).render(z.jsx(kc.StrictMode,{children:z.jsx(Od,{})}));
|