to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of .%s
This will cause a hydration error.%s`,o,t,n,i)):console.error(`In HTML, %s cannot be a descendant of .
This will cause a hydration error.%s`,o,t,i),!1}function Bu(e,t){if(js("#text",t))return!0;var n="#text|"+t;if(hc[n])return!1;hc[n]=!0;var i=(n=Il)?am(n,t):null;return n=n!==null&&i!==null?Hs(i,n,n.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of .
This will cause a hydration error.%s`,t,n):console.error(`In HTML, whitespace text nodes cannot be a child of . Make sure you don't have any extra whitespace between tags on each line of your source code.
This will cause a hydration error.%s`,t,n),!1}function Xr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}function C0(e){return e.replace(Np,function(t,n){return n.toUpperCase()})}function um(e,t,n){var i=t.indexOf("--")===0;i||(-1 tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1 tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function cm(e,t,n,i){if(Sl.call(c,t)&&c[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),c[t]=!0;if(typeof n=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),c[t]=!0;if(f.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),c[t]=!0}else if(f.test(t))return s.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),c[t]=!0;if(m.test(t)||v.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),c[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),c[t]=!0;if(o==="is"&&n!==null&&n!==void 0&&typeof n!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),c[t]=!0;if(typeof n=="number"&&isNaN(n))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),c[t]=!0;if(is.hasOwnProperty(o)){if(o=is[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),c[t]=!0}else if(t!==o)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),c[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof n){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(n?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),c[t]=!0)}case"function":case"symbol":return c[t]=!0,!1;case"string":if(n==="false"||n==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),c[t]=!0}}return!0}function Oo(e,t,n){var i=[],o;for(o in t)cm(e,o,t[o],n)||i.push(o);t=i.map(function(r){return"`"+r+"`"}).join(", "),i.length===1?console.error("Invalid value for prop %s on tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1 tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function Fa(e){return R.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Gs(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Ls(e){var t=Ja(e);if(t&&(e=t.stateNode)){var n=e[Rn]||null;e:switch(e=t.stateNode,t.type){case"input":if(rt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(Ie(t,"name"),n=n.querySelectorAll('input[name="'+be(""+t)+'"][type="radio"]'),t=0;t=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=N0(n)}}function j0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?j0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=je(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=je(e.document)}return t}function mm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Hg(e,t){var n=hm(t);t=e.focusedElem;var i=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&j0(t.ownerDocument.documentElement,t)){if(i!==null&&mm(t)){if(e=i.start,n=i.end,n===void 0&&(n=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(n,t.value.length);else if(n=(e=t.ownerDocument||document)&&e.defaultView||window,n.getSelection){n=n.getSelection();var o=t.textContent.length,r=Math.min(i.start,o);i=i.end===void 0?r:Math.min(i.end,o),!n.extend&&r>i&&(o=i,i=r,r=o),o=H0(t,r);var d=H0(t,i);o&&d&&(n.rangeCount!==1||n.anchorNode!==o.node||n.anchorOffset!==o.offset||n.focusNode!==d.node||n.focusOffset!==d.offset)&&(e=e.createRange(),e.setStart(o.node,o.offset),n.removeAllRanges(),r>i?(n.addRange(e),n.extend(d.node,d.offset)):(e.setEnd(d.node,d.offset),n.addRange(e)))}}for(e=[],n=t;n=n.parentNode;)n.nodeType===1&&e.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;tf3)throw Ts=f0=0,s0=wv=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Ts>s3&&(Ts=0,s0=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&ml(e);for(var t=e,n=t.return;n!==null;)t.alternate===null&&(t.flags&4098)!==0&&ml(e),t=n,n=t.return;return t.tag===3?t.stateNode:null}function Ac(e){if(Eu===null)return e;var t=Eu(e);return t===void 0?e:t.current}function ym(e){if(Eu===null)return e;var t=Eu(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Ac(e.render),e.render!==t)?(t={$$typeof:pr,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Y0(e,t){if(Eu===null)return!1;var n=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===Yl)&&(i=!0);break;case 11:(o===pr||o===Yl)&&(i=!0);break;case 14:case 15:(o===io||o===Yl)&&(i=!0);break;default:return!1}return!!(i&&(e=Eu(n),e!==void 0&&e===Eu(t)))}function G0(e){Eu!==null&&typeof WeakSet=="function"&&(Ah===null&&(Ah=new WeakSet),Ah.add(e))}function pm(e,t,n){var i=e.alternate,o=e.child,r=e.sibling,d=e.tag,h=e.type,g=null;switch(d){case 0:case 15:case 1:g=h;break;case 11:g=h.render}if(Eu===null)throw Error("Expected resolveFamily to be set during hot reload.");var S=!1;h=!1,g!==null&&(g=Eu(g),g!==void 0&&(n.has(g)?h=!0:t.has(g)&&(d===1?h=!0:S=!0))),Ah!==null&&(Ah.has(e)||i!==null&&Ah.has(i))&&(h=!0),h&&(e._debugNeedsRemount=!0),(h||S)&&(i=cn(e,2),i!==null&&qt(i,e,2)),o===null||h||pm(o,t,n),r!==null&&pm(r,t,n)}function Lu(){var e=os;return os=0,e}function Uo(e){var t=os;return os=e,t}function Zu(e){var t=os;return os+=e,t}function gm(e){ba=zh(),0>e.actualStartTime&&(e.actualStartTime=ba)}function Js(e){if(0<=ba){var t=zh()-ba;e.actualDuration+=t,e.selfBaseDuration=t,ba=-1}}function vm(e){if(0<=ba){var t=zh()-ba;e.actualDuration+=t,ba=-1}}function Oa(){if(0<=ba){var e=zh()-ba;ba=-1,os+=e}}function Da(){ba=zh()}function Fr(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Nl(e,t){if(typeof e=="object"&&e!==null){var n=uv.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Wt(t)},uv.set(e,t),t)}return{value:e,source:t,stack:Wt(t)}}function zc(e,t){Yi(),Oh[Dh++]=qp,Oh[Dh++]=Zp,Zp=e,qp=t}function L0(e,t,n){Yi(),Ru[Mu++]=fo,Ru[Mu++]=so,Ru[Mu++]=fs,fs=e;var i=fo;e=so;var o=32-En(i)-1;i&=~(1<>=d,o-=d,fo=1<<32-En(t)+o|n<t&&(Au.distanceFromLeaf=t)}return Au}var n=Ca(e.return,t+1).children;return 0t&&(n.distanceFromLeaf=t),n):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},n.push(t),t)}function Oc(e,t){ho||(e=Ca(e,0),e.serverProps=null,t!==null&&(t=Hf(t),e.serverTail.push(t)))}function Dc(e){var t="",n=Au;throw n!==null&&(Au=null,t=Hn(n)),xc(Nl(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
https://react.dev/link/hydration-mismatch`+t),e)),iv}function Pr(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[hn]=e,t[Rn]=i,kd(n,i),n){case"dialog":We("cancel",t),We("close",t);break;case"iframe":case"object":case"embed":We("load",t);break;case"video":case"audio":for(n=0;n from render. Or maybe you meant to call this function rather than return it.
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of from render. Or maybe you meant to call this function rather than return it.
{%s}%s>`,t,t,n,t,n))}function lf(e,t){var n=ue(e)||"Component";v1[n]||(v1[n]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
%s%s>`,n,t,n))}function $s(e){function t(O,z){if(e){var U=O.deletions;U===null?(O.deletions=[z],O.flags|=16):U.push(z)}}function n(O,z){if(!e)return null;for(;z!==null;)t(O,z),z=z.sibling;return null}function i(O){for(var z=new Map;O!==null;)O.key!==null?z.set(O.key,O):z.set(O.index,O),O=O.sibling;return z}function o(O,z){return O=su(O,z),O.index=0,O.sibling=null,O}function r(O,z,U){return O.index=U,e?(U=O.alternate,U!==null?(U=U.index,Ult?(al=Fe,Fe=null):al=Fe.sibling;var xl=G(O,Fe,U[lt],J);if(xl===null){Fe===null&&(Fe=al);break}pe=Ue(O,xl,U[lt],pe),e&&Fe&&xl.alternate===null&&t(O,Fe),z=r(xl,z,lt),Oe===null?$e=xl:Oe.sibling=xl,Oe=xl,Fe=al}if(lt===U.length)return n(O,Fe),Mt&&zc(O,lt),$e;if(Fe===null){for(;ltFe?(lt=Oe,Oe=null):lt=Oe.sibling;var Eo=G(O,Oe,xl.value,J);if(Eo===null){Oe===null&&(Oe=lt);break}al=Ue(O,Eo,xl.value,al),e&&Oe&&Eo.alternate===null&&t(O,Oe),z=r(Eo,z,Fe),$e===null?pe=Eo:$e.sibling=Eo,$e=Eo,Oe=lt}if(xl.done)return n(O,Oe),Mt&&zc(O,Fe),pe;if(Oe===null){for(;!xl.done;Fe++,xl=U.next())Oe=$(O,xl.value,J),Oe!==null&&(al=Ue(O,Oe,xl.value,al),z=r(Oe,z,Fe),$e===null?pe=Oe:$e.sibling=Oe,$e=Oe);return Mt&&zc(O,Fe),pe}for(Oe=i(Oe);!xl.done;Fe++,xl=U.next())lt=ee(Oe,O,Fe,xl.value,J),lt!==null&&(al=Ue(O,lt,xl.value,al),e&<.alternate!==null&&Oe.delete(lt.key===null?Fe:lt.key),z=r(lt,z,Fe),$e===null?pe=lt:$e.sibling=lt,$e=lt);return e&&Oe.forEach(function(R3){return t(O,R3)}),Mt&&zc(O,Fe),pe}function jt(O,z,U,J){if(typeof U=="object"&&U!==null&&U.type===mr&&U.key===null&&(on(U,null,O),U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case oc:var pe=kl(U._debugInfo);e:{for(var $e=U.key;z!==null;){if(z.key===$e){if($e=U.type,$e===mr){if(z.tag===7){n(O,z.sibling),J=o(z,U.props.children),J.return=O,J._debugOwner=U._owner,J._debugInfo=ut,on(U,J,O),O=J;break e}}else if(z.elementType===$e||Y0(z,U)||typeof $e=="object"&&$e!==null&&$e.$$typeof===Yl&&Or($e)===z.type){n(O,z.sibling),J=o(z,U.props),No(J,U),J.return=O,J._debugOwner=U._owner,J._debugInfo=ut,O=J;break e}n(O,z);break}else t(O,z);z=z.sibling}U.type===mr?(J=ni(U.props.children,O.mode,J,U.key),J.return=O,J._debugOwner=O,J._debugInfo=ut,on(U,J,O),O=J):(J=Po(U,O.mode,J),No(J,U),J.return=O,J._debugInfo=ut,O=J)}return O=d(O),ut=pe,O;case vu:e:{for(pe=U,U=pe.key;z!==null;){if(z.key===U)if(z.tag===4&&z.stateNode.containerInfo===pe.containerInfo&&z.stateNode.implementation===pe.implementation){n(O,z.sibling),J=o(z,pe.children||[]),J.return=O,O=J;break e}else{n(O,z);break}else t(O,z);z=z.sibling}J=_d(pe,O.mode,J),J.return=O,O=J}return d(O);case Yl:return pe=kl(U._debugInfo),U=Or(U),O=jt(O,z,U,J),ut=pe,O}if(Ll(U))return pe=kl(U._debugInfo),O=tt(O,z,U,J),ut=pe,O;if(qe(U)){if(pe=kl(U._debugInfo),$e=qe(U),typeof $e!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Oe=$e.call(U);return Oe===U?(O.tag!==0||Object.prototype.toString.call(O.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Oe)!=="[object Generator]")&&(y1||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),y1=!0):U.entries!==$e||fv||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),fv=!0),O=Cl(O,z,Oe,J),ut=pe,O}if(typeof U.then=="function")return pe=kl(U._debugInfo),O=jt(O,z,Gi(U),J),ut=pe,O;if(U.$$typeof===ha)return jt(O,z,bf(O,U),J);ef(O,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(pe=""+U,z!==null&&z.tag===6?(n(O,z.sibling),J=o(z,pe),J.return=O,O=J):(n(O,z),J=zf(pe,O.mode,J),J.return=O,J._debugOwner=O,J._debugInfo=ut,O=J),d(O)):(typeof U=="function"&&tf(O,U),typeof U=="symbol"&&lf(O,U),n(O,z))}return function(O,z,U,J){var pe=ut;ut=null;try{$y=0;var $e=jt(O,z,U,J);return Ch=null,$e}catch(al){if(al===Vp)throw al;var Oe=B(29,al,null,O.mode);Oe.lanes=J,Oe.return=O;var Fe=Oe._debugInfo=ut;if(Oe._debugOwner=O._debugOwner,Fe!=null){for(var lt=Fe.length-1;0<=lt;lt--)if(typeof Fe[lt].stack=="string"){Oe._debugOwner=Fe[lt];break}}return Oe}finally{ut=pe}}}function Q0(e,t){var n=vc;oe(Xp,n,e),oe(xh,t,e),vc=n|t.baseLanes}function Mm(e){oe(Xp,vc,e),oe(xh,xh.current,e)}function Li(e){vc=Xp.current,fe(xh,e),fe(Xp,e)}function Pa(e){var t=e.alternate;oe(Pl,Pl.current&Uh,e),oe(zu,e,e),pc===null&&(t===null||xh.current!==null||t.memoizedState!==null)&&(pc=e)}function Ho(e){if(e.tag===22){if(oe(Pl,Pl.current,e),oe(zu,e,e),pc===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(pc=e)}}else eu(e)}function eu(e){oe(Pl,Pl.current,e),oe(zu,zu.current,e)}function tu(e){fe(zu,e),pc===e&&(pc=null),fe(Pl,e)}function lu(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===Ms||n.data===As))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Zi(){return{controller:new l3,data:new Map,refCount:0}}function qu(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function jo(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&n3(a3,function(){e.controller.abort()})}function Uc(e,t){if(Fy===null){var n=Fy=[];sv=0,ds=Ba(),wh={status:"pending",value:void 0,then:function(i){n.push(i)}}}return sv++,t.then(Am,Am),t}function Am(){if(--sv===0&&Fy!==null){wh!==null&&(wh.status="fulfilled");var e=Fy;Fy=null,ds=0,wh=null;for(var t=0;to.length;)o+=" ";o+=r+`
`,n+=o}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
Previous render Next render
------------------------------------------------------
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,t,n)}}}function wc(e){e==null||Ll(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",V,typeof e)}function nf(){var e=ue(ke);R1.has(e)||(R1.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function Ct(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function _n(e,t){if(e0)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",V),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous: %s
Incoming: %s`,V,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n=i3)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,e0=!1,Zl=Qt=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}yo=-1,q.H=ps,r=ov(t,n,i)}while(Hh);return r}function ed(){var e=q.H,t=e.useState()[0];return t=typeof t.then=="function"?Bo(t):t,e=e.useState()[0],(Qt!==null?Qt.memoizedState:null)!==e&&(ke.flags|=1024),t}function af(){var e=Jp!==0;return Jp=0,e}function nu(e,t,n){t.updateQueue=e.updateQueue,t.flags=(t.mode&Mi)!==el?t.flags&-201328645:t.flags&-2053,e.lanes&=~n}function td(e){if(kp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}kp=!1}Dr=0,Cu=Zl=Qt=ke=null,yo=-1,V=null,Hh=!1,Py=Jp=0,mo=null}function Jl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Zl===null?ke.memoizedState=Zl=e:Zl=Zl.next=e,Zl}function bt(){if(Qt===null){var e=ke.alternate;e=e!==null?e.memoizedState:null}else e=Qt.next;var t=Zl===null?ke.memoizedState:Zl.next;if(t!==null)Zl=t,Qt=e;else{if(e===null)throw ke.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Qt=e,e={memoizedState:Qt.memoizedState,baseState:Qt.baseState,baseQueue:Qt.baseQueue,queue:Qt.queue,next:null},Zl===null?ke.memoizedState=Zl=e:Zl=Zl.next=e}return Zl}function Bo(e){var t=Py;return Py+=1,mo===null&&(mo=Em()),e=Z0(mo,e,t),t=ke,(Zl===null?t.memoizedState:Zl.next)===null&&(t=t.alternate,q.H=t!==null&&t.memoizedState!==null?xr:Cr),e}function zl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Bo(e);if(e.$$typeof===ha)return Lt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function ca(e){var t=null,n=ke.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=ke.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=hv(),ke.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0||e0)for(n=t.data[t.index]=Array(e),i=0;i component.":"An error occurred in one of your React components.";var n=q.getCurrentStack,i=t.componentStack!=null?t.componentStack:"";q.getCurrentStack=function(){return i};try{console.warn(`%s
%s
`,e,`Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}finally{q.getCurrentStack=n}}function Wu(e,t){var n=jh?"The above error occurred in the component.":"The above error occurred in one of your React components.",i="React will try to recreate this component tree from scratch using the error boundary you provided, "+((yv||"Anonymous")+"."),o=q.getCurrentStack,r=t.componentStack!=null?t.componentStack:"";q.getCurrentStack=function(){return r};try{typeof e=="object"&&e!==null&&typeof e.environmentName=="string"?lh("error",[`%o
%s
%s
`,e,n,i],e.environmentName)():console.error(`%o
%s
%s
`,e,n,i)}finally{q.getCurrentStack=o}}function Pe(e){Kp(e)}function xt(e,t){try{jh=t.source?ue(t.source):null,yv=null;var n=t.value;if(q.actQueue!==null)q.thrownErrors.push(n);else{var i=e.onUncaughtError;i(n,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function dl(e,t,n){try{jh=n.source?ue(n.source):null,yv=ue(t);var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Qo(e,t,n){return n=Fu(n),n.tag=Sv,n.payload={element:null},n.callback=function(){de(t.source,xt,e,t)},n}function Ji(e){return e=Fu(e),e.tag=Sv,e}function $u(e,t,n,i){var o=n.type.getDerivedStateFromError;if(typeof o=="function"){var r=i.value;e.payload=function(){return o(r)},e.callback=function(){G0(n),de(i.source,dl,t,n,i)}}var d=n.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){G0(n),de(i.source,dl,t,n,i),typeof o!="function"&&(jr===null?jr=new Set([this]):jr.add(this)),PE(this,i),typeof o=="function"||(n.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ue(n)||"Unknown")})}function md(e,t,n,i,o){if(n.flags|=32768,ya&&$l(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&Jo(t,n,o,!0),Mt&&(ho=!0),n=zu.current,n!==null){switch(n.tag){case 13:return pc===null?Cf():n.alternate===null&&El===vo&&(El=Mv),n.flags&=-257,n.flags|=65536,n.lanes=o,i===cv?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),It(e,i,o)),!1;case 22:return n.flags|=65536,i===cv?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),It(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}return It(e,i,o),Cf(),!1}if(Mt)return ho=!0,t=zu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==iv&&xc(Nl(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),n))):(i!==iv&&xc(Nl(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),n)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=Nl(i,n),o=Qo(e.stateNode,i,o),Pu(e,o),El!==gs&&(El=Zh)),!1;var r=Nl(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),n);if(c0===null?c0=[r]:c0.push(r),El!==gs&&(El=Zh),t===null)return!0;i=Nl(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,e=Qo(n.stateNode,i,e),Pu(n,e),!1;case 1:if(t=n.type,r=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(jr===null||!jr.has(r))))return n.flags|=65536,o&=-o,n.lanes|=o,o=Ji(o),$u(o,e,n,i),Pu(n,o),!1}n=n.return}while(n!==null);return!1}function hl(e,t,n,i){t.child=e===null?b1(t,null,n,i):ss(t,e.child,n,i)}function Zc(e,t,n,i,o){n=n.render;var r=t.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return Ki(t),kn(t),i=qi(e,t,n,d,r,o),h=af(),D(),e!==null&&!mn?(nu(e,t,o),ru(e,t,o)):(Mt&&h&&bm(t),t.flags|=1,hl(e,t,i,o),t.child)}function W0(e,t,n,i,o){if(e===null){var r=n.type;return typeof r=="function"&&!Mf(r)&&r.defaultProps===void 0&&n.compare===null?(n=Ac(r),t.tag=15,t.type=n,df(t,r),ul(e,t,n,i,o)):(e=Af(n.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!Td(e,o)){var d=r.memoizedProps;if(n=n.compare,n=n!==null?n:Ir,n(d,i)&&e.ref===t.ref)return ru(e,t,o)}return t.flags|=1,e=su(r,i),e.ref=t.ref,e.return=t,t.child=e}function ul(e,t,n,i,o){if(e!==null){var r=e.memoizedProps;if(Ir(r,i)&&e.ref===t.ref&&t.type===e.type)if(mn=!1,t.pendingProps=i=r,Td(e,o))(e.flags&131072)!==0&&(mn=!0);else return t.lanes=e.lanes,ru(e,t,o)}return gd(e,t,n,i,o)}function yd(e,t,n){var i=t.pendingProps,o=i.children,r=(t.stateNode._pendingVisibility&qy)!==0,d=e!==null?e.memoizedState:null;if(Xo(e,t),i.mode==="hidden"||r){if((t.flags&128)!==0){if(i=d!==null?d.baseLanes|n:n,e!==null){for(o=t.child=e.child,r=0;o!==null;)r=r|o.lanes|o.childLanes,o=o.sibling;t.childLanes=r&~i}else t.childLanes=0,t.child=null;return pd(e,t,i,n)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Fs(t,d!==null?d.cachePool:null),d!==null?Q0(t,d):Mm(t),Ho(t);else return t.lanes=t.childLanes=536870912,pd(e,t,d!==null?d.baseLanes|n:n,n)}else d!==null?(Fs(t,d.cachePool),Q0(t,d),eu(t),t.memoizedState=null):(e!==null&&Fs(t,null),Mm(t),eu(t));return hl(e,t,o,n),t.child}function pd(e,t,n,i){var o=Is();return o=o===null?null:{parent:tn._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},e!==null&&Fs(t,null),Mm(t),Ho(t),e!==null&&Jo(e,t,i,!0),null}function Xo(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=2097664);else{if(typeof n!="function"&&typeof n!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==n)&&(t.flags|=2097664)}}function gd(e,t,n,i,o){if(n.prototype&&typeof n.prototype.render=="function"){var r=xe(n)||"Unknown";_1[r]||(console.error("The component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",r,r),_1[r]=!0)}return t.mode&Xn&&Ai.recordLegacyContextWarning(t,null),e===null&&(df(t,t.type),n.contextTypes&&(r=xe(n)||"Unknown",Y1[r]||(Y1[r]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",r)))),Ki(t),kn(t),n=qi(e,t,n,i,void 0,o),i=af(),D(),e!==null&&!mn?(nu(e,t,o),ru(e,t,o)):(Mt&&i&&bm(t),t.flags|=1,hl(e,t,n,o),t.child)}function $0(e,t,n,i,o,r){return Ki(t),kn(t),yo=-1,e0=e!==null&&e.type!==t.type,t.updateQueue=null,n=_o(t,i,n,o),Ps(e,t),i=af(),D(),e!==null&&!mn?(nu(e,t,r),ru(e,t,r)):(Mt&&i&&bm(t),t.flags|=1,hl(e,t,n,r),t.child)}function vd(e,t,n,i,o){switch(ae(t)){case!1:var r=t.stateNode,d=new t.type(t.memoizedProps,r.context).state;r.updater.enqueueSetState(r,d,null);break;case!0:t.flags|=128,t.flags|=65536,r=Error("Simulated error coming from DevTools");var h=o&-o;if(t.lanes|=h,d=Jt,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=Ji(h),$u(h,d,t,Nl(r,t)),Pu(t,h)}if(Ki(t),t.stateNode===null){if(d=zr,r=n.contextType,"contextType"in n&&r!==null&&(r===void 0||r.$$typeof!==ha)&&!N1.has(n)&&(N1.add(n),h=r===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof r!="object"?" However, it is set to a "+typeof r+".":r.$$typeof===yr?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(r).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",xe(n)||"Component",h)),typeof r=="object"&&r!==null&&(d=Lt(r)),r=new n(i,d),t.mode&Xn){dt(!0);try{r=new n(i,d)}finally{dt(!1)}}if(d=t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=mv,t.stateNode=r,r._reactInternals=t,r._reactInternalInstance=M1,typeof n.getDerivedStateFromProps=="function"&&d===null&&(d=xe(n)||"Component",z1.has(d)||(z1.add(d),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",d,r.state===null?"null":"undefined",d))),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"){var g=h=d=null;if(typeof r.componentWillMount=="function"&&r.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof r.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof r.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof r.componentWillUpdate=="function"&&r.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof r.UNSAFE_componentWillUpdate=="function"&&(g="UNSAFE_componentWillUpdate"),d!==null||h!==null||g!==null){r=xe(n)||"Component";var S=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";D1.has(r)||(D1.add(r),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
%s uses %s but also contains the following legacy lifecycles:%s%s%s
The above lifecycles should be removed. Learn more about this warning here:
https://react.dev/link/unsafe-component-lifecycles`,r,S,d!==null?`
`+d:"",h!==null?`
`+h:"",g!==null?`
`+g:""))}}r=t.stateNode,d=xe(n)||"Component",r.render||(n.prototype&&typeof n.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",d),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",d),r.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),n.childContextTypes&&!w1.has(n)&&(w1.add(n),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),n.contextTypes&&!U1.has(n)&&(U1.add(n),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",d)),typeof r.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",d),n.prototype&&n.prototype.isPureReactComponent&&typeof r.shouldComponentUpdate. Wrap it in an additional SuspenseList to configure its revealOrder: ... {%s} ... ",n,t,n),!1):!0}function pf(e,t,n,i,o){var r=e.memoizedState;r===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:o}:(r.isBackwards=t,r.rendering=null,r.renderingStartTime=0,r.last=i,r.tail=n,r.tailMode=o)}function Sd(e,t,n){var i=t.pendingProps,o=i.revealOrder,r=i.tail;if(i=i.children,o!==void 0&&o!=="forwards"&&o!=="backwards"&&o!=="together"&&!L1[o])if(L1[o]=!0,typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on . Use lowercase "%s" instead.',o,o.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on . React uses the -s suffix in the spelling. Use "%ss" instead.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on . Did you mean "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on . Did you mean "together", "forwards" or "backwards"?',o);r===void 0||pv[r]||(r!=="collapsed"&&r!=="hidden"?(pv[r]=!0,console.error('"%s" is not a supported value for tail on . Did you mean "collapsed" or "hidden"?',r)):o!=="forwards"&&o!=="backwards"&&(pv[r]=!0,console.error(' is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',r)));e:if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(Ll(i)){for(var d=0;d. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',o);if(hl(e,t,i,n),i=Pl.current,(i&Iy)!==0)i=i&Uh|Iy,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ou(e,n,t);else if(e.tag===19)ou(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}i&=Uh}switch(oe(Pl,i,t),o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&lu(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),pf(t,!1,o,n,r);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&lu(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}pf(t,!0,n,null,r);break;case"together":pf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ru(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ba=-1,Nr|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Jo(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,n=su(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=su(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Td(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&vf(e)))}function I0(e,t,n){switch(t.tag){case 3:Ne(t,t.stateNode.containerInfo),Iu(t,tn,e.memoizedState.cache),Cc();break;case 27:case 5:ct(t);break;case 4:Ne(t,t.stateNode.containerInfo);break;case 10:Iu(t,t.type,t.memoizedProps.value);break;case 12:(n&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(Pa(t),t.flags|=128,null):(n&t.child.childLanes)!==0?hf(e,t,n):(Pa(t),e=ru(e,t,n),e!==null?e.sibling:null);Pa(t);break;case 19:var o=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(Jo(e,t,n,!1),i=(n&t.childLanes)!==0),o){if(i)return Sd(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),oe(Pl,Pl.current,t),i)break;return null;case 22:case 23:return t.lanes=0,yd(e,t,n);case 24:Iu(t,tn,e.memoizedState.cache)}return ru(e,t,n)}function Ed(e,t,n){if(t._debugNeedsRemount&&e!==null){n=Af(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes);var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,n._debugInfo=t._debugInfo,t===i.child)i.child=n;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=n}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),n.flags|=2,n}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)mn=!0;else{if(!Td(e,n)&&(t.flags&128)===0)return mn=!1,I0(e,t,n);mn=(e.flags&131072)!==0}else mn=!1,(i=Mt)&&(Yi(),i=(t.flags&1048576)!==0),i&&(i=t.index,Yi(),L0(t,qp,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=Or(t.elementType),t.type=e,typeof e=="function")Mf(e)?(i=cu(e,i),t.tag=1,t.type=e=Ac(e),t=vd(null,t,e,i,n)):(t.tag=0,df(t,e),t.type=e=Ac(e),t=gd(null,t,e,i,n));else{if(e!=null){if(o=e.$$typeof,o===pr){t.tag=11,t.type=e=ym(e),t=Zc(null,t,e,i,n);break e}else if(o===io){t.tag=14,t=W0(null,t,e,i,n);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Yl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=xe(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return gd(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,o=cu(i,t.pendingProps),vd(e,t,i,o,n);case 3:e:{if(Ne(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps;o=t.memoizedState,i=o.element,Ad(e,t),$i(t,r,null,n);var d=t.memoizedState;if(r=d.cache,Iu(t,tn,r),r!==o.cache&&jm(t,[tn],n,!0),Wo(),r=d.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=bd(e,t,r,n);break e}else if(r!==i){i=Nl(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),xc(i),t=bd(e,t,r,n);break e}else for(An=qn(t.stateNode.containerInfo.firstChild),na=t,Mt=!0,zi=null,ho=!1,Au=null,yc=!0,e=b1(t,null,r,n),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(Cc(),r===i){t=ru(e,t,n);break e}hl(e,t,r,n)}t=t.child}return t;case 26:return Xo(e,t),e===null?(e=Vn(t.type,null,t.pendingProps,null))?t.memoizedState=e:Mt||(e=t.type,n=t.pendingProps,i=re(vi.current),i=Wd(i).createElement(e),i[hn]=t,i[Rn]=n,Bl(i,e,n),tl(i),t.stateNode=i):t.memoizedState=Vn(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ct(t),e===null&&Mt&&(o=re(vi.current),i=gt(),o=t.stateNode=$d(t.type,t.pendingProps,o,i,!1),ho||(i=ry(o,t.type,t.pendingProps,i),i!==null&&(Ca(t,0).serverProps=i)),na=t,yc=!0,An=qn(o.firstChild)),i=t.pendingProps.children,e!==null||Mt?hl(e,t,i,n):t.child=ss(t,null,i,n),Xo(e,t),t.child;case 5:return e===null&&Mt&&(r=gt(),i=_s(t.type,r.ancestorInfo),o=An,(d=!o)||(d=gu(o,t.type,t.pendingProps,yc),d!==null?(t.stateNode=d,ho||(r=ry(d,t.type,t.pendingProps,r),r!==null&&(Ca(t,0).serverProps=r)),na=t,An=qn(d.firstChild),yc=!1,r=!0):r=!1,d=!r),d&&(i&&Oc(t,o),Dc(t))),ct(t),o=t.type,r=t.pendingProps,d=e!==null?e.memoizedProps:null,i=r.children,at(o,r)?i=null:d!==null&&at(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=qi(e,t,ed,null,null,n),y0._currentValue=o),Xo(e,t),hl(e,t,i,n),t.child;case 6:return e===null&&Mt&&(e=t.pendingProps,n=gt().ancestorInfo.current,e=n!=null?Bu(e,n.tag):!0,n=An,(i=!n)||(i=dy(n,t.pendingProps,yc),i!==null?(t.stateNode=i,na=t,An=null,i=!0):i=!1,i=!i),i&&(e&&Oc(t,n),Dc(t))),null;case 13:return hf(e,t,n);case 4:return Ne(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=ss(t,null,i,n):hl(e,t,i,n),t.child;case 11:return Zc(e,t,t.type,t.pendingProps,n);case 7:return hl(e,t,t.pendingProps,n),t.child;case 8:return hl(e,t,t.pendingProps.children,n),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,hl(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.type,o=t.pendingProps,r=o.value,"value"in o||Z1||(Z1=!0,console.error("The `value` prop is required for the ``. Did you misspell it or forget to pass it?")),Iu(t,i,r),hl(e,t,o.children,n),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Ki(t),o=Lt(o),kn(t),i=ov(i,o,void 0),D(),t.flags|=1,hl(e,t,i,n),t.child;case 14:return W0(e,t,t.type,t.pendingProps,n);case 15:return ul(e,t,t.type,t.pendingProps,n);case 19:return Sd(e,t,n);case 22:return yd(e,t,n);case 24:return Ki(t),i=Lt(tn),e===null?(o=Is(),o===null&&(o=Jt,r=Zi(),o.pooledCache=r,qu(r),r!==null&&(o.pooledCacheLanes|=n),o=r),t.memoizedState={parent:i,cache:o},Md(t),Iu(t,tn,o)):((e.lanes&n)!==0&&(Ad(e,t),$i(t,null,null,n),Wo()),o=e.memoizedState,r=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Iu(t,tn,i)):(i=r.cache,Iu(t,tn,i),i!==o.cache&&jm(t,[tn],n,!0))),hl(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function gf(){Bh=Wp=null,Yh=!1}function Iu(e,t,n){oe(vv,t._currentValue,e),t._currentValue=n,oe(bv,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==q1&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=q1}function wa(e,t){e._currentValue=vv.current;var n=bv.current;fe(bv,t),e._currentRenderer=n,fe(vv,t)}function Rd(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}e!==n&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function jm(e,t,n,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var r=o.dependencies;if(r!==null){var d=o.child;r=r.firstContext;e:for(;r!==null;){var h=r;r=o;for(var g=0;g ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+r+`(() => {
async function fetchData() {
// You can await here
const response = await MyAPI.getData(someId);
// ...
}
fetchData();
}, [someId]); // Or [] if effect doesn't need props or state
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,de(t,function(h,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,g)},r,d)}n=n.next}while(n!==o)}}catch(h){mt(t,t.return,h)}}function Ii(e,t,n){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var r=o.next;i=r;do{if((i.tag&e)===e){var d=i.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(e&en)!==Ou?ge!==null&&typeof ge.markComponentPassiveEffectUnmountStarted=="function"&&ge.markComponentPassiveEffectUnmountStarted(t):(e&zn)!==Ou&&ge!==null&&typeof ge.markComponentLayoutEffectUnmountStarted=="function"&&ge.markComponentLayoutEffectUnmountStarted(t),(e&aa)!==Ou&&(Qh=!0),de(t,t3,t,n,h),(e&aa)!==Ou&&(Qh=!1),(e&en)!==Ou?ge!==null&&typeof ge.markComponentPassiveEffectUnmountStopped=="function"&&ge.markComponentPassiveEffectUnmountStopped():(e&zn)!==Ou&&ge!==null&&typeof ge.markComponentLayoutEffectUnmountStopped=="function"&&ge.markComponentLayoutEffectUnmountStopped())}i=i.next}while(i!==r)}}catch(g){mt(t,t.return,g)}}function Ym(e,t){Na(e)?(Da(),$o(t,e),Oa()):$o(t,e)}function Dd(e,t,n){Na(e)?(Da(),Ii(n,e,t),Oa()):Ii(n,e,t)}function Cd(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||_h||(n.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ue(e)||"instance"),n.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ue(e)||"instance"));try{de(e,zd,t,n)}catch(i){mt(e,e.return,i)}}}function P0(e,t,n){return e.getSnapshotBeforeUpdate(t,n)}function ep(e,t){var n=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||_h||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ue(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ue(e)||"instance"));try{var o=cu(e.type,n,e.elementType===e.type),r=de(e,P0,t,o,i);n=J1,r!==void 0||n.has(e.type)||(n.add(e.type),de(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ue(e))})),t.__reactInternalSnapshotBeforeUpdate=r}catch(d){mt(e,e.return,d)}}function tp(e,t,n){n.props=cu(e.type,e.memoizedProps),n.state=e.memoizedState,Na(e)?(Da(),de(e,s1,e,t,n),Oa()):de(e,s1,e,t,n)}function Gm(e){var t=e.ref;if(t!==null){var n=e.stateNode;if(typeof t=="function")if(Na(e))try{Da(),e.refCleanup=t(n)}finally{Oa()}else e.refCleanup=t(n);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ue(e)),t.current=n}}function Fi(e,t){try{de(e,Gm,e)}catch(n){mt(e,t,n)}}function Gn(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{if(Na(e))try{Da(),de(e,i)}finally{Oa(e)}else de(e,i)}catch(o){mt(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{if(Na(e))try{Da(),de(e,n,null)}finally{Oa(e)}else de(e,n,null)}catch(o){mt(e,t,o)}else n.current=null}function xd(e,t,n,i){var o=e.memoizedProps,r=o.id,d=o.onCommit;o=o.onRender,t=t===null?"mount":"update",Yp&&(t="nested-update"),typeof o=="function"&&o(r,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,n),typeof d=="function"&&d(e.memoizedProps.id,t,i,n)}function lp(e,t,n,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",Yp&&(t="nested-update"),typeof o=="function"&&o(e,t,i,n)}function Lm(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{de(e,ea,i,t,n,e)}catch(o){mt(e,e.return,o)}}function np(e,t,n){try{de(e,mi,e.stateNode,e.type,n,t,e)}catch(i){mt(e,e.return,i)}}function ap(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27||e.tag===4}function Ud(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ap(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==27&&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 Vc(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Nf));else if(i!==4&&i!==27&&(e=e.child,e!==null))for(Vc(e,t,n),e=e.sibling;e!==null;)Vc(e,t,n),e=e.sibling}function Io(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&i!==27&&(e=e.child,e!==null))for(Io(e,t,n),e=e.sibling;e!==null;)Io(e,t,n),e=e.sibling}function wd(e){if(e.tag!==27){e:{for(var t=e.return;t!==null;){if(ap(t)){var n=t;break e}t=t.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}switch(n.tag){case 27:t=n.stateNode,n=Ud(e),Io(e,n,t);break;case 5:t=n.stateNode,n.flags&32&&(Fc(t),n.flags&=-33),n=Ud(e),Io(e,n,t);break;case 3:case 4:t=n.stateNode.containerInfo,n=Ud(e),Vc(e,n,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}}function up(e,t){if(e=e.containerInfo,Zv=yg,e=hm(e),mm(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,r=i.focusNode;i=i.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var d=0,h=-1,g=-1,S=0,Y=0,$=e,G=null;t:for(;;){for(var ee;$!==n||o!==0&&$.nodeType!==3||(h=d+o),$!==r||i!==0&&$.nodeType!==3||(g=d+i),$.nodeType===3&&(d+=$.nodeValue.length),(ee=$.firstChild)!==null;)G=$,$=ee;for(;;){if($===e)break t;if(G===n&&++S===o&&(h=d),G===r&&++Y===i&&(g=d),(ee=$.nextSibling)!==null)break;$=G,G=$.parentNode}$=ee}n=h===-1||g===-1?null:{start:h,end:g}}else n=null}n=n||{start:0,end:0}}else n=null;for(qv={focusedElem:e,selectionRange:n},yg=!1,yn=t;yn!==null;)if(t=yn,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,yn=e;else for(;yn!==null;){switch(e=t=yn,n=e.alternate,o=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(o&1024)!==0&&n!==null&&ep(e,n);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,n=e.nodeType,n===9)eo(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":eo(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,yn=e;break}yn=t.return}return t=W1,W1=!1,t}function Zm(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:ja(e,n),i&4&&Bm(n,zn|Du);break;case 1:if(ja(e,n),i&4)if(e=n.stateNode,t===null)n.type.defaultProps||"ref"in n.memoizedProps||_h||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ue(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ue(n)||"instance")),Na(n)?(Da(),de(n,rv,n,e),Oa()):de(n,rv,n,e);else{var o=cu(n.type,t.memoizedProps);t=t.memoizedState,n.type.defaultProps||"ref"in n.memoizedProps||_h||(e.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ue(n)||"instance"),e.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ue(n)||"instance")),Na(n)?(Da(),de(n,o1,n,e,o,t,e.__reactInternalSnapshotBeforeUpdate),Oa()):de(n,o1,n,e,o,t,e.__reactInternalSnapshotBeforeUpdate)}i&64&&Cd(n),i&512&&Fi(n,n.return);break;case 3:if(t=Lu(),ja(e,n),i&64&&(i=n.updateQueue,i!==null)){if(o=null,n.child!==null)switch(n.child.tag){case 27:case 5:o=n.child.stateNode;break;case 1:o=n.child.stateNode}try{de(n,zd,i,o)}catch(h){mt(n,n.return,h)}}e.effectDuration+=Uo(t);break;case 26:ja(e,n),i&512&&Fi(n,n.return);break;case 27:case 5:ja(e,n),t===null&&i&4&&Lm(n),i&512&&Fi(n,n.return);break;case 12:if(i&4){i=Lu(),ja(e,n),e=n.stateNode,e.effectDuration+=Zu(i);try{de(n,xd,n,t,Bp,e.effectDuration)}catch(h){mt(n,n.return,h)}}else ja(e,n);break;case 13:ja(e,n),i&4&&Pi(e,n);break;case 22:if(o=n.memoizedState!==null||po,!o){t=t!==null&&t.memoizedState!==null||Tl;var r=po,d=Tl;po=o,(Tl=t)&&!d?fu(e,n,(n.subtreeFlags&8772)!==0):ja(e,n),po=r,Tl=d}i&512&&(n.memoizedProps.mode==="manual"?Fi(n,n.return):Gn(n,n.return));break;default:ja(e,n)}}function Ha(e){var t=e.alternate;t!==null&&(e.alternate=null,Ha(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ui(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function gn(e,t,n){for(n=n.child;n!==null;)ei(e,t,n),n=n.sibling}function ei(e,t,n){if(Fl&&typeof Fl.onCommitFiberUnmount=="function")try{Fl.onCommitFiberUnmount(br,n)}catch(r){Qn||(Qn=!0,console.error("React instrumentation encountered an error: %s",r))}switch(n.tag){case 26:Tl||Gn(n,t),gn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Tl||Gn(n,t);var i=ql,o=qa;for(ql=n.stateNode,gn(e,t,n),n=n.stateNode,e=n.attributes;e.length;)n.removeAttributeNode(e[0]);Ui(n),ql=i,qa=o;break;case 5:Tl||Gn(n,t);case 6:if(i=ql,o=qa,ql=null,gn(e,t,n),ql=i,qa=o,ql!==null)if(qa)try{de(n,ol,ql,n.stateNode)}catch(r){mt(n,t,r)}else try{de(n,yi,ql,n.stateNode)}catch(r){mt(n,t,r)}break;case 18:ql!==null&&(qa?(e=ql,n=n.stateNode,e.nodeType===8?pu(e.parentNode,n):e.nodeType===1&&pu(e,n),Vf(e)):pu(ql,n.stateNode));break;case 4:i=ql,o=qa,ql=n.stateNode.containerInfo,qa=!0,gn(e,t,n),ql=i,qa=o;break;case 0:case 11:case 14:case 15:Tl||Ii(aa,n,t),Tl||Od(n,t,zn),gn(e,t,n);break;case 1:Tl||(Gn(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&tp(n,t,i)),gn(e,t,n);break;case 21:gn(e,t,n);break;case 22:Tl||Gn(n,t),Tl=(i=Tl)||n.memoizedState!==null,gn(e,t,n),Tl=i;break;default:gn(e,t,n)}}function Pi(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{de(t,Bf,e)}catch(n){mt(t,t.return,n)}}function qm(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new K1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new K1),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Tf(e,t){var n=qm(e);t.forEach(function(i){var o=mp.bind(null,e,i);if(!n.has(i)){if(n.add(i),ya)if(Gh!==null&&Lh!==null)$l(Lh,Gh);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(o,o)}})}function ip(e,t,n){Gh=n,Lh=e,ec(t,e),Lh=Gh=null}function $n(e,t){var n=t.deletions;if(n!==null)for(var i=0;i title"))),Bl(o,i,n),o[hn]=e,tl(o),i=o;break e;case"link":var r=my("link","href",t).get(i+(n.href||""));if(r){for(var d=0;d",h=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,(d=i?it(i):null)&&(h+=`
Check the render method of \``+d+"`."),d=29,n=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(n+"."+h)),h=null}return t=B(d,n,t,o),t.elementType=e,t.type=h,t.lanes=r,t._debugOwner=i,t}function Po(e,t,n){return t=Af(e.type,e.key,e.props,e._owner,t,n),t._debugOwner=e._owner,t}function ni(e,t,n,i){return e=B(7,e,i,t),e.lanes=n,e}function Fm(e,t,n,i){e=B(22,e,i,t),e.elementType=Ay,e.lanes=n;var o={_visibility:_p,_pendingVisibility:_p,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var r=o,d=r._current;if(d===null)throw Error("Calling Offscreen.detach before instance handle has been set.");if((r._pendingVisibility&qy)===0){var h=cn(d,2);h!==null&&(r._pendingVisibility|=qy,qt(h,d,2))}},attach:function(){var r=o,d=r._current;if(d===null)throw Error("Calling Offscreen.detach before instance handle has been set.");if((r._pendingVisibility&qy)!==0){var h=cn(d,2);h!==null&&(r._pendingVisibility&=-3,qt(h,d,2))}}};return e.stateNode=o,e}function zf(e,t,n){return e=B(6,e,null,t),e.lanes=n,e}function _d(e,t,n){return t=B(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wl(e){e.flags|=4}function Bd(e,t){if(t.type!=="stylesheet"||(t.state.loading&xu)!==zs)e.flags&=-16777217;else if(e.flags|=16777216,!eh(t)){if(t=zu.current,t!==null&&((yt&4194176)===yt?pc!==null:(yt&62914560)!==yt&&(yt&536870912)===0||t!==pc))throw Wy=cv,l1;e.flags|=8192}}function Yd(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?pn():536870912,e.lanes|=t,bs|=t)}function er(e,t){if(!Mt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Zt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)if((e.mode&Mn)!==el){for(var o=e.selfBaseDuration,r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&31457280,i|=r.flags&31457280,o+=r.treeBaseDuration,r=r.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags&31457280,i|=o.flags&31457280,o.return=e,o=o.sibling;else if((e.mode&Mn)!==el){o=e.actualDuration,r=e.selfBaseDuration;for(var d=e.child;d!==null;)n|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,r+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=r}else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function kc(e,t,n){var i=t.pendingProps;switch(Ks(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zt(t),null;case 1:return Zt(t),null;case 3:return i=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),wa(tn,t),He(t),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(wo(t)?(Tm(),Wl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,zi!==null&&(jl(zi),zi=null))),Zt(t),null;case 26:return n=t.memoizedState,e===null?(Wl(t),n!==null?(Zt(t),Bd(t,n)):(Zt(t),t.flags&=-16777217)):n?n!==e.memoizedState?(Wl(t),Zt(t),Bd(t,n)):(Zt(t),t.flags&=-16777217):(e.memoizedProps!==i&&Wl(t),Zt(t),t.flags&=-16777217),null;case 27:wt(t),n=re(vi.current);var o=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Wl(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zt(t),null}e=gt(),wo(t)?Pr(t):(e=$d(o,i,n,e,!0),t.stateNode=e,Wl(t))}return Zt(t),null;case 5:if(wt(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Wl(t);else{if(!i){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Zt(t),null}if(o=gt(),wo(t))Pr(t);else{switch(e=re(vi.current),_s(n,o.ancestorInfo),o=o.context,e=Wd(e),o){case kh:e=e.createElementNS(Er,n);break;case sg:e=e.createElementNS(Za,n);break;default:switch(n){case"svg":e=e.createElementNS(Er,n);break;case"math":e=e.createElementNS(Za,n);break;case"script":e=e.createElement("div"),e.innerHTML="
Think 10 billion tons of salt sprawling across an endless desert. The Salar de Uyuni is a 10,582 square kilometer expanse of cracked white salt, left behind when an ancient salt lake named Coipasa dried up thousands of years ago.
For mythology lovers we bring the most romantic version of its origin. The legend talks that Uyuni Salt Flats was formed from mother’s milk spilled by the Tunupa volcano, when her newborn was stolen. Every year it is her tears that flood this sea of salt in the rainy season.
In your trip to will be able to contemplate the biggest natural mirror of the world, where the salt flat and the sky join creating a captivating landscape.

It is the world’s largest salt flat and is located at a high altitude of 3,656 meters (10,000 feet) above sea level
Uyuni Salt Flats has one of the largest lithium reserves in the world, the exact amount of lithium it holds isn’t yet known, but it is estimated to be the largest in the world.
Uyuni was the first place in Bolivia to see a train passing through its lands, back in 1899, connecting Uyuni with Antofagasta (Chile) to facilitate the export of the silver extracted from the mines of Huanchaca.

What once was the country’s greatest symbol of progress has now become another attraction in Uyuni: Uyuni Salt Flats train cemetery. The result is a curious picture formed by dozens of orange wagons that lie abandoned.Another of the curiosities about Uyuni Salt Flats is its presence and relevance in the shooting of Star Wars: ‘The last Jedi’. It is nothing less than the last scene of the final battle